/* KPV machine directory: individual cabinets on a quiet technical drawing. */
.fi-resource-atm-machines.fi-resource-list-records-page {
    --machine-ink: #3b2630;
    --machine-muted: #827078;
    --machine-line: #eadfe2;
    --machine-wine: var(--kpv-ci-burgundy, #660015);
    --machine-gold: var(--kpv-ci-gold, #ffc781);
    gap: 22px;
}
.kpv-machines-header {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    min-height: 105px;
    padding: 21px 24px;
    border: 1px solid var(--machine-line);
    border-radius: 18px;
    background: #fff;
}
.kpv-machines-header__copy h1 { margin: 0; font-size: 24px; line-height: 1.5; font-weight: 700; color: var(--machine-wine); }
.kpv-machines-header__copy p { margin: 4px 0 0; font-size: 13px; line-height: 1.7; color: var(--machine-muted); }
.kpv-machines-header__actions .fi-btn {
    min-height: 43px;
    padding-inline: 17px;
    border-radius: 10px;
    background: var(--machine-wine);
    color: #fff;
    box-shadow: none;
}
.kpv-machines-header__actions .fi-btn-icon { color: var(--machine-gold); }
.kpv-machines-header__actions .fi-btn:hover { background: #84233b; }

.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-ctn {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    --tw-ring-shadow: 0 0 #0000;
}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-ctn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid var(--machine-line);
    border-radius: 14px;
    background: #fff;
}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header { padding: 18px 20px; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-heading { color: var(--machine-wine); font-size: 16px; font-weight: 600; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar { border: 0; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar { min-height: 68px; padding: 12px 20px; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-search-field { width: 280px; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp { min-height: 42px; border-radius: 10px; box-shadow: 0 0 0 1px var(--machine-line); }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-search-field .fi-input-wrp-icon { color: #9b7e88; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content { overflow: visible; border: 0; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content > div:first-child:not(.fi-ta-content-grid) { padding-inline: 0; border: 0; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid { gap: 22px; padding: 3px 0 22px; border: 0; align-items: stretch; }
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-pagination { padding: 18px 0 0; border-top: 1px solid var(--machine-line); color: var(--machine-muted); }
.kpv-machine-record {
    min-width: 0;
    border: 1px solid var(--machine-line);
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 3px 14px #66001503 !important;
    --tw-ring-shadow: 0 0 #0000;
    transition: border-color .2s, box-shadow .2s;
}
.kpv-machine-record:hover { border-color: #c7a2ae; box-shadow: 0 7px 22px #66001509 !important; }
.kpv-machine-record > div, .kpv-machine-record > div > div { height: 100%; }
.kpv-machine-record > div > div { padding-block: 0; gap: 0; }
.kpv-machine-record > div > div > .flex-1 > :is(a, button, div) { padding-inline: 0; height: 100%; border-radius: 17px 17px 0 0; }
.kpv-machine-record > div > div > .flex-1 > a:focus-visible { outline: 2px solid var(--machine-wine); outline-offset: 4px; }
.kpv-machine-card { height: 100%; color: var(--machine-ink); }
.kpv-machine-card__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 218px;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
    border-bottom: 1px solid #efe5e7;
    background: linear-gradient(135deg, #fff 8%, #faf5f5 100%);
}
.kpv-machine-card__stage::after {
    content: '';
    position: absolute;
    inset: 54px 22px 24px;
    border-block: 1px solid #66001505;
    pointer-events: none;
}
.kpv-machine-card__code {
    position: absolute;
    inset: 16px auto auto 19px;
    z-index: 1;
    color: var(--machine-wine);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.kpv-machine-card__branch { display: flex; align-items: flex-start; gap: 6px; min-height: 23px; margin: 5px 0 18px; color: var(--machine-muted); font-size: 12px; line-height: 1.8; }
.kpv-machine-card__branch svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #b69ba4; }
.kpv-machine-card__branch span { min-width: 0; overflow-wrap: anywhere; }
.kpv-machine-record .fi-ta-actions {
    min-height: 62px;
    margin-inline: 21px;
    padding: 11px 0 14px;
    gap: 8px;
    border-top: 1px solid #eee5e8;
}
.kpv-machine-record .fi-ta-actions .fi-link { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 11px; border-radius: 9px; gap: 6px; text-decoration: none; }
.kpv-machine-record .fi-ta-actions .fi-link-label { font-size: 12px; font-weight: 500; }
.kpv-machine-record .fi-ta-actions .fi-link-icon { width: 16px; height: 16px; }
.kpv-machine-record .kpv-machine-view-action { flex: 1; color: var(--machine-wine); background: #66001507; }
.kpv-machine-record .kpv-machine-view-action .fi-link-icon { color: var(--machine-wine); }
.kpv-machine-record .kpv-machine-view-action:hover { background: #6600150f; }
.kpv-machine-record .kpv-machine-settings-action { flex: 1; color: var(--machine-wine); border: 1px solid #e5d4da; }
.kpv-machine-record .kpv-machine-settings-action:hover { background: #faf5f6; }
.kpv-machine-record .fi-ta-actions .fi-link:focus-visible { outline: 2px solid var(--machine-wine); outline-offset: 2px; }
.kpv-machines-empty { display: grid; justify-items: center; padding: 28px 20px 46px; text-align: center; }
.kpv-machines-empty h2 { margin: 6px 0 0; color: var(--machine-wine); font-size: 18px; line-height: 1.6; font-weight: 600; }
.kpv-machines-empty p { max-width: 330px; margin: 9px 0 0; color: var(--machine-muted); font-size: 13px; line-height: 1.9; text-wrap: balance; }
@media (max-width: 767px) {
    .kpv-machines-header { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 18px; }
    .kpv-machines-header__copy h1 { font-size: 21px; }
    .kpv-machines-header__copy p { font-size: 12px; }
    .kpv-machines-header__actions { grid-column: 1 / -1; }
    .kpv-machines-header__actions .fi-ac, .kpv-machines-header__actions .fi-btn { width: 100%; }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-ctn { grid-template-columns: minmax(0, 1fr); }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header { padding: 14px 14px 0; }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar { padding: 12px 14px; }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar > .ms-auto { flex: 1; }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-search-field { width: 100%; }
    .fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid { gap: 18px; }
    .kpv-machine-card__stage { height: 212px; }
    .kpv-machine-record .fi-ta-actions { margin-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .kpv-machine-record { transition: none; }
}


/* Directory redesign: the same compact banner and ivory/burgundy card family as Customers. */
.fi-resource-atm-machines.fi-resource-list-records-page{--machine-paper:#fff;--machine-soft:#fbf7f5;--machine-line:#eadfe2;--machine-ink:#3b2630;--machine-muted:#88747b;gap:20px}
.kpv-machines-header{position:relative;isolation:isolate;grid-template-columns:170px minmax(0,1fr) auto;gap:24px;min-height:128px;padding:12px 24px 12px 12px;background:var(--machine-paper);box-shadow:0 3px 16px #66001504;overflow:hidden}
.kpv-machines-header::after{content:'';position:absolute;z-index:-1;inset:0 0 0 auto;width:320px;pointer-events:none;background:radial-gradient(ellipse at 100% 100%,#ffc78126,transparent 72%)}
.kpv-machines-header__art{position:relative;display:grid;place-items:center;width:170px;height:102px;border-radius:12px 28px 12px 12px;background:radial-gradient(ellipse at 20% 10%,#a44159,#660015 70%);overflow:hidden}
.kpv-machines-header__art::after{content:'';position:absolute;inset:8px;border:1px solid #ffc78120;border-radius:7px 23px 7px 7px;pointer-events:none}
.kpv-machines-header__copy h1{font-size:22px;font-weight:600;line-height:1.6}.kpv-machines-header__copy p{margin-top:3px;font-size:12px;line-height:1.8}
.kpv-machines-header__actions{display:flex;align-items:center;gap:10px}.kpv-machines-header__actions .fi-btn{min-height:42px;font-size:12px}
.km-motion-control{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid var(--machine-line);border-radius:10px;color:var(--machine-muted);background:var(--machine-paper);cursor:pointer}.km-motion-control:hover{color:var(--machine-wine);border-color:#c4a0ab}.km-motion-control svg{width:16px;height:16px}.km-motion-control .hidden{display:none}
.km-motion-control:focus-visible{outline:2px solid #c49a64;outline-offset:3px}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-ctn{border-radius:14px;background:var(--machine-paper)}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header{padding:16px 20px}.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar{min-height:62px}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-heading{font-size:15px}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content>div:first-child:not(.fi-ta-content-grid){justify-content:flex-end;padding:10px 2px 12px;background:transparent}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content>div:first-child:not(.fi-ta-content-grid) .fi-input-wrp{background:var(--machine-paper);border-radius:9px;box-shadow:0 0 0 1px var(--machine-line)}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid{gap:20px;padding-bottom:16px}
.kpv-machine-record{background:var(--machine-paper)!important;box-shadow:0 2px 12px #66001503!important}
.kpv-machine-record:hover{box-shadow:0 7px 24px #6600150a!important}
.kpv-machine-card__stage{height:220px;background:linear-gradient(130deg,var(--machine-paper) 15%,var(--machine-soft));border-bottom-color:var(--machine-line)}
.kpv-machine-card__stage::after{inset:49px 20px 21px;border-color:#b78f6220;border-width:0 0 1px}
.kpv-machine-card__code{top:14px;left:18px;font-size:11px;font-weight:600;letter-spacing:.15px}.kpv-machine-card__branch{margin:4px 0 13px;font-size:11px;min-height:21px}
.kpv-machine-record .fi-ta-actions{min-height:57px;margin-inline:19px;padding:10px 0 12px;border-color:var(--machine-line);gap:7px}.kpv-machine-record .fi-ta-actions .fi-link{min-height:35px;padding:6px 9px}.kpv-machine-record .fi-ta-actions .fi-link-label{font-size:11px}
.km-scene{--km-cycle:12s;--km-delay:0s;position:relative;flex:none;pointer-events:none;isolation:isolate}
.km-scene--sale{width:min(320px,100%);height:208px;margin-top:14px}
.km-story{display:block;width:100%;height:100%;overflow:visible}
.km-scene .km-motion{animation-duration:var(--km-cycle);animation-delay:var(--km-delay);animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.22,.7,.25,1)}
.km-scene:not(.is-running) .km-motion,.km-motion-paused .km-motion{animation-play-state:paused!important}
.km-camera{transform-origin:190px 130px;animation-name:km-camera}
.km-base{animation-name:km-body}.km-head{animation-name:km-head}.km-tap{transform-origin:165px 62px;animation-name:km-tap}
.km-screen-pass{animation-name:km-screen-pass}.km-receipt{animation-name:km-receipt}
.km-qr-card{transform-origin:68px 117px;animation-name:km-qr}.km-scan-laser{animation-name:km-laser}.km-signal{animation-name:km-signal}
.km-verified{transform-origin:101px 82px;animation-name:km-verify}.km-gold-pack{transform-origin:210px 192px;animation-name:km-dispense}.km-output-glow{animation-name:km-output}.km-spark{transform-origin:247px 195px;animation-name:km-spark}
.km-story-captions{position:absolute;left:0;bottom:22px;width:117px;height:22px;color:#906735;font-size:10px;line-height:20px;text-align:center}.km-caption{position:absolute;inset:0;white-space:nowrap}
.km-caption--choose{animation-name:km-caption-choose}.km-caption--scan{animation-name:km-caption-scan}.km-caption--collect{animation-name:km-caption-collect}
.km-story-progress{position:absolute;left:23px;bottom:14px;display:flex;gap:5px;width:72px;height:2px}.km-story-progress i{display:block;position:relative;flex:1;background:#66001512;border-radius:2px;animation-name:km-step}.km-story-progress i:nth-child(2){animation-name:km-step-two}.km-story-progress i:nth-child(3){animation-name:km-step-three}
.km-scene--banner{--km-cycle:10s;width:178px;height:114px}.km-banner-art{display:block;width:100%;height:100%;overflow:visible}
@keyframes km-camera{0%,8%,96%,100%{transform:translate(5px,3px) scale(.97)}20%,43%{transform:translate(-3px,-1px) scale(1.035)}62%,84%{transform:translate(-8px,-6px) scale(1.06)}}
@keyframes km-body{0%,100%{opacity:.45;translate:0 16px}10%,94%{opacity:1;translate:0 0}}
@keyframes km-head{0%,100%{opacity:.45;translate:0 -14px}12%,94%{opacity:1;translate:0 0}}
@keyframes km-tap{0%,9%,25%,100%{opacity:0;scale:.5}14%{opacity:1;scale:.75}21%{opacity:0;scale:1.9}}
@keyframes km-screen-pass{0%,10%,24%,100%{opacity:0}16%{opacity:.17}21%{opacity:0}}
@keyframes km-qr{0%,20%,93%,100%{opacity:0;transform:translate(-18px,8px) rotate(-8deg) scale(.9)}28%,82%{opacity:1;transform:none}}
@keyframes km-laser{0%,28%,49%,100%{opacity:0;translate:0 0}31%{opacity:1;translate:0 0}37%{opacity:1;translate:0 49px}43%{opacity:1;translate:0 0}48%{opacity:0;translate:0 49px}}
@keyframes km-signal{0%,29%,51%,100%{opacity:0;stroke-dashoffset:40}34%,46%{opacity:.85;stroke-dashoffset:0}}
@keyframes km-verify{0%,45%,86%,100%{opacity:0;scale:.35}50%{opacity:1;scale:1.18}55%,81%{opacity:1;scale:1}}
@keyframes km-receipt{0%,48%,90%,100%{opacity:0;translate:0 -14px}58%,83%{opacity:1;translate:0 0}}
@keyframes km-dispense{0%,53%,96%,100%{opacity:0;transform:translate(-22px,-23px) rotate(-3deg) scale(.55)}58%{opacity:1;transform:translate(-18px,-13px) rotate(-3deg) scale(.62)}71%,85%{opacity:1;transform:translate(29px,4px) rotate(-12deg) scale(1.12)}92%{opacity:0;transform:translate(45px,8px) rotate(-12deg) scale(1.12)}}
@keyframes km-output{0%,49%,82%,100%{opacity:0}57%,72%{opacity:1}}
@keyframes km-spark{0%,65%,84%,100%{opacity:0;scale:.5}72%{opacity:1;scale:1.25}78%{opacity:.5;scale:1}}
@keyframes km-caption-choose{0%,21%,97%,100%{opacity:1;translate:0 0}26%,92%{opacity:0;translate:0 -4px}}
@keyframes km-caption-scan{0%,24%,57%,100%{opacity:0;translate:0 5px}30%,50%{opacity:1;translate:0 0}}
@keyframes km-caption-collect{0%,56%,94%,100%{opacity:0;translate:0 5px}63%,86%{opacity:1;translate:0 0}}
@keyframes km-step{0%,22%,97%,100%{background:#bd955e}28%,92%{background:#66001512}}
@keyframes km-step-two{0%,24%,59%,100%{background:#66001512}30%,52%{background:#bd955e}}
@keyframes km-step-three{0%,57%,96%,100%{background:#66001512}64%,88%{background:#bd955e}}
.kpv-machines-empty .km-scene--sale{width:260px;height:190px;margin:0}
html.dark .fi-resource-atm-machines.fi-resource-list-records-page{--machine-paper:#261e25;--machine-soft:#30242c;--machine-ink:#f6e9ed;--machine-muted:#bba7af;--machine-line:#4d3440;--machine-wine:#ffc781}.dark .kpv-machine-record .kpv-machine-view-action{background:#ffc7810b}.dark .kpv-machine-record .kpv-machine-settings-action{border-color:#6e4b56}.dark .kpv-machine-record .kpv-machine-settings-action:hover{background:#ffc78109}.dark .km-story-captions{color:#caa575}
@media(max-width:1023px){.kpv-machines-header{grid-template-columns:145px minmax(0,1fr) auto;gap:18px;padding-right:18px}.kpv-machines-header__art{width:145px}.kpv-machines-header__copy h1{font-size:21px}.kpv-machines-header__copy p{font-size:11px}.kpv-machines-header__actions{gap:7px}.kpv-machines-header__actions .fi-btn{padding-inline:12px}}
@media(max-width:767px){.kpv-machines-header{grid-template-columns:106px minmax(0,1fr);gap:12px;min-height:0;padding:12px;border-radius:16px}.kpv-machines-header__art{width:106px;height:87px;border-radius:10px 22px 10px 10px;grid-row:1/3}.km-scene--banner{width:122px;height:92px}.kpv-machines-header__copy h1{font-size:20px}.kpv-machines-header__copy p{font-size:11px;line-height:1.8}.kpv-machines-header__actions{grid-column:2;gap:7px;justify-content:flex-start}.kpv-machines-header__actions .fi-ac,.kpv-machines-header__actions .fi-btn{width:auto}.kpv-machines-header__actions .fi-btn{min-height:36px;padding:7px 10px;font-size:11px}.km-motion-control{width:34px;height:34px;border-radius:8px}.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-ctn{display:flex;flex-direction:column;align-items:stretch}.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header{padding:13px 15px 0}.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-toolbar{min-height:57px;padding:10px 15px}.kpv-machine-card__stage{height:220px}.kpv-machine-record .fi-ta-actions{margin-inline:17px}.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid{gap:16px}}
@media(max-width:359px){.kpv-machines-header{grid-template-columns:86px minmax(0,1fr);gap:9px}.kpv-machines-header__art{width:86px}.kpv-machines-header__copy h1{font-size:18px}.kpv-machines-header__actions .fi-btn-icon{display:none}.kpv-machine-record .fi-ta-actions .fi-link{padding-inline:7px;gap:4px}}
@media(prefers-reduced-motion:reduce){.km-scene .km-motion{animation:none!important;transform:none!important;translate:none!important;scale:none!important}.km-qr-card,.km-verified,.km-gold-pack{opacity:1}.km-tap,.km-screen-pass,.km-receipt,.km-scan-laser,.km-signal,.km-output-glow,.km-spark,.km-story-progress,.km-caption--choose,.km-caption--scan{display:none}.km-caption--collect{opacity:1}.km-motion-control{display:none}.kpv-machine-record{transition:none}}
@media print{.km-scene .km-motion{animation:none!important;transform:none!important;translate:none!important;scale:none!important}.km-tap,.km-scan-laser,.km-signal,.km-spark,.km-motion-control,.km-story-progress{display:none}}

/* Keep native sorting compact and touch actions comfortably tappable. */
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content>div:first-child:not(.fi-ta-content-grid)>div{padding-block:0}
.kpv-machine-record .fi-ta-actions .fi-link{min-height:40px}
@media(max-width:767px){.kpv-machine-record .fi-ta-actions .fi-link{min-height:44px}}
.dark .kpv-machines-header__actions .fi-btn{background:#660015;color:#fff5e6;border-color:#9c5f72}
.kpv-machine-record:focus-within .km-motion{animation-play-state:paused!important}
@media print{.km-caption--choose,.km-caption--scan{display:none}.km-caption--collect{opacity:1}}


/* One assembled kiosk: navy door opens, drawer extends, six handled cases load, drawer returns, door closes. */
.km-scene--service{--km-cycle:24s;width:100%;height:100%}
.km-service-camera{transform-box:view-box;transform-origin:0 0;animation-name:km-service-camera}
.km-service-door{transform-box:view-box;transform-origin:100% 0%;animation-name:km-service-door}
.km-service-door-front{animation-name:km-service-door-front}.km-service-door-back{opacity:0;animation-name:km-service-door-back}
.km-service-drawer{animation-name:km-service-drawer}.km-service-rails{opacity:0;animation-name:km-service-rails}
.km-loader-item,.km-loader-arrow,.km-loader-seat{transform-box:view-box;transform-origin:center}
.km-loader-arrow,.km-loader-seat,.km-loader-check{opacity:0}
.km-loader-check{transform-box:fill-box;transform-origin:center;animation-name:km-loader-complete}
/* Keep the entire hinge line x=0 invariant, including intermediate opening/closing frames. */
@keyframes km-service-door{0%,4%,98%,100%{transform:skewY(0deg) scaleX(1)}14%,86%{transform:skewY(-33deg) scaleX(-.48)}}
@keyframes km-service-camera{0%,3%,98%,100%{transform:translate(32px,45px) scale(.68)}21%,84%{transform:translate(0px,0px) scale(1)}}
@keyframes km-service-door-front{0%,6%,97%,100%{opacity:1}11%,91%{opacity:0}}
@keyframes km-service-door-back{0%,8%,95%,100%{opacity:0}14%,88%{opacity:1}}
@keyframes km-service-drawer{0%,16%,89%,100%{opacity:0;translate:29.6px -19.24px}18%{opacity:1;translate:29.6px -19.24px}24%,77%{opacity:1;translate:0 0}87%{opacity:0;translate:29.6px -19.24px}}
@keyframes km-service-rails{0%,18%,89%,100%{opacity:0}25%,79%{opacity:1}}
.km-loader-item--0{animation-name:km-load-0}.km-loader-arrow--0{animation-name:km-load-arrow-0}.km-loader-seat--0{animation-name:km-load-seat-0}
@keyframes km-load-0{0%,25%{opacity:0;translate:0 -44px}26%{opacity:1;translate:0 -34px}30%{opacity:1;translate:0 1px}31%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-0{0%,25%,32%,100%{opacity:0;translate:0 -8px}26%{opacity:1;translate:0 -8px}30%{opacity:1;translate:0 3px}31%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-0{0%,29%,33%,100%{opacity:0}30%,31%{opacity:1}}
.km-loader-item--1{animation-name:km-load-1}.km-loader-arrow--1{animation-name:km-load-arrow-1}.km-loader-seat--1{animation-name:km-load-seat-1}
@keyframes km-load-1{0%,32%{opacity:0;translate:0 -44px}33%{opacity:1;translate:0 -34px}37%{opacity:1;translate:0 1px}38%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-1{0%,32%,39%,100%{opacity:0;translate:0 -8px}33%{opacity:1;translate:0 -8px}37%{opacity:1;translate:0 3px}38%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-1{0%,36%,40%,100%{opacity:0}37%,38%{opacity:1}}
.km-loader-item--2{animation-name:km-load-2}.km-loader-arrow--2{animation-name:km-load-arrow-2}.km-loader-seat--2{animation-name:km-load-seat-2}
@keyframes km-load-2{0%,39%{opacity:0;translate:0 -44px}40%{opacity:1;translate:0 -34px}44%{opacity:1;translate:0 1px}45%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-2{0%,39%,46%,100%{opacity:0;translate:0 -8px}40%{opacity:1;translate:0 -8px}44%{opacity:1;translate:0 3px}45%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-2{0%,43%,47%,100%{opacity:0}44%,45%{opacity:1}}
.km-loader-item--3{animation-name:km-load-3}.km-loader-arrow--3{animation-name:km-load-arrow-3}.km-loader-seat--3{animation-name:km-load-seat-3}
@keyframes km-load-3{0%,46%{opacity:0;translate:0 -44px}47%{opacity:1;translate:0 -34px}51%{opacity:1;translate:0 1px}52%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-3{0%,46%,53%,100%{opacity:0;translate:0 -8px}47%{opacity:1;translate:0 -8px}51%{opacity:1;translate:0 3px}52%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-3{0%,50%,54%,100%{opacity:0}51%,52%{opacity:1}}
.km-loader-item--4{animation-name:km-load-4}.km-loader-arrow--4{animation-name:km-load-arrow-4}.km-loader-seat--4{animation-name:km-load-seat-4}
@keyframes km-load-4{0%,53%{opacity:0;translate:0 -44px}54%{opacity:1;translate:0 -34px}58%{opacity:1;translate:0 1px}59%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-4{0%,53%,60%,100%{opacity:0;translate:0 -8px}54%{opacity:1;translate:0 -8px}58%{opacity:1;translate:0 3px}59%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-4{0%,57%,61%,100%{opacity:0}58%,59%{opacity:1}}
.km-loader-item--5{animation-name:km-load-5}.km-loader-arrow--5{animation-name:km-load-arrow-5}.km-loader-seat--5{animation-name:km-load-seat-5}
@keyframes km-load-5{0%,60%{opacity:0;translate:0 -44px}61%{opacity:1;translate:0 -34px}65%{opacity:1;translate:0 1px}66%{opacity:1;translate:0 0}96%{opacity:1;translate:0 0}99%{opacity:0;translate:0 0}100%{opacity:0;translate:0 -44px}}
@keyframes km-load-arrow-5{0%,60%,67%,100%{opacity:0;translate:0 -8px}61%{opacity:1;translate:0 -8px}65%{opacity:1;translate:0 3px}66%{opacity:0;translate:0 8px}}
@keyframes km-load-seat-5{0%,64%,68%,100%{opacity:0}65%,66%{opacity:1}}
@keyframes km-loader-complete{0%,71%,83%,100%{opacity:0;scale:.4}75%{opacity:1;scale:1.15}77%,80%{opacity:1;scale:1}}
@media(max-width:767px){.km-scene--service{width:100%;height:100%}}
@media(prefers-reduced-motion:reduce),print{.km-loader-item,.km-service-drawer,.km-service-rails{opacity:1;translate:none!important}.km-service-camera{transform:none!important}.km-scene--service .km-service-door{transform:skewY(-33deg) scaleX(-.48)!important}.km-service-door-front,.km-loader-arrow,.km-loader-seat{display:none}.km-service-door-back,.km-loader-check{opacity:1;scale:1}}
@media print{.km-loader-item,.km-service-drawer{opacity:1}.km-loader-arrow,.km-loader-seat{display:none}}


/* Cabinet cards: compact identity and real configuration beside an intact product story. */
.kpv-machine-record{border-radius:16px!important;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.kpv-machine-record:hover{border-color:#c8a0ac;box-shadow:0 8px 24px #6600150b!important}
.kpv-machine-card__code svg{width:15px;height:15px;flex:none;color:#b48b59}
.kpv-machine-card__identity{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:4px 0}
.kpv-machine-card__identity h2{margin:0;color:var(--machine-wine);font-size:17px;font-weight:600;line-height:1.65;overflow-wrap:anywhere;text-wrap:pretty}
.kpv-machine-record .fi-ta-actions{margin:0!important;min-height:61px;padding:10px 20px 12px!important;border-top:1px solid var(--machine-line);background:var(--machine-soft);gap:8px}
.kpv-machine-record .fi-ta-actions .fi-link{min-height:38px;padding:7px 10px;border-radius:8px;gap:6px}
.kpv-machine-record .fi-ta-actions .fi-link-label{font-size:11px;font-weight:500}
.kpv-machine-record .fi-ta-actions .fi-link-icon{width:15px;height:15px}
.kpv-machine-record .kpv-machine-view-action{background:#660015;color:#fff8ec;border:1px solid #660015}
.kpv-machine-record .kpv-machine-view-action .fi-link-icon{color:#ffc781}
.kpv-machine-record .kpv-machine-view-action:hover{background:#851e37;border-color:#851e37}
.kpv-machine-record .kpv-machine-settings-action{background:var(--machine-paper);border-color:#e2cfd5}
.dark .kpv-machine-record .kpv-machine-view-action{background:#660015;border-color:#a55a70;color:#fff6e9}
.dark .kpv-machine-record .kpv-machine-settings-action{border-color:#73505d;color:#ffc781}
@media(min-width:1280px) and (max-width:1440px){.kpv-machine-card__identity h2{font-size:16px}.kpv-machine-record .fi-ta-actions{padding-inline:16px!important}}
@media(max-width:767px){.kpv-machine-card__identity h2{font-size:16px}.kpv-machine-record .fi-ta-actions{padding-inline:16px!important}.kpv-machine-record .fi-ta-actions .fi-link{min-height:42px}}
@media(max-width:359px){.kpv-machine-card__identity h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.kpv-machine-record{transition:none}}

.kpv-machine-record .kpv-machine-view-action .fi-link-label{color:#fff8ec}
.kpv-machines-header__art{background:radial-gradient(ellipse at 18% 12%,#96334e,#570c25 72%)}
.kpv-machines-header__art::after{border-color:#ffc78114}

.kpv-machine-record .fi-ta-actions .fi-link>span{font-size:11px;font-weight:500}
.kpv-machine-record .kpv-machine-view-action>span{color:#fff8ec}


/* Gallery cards: the animated cabinet leads; information forms a quiet base. */
.kpv-machine-card--operational{--op-color:#12805c;--op-badge:#12805c;--op-badge-edge:#cfecde;padding:0 20px;display:flex;flex-direction:column;background:var(--machine-paper)}
.kpv-machine-card--operational.is-danger{--op-color:#ad364a;--op-badge:#ad364a;--op-badge-edge:#f0d6db}
.kpv-machine-card--operational.is-warning{--op-color:#9a702b;--op-badge:#b48539;--op-badge-edge:#f0e2c5}
.kpv-machine-card__gallery{display:flex;flex:1;flex-direction:column;min-width:0}
.kpv-machine-card--gallery .kpv-machine-card__stage{align-self:center;flex:none;width:100%;max-width:300px;height:265px;margin:14px 0 12px;border:0;border-radius:0;background:none;overflow:hidden;color:var(--op-color)}
.kpv-machine-card--gallery .kpv-machine-card__stage::after{display:none}
.kpv-machine-card--gallery .kpv-machine-card__identity{display:flex;flex:1;flex-direction:column;justify-content:flex-start;min-width:0;padding:0 2px 16px}
.kpv-machine-card--operational .kpv-machine-card__code{position:static;display:block;color:var(--machine-muted);font-size:11px;font-weight:500;line-height:1.8;letter-spacing:.15px}
.kpv-machine-card--gallery .kpv-machine-card__identity h2{margin:0;color:var(--machine-wine);font-size:18px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.kpv-machine-card--gallery .kpv-machine-card__branch{margin:4px 0 0;gap:5px;min-height:0;font-size:12px;line-height:1.7}
.kpv-machine-card--gallery .kpv-machine-card__branch svg{width:14px;height:14px;margin-top:3px;flex:none}
.kpv-machine-card__state-line{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:500;color:var(--op-color);line-height:1.7}
.kpv-machine-card__state-line svg{width:14px;height:14px;flex:none}
.kpv-machine-card__summary{display:grid;grid-template-columns:minmax(60px,1fr) minmax(0,1.75fr);align-items:end;gap:16px;margin-top:18px;padding-block:2px 6px}
.kpv-machine-card__stock-summary{min-width:0}
.kpv-machine-card__stock-label{margin:0;color:var(--machine-muted);font-size:11px;line-height:1.65}
.kpv-machine-card__balance{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;margin:3px 0 0;min-width:0}
.kpv-machine-card__balance strong{color:var(--machine-wine);font-size:25px;font-weight:600;line-height:1.3;letter-spacing:-.3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.kpv-machine-card__balance>span{color:var(--machine-muted);font-size:11px;line-height:1.6}
.kpv-machine-card__notice{min-height:20px;margin-top:6px}
.kpv-machine-card__pending,.kpv-machine-card__refill-note{margin:0;color:var(--op-color);font-size:11px;line-height:1.7}
.kpv-machine-record .fi-ta-actions{background:var(--machine-paper);min-height:54px;padding:10px 19px 12px!important;gap:10px}
.kpv-machine-record .kpv-machine-view-action{background:#66001506;color:#660015;border:1px solid transparent;flex:1}
.kpv-machine-record .kpv-machine-view-action>span,.kpv-machine-record .kpv-machine-view-action .fi-link-icon{color:#660015}
.kpv-machine-record .kpv-machine-view-action:hover{background:#6600150d;border-color:transparent}
.kpv-machine-record .kpv-machine-settings-action{background:transparent;border-color:transparent;flex:1}
.kpv-machine-record .kpv-machine-settings-action:hover{background:#66001506}
.dark .kpv-machine-card--operational{--op-color:#71d9aa}
.dark .kpv-machine-card--operational.is-danger{--op-color:#eca0ad}
.dark .kpv-machine-card--operational.is-warning{--op-color:#e7c18c}
.dark .kpv-machine-record .kpv-machine-view-action{background:#ffc7810b;border-color:transparent}
.dark .kpv-machine-record .kpv-machine-view-action>span,.dark .kpv-machine-record .kpv-machine-view-action .fi-link-icon{color:#ffc781}
@media(max-width:767px){.kpv-machine-card--operational{padding-inline:18px}.kpv-machine-card--gallery .kpv-machine-card__stage{height:250px}.kpv-machine-card--gallery .kpv-machine-card__identity h2{font-size:17px}.kpv-machine-card__summary{gap:12px;grid-template-columns:minmax(56px,.8fr) minmax(0,1.7fr)}}
@media(max-width:359px){.kpv-machine-card--operational{padding-inline:16px}.kpv-machine-card__summary{gap:10px;grid-template-columns:minmax(56px,.8fr) minmax(0,1.7fr)}.kpv-machine-card__balance strong{font-size:23px}}

.km-operational-scene{--km-cycle:7s;width:100%;height:100%;color:var(--op-color)}
.km-operational-art{display:block;width:100%;height:100%;overflow:visible}
.km-op--offline .km-op-cabinet{filter:saturate(.45);opacity:.86}
.km-op--unknown .km-op-cabinet{filter:saturate(.68);opacity:.94}
.km-op-confirm{animation-name:km-op-confirm;transform-box:fill-box;transform-origin:center}
.km-op-check{animation-name:km-op-check;stroke-dasharray:30;stroke-dashoffset:30}
.km-op-impact{animation-name:km-op-impact}
.km-op-alert{animation-name:km-op-alert;transform-box:fill-box;transform-origin:center}
.km-op-alert-orbit{animation-name:km-op-alert-orbit;transform-box:fill-box;transform-origin:center}
.km-card-refill{--km-cycle:16s}
@keyframes km-op-confirm{0%,25%{scale:.7;opacity:.2}38%{scale:1.14;opacity:1}46%,90%{scale:1;opacity:1}100%{scale:.7;opacity:.2}}
@keyframes km-op-check{0%,30%,100%{stroke-dashoffset:30}45%,90%{stroke-dashoffset:0}}
@keyframes km-op-impact{0%,35%,58%,100%{opacity:0}42%,48%{opacity:1}}
@keyframes km-op-alert{0%,100%{scale:.96}13%{scale:1.1}25%,80%{scale:1}}
@keyframes km-op-alert-orbit{0%,45%,100%{scale:.8;opacity:0}15%{opacity:.55}40%{scale:1.25;opacity:0}}

@media(prefers-reduced-motion:reduce),print{.km-operational-scene .km-motion{animation:none!important;transform:none!important;translate:none!important;scale:none!important;opacity:1}.km-op-check{stroke-dashoffset:0}.km-op-impact,.km-op-alert-orbit{display:none}.km-op-confirm{opacity:1}}

/* Keep card framing steady; the door, tray and six boxes tell the refill story. */
.km-card-refill .km-service-camera{animation:none;transform:none}

/* Status ribbons share the cassette Box label's flush top edge and soft lower corners. */
.kpv-machine-card--operational{--op-tag-bg:#10845f;--op-tag-ink:#fff;--op-tag-pulse:#0b704f;--op-tag-ring:#10845f26;--op-tag-cycle:1.8s}
.kpv-machine-card--operational.is-danger{--op-tag-bg:#a22e46;--op-tag-ink:#fff;--op-tag-pulse:#89263b;--op-tag-ring:#a22e4626;--op-tag-cycle:2.4s}
.kpv-machine-card--operational.is-warning{--op-tag-bg:#f2c16b;--op-tag-ink:#68420e;--op-tag-pulse:#eab256;--op-tag-ring:#d99d3d26;--op-tag-cycle:2.4s}
.kpv-machine-card__status-tag{position:relative;top:-1px;align-self:flex-start;display:inline-flex;max-width:72%;margin:0;padding:5px 9px 6px;border:0;border-radius:0 0 7px 7px;background:var(--op-tag-bg);color:var(--op-tag-ink);font-size:12px;line-height:1.6;font-weight:600;animation:kpv-machine-tag-live var(--op-tag-cycle) ease-in-out infinite}
.kpv-machine-card__status-tag span{min-width:0;overflow-wrap:anywhere}
.kpv-machine-card__status-tag svg{width:14px;height:14px;color:inherit}
@keyframes kpv-machine-tag-live{0%,100%{background:var(--op-tag-bg);box-shadow:0 0 0 0 transparent}45%{background:var(--op-tag-pulse);box-shadow:0 0 0 4px var(--op-tag-ring)}65%{background:var(--op-tag-bg);box-shadow:0 0 0 0 transparent}}
.km-motion-paused .kpv-machine-card__status-tag,.kpv-machine-card--operational:not(:has([data-kpv-machine-scene].is-running)) .kpv-machine-card__status-tag{animation-play-state:paused}
@media(prefers-reduced-motion:reduce),print{.kpv-machine-card__status-tag{animation:none!important;box-shadow:none}}
.km-op-qr-scan{animation-name:km-op-qr-scan;filter:drop-shadow(0 0 2px #29bb87)}
.km-op-qr-link{animation-name:km-op-qr-link}
.km-op--offline .km-op-qr{opacity:.6}
@keyframes km-op-qr-scan{0%,7%,55%,100%{opacity:0;translate:0 0}10%{opacity:1;translate:0 0}23%{opacity:1;translate:0 47px}36%{opacity:1;translate:0 0}49%{opacity:1;translate:0 47px}54%{opacity:0;translate:0 47px}}
@keyframes km-op-qr-link{0%,8%,55%,100%{opacity:0;stroke-dashoffset:35}18%,45%{opacity:.7;stroke-dashoffset:0}}
@keyframes km-op-confirm{0%,52%{scale:.7;opacity:0}62%{scale:1.12;opacity:1}70%,94%{scale:1;opacity:1}100%{scale:.7;opacity:0}}
@keyframes km-op-check{0%,56%,100%{stroke-dashoffset:30}70%,94%{stroke-dashoffset:0}}
.dark .kpv-machine-card--operational{--op-tag-ring:#35bc8833}
.dark .kpv-machine-card--operational.is-danger{--op-tag-ring:#e26b8133}
.dark .kpv-machine-card--operational.is-warning{--op-tag-ring:#f2c16b33}
@media(prefers-reduced-motion:reduce),print{.km-op-qr-scan,.km-op-qr-link{display:none}}

/* Keep the ribbon in flow so long machine codes and Lao labels cannot overlap. */
.kpv-machine-card__topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:34px;padding-top:0;min-width:0}
.kpv-machine-card--operational .kpv-machine-card__topline .kpv-machine-card__code{flex:1;min-width:0;margin:10px 0 0;overflow-wrap:anywhere}
.kpv-machine-card__topline .kpv-machine-card__status-tag{flex:0 1 auto;align-self:flex-start;white-space:normal}
@media(max-width:767px){.kpv-machine-card__topline{gap:8px}.kpv-machine-card__topline .kpv-machine-card__status-tag{font-size:11px;padding:5px 8px 6px}}

/* A compact lower-right group keeps all three counts aligned and clear of the edge. */
.kpv-machine-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:end;align-items:start;justify-self:end;width:100%;max-width:204px;min-width:0;box-sizing:border-box;gap:6px;margin:0;padding:0 4px 4px;border:0;text-align:center}
.kpv-machine-card__metrics>div{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.kpv-machine-card__metrics dt{max-width:100%;margin:0;color:var(--machine-muted);font-size:11px;font-weight:400;line-height:1.5;overflow-wrap:anywhere;text-wrap:balance}
.kpv-machine-card__metrics dd{order:-1;max-width:100%;margin:0;color:var(--machine-ink);font-size:16px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:767px){.kpv-machine-card__metrics{gap:5px}.kpv-machine-card__metrics dd{font-size:15px}}

/* Keep a useful Gallery width across desktop and wide displays. */
@media(min-width:1800px){.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:2400px){.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-content-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

/* Directory toolbar follows the Customers title/icon hierarchy. */
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header{padding:16px 20px}
.kpv-machine-list-title{position:relative;display:block;padding-inline-start:54px;min-height:26px;font-size:17px;font-weight:600;line-height:1.6}
.kpv-machine-list-title__icon{position:absolute;inset-inline-start:0;top:3px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffc78155;border-radius:12px;background:#660015;color:#ffc781;box-shadow:0 3px 8px #6600150a}
.kpv-machine-list-title__icon svg{width:22px;height:22px;stroke-width:1.6}
.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header-description{padding-inline-start:54px;font-size:12px;line-height:1.7;color:var(--machine-muted);font-weight:400}
@media(max-width:767px){.fi-resource-atm-machines.fi-resource-list-records-page .fi-ta-header{padding:16px}.kpv-machine-list-title{font-size:16px}}
