html{scrollbar-gutter:stable}body{color:#243121;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background:#eef5ec;margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif}::selection{background:#cde3c6}.daily-text{border-right:1px solid var(--line);min-width:0;max-width:26rem;color:var(--muted);text-align:right;flex:14rem;justify-content:flex-end;align-items:center;gap:.35rem;padding-right:.85rem;font-size:.78rem;line-height:1.3;display:flex}.daily-text-copy{min-width:0;margin:0}button.daily-refresh{width:1.4rem;height:1.4rem;color:var(--muted);box-shadow:none;opacity:.65;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;transition:opacity .15s,color .15s,background .15s;display:inline-flex}button.daily-refresh:hover,button.daily-refresh:focus-visible{opacity:1;color:var(--green-700);background:var(--green-50)}.daily-refresh-turn{transition:transform .45s;display:inline-flex}@media (prefers-reduced-motion:reduce){.daily-refresh-turn{transition:none}}.daily-text-body{-webkit-line-clamp:2;line-clamp:2;color:var(--green-800);-webkit-box-orient:vertical;font-style:italic;display:-webkit-box;overflow:hidden}.daily-text-author{white-space:nowrap;text-overflow:ellipsis;letter-spacing:.02em;font-size:.72rem;display:block;overflow:hidden}.chest{flex:none;position:relative}button.chest-button{width:2.7rem;height:2.7rem;color:var(--green-700);opacity:.6;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;padding:0;transition:opacity .2s,color .2s,background .2s,transform .2s;display:inline-flex;position:relative}button.chest-button:hover,button.chest-button:focus-visible,button.chest-button[aria-expanded=true]{opacity:1;color:#b47f10;background:#fff8e3;transform:translateY(-1px)}button.chest-button.is-on{opacity:.95;color:#b47f10}.chest-button .icon{transition:filter .25s}.chest-button:hover .icon,.chest-button:focus-visible .icon{filter:drop-shadow(0 0 5px #e8b02cbf)}.chest-spark{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);opacity:0;pointer-events:none;background:#e8b02c;width:10px;height:10px;position:absolute}.chest-spark.s1{top:2px;left:4px}.chest-spark.s2{width:7px;height:7px;top:-3px;right:8px}.chest-spark.s3{width:8px;height:8px;top:12px;right:-3px}.chest-spark.s4{width:7px;height:7px;bottom:4px;left:-3px}.chest-spark.s5{width:9px;height:9px;bottom:-2px;right:10px}@keyframes chest-twinkle{0%{opacity:0;transform:scale(.2)rotate(0)}35%{opacity:1;transform:scale(1.15)rotate(35deg)}70%{opacity:.85;transform:scale(.75)rotate(70deg)}to{opacity:0;transform:scale(.2)rotate(110deg)}}.chest-button:hover .chest-spark,.chest-button:focus-visible .chest-spark{animation:1.1s ease-in-out infinite chest-twinkle}.chest-button:hover .s2,.chest-button:focus-visible .s2{animation-delay:.22s}.chest-button:hover .s3,.chest-button:focus-visible .s3{animation-delay:.45s}.chest-button:hover .s4,.chest-button:focus-visible .s4{animation-delay:.68s}.chest-button:hover .s5,.chest-button:focus-visible .s5{animation-delay:.9s}@media (prefers-reduced-motion:reduce){.chest-button:hover .chest-spark,.chest-button:focus-visible .chest-spark{opacity:.9;animation:none}}.chest-panel{z-index:30;background:var(--surface);border:1px solid var(--green-200);border-radius:var(--radius);width:min(23rem,100vw - 2rem);box-shadow:var(--shadow-md);padding:.95rem 1rem 1rem;position:absolute;top:calc(100% + .4rem);right:0}.chest-panel h3{color:var(--green-900);margin:0 0 .25rem;font-size:1rem}.chest-lead{margin:0 0 .75rem;font-size:.84rem;line-height:1.4}.chest-options{flex-direction:column;gap:.35rem;display:flex}.chest-option{border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:flex-start;gap:.6rem;padding:.5rem .7rem;transition:background .15s,border-color .15s;display:flex}.chest-option:hover,.chest-option.is-selected{background:var(--green-50)}.chest-option.is-selected{border-color:var(--green-200)}.chest-option input[type=radio]{accent-color:var(--green-600);margin-top:.2rem}.chest-option-title{color:var(--ink);font-weight:600;display:block}.chest-option-hint{color:var(--muted);font-size:.82rem;display:block}.unicorn-stage{z-index:40;pointer-events:none;height:200px;position:fixed;bottom:10vh;left:0;right:0;overflow:hidden}.unicorn-runner{width:400px;height:180px;animation:4.6s linear forwards unicorn-run;position:absolute;bottom:0;left:0}@keyframes unicorn-run{0%{transform:translate(-420px)}to{transform:translate(calc(100vw + 60px))}}.unicorn{filter:drop-shadow(0 8px 12px #47556938);overflow:visible}.unicorn-body,.unicorn .leg,.unicorn .shin,.unicorn-mane .strand,.unicorn-tail{--stride:.52s}.unicorn-body{transform-box:view-box;transform-origin:112px 80px;animation:unicorn-body var(--stride) linear infinite}@keyframes unicorn-body{0%{transform:translateY(0)rotate(3deg)}20%{transform:translateY(-4px)rotate(-2deg)}45%{transform:translateY(-16px)rotate(-6deg)}70%{transform:translateY(-6px)rotate(2deg)}to{transform:translateY(0)rotate(3deg)}}.unicorn .leg,.unicorn .shin{transform-box:view-box;animation-duration:var(--stride);animation-timing-function:ease-in-out;animation-iteration-count:infinite}.unicorn .leg.hind{animation-name:unicorn-hind}.unicorn .leg.hind .shin{animation-name:unicorn-hock}@keyframes unicorn-hind{0%{transform:rotate(-34deg)}45%{transform:rotate(38deg)}to{transform:rotate(-34deg)}}@keyframes unicorn-hock{0%{transform:rotate(-28deg)}45%{transform:rotate(6deg)}70%{transform:rotate(-48deg)}to{transform:rotate(-28deg)}}.unicorn .leg.fore{animation-name:unicorn-fore}.unicorn .leg.fore .shin{animation-name:unicorn-knee}@keyframes unicorn-fore{0%{transform:rotate(-48deg)}35%{transform:rotate(-10deg)}65%{transform:rotate(36deg)}to{transform:rotate(-48deg)}}@keyframes unicorn-knee{0%{transform:rotate(-6deg)}35%{transform:rotate(0)}65%{transform:rotate(20deg)}82%{transform:rotate(62deg)}to{transform:rotate(-6deg)}}.unicorn .leg.hind.far,.unicorn .leg.hind.far .shin{animation-delay:calc(var(--stride) * -.12)}.unicorn .leg.fore.far,.unicorn .leg.fore.far .shin{animation-delay:calc(var(--stride) * -.62)}.unicorn .leg.fore.near,.unicorn .leg.fore.near .shin{animation-delay:calc(var(--stride) * -.5)}.unicorn-mane .strand,.unicorn-tail{transform-box:fill-box;animation:unicorn-strand calc(var(--stride) * 1) ease-in-out infinite}.unicorn-mane .strand{transform-origin:100% 30%}.unicorn-mane .s2{animation-delay:-.08s}.unicorn-mane .s3{animation-delay:-.16s}.unicorn-mane .s4{animation-delay:-.24s}.unicorn-mane .s5{animation-delay:-.32s}.unicorn-mane .forelock{animation-delay:-.2s}.unicorn-tail{transform-origin:100% 20%;animation-name:unicorn-tail}@keyframes unicorn-strand{0%,to{transform:rotate(-4deg)scaleX(1)}50%{transform:rotate(9deg)scaleX(1.08)}}@keyframes unicorn-tail{0%,to{transform:rotate(-8deg)}50%{transform:rotate(10deg)}}.mane-spark{fill:#fff;stroke:#a9b4d6;stroke-width:.7px;transform-box:fill-box;transform-origin:50%;opacity:0;animation:1.1s ease-out infinite unicorn-mane-spark}.mane-spark.ice{fill:#e0f2fe}.mane-spark.lilac{fill:#ede9fe}@keyframes unicorn-mane-spark{0%{opacity:0;transform:translate(0)rotate(0)scale(.2)}15%{opacity:1;transform:translate(calc(var(--dx) * .1), calc(var(--dy) * .1)) rotate(30deg) scale(1.15)}60%{opacity:.85}to{opacity:0;transform:translate(var(--dx), var(--dy)) rotate(200deg) scale(.35)}}@media (prefers-reduced-motion:reduce){.unicorn-stage{width:240px;height:120px;bottom:1rem;left:auto;right:1rem}.unicorn-runner{transform-origin:0 100%;animation:3s ease-in-out forwards unicorn-peek;transform:scale(.6)}.unicorn-body,.unicorn .leg,.unicorn .shin,.unicorn-mane .strand,.unicorn-tail,.mane-spark{animation:none}.mane-spark{opacity:.8}@keyframes unicorn-peek{0%,to{opacity:0}20%,80%{opacity:1}}}button.unicorn-toggle{filter:grayscale();opacity:.55;font-size:1.05rem;line-height:1}button.unicorn-toggle[aria-pressed=true]{filter:none;opacity:1;background:#f1f5f9}.unicorn-badge{margin-left:.35rem;font-size:.95rem}:root{--green-900:#1f3d1b;--green-800:#2d5527;--green-700:#3c7133;--green-600:#4e8c43;--green-500:#5b9a4d;--green-200:#cde3c6;--green-100:#e4f0e0;--green-50:#f3f8f1;--ink:#243121;--muted:#68775f;--line:#dbe5d6;--surface:#fff;--red:#c0392b;--red-bg:#fdecea;--amber:#9a6700;--amber-bg:#fff4d6;--orange:#e07b00;--radius:10px;--shadow-sm:0 1px 2px #1f3d1b0d, 0 1px 4px #1f3d1b12;--shadow-md:0 2px 6px #1f3d1b12, 0 10px 28px #1f3d1b1a;--focus-ring:0 0 0 3px #5b9a4d38}.app{flex-direction:column;min-height:100vh;display:flex}header{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);background:#fffffff0;position:sticky;top:0;box-shadow:0 1px #1f3d1b0a,0 4px 14px #1f3d1b0d}.header-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1240px;margin:0 auto;padding:.4rem 2rem;display:flex}nav{align-items:center;gap:.25rem;display:flex}.brand-link{align-items:center;margin-right:1rem;display:flex}.brand-logo{width:auto;height:48px}nav a{color:var(--ink);border-radius:8px;padding:.5rem .7rem;font-size:.95rem;font-weight:500;text-decoration:none;transition:color .15s,background .15s;position:relative}nav a:hover{color:var(--green-700);background:var(--green-50)}nav a.active{color:var(--green-800);font-weight:600}nav a.active:after{content:"";background:var(--green-600);border-radius:2px;height:3px;position:absolute;bottom:.1rem;left:.7rem;right:.7rem}.header-right{align-items:center;gap:.75rem;display:flex}.user-name{color:var(--muted);font-size:.88rem}main{box-sizing:border-box;flex:1;width:100%;max-width:1240px;margin:0 auto;padding:1.9rem 2rem 3rem}h1{color:var(--green-900);letter-spacing:-.015em;margin:.25rem 0 1.1rem;font-size:1.6rem;font-weight:700}h2{color:var(--green-800);letter-spacing:-.01em;margin:2.2rem 0 .6rem;font-size:1.12rem;font-weight:650}.page-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.page-head h1{margin-bottom:.25rem}.meta,.muted{color:var(--muted)}a{color:var(--green-700)}.status{border-radius:var(--radius);background:var(--surface);border:1px solid var(--green-200);border-left:4px solid var(--green-600);box-shadow:var(--shadow-sm);padding:.75rem 1rem}.status.error{background:var(--red-bg);border-color:#f2c4be;border-left-color:var(--red);color:var(--red)}.status.warning{background:var(--amber-bg);border-color:#f0dca6;border-left-color:var(--amber);color:#6b4a00}.status.success{background:var(--green-50,#f2f8ef);border-left-color:var(--green-600)}.print-label{box-sizing:border-box;color:#000;background:#fff;flex-direction:column;justify-content:space-between;align-items:center;width:50mm;height:18mm;padding:1mm 2mm;display:flex}.label-sheet{border:1px dashed var(--green-200);box-shadow:var(--shadow-sm);border-radius:4px;display:inline-block}.label-barcode{width:100%;height:11mm}.label-number{letter-spacing:.08em;font-family:Consolas,monospace;font-size:9pt;font-weight:700}@media print{@page{size:50mm 18mm;margin:0}header,footer,.no-print{display:none!important}body{background:#fff}main{max-width:none;margin:0;padding:0}.label-sheet{box-shadow:none;border:none}}.health{background:var(--green-50);color:var(--muted);border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .7rem;font-size:.78rem;font-weight:600;display:inline-flex}.health:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.health.connected{background:var(--green-100);color:var(--green-700)}.health.down{background:var(--red-bg);color:var(--red)}table{border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:100%;box-shadow:var(--shadow-sm);margin-top:1rem;overflow:hidden}th,td{text-align:left;border-bottom:1px solid var(--line);padding:.7rem .9rem}th{background:var(--green-50);color:var(--green-800);text-transform:uppercase;letter-spacing:.07em;border-bottom:2px solid var(--green-200);font-size:.74rem;font-weight:700}tbody tr{transition:background .12s}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:var(--green-50)}td.empty{text-align:center;color:var(--muted);padding:2.2rem 1rem}.group-list{flex-direction:column;gap:1rem;margin-top:1.2rem;display:flex}.group-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.group-card-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.4rem .7rem;padding:.6rem .7rem .6rem .9rem;display:flex}.group-card-head h2{color:var(--green-900);margin:0;font-size:1rem}.count-pill{box-sizing:border-box;text-align:center;font-variant-numeric:tabular-nums;min-width:1.5rem;color:var(--muted);background:var(--green-50);border:1px solid var(--line);border-radius:999px;padding:.1rem .45rem;font-size:.75rem;font-weight:600}.group-card-head button.group-add{margin-left:auto}.category-list{margin:0;padding:0;list-style:none}.category-row{border-bottom:1px solid var(--line);align-items:center;gap:.75rem;min-height:3rem;padding:.35rem .7rem .35rem .9rem;transition:background .12s;display:flex}.category-row:last-child{border-bottom:none}.category-row:hover{background:var(--green-50)}.category-name{flex:1;min-width:0}.category-meta{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.85rem}.category-row button.icon-slot{border-color:var(--line);width:2rem;height:2rem}.category-row button.icon-slot.empty{font-size:1rem}.category-row button.category-delete,.group-card-head button.group-edit,.category-row button.category-edit{--btn-h:2rem;color:var(--muted)}.group-card-head button.group-edit .icon,.category-row button.category-edit .icon,.category-row button.category-delete .icon{color:inherit}.category-row button.category-delete:not(:disabled):is(:hover,:focus-visible){color:var(--red)}.category-empty{color:var(--muted);padding:.9rem;font-size:.9rem}.group-card .category-add-form{background:var(--green-50);border-top:1px solid var(--line);margin:0;padding:.6rem .7rem .6rem .9rem}.group-card .category-add-form input{flex:1;min-width:0}@media (width<=560px){.category-meta{display:none}.group-card .category-add-form{flex-wrap:wrap}}.tree-filters{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end;gap:.6rem .9rem;margin:1rem 0;padding:.9rem 1rem;display:grid}.tree-filters .tree-filter-search{grid-column:1/-1}@media (width>=56rem){.tree-filters{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}.tree-filters .tree-filter-search{grid-column:auto}}.tree-filters .filter-active{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}.tree-filters .filter-active:focus{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange), var(--focus-ring)}.tree-filters label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.tree-filter-actions{flex-wrap:wrap;grid-column:1/-1;gap:.5rem;display:flex}.tree,.tree ul{margin:0;padding:0;list-style:none}.tree{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.tree ul{border-left:1px dashed var(--green-200);margin-left:1.35rem}.tree-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.35rem .6rem;padding:.45rem .8rem;display:flex}.tree-row:hover{background:var(--green-50)}.level-group>.tree-row{background:var(--green-100);color:var(--green-900);font-weight:650}.level-group>.tree-row:hover{background:var(--green-200)}.level-category>.tree-row{font-weight:600}.level-item>.tree-row{padding-left:3rem;font-size:.93rem}.tree-label{flex:14rem;min-width:0}.tree-meta{color:var(--muted);font-size:.85rem;font-weight:400}.tree button.tree-toggle{background:var(--surface);width:1.8rem;height:1.8rem;color:var(--green-700);border:1px solid var(--green-200);border-radius:6px;justify-content:center;align-items:center;padding:0;font-size:.9rem;line-height:1;display:inline-flex}.tree button.tree-toggle:hover{background:var(--green-50);border-color:var(--green-500);box-shadow:none;transform:none}.tree-leaf-empty{color:var(--muted);border-bottom:1px solid var(--line);padding:.45rem .8rem .45rem 3rem;font-size:.9rem}details.history{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-top:2.2rem}details.history>summary{cursor:pointer;color:var(--green-800);border-radius:var(--radius);padding:.75rem 1rem;font-size:1.12rem;font-weight:650}details.history>summary:hover{background:var(--green-50)}details.history>summary:focus-visible{box-shadow:var(--focus-ring);outline:none}details.history[open]>summary{border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}details.history h3{color:var(--green-800);margin:1.2rem 1rem 0;font-size:.98rem;font-weight:650}details.history table{width:calc(100% - 2rem);margin:.6rem 1rem 1rem}details.protocol-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}details.protocol-section>summary{cursor:pointer;color:var(--green-800);border-radius:var(--radius);padding:.6rem .9rem;font-size:.92rem;font-weight:600}details.protocol-section>summary:hover{background:var(--green-50)}details.protocol-section>summary:focus-visible{box-shadow:var(--focus-ring);outline:none}details.protocol-section[open]>summary{border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}details.protocol-section>:not(summary){margin:.9rem}details.protocol-section .form-row{align-items:flex-end}.item-people{color:var(--muted);flex-direction:column;gap:.1rem;font-size:.88rem;display:inline-flex}.item-people strong{color:var(--ink);font-weight:600}.pictogram{vertical-align:middle;flex:none}.tree-label .pictogram{color:var(--green-700);vertical-align:-.3em;margin-right:.45rem}button.icon-slot{background:var(--surface);width:2.3rem;height:2.3rem;color:var(--green-700);border:1px solid var(--green-200);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}button.icon-slot.empty{color:var(--muted);border-style:dashed;font-size:1.2rem;font-weight:400}button.icon-slot:hover{background:var(--green-50);border-color:var(--green-500);color:var(--green-800)}.icon-picker{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.6rem;margin:1rem 0;display:grid}button.icon-choice{white-space:normal;height:auto;min-height:5.5rem;box-shadow:none;background:var(--surface);color:var(--green-800);border:1px solid var(--line);border-radius:var(--radius);text-align:center;flex-direction:column;align-items:center;gap:.45rem;padding:.85rem .5rem;font-size:.85rem;font-weight:500;line-height:1.25;display:flex}button.icon-choice:hover{background:var(--green-50);border-color:var(--green-500)}button.icon-choice.selected{background:var(--green-100);border:2px solid var(--green-600);font-weight:650}.tree-empty{color:var(--muted);text-align:center;padding:2rem 1rem}td.overdue{color:var(--red);font-weight:600}td a{color:var(--green-700);-webkit-text-decoration-color:var(--green-200);text-decoration-color:var(--green-200);text-underline-offset:3px;font-weight:500}td a:hover{-webkit-text-decoration-color:var(--green-600);text-decoration-color:var(--green-600)}.badge{color:var(--muted);white-space:nowrap;background:#eef1ed;border-radius:999px;align-items:center;gap:.4rem;padding:.18rem .7rem;font-size:.83rem;font-weight:550;display:inline-flex}.badge:before{content:"";opacity:.75;background:currentColor;border-radius:50%;width:7px;height:7px}.badge.available{background:var(--green-100);color:var(--green-700)}.badge.rented{color:#22578a;background:#e2ecf6}.badge.inservice{background:var(--amber-bg);color:var(--amber)}.badge.reserved{color:#6a3f96;background:#efe7f7}.badge.waiting{color:#6a3f96;background:#efe7f7;font-weight:500}.badge.outofuse{background:var(--red-bg);color:var(--red)}.badge.decommissioned{color:#666;background:#ececec}td .badge+.badge{margin-left:.35rem}button,.button{--btn-h:2.25rem;font:inherit;letter-spacing:.005em;white-space:nowrap;height:var(--btn-h);border:1px solid var(--green-700);background:var(--green-700);color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:7px;justify-content:center;align-items:center;gap:.45rem;padding:0 .95rem;font-size:.875rem;font-weight:600;line-height:1;text-decoration:none;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex;box-shadow:0 1px 1.5px #1f3d1b24}button .icon,.button .icon{flex:none;margin-left:-.1rem}button:hover,.button:hover{background:var(--green-800);border-color:var(--green-800)}button:active,.button:active{background:var(--green-900);border-color:var(--green-900);box-shadow:none}button:focus-visible,.button:focus-visible,nav a:focus-visible{outline:2px solid var(--green-600);outline-offset:2px;box-shadow:none}button:disabled,button:disabled:hover{opacity:.45;cursor:not-allowed;box-shadow:none}button.secondary,.button.secondary{background:var(--surface);color:var(--ink);border-color:#c9d6c3}button.secondary .icon,.button.secondary .icon{color:var(--green-700)}button.secondary:hover,.button.secondary:hover{background:var(--green-50);border-color:var(--green-500)}button.secondary:active,.button.secondary:active{background:var(--green-100)}button.ghost,.button.ghost{color:var(--green-800);box-shadow:none;background:0 0;border-color:#0000}button.ghost:hover,.button.ghost:hover{background:var(--green-50);border-color:#0000}button.ghost:active,.button.ghost:active{background:var(--green-100)}button.danger,.button.danger{background:var(--surface);color:var(--red);border-color:#eac3bd}button.danger .icon{color:var(--red)}button.danger:hover,.button.danger:hover{background:var(--red-bg);border-color:var(--red)}button.danger:active,.button.danger:active{background:#f9d9d4}button.ghost.danger,.button.ghost.danger{box-shadow:none;background:0 0;border-color:#0000}button.ghost.danger:hover{background:var(--red-bg);border-color:#0000}button.icon-only,.button.icon-only{width:var(--btn-h);gap:0;padding:0}button.icon-only .icon,.button.icon-only .icon{margin:0}td :is(button,.button){--btn-h:2.1rem;padding:0 .7rem;font-size:.83rem}td :is(button,.button).icon-only{padding:0}td.actions{text-align:right;white-space:nowrap;width:1%}td.actions>*{vertical-align:middle}td.actions>*+*{margin-left:.3rem}.toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.toolbar-spacer{flex:1 1 0;min-width:.5rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button.icon-slot:active,button.icon-choice:active,.tree button.tree-toggle:active{background:var(--green-100);border-color:var(--green-500)}td button.icon-slot{padding:0}.tree .button.tree-action{--btn-h:1.9rem}.breadcrumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.15rem .5rem;margin:-.4rem 0 .35rem;font-size:.875rem;display:flex}.breadcrumbs .back-link{--btn-h:2rem;margin-left:-.6rem;padding:0 .6rem}.crumb-sep{color:#a9b7a3}.level-model.highlight>.tree-row{animation:2.5s ease-out row-highlight}@keyframes row-highlight{0%,40%{background:var(--amber-bg);box-shadow:inset 3px 0 0 var(--amber)}}@media (prefers-reduced-motion:reduce){.level-model.highlight>.tree-row{background:var(--amber-bg);animation:none}}.timeline-wrap{flex-direction:column;align-items:flex-start;gap:.9rem;display:flex}.segmented{background:var(--green-50);border:1px solid var(--line);border-radius:9px;flex-wrap:wrap;gap:.15rem;padding:.2rem;display:inline-flex}.segmented button{--btn-h:1.9rem;color:var(--muted);box-shadow:none;background:0 0;border-color:#0000;padding:0 .75rem;font-size:.82rem;font-weight:550}.segmented button:hover{background:var(--surface);color:var(--ink);border-color:#0000}.segmented button:active{background:var(--green-100);border-color:#0000}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--green-800);border-color:var(--line);box-shadow:0 1px 2px #1f3d1b14}.timeline{width:100%;margin:0;padding:0;list-style:none}.timeline-entry{gap:.85rem;padding-bottom:1.05rem;display:flex;position:relative}.timeline-entry:before{content:"";background:var(--line);width:2px;position:absolute;top:1.9rem;bottom:0;left:.9rem;transform:translate(-50%)}.timeline-entry:last-child:before{display:none}.timeline-marker{color:#5f6b5a;width:1.8rem;height:1.8rem;box-shadow:0 0 0 3px var(--surface);background:#eef1ed;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.timeline-marker.tone-available{background:var(--green-100);color:var(--green-700)}.timeline-marker.tone-rented{color:#22578a;background:#e2ecf6}.timeline-marker.tone-reserved{color:#6a3f96;background:#efe7f7}.timeline-marker.tone-inservice{background:var(--amber-bg);color:var(--amber)}.timeline-marker.tone-outofuse{background:var(--red-bg);color:var(--red)}.timeline-body{min-width:0;padding-top:.2rem}.timeline-title{color:var(--ink);font-size:.93rem}.timeline-title strong{font-weight:650}.timeline-details{color:var(--ink);margin-top:.15rem;font-size:.88rem}.timeline-meta{color:var(--muted);margin-top:.15rem;font-size:.8rem}.modal.modal-wide{flex-direction:column;width:min(640px,100vw - 2rem);max-height:min(80vh,760px);padding:0}.modal.modal-wide[open]{display:flex}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.1rem 1.25rem .8rem 1.5rem;display:flex}.modal-head p{margin:.2rem 0 0}.modal-scroll{padding:1rem 1.5rem 1.25rem;overflow-y:auto}.photo-frame{background:radial-gradient(120% 120% at 50% 0%, #fff 0%, var(--green-50) 70%, #eaf2e6 100%);border:1px solid var(--line);border-radius:var(--radius);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.photo-frame img{object-fit:contain;width:100%;height:100%;display:block}.photo-hero{aspect-ratio:4/3;box-shadow:var(--shadow-md);border-radius:14px}.photo-hero img{box-sizing:border-box;padding:1rem}.photo-card{aspect-ratio:4/3;flex:none;width:9.5rem}.photo-card img{box-sizing:border-box;padding:.4rem}.photo-thumb{border-radius:6px;flex:none;width:2.6rem;height:2.1rem}.photo-thumb img{box-sizing:border-box;padding:2px}.photo-placeholder{color:#9fb098;flex-direction:column;align-items:center;gap:.35rem;font-size:.8rem;font-weight:500;display:flex}.photo-frame.is-empty{background:repeating-linear-gradient(135deg, var(--green-50) 0 10px, #eef4eb 10px 20px)}.photo-editor{flex-direction:column;gap:.5rem;min-width:0;display:flex}button.photo-trigger{width:100%;height:auto;box-shadow:none;cursor:zoom-in;background:0 0;border:none;border-radius:14px;padding:0;display:block;position:relative}button.photo-trigger:hover,button.photo-trigger:active{background:0 0}button.photo-trigger:focus-visible{outline-offset:3px}.photo-zoom-hint{color:var(--green-800);box-shadow:var(--shadow-sm);opacity:0;background:#ffffffeb;border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.78rem;font-weight:600;transition:opacity .15s,transform .15s;display:inline-flex;position:absolute;bottom:.7rem;right:.7rem;transform:translateY(4px)}button.photo-trigger:hover .photo-zoom-hint,button.photo-trigger:focus-visible .photo-zoom-hint{opacity:1;transform:none}.photo-drop-overlay,.photo-busy{color:var(--green-800);background:#f3f8f1e0;border-radius:14px;justify-content:center;align-items:center;font-weight:600;display:flex;position:absolute;inset:0}.photo-drop-overlay{border:2px dashed var(--green-600)}button.photo-dropzone{aspect-ratio:4/3;white-space:normal;text-align:center;width:100%;height:auto;color:var(--ink);background:var(--green-50);box-shadow:none;border:2px dashed #bfd3b7;border-radius:14px;flex-direction:column;gap:.55rem;padding:1.5rem}button.photo-dropzone:hover,button.photo-dropzone.is-dragging{background:var(--green-100);border-color:var(--green-600)}button.photo-dropzone:active{background:var(--green-100);border-color:var(--green-700)}.photo-dropzone-icon{background:var(--surface);width:3rem;height:3rem;color:var(--green-700);box-shadow:var(--shadow-sm);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.photo-dropzone-title{color:var(--green-900);font-size:1rem;font-weight:650}.photo-dropzone-text{color:var(--muted);font-size:.83rem;font-weight:400;line-height:1.5}.photo-actions{justify-content:center;gap:.25rem;display:flex}.photo-error{margin:0}dialog.lightbox{background:var(--surface);border:none;border-radius:14px;max-width:min(1200px,94vw);max-height:92vh;padding:0;overflow:visible;box-shadow:0 24px 64px #0f1e0c59}dialog.lightbox::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f1a0db8}dialog.lightbox img{object-fit:contain;border-radius:14px 14px 0 0;max-width:min(1200px,94vw);max-height:calc(92vh - 3rem);display:block}.lightbox-caption{text-align:center;color:var(--green-900);margin:0;padding:.75rem 1rem;font-weight:600}dialog.lightbox button.lightbox-close{--btn-h:2.2rem;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-md);border-radius:50%;position:absolute;top:-.9rem;right:-.9rem}dialog.lightbox button.lightbox-close:hover{background:var(--green-50)}.model-hero{grid-template-columns:minmax(260px,400px) 1fr;align-items:start;gap:2rem;margin-bottom:.5rem;display:grid}.model-info{flex-direction:column;gap:1rem;min-width:0;display:flex}.model-info .page-head{align-items:flex-start}.model-info h1{margin:0}.model-manufacturer{margin:.25rem 0 0;font-size:.95rem}.model-description{white-space:pre-line;max-width:62ch;margin:0;line-height:1.6}.model-description.clamped{-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}button.description-toggle{--btn-h:1.9rem;margin:.25rem 0 0 -.6rem;padding:0 .6rem;font-weight:600}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(6.8rem,1fr));gap:.6rem;margin:0;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);border-top:3px solid #cfd8cb;padding:.7rem .9rem}.stat dt{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-size:.7rem;font-weight:700;line-height:1.3}.stat dd{color:var(--green-900);font-variant-numeric:tabular-nums;margin:.2rem 0 0;font-size:1.55rem;font-weight:700}.stat-available{border-top-color:var(--green-500)}.stat-rented{border-top-color:#5b8fc4}.stat-reserved{border-top-color:#9a74c2}.stat-inservice{border-top-color:#d9a520}@media (width<=760px){.model-hero{grid-template-columns:1fr}}.lookup-title{flex:1;min-width:0}.tree .photo-thumb{margin-right:.1rem}.action-menu{display:inline-flex}.action-menu-list{z-index:50;background:var(--surface);border:1px solid var(--line);min-width:13rem;box-shadow:var(--shadow-md);border-radius:9px;flex-direction:column;padding:.3rem;animation:.12s ease-out menu-in;display:flex;position:fixed}@keyframes menu-in{0%{opacity:0;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.action-menu-list{animation:none}}.action-menu-list button.action-menu-item{width:100%;height:2.2rem;color:var(--ink);box-shadow:none;background:0 0;border:none;border-radius:6px;justify-content:flex-start;gap:.6rem;padding:0 .65rem;font-size:.86rem;font-weight:500}.action-menu-list button.action-menu-item .icon{color:var(--muted);margin:0}.action-menu-list button.action-menu-item:hover,.action-menu-list button.action-menu-item:focus-visible{background:var(--green-50);outline:none}.action-menu-list button.action-menu-item.danger{color:var(--red);margin-top:.3rem;position:relative}.action-menu-list button.action-menu-item.danger:before{content:"";border-top:1px solid var(--line);position:absolute;top:-.2rem;left:.4rem;right:.4rem}.action-menu-list button.action-menu-item.danger~button.action-menu-item.danger{margin-top:0}.action-menu-list button.action-menu-item.danger~button.action-menu-item.danger:before{display:none}.action-menu-list button.action-menu-item.danger .icon{color:var(--red)}.action-menu-list button.action-menu-item.danger:hover,.action-menu-list button.action-menu-item.danger:focus-visible{background:var(--red-bg)}.inline-form{gap:.5rem;margin:1rem 0;display:flex}.stacked-form{flex-direction:column;gap:.95rem;max-width:480px;margin-top:1rem;display:flex}.stacked-form.lookup-form{max-width:600px}.combobox-field{position:relative}.combobox-control{align-items:center;display:flex;position:relative}.combobox-control input{flex:1;min-width:0;padding-left:2.2rem;padding-right:2.2rem}.combobox-icon{color:var(--muted);pointer-events:none;position:absolute;left:.75rem}.combobox.has-error .combobox-control input{border-color:var(--red)}.combobox-spinner{border:2px solid var(--green-200);border-top-color:var(--green-600);border-radius:50%;width:14px;height:14px;animation:.7s linear infinite combobox-spin;position:absolute;right:.75rem}@keyframes combobox-spin{to{transform:rotate(360deg)}}.combobox-hint,.combobox-error{color:var(--muted);margin:.3rem 0 0;font-size:.82rem}.combobox-error{color:var(--red);font-weight:600}.combobox-popup{z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-md);margin-top:.3rem;position:absolute;top:100%;left:0;right:0;overflow:hidden}.combobox-popup[hidden]{display:none}.combobox-list{max-height:min(22rem,55vh);margin:0;padding:.3rem;list-style:none;overflow-y:auto}.combobox-list:empty{display:none}.combobox-option{cursor:pointer;border-radius:8px;padding:.45rem .55rem}.combobox-option.is-active{background:var(--green-50);box-shadow:inset 3px 0 0 var(--green-600)}.combobox-option.is-disabled{cursor:not-allowed;opacity:.55}.combobox-message{color:var(--muted);margin:0;padding:.75rem .9rem;font-size:.88rem}.combobox-footer{border-top:1px solid var(--line);padding:.3rem}.combobox-footer a{border-radius:8px;align-items:center;gap:.45rem;padding:.5rem .55rem;font-size:.9rem;font-weight:600;text-decoration:none;display:flex}.combobox-footer a:hover{background:var(--green-50)}.option-row{align-items:center;gap:.7rem;min-width:0;display:flex}.option-text{flex-direction:column;flex:1;gap:.05rem;min-width:0;display:flex}.option-title{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.93rem;font-weight:400;overflow:hidden}.option-title strong{font-weight:600}.option-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:400;overflow:hidden}.option-aside{flex:none}.option-aside .badge{font-size:.76rem}.option-note{font-size:.8rem;font-weight:400}.selected-card{background:var(--surface);border:1px solid var(--green-200);border-radius:var(--radius);box-shadow:inset 3px 0 0 var(--green-600);align-items:center;gap:.6rem;padding:.5rem .5rem .5rem .7rem;display:flex}.selected-body{flex:1;min-width:0}fieldset.item-suggestion{border:none;min-width:0;margin:0;padding:0}.suggested-item{background:var(--green-50);border:1px solid var(--line);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:.3rem .75rem;padding:.55rem .5rem .55rem .8rem;display:flex}.suggested-number{color:var(--green-900);font-variant-numeric:tabular-nums;font-weight:700}.suggested-effect{color:var(--ink);flex:14rem;font-size:.88rem}.item-choices{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.stacked-form label.item-choice{border-top:1px solid var(--line);color:var(--ink);cursor:pointer;flex-direction:row;align-items:center;gap:.65rem;padding:.55rem .8rem;font-weight:400}.stacked-form label.item-choice:first-child{border-top:none}.stacked-form label.item-choice:hover{background:var(--green-50)}.stacked-form label.item-choice.is-selected{background:var(--green-50);box-shadow:inset 3px 0 0 var(--green-600)}.item-choice input[type=radio]{accent-color:var(--green-600)}.item-choice-number{font-variant-numeric:tabular-nums;flex:1;font-weight:600}@media (width<=560px){.option-row{flex-wrap:wrap}.option-aside{flex-basis:100%;padding-left:3.3rem}}.field-label{color:var(--green-800);margin-bottom:.3rem;font-size:.9rem;font-weight:600;display:block}.field-hint{font-size:.82rem;font-weight:400}.stacked-form label,.form-row label{color:var(--green-800);flex-direction:column;gap:.3rem;font-size:.9rem;font-weight:600;display:flex}.form-row{gap:1rem;display:flex}.form-row label{flex:1}.loan-start{flex-direction:column;flex:1;gap:.3rem;display:flex}.loan-start-label{color:var(--green-800);font-size:.9rem;font-weight:600}.loan-start-now{min-height:var(--btn-h,2.5rem);align-items:center;gap:.6rem;display:flex}.loan-start button.loan-start-reset{--btn-h:1.8rem;font-size:inherit;padding:0 .4rem}.expiry-picker{border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:.45rem;margin:0;padding:.75rem .9rem;display:flex}.stacked-form .expiry-picker label.checkbox-row{flex-direction:row;align-items:center;gap:.5rem}.modal{border-radius:var(--radius);box-shadow:var(--shadow-md);border:none;width:min(480px,100vw - 2rem);padding:1.25rem 1.5rem}.modal::backdrop{background:#1f3d1b59}.modal .stacked-form{margin-top:0}.modal h2{margin:0}.dialog-subtitle{margin:.2rem 0 0;font-size:.9rem}.dialog-subtitle strong{color:var(--ink);font-weight:600}.dialog-note{margin:0;font-size:.85rem}.checkbox-hint{margin-top:.15rem;padding-left:1.55rem}.confirm-body p{margin:.6rem 0 1.1rem;line-height:1.55}.confirm-summary{background:var(--green-50);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:max-content minmax(0,1fr);gap:.35rem 1rem;margin:0 0 1.1rem;padding:.75rem .9rem;display:grid}.confirm-summary dt{color:var(--muted);font-size:.82rem}.confirm-summary dd{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:.9rem}.confirm-dialog .status{margin:.6rem 0 0}.password-field{display:flex;position:relative}.password-field input{flex:1;min-width:0;padding-right:2.6rem}.password-field button.icon-only{--btn-h:2rem;color:var(--muted);position:absolute;top:50%;right:.25rem;transform:translateY(-50%)}.password-field button.icon-only:hover{color:var(--green-800)}.password-rules{color:var(--muted);grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr));gap:.3rem 1rem;margin:-.35rem 0 0;padding:0;font-size:.85rem;list-style:none;display:grid}.password-rules li{align-items:center;gap:.45rem;transition:color .15s;display:flex}.rule-mark{box-sizing:border-box;border:1.5px solid #c9d6c3;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1rem;height:1rem;transition:background .15s,border-color .15s;display:inline-flex}.password-rules li.ok{color:var(--green-800)}.password-rules li.ok .rule-mark{background:var(--green-600);border-color:var(--green-600);color:#fff}.role-admin{color:var(--green-800);align-items:center;gap:.35rem;font-weight:600;display:inline-flex}.role-admin .icon{color:var(--green-600)}.form-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem;display:flex}input,select,textarea{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:.52rem .7rem;transition:border-color .15s,box-shadow .15s}input:hover,select:hover,textarea:hover{border-color:var(--green-500)}input:focus,select:focus,textarea:focus{border-color:var(--green-500);box-shadow:var(--focus-ring);outline:none}.filter{color:var(--muted)}.stacked-form.customer-form{max-width:560px}.guardian-toggle .checkbox-hint{margin-bottom:0}fieldset.guardian-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:.9rem;min-width:0;margin:-.2rem 0 0;padding:.9rem 1rem 1rem;display:flex}fieldset.guardian-section legend{color:var(--green-900);margin-left:-.35rem;padding:0 .35rem;font-size:.95rem;font-weight:650}.role-options{flex-direction:column;gap:.35rem;display:flex}.stacked-form label.role-option{border:1px solid var(--line);cursor:pointer;border-radius:8px;flex-direction:row;align-items:flex-start;gap:.6rem;padding:.5rem .7rem;font-weight:400}.stacked-form label.role-option:hover{background:var(--green-50)}.stacked-form label.role-option.is-selected{background:var(--green-50);border-color:var(--green-200)}.role-option input[type=radio]{accent-color:var(--green-600);margin-top:.2rem}.role-name{color:var(--ink);font-weight:600;display:block}.role-hint{color:var(--muted);font-size:.82rem;display:block}.guardian-new{flex-direction:column;gap:.9rem;display:flex}.guardian-section .segmented{align-self:flex-start}.person-link-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);max-width:560px;box-shadow:inset 3px 0 0 var(--green-600);flex-direction:column;gap:.1rem;margin:.9rem 0 0;padding:.65rem .9rem;display:flex}.person-link-label{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.72rem;font-weight:700}.person-link-name{font-weight:600}.person-link-list{margin:0;padding:0;list-style:none}.cell-note{font-size:.8rem;font-weight:400}.stacked-form label.checkbox-row{flex-direction:row;align-items:center;gap:.5rem}input[type=checkbox]{width:1.05rem;height:1.05rem;accent-color:var(--green-600)}.search{box-sizing:border-box;width:100%;max-width:420px;margin-top:.5rem}.scan-form{margin:.5rem 0 1.25rem}.scan-input{flex:1;max-width:480px;padding:.7rem .9rem;font-size:1.15rem}.lookup-card{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--green-600);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:1.25rem 1.5rem}.lookup-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.lookup-head h2{margin:0 0 .35rem}.badge.big{padding:.35rem 1rem;font-size:.98rem}.lookup-loan{border-top:1px solid var(--line);margin-top:1rem;padding-top:.75rem}.lookup-loan h3{color:var(--green-800);margin:0 0 .4rem;font-size:1rem}.lookup-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1rem;display:flex}.overdue-text{color:var(--red)}.dashboard{--st-available:var(--green-600);--st-rented:#4a7fb5;--st-reserved:#8a63b8;--st-inservice:#d39b2a;--st-outofuse:#cf5b4c}.dashboard .page-head h1{margin-bottom:0}.dashboard-date{margin:.15rem 0 0;font-size:.9rem}.dashboard-date:first-letter{text-transform:uppercase}.dashboard h2{align-items:center;gap:.6rem;margin:2.2rem 0 .8rem;display:flex}.kpi-bands{grid-template-columns:4fr 3fr;gap:1rem;margin-top:1.4rem;display:grid}.kpi-band{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:.8rem .5rem .5rem}.kpi-band-title{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);padding:0 .6rem .4rem;font-size:.72rem;font-weight:700;display:block}.kpi-row{grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));display:grid}.kpi{color:inherit;border-radius:8px;flex-direction:column;gap:.1rem;padding:.35rem .6rem .45rem;text-decoration:none;display:flex}.kpi+.kpi{box-shadow:inset 1px 0 0 var(--line);border-radius:0 8px 8px 0}.kpi-value{letter-spacing:-.02em;color:var(--green-900);font-variant-numeric:tabular-nums;font-size:1.75rem;font-weight:700;line-height:1.15}.kpi-label{color:var(--muted);font-size:.82rem}a.kpi-link:hover{background:var(--green-50);box-shadow:none}a.kpi-link:hover .kpi-label{color:var(--green-700)}a.kpi-link:focus-visible{box-shadow:var(--focus-ring);outline:none}.kpi-alert .kpi-value{color:var(--red)}.kpi-alert .kpi-label{color:var(--red);font-weight:600}.kpi-notice .kpi-value{color:var(--amber)}.all-clear{color:var(--green-800);background:var(--green-50);border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:.5rem;margin:0;padding:.75rem 1rem;font-size:.93rem;display:flex}.all-clear .icon{color:var(--green-600)}.panel-stack{flex-direction:column;gap:1rem;display:flex}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow-x:auto}.panel-head{border-bottom:1px solid var(--line);align-items:center;gap:.6rem;padding:.7rem 1rem;display:flex}.panel-head h3{color:var(--green-900);margin:0;font-size:.95rem;font-weight:650}.panel-alert{box-shadow:inset 3px 0 0 var(--red), var(--shadow-sm)}.panel-alert .panel-head h3{color:var(--red)}.panel-alert .count-pill{color:var(--red);background:var(--red-bg);border-color:#f0cdc8}table.plain{box-shadow:none;border:none;border-radius:0;margin:0}table.plain th{color:var(--muted);background:0 0;border-bottom-width:1px;font-size:.7rem}table.plain th.num,table.plain td.num{text-align:right}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.4rem 1.5rem;margin:2.2rem 0 .8rem;display:flex}.dashboard .section-head h2{margin:0}.status-legend{color:var(--muted);flex-wrap:wrap;gap:.3rem 1rem;margin:0;padding:0;font-size:.8rem;list-style:none;display:flex}.status-legend li{align-items:center;gap:.35rem;display:inline-flex}.status-legend .dot{border-radius:50%;width:8px;height:8px}.seg-available{background:var(--st-available)}.seg-rented{background:var(--st-rented)}.seg-reserved{background:var(--st-reserved)}.seg-inService{background:var(--st-inservice)}.seg-outOfUse{background:var(--st-outofuse)}.availability-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr));align-items:start;gap:1rem;display:grid}.availability-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1rem 1.1rem .4rem}.availability-head{align-items:center;gap:.75rem;display:flex}.availability-icon{background:var(--green-50);width:2.25rem;height:2.25rem;color:var(--green-700);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.availability-title{flex-direction:column;flex:1;min-width:0;display:flex}.availability-title h3{color:var(--green-900);margin:0;font-size:1rem;font-weight:650;line-height:1.3}.availability-title .meta{font-size:.8rem}.availability-ratio{text-align:right;font-variant-numeric:tabular-nums;line-height:1.2}.availability-ratio strong{color:var(--green-800);font-size:1.35rem;font-weight:700}.availability-ratio-label{color:var(--muted);font-size:.72rem;display:block}.status-bar{background:var(--green-50);border-radius:999px;gap:2px;height:6px;display:flex;overflow:hidden}.availability-head+.status-bar{height:8px;margin:.85rem 0 .4rem}.status-bar .seg{min-width:3px}.availability-list{margin:0;padding:0;list-style:none}.availability-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 4.2rem;align-items:center;gap:.9rem;padding:.55rem 0;font-size:.9rem;display:grid}.availability-list .availability-row:first-child{border-top:none}.availability-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.availability-count{text-align:right;font-variant-numeric:tabular-nums}.availability-count strong{color:var(--green-900);font-weight:650}@media (width<=760px){.kpi-bands{grid-template-columns:1fr}.kpi-row{grid-template-columns:repeat(2,1fr);row-gap:.3rem}.kpi+.kpi{box-shadow:none}.kpi:nth-child(2n){box-shadow:inset 1px 0 0 var(--line)}table.plain th,table.plain td{white-space:nowrap}.availability-row{grid-template-columns:minmax(0,1fr) 4.2rem;row-gap:.35rem}.availability-row .status-bar{grid-area:2/1/auto/-1}}.login-page{justify-content:center;align-items:flex-start;max-width:none;padding-top:8vh;display:flex}.login-box{flex-direction:column;gap:1.25rem;width:400px;display:flex}.login-logos{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:12px;justify-content:center;align-items:center;gap:1.5rem;padding:.75rem 1rem;display:flex}.login-logos img{width:auto;height:64px}.login-form{box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--green-600);width:100%;max-width:none;box-shadow:var(--shadow-md);border-radius:12px;padding:2rem}.login-form h1{margin:0}footer{background:var(--surface);border-top:1px solid var(--line);margin-top:2.5rem}.footer-inner{flex-wrap:wrap;justify-content:center;align-items:center;gap:3rem;max-width:1240px;margin:0 auto;padding:1.1rem 2rem .4rem;display:flex}.footer-inner img{width:auto;height:54px}.footer-note{text-align:center;color:var(--muted);margin:0;padding:0 2rem 1rem;font-size:.8rem}th button.sort-button{height:auto;box-shadow:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;background:0 0;border:none;gap:.35rem;padding:0}th button.sort-button:hover,th button.sort-button:active{color:var(--green-900);background:0 0}.sort-indicator{opacity:.55;font-size:.7rem}th[aria-sort=ascending] .sort-indicator,th[aria-sort=descending] .sort-indicator{opacity:1}.stacked-form label.repair-suggestion{background:var(--amber-bg);border-left:3px solid var(--amber);border-radius:var(--radius);color:var(--ink);cursor:pointer;flex-direction:row;align-items:flex-start;gap:.65rem;padding:.65rem .8rem;font-weight:400}.repair-suggestion input[type=checkbox]{accent-color:var(--green-600);margin-top:.2rem}.repair-suggestion>span{flex-direction:column;gap:.15rem;display:flex}.condition-trend{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:100%;max-width:460px;padding:.55rem .8rem .3rem}.condition-head{flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;display:flex}.condition-head h3{color:var(--green-800);margin:0;font-size:.9rem}.condition-now{font-size:1.05rem;font-weight:700}.condition-now.tone-good{color:var(--green-700)}.condition-now.tone-warn{color:var(--amber)}.condition-now.tone-bad{color:var(--red)}.condition-drop{background:var(--amber-bg);border-left:3px solid var(--amber);border-radius:6px;margin:.3rem 0 0;padding:.2rem .5rem;font-size:.82rem}.condition-chart{width:100%;height:auto;margin-top:.15rem;display:block}.condition-chart .grid{stroke:var(--line);stroke-width:1px}.condition-chart .axis{fill:var(--muted);font-size:10px}.condition-chart .trend-line{fill:none;stroke:var(--green-200);stroke-width:2px;stroke-linejoin:round}.condition-chart .point{stroke:var(--surface);stroke-width:2px}.condition-chart .point.tone-good{fill:var(--green-600)}.condition-chart .point.tone-warn{fill:var(--amber)}.condition-chart .point.tone-bad{fill:var(--red)}.condition-chart .drop-ring{fill:none;stroke:var(--red);stroke-width:1.5px;opacity:.55}.condition-note{margin:0 0 .3rem;font-size:.78rem}.settings-form{flex-direction:column;gap:1rem;margin-top:1rem;display:flex}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.settings-group.wide{grid-column:1/-1}@media (width<=66rem){.settings-grid{grid-template-columns:minmax(0,1fr)}}.settings-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.4rem 1.25rem;padding:.8rem 1rem;display:grid}.settings-group .panel-head+.settings-row{border-top:none}.contract-numbering .status{margin:.8rem 1rem 0}.settings-group .panel-head{background:var(--green-50);border-bottom:2px solid var(--green-200);border-radius:var(--radius) var(--radius) 0 0}.settings-icon{border:1px solid var(--green-200);background:var(--surface);width:2rem;height:2rem;color:var(--green-700);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.settings-row.is-changed{background:var(--green-50);box-shadow:inset 3px 0 0 var(--green-600)}.settings-label{color:var(--green-900);font-size:.92rem;font-weight:600}.settings-hint{color:var(--muted);margin:.15rem 0 0;font-size:.82rem;line-height:1.4}.settings-control{flex-direction:column;align-items:flex-start;gap:.25rem;width:13rem;display:flex}.settings-input{width:100%;color:var(--muted);grid-template-columns:5.5rem 1fr;align-items:center;gap:.5rem;font-size:.88rem;display:grid}.settings-input input,.settings-input select{box-sizing:border-box;min-width:0}.settings-input input[type=number]{text-align:right;width:100%}.settings-input input:not([type=number]),.settings-input select{grid-column:1/-1;width:100%}.settings-default{color:var(--muted);font-size:.76rem}.settings-bar{z-index:5;background:var(--green-50);border:1px solid var(--green-200);border-radius:var(--radius);box-shadow:var(--shadow-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem 1rem;padding:.65rem 1rem;display:flex;position:sticky;bottom:1rem}.settings-bar-info{font-size:.88rem}.settings-dirty{color:var(--amber);font-weight:600}.settings-bar-actions{gap:.5rem;display:flex}@media (width<=34rem){.settings-row{grid-template-columns:1fr}.settings-control{width:100%;max-width:13rem}}.loans-table{table-layout:fixed}.loans-table th:first-child{width:34%}.loans-table th:nth-child(2){width:26%}.loans-table th:nth-child(3),.loans-table th:nth-child(4){width:14%}.loans-table th:nth-child(5){width:12%}.all-clear+.panel-stack{margin-top:.75rem}.due-panel{background:var(--surface);border:1px solid var(--green-200);border-left:4px solid var(--green-600);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin:0 0 1.2rem;padding:.7rem 1rem .9rem}.due-panel>summary{cursor:pointer;color:var(--green-800);align-items:center;gap:.5rem;font-weight:650;display:flex}.due-panel>p{margin:.5rem 0 .8rem}
