:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#0f172a;--panel:#111827;--panel-strong:#1e293b;--text:#f8fafc;--muted:#cbd5e1;--muted-2:#94a3b8;--blue:#38bdf8;--blue-strong:#0284c7;--green:#22c55e;--yellow:#facc15;--red:#ef4444;--border:#94a3b847;--shadow:0 24px 80px #00000052;background:#0f172a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{background:radial-gradient(circle at top left, #38bdf833, transparent 32rem), radial-gradient(circle at bottom right, #22c55e24, transparent 28rem), var(--bg);min-width:320px;min-height:100vh;margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit}.app-shell{width:min(100%,980px);min-height:100vh;margin:0 auto;padding:24px}.app-header{align-items:center;gap:16px;padding:20px 0 28px;display:flex}.brand-mark{color:#fff;width:58px;height:58px;box-shadow:var(--shadow);background:linear-gradient(135deg,#1e40af,#0f172a);border:2px solid #f8fafcb8;border-radius:18px;flex:none;place-items:center;font-size:34px;font-weight:900;line-height:1;display:grid}.app-header h1{letter-spacing:-.04em;margin:0;font-size:clamp(1.5rem,5vw,2.4rem)}.app-header p{max-width:680px;color:var(--muted);margin:4px 0 0;font-size:.98rem}.hero-panel,.contingency-panel,.mvp-note{border:1px solid var(--border);box-shadow:var(--shadow);background:#0f172ac7;border-radius:28px}.hero-panel{grid-template-columns:1.4fr .9fr;gap:20px;padding:24px;display:grid}.hero-copy{flex-direction:column;justify-content:center;display:flex}.eyebrow{color:var(--blue);letter-spacing:.16em;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:800}.hero-copy h2{letter-spacing:-.06em;max-width:620px;margin:0;font-size:clamp(2rem,7vw,4rem);line-height:.98}.hero-copy p{max-width:620px;color:var(--muted);margin:18px 0 0;font-size:1.05rem;line-height:1.55}.status-panel{border:1px solid var(--border);background:#1e293bbd;border-radius:22px;flex-direction:column;justify-content:center;align-self:stretch;gap:12px;min-height:230px;padding:18px;display:flex}.status-row{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-weight:700;display:flex}.status-badge{color:#020617;border-radius:999px;justify-content:center;align-items:center;min-width:110px;padding:8px 12px;font-size:.82rem;font-weight:900;display:inline-flex}.status-badge--success{background:var(--green)}.status-badge--warning{background:var(--yellow)}.status-badge--danger{background:var(--red);color:#fff}.status-badge--neutral{background:var(--muted-2)}.status-note{color:var(--muted-2);margin:4px 0 0;font-size:.82rem}.secondary-button{min-height:46px;color:var(--text);cursor:pointer;background:#0f172ab8;border:1px solid #f8fafc38;border-radius:14px;font-weight:800}.secondary-button:active{transform:scale(.99)}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.primary-action{color:#fff;cursor:pointer;text-align:left;min-height:132px;box-shadow:var(--shadow);background:linear-gradient(135deg,#0284c7,#075985);border:1px solid #f8fafc2e;border-radius:26px;flex-direction:column;justify-content:center;align-items:flex-start;padding:22px;display:flex}.primary-action--danger{background:linear-gradient(135deg,#dc2626,#7f1d1d)}.primary-action--neutral{background:linear-gradient(135deg,#334155,#111827)}.primary-action span{letter-spacing:-.04em;font-size:clamp(1.2rem,4vw,1.8rem);font-weight:950}.primary-action small{color:#f8fafcd1;margin-top:8px;font-size:.95rem;font-weight:700}.primary-action:active{transform:scale(.99)}.contingency-panel,.mvp-note{margin-top:20px;padding:22px}.contingency-panel h3,.mvp-note h3{margin:0 0 14px;font-size:1.2rem}.link-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.link-grid a{border:1px solid var(--border);min-height:54px;color:var(--text);text-align:center;background:#1e293bd1;border-radius:16px;justify-content:center;align-items:center;font-weight:850;text-decoration:none;display:flex}.mvp-note ul{color:var(--muted);margin:0;padding-left:20px;line-height:1.7}.mvp-note p{color:var(--muted-2);margin:14px 0 0;line-height:1.55}.app-footer{color:var(--muted-2);padding:26px 0 12px;font-size:.85rem;line-height:1.5}@media (max-width:760px){.app-shell{padding:16px}.app-header{align-items:flex-start}.brand-mark{border-radius:16px;width:50px;height:50px;font-size:30px}.hero-panel{border-radius:24px;grid-template-columns:1fr;padding:18px}.status-panel{min-height:auto}.action-grid,.link-grid{grid-template-columns:1fr}.primary-action{min-height:108px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.offline-storage-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#0f172ac7;border-radius:28px;margin-top:20px;padding:22px}.section-title-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.section-title-row h3{margin:0;font-size:1.2rem}.section-title-row p{color:var(--muted-2);margin:6px 0 0;line-height:1.45}.offline-pill{color:#bae6fd;text-align:center;background:#38bdf81f;border:1px solid #38bdf866;border-radius:999px;justify-content:center;align-items:center;min-width:120px;min-height:36px;padding:8px 12px;font-size:.82rem;font-weight:900;display:inline-flex}.offline-counts-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.offline-counts-grid--secondary{opacity:.82}.offline-count-card{border:1px solid var(--border);background:#1e293bb8;border-radius:18px;min-height:86px;padding:16px}.offline-count-card strong{color:var(--text);font-size:1.8rem;line-height:1;display:block}.offline-count-card span{color:var(--muted);margin-top:8px;font-size:.88rem;font-weight:700;display:block}.storage-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.secondary-button--danger{background:#7f1d1db8;border-color:#ef44446b}.secondary-button:disabled{cursor:not-allowed;opacity:.55}.storage-message{color:#bae6fd;margin:14px 0 0;font-size:.92rem;font-weight:750}@media (max-width:760px){.section-title-row{flex-direction:column}.offline-counts-grid,.storage-actions{grid-template-columns:1fr}.offline-pill{width:100%}}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617c7;justify-content:center;align-items:flex-start;padding:24px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.modal-card{border:1px solid var(--border);background:#0f172a;border-radius:28px;width:min(100%,920px);margin:auto 0;box-shadow:0 30px 100px #0009}.supply-modal{overflow:hidden}.modal-header{border-bottom:1px solid var(--border);background:radial-gradient(circle at 0 0,#38bdf82e,#0000 28rem),#0f172aeb;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;display:flex}.modal-header h2{letter-spacing:-.05em;margin:0;font-size:clamp(1.8rem,5vw,3rem)}.modal-header p{max-width:680px;color:var(--muted);margin:10px 0 0;line-height:1.5}.icon-button{border:1px solid var(--border);width:44px;height:44px;color:var(--text);cursor:pointer;background:#1e293bcc;border-radius:14px;flex:none;place-items:center;font-size:2rem;line-height:1;display:grid}.emergency-form{padding:24px}.emergency-form fieldset{border:1px solid var(--border);background:#1e293b75;border-radius:22px;min-width:0;margin:0 0 22px;padding:18px}.emergency-form legend,.fieldset-title-row legend{color:var(--text);padding:0 8px;font-size:1.05rem;font-weight:950}.fieldset-title-row{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.emergency-form label{flex-direction:column;gap:8px;min-width:0;display:flex}.emergency-form label span{color:var(--muted);font-size:.88rem;font-weight:850}.emergency-form input,.emergency-form select,.emergency-form textarea{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px;font-size:1rem}.emergency-form textarea{resize:vertical;line-height:1.45}.emergency-form input:focus,.emergency-form select:focus,.emergency-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #38bdf829}.full-width{margin-top:14px}.supply-items-list{flex-direction:column;gap:16px;display:flex}.supply-item-card{background:#0f172a9e;border:1px solid #94a3b847;border-radius:20px;padding:16px}.supply-item-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.supply-item-header strong{font-size:1rem}.small-action-button,.danger-link-button{cursor:pointer;font:inherit;background:0 0;border:0;font-weight:900}.small-action-button{color:#bae6fd;background:#38bdf81f;border:1px solid #38bdf86b;border-radius:999px;min-height:38px;padding:8px 12px}.danger-link-button{color:#fca5a5}.form-message{border-radius:16px;margin:0 0 18px;padding:14px 16px;font-weight:850;line-height:1.45}.form-message--error{color:#fecaca;background:#7f1d1d6b;border:1px solid #ef44446b}.form-message--success{color:#bbf7d0;background:#14532d6b;border:1px solid #22c55e6b}.modal-actions{grid-template-columns:1fr 1fr 1.5fr;gap:12px;display:grid}.submit-button{color:#fff;cursor:pointer;min-height:50px;font:inherit;background:linear-gradient(135deg,#0284c7,#1d4ed8);border:0;border-radius:14px;font-weight:950}.submit-button:disabled{cursor:not-allowed;opacity:.6}@media (max-width:760px){.modal-backdrop{padding:12px}.modal-card{border-radius:22px;margin:0}.modal-header,.emergency-form{padding:18px}.form-grid,.modal-actions{grid-template-columns:1fr}.fieldset-title-row{flex-direction:column;align-items:stretch}.small-action-button{width:100%}}.modal-header--danger{background:radial-gradient(circle at 0 0,#ef444433,#0000 28rem),#0f172aeb}.demand-modal .eyebrow{color:#fca5a5}.demand-item-card{border-color:#ef444438}.small-action-button--danger{color:#fecaca;background:#ef44441f;border-color:#ef44446b}.submit-button--danger{background:linear-gradient(135deg,#dc2626,#991b1b)}.primary-action:disabled{cursor:not-allowed;opacity:.62}.sync-result-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#1e293bb8;border-radius:22px;margin:20px 0;padding:18px 20px}.sync-result-panel strong{margin-bottom:8px;font-size:1rem;display:block}.sync-result-panel p{color:var(--muted);margin:0;line-height:1.5}.sync-result-panel small{color:var(--muted-2);margin-top:10px;display:block}.sync-result-panel--success{background:#14532d47;border-color:#22c55e73}.sync-result-panel--partial{background:#713f1252;border-color:#facc1573}.sync-result-panel--failed{background:#7f1d1d52;border-color:#ef444473}.sync-result-panel--skipped,.sync-result-panel--idle{border-color:#94a3b859}.status-badge{isolation:isolate;flex-direction:column;gap:1px;min-height:42px;position:relative;overflow:hidden}.status-badge__progress{z-index:-1;opacity:.22;background:#fff;transition:width .25s;position:absolute;top:0;bottom:0;left:0;right:auto}.status-badge__label{z-index:1;line-height:1;position:relative}.status-badge__timer{z-index:1;opacity:.78;font-size:.7rem;line-height:1;position:relative}.connection-check-button{color:#fff;cursor:pointer;min-height:50px;font:inherit;background:linear-gradient(135deg,#0284c7,#1d4ed8);border:1px solid #38bdf88c;border-radius:16px;font-weight:950;box-shadow:0 12px 30px #0284c738}.connection-check-button:disabled{color:#bbf7d0;cursor:not-allowed;box-shadow:none;background:#22c55e2e;border-color:#22c55e52}.link-grid button{border:1px solid var(--border);min-height:54px;color:var(--text);cursor:pointer;font:inherit;text-align:center;background:#1e293bd1;border-radius:16px;justify-content:center;align-items:center;font-weight:850;text-decoration:none;display:flex}.modal-header--matches{background:radial-gradient(circle at 0 0,#38bdf838,#0000 28rem),#0f172aeb}.matches-modal{width:min(100%,1100px);overflow:hidden}.matches-content{padding:24px}.matches-filters{grid-template-columns:1fr 1fr 130px 170px 170px;align-items:end;gap:12px;margin-bottom:18px;display:grid}.matches-filters label{flex-direction:column;gap:8px;display:flex}.matches-filters label span{color:var(--muted);font-size:.86rem;font-weight:850}.matches-filters input,.matches-filters select{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px}.checkbox-label{background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;align-items:center;min-height:48px;padding:0 12px;flex-direction:row!important;gap:10px!important;display:flex!important}.checkbox-label input{width:18px;height:18px;min-height:auto}.matches-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.matches-summary div{border:1px solid var(--border);background:#1e293b9e;border-radius:18px;padding:16px}.matches-summary strong{font-size:1.8rem;line-height:1;display:block}.matches-summary span{color:var(--muted);margin-top:8px;font-size:.88rem;font-weight:750;display:block}.matches-export-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.matches-export-row a{color:#bae6fd;background:#38bdf81a;border:1px solid #38bdf852;border-radius:14px;justify-content:center;align-items:center;min-height:46px;font-weight:900;text-decoration:none;display:flex}.empty-state{background:#0f172a99;border:1px dashed #94a3b86b;border-radius:20px;padding:22px}.empty-state strong{margin-bottom:8px;display:block}.empty-state p{color:var(--muted);margin:0;line-height:1.5}.matches-list{flex-direction:column;gap:16px;display:flex}.match-card{border:1px solid var(--border);background:#1e293b94;border-radius:22px;padding:18px}.match-card__top{justify-content:space-between;gap:10px;margin-bottom:12px;display:flex}.priority-badge,.distance-pill{border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:6px 12px;font-size:.78rem;font-weight:950;display:inline-flex}.priority-badge--critical{color:#fff;background:#dc2626}.priority-badge--high{color:#111827;background:#f97316}.priority-badge--medium{color:#111827;background:#facc15}.priority-badge--low{color:#052e16;background:#22c55e}.distance-pill{color:#bae6fd;background:#38bdf821;border:1px solid #38bdf847}.match-card h3{letter-spacing:-.04em;margin:0 0 14px;font-size:clamp(1.3rem,4vw,2rem)}.match-quantity-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.match-quantity-grid div{background:#0f172a9e;border:1px solid #94a3b838;border-radius:16px;padding:14px}.match-quantity-grid span{color:var(--muted-2);font-size:.78rem;font-weight:850;display:block}.match-quantity-grid strong{margin-top:6px;font-size:1.1rem;display:block}.match-route{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-bottom:14px;display:grid}.match-route__box{border:1px solid #94a3b83d;border-radius:18px;min-height:96px;padding:14px}.match-route__box--demand{background:#7f1d1d57}.match-route__box--supply{background:#14532d57}.match-route__box span{color:var(--muted-2);font-size:.78rem;font-weight:850;display:block}.match-route__box strong{margin-top:6px;font-size:1rem;display:block}.match-route__box small{color:var(--muted);margin-top:4px;display:block}.match-route__arrow{color:var(--blue);font-size:1.7rem;font-weight:950}.match-note,.match-action{color:var(--muted);margin:10px 0 0;line-height:1.5}.match-action{color:#bae6fd;font-weight:750}@media (max-width:900px){.matches-filters{grid-template-columns:1fr 1fr}.matches-filters .submit-button,.checkbox-label{grid-column:span 2}}@media (max-width:760px){.matches-content{padding:18px}.matches-filters,.matches-summary,.matches-export-row,.match-quantity-grid,.match-route{grid-template-columns:1fr}.matches-filters .submit-button,.checkbox-label{grid-column:auto}.match-route__arrow{text-align:center;transform:rotate(90deg)}}.operator-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#0f172ac7;border-radius:28px;margin:0 0 20px;padding:22px}.operator-grid{grid-template-columns:1fr 1.4fr;gap:14px;display:grid}.operator-grid label{flex-direction:column;gap:8px;display:flex}.operator-grid label span{color:var(--muted);font-size:.88rem;font-weight:850}.operator-grid input{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px}.operator-grid input[readonly]{color:var(--muted-2)}.operator-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.geo-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;display:flex}.geo-actions span{color:#bae6fd;font-size:.9rem;font-weight:750}.matches-secondary-actions{justify-content:flex-end;margin:-4px 0 14px;display:flex}@media (max-width:760px){.operator-grid,.operator-actions{grid-template-columns:1fr}.matches-secondary-actions{justify-content:stretch}.matches-secondary-actions .secondary-button{width:100%}}.matches-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.match-card--recommended{background:radial-gradient(circle at 0 0,#facc151f,#0000 22rem),#1e293bb8;border-color:#facc15b8}.match-badges-left,.match-badges-right{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.recommended-badge{color:#fef3c7;background:#facc1529;border:1px solid #facc158f;border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:6px 12px;font-size:.78rem;font-weight:950;display:inline-flex}.score-pill{border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:6px 12px;font-size:.78rem;font-weight:950;display:inline-flex}.score-pill--excellent{color:#052e16;background:#22c55e}.score-pill--good{color:#082f49;background:#38bdf8}.score-pill--medium{color:#111827;background:#facc15}.score-pill--low{color:#fff;background:#64748b}.recommendation-reasons{background:#0f172a94;border:1px solid #facc1547;border-radius:16px;margin-top:14px;padding:14px}.recommendation-reasons strong{color:#fef3c7;margin-bottom:8px;display:block}.recommendation-reasons ul{color:var(--muted);margin:0;padding-left:18px;line-height:1.55}.recommendation-reasons li+li{margin-top:4px}@media (max-width:760px){.matches-summary{grid-template-columns:1fr}.match-card__top{flex-direction:column}.match-badges-right{justify-content:flex-start}}.reservation-modal-backdrop{z-index:80}.reservation-modal{width:min(100%,760px);overflow:hidden}.reservation-create-content{padding:24px}.reservation-target{border:1px solid var(--border);background:#1e293b8a;border-radius:20px;padding:18px}.reservation-target h3{letter-spacing:-.04em;margin:0 0 14px;font-size:1.5rem}.reservation-route{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;display:grid}.reservation-route div,.reservation-stock-grid div{background:#0f172a9e;border:1px solid #94a3b838;border-radius:16px;padding:14px}.reservation-route span,.reservation-stock-grid span,.reservation-form label span{color:var(--muted-2);font-size:.8rem;font-weight:850;display:block}.reservation-route strong,.reservation-stock-grid strong{margin-top:6px;display:block}.reservation-stock-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.reservation-form{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.reservation-form label{flex-direction:column;gap:8px;display:flex}.reservation-form input,.reservation-form select,.reservation-form textarea{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px}.reservation-form .full-width{grid-column:span 2;margin-top:0}.reservation-operator-note{color:var(--muted);grid-column:span 2;margin:0}.active-reservations-panel{background:#0f172a94;border:1px solid #38bdf83d;border-radius:22px;margin:0 0 18px;padding:18px}.active-reservations-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.active-reservations-header h3{margin:0;font-size:1.15rem}.active-reservations-header p{color:var(--muted);margin:6px 0 0;line-height:1.45}.reservations-list{flex-direction:column;gap:12px;display:flex}.reservation-card{background:#1e293b8c;border:1px solid #94a3b83d;border-radius:18px;padding:16px}.reservation-card-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.reservation-status,.reservation-expiry{border-radius:999px;justify-content:center;align-items:center;min-height:30px;padding:6px 10px;font-size:.75rem;font-weight:950;display:inline-flex}.reservation-status--pending{color:#111827;background:#facc15}.reservation-status--confirmed{color:#082f49;background:#38bdf8}.reservation-status--transit{color:#1e1b4b;background:#a78bfa}.reservation-status--delivered{color:#052e16;background:#22c55e}.reservation-status--cancelled,.reservation-status--expired{color:#fff;background:#64748b}.reservation-expiry{color:var(--muted);background:#0f172a9e;border:1px solid #94a3b847}.reservation-card h4{margin:0 0 12px;font-size:1.1rem}.reservation-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.reservation-card-grid div{background:#0f172a8a;border:1px solid #94a3b82e;border-radius:14px;padding:12px}.reservation-card-grid span{color:var(--muted-2);font-size:.76rem;font-weight:850;display:block}.reservation-card-grid strong{margin-top:6px;font-size:.9rem;display:block}.reservation-notes{color:var(--muted);margin:12px 0 0;line-height:1.45}.reservation-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.reservation-action{min-height:38px;color:var(--text);cursor:pointer;font:inherit;background:#0f172ab3;border:1px solid #94a3b842;border-radius:999px;padding:8px 12px;font-size:.84rem;font-weight:900}.reservation-action--confirm{color:#bae6fd;border-color:#38bdf86b}.reservation-action--in-transit{color:#ddd6fe;border-color:#a78bfa6b}.reservation-action--delivered{color:#bbf7d0;border-color:#22c55e6b}.reservation-action--cancel{color:#fecaca;border-color:#ef44446b}.match-quantity-grid--reservation{grid-template-columns:repeat(5,minmax(0,1fr))}.match-reservation-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;display:flex}.match-reservation-actions span{color:var(--muted-2);font-size:.86rem}.reservation-main-button{color:#111827;cursor:pointer;min-height:44px;font:inherit;background:linear-gradient(135deg,#facc15,#f97316);border:0;border-radius:999px;padding:10px 16px;font-weight:950}.reservation-main-button:disabled{cursor:not-allowed;opacity:.55}@media (max-width:900px){.match-quantity-grid--reservation,.reservation-card-grid,.reservation-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.active-reservations-header{flex-direction:column}.active-reservations-header .secondary-button{width:100%}}@media (max-width:760px){.reservation-create-content{padding:18px}.reservation-route,.reservation-form,.reservation-form .full-width,.match-quantity-grid--reservation,.reservation-card-grid,.reservation-stock-grid{grid-template-columns:1fr}.reservation-form .full-width,.reservation-operator-note{grid-column:auto}.reservation-card-top{flex-direction:column;align-items:flex-start}.reservation-actions{flex-direction:column}.reservation-action,.reservation-main-button{width:100%}}.active-reservations-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.active-reservations-actions .secondary-button{min-width:150px}.reservation-card--warning{background:radial-gradient(circle at 0 0,#facc151f,#0000 20rem),#1e293b8c;border-color:#facc15bf}.reservation-card--expired-soon{background:radial-gradient(circle at 0 0,#ef444424,#0000 20rem),#1e293b8c;border-color:#ef4444bf}.reservation-expiry--warning{color:#fef3c7;background:#713f1273;border-color:#facc1580}.reservation-expiry--expired-soon{color:#fecaca;background:#7f1d1d7a;border-color:#ef444480}.reservation-expiry-detail{color:var(--muted-2);margin:12px 0 0;font-size:.85rem;font-weight:750}.reservation-history{border-top:1px solid #94a3b838;margin-top:20px;padding-top:18px}.reservation-history h4{margin:0 0 12px;font-size:1rem}.reservation-history-empty{color:var(--muted-2);margin:0;line-height:1.5}.reservation-history-list{flex-direction:column;gap:10px;display:flex}.reservation-history-item{background:#0f172a80;border:1px solid #94a3b82e;border-radius:14px;grid-template-columns:110px 1fr 120px 1.4fr;align-items:center;gap:10px;padding:12px;display:grid}.reservation-history-item strong{font-size:.92rem}.reservation-history-item span,.reservation-history-item small{color:var(--muted);font-weight:750}@media (max-width:900px){.active-reservations-actions{flex-direction:column;width:100%}.active-reservations-actions .secondary-button{width:100%}.reservation-history-item{grid-template-columns:1fr}}.operations-page{flex-direction:column;gap:20px;display:flex}.operations-hero{border:1px solid var(--border);box-shadow:var(--shadow);background:radial-gradient(circle at 0 0,#38bdf82e,#0000 26rem),#0f172ad1;border-radius:30px;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px;display:flex}.operations-hero h2{letter-spacing:-.06em;margin:0;font-size:clamp(2rem,6vw,4rem)}.operations-hero p:not(.eyebrow){max-width:760px;color:var(--muted);margin:10px 0 0;line-height:1.55}.operations-tabs{border:1px solid var(--border);background:#0f172ab8;border-radius:22px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px;display:grid}.operations-tabs button{min-height:48px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:16px;font-weight:950}.operations-tabs button.active{color:#bae6fd;background:#38bdf824;border-color:#38bdf873}.operations-filters-panel{border:1px solid var(--border);background:#0f172ac2;border-radius:26px;padding:20px}.operations-filters{grid-template-columns:1.3fr 1fr 150px 150px 180px;align-items:end;gap:12px;display:grid}.operations-filters label{flex-direction:column;gap:8px;display:flex}.operations-filters label span{color:var(--muted);font-size:.86rem;font-weight:850}.operations-filters input,.operations-filters select{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px}.operations-filter-actions{grid-template-columns:1.2fr 1fr;gap:12px;margin-top:14px;display:grid}.operations-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.operations-summary-grid div{border:1px solid var(--border);background:#1e293b9e;border-radius:20px;padding:18px}.operations-summary-grid strong{font-size:1.8rem;line-height:1;display:block}.operations-summary-grid span{color:var(--muted);margin-top:8px;font-size:.86rem;font-weight:800;display:block}.operations-list-header{border:1px solid var(--border);background:#0f172a9e;border-radius:18px;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex}.operations-list-header span{color:var(--muted);font-weight:850}.operations-pagination{gap:10px;display:flex}.operations-matches-list{padding-bottom:30px}.operations-history-panel,.operations-export-panel{border:1px solid var(--border);background:#0f172ac2;border-radius:26px;padding:22px}.operations-export-panel h3,.operations-history-panel h3{margin:0;font-size:1.25rem}.operations-export-panel p{max-width:760px;color:var(--muted);line-height:1.55}.operations-export-note{margin-top:16px}.active-reservations-panel--page{margin:0}@media (max-width:1100px){.operations-filters{grid-template-columns:1fr 1fr}.operations-summary-grid,.operations-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.operations-hero{flex-direction:column;padding:20px}.operations-hero .secondary-button{width:100%}.operations-tabs,.operations-filters,.operations-filter-actions,.operations-summary-grid{grid-template-columns:1fr}.operations-list-header{flex-direction:column;align-items:stretch}.operations-pagination{flex-direction:column}.operations-pagination .secondary-button{width:100%}}.app-header{grid-template-columns:auto 1fr auto}.language-switcher{background:#0f172ab8;border:1px solid #94a3b84d;border-radius:999px;gap:6px;padding:6px;display:inline-flex}.language-switcher button{min-width:44px;min-height:34px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:999px;font-size:.82rem;font-weight:950}.language-switcher button.active{color:#bae6fd;background:#38bdf82e}@media (max-width:760px){.app-header{grid-template-columns:auto 1fr}.language-switcher{grid-column:1/-1;justify-content:center;width:100%}.language-switcher button{flex:1}}.emergency-form--simplified{gap:18px}.emergency-helper{color:#bae6fd;background:#38bdf814;border:1px solid #38bdf847;border-radius:16px;margin:0;padding:14px 16px;font-size:.92rem;font-weight:750;line-height:1.5}.emergency-helper--danger{color:#fecaca;background:#7f1d1d38;border-color:#f8717147}.compact-form-grid{grid-template-columns:1.3fr 1fr 1fr;gap:12px;display:grid}.compact-form-grid--item{grid-template-columns:1.5fr .65fr .85fr}.compact-form-grid--demand-item{grid-template-columns:1.4fr .65fr .8fr 1fr}.compact-form-grid label,.details-card label{flex-direction:column;gap:8px;display:flex}.compact-form-grid label span,.details-card label span{color:var(--muted);font-size:.86rem;font-weight:850}.compact-form-grid input,.compact-form-grid select,.details-card input,.details-card select,.details-card textarea{width:100%;min-height:48px;color:var(--text);font:inherit;background:#0f172aeb;border:1px solid #94a3b861;border-radius:14px;outline:none;padding:12px 14px}.quick-actions-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.geo-message{color:#bae6fd;font-size:.88rem;font-weight:750}.details-toggle-button{min-height:40px;color:var(--text);cursor:pointer;font:inherit;background:#0f172abd;border:1px solid #94a3b852;border-radius:999px;padding:8px 12px;font-size:.86rem;font-weight:900}.details-card{background:#0f172a8a;border:1px solid #38bdf838;border-radius:18px;margin-top:14px;padding:16px}.details-card--danger{background:#7f1d1d24;border-color:#f8717138}.details-card--item{margin-top:14px}.details-card h3{color:var(--text);margin:0 0 14px;font-size:.98rem}.fieldset-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (max-width:980px){.compact-form-grid,.compact-form-grid--item,.compact-form-grid--demand-item{grid-template-columns:1fr 1fr}}@media (max-width:760px){.compact-form-grid,.compact-form-grid--item,.compact-form-grid--demand-item{grid-template-columns:1fr}.quick-actions-row,.fieldset-actions{flex-direction:column;align-items:stretch}.quick-actions-row button,.fieldset-actions button{width:100%}}.sync-issues-panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#0f172ac7;border-radius:28px;padding:22px}.sync-issues-panel--warning{background:radial-gradient(circle at 0 0,#facc1514,#0000 20rem),#0f172ac7;border-color:#facc156b}.sync-issues-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.sync-issues-grid div{background:#1e293b9e;border:1px solid #94a3b838;border-radius:18px;padding:16px}.sync-issues-grid div.warning{border-color:#facc1580}.sync-issues-grid div.danger{border-color:#ef444480}.sync-issues-grid strong{font-size:1.7rem;line-height:1;display:block}.sync-issues-grid span{color:var(--muted);margin-top:8px;font-size:.82rem;font-weight:850;display:block}.sync-issues-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.sync-issues-details{grid-template-columns:1fr 1fr;gap:18px;margin-top:20px;display:grid}.sync-issues-details h4{margin:0 0 12px;font-size:1rem}.sync-issue-list,.sync-log-list{flex-direction:column;gap:10px;display:flex}.sync-issue-card,.sync-log-card{background:#1e293b8f;border:1px solid #94a3b838;border-radius:18px;padding:14px}.sync-issue-card{grid-template-columns:1fr auto;align-items:start;gap:12px;display:grid}.sync-issue-kind{color:#bae6fd;background:#38bdf829;border-radius:999px;justify-content:center;align-items:center;width:max-content;min-height:28px;margin-bottom:8px;padding:5px 10px;font-size:.72rem;font-weight:950;display:inline-flex}.sync-issue-card strong,.sync-log-card strong{margin-bottom:4px;display:block}.sync-issue-card small,.sync-log-card small{color:var(--muted-2);font-size:.78rem;font-weight:750;display:block}.sync-issue-error{color:#fecaca;background:#7f1d1d33;border:1px solid #ef444452;border-radius:12px;margin:10px 0;padding:10px;line-height:1.45}.sync-issue-card-actions{flex-direction:column;gap:8px;min-width:150px;display:flex}.sync-log-card--duplicate{border-color:#facc1561}.sync-log-card--rejected,.sync-log-card--failed{border-color:#ef444461}.sync-log-card--warning{border-color:#facc1552}.sync-log-card span{width:max-content;min-height:26px;color:var(--muted);text-transform:uppercase;background:#94a3b82e;border-radius:999px;justify-content:center;align-items:center;margin-bottom:8px;padding:4px 9px;font-size:.7rem;font-weight:950;display:inline-flex}.sync-log-card details{margin-top:10px}.sync-log-card summary{cursor:pointer;color:#bae6fd;font-size:.82rem;font-weight:850}.sync-log-card pre{max-height:220px;color:var(--muted);white-space:pre-wrap;background:#020617b3;border-radius:12px;padding:10px;font-size:.72rem;overflow:auto}.sync-issue-empty{color:var(--muted);border:1px dashed #94a3b847;border-radius:16px;margin:0;padding:14px;line-height:1.45}@media (max-width:1000px){.sync-issues-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-issues-actions,.sync-issues-details{grid-template-columns:1fr}}@media (max-width:760px){.sync-issues-grid,.sync-issue-card{grid-template-columns:1fr}.sync-issue-card-actions{min-width:0}}.help-page{flex-direction:column;gap:22px;display:flex}.help-hero{border:1px solid var(--border);box-shadow:var(--shadow);background:radial-gradient(circle at 0 0,#38bdf829,#0000 24rem),#0f172ad1;border-radius:30px;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px;display:flex}.help-hero h2{letter-spacing:-.06em;margin:0;font-size:clamp(2rem,6vw,4rem)}.help-hero p:not(.eyebrow){max-width:760px;color:var(--muted);margin:10px 0 0;line-height:1.55}.help-section{border:1px solid var(--border);background:#0f172ac7;border-radius:26px;padding:22px}.help-section h3{margin:0 0 16px;font-size:1.25rem}.help-flow-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.help-flow-card,.help-rule-card,.help-screenshot-card{background:#1e293b94;border:1px solid #94a3b83d;border-radius:18px}.help-flow-card{padding:16px}.help-flow-card h4{color:#bae6fd;margin:0 0 8px}.help-flow-card p,.help-rule-card p,.help-screenshot-card p{color:var(--muted);margin:0;line-height:1.5}.help-rules-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.help-rule-card{gap:12px;padding:14px;display:flex}.help-rule-card span{color:#bbf7d0;background:#22c55e29;border-radius:999px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;font-weight:950;display:inline-flex}.help-emergency-list{gap:10px;display:grid}.help-emergency-list p{color:#fef3c7;background:#713f122e;border:1px solid #facc153d;border-radius:16px;margin:0;padding:14px;line-height:1.5}.help-screenshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.help-screenshot-card{overflow:hidden}.help-screenshot-frame{background:#02061773;border-bottom:1px solid #94a3b833;justify-content:center;align-items:center;min-height:240px;display:flex}.help-screenshot-frame img{object-fit:contain;width:100%;max-height:420px;display:block}.help-screenshot-placeholder{color:var(--muted);text-align:center;padding:16px;font-weight:850}.help-screenshot-card div:last-child{padding:16px}.help-screenshot-card h4{margin:0 0 8px}.license-modal-backdrop{z-index:90}.license-modal{width:min(100%,860px)}.license-modal-content{padding:24px}.license-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.license-card-grid article{background:#1e293b94;border:1px solid #94a3b83d;border-radius:18px;padding:16px}.license-card-grid__wide{grid-column:1/-1}.license-card-grid h3{color:#bae6fd;margin:0 0 8px;font-size:1rem}.license-card-grid p{color:var(--muted);margin:0;line-height:1.55}.license-show-again{color:var(--muted);align-items:center;gap:10px;margin-top:16px;font-weight:850;display:flex}.license-show-again input{width:18px;height:18px}@media (max-width:1100px){.help-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-rules-grid,.help-screenshot-grid,.license-card-grid{grid-template-columns:1fr}.license-card-grid__wide{grid-column:auto}}@media (max-width:760px){.help-hero{flex-direction:column;padding:20px}.help-hero .secondary-button{width:100%}.help-flow-grid{grid-template-columns:1fr}.license-modal-content{padding:18px}}.sync-pagination{grid-template-columns:minmax(100px,auto) 1fr minmax(100px,auto);align-items:center;gap:10px;margin-top:12px;display:grid}.sync-pagination span{color:var(--muted);text-align:center;font-size:.8rem;font-weight:850}.sync-pagination .secondary-button{min-height:42px}@media (max-width:760px){.sync-pagination{grid-template-columns:1fr 1fr}.sync-pagination span{grid-area:1/1/auto/-1}}.community-pilot-notice{background:linear-gradient(135deg,#0e74901f,#0f172aeb);border:1px solid #38bdf859;border-radius:24px;grid-template-columns:auto 1fr;gap:18px;padding:22px;display:grid}.community-pilot-notice__badge{color:#7dd3fc;letter-spacing:.08em;white-space:nowrap;background:#0e74902e;border:1px solid #38bdf880;border-radius:999px;align-self:start;padding:8px 11px;font-size:.72rem;font-weight:900}.community-pilot-notice__content{gap:16px;min-width:0;display:grid}.community-pilot-notice__eyebrow{color:#7dd3fc;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.78rem;font-weight:900}.community-pilot-notice h2{margin:0 0 8px}.community-pilot-notice p{margin:0}.community-pilot-notice__warnings{gap:10px;display:grid}.community-pilot-notice__warnings p{background:#0f172a70;border:1px solid #94a3b838;border-radius:14px;padding:12px 14px}.community-pilot-notice__footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.8rem;display:flex}.community-pilot-notice__footer a{color:#7dd3fc;font-weight:850}.data-safety-notice{background:#78350f24;border:1px solid #f59e0b61;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.data-safety-notice strong{color:#fcd34d}.data-safety-notice p{color:var(--muted);margin:0;font-size:.84rem;line-height:1.5}@media (max-width:760px){.community-pilot-notice{grid-template-columns:1fr;padding:18px}.community-pilot-notice__badge{justify-self:start}.community-pilot-notice__footer{flex-direction:column;align-items:flex-start}}
