:root{--navy:#102341;--navy-2:#172f52;--blue:#0874ed;--blue-2:#eaf3ff;--yellow:#f5c400;--ink:#182b48;--muted:#71819a;--line:#e1e8f0;--surface:#fff;--page:#f3f6fb;--green:#178767;--danger:#a62d3f;--shadow:0 20px 55px rgba(24,54,96,.10)}
*{box-sizing:border-box}
html{min-width:320px;background:var(--page)}
body{margin:0;color:var(--ink);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.5;background:var(--page)}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
button,input,textarea,select{font:inherit}
.auth-screen{min-height:100vh;background:radial-gradient(circle at 82% 12%,rgba(8,116,237,.18),transparent 30%),linear-gradient(140deg,#edf4fd,#f8fafc 52%,#eaf1fa);display:flex;flex-direction:column;align-items:center;padding:30px 18px 20px}
.auth-brand,.brand{display:flex;align-items:center;gap:11px;color:var(--navy);font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-.6px}
.auth-brand{margin:10px auto 24px}
.auth-brand small,.brand small,.mobile-brand small{font-size:10px;letter-spacing:1.7px;color:var(--blue);display:block;line-height:1.2}
.brand-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:22px;font-weight:800;background:linear-gradient(145deg,#168fff,#064fb5);box-shadow:0 7px 18px rgba(8,116,237,.24)}
.brand-icon img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.auth-main{width:min(100%,520px);margin:0 auto;flex:1;display:flex;align-items:flex-start;justify-content:center}
.auth-card,.setup-card{background:rgba(255,255,255,.96);border:1px solid rgba(213,225,239,.95);border-radius:22px;padding:34px;box-shadow:var(--shadow);width:100%}
.auth-card{margin:20px 0 35px;max-width:490px}
.setup-card{max-width:760px;margin:8px 0 30px}
.auth-card h1,.setup-card h1,.page-heading h1{font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);font-weight:800;letter-spacing:-1px;line-height:1.15;margin:6px 0 11px}
.auth-card h1,.setup-card h1{font-size:29px}
.muted,.page-heading p{color:var(--muted)}
.eyebrow{text-transform:uppercase;letter-spacing:1.45px;font-size:11px;font-weight:800;color:var(--blue)}
.stack-form{display:grid;gap:16px;margin-top:23px}
label{display:grid;gap:7px;font-size:13px;color:#344864;font-weight:700}
input,textarea,select{width:100%;border:1px solid #d7e1ed;border-radius:10px;background:#fff;padding:12px 13px;color:var(--ink);outline:none;transition:border-color .16s,box-shadow .16s}
input:focus,textarea:focus,select:focus{border-color:#5da6f7;box-shadow:0 0 0 3px rgba(8,116,237,.12)}
input::placeholder,textarea::placeholder{color:#a0adbd}
textarea{resize:vertical;min-height:110px}
label small,.mini{font-weight:400;font-size:12px;line-height:1.5;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:10px;font-weight:800;font-size:13px;cursor:pointer;text-decoration:none;transition:transform .12s,box-shadow .12s,background .12s}
.button:hover{transform:translateY(-1px);text-decoration:none}
.button-primary{color:#fff;background:linear-gradient(110deg,#0874ed,#055fc9);box-shadow:0 8px 19px rgba(8,116,237,.19)}
.button-primary:hover{background:linear-gradient(110deg,#0868d5,#064fb5)}
.button-secondary{color:#17416d;background:#eef5fc;border-color:#e3edf7}
.button-quiet{color:#65758d;background:transparent;border-color:var(--line)}
.button:disabled{opacity:.48;cursor:not-allowed;transform:none}
.full{width:100%;margin-top:3px}
.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:19px;font-size:12px;color:var(--muted)}
.auth-links.centered{justify-content:center}
.auth-links a{font-weight:700}
.secure-note{display:flex;align-items:center;gap:10px;margin-top:22px;padding:12px 14px;border-radius:12px;background:#f1f7ff;color:#56708e;font-size:12px}
.secure-icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#dceeff;color:#0874ed;font-weight:800}
.auth-footer{font-size:11px;color:#7c8ba1;padding:18px 0 5px;text-align:center}
.notice{padding:12px 14px;border-radius:11px;margin:16px 0 0;font-size:13px;border:1px solid transparent}
.notice-info{color:#355878;background:#edf6ff;border-color:#d7eafd}
.notice-success{color:#126747;background:#eaf8f2;border-color:#d1eee2}
.notice-warning{color:#785700;background:#fff8da;border-color:#f6e9a7}
.notice-error{color:#8f2e3d;background:#fff0f1;border-color:#f3d1d5}
.check-row{display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.55}
.check-row input{width:17px;height:17px;margin:2px 0 0;flex:0 0 17px;accent-color:var(--blue)}
.email-chip{display:inline-block;border:1px solid var(--line);background:#f7f9fc;border-radius:9px;padding:9px 12px;font-size:13px}
.form-section{padding:19px 0;border-top:1px solid var(--line)}
.form-section h2{font:800 15px Inter,'Segoe UI',Arial,sans-serif;margin:0 0 5px;color:var(--navy)}
.form-section .mini{margin:0 0 13px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.full-field{grid-column:1/-1}
.setup-footnote{text-align:center;margin:18px 0 0}
.reference-code{font-family:monospace;background:#f5f8fb;border:1px solid var(--line);padding:10px 13px;border-radius:9px;margin:18px 0;color:#546982}
.app-screen{min-height:100vh;background:#f2f5fa}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:250px;background:linear-gradient(180deg,#102341,#0c1c34);color:#fff;display:flex;flex-direction:column;padding:24px 17px 18px;flex:0 0 250px}
.brand{color:#fff;padding:0 7px;font-size:21px}
.brand small,.mobile-brand small{color:#78b8ff}
.org-label{margin:27px 5px 15px;padding:10px 11px;border:1px solid rgba(255,255,255,.11);border-radius:10px;color:#c8d6e8;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.sidebar nav{display:grid;gap:5px}
.sidebar nav a{padding:11px 12px;color:#d6e2f1;border-radius:9px;font-size:13px;font-weight:700}
.sidebar nav a:hover{background:rgba(255,255,255,.10);color:white;text-decoration:none}
.sidebar-foot{margin-top:auto;display:grid;gap:7px;color:#91a5bf;font-size:11px;padding:16px 8px 3px}
.main-area{min-width:0;flex:1;display:flex;flex-direction:column}
.topbar{height:70px;display:flex;align-items:center;justify-content:flex-end;padding:0 clamp(20px,4vw,54px);background:#fff;border-bottom:1px solid var(--line)}
.account{display:flex;align-items:center;gap:10px;color:#3e516b;font-size:12px;font-weight:700}
.account form{margin:0}
.user-dot{width:30px;height:30px;border-radius:50%;background:#e9f2ff;color:#0768d5;display:grid;place-items:center;font-weight:800}
.role-pill{font-size:10px;color:#61758f;background:#f2f5f9;padding:4px 7px;border-radius:999px;text-transform:capitalize}
.account-name{min-width:0}
.plan-pill{display:none;align-items:center;justify-content:center;min-height:26px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:850;line-height:1.1;white-space:nowrap}
.plan-pill-trial{background:#fff4d5;border-color:#f4df9e;color:#805700}
.plan-pill-pro{background:#e9f2ff;border-color:#d3e4ff;color:#155db3}
.plan-pill-perpetual{background:#e8f7ef;border-color:#ccebd9;color:#13724f}
.plan-pill-inactive{background:#fff0f1;border-color:#f2d2d6;color:#9a3441}
.mobile-nav-heading{display:none}
.link-button{border:0;background:none;color:#637791;font-weight:700;cursor:pointer;font-size:12px;padding:8px}
.content-wrap{width:min(100%,1500px);margin:0 auto;padding:34px clamp(18px,4vw,54px);flex:1}
.footer{padding:16px clamp(18px,4vw,54px);border-top:1px solid var(--line);color:#8391a4;font-size:11px;background:#fff}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}
.page-heading h1{font-size:29px;margin:4px 0}
.page-heading p{margin:0;font-size:13px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:23px 0}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 19px;box-shadow:0 5px 15px rgba(25,52,89,.035);display:grid;gap:4px}
.stat-card span{font-size:12px;color:var(--muted);font-weight:700}
.stat-card strong{font:800 31px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy)}
.stat-card small{font-size:11px;color:#9aa7b6}
.stat-blue{border-top:3px solid #2582ef}.stat-yellow{border-top:3px solid var(--yellow)}.stat-green{border-top:3px solid #22a67e}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:16px;align-items:start;margin-top:17px}
.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 15px rgba(25,52,89,.035);padding:20px}
.panel h2{font:800 17px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);margin:0 0 4px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.panel-head p{margin:0;color:var(--muted);font-size:12px}
.panel-head>a{font-size:12px;font-weight:800}
.side-panel{padding:22px}.side-panel h2{margin:6px 0 16px}.side-panel p{color:#64758d;font-size:13px}.side-panel strong{color:var(--navy)}
.divider{height:1px;background:var(--line);margin:15px 0}
.table-wrap{overflow:auto;width:100%}
table{border-collapse:collapse;width:100%;min-width:760px;font-size:12px}
th{text-align:left;background:#f6f8fb;color:#6d7e94;font-size:10px;text-transform:uppercase;letter-spacing:.55px;padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:13px 12px;border-bottom:1px solid #edf1f5;color:#394f6b;vertical-align:top}
tbody tr:hover{background:#fbfdff}
.cell-sub{display:block;color:#8190a5;font-size:10px;margin-top:4px}
.order-link{color:var(--navy)}
.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf2ff;color:#2263ae;font-size:10px;font-weight:800;white-space:nowrap}
.empty-state{text-align:center;padding:45px 20px;color:#6e7d91}
.empty-state strong{display:block;color:var(--navy);margin:8px 0 4px}
.empty-state p{font-size:12px;margin:0 auto 16px;max-width:420px}
.empty-icon{margin:auto;width:42px;height:42px;border-radius:13px;background:#edf5ff;color:#1680ef;font-weight:800;font-size:25px;display:grid;place-items:center}
.search-bar{display:flex;gap:9px;margin-bottom:17px}
.search-bar input{flex:1;min-width:120px}
.form-panel{max-width:970px;padding:25px}
.form-panel .form-section:first-of-type{border-top:0;padding-top:0}
.form-panel .stack-form{gap:3px}
.details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px 22px}
.details-grid>div{padding:16px;border-bottom:1px solid #edf1f5;display:grid;gap:4px;min-width:0}
.details-grid span{font-size:11px;color:#8290a3}
.details-grid strong{font-size:13px;color:var(--navy);overflow-wrap:anywhere}
.details-grid .details-wide{grid-column:1/-1}
.details-wide p{margin:3px 0 8px;font-size:13px;white-space:pre-wrap}
.mobile-brand{display:none;color:var(--navy);font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:800}
.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.button-small{min-height:32px;padding:6px 10px;font-size:11px}
.order-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}
.order-detail-layout>.panel{min-width:0}
.order-detail-layout .details-grid{padding:4px 8px}
.order-detail-layout .details-grid>div{padding:14px 11px}
.status-panel h2{margin:6px 0 0}
.compact-form{margin-top:16px;gap:12px}
.history-panel{margin-top:16px}
.history-list{display:grid;gap:0}
.history-entry{position:relative;display:flex;gap:13px;padding:14px 0;border-top:1px solid #edf1f5}
.history-marker{width:9px;height:9px;margin:5px 0 0 2px;border-radius:50%;background:#1680ef;box-shadow:0 0 0 4px #eaf3ff;flex:0 0 9px}
.history-entry strong{font-size:13px;color:var(--navy)}
.history-entry p{margin:3px 0 4px;font-size:12px;color:#415874;overflow-wrap:anywhere}
.history-entry small{font-size:11px;color:#8290a3}
.compact-empty{padding:24px 10px}
[data-nip-field][hidden]{display:none!important}
.user-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}
.role-stat{font-size:20px!important;padding:6px 0}
.invite-panel{margin-bottom:16px}
.invite-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:13px;align-items:end}
.invite-form label{min-width:0}
.invite-form .button{white-space:nowrap}
.users-panel .panel-head{margin-bottom:12px}
.users-panel table{min-width:930px}
.users-panel td{vertical-align:middle}
.users-panel td form{margin:0}
.account-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.account-active{background:#e9f8f1;color:#13724f}
.account-pending{background:#fff6d9;color:#846100}
.account-inactive{background:#f0f2f5;color:#66758a}
.table-footnote{margin:13px 0 0}
.access-denied{max-width:650px;margin:30px auto}
.access-denied h1{font:800 24px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);margin:5px 0}
.access-denied p{color:var(--muted)}
.portal-nav{margin-top:10px;border-top:1px solid rgba(255,255,255,.14);padding-top:16px!important;color:#9fcbff!important}
.portal-pill{background:#e7f2ff;color:#145db0}
.portal-access-badge{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid #cfe4ff;border-radius:999px;background:#edf6ff;color:#145db0;font-size:11px;font-weight:800;white-space:nowrap}
.portal-stats{margin-top:0}
.portal-organizations{margin-bottom:16px}
.portal-accounts{margin-bottom:16px}
.portal-support-guide{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;margin:0 0 14px;border-color:#cfe1f8;background:linear-gradient(120deg,#f3f8ff,#fff)}
.portal-support-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:13px;background:#e7f1ff;color:#1768ca;font-size:22px;font-weight:850}
.portal-support-guide h2{margin:3px 0 7px;color:#163455;font-size:17px}
.portal-support-guide p{margin:0 0 7px;color:#415a76;font-size:12px;line-height:1.65}
.portal-support-guide small{color:#72829a;font-size:10px;line-height:1.5}
.portal-capabilities{margin-bottom:16px}
.portal-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.portal-capability-grid article{display:grid;align-content:start;gap:6px;padding:12px;border:1px solid #e1e9f2;border-radius:11px;background:#fbfdff}
.portal-capability-grid strong{color:#1d3858;font-size:11px}
.portal-capability-grid span{color:#6d7f95;font-size:10px;line-height:1.55}
.portal-table{min-width:1180px}
.portal-accounts table{min-width:1280px}
.portal-account-help{min-width:178px}.portal-account-help .button{white-space:normal;text-align:center;line-height:1.25}
.portal-table td{vertical-align:middle}
.plan-select-form{display:flex;align-items:center;gap:6px;margin-top:8px;max-width:350px}
.plan-select-form select{padding:7px 9px;font-size:11px;min-width:150px}
.plan-select-form .button{flex:0 0 auto}
.portal-two-col{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-bottom:16px;align-items:stretch}
.plan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.plan-card{display:grid;gap:7px;padding:13px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#fff,#f7faff)}
.plan-card strong{color:var(--navy);font-size:12px}
.plan-card span,.plan-card b small{color:var(--muted);font-size:10px;font-weight:600}
.plan-card b{color:#0869d8;font-size:17px}
.plan-card b small{font-size:10px}
.beta-form{margin-top:12px}
.beta-form .form-grid{gap:10px}
.beta-link-result{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:18px;align-items:center;border-color:#cfe4ff;background:linear-gradient(120deg,#fff,#f0f7ff);margin-bottom:16px}
.beta-link-result strong{display:block;color:var(--navy);font-size:13px;margin-top:7px}
.beta-link-result p{margin:5px 0 0;color:var(--muted);font-size:12px}
.copy-link-row{display:flex;gap:8px;min-width:0}
.copy-link-row input{font-size:11px;min-width:0}
.copy-link-row .button{white-space:nowrap}
.beta-history{margin-bottom:8px}
.beta-history table{min-width:680px}
.inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.inventory-table{min-width:1200px}
.inventory-actions{display:flex;align-items:center;gap:5px;min-width:330px}
.inventory-actions form{display:flex;align-items:center;gap:4px;margin:0}
.inventory-actions input{width:62px;padding:7px 6px;font-size:11px}
.inventory-actions .button{min-height:32px}
.stock-value{font-weight:800;color:#14644b;white-space:nowrap}
.stock-low{color:#a36300}
.inventory-editor,.calendar-editor{margin-top:16px}
.inventory-form{align-items:end;gap:13px}
.inventory-form-actions{grid-column:1/-1;display:flex;gap:8px}
.calendar-table{min-width:930px}
.calendar-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}
.calendar-actions form{margin:0}
.calendar-editor .form-grid{align-items:end}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.nav-item-disabled{display:flex!important;align-items:center;gap:10px;min-height:42px;padding:9px 11px;border-radius:10px;color:#adc1da!important;opacity:.8;cursor:not-allowed;user-select:none}
.nav-disabled-label{flex:1}.nav-coming-soon{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 7px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.08);color:#d8e5f5;font-size:9px;font-weight:750;line-height:1.2}
.nav-primary{margin-top:8px!important;padding:11px 12px!important;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#f5c400!important;color:#102341!important;font-weight:800!important}
.section-tabs{display:flex;gap:7px;margin:-5px 0 15px;border-bottom:1px solid var(--line);overflow-x:auto}
.section-tabs a{display:inline-flex;align-items:center;padding:10px 13px;color:#64758b;text-decoration:none;font-size:12px;font-weight:750;border-bottom:2px solid transparent;white-space:nowrap}
.section-tabs a:hover,.section-tabs a.active{color:#075ec8;border-bottom-color:#0877ed}
.documents-table{min-width:900px}
.document-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}
.print-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:900px;margin:0 auto 14px}
.print-sheet{max-width:900px;margin:0 auto;padding:48px 56px;background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 14px 40px rgba(15,35,65,.09);color:#172b46}
.print-brand{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:2px solid #1678e8;padding-bottom:16px}
.print-brand>div:first-child{display:grid;gap:2px}
.print-brand strong{font-size:22px;color:#075ec8}
.print-brand span,.print-document-number,.print-meta span,.print-grid span{font-size:11px;color:#657891}
.print-document-number{font-weight:750}
.print-sheet>h1{margin:32px 0 5px;color:#102341;font-size:27px}
.print-lead{margin:0 0 24px;color:#62738a;font-size:13px}
.print-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.print-meta>div,.print-grid>div{display:grid;gap:5px;padding:12px;border:1px solid #dce5ef;border-radius:9px;background:#f7f9fc}
.print-meta strong,.print-grid strong{font-size:12px;color:#172b46;overflow-wrap:anywhere}
.print-section{margin-top:25px}
.print-section h2{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #dce5ef;font-size:15px;color:#102341}
.print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.print-grid .print-wide{grid-column:1/-1}
.print-multiline{line-height:1.55;white-space:pre-wrap}
.print-terms p{font-size:12px;line-height:1.65;color:#42566f}
.print-signatures{display:grid;grid-template-columns:1fr 1fr;gap:54px;margin:65px 0 30px}
.print-signatures>div{display:grid;gap:8px;align-content:end;min-height:46px;border-top:1px solid #66758a;text-align:center}
.print-signatures span{font-size:10px;color:#657891}
.print-signatures strong{font-size:11px;color:#172b46}
.print-footer{border-top:1px solid #dce5ef;padding-top:10px;color:#8190a3;font-size:9px}
.subscription-page{max-width:1180px;margin:0 auto}.subscription-intro{padding:clamp(22px,4vw,42px)}.subscription-intro>h1{margin:7px 0 8px;color:var(--navy);font-size:clamp(27px,4vw,38px);letter-spacing:-.8px}.subscription-intro>p{max-width:760px;color:#5f7188}.subscription-current{display:inline-grid;gap:2px;margin:14px 0 22px;padding:12px 16px;border:1px solid #cfe4ff;border-radius:11px;background:#f1f7ff}.subscription-current span{color:#6c7f96;font-size:11px}.subscription-current strong{color:#145db0;font-size:14px}.subscription-plans-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:28px 0 13px}.subscription-plans-heading h2{margin:3px 0 0;color:var(--navy);font-size:21px}.subscription-badge{padding:7px 10px;border-radius:999px;background:#edf5ff;color:#145db0;font-size:10px;font-weight:800}.subscription-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.subscription-plan{display:flex;min-width:0;flex-direction:column;gap:10px;padding:18px;border:1px solid #dfe8f2;border-radius:14px;background:linear-gradient(160deg,#fff,#f8fbff);box-shadow:0 7px 21px rgba(24,54,96,.045)}.subscription-plan-name{min-height:36px;color:#405773;font-size:12px;font-weight:800}.subscription-price{color:#075ec8;font-size:25px;letter-spacing:-.5px}.subscription-price small{color:#71819a;font-size:11px;font-weight:650;letter-spacing:0}.subscription-seats{min-height:34px;color:#71819a;font-size:10px;line-height:1.55}.subscription-plan .button{margin-top:auto}.subscription-footnote{margin:16px 0 0;padding:12px 14px;border-radius:10px;background:#f5f7fa;color:#68788e;font-size:11px;line-height:1.6}.subscription-actions{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:15px}
@media print{html,body,body.app-screen{min-height:0!important;height:auto!important;background:#fff!important;color:#172b46!important}.sidebar,.topbar,.footer,.print-toolbar{display:none!important}.app-shell,.main-area,.content-wrap{display:block!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.content-wrap>*:not(.print-sheet){display:none!important}.print-sheet{display:block!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.print-sheet>h1{margin-top:26px}@page{size:A4;margin:17mm}}

@media(max-width:1000px){.sidebar{width:214px;flex-basis:214px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.side-panel{display:none}}
@media(max-width:1000px){.order-detail-layout{grid-template-columns:1fr}.status-panel{display:block}}
@media(max-width:1000px){.invite-form{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-form .button{grid-column:1/-1}}
@media(max-width:680px){.auth-screen{padding:16px 12px}.auth-brand{margin:5px auto 12px}.auth-card,.setup-card{padding:23px 19px;border-radius:17px}.auth-card h1,.setup-card h1{font-size:25px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.app-shell{display:block}.sidebar{width:100%;padding:12px 14px;display:block}.brand{display:none}.org-label{margin:0 0 9px;padding:7px 10px}.sidebar nav{display:flex;overflow-x:auto;gap:5px}.sidebar nav a{white-space:nowrap;padding:8px 10px;font-size:11px}.sidebar-foot{display:none}.topbar{height:55px;padding:0 15px;justify-content:space-between}.mobile-brand{display:block}.account{gap:7px;font-size:11px}.role-pill{display:none}.content-wrap{padding:24px 14px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.page-heading>.button{width:100%}.heading-actions{width:100%}.heading-actions .button{flex:1}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-card strong{font-size:26px}.panel{padding:14px}.panel-head{align-items:flex-start}.search-bar{flex-wrap:wrap}.search-bar input{flex-basis:100%}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.details-grid>div{padding:12px 8px}.details-grid .details-wide{grid-column:1/-1}.user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-form{grid-template-columns:1fr}.invite-form .button{grid-column:auto;width:100%}.portal-two-col{grid-template-columns:1fr}.portal-access-badge{white-space:normal}.beta-link-result{grid-template-columns:1fr}.copy-link-row{flex-direction:column}.copy-link-row .button{width:100%}.plan-cards{grid-template-columns:1fr}.plan-select-form{align-items:stretch;flex-direction:column}.plan-select-form .button{width:100%}.inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-actions{min-width:330px}.inventory-form-actions{grid-column:auto}.calendar-actions{align-items:flex-start;flex-direction:column}.calendar-actions .button{width:100%}.print-toolbar{align-items:stretch;flex-direction:column}.print-toolbar .button{width:100%}.print-sheet{padding:24px 18px}.print-meta{grid-template-columns:1fr}.print-signatures{gap:30px}.print-sheet>h1{font-size:22px}}
@media(max-width:980px){.subscription-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.subscription-plan-grid{grid-template-columns:1fr}.subscription-plans-heading{align-items:flex-start;flex-direction:column}.subscription-plan-name,.subscription-seats{min-height:0}.subscription-actions{align-items:stretch;flex-direction:column}.subscription-actions .button{width:100%}}

/* Document studio, database-backed logos and warehouse printouts */
.print-settings-panel{overflow:hidden}.print-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.print-setting-card{min-width:0;padding:19px;border:1px solid #e0e9f3;border-radius:15px;background:linear-gradient(155deg,#fff,#f8fbff)}.print-setting-card:nth-child(3){grid-column:1/-1}.print-setting-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.print-setting-title h3{margin:1px 0 4px;color:#142c4b;font-size:15px}.print-setting-title p{margin:0;color:#73839a;font-size:11px;line-height:1.5}.print-setting-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid #dceaff;border-radius:10px;background:#edf5ff;color:#1267ce;font-size:11px;font-weight:850}.print-setting-card .form-grid{gap:12px}.print-logo-setting-preview{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fff;color:#62748b;font-size:11px}.print-logo-setting-preview img{max-width:180px;max-height:76px;object-fit:contain}.print-field-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.print-live-preview{display:grid;gap:8px;max-width:none;margin-top:15px;padding:18px 20px;border:1px solid #e0e8f2;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(28,54,88,.05);color:#657891}.preview-brand{display:flex;align-items:center;gap:12px}.preview-brand img{width:46px;height:46px;object-fit:contain;border-radius:9px}.preview-brand>div{display:grid;gap:3px}.preview-brand span{color:#18385f;font-size:16px;font-weight:800}.preview-brand small,.print-live-preview>small{color:#7c8ca0;font-size:10px}.preview-rule{height:3px;margin:4px 0;border-radius:4px;background:var(--print-accent)}.preview-kicker{color:var(--print-accent);font-size:9px;font-weight:850;letter-spacing:.13em}.print-live-preview>strong{color:#132a48;font-size:19px}.print-live-preview>small{padding-top:8px;border-top:1px solid #e7edf4}.document-count{padding:7px 10px;border-radius:999px;background:#f0f5fb;color:#657891;font-size:10px;font-weight:800}.warehouse-documents-table .document-type-pill{display:inline-flex}.document-type-pill{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:6px 9px;border-radius:999px;background:#eaf3ff;color:#135fb7;font-size:11px;font-weight:850}.document-type-rw{background:#fff4d8;color:#8a5a00}.document-type-pill+.cell-sub{display:block}.empty-state{display:grid;gap:6px;padding:25px;color:#718198;text-align:center}.empty-state strong{color:#203957;font-size:14px}.empty-state span{font-size:12px}.empty-state .button{justify-self:center;margin-top:9px}.warehouse-document-form{display:grid;gap:16px}.warehouse-form-heading{display:flex;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid #e7edf4}.warehouse-form-heading h2{margin:0;color:#183251;font-size:18px}.warehouse-form-heading p,.warehouse-lines-heading p{margin:4px 0 0;color:#74849a;font-size:11px}.warehouse-lines-heading,.custom-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.warehouse-lines-heading h3,.custom-fields-heading h3{margin:0;color:#263e5c;font-size:14px}.warehouse-document-lines{display:grid;gap:8px}.warehouse-document-line{display:grid;grid-template-columns:minmax(240px,1fr) minmax(120px,180px) 38px;align-items:end;gap:10px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fbfdff}.warehouse-document-line .icon-button{width:38px;height:38px;border:1px solid #e4eaf1;border-radius:9px;background:#fff;color:#78889b;font-size:22px}.warehouse-document-line .icon-button:not(:disabled):hover{border-color:#e0b4ae;background:#fff6f5;color:#b23d33}.warehouse-stock-warning{padding:12px 14px;border:1px solid #f0dfab;border-radius:10px;background:#fff9e8;color:#7c5b13;font-size:11px;line-height:1.55}.warehouse-print-sheet .print-brand{border-bottom-color:var(--print-accent)}.print-company-logo{display:block;max-width:190px;max-height:76px;object-fit:contain}.print-logo-center{flex-direction:column;text-align:center}.print-logo-center>div:first-of-type{justify-items:center}.print-logo-right{flex-direction:row-reverse}.print-logo-right>div:first-of-type{text-align:right}.print-logo-right .print-document-number{text-align:right}.print-page-break{break-before:page;page-break-before:always}.print-custom-qr{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding:12px;border:1px solid #dce5ef;border-radius:9px}.print-custom-qr>div:first-child{display:grid;gap:4px;text-align:right}.print-custom-qr strong{color:#243c5a;font-size:11px}.print-custom-qr span{color:#72829a;font-size:9px}.print-custom-qr [data-ksef-qr]{width:78px;height:78px}.print-custom-qr svg{width:100%;height:100%}.print-custom-qr-top{justify-content:flex-start}.print-custom-qr-top>div:first-child{text-align:left;order:2}.print-custom-qr-top [data-ksef-qr]{order:1}.warehouse-print-total{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:13px;color:#718198;font-size:11px}.warehouse-print-total strong{color:#15365e;font-size:18px}.warehouse-print-table{width:100%;border-collapse:collapse}.warehouse-print-table th,.warehouse-print-table td{padding:9px 8px;border:1px solid #dce5ef;text-align:left;font-size:10px}.warehouse-print-table th{background:#eff4fa;color:#29425f;font-weight:800}.warehouse-print-table td{color:#29425f}.custom-form-editor>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.custom-form-editor .panel-head{margin-bottom:14px}.custom-fields-heading,.custom-field-list,.custom-form-editor .settings-actions{grid-column:1/-1}.custom-field-list{display:grid;gap:8px}.custom-form-field-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.75fr) minmax(130px,.6fr) 68px 38px;align-items:end;gap:10px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fbfdff}.custom-form-field-row .icon-button{width:38px;height:38px;border:1px solid #e4eaf1;border-radius:9px;background:#fff;color:#78889b;font-size:22px}.custom-form-cards{display:grid;gap:9px}.custom-form-card{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #e3ebf4;border-radius:12px;background:#fff}.custom-form-card.is-archived{opacity:.7}.custom-form-card-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:12px;background:#edf5ff;color:#1267ce;font-size:20px}.custom-form-card-copy{min-width:0;flex:1}.custom-form-card-title{display:flex;align-items:center;gap:8px}.custom-form-card-title h3{margin:0;color:#183251;font-size:13px}.custom-form-card-copy p{margin:4px 0;color:#6c7e94;font-size:11px}.custom-form-card-copy small{color:#8593a5;font-size:10px}.custom-form-card-actions{display:flex;gap:6px}.custom-entry-form{display:grid;gap:14px}.custom-entry-form .form-grid{width:100%}
@media(max-width:860px){.print-settings-grid{grid-template-columns:1fr}.print-setting-card:nth-child(3){grid-column:auto}.print-field-options{grid-template-columns:1fr}.custom-form-field-row{grid-template-columns:1fr 1fr}.custom-required-toggle{grid-column:1}.warehouse-document-line{grid-template-columns:1fr 130px 38px}}
@media(max-width:560px){.custom-form-editor>form{grid-template-columns:1fr}.custom-fields-heading,.custom-field-list,.custom-form-editor .settings-actions{grid-column:auto}.custom-form-field-row{grid-template-columns:1fr 1fr}.custom-form-field-row>label:first-child{grid-column:1/-1}.custom-form-card{align-items:flex-start;flex-wrap:wrap}.custom-form-card-actions{width:100%;padding-left:53px}.custom-form-card-actions .button{flex:1}.warehouse-lines-heading{align-items:flex-start;flex-direction:column}.warehouse-document-line{grid-template-columns:minmax(0,1fr) 100px 34px;padding:8px;gap:7px}.warehouse-document-line .icon-button{width:34px;height:37px}.print-logo-right{flex-direction:column}.print-logo-right>div:first-of-type,.print-logo-right .print-document-number{text-align:center}.print-meta{grid-template-columns:1fr}}
@media print{.print-company-logo{max-height:62px;max-width:155px}.print-page-break{break-before:page;page-break-before:always}.print-custom-qr{break-inside:avoid}.warehouse-print-table{min-width:0!important}.warehouse-print-table th,.warehouse-print-table td{font-size:9px;padding:6px}.warehouse-print-sheet .table-wrap{overflow:visible!important}.print-signatures{break-inside:avoid}.print-footer{margin-top:18px}}

/* Team planning and gastronomy temperature registers */
.operations-month-nav{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.operations-month-nav form{display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0;background:transparent}
.operations-month-nav input[type=month]{width:auto;min-width:148px;padding:8px 10px}
.operations-stats{margin:0 0 15px}
.operations-table{min-width:760px}
.schedule-table{min-width:780px}
.shift-time{display:inline-flex;padding:6px 9px;border-radius:8px;background:#eef5ff;color:#174e8e;font-size:12px;font-weight:800;white-space:nowrap}
.operations-editor{margin-top:16px}
.operations-form{align-items:end}
.operations-form .inventory-form-actions{grid-column:1/-1}
.fridge-procedure-note{margin-bottom:14px}
.fridge-procedure-note p{margin:4px 0 0;color:inherit;font-size:11px;line-height:1.55}
.temperature-value{font-size:14px;font-weight:850;white-space:nowrap}
.temperature-range{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f0f3f7;color:#6c7a8d;font-size:10px;font-weight:800;white-space:nowrap}
.temperature-ok{background:#e5f6ed;color:#08754e}
.temperature-alert{background:#fff0df;color:#a65309}
.fridge-list{display:grid;gap:8px;margin-top:14px}
.fridge-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e1e9f2;border-radius:11px;background:#fbfdff}
.fridge-card>div{display:grid;gap:3px;min-width:0}
.fridge-card strong{color:#183251;font-size:12px}
.fridge-card small,.fridge-card span{color:#718198;font-size:10px;overflow-wrap:anywhere}
.fridge-card em{color:#a65309;font-size:10px;font-style:normal;font-weight:800}
.nav-subitem-icon{display:grid;width:17px;height:17px;flex:0 0 17px;place-items:center;color:#9fc8ff}
.nav-subitem-icon .nav-svg{display:block;width:16px;height:16px}
.operations-nav-group .nav-submenu{display:grid}
.temperature-print-sheet .temperature-print-table{min-width:0;width:100%;border-collapse:collapse}
.temperature-print-sheet .temperature-print-table th,.temperature-print-sheet .temperature-print-table td{padding:7px 6px;border:1px solid #dce5ef;text-align:left;font-size:8px;vertical-align:top}
.temperature-print-sheet .temperature-print-table th{background:#eff4fa;color:#29425f;font-weight:800}
.temperature-print-sheet .temperature-print-table td{color:#29425f}
.temperature-print-sheet .print-brand{gap:15px}
.temperature-print-sheet .print-document-number{margin-left:auto}
@media(max-width:760px){.operations-month-nav{width:100%;justify-content:flex-start}.operations-month-nav form{flex:1}.operations-month-nav input[type=month]{flex:1;min-width:0}.operations-form{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-form .full-field,.operations-form .inventory-form-actions{grid-column:1/-1}.fridge-card{align-items:flex-start}.fridge-card .button{flex:0 0 auto}}
@media(max-width:480px){.operations-month-nav{gap:5px}.operations-month-nav input[type=month]{min-width:0;width:100%;font-size:11px}.operations-month-nav .button{padding:7px 9px}.operations-form{grid-template-columns:1fr}.operations-form .full-field,.operations-form .inventory-form-actions{grid-column:auto}.fridge-card{flex-direction:column}.fridge-card form,.fridge-card form .button{width:100%}}
@media print{.temperature-print-sheet .temperature-print-table{min-width:0!important}.temperature-print-sheet .temperature-print-table th,.temperature-print-sheet .temperature-print-table td{padding:5px 4px;font-size:7.5px;overflow-wrap:anywhere}.temperature-print-sheet .print-brand{padding-bottom:10px}.temperature-print-sheet>h1{margin-top:18px;font-size:18px}.temperature-print-sheet .print-lead{margin-top:4px;font-size:9px}.temperature-print-sheet .table-wrap{overflow:visible!important}.schedule-table{min-width:0!important}}

/* Employee permissions and correction controls */
.employee-permissions-panel>.panel-head{align-items:flex-start}
.permission-owner-badge{display:inline-flex;align-items:center;flex:0 0 auto;padding:7px 10px;border:1px solid #cfe2f7;border-radius:999px;background:#eef6ff;color:#1d5e9d;font-size:10px;font-weight:850}
.employee-permission-card{display:grid;gap:12px;margin:0 0 12px;padding:16px;border:1px solid #dce7f2;border-radius:14px;background:#fff}
.employee-permission-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.employee-permission-heading>div{display:grid;gap:3px;min-width:0}
.employee-permission-heading strong{color:#183251;font-size:13px}
.employee-permission-heading small{color:#75869b;font-size:10px;overflow-wrap:anywhere}
.employee-permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.employee-permission-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e2eaf3;border-radius:11px;background:#f8fbff;cursor:pointer}
.employee-permission-option input{flex:0 0 auto;margin:2px 0 0;accent-color:#1476dc}
.employee-permission-option span{display:grid;gap:4px;min-width:0}
.employee-permission-option strong{color:#183251;font-size:11px}
.employee-permission-option small{color:#718198;font-size:10px;line-height:1.5}
.permission-security-note{margin-top:14px}
.permission-security-note p{margin:4px 0 0;font-size:11px;line-height:1.5}
@media(max-width:680px){.employee-permission-options{grid-template-columns:1fr}.employee-permission-heading{align-items:flex-start;flex-direction:column}.employee-permission-heading .button{width:100%}.permission-owner-badge{white-space:normal}}

/* HACCP temperature log: one live input per fridge in today's calendar cells */
.temperature-calendar-panel{overflow:hidden}
.temperature-calendar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.temperature-calendar-wrap{max-height:72vh;overflow:auto;overscroll-behavior:contain}
.temperature-calendar-table{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0}
.temperature-calendar-table th,.temperature-calendar-table td{min-width:175px;vertical-align:top}
.temperature-calendar-table thead th{position:sticky;z-index:3;top:0;background:#f2f6fb;color:#29425f}
.temperature-calendar-table thead th:first-child{left:0;z-index:5;min-width:122px}
.temperature-calendar-table .temperature-calendar-date{position:sticky;left:0;z-index:2;min-width:122px;background:#fbfdff}
.temperature-calendar-date strong,.temperature-calendar-date small{display:block}
.temperature-calendar-date strong{color:#193553;font-size:11px}
.temperature-calendar-date small{margin-top:4px;color:#78889d;font-size:10px;font-weight:600}
.temperature-calendar-today .temperature-calendar-date,.temperature-calendar-today td{background:#f1f8ff}
.temperature-calendar-today .temperature-calendar-date{box-shadow:inset 3px 0 #1680db}
.temperature-calendar-cell{display:grid;align-content:start;gap:6px}
.temperature-calendar-reading{display:grid;gap:3px;padding:7px 8px;border:1px solid #dce9f7;border-left:3px solid #2381d8;border-radius:8px;background:#f5f9ff}
.temperature-calendar-reading strong{color:#155fa9;font-size:13px;white-space:nowrap}
.temperature-calendar-reading span{color:#657991;font-size:9px;line-height:1.45;overflow-wrap:anywhere}
.temperature-reading-edit{width:max-content;color:#176ec0;font-size:9px;font-weight:800;text-decoration:none}
.temperature-reading-edit:hover{text-decoration:underline}
.temperature-edit-panel{margin:0 0 14px;border-color:#b9d8f8;background:linear-gradient(115deg,#f4f9ff,#fff)}
.temperature-edit-form{align-items:end}
.temperature-edit-form input[readonly]{background:#f1f5f9;color:#63758b}
.temperature-edit-form .inventory-form-actions{grid-column:1/-1}
.temperature-correction-history{display:grid;gap:5px;margin-top:14px;padding:12px;border:1px solid #e1eaf4;border-radius:10px;background:#f8fbff}
.temperature-correction-history>strong{color:#29425f;font-size:11px}
.temperature-correction-history p{display:flex;align-items:center;gap:8px;margin:0;color:#29425f;font-size:10px}
.temperature-correction-history small{color:#718198;font-size:9px}
.temperature-cell-form{display:flex;align-items:center;gap:5px;margin:0;padding:0;border:0;background:transparent}
.temperature-cell-form input{width:100%;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #cbd9e8;border-radius:8px;background:#fff;color:#193553;font:inherit;font-size:12px}
.temperature-cell-form input:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}
.temperature-cell-form .button{flex:0 0 auto;min-height:33px;padding:6px 9px;font-size:10px}
.temperature-empty-cell{color:#9ba8b7;font-size:12px}
.temperature-calendar-hint{margin:12px 2px 0;color:#74849a;font-size:10px;line-height:1.5}
.fridge-add-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) auto;align-items:end;gap:11px}
.fridge-add-form .inventory-form-actions{grid-column:auto}
.fridge-card.is-inactive{background:#f7f8fa;opacity:.8}
.fridge-card form{margin:0}
.fridge-card .button-danger{white-space:nowrap}
@media(max-width:700px){.temperature-calendar-wrap{max-height:68vh}.temperature-calendar-table th,.temperature-calendar-table td{min-width:155px}.temperature-calendar-table thead th:first-child,.temperature-calendar-table .temperature-calendar-date{min-width:112px}.temperature-calendar-actions{width:100%;justify-content:flex-start}.temperature-calendar-actions .button{flex:1 1 150px}.fridge-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.fridge-add-form .inventory-form-actions{grid-column:1/-1}}
@media(max-width:480px){.temperature-calendar-wrap{max-height:65vh}.temperature-calendar-table th,.temperature-calendar-table td{min-width:148px}.temperature-calendar-table thead th:first-child,.temperature-calendar-table .temperature-calendar-date{min-width:102px}.fridge-add-form{grid-template-columns:1fr}.fridge-add-form .inventory-form-actions{grid-column:auto}.fridge-add-form .button{width:100%}.temperature-calendar-actions{display:grid;grid-template-columns:1fr;width:100%}}
@media print{.temperature-calendar-wrap{max-height:none;overflow:visible}.temperature-calendar-table{min-width:0;width:100%;table-layout:fixed}.temperature-calendar-table th,.temperature-calendar-table td{min-width:0;padding:4px 3px;font-size:7px}.temperature-calendar-table thead th,.temperature-calendar-table .temperature-calendar-date{position:static;background:#eff4fa}.temperature-cell-form{display:none}.temperature-calendar-reading{padding:3px;border:0;background:transparent}.temperature-calendar-reading strong{font-size:8px}.temperature-calendar-reading span{font-size:6px}}

/* Clear monthly team calendar and quick multi-employee scheduling */
.team-calendar-panel{overflow:hidden}
.team-calendar-weekdays,.team-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.team-calendar-weekdays{gap:7px;margin:0 0 7px;padding:0 1px}
.team-calendar-weekdays span{padding:7px 9px;color:#718198;font-size:10px;font-weight:850;text-align:left;text-transform:uppercase;letter-spacing:.04em}
.team-calendar-grid{gap:7px;align-items:stretch}
.team-calendar-empty{min-height:116px}
.team-calendar-day{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:116px;padding:8px;border:1px solid #e1e9f2;border-radius:11px;background:#fff}
.team-calendar-day.is-today{border-color:#75b5f7;background:#f4f9ff;box-shadow:inset 0 0 0 1px #d8ebff}
.team-calendar-day.is-selected{border-color:#1680db;box-shadow:0 0 0 2px rgba(22,128,219,.12)}
.team-calendar-day-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:24px}
.team-calendar-day-heading>div{display:flex;align-items:baseline;gap:6px;min-width:0}
.team-calendar-day-heading strong{color:#17385d;font-size:14px;line-height:1}
.team-calendar-day-heading span{color:#8a98aa;font-size:9px;font-weight:750}
.calendar-key{display:inline-flex;align-items:center;gap:7px;color:#6d7f95;font-size:10px;white-space:nowrap}
.calendar-key i{width:9px;height:9px;border:1px solid #75b5f7;border-radius:50%;background:#f4f9ff}
.calendar-add-link{display:grid;place-items:center;width:25px;height:25px;border:1px solid #d7e7f7;border-radius:8px;background:#f1f7ff;color:#116ac8;font-size:19px;line-height:1;text-decoration:none}
.calendar-add-link:hover{border-color:#1680db;background:#e4f1ff;text-decoration:none}
.calendar-day-empty{margin:auto 0;color:#9aa7b7;font-size:9px;line-height:1.4}
.calendar-shift{display:grid;gap:3px;min-width:0;padding:7px;border:1px solid #dce9f7;border-left:3px solid #2583df;border-radius:8px;background:#f5f9ff}
.calendar-shift-line{display:grid;gap:3px;min-width:0}
.calendar-shift-time{color:#145ca7;font-size:10px;font-weight:850;white-space:nowrap}
.calendar-shift-line strong{color:#29435f;font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.calendar-shift-title{color:#6b7e95;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.calendar-shift-note{color:#7d8da1;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.calendar-shift-actions{display:flex;gap:9px;margin-top:2px}
.calendar-shift-actions a,.calendar-shift-actions button{padding:0;border:0;background:transparent;color:#176fc7;font:inherit;font-size:9px;font-weight:750;text-decoration:none;cursor:pointer}
.calendar-shift-actions form{margin:0}
.calendar-shift-actions button{color:#a44942}
.calendar-employee-picker{grid-column:1/-1;min-width:0;margin:0;padding:12px;border:1px solid #dce6f1;border-radius:11px;background:#fbfdff}
.calendar-employee-picker legend{padding:0 5px;color:#38516e;font-size:11px;font-weight:800}
.calendar-employee-picker legend small{margin-left:6px;color:#8291a4;font-size:10px;font-weight:500}
.calendar-employee-options{display:flex;flex-wrap:wrap;gap:7px}
.operations-form .calendar-employee-option{display:flex;grid-template-columns:none;align-items:center;gap:7px;min-height:36px;margin:0;padding:7px 10px;border:1px solid #dce6f1;border-radius:9px;background:#fff;color:#38516e;font-size:11px;font-weight:700;cursor:pointer}
.operations-form .calendar-employee-option:has(input:checked){border-color:#8bbcf0;background:#edf6ff;color:#145da8}
.operations-form .calendar-employee-option input{width:15px;height:15px;margin:0;accent-color:#1478d4}
.form-submit-actions{display:flex;grid-column:1/-1;align-items:center;gap:9px;flex-wrap:wrap;margin-top:3px}
@media(max-width:860px){.team-calendar-weekdays,.team-calendar-grid{gap:5px}.team-calendar-day{padding:6px}.team-calendar-empty{min-height:100px}}
@media(max-width:620px){.team-calendar-weekdays{display:none}.team-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.team-calendar-empty{display:none}.team-calendar-day{min-height:110px}.calendar-shift-line{gap:2px}.calendar-employee-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-employee-option{min-width:0}.form-submit-actions .button{flex:1 1 190px}}
@media(max-width:420px){.team-calendar-grid{grid-template-columns:minmax(0,1fr)}.team-calendar-day{min-height:0}.team-calendar-day:not(.is-today):not(.is-selected){background:#fff}.calendar-shift-line{grid-template-columns:minmax(86px,.4fr) minmax(0,1fr);align-items:baseline}.calendar-shift-title{padding-left:calc(40% + 4px)}.calendar-employee-options{grid-template-columns:1fr}.form-submit-actions{flex-direction:column;align-items:stretch}.form-submit-actions .button{width:100%;flex:auto}}
/* Shared navigation and newly migrated workspaces */
.sidebar nav a.nav-item{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 11px;color:#d6e2f1;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.sidebar nav a.nav-item:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.sidebar nav a.nav-item.nav-active{background:rgba(30,126,237,.22);border-color:rgba(115,178,255,.25);color:#fff}
.nav-icon{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;color:#91bfff}
.nav-svg{width:19px;height:19px;display:block}
.nav-primary .nav-icon{color:inherit}
.sidebar nav a.portal-nav{margin-top:4px;color:#c8dcff}
.module-tabs{display:flex;gap:7px;margin:0 0 20px;padding:5px;background:#e9eff7;border:1px solid #dce5f0;border-radius:12px;width:max-content;max-width:100%}
.module-tabs a{display:block;padding:10px 15px;border-radius:8px;font-size:13px;font-weight:750;color:#526681;text-decoration:none}
.module-tabs a.active,.module-tabs a:hover{background:#fff;color:var(--navy);box-shadow:0 2px 8px rgba(20,45,78,.08)}
.module-actions{display:flex;gap:10px;margin-top:18px}
.invoice-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0 21px}
.invoice-facts>div{padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f8fafd}
.invoice-facts span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}
.invoice-facts strong{color:var(--navy);font-size:14px;overflow-wrap:anywhere}
.invoice-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff2cc;color:#7c5300;font-weight:750;font-size:11px;white-space:nowrap}
.invoice-status-approved{background:#e4f6ec;color:#136c47}.invoice-status-rejected{background:#ffebed;color:#9c3340}
.inline-status-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0 20px;padding:13px;background:#f6f8fb;border-radius:11px}
.inline-status-form label{display:grid;gap:5px;font-size:12px;font-weight:700}
.inline-status-form select{min-width:170px}
.ksef-upload-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,.8fr) auto;align-items:end;gap:12px}
.ksef-upload-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--ink)}
.ksef-upload-form input[type=file]{padding:10px;background:#f8fafd}
.ksef-upload-form small{color:var(--muted);font-weight:400}
.stock-invoice-form{margin-top:19px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f8fafd}
.stock-invoice-form .form-section{margin:0 0 13px}.stock-invoice-form .form-section h3{font-size:16px;color:var(--navy);margin:0 0 5px}.stock-invoice-form .check-row{padding:8px 0}
.invoice-line-select{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:750;color:#334c6b}.invoice-line-select input{width:17px;height:17px;margin:0;accent-color:var(--blue)}
.stock-invoice-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:13px}.stock-invoice-actions .mini{max-width:520px}
.ksef-sync-panel{border-color:#d6e5f7;background:linear-gradient(145deg,#fff,#f6faff)}
.ksef-sync-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}
.ksef-sync-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ksef-sync-form label{display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:750}
.ksef-sync-progress{margin-top:13px;padding:11px 13px;border:1px solid #dce7f3;border-radius:9px;background:#f5f8fc;color:#60728a;font-size:12px;line-height:1.5}
.ksef-progress-meter{display:flex;align-items:center;gap:10px;margin:0 0 8px}.ksef-progress-meter progress{width:min(340px,80%);height:10px;border:0;border-radius:999px;overflow:hidden;appearance:none}.ksef-progress-meter progress::-webkit-progress-bar{background:#e2eaf4;border-radius:999px}.ksef-progress-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#0b83ee,#38b9ff);border-radius:999px;transition:width .25s ease}.ksef-progress-meter progress::-moz-progress-bar{background:#0b83ee;border-radius:999px}.ksef-progress-meter span{font-weight:750;color:#314b6d}
.ksef-sync-progress.notice-error{border-color:#f1c8cb;background:#fff2f3;color:#9c3340}
.ksef-sync-progress.notice-success{border-color:#c8e8d5;background:#eef9f2;color:#176b48}
.ksef-sync-progress.notice-warning{border-color:#f3dfaa;background:#fff9e8;color:#785600}
.ksef-sync-progress[hidden]{display:none}
.ksef-diagnosis p{margin:0 0 7px}.ksef-diagnosis p:last-child{margin-bottom:0}.ksef-diagnosis-row{padding:3px 0;font-weight:700}
.invoice-list-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 12px;padding:12px;border:1px solid #e2eaf4;border-radius:10px;background:#f7f9fc}
.invoice-list-controls label{display:grid;gap:5px;color:var(--ink);font-size:11px;font-weight:700}
.invoice-list-controls select{min-width:140px;min-height:36px;padding:7px 28px 7px 9px;border:1px solid #d5e0ee;border-radius:7px;background:#fff;color:var(--ink)}
.invoice-list-summary{margin:0 0 8px;color:#687b93;font-size:12px}
.invoice-pagination{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:13px}
.invoice-pagination .button{min-width:34px;padding-left:9px;padding-right:9px}
.pagination-gap{padding:0 4px;color:#687b93}
.ksef-config-form{align-items:end}
.print-live-preview{display:grid;gap:6px;padding:15px 17px;border:1px solid #dce5ef;border-left:4px solid var(--print-accent,#1678e8);border-radius:10px;background:#f8fafd}
.print-live-preview>span{color:var(--muted);font-size:10px}.print-live-preview>strong{color:var(--print-accent,#1678e8);font-size:15px}.print-live-preview>small{color:var(--muted)}
.invoice-print-sheet{max-width:850px;margin:20px auto;background:#fff}
.invoice-print-brand{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5c6f89;font-weight:800}
.invoice-print-total{display:flex;justify-content:flex-end;gap:20px;align-items:center;margin:18px 0;color:#61738c;font-size:13px}
.invoice-print-total strong{font-size:20px;color:var(--navy)}
.invoice-verification{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 18px;padding:15px 18px;border-top:1px solid #dce5ef;background:#fff}
.invoice-verification>div:first-child{display:grid;gap:5px}.invoice-verification strong{color:#243b59;font-size:13px}.invoice-verification small{max-width:360px;color:#657891;font-size:10px;line-height:1.5}
.invoice-qr{flex:0 0 116px;width:116px;height:116px;padding:4px;background:#fff}.invoice-qr svg{display:block;width:100%;height:100%}
.print-edit-panel{margin-bottom:14px;border-left:4px solid #1678e8;background:linear-gradient(135deg,#fff,#f4f8ff)}.print-edit-panel .panel-head h2{font-size:19px}.work-scope-form{display:flex;align-items:center;justify-content:flex-end}.work-scope-form .button{min-height:42px}.work-scope-editor{display:grid;gap:8px;margin-top:12px;color:#193656;font-size:13px;font-weight:800}.work-scope-editor textarea{min-height:180px;padding:14px;border:2px solid #c9d7e8;border-radius:11px;background:#fff;color:#172b46;font-size:14px;line-height:1.65}.work-scope-editor textarea:focus{border-color:#1678e8;outline:0;box-shadow:0 0 0 4px rgba(22,120,232,.13)}.work-scope-editor small{color:#6e8098;font-size:11px;font-weight:500;line-height:1.5}.work-scope-value{display:none}
@media print{.work-scope-editor{display:none!important}.work-scope-value{display:block!important;min-height:34px;white-space:pre-wrap}.work-scope-value:empty{min-height:42px;border-bottom:1px solid #9aa9bd}}
.pos-template-panel .panel-head{align-items:center}
.pos-field-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 16px;border:1px solid var(--line);border-radius:10px;padding:13px 15px}
.pos-field-options legend{padding:0 6px;color:var(--navy);font-weight:800;font-size:13px}
.pos-field-options .check-row{padding:7px 0}
.template-picker{display:flex;align-items:center;gap:8px}
.template-picker label{font-size:11px;color:var(--muted);font-weight:750}
.template-picker select{min-width:175px}
.pos-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}
.pos-product-data{padding:15px;border:1px solid #dce5f0;border-radius:12px;background:#f7faff}
.pos-product-data>div:first-child{display:grid;gap:3px;margin-bottom:13px;color:var(--navy)}
.pos-product-data>div:first-child small{color:var(--muted);font-size:11px;font-weight:400}
.pos-product-data .form-grid{margin:0}
.pos-product-data .field-hint{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.45;margin-top:5px}
.pos-print-setup{max-width:920px}
.pos-label-preview{max-width:none;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;margin:20px auto!important;display:grid;justify-content:center;gap:4mm}
.pos-label{box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;gap:1.3mm;padding:3mm;border:0.2mm solid #d5dce5;border-radius:1.5mm;background:white;color:#111;font-family:Arial,sans-serif;line-height:1.2;break-after:page;page-break-after:always}
.pos-label:last-child{break-after:auto;page-break-after:auto}
.pos-label h2{font-family:Arial,sans-serif;color:#111;font-size:1.3em;line-height:1.1;margin:0;font-weight:800;overflow-wrap:anywhere}
.pos-label-company{font-size:.86em;color:#445064;font-weight:700}
.pos-label-content{font-size:1.02em;color:#303d4f;font-weight:700}
.pos-label-price{font-size:1.45em;color:#111;font-weight:800;margin-top:auto}
.pos-label-line{font-size:.78em;overflow-wrap:anywhere}
.pos-label-allergens{padding:.8mm;border:.25mm solid #111;font-weight:700}
.pos-label-barcode{display:flex;justify-content:center;font-family:monospace;font-size:.8em;letter-spacing:.08em}.pos-ean13{display:block;width:min(100%,44mm);height:12mm}.pos-ean-fallback{font-size:.8em;letter-spacing:normal}
.pos-label-footer{border-top:.2mm solid #bdc7d5;padding-top:1.2mm;margin-top:auto;text-align:center;font-size:.7em;overflow-wrap:anywhere}
.label-size-58-40{page:fixaro-58-40}.label-size-58-40 .pos-label{width:58mm;height:40mm}
.label-size-58-60{page:fixaro-58-60}.label-size-58-60 .pos-label{width:58mm;height:60mm}
.label-size-80-50{page:fixaro-80-50}.label-size-80-50 .pos-label{width:80mm;height:50mm}
.label-size-100-60{page:fixaro-100-60}.label-size-100-60 .pos-label{width:100mm;height:60mm}
.label-font-9 .pos-label{font-size:9pt}.label-font-10 .pos-label{font-size:10pt}.label-font-11 .pos-label{font-size:11pt}.label-font-12 .pos-label{font-size:12pt}
@page fixaro-58-40{size:58mm 40mm;margin:0}@page fixaro-58-60{size:58mm 60mm;margin:0}@page fixaro-80-50{size:80mm 50mm;margin:0}@page fixaro-100-60{size:100mm 60mm;margin:0}
@media print{.pos-label-preview{display:block!important;margin:0!important}.pos-label{border:0!important;border-radius:0!important}.invoice-print-sheet{max-width:none!important}.print-toolbar,.print-edit-panel{display:none!important}}
@media(max-width:900px){.ksef-upload-form{grid-template-columns:1fr 1fr}.ksef-upload-form button{grid-column:1/-1}.pos-field-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.module-tabs{width:100%}.module-tabs a{flex:1;text-align:center;padding:9px 7px;font-size:11px}.invoice-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ksef-upload-form,.ksef-sync-form{grid-template-columns:1fr}.ksef-upload-form button{grid-column:auto}.ksef-sync-form .button{width:100%}.ksef-sync-actions{display:grid;grid-template-columns:1fr}.invoice-list-controls{width:100%;flex-direction:column;align-items:stretch}.invoice-list-controls label,.invoice-list-controls select{width:100%}.invoice-pagination{justify-content:center;flex-wrap:wrap}.pos-field-options{grid-template-columns:1fr}.template-picker{width:100%;align-items:stretch;flex-direction:column}.template-picker select{width:100%}.pos-row-actions{min-width:240px}.module-actions{flex-direction:column}.sidebar nav a.nav-item{min-height:36px;padding:8px 10px;gap:7px;font-size:11px}.sidebar nav a.nav-item .nav-icon{width:17px;height:17px;flex-basis:17px}.sidebar nav a.nav-item .nav-svg{width:16px;height:16px}}
@media(max-width:680px){.invoice-verification{align-items:flex-start;flex-direction:column}.invoice-qr{align-self:flex-end}}
@media print{.invoice-verification{break-inside:avoid;border-color:#9aa9bd}.invoice-qr{width:102px;height:102px}}

/* Compact, customer-ready intake protocol shared by every industry profile. */
.print-toolbar{flex-wrap:wrap}
.print-copy-selector{display:flex;align-items:center;gap:7px;margin:0;padding:7px 9px;border:1px solid #dce5ef;border-radius:12px;background:#f6f9fd;color:#657891;font-size:11px;font-weight:750}
.print-copy-selector legend{padding:0 5px;color:#526780;font-size:10px;font-weight:800}
.print-copy-selector>label{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#29425f;cursor:pointer;white-space:nowrap}
.print-copy-selector input{width:15px;height:15px;margin:0;accent-color:#0877ed}
.print-copy-selector>small{max-width:195px;color:#74849a;font-size:9px;font-weight:500;line-height:1.35}
.print-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.print-title-row>h1{margin:32px 0 5px;color:#102341;font-size:27px}
.print-title-row>h1{min-width:0}
.print-copy-label{flex:0 0 auto;padding:7px 10px;border:1px solid #dce5ef;border-radius:999px;background:#f6f9fd;color:#526780;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.print-intake-copy-service{display:none}
.print-document-reference{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;padding:7px 10px;border-left:3px solid var(--print-accent,#1678e8);border-radius:0 8px 8px 0;background:#f4f8fd;color:#647891;font-size:9px;font-weight:700}
.print-document-reference strong{color:#173657;font-size:12px;letter-spacing:.04em}
.print-intake-sheet .print-brand{gap:14px;padding-bottom:9px}
.print-intake-sheet .print-brand strong{font-size:17px}
.print-intake-sheet .print-brand span,.print-intake-sheet .print-document-number{font-size:9px}
.print-intake-sheet .print-company-logo{max-width:145px;max-height:48px}
.print-intake-sheet .print-title-row{margin-top:12px}
.print-intake-sheet>h1,.print-intake-sheet .print-title-row>h1{margin:0;color:#102341;font-size:21px;line-height:1.2}
.print-intake-sheet .print-lead{margin:4px 0 10px;font-size:9px;line-height:1.35}
.print-intake-sheet .print-meta{gap:6px}
.print-intake-sheet .print-meta>div,.print-intake-sheet .print-grid>div{gap:3px;padding:7px 9px;border-radius:7px}
.print-intake-sheet .print-meta span,.print-intake-sheet .print-grid span{font-size:9px}
.print-intake-sheet .print-meta strong,.print-intake-sheet .print-grid strong{font-size:11px;line-height:1.35}
.print-intake-sheet .print-section{margin-top:12px}
.print-intake-sheet .print-section h2{margin-bottom:6px;padding-bottom:4px;font-size:11px}
.print-intake-sheet .print-grid{gap:5px}
.print-intake-sheet .print-multiline{line-height:1.3}
.print-intake-sheet .print-terms p{margin:0;font-size:9.5px;line-height:1.4}
.print-intake-sheet .print-signatures{gap:34px;margin:28px 0 14px}
.print-intake-sheet .print-signatures>div{gap:5px;min-height:34px}
.print-intake-sheet .print-signatures span{font-size:8px}
.print-intake-sheet .print-signatures strong{font-size:9px}
.print-intake-sheet .print-footer{padding-top:6px;font-size:8px}
@media(max-width:680px){.print-copy-selector{justify-content:center;flex-wrap:wrap}.print-copy-selector>small{max-width:none;flex-basis:100%;text-align:center}.print-title-row{align-items:flex-start}}
@media print{
  .print-copy-selector,.print-toolbar{display:none!important}
  .print-intake-sheet{font-size:9px;break-inside:auto}
  .print-intake-sheet .print-brand{padding-bottom:7px}
  .print-intake-sheet .print-company-logo{max-height:42px}
  .print-intake-sheet .print-title-row{margin-top:9px}
  .print-intake-sheet .print-title-row>h1{font-size:18px}
  .print-intake-sheet .print-copy-label{padding:5px 8px;font-size:8px}
  .print-intake-sheet .print-lead{margin-bottom:8px;font-size:8px}
  .print-intake-sheet .print-meta>div,.print-intake-sheet .print-grid>div{padding:7px 8px}
  .print-intake-sheet .print-meta span,.print-intake-sheet .print-grid span{font-size:9px}
  .print-intake-sheet .print-meta strong,.print-intake-sheet .print-grid strong{font-size:10.5px}
  .print-intake-sheet .print-document-reference{margin-bottom:7px;padding:6px 9px}
  .print-intake-sheet .print-section{margin-top:9px}
  .print-intake-sheet .print-section h2{font-size:11px}
  .print-intake-sheet .print-signatures{margin:21px 0 10px}
  .print-intake-sheet .print-footer{margin-top:8px}
  .print-intake-sheet .print-page-break{break-before:auto;page-break-before:auto}
  .print-intake-copy-service{display:block!important;break-before:page;page-break-before:always}
}

/* Sales screens stay inside the application frame; wide line tables scroll in their own container. */
html,body.app-screen{width:100%;max-width:100%;overflow-x:hidden}.app-shell,.main-area,.content-wrap,.topbar{min-width:0;max-width:100%}.main-area{overflow-x:clip}.sales-page{width:100%;min-width:0;max-width:100%;overflow-x:clip}.sales-page .table-wrap{max-width:100%}.page-heading>div,.panel,.panel-head,.ksef-sales-editor,.ksef-sales-editor-form,.invoice-meta-grid,.invoice-parties-grid,.invoice-party-card{min-width:0;max-width:100%}.sales-invoice-entry-page{width:100%;min-width:0;max-width:100%}.invoice-lines-table-wrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain}.ksef-sales-entry-table{min-width:1320px}.ksef-sales-entry-table th{white-space:nowrap}.ksef-sales-entry-table td{min-width:95px}.ksef-sales-entry-table td:first-child{min-width:220px}.ksef-sales-entry-table td:nth-child(7){min-width:190px}.ksef-sales-entry-table td input[readonly]{background:#f2f6fb;color:#405977}.invoice-line-actions{min-width:48px!important;text-align:center}.invoice-line-actions .icon-button{width:34px;height:34px;border:1px solid #e0e7ef;border-radius:9px;background:#fff;color:#7c8ca0;font-size:20px;line-height:1}.invoice-add-line-button{justify-self:start;margin-top:10px}.invoice-submit-actions{display:flex;align-items:stretch;justify-content:flex-start;gap:10px;flex-wrap:wrap;min-width:0}.invoice-submit-actions>.button{flex:1 1 220px;min-width:min(220px,100%);min-height:47px;padding:11px 14px;white-space:normal;text-align:center;line-height:1.3}.sales-editor-page-heading{margin-bottom:15px}.ksef-sales-editor{width:100%;overflow:hidden}.invoice-meta-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.invoice-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-page-heading .button{flex:0 0 auto}
[hidden]{display:none!important}
.help-tag-row{display:flex;flex-wrap:wrap;gap:9px;margin:-7px 0 18px}.help-tag-row span{padding:8px 12px;border:1px solid #dce8f5;border-radius:999px;background:#fff;color:#2e577d;font-size:11px;font-weight:750}.help-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);gap:15px;align-items:start}.help-contact-card,.help-aside>.panel{border-top:3px solid #1780df}.help-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.help-contact-form label{display:grid;gap:6px;color:#405a77;font-size:11px;font-weight:750}.help-contact-form input,.help-contact-form textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid #d5e1ef;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.help-contact-form textarea{resize:vertical}.help-contact-form .button{justify-self:start}.help-aside{display:grid;gap:14px}.help-direct-card h2,.help-company-card h2{margin:4px 0 8px}.help-direct-card>p{color:#718198;font-size:12px;line-height:1.6}.help-email-link{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dfe9f4;border-radius:11px;background:#f7fbff;color:#183b60}.help-email-link:hover{text-decoration:none;border-color:#9cc8f5}.help-email-link>span:first-child{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#e8f3ff;color:#0874ed;font-size:18px;font-weight:800}.help-email-link>span:nth-child(2){display:grid;gap:1px;flex:1}.help-email-link small{color:#718198;font-size:10px}.help-email-link strong{font-size:12px}.help-company-card dl{display:grid;gap:8px;margin:13px 0 0}.help-company-card dl>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-top:1px solid #edf1f6}.help-company-card dt{color:#718198;font-size:11px}.help-company-card dd{margin:0;color:#193553;font-size:12px;font-weight:800}.help-guidance-section{margin:22px 0 10px;padding:22px;border:1px solid #dfe8f2;border-radius:15px;background:linear-gradient(145deg,#f8fbff,#fff)}.section-heading h2{margin:4px 0;color:#183251;font-size:19px}.section-heading p{margin:0;color:#718198;font-size:12px}.help-guidance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.help-guidance-grid article{display:flex;gap:11px;padding:14px;border:1px solid #e2eaf3;border-radius:12px;background:#fff}.help-guidance-grid article>span{display:grid;width:33px;height:33px;flex:0 0 33px;place-items:center;border-radius:10px;background:#eaf4ff;color:#1268c9;font-size:10px;font-weight:900}.help-guidance-grid h3{margin:2px 0 4px;color:#193553;font-size:12px}.help-guidance-grid p{margin:0;color:#718198;font-size:10px;line-height:1.55}.help-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:16px;border-top:1px solid #e5ebf3}.help-bottom-cta>div{display:grid;gap:2px}.help-bottom-cta strong{color:#193553;font-size:12px}.help-bottom-cta span{color:#718198;font-size:11px}
@media(max-width:1100px){.invoice-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.help-main-grid{grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr)}}
@media(max-width:820px){.invoice-parties-grid,.help-main-grid{grid-template-columns:1fr}.help-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.help-guidance-grid{grid-template-columns:1fr}}
@media(max-width:680px){.invoice-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-submit-actions{display:grid;grid-template-columns:1fr}.invoice-submit-actions>.button{width:100%;min-width:0}.help-contact-form,.help-aside{grid-template-columns:1fr}.help-guidance-section{padding:16px}.help-bottom-cta{align-items:flex-start;flex-direction:column}.help-bottom-cta .button{width:100%}}
@media(max-width:480px){.invoice-meta-grid,.invoice-payment-grid{grid-template-columns:1fr}.help-tag-row span{font-size:10px}.help-contact-card{padding:14px}}

.workspace-switcher{display:flex;align-items:center;gap:8px;margin:0 auto 0 0;padding:0 12px}.workspace-switcher label{font-size:11px;color:var(--muted);font-weight:750}.workspace-switcher select{max-width:220px;min-height:36px;padding:6px 28px 6px 10px;border:1px solid #d8e3f0;border-radius:9px;background:#fff;color:var(--navy);font:inherit;font-size:12px}
.accountant-access-panel{border-top:3px solid #0878dd}.accountant-access-form{margin:0 0 24px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;min-width:0;color:var(--navy);font-size:13px;line-height:1.45}.checkbox-field>input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#0878dd}.checkbox-field>span{display:grid;gap:3px}.checkbox-field small{display:block;color:var(--muted);font-size:11px;font-weight:400}.accountant-access-list{border-top:1px solid #e5ebf3;padding-top:18px}.accountant-access-list h3{margin:0 0 12px;color:var(--navy)}.accountant-access-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 0;border-top:1px solid #edf1f6}.accountant-access-person{display:grid;gap:3px;min-width:190px;flex:1}.accountant-access-person strong{color:var(--navy)}.accountant-access-person span,.accountant-access-person small{color:var(--muted);font-size:12px}.accountant-access-permission{display:flex;align-items:center;gap:10px}.accountant-access-permission .checkbox-field{font-size:11px;align-items:center}.accountant-access-permission .button,.accountant-access-row>.button{white-space:nowrap}.button-danger{background:#fff1f1;border:1px solid #ffd0d0;color:#a22d35}.button-danger:hover{background:#ffe4e5;color:#8d1c26}
.invoice-comments{margin-top:22px;padding-top:18px;border-top:1px solid #e5ebf3}.invoice-comments .panel-head{margin-bottom:12px}.invoice-comments .panel-head h3{margin:0;color:var(--navy)}.invoice-comments .panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.invoice-comment{padding:12px 14px;margin:8px 0;border:1px solid #e3eaf3;border-radius:10px;background:#f8faff}.invoice-comment>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--navy);font-size:12px}.invoice-comment time{color:var(--muted);font-size:11px}.invoice-comment p{margin:8px 0 0;color:#304561;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.invoice-comment-form{display:grid;gap:10px;margin-top:14px}.invoice-comment-form label{display:grid;gap:6px;color:var(--navy);font-size:12px;font-weight:700}.invoice-comment-form textarea{width:100%;padding:10px 12px;border:1px solid #d7e1ee;border-radius:9px;background:#fff;color:#243b58;font:inherit;font-size:13px;resize:vertical}.invoice-comment-form .button{justify-self:start}
@media(max-width:950px){.workspace-switcher{margin-right:0;padding:0 5px}.workspace-switcher select{max-width:170px}.accountant-access-row{align-items:flex-start}.accountant-access-person{flex-basis:100%}}
@media(max-width:680px){.workspace-switcher{order:3;width:100%;margin:0;padding:8px 0 0}.workspace-switcher label{display:none}.workspace-switcher select{width:100%;max-width:none}.accountant-access-row{display:grid;grid-template-columns:1fr 1fr;align-items:center}.accountant-access-person{grid-column:1/-1}.accountant-access-permission{grid-column:1/-1;justify-content:space-between}.accountant-access-row>form{justify-self:start}}

.ksef-sales-scope{border-left:4px solid #327fd5;background:linear-gradient(110deg,#f4f9ff,#fff)}.ksef-sales-scope p{margin:7px 0 0;color:#62748b;font-size:12px;line-height:1.6}
.ksef-sales-entry-table{min-width:1000px}.ksef-sales-entry-table th{white-space:nowrap}.ksef-sales-entry-table td{min-width:110px;padding:7px}.ksef-sales-entry-table td:first-child{min-width:225px}.ksef-sales-entry-table td:last-child{min-width:210px}.ksef-sales-entry-table input,.ksef-sales-entry-table select{min-width:105px;width:100%;min-height:37px;padding:7px 8px;border:1px solid #d5e0ee;border-radius:7px;background:#fff;color:#203957;font:inherit;font-size:12px}.ksef-sales-entry-table td:first-child input{min-width:210px}.ksef-sales-entry-table td:last-child select{min-width:195px}.ksef-sales-entry-table input:focus,.ksef-sales-entry-table select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}
.correction-reference{display:grid;gap:5px;margin:15px 0;padding:13px 15px;border:1px solid #dbe5f1;border-radius:10px;background:#f7faff;color:#536881;font-size:11px}.correction-reference strong{color:#17365e;font-size:13px}.correction-reference p{margin:3px 0 0;color:#324b69}.sales-invoice-print .correction-reference{break-inside:avoid}
.invoice-line-row:nth-child(even){background:#fbfdff}.ksef-sales-form .form-section{margin-top:9px}.ksef-sales-form .form-section p{max-width:900px}
@media(max-width:680px){.ksef-sales-entry-table{min-width:960px}.ksef-sales-scope p{font-size:11px}.correction-reference{padding:11px}}

.custom-field-move{display:flex;align-items:center;gap:4px}.custom-field-move button{width:30px;height:36px;border:1px solid #e1e9f2;border-radius:8px;background:#fff;color:#506782;font-weight:800}.custom-field-move button:disabled{opacity:.35;cursor:default}

.industry-settings-card{max-width:1120px;border-top:3px solid #1680db;background:linear-gradient(145deg,#fff 65%,#f4f9ff)}.industry-form{display:grid;gap:20px}.industry-form>label{display:grid;gap:7px;color:#183251;font-size:13px;font-weight:800}.industry-form label small{color:#718198;font-size:11px;font-weight:500;line-height:1.5}.industry-term-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.industry-term-grid label{display:grid;gap:7px;color:#30445f;font-size:12px;font-weight:750}.industry-term-grid input,.industry-form select{min-height:43px;border:1px solid #d4dfed;border-radius:9px;padding:10px 12px;background:#fff;color:#172b46;font:inherit}.industry-term-grid input:focus,.industry-form select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.12)}.industry-preview{display:grid;gap:11px;padding:17px;border:1px solid #d9e6f5;border-radius:12px;background:#f7fbff}.industry-preview>div{display:flex;flex-wrap:wrap;gap:9px}.industry-preview>div span{padding:9px 13px;border:1px solid #d6e6f8;border-radius:9px;background:#fff;color:#15345a;font-size:13px;font-weight:800}.industry-settings-card .settings-actions{margin-top:0}
@media(max-width:680px){.industry-term-grid{grid-template-columns:1fr}.industry-preview>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.industry-preview>div span{text-align:center}}

.print-brand>div:first-of-type{display:grid;gap:3px}
.print-logo-setting-preview.is-hidden{background:#f7f9fc;opacity:.78}.preview-brand.preview-logo-center{justify-content:center;flex-direction:column;text-align:center}.preview-brand.preview-logo-center>div{justify-items:center}.preview-brand.preview-logo-right{justify-content:flex-end;flex-direction:row-reverse;text-align:right}.preview-brand.preview-logo-right>div{justify-items:end}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.table-sort-link{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none;white-space:nowrap}.table-sort-link:hover,.table-sort-link.is-active{color:#0874d1}.orders-list-table th{white-space:nowrap}.orders-list-table td{vertical-align:middle}.order-inline-status-form{display:flex;align-items:center;gap:6px;min-width:205px}.order-inline-status-form select{min-width:0;width:145px;padding:7px 25px 7px 8px;font-size:11px}.order-inline-status-form .button{flex:0 0 auto;min-height:33px;padding:7px 9px}.orders-list-table .document-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:140px}.orders-list-table .document-actions .button{white-space:nowrap}.settings-tabs{margin-bottom:18px}.settings-section-intro{margin:6px 0 16px;padding:15px 18px;border:1px solid #dce7f3;border-radius:12px;background:linear-gradient(110deg,#f7fbff,#fff)}.settings-section-intro h2{margin:3px 0 4px;color:#183251;font-size:18px}.settings-section-intro p{margin:0;color:#718198;font-size:12px}.settings-section-intro .eyebrow{color:#1680db;font-size:10px;font-weight:850;letter-spacing:.08em}
@media(max-width:680px){.order-inline-status-form{min-width:220px}.orders-list-table .document-actions{min-width:145px}.settings-tabs{display:grid;grid-template-columns:1fr;width:100%}.settings-tabs a{text-align:left}}
@media(max-width:820px){.portal-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.portal-support-guide{grid-template-columns:1fr}.portal-capability-grid{grid-template-columns:1fr}}
.accountant-access-panel{padding:0}.accountant-access-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:none}.accountant-access-summary::-webkit-details-marker{display:none}.accountant-access-summary>span:first-child{display:grid;gap:4px}.accountant-access-summary strong{color:var(--navy);font-size:15px}.accountant-access-summary small{color:var(--muted);font-size:11px;font-weight:400}.accountant-access-summary .button{pointer-events:none}.accountant-access-content{padding:0 20px 20px}.accountant-access-content>p{margin:0 0 15px;color:var(--muted);font-size:12px;line-height:1.55}.accountant-access-panel[open] .accountant-access-summary{border-bottom:1px solid #e5ebf3}.accountant-access-panel[open] .accountant-access-summary .button{color:#fff;background:#176fd1;border-color:#176fd1}
.sales-archive-tools{border-top:3px solid #1680db}.sales-archive-tools>.panel-head{margin-bottom:17px}.sales-archive-tools>.panel-head h2{margin:2px 0 4px;color:#183251}.sales-archive-tools>.panel-head p{margin:0;color:#718198;font-size:12px;line-height:1.5}.sales-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sales-import-card{min-width:0;padding:18px;border:1px solid #dce6f2;border-radius:14px;background:linear-gradient(145deg,#f7fbff,#fff);box-shadow:0 5px 18px rgba(21,53,91,.04)}.sales-import-card-title{display:flex;align-items:center;gap:11px;margin-bottom:15px}.sales-import-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#e5f1ff;color:#0d6dc8;font-size:17px;font-weight:900}.sales-import-icon-file{background:#fff5d7;color:#a77700}.sales-import-card-title h3{margin:0;color:#183251;font-size:15px}.sales-import-card-title p{margin:3px 0 0;color:#718198;font-size:11px}.sales-ksef-sync-form,.sales-file-import-form{display:grid;gap:12px}.sales-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sales-date-range label,.sales-file-import-form label,.ksef-sales-editor-form label{display:grid;gap:6px;color:#30445f;font-size:11px;font-weight:750}.sales-date-range input,.sales-file-import-form input,.ksef-sales-editor-form input{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d4dfed;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.sales-date-range input:focus,.sales-file-import-form input:focus,.ksef-sales-editor-form input:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}.sales-file-import-form input[type=file]{padding:7px;background:#fbfdff}.sales-import-card .mini{margin:0;color:#718198;font-size:10px;line-height:1.5}.sales-sync-progress{display:grid;gap:7px;min-height:45px;padding:9px 11px;border:1px solid #e0eaf5;border-radius:9px;background:#fff}.sales-sync-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#526984;font-size:10px}.sales-sync-status-row strong{color:#176fd1}.sales-sync-progress progress{width:100%;height:7px;accent-color:#1875d1}.sales-import-card .button{justify-self:start}.sales-import-card .notice{margin:0;padding:10px 12px;font-size:11px}
.ksef-sales-editor{border-top:3px solid #176fd1}.ksef-sales-editor>.panel-head{margin-bottom:19px}.ksef-sales-editor>.panel-head h2{margin:3px 0 5px;color:#183251}.ksef-sales-editor>.panel-head p{margin:0;color:#718198;font-size:12px}.invoice-meta-grid{display:grid;grid-template-columns:1fr 1.25fr 1fr 1fr 1fr;gap:11px;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:#f7faff}.invoice-meta-grid label{display:grid;align-content:start;gap:6px;color:#536984;font-size:10px;font-weight:800}.invoice-meta-grid input,.ksef-sales-editor-form .invoice-meta-grid input{min-height:39px}.field-static{display:flex;align-items:center;min-height:40px;padding:8px 10px;border:1px solid #dce5f0;border-radius:9px;background:#edf3f9;color:#25415f;font-size:12px;font-weight:700}.invoice-parties-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}.invoice-party-card{display:grid;align-content:start;gap:11px;min-width:0;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:#fff}.invoice-party-heading{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e8eef6}.invoice-party-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#e8f2ff;color:#176fd1;font-size:10px;font-weight:900}.invoice-party-heading h3,.invoice-lines-heading h3{margin:0;color:#183251;font-size:14px}.invoice-party-heading p,.invoice-lines-heading p{margin:3px 0 0;color:#718198;font-size:10px}.invoice-party-card label{display:grid;gap:5px;color:#536984;font-size:10px;font-weight:750}.invoice-party-card input{font-size:12px}.invoice-party-card input[readonly],.invoice-meta-grid input[readonly]{background:#f1f5f9;color:#64758a}.invoice-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 10px}.invoice-lines-count{padding:6px 9px;border-radius:8px;background:#edf4fc;color:#54708f;font-size:9px;font-weight:800;white-space:nowrap}.ksef-sales-editor-form .notice{margin-top:13px}.correction-reason-field{margin-top:13px}.ksef-sales-editor-form .settings-actions{margin-top:15px}.sales-invoice-print .archive-import-note{margin:14px 0;padding:10px 12px;border:1px solid #e5eaf1;border-radius:8px;background:#f5f8fc;color:#526984;font-size:11px;line-height:1.5}
@media(max-width:1100px){.invoice-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sales-import-grid,.invoice-parties-grid{grid-template-columns:1fr}.invoice-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sales-import-card{padding:13px}.invoice-meta-grid{grid-template-columns:1fr;padding:12px}.sales-date-range{grid-template-columns:1fr}.invoice-lines-heading{align-items:flex-start;flex-direction:column}.sales-import-card .button{width:100%}}
.invoice-payment-card{margin-top:16px;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:linear-gradient(145deg,#f7faff,#fff)}.invoice-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.invoice-payment-grid label{display:grid;align-content:start;gap:6px;color:#536984;font-size:10px;font-weight:750}.invoice-payment-grid input,.invoice-payment-grid select{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d4dfed;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.invoice-payment-grid input:focus,.invoice-payment-grid select:focus,.sales-archive-filter input:focus,.sales-archive-filter select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}.invoice-payment-grid small{color:#718198;font-size:9px;font-weight:500;line-height:1.45}.invoice-currency-static{display:grid;align-content:center;gap:3px;min-height:64px}.invoice-currency-static strong{color:#718198;font-size:9px}.sales-invoice-archive{border-top:3px solid #1680db}.sales-archive-filter{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:0 0 13px;padding:12px;border:1px solid #e2eaf4;border-radius:10px;background:#f8fbff}.sales-archive-filter label{display:grid;gap:5px;min-width:min(370px,100%);color:#536984;font-size:10px;font-weight:750}.sales-archive-filter label:nth-child(2){min-width:110px}.sales-archive-filter input,.sales-archive-filter select{min-height:37px;padding:8px 10px;border:1px solid #d4dfed;border-radius:8px;background:#fff;color:#193553;font:inherit;font-size:12px}.sales-archive-pagination{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:13px;color:#5c718a;font-size:11px}.sales-invoice-payment-print{display:flex;gap:9px 18px;flex-wrap:wrap;margin:14px 0;padding:12px 14px;border:1px solid #dce6f2;border-radius:9px;background:#f7faff;color:#36516f;font-size:11px}.sales-invoice-payment-print strong{width:100%;color:#193553;font-size:12px}.sales-invoice-payment-print span{display:inline-block}@media(max-width:760px){.invoice-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-archive-filter label{min-width:100%}}@media(max-width:480px){.invoice-payment-grid{grid-template-columns:1fr}.sales-archive-pagination{justify-content:center}}
.sales-warehouse-tabs{gap:10px;margin:4px 0 18px;padding:0 2px;overflow-x:auto}.sales-warehouse-tabs a{gap:9px;padding:12px 15px;border:1px solid transparent;border-radius:11px 11px 0 0;color:#61748c}.sales-warehouse-tabs a span{display:inline-grid;min-width:28px;height:22px;place-items:center;padding:0 6px;border:1px solid #dbe6f2;border-radius:7px;background:#f2f6fb;color:#385675;font-size:10px;font-weight:850}.sales-warehouse-tabs a.active{border-color:#dce7f3 #dce7f3 #fff;background:#fff;color:#0b60c5;box-shadow:0 -2px 0 #1478e8 inset}.sales-warehouse-tabs a.active span{border-color:#c8e0ff;background:#eaf4ff;color:#075ec8}.document-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:220px}.document-row-actions .button{white-space:nowrap}.return-document-summary .panel-head{margin:0}.return-document-summary h2{margin:7px 0 3px;color:#193453;font-size:19px}.return-document-summary p{margin:0;color:#70829a;font-size:12px}.return-lines-list{display:grid;gap:9px}.return-line{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(150px,.8fr) minmax(150px,.8fr);align-items:center;gap:14px;padding:14px 15px;border:1px solid #e0e8f1;border-radius:12px;background:#fbfdff}.return-line-product,.return-line-meta{display:grid;gap:5px}.return-line-product strong,.return-line-meta strong{color:#1d3859;font-size:12px}.return-line-product small,.return-line-meta span{color:#77889e;font-size:10px}.return-line label{margin:0}.return-line input{margin-top:5px}.return-document-summary+.notice{margin-top:12px}@media(max-width:760px){.return-line{grid-template-columns:1fr 1fr}.return-line-product{grid-column:1/-1}.document-row-actions{min-width:0}.sales-warehouse-tabs a{padding:10px 12px;font-size:11px}}

/* Compact primary navigation groups and readable portal account controls */
.sidebar nav .nav-group{position:relative;min-width:0}
.sidebar nav .nav-group-summary{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 11px;border:1px solid transparent;border-radius:10px;color:#d6e2f1;font-size:13px;font-weight:700;list-style:none;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.sidebar nav .nav-group-summary::-webkit-details-marker{display:none}
.sidebar nav .nav-group-summary:hover,.sidebar nav .nav-group[open]>.nav-group-summary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.sidebar nav .nav-group-summary .nav-group-chevron{margin-left:auto;color:#99b5d5;font-size:17px;line-height:1;transition:transform .15s ease}
.sidebar nav .nav-group[open]>.nav-group-summary .nav-group-chevron{transform:rotate(180deg)}
.sidebar nav .nav-group-active>.nav-group-summary{background:rgba(30,126,237,.18);border-color:rgba(115,178,255,.2);color:#fff}
.nav-submenu{display:grid;gap:3px;margin:4px 0 5px 18px;padding:4px 0 4px 12px;border-left:1px solid rgba(174,202,235,.26)}
.sidebar nav .nav-subitem{display:flex;align-items:center;min-height:35px;padding:7px 9px;border:1px solid transparent;border-radius:8px;color:#b9cbe0;font-size:11px;font-weight:650;line-height:1.35;text-decoration:none}
.sidebar nav .nav-subitem:hover{background:rgba(255,255,255,.08);color:#fff;text-decoration:none}
.sidebar nav .nav-subitem.nav-active{background:rgba(30,126,237,.24);border-color:rgba(115,178,255,.22);color:#fff}
.portal-organization-table{table-layout:fixed;min-width:1390px}
.portal-organization-table th:nth-child(1),.portal-organization-table td:nth-child(1){width:300px}
.portal-organization-table th:nth-child(2),.portal-organization-table td:nth-child(2){width:120px}
.portal-organization-table th:nth-child(3),.portal-organization-table td:nth-child(3){width:155px}
.portal-organization-table th:nth-child(4),.portal-organization-table td:nth-child(4){width:110px}
.portal-organization-table th:nth-child(5),.portal-organization-table td:nth-child(5){width:465px}
.portal-organization-table th:nth-child(6),.portal-organization-table td:nth-child(6){width:240px}
.portal-organization-table td{vertical-align:top;overflow-wrap:anywhere}
.plan-select-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;max-width:100%;margin-top:10px;align-items:stretch}
.plan-select-form select,.plan-select-form input{width:100%;min-width:0;min-height:37px;padding:7px 9px;font-size:11px}
.plan-select-form input,.plan-select-form .button{grid-column:1/-1}
.plan-select-form .button{width:100%;white-space:normal;line-height:1.3}
.portal-status-form,.portal-account-status-form{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;max-width:210px;margin-top:9px}
.portal-status-form select,.portal-account-status-form select{width:100%;min-width:0;min-height:36px;padding:7px 9px;font-size:11px}
.portal-status-form .button,.portal-account-status-form .button{width:100%;white-space:normal;line-height:1.3}
.portal-account-actions{display:grid;gap:7px;min-width:190px;max-width:225px}
.portal-account-actions form{margin:0}
.portal-account-actions .button{width:100%;white-space:normal;line-height:1.3;text-align:center}
.account-deleted{background:#f0f2f5;color:#66758a}
.portal-account-deleted-row{background:#f8f9fb;color:#68778a}
.portal-account-deleted-row .cell-sub{color:#8a96a5}
@media(max-width:680px){.sidebar nav .nav-group{flex:0 0 auto}.sidebar nav .nav-group[open]{flex:1 0 100%;min-width:0}.sidebar nav .nav-group-summary{min-height:36px;padding:8px 10px;gap:7px;font-size:11px;white-space:nowrap}.sidebar nav .nav-group-summary .nav-icon{width:17px;height:17px;flex:0 0 17px}.sidebar nav .nav-group-summary .nav-svg{width:16px;height:16px}.sidebar nav .nav-group[open]>.nav-submenu{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:4px 0 0;padding:6px 0 0;border-left:0;border-top:1px solid rgba(174,202,235,.26)}.sidebar nav .nav-subitem{min-height:34px;padding:7px 8px;font-size:10px}.portal-organization-table{min-width:1390px}.plan-select-form{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-select-form select,.plan-select-form input{min-width:0}.portal-status-form,.portal-account-status-form{max-width:210px}.portal-account-actions{min-width:175px}.portal-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mobile-only layout: expose every menu destination and keep wide content inside its own scroller. */
@media(max-width:680px){
  html,body.app-screen{width:100%;max-width:100%;overflow-x:hidden}
  body.app-screen,.app-shell,.main-area,.content-wrap,.panel,.page-heading,.dashboard-grid,.stats-grid,.form-grid{min-width:0;max-width:100%}
  .app-shell{display:block;overflow-x:clip}
  .sidebar{display:block;width:100%;max-width:100%;padding:12px;overflow:visible}
  .org-label{margin:0 0 10px}
  .mobile-nav-heading{display:flex;grid-column:1/-1;align-items:baseline;justify-content:space-between;padding:2px 3px 4px;color:#dce8f7}
  .mobile-nav-heading strong{font-size:10px;letter-spacing:.1em;text-transform:uppercase}
  .mobile-nav-heading span{color:#9fb4cf;font-size:10px}
  .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;overflow:visible}
  .sidebar nav>*{min-width:0;max-width:100%}
  .sidebar nav a.nav-item,.sidebar nav .nav-item-disabled{width:100%;min-width:0;min-height:45px;padding:8px 9px;font-size:11px;line-height:1.25;white-space:normal}
  .sidebar nav a.nav-item>span:last-child,.sidebar nav .nav-disabled-label{min-width:0;overflow-wrap:anywhere}
  .sidebar nav .nav-group{grid-column:auto;min-width:0;width:100%}
  .sidebar nav .nav-group[open]{grid-column:1/-1}
  .sidebar nav .nav-group-summary{width:100%;min-width:0;min-height:45px;padding:8px 9px;gap:7px;font-size:11px;line-height:1.25;white-space:normal}
  .sidebar nav .nav-group-summary>span:nth-child(2){flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav .nav-group-summary .nav-group-chevron{flex:0 0 auto}
  .sidebar nav .nav-group[open]>.nav-submenu{position:static;grid-template-columns:repeat(2,minmax(0,1fr));margin:5px 0 0;padding:7px 0 0}
  .sidebar nav .nav-subitem{min-width:0;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav>.nav-primary{grid-column:1/-1;justify-content:center}
  .topbar{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;justify-content:stretch;align-items:center;gap:6px;padding:9px 12px}
  .mobile-brand{display:block;font-size:17px;line-height:1.2}
  .account{width:100%;min-width:0;max-width:100%;justify-content:space-between;gap:6px;flex-wrap:nowrap;font-size:11px}
  .account-name{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .user-dot{flex:0 0 28px;width:28px;height:28px}
  .account .plan-pill{display:inline-flex;flex:0 0 auto;max-width:112px;padding:5px 8px;font-size:10px}
  .account form{flex:0 0 auto}
  .account .link-button{padding:7px 5px;white-space:nowrap}
  .role-pill{display:none}
  .content-wrap{width:100%;margin:0;padding:22px 12px}
  .main-area{width:100%;overflow-x:clip}
  .table-wrap{width:100%;min-width:0;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .section-tabs,.module-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .inventory-actions{min-width:0;max-width:100%;flex-wrap:wrap}
}


/* Mobile portrait navigation drawer and horizontal overflow containment. */
.mobile-topbar-brand-row{display:none}
.mobile-menu-toggle,.mobile-menu-close,.mobile-menu-backdrop{display:none}
@media(max-width:680px){
  html,body.app-screen{min-width:0;width:100%;max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none}
  body.app-screen{position:relative}
  .app-shell{position:relative;width:100%;min-width:0;max-width:100%;overflow-x:visible}
  .main-area,.content-wrap{width:100%;min-width:0;max-width:100%;overflow-x:clip}
  .content-wrap>*{min-width:0;max-width:100%}
  .content-wrap .panel,.content-wrap .page-heading,.content-wrap .stats-grid,.content-wrap .dashboard-grid,.content-wrap .form-grid,.content-wrap .form-panel,.content-wrap .order-detail-layout,.content-wrap .search-bar,.content-wrap .heading-actions,.content-wrap .settings-tabs{min-width:0;max-width:100%}
  .table-wrap,.invoice-lines-table-wrap,.section-tabs,.module-tabs,.sales-warehouse-tabs{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .inventory-actions{min-width:0;max-width:100%;flex-wrap:wrap}
  .mobile-topbar-brand-row{display:flex;align-items:center;gap:11px;width:100%;min-width:0}
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:91px;min-height:42px;padding:8px 12px;border:1px solid #d8e4f2;border-radius:11px;background:#f5f9fe;color:#14375f;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(23,56,94,.06)}
  .mobile-menu-toggle:focus-visible,.mobile-menu-close:focus-visible{outline:3px solid rgba(8,116,237,.28);outline-offset:2px}
  .mobile-menu-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mobile-brand{display:block;margin-left:auto;font-size:17px;line-height:1.2}
  .topbar{grid-template-columns:minmax(0,1fr);gap:9px}
  .sidebar{position:fixed;z-index:1201;inset:0 auto 0 0;display:flex;width:min(86vw,330px);max-width:calc(100vw - 48px);height:100vh;height:100dvh;min-height:0;flex:0 0 auto;flex-direction:column;gap:0;padding:16px 14px calc(16px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#102341,#0c1c34);box-shadow:14px 0 38px rgba(7,20,39,.22);transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease}
  .app-shell.mobile-menu-open .sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
  .sidebar .brand{display:flex;flex:0 0 auto;align-items:center;margin:2px 0 14px;padding:0 4px;font-size:20px}
  .sidebar .brand-icon{width:38px;height:38px;flex:0 0 38px}
  .org-label{flex:0 0 auto;width:calc(100% - 10px);min-height:44px;height:auto;margin:0 5px 14px;padding:10px 11px;overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;line-height:1.35}
  .mobile-nav-heading{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:3px 3px 9px;border-bottom:1px solid rgba(174,202,235,.2);color:#dce8f7}
  .mobile-nav-heading>span{display:grid;gap:2px}
  .mobile-nav-heading strong{font-size:12px;letter-spacing:.1em;text-transform:uppercase}
  .mobile-nav-heading small{color:#9fb4cf;font-size:10px}
  .mobile-menu-close{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid rgba(207,225,247,.2);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;font-size:25px;line-height:1;cursor:pointer}
  .sidebar nav{display:grid;flex:0 0 auto;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px;width:100%;overflow:visible}
  .sidebar nav>*{min-width:0;max-width:100%}
  .sidebar nav a.nav-item,.sidebar nav .nav-item-disabled,.sidebar nav .nav-group-summary{display:flex;width:100%;min-width:0;min-height:46px;align-items:center;gap:11px;padding:10px 11px;border-radius:10px;font-size:13px;line-height:1.3;white-space:normal}
  .sidebar nav a.nav-item>span:last-child,.sidebar nav .nav-disabled-label,.sidebar nav .nav-group-summary>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}
  .sidebar nav a.nav-item .nav-icon,.sidebar nav .nav-item-disabled .nav-icon,.sidebar nav .nav-group-summary .nav-icon{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;color:#9fc8ff}
  .sidebar nav a.nav-item .nav-svg,.sidebar nav .nav-item-disabled .nav-svg,.sidebar nav .nav-group-summary .nav-svg{display:block;width:20px;height:20px}
  .sidebar nav .nav-group{grid-column:auto;width:100%;min-width:0}
  .sidebar nav .nav-group[open]{grid-column:auto}
  .sidebar nav .nav-group-summary{justify-content:flex-start}
  .sidebar nav .nav-group-summary .nav-group-chevron{flex:0 0 auto;margin-left:auto}
  .sidebar nav .nav-group[open]>.nav-submenu{position:static;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:3px 0 5px 17px;padding:4px 0 4px 13px;border-top:0;border-left:1px solid rgba(174,202,235,.26)}
  .sidebar nav .nav-subitem{min-width:0;min-height:40px;padding:9px 10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav>.nav-primary{grid-column:auto;justify-content:flex-start}
  .sidebar-foot{display:grid;margin-top:auto;padding:16px 7px 3px}
  .mobile-menu-backdrop{position:fixed;z-index:1200;inset:0;display:block;width:100%;height:100%;border:0;background:rgba(8,20,38,.48);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
  .app-shell.mobile-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  body.mobile-menu-is-open{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.sidebar,.mobile-menu-backdrop{transition:none!important}}

.remember-login span{display:grid;gap:3px}.remember-login small{font-size:11px;line-height:1.4}

.document-row-actions form,.inline-delete-form,.invoice-delete-form{display:inline-flex;margin:0}.invoice-delete-form{margin-top:12px}

/* Salon appointments and per-device temperature entry */
.temperature-today-panel{margin-bottom:18px;border-top:3px solid #1479ec}.temperature-today-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.temperature-device-card{min-width:0;padding:17px;border:1px solid #dce6f2;border-radius:15px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 7px 22px rgba(19,55,96,.05)}.temperature-device-heading{display:flex;align-items:center;gap:12px}.temperature-device-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:13px;background:#eaf3ff;color:#0874ed;font-size:22px}.temperature-device-heading .eyebrow{margin-bottom:2px;color:#7385a0;font-size:10px}.temperature-device-heading h3{margin:0;color:#142a49;font-size:16px}.temperature-device-heading small{display:block;margin-top:3px;color:#71819a}.temperature-first-reading{margin:15px 0;color:#72839a;font-size:12px}.temperature-today-history{display:grid;gap:6px;margin:14px 0}.temperature-today-history>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:9px;background:#edf7f2}.temperature-today-history strong{color:#08754f;font-size:18px}.temperature-today-history span{color:#56766c;font-size:11px;text-align:right}.temperature-today-form{display:grid;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid #e5edf6}.temperature-today-form label{font-size:12px;font-weight:800}.temperature-today-form label span{color:#75849a;font-weight:500}.temperature-today-input-row{display:flex;gap:8px}.temperature-today-input-row input{min-width:0;flex:1}.temperature-device-type-label{display:block;margin-bottom:4px;color:#74849a;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.temperature-entry-link{display:inline-flex;padding:5px 8px;border-radius:7px;background:#edf4fc;color:#537095;font-size:10px}.temperature-calendar-table thead th strong{display:block}.temperature-calendar-table thead th small{display:block}.fridge-add-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}.fridge-card>div{display:grid;gap:4px}
.beauty-week-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.beauty-week-nav>strong{min-width:120px;text-align:center;color:#233e62;font-size:13px}.beauty-booking-panel{border-top:3px solid #8b63d9}.beauty-appointment-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.beauty-appointment-form>label{min-width:0}.beauty-appointment-form input,.beauty-appointment-form select{min-width:0}.beauty-new-client-fields{display:none;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #dce5f2;border-radius:13px;background:#f7f9fd}.beauty-new-client-fields.is-visible{display:grid}.beauty-new-client-heading{grid-column:1/-1;display:grid;gap:3px}.beauty-new-client-heading strong{color:#162d4c}.beauty-new-client-heading span{color:#71819a;font-size:12px}.beauty-calendar-panel{margin-top:18px}.beauty-calendar-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 13px}.beauty-calendar-legend>span{display:inline-flex;align-items:center;gap:6px;color:#687b95;font-size:11px}.beauty-calendar-legend i{width:9px;height:9px;border-radius:50%;background:var(--service-color,#3286e8)}.beauty-week-grid{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:9px;overflow-x:auto;padding:1px 1px 7px}.beauty-day-column{min-width:130px;min-height:210px;overflow:hidden;border:1px solid #e0e8f2;border-radius:13px;background:#fbfcfe}.beauty-day-column.is-today{border-color:#8bbcff;background:#f5f9ff;box-shadow:inset 0 0 0 1px #c9e0ff}.beauty-day-column>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;padding:9px;border-bottom:1px solid #e6edf5;background:rgba(238,244,251,.72)}.beauty-day-column>header>span{color:#72839a;font-size:10px;text-transform:uppercase}.beauty-day-column>header>strong{color:#18365d;font-size:13px}.beauty-day-column>header>a{color:#0869e8;font-size:10px;font-weight:800;text-decoration:none}.beauty-day-appointments{display:grid;align-content:start;gap:8px;padding:8px}.beauty-empty-day{margin:7px 0;color:#9aa8b9;font-size:11px;text-align:center}.beauty-appointment-card{display:grid;gap:3px;padding:9px 9px 9px 11px;border:1px solid color-mix(in srgb,var(--service-color,#3286e8) 25%,white);border-left:4px solid var(--service-color,#3286e8);border-radius:9px;background:color-mix(in srgb,var(--service-color,#3286e8) 7%,white);overflow-wrap:anywhere}.beauty-appointment-card.is-cancelled{opacity:.56;filter:grayscale(.8)}.beauty-appointment-time{color:var(--service-color,#3286e8);font-size:11px;font-weight:900}.beauty-appointment-client{color:#142a49;font-size:12px;line-height:1.3}.beauty-appointment-service,.beauty-appointment-employee,.beauty-appointment-phone{color:#60728b;font-size:10px;line-height:1.35}.beauty-appointment-phone{text-decoration:none}.beauty-cancelled-label{color:#8a4a54;font-size:10px;font-weight:800}.beauty-appointment-actions{display:flex;gap:10px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(100,120,145,.13)}.beauty-appointment-actions a,.beauty-appointment-actions button{padding:0;border:0;background:transparent;color:#456586;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}.beauty-appointment-actions form{margin:0}.beauty-service-settings{margin-top:18px;padding:0;overflow:hidden}.beauty-service-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;list-style:none;cursor:pointer}.beauty-service-settings>summary::-webkit-details-marker{display:none}.beauty-service-settings>summary>span:first-child{display:grid;gap:4px}.beauty-service-settings>summary strong{color:#193553}.beauty-service-settings>summary small{color:#74849a;font-size:11px}.beauty-settings-chevron{color:#607793;font-size:20px}.beauty-service-list{display:grid;gap:9px;padding:0 18px 18px}.beauty-service-row{display:grid;grid-template-columns:minmax(170px,1fr) 140px 100px auto auto;align-items:end;gap:10px;padding:12px;border:1px solid #e3eaf3;border-radius:11px;background:#fbfcfe}.beauty-service-row label{display:grid;gap:5px;color:#536883;font-size:11px;font-weight:800}.beauty-service-row input[type=color]{width:54px;height:38px;padding:3px}.beauty-service-add-row{border-style:dashed;background:#f7faff}
@media(max-width:900px){.beauty-week-grid{grid-template-columns:repeat(7,minmax(145px,1fr))}.fridge-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.beauty-service-row{grid-template-columns:repeat(2,minmax(0,1fr))}.beauty-service-row button{min-height:38px}}
@media(max-width:640px){.beauty-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.beauty-week-nav{width:100%;justify-content:space-between}.beauty-booking-panel .panel-head,.beauty-calendar-panel .panel-head,.temperature-today-panel .panel-head{align-items:flex-start;flex-direction:column;gap:10px}.beauty-appointment-form,.beauty-new-client-fields{grid-template-columns:minmax(0,1fr)}.beauty-new-client-fields>*{grid-column:1}.beauty-calendar-legend{justify-content:flex-start}.beauty-week-grid{grid-template-columns:minmax(0,1fr);overflow:visible}.beauty-day-column{min-width:0;min-height:130px}.beauty-day-column>header{grid-template-columns:52px 1fr auto}.beauty-day-appointments{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.fridge-add-form{grid-template-columns:minmax(0,1fr)}.temperature-today-grid{grid-template-columns:minmax(0,1fr)}.temperature-today-input-row{align-items:stretch}.temperature-today-input-row .button{white-space:nowrap}.beauty-service-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.beauty-service-row label:first-child{grid-column:1/-1}.beauty-service-row input[type=color]{height:42px}.beauty-service-add-row label:first-child{grid-column:1/-1}}

/* Rejestr temperatur: jawny wybór sprzętu i układ bez poziomego przewijania. */
.temperature-entry-form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(130px,.6fr) minmax(160px,.8fr) auto;align-items:end;gap:12px;margin:0 0 18px;padding:16px;border:1px solid #dbe7f4;border-radius:14px;background:#f6faff}
.temperature-entry-form label{display:grid;gap:7px;color:#25415f;font-size:12px;font-weight:800}
.temperature-entry-form label span{color:#72839a;font-weight:600}
.temperature-entry-form select,.temperature-entry-form input{width:100%;min-height:44px}
.temperature-entry-form>.button{min-height:44px;white-space:nowrap}
.temperature-today-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))}
.temperature-device-card.is-selected{border-color:#1680db;box-shadow:0 0 0 2px rgba(22,128,219,.1),0 8px 24px rgba(19,55,96,.08)}
.temperature-select-device{margin-top:10px;min-height:38px}
.temperature-month-devices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));align-items:start;gap:14px}
.temperature-month-device{min-width:0;overflow:hidden;border:1px solid #dce6f2;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(19,55,96,.04)}
.temperature-month-device-heading{display:flex;align-items:center;gap:11px;padding:14px;border-bottom:1px solid #e6edf5;background:linear-gradient(135deg,#f6faff,#fff)}
.temperature-month-device-heading>div{min-width:0;flex:1}
.temperature-month-device-heading h3{margin:0;color:#172f50;font-size:15px;overflow-wrap:anywhere}
.temperature-month-device-heading small{display:block;margin-top:3px;color:#71819a;font-size:11px}
.temperature-month-count{flex:0 0 auto;padding:6px 9px;border-radius:10px;background:#edf5ff;color:#1768b2;font-size:11px;font-weight:800;text-align:right}
.temperature-month-count small{color:#587493;font-size:10px;font-weight:700}
.temperature-month-readings{display:grid;gap:0}
.temperature-month-reading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 13px;border-bottom:1px solid #edf1f6}
.temperature-month-reading:last-child{border-bottom:0}
.temperature-month-reading-main{display:flex;align-items:baseline;gap:9px;min-width:0}
.temperature-month-reading-main strong{color:#08754f;font-size:16px;white-space:nowrap}
.temperature-month-reading-main span,.temperature-month-reading>small{color:#657991;font-size:11px;overflow-wrap:anywhere}
.temperature-month-reading>small{grid-column:1/-1}
.temperature-reading-actions{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.temperature-delete-form{margin:0}
.temperature-delete-button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:4px;padding:6px 9px;border:1px solid #f0c6c2!important;border-radius:9px;background:#fff6f5!important;color:#a4322b!important;font-size:10px;font-weight:800;white-space:nowrap}
.temperature-delete-button:hover{border-color:#df958e!important;background:#ffebe9!important;color:#8c211c!important}
.temperature-month-empty{margin:0;padding:14px;color:#71819a;font-size:12px}
.temperature-print-summary{margin:12px 0 16px;color:#52677f;font-size:10px;font-weight:700}
.temperature-print-device{margin:0 0 16px;break-inside:auto}
.temperature-print-device h2{margin:14px 0 3px;color:#183553;font-size:13px;break-after:avoid}
.temperature-print-device h2 small{color:#657991;font-size:9px;font-weight:500}
.temperature-print-device>p{margin:0 0 7px;color:#657991;font-size:9px}
.temperature-print-device .table-wrap{overflow:visible}
.temperature-print-table{width:100%;table-layout:fixed;border-collapse:collapse}
.temperature-print-table th:first-child,.temperature-print-table td:first-child{width:20%}
.temperature-print-table th:nth-child(2),.temperature-print-table td:nth-child(2){width:38%}
.temperature-print-table th:nth-child(3),.temperature-print-table td:nth-child(3){width:42%}
.temperature-print-entry{padding:2px 0}
.temperature-print-missing{color:#8693a3;font-style:italic}
@media(max-width:640px){.temperature-entry-form{grid-template-columns:minmax(0,1fr);padding:13px}.temperature-entry-form>.button{width:100%}.temperature-today-panel .panel-head>.button{width:100%}.temperature-month-devices{grid-template-columns:minmax(0,1fr)}.temperature-month-reading{grid-template-columns:minmax(0,1fr);gap:5px}.temperature-reading-actions{grid-column:1;grid-row:auto;justify-content:flex-start}.temperature-month-readings{max-height:none}}
@media print{.temperature-print-summary{margin-bottom:10px}.temperature-print-device h2{font-size:11px}.temperature-print-device>p{font-size:8px}.temperature-print-table th,.temperature-print-table td{padding:4px 5px;font-size:8px}.temperature-print-table thead{display:table-header-group}.temperature-print-table tr{break-inside:avoid}.temperature-print-entry{padding:1px 0}}

/* Keep the equipment handover protocol compact on a single A4 sheet. */
@media print{
  .print-handover-sheet{font-size:9px;line-height:1.25}
  .print-handover-sheet{min-height:0!important;height:auto!important;break-after:avoid-page;page-break-after:avoid}
  .print-handover-sheet .print-brand{gap:10px;padding-bottom:6px;border-bottom-width:1px}
  .print-handover-sheet .print-brand strong{font-size:15px}
  .print-handover-sheet .print-brand span,.print-handover-sheet .print-document-number{font-size:8px}
  .print-handover-sheet .print-company-logo{max-width:125px;max-height:40px}
  .print-handover-sheet .print-title-row{margin-top:7px}
  .print-handover-sheet .print-title-row>h1{margin:0;font-size:18px;line-height:1.15}
  .print-handover-sheet .print-document-reference{margin-bottom:5px;padding:4px 7px;font-size:8px}
  .print-handover-sheet .print-document-reference strong{font-size:10px}
  .print-handover-sheet .print-lead{margin:3px 0 6px;font-size:8px;line-height:1.25}
  .print-handover-sheet .print-meta{gap:4px}
  .print-handover-sheet .print-meta>div,.print-handover-sheet .print-grid>div{gap:2px;padding:5px 7px;border-radius:6px}
  .print-handover-sheet .print-meta span,.print-handover-sheet .print-grid span{font-size:8px}
  .print-handover-sheet .print-meta strong,.print-handover-sheet .print-grid strong{font-size:9px;line-height:1.25}
  .print-handover-sheet .print-section{margin-top:7px}
  .print-handover-sheet .print-section h2{margin-bottom:4px;padding-bottom:3px;font-size:10px}
  .print-handover-sheet .print-grid{gap:4px}
  .print-handover-sheet .print-multiline{font-size:8.5px;line-height:1.25}
  .print-handover-sheet .work-scope-print-section .print-multiline{overflow-wrap:anywhere}
  .print-handover-sheet .work-scope-value{min-height:20px;font-size:8.5px;line-height:1.25}
  .print-handover-sheet .print-signatures{gap:28px;margin:16px 0 8px}
  .print-handover-sheet .print-signatures>div{gap:3px;min-height:25px}
  .print-handover-sheet .print-signatures span{font-size:7.5px}
  .print-handover-sheet .print-signatures strong{font-size:8px}
  .print-handover-sheet .print-custom-qr{gap:7px;margin-top:6px;padding:4px;border-color:#e1e7ee;border-radius:6px}
  .print-handover-sheet .print-custom-qr>div:first-child{gap:2px}
  .print-handover-sheet .print-custom-qr strong{font-size:8px}
  .print-handover-sheet .print-custom-qr span{font-size:7px}
  .print-handover-sheet .print-custom-qr [data-ksef-qr]{width:52px;height:52px}
  .print-handover-sheet .print-footer{margin-top:5px;padding-top:4px;font-size:7px}
}

/* Make temperature corrections easy to find for company owners and authorized staff. */
.temperature-edit-access-hint{display:flex;align-items:flex-start;gap:11px;margin:10px 0 16px;padding:13px 15px;border:1px solid #b9d8fa;border-left:4px solid #1678e8;border-radius:11px;background:#f1f7ff;color:#234365}
.temperature-owner-tools-hint{border-color:#f0d4a0;border-left-color:#dc9b17;background:#fff9ec;color:#614a20}
.temperature-owner-tools-hint .temperature-edit-access-icon{background:#fff0ca;color:#956400}
.temperature-owner-tools-hint strong{color:#6e4a00}
.temperature-owner-tools-hint p{color:#715e3d}
.temperature-edit-access-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:#dcecff;color:#075ec8;font-size:19px;font-weight:800}
.temperature-edit-access-hint strong{display:block;margin:1px 0 3px;color:#123c68;font-size:12px}
.temperature-edit-access-hint p{margin:0;color:#526b86;font-size:11px;line-height:1.5}
.temperature-reading-edit.button{display:inline-flex;width:auto;min-height:34px;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border-color:#b8d5f5;background:#f3f8ff;color:#135fae;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
.temperature-reading-edit.button:hover{border-color:#7eb4ed;background:#e8f3ff;color:#0a4e94;text-decoration:none}
@media(max-width:640px){.temperature-edit-access-hint{padding:11px 12px}.temperature-reading-actions .button{min-height:40px}.temperature-delete-form{display:inline-flex}}
.inventory-writeoff-form-panel{border-top:3px solid #d9a219}.writeoff-safety-badge{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #bfe5d3;border-radius:999px;background:#eefaf4;color:#16754d;font-size:11px;font-weight:800;white-space:nowrap}.inventory-writeoff-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.inventory-writeoff-form textarea{min-height:76px;resize:vertical}.inventory-writeoff-archive{margin-top:18px}.inventory-writeoff-archive .panel-head{align-items:center}.inventory-writeoff-archive table{min-width:800px}.writeoff-print-sheet .print-brand{margin-bottom:24px}.writeoff-print-sheet .operations-table tfoot th{padding-top:13px;border-top:2px solid #9bb1cc;text-align:right}.writeoff-print-sheet .operations-table tfoot th:first-child{text-align:right}
.inventory-writeoff-archive .status-pill.status-warning{background:#fff4d6;color:#8b5e00}.inventory-writeoff-archive .status-pill.status-neutral{background:#edf1f6;color:#52647a}
@media(max-width:640px){.inventory-writeoff-form{grid-template-columns:minmax(0,1fr)}.inventory-writeoff-archive .panel-head{align-items:flex-start;flex-direction:column}.writeoff-safety-badge{align-self:flex-start}}

.inventory-stock-choice{margin:0;padding:14px 16px;border:1px solid #d8e1ef;border-radius:14px;background:#f7f9fc}.inventory-stock-choice legend{padding:0 6px;color:#20395b;font-size:13px;font-weight:800}.inventory-stock-choice .check-row{display:flex;align-items:flex-start;gap:10px;margin:0}.inventory-stock-choice .check-row input{flex:0 0 auto;margin-top:3px}.inventory-stock-choice .check-row span{display:grid;gap:4px}.inventory-stock-choice .check-row strong{color:#19304f;font-size:13px}.inventory-stock-choice .check-row small{color:#60728c;font-size:12px;line-height:1.5}.inventory-writeoff-archive table{min-width:1000px}.writeoff-print-sheet .operations-table{min-width:0;width:100%;table-layout:auto;font-size:11px}.writeoff-print-sheet .operations-table th,.writeoff-print-sheet .operations-table td{padding:7px 6px;white-space:normal;overflow-wrap:anywhere}.writeoff-print-sheet .print-note{margin-top:12px;color:#53657d;font-size:10px}

/* Salon: kalendarz, który jest pierwszym ekranem pracy, z kartą klienta i historią wizyt. */
.beauty-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.beauty-workspace{display:flex;flex-direction:column;gap:18px}.beauty-calendar-panel{order:-1;margin-top:0;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff 0%,#fcfaff 100%)}.beauty-booking-panel{order:0;scroll-margin-top:22px}.beauty-calendar-panel>.panel-head{align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #ece7f6}.beauty-week-grid{grid-template-columns:repeat(7,minmax(122px,1fr));gap:10px;padding:13px 1px 2px}.beauty-day-column{min-height:235px;border-color:#e5e1ed;background:#fff;box-shadow:0 5px 16px rgba(36,31,64,.035)}.beauty-day-column.is-today{border-color:#a889e8;background:#fbf8ff;box-shadow:inset 0 0 0 1px #d9c9f4,0 7px 18px rgba(97,68,153,.08)}.beauty-day-column>header{grid-template-columns:auto 1fr auto;gap:5px 7px;min-height:67px;padding:10px 9px;background:linear-gradient(135deg,#f7f4fc,#f4f7ff)}.beauty-day-column>header>span{grid-column:1;grid-row:1;color:#756788}.beauty-day-column>header>strong{grid-column:2;grid-row:1;font-size:15px}.beauty-day-column>header>.beauty-day-count{grid-column:1/3;grid-row:2;color:#8a8099;font-size:9px}.beauty-day-column>header>a{grid-column:3;grid-row:1/3;align-self:center;padding:6px 7px;border-radius:8px;background:#eee7fb;color:#6845a8;font-size:10px}.beauty-day-appointments{gap:9px;padding:9px}.beauty-appointment-card{position:relative;gap:4px;padding:10px 9px 9px 12px;border-radius:11px;box-shadow:0 3px 9px rgba(36,31,64,.035);transition:transform .15s ease,box-shadow .15s ease}.beauty-appointment-card:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(36,31,64,.1)}.beauty-appointment-time{font-size:12px;letter-spacing:.02em}.beauty-appointment-client{font-size:13px}.beauty-appointment-service{color:#504567;font-size:11px;font-weight:750}.beauty-appointment-employee,.beauty-appointment-phone{font-size:10px}.beauty-appointment-history{margin-top:4px;color:#704aa8;font-size:10px;font-weight:800;text-decoration:none}.beauty-appointment-history:hover{text-decoration:underline}.beauty-appointment-actions{flex-wrap:wrap}.beauty-day-column.is-today .beauty-empty-day{margin:16px 8px;padding:14px 7px;border:1px dashed #d9c8f1;border-radius:10px;color:#80728e}.beauty-page-heading{align-items:center}.beauty-week-nav{padding:5px;border:1px solid #e6e0f0;border-radius:12px;background:#fff}.beauty-week-nav>strong{min-width:140px}.beauty-client-history{margin:0 0 18px;border:1px solid #dcd1ef;border-top:3px solid #8b63d9;background:linear-gradient(130deg,#fff 0%,#fcfaff 60%,#f5f8ff 100%)}.beauty-history-top{display:flex;align-items:center;gap:14px}.beauty-client-avatar{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#9063db,#5f7fe7);color:#fff;font-size:22px;font-weight:900;box-shadow:0 8px 18px rgba(117,83,190,.22)}.beauty-history-identity{min-width:0;flex:1}.beauty-history-identity h2{margin:2px 0;color:#202442;font-size:20px}.beauty-history-identity p{margin:0;color:#6b7288;font-size:12px;overflow-wrap:anywhere}.beauty-history-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.beauty-history-count{padding:7px 10px;border-radius:999px;background:#eee8fa;color:#6845a8;font-size:11px;font-weight:850}.beauty-history-list{display:grid;gap:8px;margin-top:16px}.beauty-history-visit{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:start;gap:14px;padding:13px 14px;border:1px solid #e8e4ee;border-radius:12px;background:#fff}.beauty-history-visit time{display:grid;gap:3px;color:#39435b;font-size:12px}.beauty-history-visit time strong{color:#252943;font-size:13px}.beauty-history-visit time span{color:#7a7189;font-size:11px}.beauty-history-visit-main{display:grid;gap:3px;min-width:0}.beauty-history-visit-main>strong{color:#342c4a;font-size:13px}.beauty-history-visit-main>span{color:#68748a;font-size:11px}.beauty-history-visit-main p{margin:5px 0 0;padding:8px 10px;border-left:2px solid #c3a9eb;border-radius:0 8px 8px 0;background:#faf8fd;color:#555268;font-size:11px;line-height:1.55}.beauty-history-status{padding:5px 8px;border-radius:999px;background:#eaf8ef;color:#24804b;font-size:10px;font-weight:850;white-space:nowrap}.beauty-history-status.is-cancelled{background:#f3eef0;color:#8b5e69}.beauty-history-empty{display:grid;gap:5px;padding:18px;border:1px dashed #dcd1ef;border-radius:12px;background:#fff}.beauty-history-empty strong{color:#39314b;font-size:13px}.beauty-history-empty span{color:#7a7189;font-size:12px}.beauty-client-history-link{display:none;margin-top:1px;color:#6845a8;font-size:11px;font-weight:850;text-decoration:none}.beauty-client-history-link.is-visible{display:inline-flex}.beauty-appointment-form textarea{min-height:66px;resize:vertical}.inventory-manual-fields{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #e5dfef;border-radius:13px;background:#fbf9fd}.inventory-manual-fields.is-visible{display:grid}.inventory-manual-fields label{display:grid;gap:6px;color:#52637a;font-size:11px;font-weight:800}.inventory-manual-fields small{color:#75839a;font-size:10px;font-weight:500;line-height:1.4}
@media(max-width:900px){.beauty-heading-actions{width:100%;justify-content:space-between}.beauty-week-grid{grid-template-columns:repeat(7,minmax(145px,1fr))}.inventory-manual-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.beauty-heading-actions{align-items:stretch;flex-direction:column}.beauty-heading-actions>.button{width:100%;justify-content:center}.beauty-week-nav{width:100%;justify-content:space-between}.beauty-week-nav>strong{min-width:0;flex:1}.beauty-calendar-panel>.panel-head{align-items:flex-start;flex-direction:column}.beauty-history-top{align-items:flex-start;flex-wrap:wrap}.beauty-history-identity{width:calc(100% - 68px);flex:none}.beauty-history-actions{width:100%}.beauty-history-actions .button{flex:1;justify-content:center}.beauty-history-visit{grid-template-columns:1fr auto;gap:7px 10px}.beauty-history-visit time{grid-column:1}.beauty-history-status{grid-column:2;grid-row:1}.beauty-history-visit-main{grid-column:1/-1}.inventory-manual-fields{grid-template-columns:minmax(0,1fr)}}

/* Beauty salon calendar and client book: v0.17.3 */
.beauty-section-tabs{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.beauty-section-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #e7e2ef;border-radius:999px;background:#fff;color:#625777;font-size:12px;font-weight:800;text-decoration:none}.beauty-section-tabs a.is-active{border-color:#d5c6ee;background:#f3edfc;color:#6240a0;box-shadow:0 3px 10px rgba(72,49,114,.08)}.beauty-view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #e5dfec;border-radius:10px;background:#f8f6fb}.beauty-view-switch a{padding:6px 10px;border-radius:7px;color:#756c83;font-size:11px;font-weight:800;text-decoration:none}.beauty-view-switch a.is-active{background:#fff;color:#63439a;box-shadow:0 2px 7px rgba(38,30,58,.1)}.beauty-workspace{display:flex;flex-direction:column;gap:18px}.beauty-calendar-panel{order:0;margin:0;border:1px solid #e8e1f0;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff 0%,#fcfaff 100%);overflow:hidden}.beauty-booking-panel{order:1;scroll-margin-top:22px;border-top:3px solid #8b63d9}.beauty-week-grid{display:grid;grid-template-columns:repeat(7,minmax(188px,1fr));gap:9px;overflow-x:auto;padding:12px 2px 8px;overscroll-behavior-x:contain;scrollbar-width:thin}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}.beauty-day-column{min-width:188px;overflow:hidden;border:1px solid #e8e3ef;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(45,32,73,.035)}.beauty-day-column.is-today{border-color:#ae90de;background:#fdfbff;box-shadow:inset 0 0 0 1px #e5d9f7,0 6px 18px rgba(95,64,148,.09)}.beauty-day-column>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:3px 7px;min-height:64px;padding:9px 10px;border-bottom:1px solid #eee9f4;background:linear-gradient(135deg,#f9f6fd,#f5f8ff)}.beauty-day-column>header>span{grid-column:1;color:#82768e;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.beauty-day-column>header>strong{grid-column:2;color:#292840;font-size:15px}.beauty-day-column>header>.beauty-day-count{grid-column:1/3;grid-row:2;color:#877c93;font-size:9px}.beauty-day-column>header>a{grid-column:3;grid-row:1/3;padding:6px 7px;border-radius:8px;background:#eee7fa;color:#6844a5;font-size:10px;font-weight:850;text-decoration:none}.beauty-timeline{position:relative;height:var(--beauty-grid-height,832px);margin:0 0 0 0;padding:0 3px 0 42px;border-left:1px solid #eeeaf2;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(var(--beauty-hour-height,64px) - 1px),#f0edf4 calc(var(--beauty-hour-height,64px) - 1px),#f0edf4 var(--beauty-hour-height,64px));box-sizing:border-box}.beauty-day-column.is-today .beauty-timeline{background:repeating-linear-gradient(to bottom,#fdfbff 0,#fdfbff calc(var(--beauty-hour-height,64px) - 1px),#eee8f5 calc(var(--beauty-hour-height,64px) - 1px),#eee8f5 var(--beauty-hour-height,64px))}.beauty-hour-line{position:absolute;left:0;right:0;height:0;border-top:1px solid #eeebf2;pointer-events:none}.beauty-hour-line>span{position:absolute;top:-8px;left:-41px;width:34px;color:#91879e;font-size:9px;font-weight:750;text-align:right}.beauty-timeline-event{position:absolute;top:var(--event-top);left:calc(var(--event-left) + 42px);width:calc(var(--event-width) - 4px);height:var(--event-height);min-height:38px;z-index:2;display:flex;flex-direction:column;justify-content:flex-start;gap:2px;overflow:hidden;padding:5px 6px;border:1px solid color-mix(in srgb,var(--service-color) 30%,white);border-left:3px solid var(--service-color);border-radius:8px;background:color-mix(in srgb,var(--service-color) 11%,white);color:#28253a;text-decoration:none;box-shadow:0 2px 7px rgba(47,36,67,.06);box-sizing:border-box}.beauty-timeline-event:hover{z-index:4;filter:saturate(1.08);box-shadow:0 6px 14px rgba(55,37,84,.16);transform:translateY(-1px)}.beauty-timeline-event>span{color:var(--service-color);font-size:9px;font-weight:900;line-height:1.1;white-space:nowrap}.beauty-timeline-event>strong{overflow:hidden;color:#24243a;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.beauty-timeline-event>small{overflow:hidden;color:#625b70;font-size:9px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.beauty-timeline-event.is-cancelled{opacity:.55;filter:grayscale(.8)}.beauty-timeline-event>i{position:absolute;right:4px;top:3px;color:#8a5262;font-size:8px;font-style:normal;font-weight:900}.beauty-timeline-empty{position:absolute;top:43%;left:48px;right:8px;display:grid;gap:7px;justify-items:center;color:#8e859b;font-size:11px;text-align:center;pointer-events:none}.beauty-timeline-empty a{padding:7px 10px;border:1px solid #e7dcf6;border-radius:8px;background:#fff;color:#6844a5;font-size:10px;font-weight:850;text-decoration:none;pointer-events:auto}
.beauty-clientbook{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);align-items:start;gap:16px}.beauty-client-list-panel,.beauty-client-profile,.beauty-client-edit-panel,.beauty-client-welcome{border:1px solid #e7e1ed;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff,#fdfbff)}.beauty-clientbook-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.beauty-clientbook-heading h2,.beauty-history-heading h3{margin:3px 0;color:#2d2941;font-size:18px}.beauty-clientbook-heading p,.beauty-history-heading p{margin:3px 0;color:#81788e;font-size:11px}.beauty-clientbook-icon,.beauty-client-welcome-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0e9fb;color:#7049ae;font-size:21px}.beauty-client-search{display:flex;gap:8px;margin:14px 0 10px}.beauty-client-search input{min-width:0;flex:1}.beauty-client-list{display:grid;max-height:640px;overflow-y:auto;border-top:1px solid #eeeaf2}.beauty-client-list-row{display:grid;grid-template-columns:36px minmax(0,1fr) 42px auto;align-items:center;gap:9px;padding:10px 2px;border-bottom:1px solid #f0edf3;color:inherit;text-decoration:none}.beauty-client-list-row:hover,.beauty-client-list-row.is-active{margin:0 -10px;padding-right:12px;padding-left:12px;border-radius:9px;background:#f5f0fc}.beauty-client-list-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(140deg,#a37de0,#6d7fe4);color:#fff;font-size:15px;font-weight:900}.beauty-client-list-name{display:grid;gap:3px;min-width:0}.beauty-client-list-name strong{overflow:hidden;color:#332e46;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.beauty-client-list-name small,.beauty-client-last-visit{overflow:hidden;color:#8a8194;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.beauty-client-list-visits{display:grid;justify-items:center;color:#6744a0}.beauty-client-list-visits strong{font-size:13px}.beauty-client-list-visits small{font-size:8px}.beauty-client-list-empty{display:grid;gap:4px;padding:22px 10px;text-align:center}.beauty-client-list-empty strong{color:#3b334c;font-size:12px}.beauty-client-list-empty span,.beauty-client-list-note{color:#877e92;font-size:10px;line-height:1.5}.beauty-client-list-note{margin:10px 0}.beauty-client-profile-area{min-width:0}.beauty-profile-cover{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid #eeeaf2}.beauty-profile-cover>div{flex:1;min-width:0}.beauty-profile-cover .beauty-client-avatar{width:54px;height:54px;flex-basis:54px;font-size:23px}.beauty-profile-cover h2{margin:2px 0;color:#2b2740;font-size:20px}.beauty-profile-cover p{margin:0;color:#777186;font-size:11px;overflow-wrap:anywhere}.beauty-client-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 20px}.beauty-client-stats>div{display:grid;gap:4px;padding:12px;border:1px solid #ebe5f2;border-radius:11px;background:#faf8fd}.beauty-client-stats strong{color:#584081;font-size:19px}.beauty-client-stats span{color:#857b91;font-size:10px}.beauty-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.beauty-history-heading h3{font-size:16px}.beauty-client-edit-panel>h2,.beauty-client-welcome h2{margin:5px 0 7px;color:#2c2841;font-size:21px}.beauty-client-edit-panel>p,.beauty-client-welcome>p{color:#777186;font-size:12px;line-height:1.65}.beauty-client-edit-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.beauty-client-edit-form label{display:grid;gap:6px;color:#554b67;font-size:11px;font-weight:800}.beauty-client-welcome{display:grid;justify-items:start;gap:8px;padding:30px}.beauty-client-welcome-icon{width:50px;height:50px;font-size:25px}.beauty-client-welcome p{max-width:480px}.beauty-client-welcome .button{margin-top:6px}.beauty-client-history{margin:0 0 18px;border:1px solid #dcd1ef;border-top:3px solid #8b63d9;background:linear-gradient(130deg,#fff 0%,#fcfaff 60%,#f5f8ff 100%)}
@media(max-width:900px){.beauty-clientbook{grid-template-columns:minmax(0,1fr)}.beauty-client-list{max-height:360px}.beauty-week-grid{grid-template-columns:repeat(7,minmax(188px,1fr))}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.beauty-section-tabs{width:100%}.beauty-section-tabs a{flex:1;justify-content:center;padding:9px 7px;font-size:11px}.beauty-heading-actions{align-items:stretch;flex-direction:column}.beauty-week-nav{justify-content:space-between;gap:4px}.beauty-week-nav>strong{min-width:0;flex:1;font-size:11px}.beauty-week-nav>.button{padding:6px}.beauty-view-switch{margin-left:auto}.beauty-week-grid{grid-template-columns:repeat(7,minmax(188px,1fr));overflow-x:auto;overflow-y:hidden}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}.beauty-day-column{min-width:188px}.beauty-week-grid.is-day-view .beauty-day-column{min-width:0}.beauty-profile-cover{align-items:flex-start;flex-wrap:wrap}.beauty-profile-cover>.button{width:100%;justify-content:center}.beauty-history-heading{align-items:flex-start;flex-direction:column}.beauty-history-visit{grid-template-columns:82px minmax(0,1fr);gap:9px;padding:10px}.beauty-history-status{grid-column:2;justify-self:start}.beauty-client-stats{gap:6px}.beauty-client-stats>div{padding:9px}.beauty-client-stats strong{font-size:16px}.beauty-client-stats span{font-size:9px}.beauty-client-edit-form{grid-template-columns:minmax(0,1fr)}.beauty-client-edit-form>*{grid-column:1}.beauty-client-search .button{padding:8px 11px}.beauty-client-list-row{grid-template-columns:34px minmax(0,1fr) 34px}.beauty-client-last-visit{display:none}}.beauty-events-layer{position:absolute;inset:0 3px 0 42px;pointer-events:none}.beauty-timeline-event{left:var(--event-left);width:calc(var(--event-width) - 4px);pointer-events:auto}.beauty-history-preview{display:grid;gap:8px;padding:12px 14px;border:1px solid #e8e1f0;border-radius:12px;background:linear-gradient(120deg,#fbf8ff,#f8fbff)}.beauty-history-preview[hidden]{display:none}.beauty-history-preview-heading{display:flex;justify-content:space-between;gap:8px;color:#39324d;font-size:12px}.beauty-history-preview-heading>span{color:#7250a8;font-size:10px;font-weight:800}.beauty-history-preview-loading,.beauty-history-preview-empty{margin:0;color:#81788e;font-size:11px}.beauty-history-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;max-height:260px;overflow:auto}.beauty-history-preview-list article{display:grid;gap:3px;padding:9px;border:1px solid #ede8f2;border-radius:9px;background:#fff}.beauty-history-preview-list time{color:#756b83;font-size:9px;font-weight:800}.beauty-history-preview-list strong{color:#352c48;font-size:11px}.beauty-history-preview-list span{color:#81788e;font-size:9px}.beauty-history-preview-list p{margin:3px 0 0;padding-top:5px;border-top:1px solid #f0edf3;color:#5f586b;font-size:10px;line-height:1.4}.beauty-timeline-event{gap:1px;padding:3px 5px}.beauty-timeline-event>span{font-size:8px;line-height:1}.beauty-timeline-event>strong{font-size:10px;line-height:1.05}.beauty-timeline-event>small{font-size:8px;line-height:1.05}

/* Clear calendar marker for allowed overlapping appointments in salons. */
.beauty-timeline-event.has-overlap{padding-right:24px}.beauty-timeline-event .beauty-overlap-flag{position:absolute;top:4px;right:4px;display:grid;width:16px;height:16px;place-items:center;border:1px solid #f0d18a;border-radius:6px;background:#fff4d8;color:#885d00;font-size:11px;font-weight:900;line-height:1}.beauty-timeline-event.has-overlap:hover .beauty-overlap-flag{background:#ffe9ae;color:#694600}

/* Salon: daily agenda stacks every appointment by start hour instead of overlapping cards. */
.beauty-hour-agenda{display:grid;gap:0;padding:7px 13px 15px}.beauty-hour-agenda-row{display:grid;grid-template-columns:62px minmax(0,1fr);border-bottom:1px solid #f0edf4}.beauty-hour-agenda-row:last-child{border-bottom:0}.beauty-hour-agenda-label{display:flex;justify-content:flex-end;align-items:flex-start;gap:2px;padding:11px 10px 8px 0;color:#82768e;font-size:11px}.beauty-hour-agenda-label strong{color:#514764;font-size:12px}.beauty-hour-agenda-label span{color:#a198ac}.beauty-hour-agenda-list{display:grid;align-content:start;gap:6px;min-width:0;min-height:47px;padding:6px 0 6px 10px;border-left:1px solid #e9e4ef}.beauty-hour-agenda-empty{align-self:center;padding:7px 2px;color:#b0a8b9;font-size:10px}.beauty-hour-agenda-card{position:relative;display:grid;grid-template-columns:minmax(78px,auto) minmax(120px,.9fr) minmax(150px,1.2fr) auto;align-items:center;gap:5px 10px;min-width:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--service-color,#8b63d9) 25%,white);border-left:4px solid var(--service-color,#8b63d9);border-radius:9px;background:color-mix(in srgb,var(--service-color,#8b63d9) 7%,white);text-decoration:none}.beauty-hour-agenda-card:hover{text-decoration:none;filter:saturate(1.05);box-shadow:0 4px 12px rgba(45,32,73,.08)}.beauty-hour-agenda-time{color:var(--service-color,#6845a5);font-size:11px;font-weight:900;white-space:nowrap}.beauty-hour-agenda-card>strong{overflow:hidden;color:#292840;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.beauty-hour-agenda-card>small{overflow:hidden;color:#70677c;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.beauty-hour-agenda-overlap{justify-self:end;padding:4px 7px;border:1px solid #f0d18a;border-radius:7px;background:#fff4d8;color:#805800;font-size:9px;font-weight:850;white-space:nowrap}.beauty-hour-agenda-card.is-cancelled{opacity:.58;filter:grayscale(.8)}.beauty-hour-agenda-card>i{justify-self:end;color:#8a5262;font-size:9px;font-style:normal;font-weight:900}
@media(max-width:640px){.beauty-hour-agenda{padding:5px 8px 10px}.beauty-hour-agenda-row{grid-template-columns:47px minmax(0,1fr)}.beauty-hour-agenda-label{padding-right:7px;font-size:10px}.beauty-hour-agenda-list{padding-left:7px}.beauty-hour-agenda-card{grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;padding:8px}.beauty-hour-agenda-time{grid-column:1/-1}.beauty-hour-agenda-card>strong{grid-column:1;white-space:normal;overflow-wrap:anywhere}.beauty-hour-agenda-card>small{grid-column:1;white-space:normal;overflow-wrap:anywhere}.beauty-hour-agenda-overlap,.beauty-hour-agenda-card>i{grid-column:2;grid-row:2/4;align-self:center;font-size:8px}.beauty-hour-agenda-empty{font-size:9px}}

/* Portal owner: compact company groups with per-user login history. */
.portal-user-group{margin:10px 0;border:1px solid #dce5f2;border-radius:13px;background:#fff;overflow:hidden}.portal-user-group>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;cursor:pointer;list-style:none;background:linear-gradient(110deg,#f8fbff,#fff)}.portal-user-group>summary::-webkit-details-marker{display:none}.portal-user-group>summary:hover{background:#f1f7ff}.portal-user-group-name{display:grid;gap:3px;min-width:0}.portal-user-group-name strong{color:#142c4b;font-size:14px;overflow-wrap:anywhere}.portal-user-group-name small{color:#687b96;font-size:11px}.portal-user-group-toggle{display:flex;align-items:center;gap:8px;flex:none;color:#2468ba;font-size:11px;font-weight:800}.portal-user-group-toggle b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eaf3ff;font-size:17px}.portal-user-group[open]>summary{border-bottom:1px solid #e4ebf4;background:#f6faff}.portal-user-group[open] .portal-user-group-toggle b{transform:rotate(45deg)}.portal-user-group .table-wrap{margin:0;border:0;border-radius:0;box-shadow:none}.portal-user-table{min-width:1120px}.portal-user-table td{vertical-align:top}.portal-user-table .portal-account-status-form{display:grid;gap:5px;margin-top:7px}.portal-login-history{min-width:165px;max-width:240px}.portal-login-history>summary{color:#2468ba;font-size:11px;font-weight:800;cursor:pointer}.portal-login-history ul{display:grid;gap:7px;margin:8px 0 0;padding:0;list-style:none}.portal-login-history li{display:grid;gap:3px;padding:7px 8px;border:1px solid #e4ebf4;border-radius:8px;background:#f8fbff}.portal-login-history li strong{color:#233c5c;font-size:10px}.portal-login-history li span{color:#71809a;font-size:9px}.portal-login-history li code{color:#315f91;font-size:10px;overflow-wrap:anywhere}.portal-login-history p{margin:8px 0 0;color:#73819a;font-size:10px;line-height:1.5}.portal-user-empty{padding:20px;border:1px dashed #d8e2ef;border-radius:12px;color:#697b94;text-align:center}
@media(max-width:640px){.portal-user-group>summary{padding:12px}.portal-user-group-toggle{font-size:10px}.portal-login-history{min-width:0;max-width:190px}}
.portal-login-agent{display:block;color:#8a95a8;font-size:8px;line-height:1.35;overflow-wrap:anywhere}
.warehouse-document-line-manual{grid-template-columns:minmax(120px,.7fr) minmax(190px,1.3fr) minmax(145px,.8fr) minmax(115px,.6fr) 38px}.warehouse-document-line-manual [hidden]{display:none!important}
@media(max-width:860px){.warehouse-document-line-manual{grid-template-columns:minmax(0,1fr) minmax(110px,.55fr) 38px}.warehouse-document-line-manual>label:first-child{grid-column:1/-1}.warehouse-document-line-manual>label[data-warehouse-stock-field],.warehouse-document-line-manual>label[data-warehouse-manual-field]{grid-column:1/-1}.warehouse-document-line-manual>label:has(input[name="quantity[]"]){grid-column:1/3}.warehouse-document-line-manual>.icon-button{grid-column:3;grid-row:auto}}

/* Fifteen-minute workstation lock. The app itself blurs; the password prompt stays crisp. */
.screen-lock-countdown[hidden],.screen-lock-overlay[hidden]{display:none!important}
.screen-lock-countdown{position:fixed;right:18px;bottom:18px;z-index:9000;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #c9d8eb;border-radius:13px;background:rgba(255,255,255,.97);color:#334b69;box-shadow:0 8px 26px rgba(19,43,75,.16);cursor:pointer;font:inherit;backdrop-filter:blur(10px)}
.screen-lock-countdown>span{font-size:11px;font-weight:750}.screen-lock-countdown>strong{min-width:42px;color:#145fb4;font-size:14px;font-variant-numeric:tabular-nums}.screen-lock-countdown>small{padding-left:8px;border-left:1px solid #e3eaf3;color:#6d7d92;font-size:10px;font-weight:750}.screen-lock-countdown:hover{border-color:#7faee4;background:#fff}.screen-lock-countdown.is-soon>strong{color:#b45309}
body.screen-lock-active .app-shell{filter:blur(11px);pointer-events:none;user-select:none;transition:filter .25s ease}
.screen-lock-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;overflow:auto;padding:24px;background:rgba(9,24,45,.38);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.screen-lock-card{width:min(440px,100%);padding:30px;border:1px solid rgba(218,229,243,.95);border-radius:22px;background:#fff;box-shadow:0 24px 90px rgba(7,23,45,.34)}.screen-lock-brand{display:flex;align-items:center;gap:9px;margin-bottom:28px;color:#102b4d;font-size:19px;font-weight:900}.screen-lock-brand img{width:40px;height:40px;border-radius:12px}.screen-lock-brand small{align-self:flex-end;margin:0 0 4px -5px;color:#1684d4;font-size:9px;letter-spacing:.14em}.screen-lock-card h1{margin:5px 0 8px;color:#142c4b;font-size:27px;letter-spacing:-.5px}.screen-lock-card>p{margin:0 0 20px;color:#667a94;font-size:13px;line-height:1.6}.screen-lock-card .stack-form{gap:14px}.screen-lock-card .stack-form label{display:grid;gap:7px;color:#334b69;font-size:12px;font-weight:750}.screen-lock-card .stack-form input{min-height:46px}.screen-lock-card .button{min-height:46px}.screen-lock-logout{display:flex;justify-content:center;margin-top:12px}.screen-lock-logout .link-button{color:#6b7b91}.screen-lock-server-card{margin:10vh auto 30px}
@media(max-width:680px){.screen-lock-countdown{right:10px;bottom:10px;padding:8px 10px}.screen-lock-countdown>span{font-size:10px}.screen-lock-countdown>small{display:none}.screen-lock-card{padding:24px 20px;border-radius:18px}}
@media print{.screen-lock-countdown,.screen-lock-overlay{display:none!important}}

/* Fixaro Online: motywy sezonowe wybierane przez właściciela portalu. */
html[data-seasonal-theme="halloween"]{--navy:#2b1935;--navy-2:#42254d;--blue:#963f16;--blue-2:#fff0e5;--yellow:#e9a52a;--ink:#2a2230;--muted:#766b7d;--line:#eadfe7;--surface:#fffdfa;--page:#f7f2f2;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(43,25,53,.12);--season-accent:#bd5d1e;--season-accent-dark:#963f16;--season-accent-rgb:225,122,47;--season-highlight:#ffc78e;--season-glow-secondary:rgba(136,77,155,.28);--season-night-start:#21152b;--season-night-mid:#38213e;--season-night-end:#1b1b2a}
html[data-seasonal-theme="mikolajki"]{--navy:#17314c;--navy-2:#254965;--blue:#165b88;--blue-2:#eaf6ff;--yellow:#d1a239;--ink:#20364a;--muted:#6d8190;--line:#dce9ef;--surface:#fffefa;--page:#f1f7fa;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(24,56,79,.11);--season-accent:#176c9f;--season-accent-dark:#105378;--season-accent-rgb:37,135,194;--season-highlight:#c6e9ff;--season-glow-secondary:rgba(226,187,86,.28);--season-night-start:#142940;--season-night-mid:#214760;--season-night-end:#172738}
html[data-seasonal-theme="boze-narodzenie"]{--navy:#203c32;--navy-2:#2e5544;--blue:#a9363a;--blue-2:#fff0ed;--yellow:#d2a64b;--ink:#2d3d34;--muted:#718077;--line:#e6e4d9;--surface:#fffdf7;--page:#f5f6ef;--green:#247448;--danger:#a62d3f;--shadow:0 20px 55px rgba(32,60,50,.12);--season-accent:#b83b3f;--season-accent-dark:#86252b;--season-accent-rgb:184,59,63;--season-highlight:#f3d28b;--season-glow-secondary:rgba(51,132,87,.27);--season-night-start:#1b332c;--season-night-mid:#29483a;--season-night-end:#1b3029}
html[data-seasonal-theme="nowy-rok"]{--navy:#1d2947;--navy-2:#303e64;--blue:#755813;--blue-2:#f2edfb;--yellow:#d4a941;--ink:#252d43;--muted:#70798c;--line:#e2e2ed;--surface:#fffefa;--page:#f3f4f9;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(29,41,71,.14);--season-accent:#997420;--season-accent-dark:#755813;--season-accent-rgb:189,150,57;--season-highlight:#ffe6a1;--season-glow-secondary:rgba(105,132,195,.28);--season-night-start:#17223d;--season-night-mid:#29365a;--season-night-end:#191d34}
html[data-seasonal-theme="wielkanoc"]{--navy:#49395b;--navy-2:#645070;--blue:#60427f;--blue-2:#f3eef9;--yellow:#d7a72e;--ink:#383247;--muted:#7c7189;--line:#e8e1ed;--surface:#fffefa;--page:#f8f5f7;--green:#428563;--danger:#a62d3f;--shadow:0 20px 55px rgba(73,57,91,.11);--season-accent:#8060a5;--season-accent-dark:#60427f;--season-accent-rgb:146,116,181;--season-highlight:#e4d2ff;--season-glow-secondary:rgba(241,196,79,.28);--season-night-start:#30263e;--season-night-mid:#4a3a59;--season-night-end:#29263c}
html[data-seasonal-theme="11-listopada"]{--navy:#382332;--navy-2:#563044;--blue:#b53a49;--blue-2:#fff0f1;--yellow:#c8a75a;--ink:#332a31;--muted:#7d707a;--line:#eadde2;--surface:#fffdfd;--page:#f8f2f3;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(56,35,50,.12);--season-accent:#c33e4c;--season-accent-dark:#902b37;--season-accent-rgb:195,62,76;--season-highlight:#ffd3d8;--season-glow-secondary:rgba(206,218,235,.23);--season-night-start:#2c1d2a;--season-night-mid:#453040;--season-night-end:#242231}

html[data-seasonal-theme]:not([data-seasonal-theme="none"]){background:var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body{background:var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen{background:radial-gradient(ellipse at 14% 84%,rgba(var(--season-accent-rgb),.24),transparent 34%),radial-gradient(ellipse at 84% 10%,var(--season-glow-secondary),transparent 36%),linear-gradient(140deg,var(--season-night-start),var(--season-night-mid) 55%,var(--season-night-end))}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand{color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand small,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .brand small,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand small{color:var(--season-highlight)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-footer{color:#e4dce7}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .app-screen{background:radial-gradient(ellipse at 96% 0%,rgba(var(--season-accent-rgb),.09),transparent 28%),var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar{background:linear-gradient(180deg,var(--season-night-mid),var(--season-night-start));border-right:1px solid rgba(var(--season-accent-rgb),.38)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav a:hover{background:rgba(var(--season-accent-rgb),.16);color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-active,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-group-active>.nav-group-summary{background:linear-gradient(100deg,rgba(var(--season-accent-rgb),.25),rgba(var(--season-accent-rgb),.08));color:#fff;box-shadow:inset 3px 0 var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-subitem.nav-active{background:rgba(var(--season-accent-rgb),.14);color:var(--season-highlight)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .org-label{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.035)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar{background:rgba(255,253,250,.96);border-bottom-color:var(--line);box-shadow:inset 0 3px var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .brand-icon{background:linear-gradient(145deg,var(--season-accent),var(--season-accent-dark));box-shadow:0 7px 18px rgba(var(--season-accent-rgb),.24)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .eyebrow{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) a{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) a:hover{color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-primary{color:#fff;background:linear-gradient(110deg,var(--season-accent),var(--season-accent-dark));box-shadow:0 8px 19px rgba(var(--season-accent-rgb),.2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-primary:hover{background:linear-gradient(110deg,var(--season-accent-dark),var(--navy))}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-secondary{color:var(--navy-2);background:var(--blue-2);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-quiet{color:var(--muted);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) input:focus,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) textarea:focus,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) select:focus{border-color:var(--season-accent);box-shadow:0 0 0 3px rgba(var(--season-accent-rgb),.15)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .check-row input{accent-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .secure-note{background:var(--blue-2);color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .secure-icon{background:rgba(var(--season-accent-rgb),.16);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .notice-info{color:var(--navy-2);background:var(--blue-2);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-card,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .panel{background:var(--surface);border-color:var(--line);box-shadow:0 5px 17px rgba(var(--season-accent-rgb),.055)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-blue{border-top-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-yellow{border-top-color:var(--yellow)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) th{background:var(--blue-2);color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) td{border-bottom-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) tbody tr:hover{background:var(--blue-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .status-pill{background:var(--blue-2);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .empty-icon{background:var(--blue-2);color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand::after,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:var(--blue-2);color:var(--season-accent-dark);font-size:10px;font-weight:850;letter-spacing:.06em;line-height:1.2;white-space:nowrap}
html[data-seasonal-theme="halloween"] .topbar::before,html[data-seasonal-theme="halloween"] .auth-brand::after,html[data-seasonal-theme="halloween"] .mobile-brand::after{content:"🎃 Halloween"}
html[data-seasonal-theme="mikolajki"] .topbar::before,html[data-seasonal-theme="mikolajki"] .auth-brand::after,html[data-seasonal-theme="mikolajki"] .mobile-brand::after{content:"🎁 Mikołajki"}
html[data-seasonal-theme="boze-narodzenie"] .topbar::before,html[data-seasonal-theme="boze-narodzenie"] .auth-brand::after,html[data-seasonal-theme="boze-narodzenie"] .mobile-brand::after{content:"🎄 Boże Narodzenie"}
html[data-seasonal-theme="nowy-rok"] .topbar::before,html[data-seasonal-theme="nowy-rok"] .auth-brand::after,html[data-seasonal-theme="nowy-rok"] .mobile-brand::after{content:"✨ Nowy Rok"}
html[data-seasonal-theme="wielkanoc"] .topbar::before,html[data-seasonal-theme="wielkanoc"] .auth-brand::after,html[data-seasonal-theme="wielkanoc"] .mobile-brand::after{content:"🐣 Wielkanoc"}
html[data-seasonal-theme="11-listopada"] .topbar::before,html[data-seasonal-theme="11-listopada"] .auth-brand::after,html[data-seasonal-theme="11-listopada"] .mobile-brand::after{content:"🇵🇱 11 listopada"}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before{margin-right:auto}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .user-dot{background:var(--blue-2);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .role-pill{color:var(--navy-2);background:var(--blue-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .link-button{color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .link-button:hover{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .footer{background:var(--surface);border-top-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown{border-color:var(--line);background:rgba(255,253,250,.97);color:var(--navy-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown>strong{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown:hover{border-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-overlay{background:rgba(23,20,35,.48)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-card{border-color:var(--line);background:var(--surface)}
.portal-seasonal-theme{margin-bottom:16px}
.portal-seasonal-theme .panel-head{margin-bottom:12px}
.portal-seasonal-theme .panel-head h2{margin:3px 0 4px}
.portal-theme-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end;max-width:680px}
.portal-theme-form label{min-width:0}
.portal-theme-form select{margin:0}
.portal-theme-form .button{min-width:150px}
.portal-theme-hint{margin:10px 0 0}
@media(max-width:680px){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before{display:none}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{margin-left:5px;padding:3px 6px;font-size:8px;letter-spacing:0}.portal-theme-form{grid-template-columns:1fr}.portal-theme-form .button{width:100%}}
@media(prefers-reduced-motion:reduce){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button{transition:none}}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]){--navy:#102341;--navy-2:#172f52;--blue:#0874ed;--blue-2:#eaf3ff;--yellow:#f5c400;--ink:#182b48;--muted:#71819a;--line:#e1e8f0;--surface:#fff;--page:#fff;--green:#178767;--danger:#a62d3f;--shadow:none}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand::after,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{display:none}}

/* Seasonal scenes: soft decorative backdrops and small animated holiday accents. */
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen{position:relative;isolation:isolate}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{position:fixed;z-index:0;display:block;pointer-events:none;line-height:1;opacity:.28;filter:drop-shadow(0 10px 16px rgba(30,25,45,.16));user-select:none}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before{top:clamp(92px,17vh,190px);right:clamp(12px,3vw,42px);font-size:clamp(54px,7vw,92px);animation:fixaro-season-float 5.4s ease-in-out infinite}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{right:clamp(24px,7vw,110px);bottom:clamp(34px,9vh,96px);font-size:clamp(30px,4vw,54px);animation:fixaro-season-drift 7.2s ease-in-out infinite}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen>.app-shell,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen>.footer,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>*{position:relative;z-index:1}

html[data-seasonal-theme="halloween"] body.app-screen{background:radial-gradient(ellipse at 94% 10%,rgba(134,77,155,.16),transparent 30%),radial-gradient(ellipse at 7% 94%,rgba(225,122,47,.16),transparent 32%),linear-gradient(145deg,#fbf7f2,#f4eef6 58%,#fff8ef)}
html[data-seasonal-theme="halloween"] body.auth-screen{background:radial-gradient(circle at 84% 13%,rgba(255,231,173,.88) 0 2rem,rgba(255,231,173,.16) 2.15rem,transparent 4.3rem),radial-gradient(ellipse at 14% 84%,rgba(225,100,36,.28),transparent 34%),radial-gradient(ellipse at 80% 18%,rgba(136,77,155,.38),transparent 38%),linear-gradient(140deg,#21152b,#38213e 55%,#1b1b2a)}
html[data-seasonal-theme="halloween"] body::before{content:"🎃";animation-name:fixaro-season-float}
html[data-seasonal-theme="halloween"] body::after{content:"🦇";animation-name:fixaro-season-bat}

html[data-seasonal-theme="mikolajki"] body.app-screen{background:radial-gradient(ellipse at 96% 10%,rgba(37,135,194,.16),transparent 30%),radial-gradient(ellipse at 8% 90%,rgba(226,187,86,.16),transparent 34%),linear-gradient(145deg,#f3faff,#edf6fa 55%,#fffaf0)}
html[data-seasonal-theme="mikolajki"] body.auth-screen{background:radial-gradient(circle at 15% 16%,rgba(255,255,255,.8) 0 2px,transparent 3px),radial-gradient(circle at 78% 28%,rgba(255,255,255,.75) 0 3px,transparent 4px),radial-gradient(circle at 38% 68%,rgba(255,255,255,.55) 0 2px,transparent 3px),radial-gradient(ellipse at 14% 84%,rgba(37,135,194,.29),transparent 35%),radial-gradient(ellipse at 85% 14%,rgba(226,187,86,.25),transparent 34%),linear-gradient(140deg,#142940,#214760 55%,#172738)}
html[data-seasonal-theme="mikolajki"] body::before{content:"❄️";animation-name:fixaro-season-snow}
html[data-seasonal-theme="mikolajki"] body::after{content:"🎁";animation-name:fixaro-season-float}

html[data-seasonal-theme="boze-narodzenie"] body.app-screen{background:radial-gradient(ellipse at 96% 7%,rgba(51,132,87,.15),transparent 31%),radial-gradient(ellipse at 7% 95%,rgba(184,59,63,.12),transparent 32%),linear-gradient(145deg,#f6f8f1,#f0f5ee 58%,#fff8eb)}
html[data-seasonal-theme="boze-narodzenie"] body.auth-screen{background:radial-gradient(circle at 82% 14%,rgba(243,210,139,.74) 0 3px,transparent 5px),radial-gradient(circle at 21% 20%,rgba(243,210,139,.56) 0 2px,transparent 4px),radial-gradient(ellipse at 15% 83%,rgba(184,59,63,.28),transparent 35%),radial-gradient(ellipse at 82% 16%,rgba(51,132,87,.34),transparent 37%),linear-gradient(140deg,#1b332c,#29483a 55%,#1b3029)}
html[data-seasonal-theme="boze-narodzenie"] body::before{content:"🎄";animation-name:fixaro-season-float}
html[data-seasonal-theme="boze-narodzenie"] body::after{content:"❄️";animation-name:fixaro-season-snow}

html[data-seasonal-theme="nowy-rok"] body.app-screen{background:radial-gradient(ellipse at 96% 8%,rgba(105,132,195,.17),transparent 30%),radial-gradient(ellipse at 7% 91%,rgba(189,150,57,.16),transparent 32%),linear-gradient(145deg,#f4f5fb,#f0f1f8 58%,#fffaf0)}
html[data-seasonal-theme="nowy-rok"] body.auth-screen{background:radial-gradient(circle at 17% 18%,rgba(255,230,161,.85) 0 2px,transparent 4px),radial-gradient(circle at 78% 28%,rgba(255,230,161,.72) 0 2px,transparent 4px),radial-gradient(circle at 48% 10%,rgba(255,255,255,.6) 0 1px,transparent 3px),radial-gradient(ellipse at 17% 80%,rgba(189,150,57,.27),transparent 34%),radial-gradient(ellipse at 85% 12%,rgba(105,132,195,.38),transparent 36%),linear-gradient(140deg,#17223d,#29365a 55%,#191d34)}
html[data-seasonal-theme="nowy-rok"] body::before{content:"🎆";animation-name:fixaro-season-sparkle}
html[data-seasonal-theme="nowy-rok"] body::after{content:"✨";animation-name:fixaro-season-twinkle}

html[data-seasonal-theme="wielkanoc"] body.app-screen{background:radial-gradient(ellipse at 94% 8%,rgba(146,116,181,.15),transparent 30%),radial-gradient(ellipse at 8% 92%,rgba(241,196,79,.17),transparent 33%),radial-gradient(ellipse at 45% 100%,rgba(66,133,99,.08),transparent 38%),linear-gradient(145deg,#fbf7fc,#f7f4f8 58%,#fffbee)}
html[data-seasonal-theme="wielkanoc"] body.auth-screen{background:radial-gradient(circle at 85% 14%,rgba(241,196,79,.72) 0 2.2rem,rgba(241,196,79,.12) 2.35rem,transparent 4.3rem),radial-gradient(ellipse at 14% 84%,rgba(146,116,181,.29),transparent 35%),radial-gradient(ellipse at 80% 18%,rgba(66,133,99,.31),transparent 37%),linear-gradient(140deg,#30263e,#4a3a59 55%,#29263c)}
html[data-seasonal-theme="wielkanoc"] body::before{content:"🐣";animation-name:fixaro-season-bounce}
html[data-seasonal-theme="wielkanoc"] body::after{content:"🥚";animation-name:fixaro-season-egg}

html[data-seasonal-theme="11-listopada"] body.app-screen{background:linear-gradient(180deg,rgba(195,62,76,.055) 0 18%,transparent 18% 82%,rgba(195,62,76,.055) 82%),radial-gradient(ellipse at 96% 8%,rgba(206,218,235,.23),transparent 30%),linear-gradient(145deg,#fffafa,#f7f2f4 60%,#fff)}
html[data-seasonal-theme="11-listopada"] body.auth-screen{background:linear-gradient(180deg,rgba(255,255,255,.10) 0 49%,rgba(195,62,76,.18) 50% 100%),radial-gradient(ellipse at 14% 84%,rgba(195,62,76,.28),transparent 35%),radial-gradient(ellipse at 83% 13%,rgba(206,218,235,.2),transparent 34%),linear-gradient(140deg,#2c1d2a,#453040 55%,#242231)}
html[data-seasonal-theme="11-listopada"] body::before{content:"🇵🇱";animation-name:fixaro-season-flag}
html[data-seasonal-theme="11-listopada"] body::after{content:"♥";color:#c33e4c;animation-name:fixaro-season-heart}

@keyframes fixaro-season-float{0%,100%{transform:translate3d(0,0,0) rotate(-4deg)}50%{transform:translate3d(0,-12px,0) rotate(4deg)}}
@keyframes fixaro-season-drift{0%,100%{transform:translate3d(0,0,0) rotate(5deg)}50%{transform:translate3d(-12px,-8px,0) rotate(-7deg)}}
@keyframes fixaro-season-bat{0%,100%{transform:translate3d(0,0,0) rotate(-5deg)}50%{transform:translate3d(-18px,-12px,0) rotate(7deg)}}
@keyframes fixaro-season-snow{0%,100%{transform:translate3d(0,-4px,0) rotate(0)}50%{transform:translate3d(7px,16px,0) rotate(35deg)}}
@keyframes fixaro-season-sparkle{0%,100%{transform:scale(.94) rotate(-4deg);filter:drop-shadow(0 0 4px rgba(255,218,105,.28))}50%{transform:scale(1.07) rotate(5deg);filter:drop-shadow(0 0 18px rgba(255,218,105,.72))}}
@keyframes fixaro-season-twinkle{0%,100%{opacity:.55;transform:scale(.85) rotate(-12deg)}50%{opacity:1;transform:scale(1.14) rotate(12deg)}}
@keyframes fixaro-season-bounce{0%,100%{transform:translateY(0) rotate(-3deg)}45%{transform:translateY(-13px) rotate(3deg)}60%{transform:translateY(-8px) rotate(0)}}
@keyframes fixaro-season-egg{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg) translateY(-6px)}}
@keyframes fixaro-season-flag{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(5deg) translateY(-5px)}}
@keyframes fixaro-season-heart{0%,100%{transform:scale(.88);opacity:.72}50%{transform:scale(1.12);opacity:1}}
@media(max-width:680px){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before{top:92px;right:5px;font-size:48px;opacity:.18}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{right:14px;bottom:82px;font-size:29px;opacity:.16}}
@media(prefers-reduced-motion:reduce){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{animation:none!important}}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{display:none!important}}

/* Extra festive scenery across the app workspace, with restrained textures and a topbar ornament. */
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen{background-attachment:fixed}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar{position:relative}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::after{content:"";position:absolute;inset:0 0 auto;height:5px;pointer-events:none}
html[data-seasonal-theme="halloween"] body.app-screen{background-image:radial-gradient(circle at 95% 10%,rgba(255,255,255,.62) 0 1px,transparent 2px),radial-gradient(circle at 95% 10%,rgba(118,64,137,.07) 0 2px,transparent 3px),radial-gradient(ellipse at 94% 10%,rgba(134,77,155,.16),transparent 30%),radial-gradient(ellipse at 7% 94%,rgba(225,122,47,.16),transparent 32%),linear-gradient(145deg,#fbf7f2,#f4eef6 58%,#fff8ef);background-size:47px 53px,83px 91px,auto,auto,auto}
html[data-seasonal-theme="halloween"] .topbar::after{background:linear-gradient(90deg,#61294f 0 18%,#e77a2d 18% 36%,#61294f 36% 54%,#e77a2d 54% 72%,#61294f 72% 90%,#e77a2d 90%)}
html[data-seasonal-theme="mikolajki"] body.app-screen{background-image:radial-gradient(circle at 14% 8%,rgba(255,255,255,.78) 0 2px,transparent 3px),radial-gradient(circle at 14% 8%,rgba(255,255,255,.48) 0 1px,transparent 2px),radial-gradient(ellipse at 96% 8%,rgba(37,135,194,.14),transparent 31%),radial-gradient(ellipse at 7% 95%,rgba(226,187,86,.11),transparent 32%),linear-gradient(145deg,#f3faff,#edf6fa 58%,#fffaf0);background-size:91px 103px,57px 67px,auto,auto,auto}
html[data-seasonal-theme="boze-narodzenie"] body.app-screen{background-image:radial-gradient(circle at 14% 8%,rgba(255,255,255,.68) 0 2px,transparent 3px),radial-gradient(circle at 14% 8%,rgba(255,255,255,.4) 0 1px,transparent 2px),radial-gradient(ellipse at 96% 8%,rgba(51,132,87,.12),transparent 31%),radial-gradient(ellipse at 7% 95%,rgba(184,59,63,.09),transparent 32%),linear-gradient(145deg,#f6f8f1,#f0f5ee 58%,#fff8eb);background-size:91px 103px,57px 67px,auto,auto,auto}
html[data-seasonal-theme="mikolajki"] .topbar::after{background:radial-gradient(circle at 12px 4px,#f4d37e 0 3px,transparent 4px),radial-gradient(circle at 40px 4px,#85c9eb 0 3px,transparent 4px),radial-gradient(circle at 68px 4px,#f4d37e 0 3px,transparent 4px),linear-gradient(90deg,rgba(25,91,130,.38),rgba(25,91,130,.08));background-size:84px 5px,84px 5px,84px 5px,100% 1px;background-repeat:repeat-x}
html[data-seasonal-theme="boze-narodzenie"] .topbar::after{background:radial-gradient(circle at 12px 4px,#ffe39a 0 3px,transparent 4px),radial-gradient(circle at 40px 4px,#e35a5a 0 3px,transparent 4px),radial-gradient(circle at 68px 4px,#79c78b 0 3px,transparent 4px),linear-gradient(90deg,rgba(37,105,67,.35),rgba(37,105,67,.08));background-size:84px 5px,84px 5px,84px 5px,100% 1px;background-repeat:repeat-x}
html[data-seasonal-theme="nowy-rok"] body.app-screen{background-image:radial-gradient(circle at 18% 12%,rgba(199,156,55,.5) 0 1.5px,transparent 3px),radial-gradient(circle at 18% 12%,rgba(115,126,183,.12) 0 12px,transparent 13px),radial-gradient(circle at 88% 74%,rgba(199,156,55,.42) 0 1.5px,transparent 3px),radial-gradient(ellipse at 96% 8%,rgba(105,132,195,.17),transparent 30%),radial-gradient(ellipse at 7% 91%,rgba(189,150,57,.16),transparent 32%),linear-gradient(145deg,#f4f5fb,#f0f1f8 58%,#fffaf0);background-size:121px 137px,121px 137px,167px 181px,auto,auto,auto}
html[data-seasonal-theme="nowy-rok"] .topbar::after{height:6px;background:linear-gradient(90deg,#d6b45f,#fff0bd 18%,#7888b6 35%,#f9e7a9 53%,#c6a24c 72%,#e4d5f1)}
html[data-seasonal-theme="wielkanoc"] body.app-screen{background-image:radial-gradient(circle at 13% 16%,rgba(216,151,181,.18) 0 4px,transparent 5px),radial-gradient(circle at 13% 16%,rgba(242,201,95,.22) 0 1.5px,transparent 3px),radial-gradient(ellipse at 94% 8%,rgba(146,116,181,.15),transparent 30%),radial-gradient(ellipse at 8% 92%,rgba(241,196,79,.17),transparent 33%),radial-gradient(ellipse at 45% 100%,rgba(66,133,99,.08),transparent 38%),linear-gradient(145deg,#fbf7fc,#f7f4f8 58%,#fffbee);background-size:56px 61px,56px 61px,auto,auto,auto,auto}
html[data-seasonal-theme="wielkanoc"] .topbar::after{background:repeating-linear-gradient(90deg,#b7dba9 0 14px,#f5d99b 14px 28px,#d9c6e8 28px 42px,#f0c6d1 42px 56px)}
html[data-seasonal-theme="11-listopada"] body.app-screen{background-image:linear-gradient(180deg,rgba(255,255,255,.78) 0 12%,transparent 12% 88%,rgba(195,62,76,.055) 88%),radial-gradient(ellipse at 96% 8%,rgba(206,218,235,.23),transparent 30%),linear-gradient(145deg,#fffafa,#f7f2f4 60%,#fff)}
html[data-seasonal-theme="11-listopada"] .topbar::after{height:6px;background:linear-gradient(90deg,#fff 0 50%,#c33e4c 50% 100%)}
@media(max-width:680px){html[data-seasonal-theme="halloween"] body.app-screen{background-size:53px 59px,auto,auto,auto,auto}html[data-seasonal-theme="mikolajki"] .topbar::after,html[data-seasonal-theme="boze-narodzenie"] .topbar::after{height:4px}}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen{background:#fff!important;background-image:none!important}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::after{display:none!important}}

/* Foreground holiday layer. It is decorative only and never captures clicks or focus. */
.seasonal-scene{display:none}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene{position:fixed;inset:0;z-index:1;display:block;overflow:hidden;pointer-events:none;user-select:none}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-scene{position:fixed;z-index:1}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::after{content:"";position:absolute;display:block;pointer-events:none;line-height:1}

/* Theme-aware sidebar groups: these were separate <details> controls, so they missed link-only theme rules. */
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group>.nav-group-summary,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group>.nav-group-summary{border-color:rgba(var(--season-accent-rgb),.2);background:linear-gradient(105deg,rgba(var(--season-accent-rgb),.15),rgba(var(--season-accent-rgb),.035));color:#f8f5ff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group>.nav-group-summary .nav-icon,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group>.nav-group-summary .nav-icon{color:var(--season-highlight)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group>.nav-group-summary:hover,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group[open]>.nav-group-summary,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group>.nav-group-summary:hover,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group[open]>.nav-group-summary{border-color:rgba(var(--season-accent-rgb),.55);background:linear-gradient(105deg,rgba(var(--season-accent-rgb),.32),rgba(var(--season-accent-rgb),.11));color:#fff;box-shadow:inset 3px 0 var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group.nav-group-active>.nav-group-summary,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group.nav-group-active>.nav-group-summary{border-color:rgba(var(--season-accent-rgb),.65);background:linear-gradient(105deg,rgba(var(--season-accent-rgb),.4),rgba(var(--season-accent-rgb),.14));color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group>.nav-submenu,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group>.nav-submenu{border-color:rgba(var(--season-accent-rgb),.48)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group .nav-subitem:hover,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group .nav-subitem:hover{background:rgba(var(--season-accent-rgb),.17);color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .documents-nav-group .nav-subitem.nav-active,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .operations-nav-group .nav-subitem.nav-active{border-color:rgba(var(--season-accent-rgb),.3);background:linear-gradient(100deg,rgba(var(--season-accent-rgb),.29),rgba(var(--season-accent-rgb),.1));color:var(--season-highlight);box-shadow:inset 2px 0 var(--season-accent)}

html[data-seasonal-theme="halloween"] .seasonal-scene{background:radial-gradient(circle at 3% 20%,rgba(255,156,70,.48) 0 1px,transparent 2px),radial-gradient(circle at 4% 22%,rgba(255,211,144,.3) 0 1px,transparent 2px),radial-gradient(ellipse at 0 100%,rgba(94,38,99,.08),transparent 42%);background-size:73px 89px,113px 121px,100% 100%;animation:fixaro-scene-embers 16s linear infinite}
html[data-seasonal-theme="halloween"] .seasonal-scene::before{content:"🕸️";top:78px;right:12px;font-size:clamp(48px,6vw,78px);opacity:.22;filter:drop-shadow(0 5px 10px rgba(35,16,45,.18));animation:fixaro-season-drift 8s ease-in-out infinite}
html[data-seasonal-theme="halloween"] .seasonal-scene::after{right:clamp(12px,4vw,55px);bottom:16px;font-size:clamp(30px,4vw,48px);opacity:.28;filter:drop-shadow(0 0 12px rgba(255,155,65,.45));animation:fixaro-season-twinkle 4s ease-in-out infinite}
html[data-seasonal-theme="mikolajki"] .seasonal-scene,html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene{background-image:radial-gradient(circle,rgba(255,255,255,.9) 0 1.5px,transparent 2.5px),radial-gradient(circle,rgba(255,255,255,.68) 0 2px,transparent 3px),radial-gradient(circle,rgba(210,235,255,.7) 0 1px,transparent 2px);background-size:79px 93px,137px 151px,193px 179px;background-position:0 0,31px 47px,66px 20px;opacity:.34;animation:fixaro-season-snowfall 15s linear infinite}
html[data-seasonal-theme="mikolajki"] .seasonal-scene::before{content:"❄";top:84px;right:18px;color:#82c7ef;font-size:54px;opacity:.42;text-shadow:0 0 18px rgba(255,255,255,.8);animation:fixaro-season-snow 5s ease-in-out infinite}
html[data-seasonal-theme="mikolajki"] .seasonal-scene::after{right:clamp(12px,5vw,66px);bottom:22px;font-size:38px;opacity:.32;filter:drop-shadow(0 7px 11px rgba(22,69,105,.18));animation:fixaro-season-float 5.8s ease-in-out infinite}
html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene::before{content:"✦";top:80px;right:19px;color:#d6b55e;font-size:54px;opacity:.6;text-shadow:0 0 18px rgba(255,236,177,.7);animation:fixaro-season-twinkle 3.8s ease-in-out infinite}
html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene::after{right:clamp(12px,5vw,66px);bottom:22px;font-size:39px;opacity:.34;filter:drop-shadow(0 7px 11px rgba(22,69,55,.18));animation:fixaro-season-float 6s ease-in-out infinite}

html[data-seasonal-theme="nowy-rok"] .seasonal-scene{background-image:radial-gradient(circle at 16% 9%,rgba(255,220,141,.58) 0 1px,transparent 2px),radial-gradient(circle at 78% 13%,rgba(158,184,255,.58) 0 1px,transparent 2px),radial-gradient(circle at 65% 32%,rgba(255,147,173,.38) 0 1.5px,transparent 2.5px),radial-gradient(circle at 34% 37%,rgba(255,255,255,.48) 0 1px,transparent 2px);background-size:83px 97px,127px 139px,171px 163px,223px 201px;animation:fixaro-season-glitter 4.8s ease-in-out infinite alternate}
html[data-seasonal-theme="nowy-rok"] .seasonal-scene::before,html[data-seasonal-theme="nowy-rok"] .seasonal-scene::after{width:clamp(190px,25vw,360px);aspect-ratio:1;border-radius:50%;background-image:radial-gradient(circle at 50% 50%,#fff 0 1.5%,rgba(255,231,173,.96) 2% 3.5%,transparent 6%),radial-gradient(circle at 50% 50%,transparent 0 34%,rgba(255,225,151,.65) 35% 35.6%,transparent 37%),repeating-conic-gradient(from 3deg at 50% 50%,rgba(255,211,115,.98) 0deg 1.1deg,transparent 1.3deg 12deg);-webkit-mask-image:radial-gradient(circle at center,#000 0 43%,rgba(0,0,0,.82) 54%,transparent 72%);mask-image:radial-gradient(circle at center,#000 0 43%,rgba(0,0,0,.82) 54%,transparent 72%);filter:drop-shadow(0 0 14px rgba(255,210,110,.68));animation:fixaro-firework-burst 4.2s cubic-bezier(.16,.72,.26,1) infinite}
html[data-seasonal-theme="nowy-rok"] .seasonal-scene::before{top:clamp(60px,8vh,112px);left:clamp(250px,24vw,420px);background-image:radial-gradient(circle at 50% 50%,#fff 0 1.5%,rgba(255,239,195,.98) 2% 3.5%,transparent 6%),radial-gradient(circle at 50% 50%,transparent 0 34%,rgba(255,225,151,.7) 35% 35.6%,transparent 37%),repeating-conic-gradient(from 1deg at 50% 50%,rgba(255,211,115,.98) 0deg 1.1deg,transparent 1.3deg 12deg);animation-delay:.15s}
html[data-seasonal-theme="nowy-rok"] .seasonal-scene::after{top:clamp(80px,15vh,180px);right:clamp(8px,12vw,180px);background-image:radial-gradient(circle at 50% 50%,#fff 0 1.5%,rgba(186,221,255,.98) 2% 3.5%,transparent 6%),radial-gradient(circle at 50% 50%,transparent 0 34%,rgba(186,221,255,.68) 35% 35.6%,transparent 37%),repeating-conic-gradient(from 7deg at 50% 50%,rgba(137,187,255,.98) 0deg 1.1deg,transparent 1.3deg 12deg);filter:drop-shadow(0 0 16px rgba(105,161,255,.7));animation-delay:2.05s;animation-duration:4.8s}

html[data-seasonal-theme="wielkanoc"] .seasonal-scene{background-image:radial-gradient(circle at 18% 16%,rgba(246,181,198,.5) 0 2px,transparent 3px),radial-gradient(circle at 71% 22%,rgba(185,164,224,.44) 0 2px,transparent 3px),radial-gradient(circle at 88% 62%,rgba(246,211,127,.45) 0 2px,transparent 3px),radial-gradient(circle at 27% 72%,rgba(155,203,154,.42) 0 2px,transparent 3px);background-size:125px 151px,167px 179px,193px 203px,229px 217px;animation:fixaro-season-confetti 18s linear infinite}
html[data-seasonal-theme="wielkanoc"] .seasonal-scene::before{content:"✿";top:90px;right:18px;color:#edabc0;font-size:57px;opacity:.45;text-shadow:0 4px 16px rgba(166,110,145,.16);animation:fixaro-season-bloom 6s ease-in-out infinite}
html[data-seasonal-theme="wielkanoc"] .seasonal-scene::after{content:"🌷";right:clamp(14px,5vw,70px);bottom:17px;font-size:41px;opacity:.37;filter:drop-shadow(0 7px 12px rgba(70,110,70,.16));animation:fixaro-season-float 6.5s ease-in-out infinite}

html[data-seasonal-theme="11-listopada"] .seasonal-scene{background-color:#f8f2f3}

@keyframes fixaro-firework-burst{0%{opacity:0;transform:scale(.18) rotate(-14deg)}10%{opacity:.96}44%{opacity:.82;transform:scale(.92) rotate(4deg)}72%{opacity:.38;transform:scale(1.08) rotate(10deg)}100%{opacity:0;transform:scale(1.22) rotate(17deg)}}
@keyframes fixaro-season-snowfall{0%{background-position:0 -100px,31px -170px,66px -240px}100%{background-position:25px 100vh,5px 100vh,90px 100vh}}
@keyframes fixaro-season-embers{0%{background-position:0 0,31px 47px,0 0}100%{background-position:0 -180px,31px -260px,0 0}}
@keyframes fixaro-season-glitter{0%{opacity:.48;background-position:0 0,21px 37px,52px 16px,13px 63px}100%{opacity:.86;background-position:13px -22px,3px 16px,38px -12px,33px 48px}}
@keyframes fixaro-season-confetti{0%{background-position:0 -120px,37px -220px,81px -160px,14px -260px}100%{background-position:18px 100vh,5px 100vh,112px 100vh,44px 100vh}}
@keyframes fixaro-season-bloom{0%,100%{transform:rotate(-7deg) scale(.94)}50%{transform:rotate(7deg) scale(1.06)}}
@media(max-width:680px){html[data-seasonal-theme="nowy-rok"] .seasonal-scene::before{left:22%;top:88px;width:190px}html[data-seasonal-theme="nowy-rok"] .seasonal-scene::after{right:-24px;top:116px;width:170px}html[data-seasonal-theme="halloween"] .seasonal-scene::before,html[data-seasonal-theme="mikolajki"] .seasonal-scene::before,html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene::before,html[data-seasonal-theme="wielkanoc"] .seasonal-scene::before,html[data-seasonal-theme="11-listopada"] .seasonal-scene::after{top:68px;right:4px;font-size:36px;opacity:.23}html[data-seasonal-theme="halloween"] .seasonal-scene::after,html[data-seasonal-theme="mikolajki"] .seasonal-scene::after,html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene::after,html[data-seasonal-theme="wielkanoc"] .seasonal-scene::after,html[data-seasonal-theme="11-listopada"] .seasonal-scene::before{right:6px;bottom:10px;font-size:29px;opacity:.2}}
@media(prefers-reduced-motion:reduce){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::after{animation:none!important}}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene{display:none!important}}

/* Illustrated seasonal environments and the user's small, clickable holiday companion. */
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene{position:fixed;inset:0;z-index:0;display:block;overflow:hidden;pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:100% 100%;opacity:.9}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.app-screen>.seasonal-scene,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-scene{position:fixed;z-index:0}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene::after{display:none!important}
html[data-seasonal-theme="halloween"] .seasonal-scene{background-image:url("seasonal-scenes/halloween.svg")}
html[data-seasonal-theme="mikolajki"] .seasonal-scene{background-image:url("seasonal-scenes/mikolajki.svg")}
html[data-seasonal-theme="boze-narodzenie"] .seasonal-scene{background-image:url("seasonal-scenes/boze-narodzenie.svg")}
html[data-seasonal-theme="nowy-rok"] .seasonal-scene{background-image:url("seasonal-scenes/nowy-rok.svg")}
html[data-seasonal-theme="wielkanoc"] .seasonal-scene{background-image:url("seasonal-scenes/wielkanoc.svg")}
html[data-seasonal-theme="11-listopada"] .seasonal-scene{background-image:url("seasonal-scenes/11-listopada.svg")}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-effects{position:fixed;inset:0;z-index:3;overflow:hidden;pointer-events:none;user-select:none}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-effects{position:fixed;z-index:3}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-notice{position:fixed;z-index:1100}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-corner-toggle{position:fixed;z-index:1090}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-companion{position:fixed;z-index:1095}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen>.seasonal-intro{position:fixed;inset:0;z-index:22000}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body::after{display:none!important}

.seasonal-notice[hidden],.seasonal-corner-toggle[hidden]{display:none!important}
.seasonal-notice{position:fixed;top:84px;right:16px;z-index:1100;display:flex;align-items:center;gap:12px;width:min(390px,calc(100vw - 32px));padding:13px 13px 13px 15px;border:1px solid rgba(var(--season-accent-rgb),.28);border-left:4px solid var(--season-accent);border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 16px 48px rgba(21,35,57,.18);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);animation:fixaro-notice-arrive .42s cubic-bezier(.2,.75,.25,1) both}
.seasonal-notice-copy{display:grid;gap:3px;min-width:0;flex:1}.seasonal-notice-copy strong{color:var(--navy);font-size:12px;font-weight:850}.seasonal-notice-copy span{color:var(--muted);font-size:11px;line-height:1.4}.seasonal-notice-footnote{margin-top:2px;color:#8993a2;font-size:9px;line-height:1.35}.seasonal-notice-hide{min-height:34px;padding:7px 10px;border:1px solid rgba(var(--season-accent-rgb),.2);border-radius:9px;background:var(--blue-2);color:var(--season-accent-dark);font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}.seasonal-notice-hide:hover{background:rgba(var(--season-accent-rgb),.14)}.seasonal-notice-dismiss{align-self:flex-start;width:25px;height:25px;flex:0 0 25px;padding:0;border:0;border-radius:7px;background:transparent;color:#8491a2;font-size:20px;line-height:1;cursor:pointer}.seasonal-notice-dismiss:hover{background:#f0f3f7;color:#34455d}
.seasonal-corner-toggle{position:fixed;top:84px;right:16px;z-index:1090;display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(var(--season-accent-rgb),.32);border-radius:14px;background:rgba(255,255,255,.94);color:var(--season-accent-dark);box-shadow:0 7px 24px rgba(23,39,61,.15);font-size:19px;cursor:pointer;backdrop-filter:blur(9px)}.seasonal-corner-toggle:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(23,39,61,.2)}
.seasonal-companion{position:fixed;left:0;bottom:12px;z-index:1095;display:none;width:76px;height:76px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;touch-action:none;filter:drop-shadow(0 8px 12px rgba(22,34,53,.18));animation:fixaro-companion-patrol 32s cubic-bezier(.35,0,.65,1) infinite alternate;will-change:transform}
html[data-seasonal-theme="halloween"] .seasonal-companion,html[data-seasonal-theme="mikolajki"] .seasonal-companion,html[data-seasonal-theme="boze-narodzenie"] .seasonal-companion,html[data-seasonal-theme="nowy-rok"] .seasonal-companion,html[data-seasonal-theme="wielkanoc"] .seasonal-companion,html[data-seasonal-theme="11-listopada"] .seasonal-companion{display:grid;place-items:center}
.seasonal-companion:hover{animation-play-state:paused;filter:drop-shadow(0 11px 17px rgba(22,34,53,.24))}.seasonal-companion:focus-visible,.seasonal-corner-toggle:focus-visible,.seasonal-notice button:focus-visible{outline:3px solid var(--season-highlight);outline-offset:3px}
.seasonal-companion-bubble{position:absolute;left:50%;bottom:calc(100% + 7px);width:max-content;max-width:190px;padding:8px 11px;border:1px solid rgba(var(--season-accent-rgb),.22);border-radius:13px;background:rgba(255,255,255,.96);color:var(--season-accent-dark);box-shadow:0 7px 20px rgba(24,39,61,.15);font-size:10px;font-weight:850;white-space:nowrap;opacity:.94;transform:translateX(-50%);transition:transform .18s ease,box-shadow .18s ease}.seasonal-companion-bubble::after{content:"";position:absolute;left:50%;top:100%;width:9px;height:9px;border-right:1px solid rgba(var(--season-accent-rgb),.22);border-bottom:1px solid rgba(var(--season-accent-rgb),.22);background:rgba(255,255,255,.96);transform:translate(-50%,-5px) rotate(45deg)}.seasonal-companion:hover .seasonal-companion-bubble,.seasonal-companion:focus-visible .seasonal-companion-bubble,.seasonal-companion-bubble.is-speaking{box-shadow:0 9px 25px rgba(24,39,61,.22);transform:translateX(-50%) translateY(-3px)}
.seasonal-mascot-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:fixaro-companion-step .42s ease-in-out infinite alternate;transition:opacity .2s,transform .2s}.seasonal-mascot-hatched{opacity:0;transform:translateY(10px) scale(.8)}.seasonal-companion.is-reacting .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-react .58s ease-in-out 3}.seasonal-companion.is-reacting .seasonal-mascot-hatched{opacity:1;transform:translateY(-9px) scale(1);animation:fixaro-chick-hatch .65s cubic-bezier(.2,.8,.2,1) both}html[data-seasonal-theme="wielkanoc"] .seasonal-companion.is-reacting .seasonal-mascot-image:first-child{opacity:0;transform:scale(.84)}
.seasonal-fireworks-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.96;mix-blend-mode:screen}
.seasonal-particle{position:absolute;z-index:2;display:block;font-size:clamp(15px,2vw,27px);line-height:1;filter:drop-shadow(0 2px 6px rgba(21,30,45,.24));animation:fixaro-particle-flight var(--particle-duration,1.7s) cubic-bezier(.18,.65,.26,1) var(--particle-delay,0s) both}
.seasonal-particle-runner{font-size:clamp(18px,2vw,29px);animation-name:fixaro-spider-sprint;animation-timing-function:linear}

@keyframes fixaro-notice-arrive{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fixaro-companion-patrol{from{transform:translate3d(12px,0,0)}to{transform:translate3d(calc(100vw - 100% - 12px),0,0)}}
@keyframes fixaro-companion-step{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-4px) rotate(2deg)}}
@keyframes fixaro-companion-react{0%,100%{transform:translateY(0) rotate(0) scale(1)}24%{transform:translateY(-11px) rotate(-9deg) scale(1.08)}52%{transform:translateY(2px) rotate(8deg) scale(.96)}78%{transform:translateY(-7px) rotate(-5deg) scale(1.04)}}
@keyframes fixaro-chick-hatch{0%{transform:translateY(16px) scale(.5);opacity:0}72%{transform:translateY(-14px) scale(1.12);opacity:1}100%{transform:translateY(-9px) scale(1);opacity:1}}
@keyframes fixaro-particle-flight{0%{opacity:0;transform:translate3d(0,0,0) scale(.4) rotate(-24deg)}16%{opacity:1;transform:translate3d(0,-12px,0) scale(1) rotate(0)}100%{opacity:0;transform:translate3d(var(--particle-x,0),var(--particle-y,-140px),0) scale(.55) rotate(170deg)}}
@keyframes fixaro-spider-sprint{0%{opacity:0;transform:translate3d(0,0,0) rotate(-15deg) scale(.65)}8%{opacity:1}100%{opacity:0;transform:translate3d(var(--particle-x,100vw),var(--particle-y,0),0) rotate(390deg) scale(1.05)}}

@media(max-width:680px){.seasonal-notice{top:auto;right:9px;bottom:84px;width:min(365px,calc(100vw - 18px));gap:8px;padding:10px}.seasonal-notice-copy strong{font-size:11px}.seasonal-notice-copy span{font-size:10px}.seasonal-notice-hide{min-height:32px;padding:6px 8px;font-size:9px}.seasonal-corner-toggle{top:auto;right:11px;bottom:82px;width:38px;height:38px}.seasonal-companion{bottom:8px;width:60px;height:60px}}
@media(max-width:390px){.seasonal-notice{flex-wrap:wrap}.seasonal-notice-copy{flex-basis:calc(100% - 35px)}.seasonal-notice-hide{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.seasonal-notice{animation:none}.seasonal-companion,.seasonal-companion:hover{animation:none;will-change:auto}.seasonal-mascot-image{animation:none!important}.seasonal-companion.is-reacting .seasonal-mascot-hatched{animation:none!important;transform:none}.seasonal-particle{animation:none!important;opacity:1;transform:none}.seasonal-corner-toggle{transition:none}}

/* Personal opt-out: the global owner choice stays intact for everyone else. */
html[data-seasonal-theme].seasonal-hidden{--navy:#102341;--navy-2:#172f52;--blue:#0874ed;--blue-2:#eaf3ff;--yellow:#f5c400;--ink:#182b48;--muted:#71819a;--line:#e1e8f0;--surface:#fff;--page:#f3f6fb;--green:#178767;--danger:#a62d3f;--shadow:0 20px 55px rgba(24,54,96,.10);--season-accent:#0874ed;--season-accent-dark:#055fc9;--season-accent-rgb:8,116,237;--season-highlight:#eaf3ff;--season-glow-secondary:rgba(8,116,237,.16);--season-night-start:#0c1c34;--season-night-mid:#102341;--season-night-end:#0c1c34;background:#f3f6fb!important}
html[data-seasonal-theme].seasonal-hidden body.app-screen,html[data-seasonal-theme].seasonal-hidden body.auth-screen{background:#f3f6fb!important;background-image:none!important}
html[data-seasonal-theme].seasonal-hidden body::before,html[data-seasonal-theme].seasonal-hidden body::after,html[data-seasonal-theme].seasonal-hidden .seasonal-scene,html[data-seasonal-theme].seasonal-hidden .seasonal-effects,html[data-seasonal-theme].seasonal-hidden .seasonal-companion{display:none!important}
html[data-seasonal-theme].seasonal-hidden .topbar{background:#fff!important;border-bottom-color:#e1e8f0!important;box-shadow:none!important}
html[data-seasonal-theme].seasonal-hidden .sidebar{background:linear-gradient(180deg,#102341,#0c1c34)!important;border-right-color:transparent!important}
html[data-seasonal-theme].seasonal-hidden .auth-brand{color:#102341!important}
html[data-seasonal-theme].seasonal-hidden .auth-footer{color:#8391a4!important}
html[data-seasonal-theme].seasonal-hidden .brand-icon{background:linear-gradient(145deg,#168fff,#064fb5)!important;box-shadow:0 7px 18px rgba(8,116,237,.24)!important}
html[data-seasonal-theme].seasonal-hidden .button-primary{background:linear-gradient(110deg,#0874ed,#055fc9)!important;box-shadow:0 8px 19px rgba(8,116,237,.19)!important}
html[data-seasonal-theme].seasonal-hidden .topbar::before,html[data-seasonal-theme].seasonal-hidden .topbar::after,html[data-seasonal-theme].seasonal-hidden .auth-brand::after,html[data-seasonal-theme].seasonal-hidden .mobile-brand::after{display:none!important}
html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-group-summary,html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-subitem{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-group-summary:hover,html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-group[open]>.nav-group-summary{background:rgba(255,255,255,.09)!important;color:#fff!important}
html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-group-active>.nav-group-summary,html[data-seasonal-theme].seasonal-hidden .sidebar nav .nav-subitem.nav-active{background:rgba(30,126,237,.18)!important;color:#fff!important}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-scene,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-effects,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-companion,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-notice,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .seasonal-corner-toggle{display:none!important}}

/* One short, skippable opening scene per seasonal theme and browser tab. */
.seasonal-intro[hidden]{display:none!important}
.seasonal-intro{position:fixed;inset:0;z-index:22000;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#34405d 0,#182239 50%,#0e1526 100%);color:#fff;opacity:1;transition:opacity .42s ease;isolation:isolate}
.seasonal-intro::before,.seasonal-intro::after{content:"";position:absolute;inset:-20%;pointer-events:none;opacity:.18;background-image:radial-gradient(circle,rgba(255,255,255,.92) 0 1px,transparent 1.6px),radial-gradient(circle,rgba(255,230,170,.86) 0 1px,transparent 1.7px);background-size:117px 137px,181px 193px;background-position:8px 22px,47px 67px;animation:fixaro-intro-stars 22s linear infinite}
.seasonal-intro::after{opacity:0;background:radial-gradient(circle at 50% 48%,rgba(255,255,255,.96),rgba(255,241,206,.5) 5%,rgba(255,255,255,0) 36%);transform:scale(.05)}
.seasonal-intro.is-playing::after{animation:fixaro-intro-flash .75s ease-out 1.04s both}
.seasonal-intro.is-leaving{opacity:0;pointer-events:none}
.seasonal-intro-grain{position:absolute;inset:0;z-index:0;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");mix-blend-mode:soft-light;pointer-events:none}
.seasonal-intro-stage{position:relative;z-index:1;display:grid;width:min(100vw,1040px);height:min(76vh,650px);min-height:380px;place-items:center}
.seasonal-intro-kicker{position:absolute;top:9%;left:50%;color:rgba(255,255,255,.72);font-size:10px;font-weight:900;letter-spacing:.34em;transform:translateX(-50%);white-space:nowrap}
.seasonal-intro-actor{position:absolute;z-index:2;top:42%;left:50%;display:grid;place-items:center;font-size:clamp(76px,12vw,150px);line-height:1;opacity:0;filter:drop-shadow(0 12px 26px rgba(0,0,0,.38));transform:translate(-50%,-50%)}
.seasonal-intro-actor.is-hatched{filter:drop-shadow(0 10px 24px rgba(255,217,111,.38))}
.seasonal-intro-impact{position:absolute;z-index:2;top:42%;left:50%;width:min(22vw,180px);aspect-ratio:1;border:2px solid rgba(255,255,255,.78);border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.1);box-shadow:0 0 20px rgba(255,255,255,.42),inset 0 0 20px rgba(255,255,255,.28)}
.seasonal-intro-crack{position:absolute;z-index:3;top:42%;left:50%;width:min(86vw,720px);height:min(65vh,520px);overflow:visible;opacity:0;transform:translate(-50%,-50%) scale(.91);filter:drop-shadow(0 0 8px rgba(255,255,255,.44))}
.seasonal-intro-crack path{fill:none;stroke:rgba(255,255,255,.92);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1700;stroke-dashoffset:1700}
.seasonal-intro-copy{position:absolute;bottom:11%;left:50%;width:min(90%,660px);color:rgba(255,255,255,.88);font-size:clamp(15px,2.2vw,21px);font-weight:650;letter-spacing:.01em;text-align:center;opacity:0;transform:translate(-50%,12px)}
.seasonal-intro-skip{position:absolute;right:18px;bottom:18px;z-index:4;min-height:38px;padding:8px 13px;border:1px solid rgba(255,255,255,.34);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:800;cursor:pointer;backdrop-filter:blur(8px)}
.seasonal-intro-skip:hover{background:rgba(255,255,255,.2)}.seasonal-intro-skip:focus-visible{outline:3px solid #fff1bd;outline-offset:3px}
.seasonal-intro-screenreader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.seasonal-intro.is-playing .seasonal-intro-copy{animation:fixaro-intro-copy .58s ease-out 1.78s both}
.seasonal-intro.is-playing .seasonal-intro-impact{animation:fixaro-intro-impact .8s cubic-bezier(.1,.8,.2,1) 1.02s both}
.seasonal-intro.is-playing .seasonal-intro-crack{animation:fixaro-intro-crack-frame 1.45s ease-out .98s both}
.seasonal-intro.is-playing .seasonal-intro-crack path{animation:fixaro-intro-crack-draw 1.08s ease-out 1.08s both}
.seasonal-intro.is-playing .seasonal-intro-actor{animation:fixaro-intro-halloween 2.1s cubic-bezier(.18,.72,.2,1) both}
.seasonal-intro[data-intro-theme="mikolajki"]{background:radial-gradient(ellipse at 50% 38%,#416b8a 0,#1d3e59 50%,#101f35 100%)}.seasonal-intro[data-intro-theme="mikolajki"].is-playing .seasonal-intro-actor{animation-name:fixaro-intro-snowflake}.seasonal-intro[data-intro-theme="mikolajki"] .seasonal-intro-crack path{stroke:#c7f2ff;filter:drop-shadow(0 0 6px #a9e4ff)}
.seasonal-intro[data-intro-theme="boze-narodzenie"]{background:radial-gradient(ellipse at 50% 38%,#41634c 0,#1d3b32 50%,#10231f 100%)}.seasonal-intro[data-intro-theme="boze-narodzenie"].is-playing .seasonal-intro-actor{animation-name:fixaro-intro-star}.seasonal-intro[data-intro-theme="boze-narodzenie"] .seasonal-intro-crack path{stroke:#ffe9a8}
.seasonal-intro[data-intro-theme="nowy-rok"]{background:radial-gradient(ellipse at 50% 38%,#414b76 0,#202847 48%,#0e1428 100%)}.seasonal-intro[data-intro-theme="nowy-rok"].is-playing .seasonal-intro-actor{animation-name:fixaro-intro-rocket}.seasonal-intro[data-intro-theme="nowy-rok"] .seasonal-intro-crack path{stroke:#ffd982;stroke-width:2.8}
.seasonal-intro[data-intro-theme="wielkanoc"]{background:radial-gradient(ellipse at 50% 38%,#82789b 0,#443d61 48%,#24233c 100%)}.seasonal-intro[data-intro-theme="wielkanoc"].is-playing .seasonal-intro-actor{animation-name:fixaro-intro-egg}.seasonal-intro[data-intro-theme="wielkanoc"].is-playing .seasonal-intro-actor.is-hatched{animation-name:fixaro-intro-chick}
.seasonal-intro[data-intro-theme="11-listopada"]{background:radial-gradient(ellipse at 50% 38%,#756a70 0,#453d42 50%,#28252b 100%)}
.seasonal-intro[data-intro-theme="11-listopada"].is-playing .seasonal-intro-actor{animation:fixaro-intro-proud-flag 3.3s ease-out both}
.seasonal-intro[data-intro-theme="11-listopada"] .seasonal-intro-impact,.seasonal-intro[data-intro-theme="11-listopada"] .seasonal-intro-crack{display:none}
.seasonal-intro[data-intro-theme="11-listopada"]::after{inset:0;opacity:0;transform:translateX(-100%);transform-origin:left center;background:linear-gradient(180deg,rgba(255,255,255,.62) 0 50%,rgba(199,55,73,.62) 50% 100%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent);mask-image:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent)}
.seasonal-intro[data-intro-theme="11-listopada"].is-playing::after{animation:fixaro-intro-unfurl 2.1s cubic-bezier(.22,.64,.23,1) .72s both}
.seasonal-intro[data-intro-theme="nowy-rok"].is-playing::after{animation:fixaro-intro-firework .9s ease-out 1.3s both}
.seasonal-intro[data-intro-theme="boze-narodzenie"].is-playing::after{animation:fixaro-intro-star-glow 1.15s ease-out 1.1s both}
@keyframes fixaro-intro-stars{to{background-position:35px 80px,-24px 28px}}
@keyframes fixaro-intro-flash{0%{opacity:0;transform:scale(.05)}12%{opacity:.95}100%{opacity:0;transform:scale(1.55)}}
@keyframes fixaro-intro-impact{0%{opacity:0;transform:translate(-50%,-50%) scale(.1)}22%{opacity:.9}100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}
@keyframes fixaro-intro-crack-frame{0%{opacity:0;transform:translate(-50%,-50%) scale(.91)}25%{opacity:.96}75%{opacity:.8}100%{opacity:0;transform:translate(-50%,-50%) scale(1.06)}}
@keyframes fixaro-intro-crack-draw{to{stroke-dashoffset:0}}
@keyframes fixaro-intro-copy{to{opacity:1;transform:translate(-50%,0)}}
@keyframes fixaro-intro-halloween{0%{opacity:0;transform:translate(-68vw,-14vh) rotate(-24deg) scale(.58)}22%{opacity:1;transform:translate(-21vw,-6vh) rotate(-9deg) scale(.88)}47%{opacity:1;transform:translate(-50%,-48%) rotate(8deg) scale(1.16)}53%{opacity:1;transform:translate(-50%,-48%) rotate(-6deg) scale(1.04)}69%{opacity:1;transform:translate(15vw,-34vh) rotate(22deg) scale(.9)}100%{opacity:0;transform:translate(64vw,-48vh) rotate(34deg) scale(.55)}}
@keyframes fixaro-intro-snowflake{0%{opacity:0;transform:translate(-50%,-74vh) rotate(0) scale(.2)}36%{opacity:1;transform:translate(-50%,-48%) rotate(270deg) scale(1.15)}50%{transform:translate(-50%,-48%) rotate(360deg) scale(1.25)}100%{opacity:0;transform:translate(-50%,-48%) rotate(660deg) scale(2.4)}}
@keyframes fixaro-intro-star{0%{opacity:0;transform:translate(44vw,-60vh) rotate(0) scale(.24)}42%{opacity:1;transform:translate(-50%,-48%) rotate(160deg) scale(1.1)}56%{transform:translate(-50%,-48%) rotate(210deg) scale(1.25)}100%{opacity:0;transform:translate(-50%,-48%) rotate(390deg) scale(2.8)}}
@keyframes fixaro-intro-rocket{0%{opacity:0;transform:translate(-72vw,44vh) rotate(42deg) scale(.35)}46%{opacity:1;transform:translate(-13vw,5vh) rotate(42deg) scale(.85)}66%{opacity:1;transform:translate(-50%,-48%) rotate(0) scale(1.12)}100%{opacity:0;transform:translate(-50%,-48%) rotate(-20deg) scale(2.1)}}
@keyframes fixaro-intro-firework{0%{opacity:0;transform:scale(.05)}20%{opacity:.88}100%{opacity:0;transform:scale(1.5)}}
@keyframes fixaro-intro-star-glow{0%{opacity:0;transform:scale(.05)}24%{opacity:.82}100%{opacity:0;transform:scale(1.4)}}
@keyframes fixaro-intro-egg{0%{opacity:0;transform:translate(-50%,-72vh) rotate(-12deg) scale(.7)}36%{opacity:1;transform:translate(-50%,-48%) rotate(11deg) scale(1.12)}48%{transform:translate(-50%,-44%) rotate(-7deg) scale(1)}62%{transform:translate(-50%,-48%) rotate(5deg) scale(1.08)}100%{opacity:0;transform:translate(-50%,-48%) rotate(0) scale(1.1)}}
@keyframes fixaro-intro-chick{0%{opacity:0;transform:translate(-50%,-48%) scale(.5)}45%{opacity:1;transform:translate(-50%,-60%) scale(1.3) rotate(-9deg)}100%{opacity:0;transform:translate(-50%,-80%) scale(1.9) rotate(8deg)}}
@keyframes fixaro-intro-proud-flag{0%{opacity:0;transform:translate(-50%,-54%)}22%{opacity:1;transform:translate(-50%,-50%)}78%{opacity:.98;transform:translate(-50%,-50%)}100%{opacity:0;transform:translate(-50%,-50%)}}
@keyframes fixaro-intro-unfurl{0%{opacity:0;transform:translateX(-100%) scaleX(.35)}24%{opacity:.9}62%{opacity:.72;transform:translateX(0) scaleX(1)}100%{opacity:0;transform:translateX(0) scaleX(1)}}
@keyframes fixaro-companion-patrol{0%,8%{transform:translate3d(12px,0,0)}45%,55%{transform:translate3d(calc(100vw - 100% - 12px),0,0)}92%,100%{transform:translate3d(12px,0,0)}}
@keyframes fixaro-companion-spin{0%{transform:rotate(0) scale(1)}45%{transform:rotate(240deg) scale(1.16)}100%{transform:rotate(360deg) scale(1)}}
@keyframes fixaro-companion-shake{0%,100%{transform:translateX(0) rotate(0)}18%{transform:translateX(-9px) rotate(-9deg)}36%{transform:translateX(9px) rotate(9deg)}54%{transform:translateX(-7px) rotate(-7deg)}72%{transform:translateX(7px) rotate(7deg)}90%{transform:translateX(-3px) rotate(-3deg)}}
@keyframes fixaro-companion-hop{0%,100%{transform:translateY(0)}38%{transform:translateY(-72px) rotate(-8deg)}65%{transform:translateY(-25px) rotate(6deg)}}
@keyframes fixaro-companion-drag{0%,100%{transform:scale(1)}50%{transform:scale(1.12) rotate(8deg)}}
.seasonal-companion.is-dragging{animation:none!important;transform:none!important;cursor:grabbing;touch-action:none;filter:drop-shadow(0 12px 20px rgba(15,28,47,.32))}.seasonal-companion.has-custom-position{animation:none!important;transform:none!important}
.seasonal-companion-bubble.is-below{top:calc(100% + 7px);bottom:auto}.seasonal-companion-bubble.is-below::after{top:-5px;transform:translate(-50%,0) rotate(225deg)}
.seasonal-companion.is-reacting.gesture-spin .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-spin .8s cubic-bezier(.2,.8,.2,1) both!important}.seasonal-companion.is-reacting.gesture-shake .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-shake .72s ease-in-out both!important}.seasonal-companion.is-reacting.gesture-hop .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-hop .8s cubic-bezier(.2,.8,.2,1) both!important}.seasonal-companion.is-reacting.gesture-drag .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-drag .7s ease-in-out both!important}
html[data-seasonal-theme="11-listopada"] .seasonal-companion[data-companion-theme="11-listopada"]{animation:fixaro-companion-proud-glide 42s ease-in-out infinite alternate;filter:drop-shadow(0 9px 15px rgba(52,33,39,.18))}
html[data-seasonal-theme="11-listopada"] .seasonal-companion[data-companion-theme="11-listopada"] .seasonal-mascot-image{animation:fixaro-companion-proud-wave 5s ease-in-out infinite alternate}
html[data-seasonal-theme="11-listopada"] .seasonal-companion[data-companion-theme="11-listopada"].is-reacting .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:fixaro-companion-proud-wave 1.5s ease-in-out 1!important}
@keyframes fixaro-companion-proud-glide{0%,12%{transform:translate3d(12px,0,0)}48%,58%{transform:translate3d(calc(100vw - 100% - 12px),0,0)}92%,100%{transform:translate3d(12px,0,0)}}
@keyframes fixaro-companion-proud-wave{0%,100%{transform:rotate(-1deg) translateY(0)}50%{transform:rotate(1deg) translateY(-1px)}}
@media(max-width:680px){.seasonal-intro-stage{height:min(70vh,550px);min-height:330px}.seasonal-intro-kicker{top:11%;font-size:8px;letter-spacing:.24em}.seasonal-intro-copy{bottom:12%;font-size:15px}.seasonal-intro-skip{right:10px;bottom:10px}.seasonal-intro-crack{width:94vw;height:58vh}.seasonal-companion.gesture-hop .seasonal-mascot-image{animation-name:fixaro-companion-hop!important}}
@media(prefers-reduced-motion:reduce){.seasonal-intro,.seasonal-intro::before,.seasonal-intro::after{animation:none!important;transition:none!important}.seasonal-intro.is-playing .seasonal-intro-actor,.seasonal-intro.is-playing .seasonal-intro-crack,.seasonal-intro.is-playing .seasonal-intro-crack path,.seasonal-intro.is-playing .seasonal-intro-impact,.seasonal-intro.is-playing .seasonal-intro-copy{animation:none!important;opacity:0!important}.seasonal-companion.is-dragging,.seasonal-companion.has-custom-position{transition:none!important}.seasonal-companion.gesture-spin .seasonal-mascot-image,.seasonal-companion.gesture-shake .seasonal-mascot-image,.seasonal-companion.gesture-hop .seasonal-mascot-image,.seasonal-companion.gesture-drag .seasonal-mascot-image{animation:none!important}}
@media(prefers-reduced-motion:reduce){.seasonal-companion.is-reacting.gesture-spin .seasonal-mascot-image:not(.seasonal-mascot-hatched),.seasonal-companion.is-reacting.gesture-shake .seasonal-mascot-image:not(.seasonal-mascot-hatched),.seasonal-companion.is-reacting.gesture-hop .seasonal-mascot-image:not(.seasonal-mascot-hatched),.seasonal-companion.is-reacting.gesture-drag .seasonal-mascot-image:not(.seasonal-mascot-hatched){animation:none!important}}
@media print{.seasonal-intro{display:none!important}}

:root{--navy:#102341;--navy-2:#172f52;--blue:#0874ed;--blue-2:#eaf3ff;--yellow:#f5c400;--ink:#182b48;--muted:#71819a;--line:#e1e8f0;--surface:#fff;--page:#f3f6fb;--green:#178767;--danger:#a62d3f;--shadow:0 20px 55px rgba(24,54,96,.10)}
*{box-sizing:border-box}
html{min-width:320px;background:var(--page)}
body{margin:0;color:var(--ink);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.5;background:var(--page)}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
button,input,textarea,select{font:inherit}
.auth-screen{min-height:100vh;background:radial-gradient(circle at 82% 12%,rgba(8,116,237,.18),transparent 30%),linear-gradient(140deg,#edf4fd,#f8fafc 52%,#eaf1fa);display:flex;flex-direction:column;align-items:center;padding:30px 18px 20px}
.auth-brand,.brand{display:flex;align-items:center;gap:11px;color:var(--navy);font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-.6px}
.auth-brand{margin:10px auto 24px}
.auth-brand small,.brand small,.mobile-brand small{font-size:10px;letter-spacing:1.7px;color:var(--blue);display:block;line-height:1.2}
.brand-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:22px;font-weight:800;background:linear-gradient(145deg,#168fff,#064fb5);box-shadow:0 7px 18px rgba(8,116,237,.24)}
.brand-icon img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.auth-main{width:min(100%,520px);margin:0 auto;flex:1;display:flex;align-items:flex-start;justify-content:center}
.auth-card,.setup-card{background:rgba(255,255,255,.96);border:1px solid rgba(213,225,239,.95);border-radius:22px;padding:34px;box-shadow:var(--shadow);width:100%}
.auth-card{margin:20px 0 35px;max-width:490px}
.setup-card{max-width:760px;margin:8px 0 30px}
.auth-card h1,.setup-card h1,.page-heading h1{font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);font-weight:800;letter-spacing:-1px;line-height:1.15;margin:6px 0 11px}
.auth-card h1,.setup-card h1{font-size:29px}
.muted,.page-heading p{color:var(--muted)}
.eyebrow{text-transform:uppercase;letter-spacing:1.45px;font-size:11px;font-weight:800;color:var(--blue)}
.stack-form{display:grid;gap:16px;margin-top:23px}
label{display:grid;gap:7px;font-size:13px;color:#344864;font-weight:700}
input,textarea,select{width:100%;border:1px solid #d7e1ed;border-radius:10px;background:#fff;padding:12px 13px;color:var(--ink);outline:none;transition:border-color .16s,box-shadow .16s}
input:focus,textarea:focus,select:focus{border-color:#5da6f7;box-shadow:0 0 0 3px rgba(8,116,237,.12)}
input::placeholder,textarea::placeholder{color:#a0adbd}
textarea{resize:vertical;min-height:110px}
label small,.mini{font-weight:400;font-size:12px;line-height:1.5;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:10px;font-weight:800;font-size:13px;cursor:pointer;text-decoration:none;transition:transform .12s,box-shadow .12s,background .12s}
.button:hover{transform:translateY(-1px);text-decoration:none}
.button-primary{color:#fff;background:linear-gradient(110deg,#0874ed,#055fc9);box-shadow:0 8px 19px rgba(8,116,237,.19)}
.button-primary:hover{background:linear-gradient(110deg,#0868d5,#064fb5)}
.button-secondary{color:#17416d;background:#eef5fc;border-color:#e3edf7}
.button-quiet{color:#65758d;background:transparent;border-color:var(--line)}
.button:disabled{opacity:.48;cursor:not-allowed;transform:none}
.full{width:100%;margin-top:3px}
.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:19px;font-size:12px;color:var(--muted)}
.auth-links.centered{justify-content:center}
.auth-links a{font-weight:700}
.secure-note{display:flex;align-items:center;gap:10px;margin-top:22px;padding:12px 14px;border-radius:12px;background:#f1f7ff;color:#56708e;font-size:12px}
.secure-icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#dceeff;color:#0874ed;font-weight:800}
.auth-footer{font-size:11px;color:#7c8ba1;padding:18px 0 5px;text-align:center}
.notice{padding:12px 14px;border-radius:11px;margin:16px 0 0;font-size:13px;border:1px solid transparent}
.notice-info{color:#355878;background:#edf6ff;border-color:#d7eafd}
.notice-success{color:#126747;background:#eaf8f2;border-color:#d1eee2}
.notice-warning{color:#785700;background:#fff8da;border-color:#f6e9a7}
.notice-error{color:#8f2e3d;background:#fff0f1;border-color:#f3d1d5}
.check-row{display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.55}
.check-row input{width:17px;height:17px;margin:2px 0 0;flex:0 0 17px;accent-color:var(--blue)}
.email-chip{display:inline-block;border:1px solid var(--line);background:#f7f9fc;border-radius:9px;padding:9px 12px;font-size:13px}
.form-section{padding:19px 0;border-top:1px solid var(--line)}
.form-section h2{font:800 15px Inter,'Segoe UI',Arial,sans-serif;margin:0 0 5px;color:var(--navy)}
.form-section .mini{margin:0 0 13px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.full-field{grid-column:1/-1}
.setup-footnote{text-align:center;margin:18px 0 0}
.reference-code{font-family:monospace;background:#f5f8fb;border:1px solid var(--line);padding:10px 13px;border-radius:9px;margin:18px 0;color:#546982}
.app-screen{min-height:100vh;background:#f2f5fa}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:250px;background:linear-gradient(180deg,#102341,#0c1c34);color:#fff;display:flex;flex-direction:column;padding:24px 17px 18px;flex:0 0 250px}
.brand{color:#fff;padding:0 7px;font-size:21px}
.brand small,.mobile-brand small{color:#78b8ff}
.org-label{margin:27px 5px 15px;padding:10px 11px;border:1px solid rgba(255,255,255,.11);border-radius:10px;color:#c8d6e8;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.sidebar nav{display:grid;gap:5px}
.sidebar nav a{padding:11px 12px;color:#d6e2f1;border-radius:9px;font-size:13px;font-weight:700}
.sidebar nav a:hover{background:rgba(255,255,255,.10);color:white;text-decoration:none}
.sidebar-foot{margin-top:auto;display:grid;gap:7px;color:#91a5bf;font-size:11px;padding:16px 8px 3px}
.main-area{min-width:0;flex:1;display:flex;flex-direction:column}
.topbar{height:70px;display:flex;align-items:center;justify-content:flex-end;padding:0 clamp(20px,4vw,54px);background:#fff;border-bottom:1px solid var(--line)}
.account{display:flex;align-items:center;gap:10px;color:#3e516b;font-size:12px;font-weight:700}
.account form{margin:0}
.user-dot{width:30px;height:30px;border-radius:50%;background:#e9f2ff;color:#0768d5;display:grid;place-items:center;font-weight:800}
.role-pill{font-size:10px;color:#61758f;background:#f2f5f9;padding:4px 7px;border-radius:999px;text-transform:capitalize}
.account-name{min-width:0}
.plan-pill{display:none;align-items:center;justify-content:center;min-height:26px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:850;line-height:1.1;white-space:nowrap}
.plan-pill-trial{background:#fff4d5;border-color:#f4df9e;color:#805700}
.plan-pill-pro{background:#e9f2ff;border-color:#d3e4ff;color:#155db3}
.plan-pill-perpetual{background:#e8f7ef;border-color:#ccebd9;color:#13724f}
.plan-pill-inactive{background:#fff0f1;border-color:#f2d2d6;color:#9a3441}
.mobile-nav-heading{display:none}
.link-button{border:0;background:none;color:#637791;font-weight:700;cursor:pointer;font-size:12px;padding:8px}
.content-wrap{width:min(100%,1500px);margin:0 auto;padding:34px clamp(18px,4vw,54px);flex:1}
.footer{padding:16px clamp(18px,4vw,54px);border-top:1px solid var(--line);color:#8391a4;font-size:11px;background:#fff}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}
.page-heading h1{font-size:29px;margin:4px 0}
.page-heading p{margin:0;font-size:13px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:23px 0}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 19px;box-shadow:0 5px 15px rgba(25,52,89,.035);display:grid;gap:4px}
.stat-card span{font-size:12px;color:var(--muted);font-weight:700}
.stat-card strong{font:800 31px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy)}
.stat-card small{font-size:11px;color:#9aa7b6}
.stat-blue{border-top:3px solid #2582ef}.stat-yellow{border-top:3px solid var(--yellow)}.stat-green{border-top:3px solid #22a67e}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:16px;align-items:start;margin-top:17px}
.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 15px rgba(25,52,89,.035);padding:20px}
.panel h2{font:800 17px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);margin:0 0 4px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.panel-head p{margin:0;color:var(--muted);font-size:12px}
.panel-head>a{font-size:12px;font-weight:800}
.side-panel{padding:22px}.side-panel h2{margin:6px 0 16px}.side-panel p{color:#64758d;font-size:13px}.side-panel strong{color:var(--navy)}
.divider{height:1px;background:var(--line);margin:15px 0}
.table-wrap{overflow:auto;width:100%}
table{border-collapse:collapse;width:100%;min-width:760px;font-size:12px}
th{text-align:left;background:#f6f8fb;color:#6d7e94;font-size:10px;text-transform:uppercase;letter-spacing:.55px;padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:13px 12px;border-bottom:1px solid #edf1f5;color:#394f6b;vertical-align:top}
tbody tr:hover{background:#fbfdff}
.cell-sub{display:block;color:#8190a5;font-size:10px;margin-top:4px}
.order-link{color:var(--navy)}
.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf2ff;color:#2263ae;font-size:10px;font-weight:800;white-space:nowrap}
.empty-state{text-align:center;padding:45px 20px;color:#6e7d91}
.empty-state strong{display:block;color:var(--navy);margin:8px 0 4px}
.empty-state p{font-size:12px;margin:0 auto 16px;max-width:420px}
.empty-icon{margin:auto;width:42px;height:42px;border-radius:13px;background:#edf5ff;color:#1680ef;font-weight:800;font-size:25px;display:grid;place-items:center}
.search-bar{display:flex;gap:9px;margin-bottom:17px}
.search-bar input{flex:1;min-width:120px}
.form-panel{max-width:970px;padding:25px}
.form-panel .form-section:first-of-type{border-top:0;padding-top:0}
.form-panel .stack-form{gap:3px}
.details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px 22px}
.details-grid>div{padding:16px;border-bottom:1px solid #edf1f5;display:grid;gap:4px;min-width:0}
.details-grid span{font-size:11px;color:#8290a3}
.details-grid strong{font-size:13px;color:var(--navy);overflow-wrap:anywhere}
.details-grid .details-wide{grid-column:1/-1}
.details-wide p{margin:3px 0 8px;font-size:13px;white-space:pre-wrap}
.mobile-brand{display:none;color:var(--navy);font-family:Inter,'Segoe UI',Arial,sans-serif;font-weight:800}
.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.button-small{min-height:32px;padding:6px 10px;font-size:11px}
.order-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}
.order-detail-layout>.panel{min-width:0}
.order-detail-layout .details-grid{padding:4px 8px}
.order-detail-layout .details-grid>div{padding:14px 11px}
.status-panel h2{margin:6px 0 0}
.compact-form{margin-top:16px;gap:12px}
.history-panel{margin-top:16px}
.history-list{display:grid;gap:0}
.history-entry{position:relative;display:flex;gap:13px;padding:14px 0;border-top:1px solid #edf1f5}
.history-marker{width:9px;height:9px;margin:5px 0 0 2px;border-radius:50%;background:#1680ef;box-shadow:0 0 0 4px #eaf3ff;flex:0 0 9px}
.history-entry strong{font-size:13px;color:var(--navy)}
.history-entry p{margin:3px 0 4px;font-size:12px;color:#415874;overflow-wrap:anywhere}
.history-entry small{font-size:11px;color:#8290a3}
.compact-empty{padding:24px 10px}
[data-nip-field][hidden]{display:none!important}
.user-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}
.role-stat{font-size:20px!important;padding:6px 0}
.invite-panel{margin-bottom:16px}
.invite-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:13px;align-items:end}
.invite-form label{min-width:0}
.invite-form .button{white-space:nowrap}
.users-panel .panel-head{margin-bottom:12px}
.users-panel table{min-width:930px}
.users-panel td{vertical-align:middle}
.users-panel td form{margin:0}
.account-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.account-active{background:#e9f8f1;color:#13724f}
.account-pending{background:#fff6d9;color:#846100}
.account-inactive{background:#f0f2f5;color:#66758a}
.table-footnote{margin:13px 0 0}
.access-denied{max-width:650px;margin:30px auto}
.access-denied h1{font:800 24px Inter,'Segoe UI',Arial,sans-serif;color:var(--navy);margin:5px 0}
.access-denied p{color:var(--muted)}
.portal-nav{margin-top:10px;border-top:1px solid rgba(255,255,255,.14);padding-top:16px!important;color:#9fcbff!important}
.portal-pill{background:#e7f2ff;color:#145db0}
.portal-access-badge{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid #cfe4ff;border-radius:999px;background:#edf6ff;color:#145db0;font-size:11px;font-weight:800;white-space:nowrap}
.portal-stats{margin-top:0}
.portal-organizations{margin-bottom:16px}
.portal-accounts{margin-bottom:16px}
.portal-support-guide{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;margin:0 0 14px;border-color:#cfe1f8;background:linear-gradient(120deg,#f3f8ff,#fff)}
.portal-support-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:13px;background:#e7f1ff;color:#1768ca;font-size:22px;font-weight:850}
.portal-support-guide h2{margin:3px 0 7px;color:#163455;font-size:17px}
.portal-support-guide p{margin:0 0 7px;color:#415a76;font-size:12px;line-height:1.65}
.portal-support-guide small{color:#72829a;font-size:10px;line-height:1.5}
.portal-capabilities{margin-bottom:16px}
.portal-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.portal-capability-grid article{display:grid;align-content:start;gap:6px;padding:12px;border:1px solid #e1e9f2;border-radius:11px;background:#fbfdff}
.portal-capability-grid strong{color:#1d3858;font-size:11px}
.portal-capability-grid span{color:#6d7f95;font-size:10px;line-height:1.55}
.portal-table{min-width:1180px}
.portal-accounts table{min-width:1280px}
.portal-account-help{min-width:178px}.portal-account-help .button{white-space:normal;text-align:center;line-height:1.25}
.portal-table td{vertical-align:middle}
.plan-select-form{display:flex;align-items:center;gap:6px;margin-top:8px;max-width:350px}
.plan-select-form select{padding:7px 9px;font-size:11px;min-width:150px}
.plan-select-form .button{flex:0 0 auto}
.portal-two-col{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-bottom:16px;align-items:stretch}
.plan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.plan-card{display:grid;gap:7px;padding:13px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#fff,#f7faff)}
.plan-card strong{color:var(--navy);font-size:12px}
.plan-card span,.plan-card b small{color:var(--muted);font-size:10px;font-weight:600}
.plan-card b{color:#0869d8;font-size:17px}
.plan-card b small{font-size:10px}
.beta-form{margin-top:12px}
.beta-form .form-grid{gap:10px}
.beta-link-result{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:18px;align-items:center;border-color:#cfe4ff;background:linear-gradient(120deg,#fff,#f0f7ff);margin-bottom:16px}
.beta-link-result strong{display:block;color:var(--navy);font-size:13px;margin-top:7px}
.beta-link-result p{margin:5px 0 0;color:var(--muted);font-size:12px}
.copy-link-row{display:flex;gap:8px;min-width:0}
.copy-link-row input{font-size:11px;min-width:0}
.copy-link-row .button{white-space:nowrap}
.beta-history{margin-bottom:8px}
.beta-history table{min-width:680px}
.inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.inventory-table{min-width:1200px}
.inventory-actions{display:flex;align-items:center;gap:5px;min-width:330px}
.inventory-actions form{display:flex;align-items:center;gap:4px;margin:0}
.inventory-actions input{width:62px;padding:7px 6px;font-size:11px}
.inventory-actions .button{min-height:32px}
.stock-value{font-weight:800;color:#14644b;white-space:nowrap}
.stock-low{color:#a36300}
.inventory-editor,.calendar-editor{margin-top:16px}
.inventory-form{align-items:end;gap:13px}
.inventory-form-actions{grid-column:1/-1;display:flex;gap:8px}
.calendar-table{min-width:930px}
.calendar-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}
.calendar-actions form{margin:0}
.calendar-editor .form-grid{align-items:end}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.nav-item-disabled{display:flex!important;align-items:center;gap:10px;min-height:42px;padding:9px 11px;border-radius:10px;color:#adc1da!important;opacity:.8;cursor:not-allowed;user-select:none}
.nav-disabled-label{flex:1}.nav-coming-soon{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 7px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.08);color:#d8e5f5;font-size:9px;font-weight:750;line-height:1.2}
.nav-primary{margin-top:8px!important;padding:11px 12px!important;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#f5c400!important;color:#102341!important;font-weight:800!important}
.section-tabs{display:flex;gap:7px;margin:-5px 0 15px;border-bottom:1px solid var(--line);overflow-x:auto}
.section-tabs a{display:inline-flex;align-items:center;padding:10px 13px;color:#64758b;text-decoration:none;font-size:12px;font-weight:750;border-bottom:2px solid transparent;white-space:nowrap}
.section-tabs a:hover,.section-tabs a.active{color:#075ec8;border-bottom-color:#0877ed}
.documents-table{min-width:900px}
.document-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}
.print-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:900px;margin:0 auto 14px}
.print-sheet{max-width:900px;margin:0 auto;padding:48px 56px;background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 14px 40px rgba(15,35,65,.09);color:#172b46}
.print-brand{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:2px solid #1678e8;padding-bottom:16px}
.print-brand>div:first-child{display:grid;gap:2px}
.print-brand strong{font-size:22px;color:#075ec8}
.print-brand span,.print-document-number,.print-meta span,.print-grid span{font-size:11px;color:#657891}
.print-document-number{font-weight:750}
.print-sheet>h1{margin:32px 0 5px;color:#102341;font-size:27px}
.print-lead{margin:0 0 24px;color:#62738a;font-size:13px}
.print-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.print-meta>div,.print-grid>div{display:grid;gap:5px;padding:12px;border:1px solid #dce5ef;border-radius:9px;background:#f7f9fc}
.print-meta strong,.print-grid strong{font-size:12px;color:#172b46;overflow-wrap:anywhere}
.print-section{margin-top:25px}
.print-section h2{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #dce5ef;font-size:15px;color:#102341}
.print-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.print-grid .print-wide{grid-column:1/-1}
.print-multiline{line-height:1.55;white-space:pre-wrap}
.print-terms p{font-size:12px;line-height:1.65;color:#42566f}
.print-signatures{display:grid;grid-template-columns:1fr 1fr;gap:54px;margin:65px 0 30px}
.print-signatures>div{display:grid;gap:8px;align-content:end;min-height:46px;border-top:1px solid #66758a;text-align:center}
.print-signatures span{font-size:10px;color:#657891}
.print-signatures strong{font-size:11px;color:#172b46}
.print-footer{border-top:1px solid #dce5ef;padding-top:10px;color:#8190a3;font-size:9px}
.subscription-page{max-width:1180px;margin:0 auto}.subscription-intro{padding:clamp(22px,4vw,42px)}.subscription-intro>h1{margin:7px 0 8px;color:var(--navy);font-size:clamp(27px,4vw,38px);letter-spacing:-.8px}.subscription-intro>p{max-width:760px;color:#5f7188}.subscription-current{display:inline-grid;gap:2px;margin:14px 0 22px;padding:12px 16px;border:1px solid #cfe4ff;border-radius:11px;background:#f1f7ff}.subscription-current span{color:#6c7f96;font-size:11px}.subscription-current strong{color:#145db0;font-size:14px}.subscription-plans-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:28px 0 13px}.subscription-plans-heading h2{margin:3px 0 0;color:var(--navy);font-size:21px}.subscription-badge{padding:7px 10px;border-radius:999px;background:#edf5ff;color:#145db0;font-size:10px;font-weight:800}.subscription-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.subscription-plan{display:flex;min-width:0;flex-direction:column;gap:10px;padding:18px;border:1px solid #dfe8f2;border-radius:14px;background:linear-gradient(160deg,#fff,#f8fbff);box-shadow:0 7px 21px rgba(24,54,96,.045)}.subscription-plan-name{min-height:36px;color:#405773;font-size:12px;font-weight:800}.subscription-price{color:#075ec8;font-size:25px;letter-spacing:-.5px}.subscription-price small{color:#71819a;font-size:11px;font-weight:650;letter-spacing:0}.subscription-seats{min-height:34px;color:#71819a;font-size:10px;line-height:1.55}.subscription-plan .button{margin-top:auto}.subscription-footnote{margin:16px 0 0;padding:12px 14px;border-radius:10px;background:#f5f7fa;color:#68788e;font-size:11px;line-height:1.6}.subscription-actions{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:15px}
@media print{html,body,body.app-screen{min-height:0!important;height:auto!important;background:#fff!important;color:#172b46!important}.sidebar,.topbar,.footer,.print-toolbar{display:none!important}.app-shell,.main-area,.content-wrap{display:block!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.content-wrap>*:not(.print-sheet){display:none!important}.print-sheet{display:block!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.print-sheet>h1{margin-top:26px}@page{size:A4;margin:17mm}}

@media(max-width:1000px){.sidebar{width:214px;flex-basis:214px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.side-panel{display:none}}
@media(max-width:1000px){.order-detail-layout{grid-template-columns:1fr}.status-panel{display:block}}
@media(max-width:1000px){.invite-form{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-form .button{grid-column:1/-1}}
@media(max-width:680px){.auth-screen{padding:16px 12px}.auth-brand{margin:5px auto 12px}.auth-card,.setup-card{padding:23px 19px;border-radius:17px}.auth-card h1,.setup-card h1{font-size:25px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.app-shell{display:block}.sidebar{width:100%;padding:12px 14px;display:block}.brand{display:none}.org-label{margin:0 0 9px;padding:7px 10px}.sidebar nav{display:flex;overflow-x:auto;gap:5px}.sidebar nav a{white-space:nowrap;padding:8px 10px;font-size:11px}.sidebar-foot{display:none}.topbar{height:55px;padding:0 15px;justify-content:space-between}.mobile-brand{display:block}.account{gap:7px;font-size:11px}.role-pill{display:none}.content-wrap{padding:24px 14px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.page-heading>.button{width:100%}.heading-actions{width:100%}.heading-actions .button{flex:1}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-card strong{font-size:26px}.panel{padding:14px}.panel-head{align-items:flex-start}.search-bar{flex-wrap:wrap}.search-bar input{flex-basis:100%}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.details-grid>div{padding:12px 8px}.details-grid .details-wide{grid-column:1/-1}.user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-form{grid-template-columns:1fr}.invite-form .button{grid-column:auto;width:100%}.portal-two-col{grid-template-columns:1fr}.portal-access-badge{white-space:normal}.beta-link-result{grid-template-columns:1fr}.copy-link-row{flex-direction:column}.copy-link-row .button{width:100%}.plan-cards{grid-template-columns:1fr}.plan-select-form{align-items:stretch;flex-direction:column}.plan-select-form .button{width:100%}.inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-actions{min-width:330px}.inventory-form-actions{grid-column:auto}.calendar-actions{align-items:flex-start;flex-direction:column}.calendar-actions .button{width:100%}.print-toolbar{align-items:stretch;flex-direction:column}.print-toolbar .button{width:100%}.print-sheet{padding:24px 18px}.print-meta{grid-template-columns:1fr}.print-signatures{gap:30px}.print-sheet>h1{font-size:22px}}
@media(max-width:980px){.subscription-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.subscription-plan-grid{grid-template-columns:1fr}.subscription-plans-heading{align-items:flex-start;flex-direction:column}.subscription-plan-name,.subscription-seats{min-height:0}.subscription-actions{align-items:stretch;flex-direction:column}.subscription-actions .button{width:100%}}

/* Document studio, database-backed logos and warehouse printouts */
.print-settings-panel{overflow:hidden}.print-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.print-setting-card{min-width:0;padding:19px;border:1px solid #e0e9f3;border-radius:15px;background:linear-gradient(155deg,#fff,#f8fbff)}.print-setting-card:nth-child(3){grid-column:1/-1}.print-setting-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.print-setting-title h3{margin:1px 0 4px;color:#142c4b;font-size:15px}.print-setting-title p{margin:0;color:#73839a;font-size:11px;line-height:1.5}.print-setting-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid #dceaff;border-radius:10px;background:#edf5ff;color:#1267ce;font-size:11px;font-weight:850}.print-setting-card .form-grid{gap:12px}.print-logo-setting-preview{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fff;color:#62748b;font-size:11px}.print-logo-setting-preview img{max-width:180px;max-height:76px;object-fit:contain}.print-field-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.print-live-preview{display:grid;gap:8px;max-width:none;margin-top:15px;padding:18px 20px;border:1px solid #e0e8f2;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(28,54,88,.05);color:#657891}.preview-brand{display:flex;align-items:center;gap:12px}.preview-brand img{width:46px;height:46px;object-fit:contain;border-radius:9px}.preview-brand>div{display:grid;gap:3px}.preview-brand span{color:#18385f;font-size:16px;font-weight:800}.preview-brand small,.print-live-preview>small{color:#7c8ca0;font-size:10px}.preview-rule{height:3px;margin:4px 0;border-radius:4px;background:var(--print-accent)}.preview-kicker{color:var(--print-accent);font-size:9px;font-weight:850;letter-spacing:.13em}.print-live-preview>strong{color:#132a48;font-size:19px}.print-live-preview>small{padding-top:8px;border-top:1px solid #e7edf4}.document-count{padding:7px 10px;border-radius:999px;background:#f0f5fb;color:#657891;font-size:10px;font-weight:800}.warehouse-documents-table .document-type-pill{display:inline-flex}.document-type-pill{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:6px 9px;border-radius:999px;background:#eaf3ff;color:#135fb7;font-size:11px;font-weight:850}.document-type-rw{background:#fff4d8;color:#8a5a00}.document-type-pill+.cell-sub{display:block}.empty-state{display:grid;gap:6px;padding:25px;color:#718198;text-align:center}.empty-state strong{color:#203957;font-size:14px}.empty-state span{font-size:12px}.empty-state .button{justify-self:center;margin-top:9px}.warehouse-document-form{display:grid;gap:16px}.warehouse-form-heading{display:flex;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid #e7edf4}.warehouse-form-heading h2{margin:0;color:#183251;font-size:18px}.warehouse-form-heading p,.warehouse-lines-heading p{margin:4px 0 0;color:#74849a;font-size:11px}.warehouse-lines-heading,.custom-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.warehouse-lines-heading h3,.custom-fields-heading h3{margin:0;color:#263e5c;font-size:14px}.warehouse-document-lines{display:grid;gap:8px}.warehouse-document-line{display:grid;grid-template-columns:minmax(240px,1fr) minmax(120px,180px) 38px;align-items:end;gap:10px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fbfdff}.warehouse-document-line .icon-button{width:38px;height:38px;border:1px solid #e4eaf1;border-radius:9px;background:#fff;color:#78889b;font-size:22px}.warehouse-document-line .icon-button:not(:disabled):hover{border-color:#e0b4ae;background:#fff6f5;color:#b23d33}.warehouse-stock-warning{padding:12px 14px;border:1px solid #f0dfab;border-radius:10px;background:#fff9e8;color:#7c5b13;font-size:11px;line-height:1.55}.warehouse-print-sheet .print-brand{border-bottom-color:var(--print-accent)}.print-company-logo{display:block;max-width:190px;max-height:76px;object-fit:contain}.print-logo-center{flex-direction:column;text-align:center}.print-logo-center>div:first-of-type{justify-items:center}.print-logo-right{flex-direction:row-reverse}.print-logo-right>div:first-of-type{text-align:right}.print-logo-right .print-document-number{text-align:right}.print-page-break{break-before:page;page-break-before:always}.print-custom-qr{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding:12px;border:1px solid #dce5ef;border-radius:9px}.print-custom-qr>div:first-child{display:grid;gap:4px;text-align:right}.print-custom-qr strong{color:#243c5a;font-size:11px}.print-custom-qr span{color:#72829a;font-size:9px}.print-custom-qr [data-ksef-qr]{width:78px;height:78px}.print-custom-qr svg{width:100%;height:100%}.print-custom-qr-top{justify-content:flex-start}.print-custom-qr-top>div:first-child{text-align:left;order:2}.print-custom-qr-top [data-ksef-qr]{order:1}.warehouse-print-total{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:13px;color:#718198;font-size:11px}.warehouse-print-total strong{color:#15365e;font-size:18px}.warehouse-print-table{width:100%;border-collapse:collapse}.warehouse-print-table th,.warehouse-print-table td{padding:9px 8px;border:1px solid #dce5ef;text-align:left;font-size:10px}.warehouse-print-table th{background:#eff4fa;color:#29425f;font-weight:800}.warehouse-print-table td{color:#29425f}.custom-form-editor>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.custom-form-editor .panel-head{margin-bottom:14px}.custom-fields-heading,.custom-field-list,.custom-form-editor .settings-actions{grid-column:1/-1}.custom-field-list{display:grid;gap:8px}.custom-form-field-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.75fr) minmax(130px,.6fr) 68px 38px;align-items:end;gap:10px;padding:11px;border:1px solid #e3ebf4;border-radius:11px;background:#fbfdff}.custom-form-field-row .icon-button{width:38px;height:38px;border:1px solid #e4eaf1;border-radius:9px;background:#fff;color:#78889b;font-size:22px}.custom-form-cards{display:grid;gap:9px}.custom-form-card{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #e3ebf4;border-radius:12px;background:#fff}.custom-form-card.is-archived{opacity:.7}.custom-form-card-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:12px;background:#edf5ff;color:#1267ce;font-size:20px}.custom-form-card-copy{min-width:0;flex:1}.custom-form-card-title{display:flex;align-items:center;gap:8px}.custom-form-card-title h3{margin:0;color:#183251;font-size:13px}.custom-form-card-copy p{margin:4px 0;color:#6c7e94;font-size:11px}.custom-form-card-copy small{color:#8593a5;font-size:10px}.custom-form-card-actions{display:flex;gap:6px}.custom-entry-form{display:grid;gap:14px}.custom-entry-form .form-grid{width:100%}
@media(max-width:860px){.print-settings-grid{grid-template-columns:1fr}.print-setting-card:nth-child(3){grid-column:auto}.print-field-options{grid-template-columns:1fr}.custom-form-field-row{grid-template-columns:1fr 1fr}.custom-required-toggle{grid-column:1}.warehouse-document-line{grid-template-columns:1fr 130px 38px}}
@media(max-width:560px){.custom-form-editor>form{grid-template-columns:1fr}.custom-fields-heading,.custom-field-list,.custom-form-editor .settings-actions{grid-column:auto}.custom-form-field-row{grid-template-columns:1fr 1fr}.custom-form-field-row>label:first-child{grid-column:1/-1}.custom-form-card{align-items:flex-start;flex-wrap:wrap}.custom-form-card-actions{width:100%;padding-left:53px}.custom-form-card-actions .button{flex:1}.warehouse-lines-heading{align-items:flex-start;flex-direction:column}.warehouse-document-line{grid-template-columns:minmax(0,1fr) 100px 34px;padding:8px;gap:7px}.warehouse-document-line .icon-button{width:34px;height:37px}.print-logo-right{flex-direction:column}.print-logo-right>div:first-of-type,.print-logo-right .print-document-number{text-align:center}.print-meta{grid-template-columns:1fr}}
@media print{.print-company-logo{max-height:62px;max-width:155px}.print-page-break{break-before:page;page-break-before:always}.print-custom-qr{break-inside:avoid}.warehouse-print-table{min-width:0!important}.warehouse-print-table th,.warehouse-print-table td{font-size:9px;padding:6px}.warehouse-print-sheet .table-wrap{overflow:visible!important}.print-signatures{break-inside:avoid}.print-footer{margin-top:18px}}

/* Team planning and gastronomy temperature registers */
.operations-month-nav{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.operations-month-nav form{display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0;background:transparent}
.operations-month-nav input[type=month]{width:auto;min-width:148px;padding:8px 10px}
.operations-stats{margin:0 0 15px}
.operations-table{min-width:760px}
.schedule-table{min-width:780px}
.shift-time{display:inline-flex;padding:6px 9px;border-radius:8px;background:#eef5ff;color:#174e8e;font-size:12px;font-weight:800;white-space:nowrap}
.operations-editor{margin-top:16px}
.operations-form{align-items:end}
.operations-form .inventory-form-actions{grid-column:1/-1}
.fridge-procedure-note{margin-bottom:14px}
.fridge-procedure-note p{margin:4px 0 0;color:inherit;font-size:11px;line-height:1.55}
.temperature-value{font-size:14px;font-weight:850;white-space:nowrap}
.temperature-range{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f0f3f7;color:#6c7a8d;font-size:10px;font-weight:800;white-space:nowrap}
.temperature-ok{background:#e5f6ed;color:#08754e}
.temperature-alert{background:#fff0df;color:#a65309}
.fridge-list{display:grid;gap:8px;margin-top:14px}
.fridge-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e1e9f2;border-radius:11px;background:#fbfdff}
.fridge-card>div{display:grid;gap:3px;min-width:0}
.fridge-card strong{color:#183251;font-size:12px}
.fridge-card small,.fridge-card span{color:#718198;font-size:10px;overflow-wrap:anywhere}
.fridge-card em{color:#a65309;font-size:10px;font-style:normal;font-weight:800}
.nav-subitem-icon{display:grid;width:17px;height:17px;flex:0 0 17px;place-items:center;color:#9fc8ff}
.nav-subitem-icon .nav-svg{display:block;width:16px;height:16px}
.operations-nav-group .nav-submenu{display:grid}
.temperature-print-sheet .temperature-print-table{min-width:0;width:100%;border-collapse:collapse}
.temperature-print-sheet .temperature-print-table th,.temperature-print-sheet .temperature-print-table td{padding:7px 6px;border:1px solid #dce5ef;text-align:left;font-size:8px;vertical-align:top}
.temperature-print-sheet .temperature-print-table th{background:#eff4fa;color:#29425f;font-weight:800}
.temperature-print-sheet .temperature-print-table td{color:#29425f}
.temperature-print-sheet .print-brand{gap:15px}
.temperature-print-sheet .print-document-number{margin-left:auto}
@media(max-width:760px){.operations-month-nav{width:100%;justify-content:flex-start}.operations-month-nav form{flex:1}.operations-month-nav input[type=month]{flex:1;min-width:0}.operations-form{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-form .full-field,.operations-form .inventory-form-actions{grid-column:1/-1}.fridge-card{align-items:flex-start}.fridge-card .button{flex:0 0 auto}}
@media(max-width:480px){.operations-month-nav{gap:5px}.operations-month-nav input[type=month]{min-width:0;width:100%;font-size:11px}.operations-month-nav .button{padding:7px 9px}.operations-form{grid-template-columns:1fr}.operations-form .full-field,.operations-form .inventory-form-actions{grid-column:auto}.fridge-card{flex-direction:column}.fridge-card form,.fridge-card form .button{width:100%}}
@media print{.temperature-print-sheet .temperature-print-table{min-width:0!important}.temperature-print-sheet .temperature-print-table th,.temperature-print-sheet .temperature-print-table td{padding:5px 4px;font-size:7.5px;overflow-wrap:anywhere}.temperature-print-sheet .print-brand{padding-bottom:10px}.temperature-print-sheet>h1{margin-top:18px;font-size:18px}.temperature-print-sheet .print-lead{margin-top:4px;font-size:9px}.temperature-print-sheet .table-wrap{overflow:visible!important}.schedule-table{min-width:0!important}}

/* Employee permissions and correction controls */
.employee-permissions-panel>.panel-head{align-items:flex-start}
.permission-owner-badge{display:inline-flex;align-items:center;flex:0 0 auto;padding:7px 10px;border:1px solid #cfe2f7;border-radius:999px;background:#eef6ff;color:#1d5e9d;font-size:10px;font-weight:850}
.employee-permission-card{display:grid;gap:12px;margin:0 0 12px;padding:16px;border:1px solid #dce7f2;border-radius:14px;background:#fff}
.employee-permission-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.employee-permission-heading>div{display:grid;gap:3px;min-width:0}
.employee-permission-heading strong{color:#183251;font-size:13px}
.employee-permission-heading small{color:#75869b;font-size:10px;overflow-wrap:anywhere}
.employee-permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.employee-permission-option{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e2eaf3;border-radius:11px;background:#f8fbff;cursor:pointer}
.employee-permission-option input{flex:0 0 auto;margin:2px 0 0;accent-color:#1476dc}
.employee-permission-option span{display:grid;gap:4px;min-width:0}
.employee-permission-option strong{color:#183251;font-size:11px}
.employee-permission-option small{color:#718198;font-size:10px;line-height:1.5}
.permission-security-note{margin-top:14px}
.permission-security-note p{margin:4px 0 0;font-size:11px;line-height:1.5}
@media(max-width:680px){.employee-permission-options{grid-template-columns:1fr}.employee-permission-heading{align-items:flex-start;flex-direction:column}.employee-permission-heading .button{width:100%}.permission-owner-badge{white-space:normal}}

/* HACCP temperature log: one live input per fridge in today's calendar cells */
.temperature-calendar-panel{overflow:hidden}
.temperature-calendar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.temperature-calendar-wrap{max-height:72vh;overflow:auto;overscroll-behavior:contain}
.temperature-calendar-table{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0}
.temperature-calendar-table th,.temperature-calendar-table td{min-width:175px;vertical-align:top}
.temperature-calendar-table thead th{position:sticky;z-index:3;top:0;background:#f2f6fb;color:#29425f}
.temperature-calendar-table thead th:first-child{left:0;z-index:5;min-width:122px}
.temperature-calendar-table .temperature-calendar-date{position:sticky;left:0;z-index:2;min-width:122px;background:#fbfdff}
.temperature-calendar-date strong,.temperature-calendar-date small{display:block}
.temperature-calendar-date strong{color:#193553;font-size:11px}
.temperature-calendar-date small{margin-top:4px;color:#78889d;font-size:10px;font-weight:600}
.temperature-calendar-today .temperature-calendar-date,.temperature-calendar-today td{background:#f1f8ff}
.temperature-calendar-today .temperature-calendar-date{box-shadow:inset 3px 0 #1680db}
.temperature-calendar-cell{display:grid;align-content:start;gap:6px}
.temperature-calendar-reading{display:grid;gap:3px;padding:7px 8px;border:1px solid #dce9f7;border-left:3px solid #2381d8;border-radius:8px;background:#f5f9ff}
.temperature-calendar-reading strong{color:#155fa9;font-size:13px;white-space:nowrap}
.temperature-calendar-reading span{color:#657991;font-size:9px;line-height:1.45;overflow-wrap:anywhere}
.temperature-reading-edit{width:max-content;color:#176ec0;font-size:9px;font-weight:800;text-decoration:none}
.temperature-reading-edit:hover{text-decoration:underline}
.temperature-edit-panel{margin:0 0 14px;border-color:#b9d8f8;background:linear-gradient(115deg,#f4f9ff,#fff)}
.temperature-edit-form{align-items:end}
.temperature-edit-form input[readonly]{background:#f1f5f9;color:#63758b}
.temperature-edit-form .inventory-form-actions{grid-column:1/-1}
.temperature-correction-history{display:grid;gap:5px;margin-top:14px;padding:12px;border:1px solid #e1eaf4;border-radius:10px;background:#f8fbff}
.temperature-correction-history>strong{color:#29425f;font-size:11px}
.temperature-correction-history p{display:flex;align-items:center;gap:8px;margin:0;color:#29425f;font-size:10px}
.temperature-correction-history small{color:#718198;font-size:9px}
.temperature-cell-form{display:flex;align-items:center;gap:5px;margin:0;padding:0;border:0;background:transparent}
.temperature-cell-form input{width:100%;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #cbd9e8;border-radius:8px;background:#fff;color:#193553;font:inherit;font-size:12px}
.temperature-cell-form input:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}
.temperature-cell-form .button{flex:0 0 auto;min-height:33px;padding:6px 9px;font-size:10px}
.temperature-empty-cell{color:#9ba8b7;font-size:12px}
.temperature-calendar-hint{margin:12px 2px 0;color:#74849a;font-size:10px;line-height:1.5}
.fridge-add-form{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) auto;align-items:end;gap:11px}
.fridge-add-form .inventory-form-actions{grid-column:auto}
.fridge-card.is-inactive{background:#f7f8fa;opacity:.8}
.fridge-card form{margin:0}
.fridge-card .button-danger{white-space:nowrap}
@media(max-width:700px){.temperature-calendar-wrap{max-height:68vh}.temperature-calendar-table th,.temperature-calendar-table td{min-width:155px}.temperature-calendar-table thead th:first-child,.temperature-calendar-table .temperature-calendar-date{min-width:112px}.temperature-calendar-actions{width:100%;justify-content:flex-start}.temperature-calendar-actions .button{flex:1 1 150px}.fridge-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.fridge-add-form .inventory-form-actions{grid-column:1/-1}}
@media(max-width:480px){.temperature-calendar-wrap{max-height:65vh}.temperature-calendar-table th,.temperature-calendar-table td{min-width:148px}.temperature-calendar-table thead th:first-child,.temperature-calendar-table .temperature-calendar-date{min-width:102px}.fridge-add-form{grid-template-columns:1fr}.fridge-add-form .inventory-form-actions{grid-column:auto}.fridge-add-form .button{width:100%}.temperature-calendar-actions{display:grid;grid-template-columns:1fr;width:100%}}
@media print{.temperature-calendar-wrap{max-height:none;overflow:visible}.temperature-calendar-table{min-width:0;width:100%;table-layout:fixed}.temperature-calendar-table th,.temperature-calendar-table td{min-width:0;padding:4px 3px;font-size:7px}.temperature-calendar-table thead th,.temperature-calendar-table .temperature-calendar-date{position:static;background:#eff4fa}.temperature-cell-form{display:none}.temperature-calendar-reading{padding:3px;border:0;background:transparent}.temperature-calendar-reading strong{font-size:8px}.temperature-calendar-reading span{font-size:6px}}

/* Clear monthly team calendar and quick multi-employee scheduling */
.team-calendar-panel{overflow:hidden}
.team-calendar-weekdays,.team-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.team-calendar-weekdays{gap:7px;margin:0 0 7px;padding:0 1px}
.team-calendar-weekdays span{padding:7px 9px;color:#718198;font-size:10px;font-weight:850;text-align:left;text-transform:uppercase;letter-spacing:.04em}
.team-calendar-grid{gap:7px;align-items:stretch}
.team-calendar-empty{min-height:116px}
.team-calendar-day{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:116px;padding:8px;border:1px solid #e1e9f2;border-radius:11px;background:#fff}
.team-calendar-day.is-today{border-color:#75b5f7;background:#f4f9ff;box-shadow:inset 0 0 0 1px #d8ebff}
.team-calendar-day.is-selected{border-color:#1680db;box-shadow:0 0 0 2px rgba(22,128,219,.12)}
.team-calendar-day-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:24px}
.team-calendar-day-heading>div{display:flex;align-items:baseline;gap:6px;min-width:0}
.team-calendar-day-heading strong{color:#17385d;font-size:14px;line-height:1}
.team-calendar-day-heading span{color:#8a98aa;font-size:9px;font-weight:750}
.calendar-key{display:inline-flex;align-items:center;gap:7px;color:#6d7f95;font-size:10px;white-space:nowrap}
.calendar-key i{width:9px;height:9px;border:1px solid #75b5f7;border-radius:50%;background:#f4f9ff}
.calendar-add-link{display:grid;place-items:center;width:25px;height:25px;border:1px solid #d7e7f7;border-radius:8px;background:#f1f7ff;color:#116ac8;font-size:19px;line-height:1;text-decoration:none}
.calendar-add-link:hover{border-color:#1680db;background:#e4f1ff;text-decoration:none}
.calendar-day-empty{margin:auto 0;color:#9aa7b7;font-size:9px;line-height:1.4}
.calendar-shift{display:grid;gap:3px;min-width:0;padding:7px;border:1px solid #dce9f7;border-left:3px solid #2583df;border-radius:8px;background:#f5f9ff}
.calendar-shift-line{display:grid;gap:3px;min-width:0}
.calendar-shift-time{color:#145ca7;font-size:10px;font-weight:850;white-space:nowrap}
.calendar-shift-line strong{color:#29435f;font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.calendar-shift-title{color:#6b7e95;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.calendar-shift-note{color:#7d8da1;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.calendar-shift-actions{display:flex;gap:9px;margin-top:2px}
.calendar-shift-actions a,.calendar-shift-actions button{padding:0;border:0;background:transparent;color:#176fc7;font:inherit;font-size:9px;font-weight:750;text-decoration:none;cursor:pointer}
.calendar-shift-actions form{margin:0}
.calendar-shift-actions button{color:#a44942}
.calendar-employee-picker{grid-column:1/-1;min-width:0;margin:0;padding:12px;border:1px solid #dce6f1;border-radius:11px;background:#fbfdff}
.calendar-employee-picker legend{padding:0 5px;color:#38516e;font-size:11px;font-weight:800}
.calendar-employee-picker legend small{margin-left:6px;color:#8291a4;font-size:10px;font-weight:500}
.calendar-employee-options{display:flex;flex-wrap:wrap;gap:7px}
.operations-form .calendar-employee-option{display:flex;grid-template-columns:none;align-items:center;gap:7px;min-height:36px;margin:0;padding:7px 10px;border:1px solid #dce6f1;border-radius:9px;background:#fff;color:#38516e;font-size:11px;font-weight:700;cursor:pointer}
.operations-form .calendar-employee-option:has(input:checked){border-color:#8bbcf0;background:#edf6ff;color:#145da8}
.operations-form .calendar-employee-option input{width:15px;height:15px;margin:0;accent-color:#1478d4}
.form-submit-actions{display:flex;grid-column:1/-1;align-items:center;gap:9px;flex-wrap:wrap;margin-top:3px}
@media(max-width:860px){.team-calendar-weekdays,.team-calendar-grid{gap:5px}.team-calendar-day{padding:6px}.team-calendar-empty{min-height:100px}}
@media(max-width:620px){.team-calendar-weekdays{display:none}.team-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.team-calendar-empty{display:none}.team-calendar-day{min-height:110px}.calendar-shift-line{gap:2px}.calendar-employee-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-employee-option{min-width:0}.form-submit-actions .button{flex:1 1 190px}}
@media(max-width:420px){.team-calendar-grid{grid-template-columns:minmax(0,1fr)}.team-calendar-day{min-height:0}.team-calendar-day:not(.is-today):not(.is-selected){background:#fff}.calendar-shift-line{grid-template-columns:minmax(86px,.4fr) minmax(0,1fr);align-items:baseline}.calendar-shift-title{padding-left:calc(40% + 4px)}.calendar-employee-options{grid-template-columns:1fr}.form-submit-actions{flex-direction:column;align-items:stretch}.form-submit-actions .button{width:100%;flex:auto}}
/* Shared navigation and newly migrated workspaces */
.sidebar nav a.nav-item{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 11px;color:#d6e2f1;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.sidebar nav a.nav-item:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.sidebar nav a.nav-item.nav-active{background:rgba(30,126,237,.22);border-color:rgba(115,178,255,.25);color:#fff}
.nav-icon{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;color:#91bfff}
.nav-svg{width:19px;height:19px;display:block}
.nav-primary .nav-icon{color:inherit}
.sidebar nav a.portal-nav{margin-top:4px;color:#c8dcff}
.module-tabs{display:flex;gap:7px;margin:0 0 20px;padding:5px;background:#e9eff7;border:1px solid #dce5f0;border-radius:12px;width:max-content;max-width:100%}
.module-tabs a{display:block;padding:10px 15px;border-radius:8px;font-size:13px;font-weight:750;color:#526681;text-decoration:none}
.module-tabs a.active,.module-tabs a:hover{background:#fff;color:var(--navy);box-shadow:0 2px 8px rgba(20,45,78,.08)}
.module-actions{display:flex;gap:10px;margin-top:18px}
.invoice-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0 21px}
.invoice-facts>div{padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#f8fafd}
.invoice-facts span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}
.invoice-facts strong{color:var(--navy);font-size:14px;overflow-wrap:anywhere}
.invoice-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff2cc;color:#7c5300;font-weight:750;font-size:11px;white-space:nowrap}
.invoice-status-approved{background:#e4f6ec;color:#136c47}.invoice-status-rejected{background:#ffebed;color:#9c3340}
.inline-status-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0 20px;padding:13px;background:#f6f8fb;border-radius:11px}
.inline-status-form label{display:grid;gap:5px;font-size:12px;font-weight:700}
.inline-status-form select{min-width:170px}
.ksef-upload-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,.8fr) auto;align-items:end;gap:12px}
.ksef-upload-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--ink)}
.ksef-upload-form input[type=file]{padding:10px;background:#f8fafd}
.ksef-upload-form small{color:var(--muted);font-weight:400}
.stock-invoice-form{margin-top:19px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f8fafd}
.stock-invoice-form .form-section{margin:0 0 13px}.stock-invoice-form .form-section h3{font-size:16px;color:var(--navy);margin:0 0 5px}.stock-invoice-form .check-row{padding:8px 0}
.invoice-line-select{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:750;color:#334c6b}.invoice-line-select input{width:17px;height:17px;margin:0;accent-color:var(--blue)}
.stock-invoice-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:13px}.stock-invoice-actions .mini{max-width:520px}
.ksef-sync-panel{border-color:#d6e5f7;background:linear-gradient(145deg,#fff,#f6faff)}
.ksef-sync-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}
.ksef-sync-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ksef-sync-form label{display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:750}
.ksef-sync-progress{margin-top:13px;padding:11px 13px;border:1px solid #dce7f3;border-radius:9px;background:#f5f8fc;color:#60728a;font-size:12px;line-height:1.5}
.ksef-progress-meter{display:flex;align-items:center;gap:10px;margin:0 0 8px}.ksef-progress-meter progress{width:min(340px,80%);height:10px;border:0;border-radius:999px;overflow:hidden;appearance:none}.ksef-progress-meter progress::-webkit-progress-bar{background:#e2eaf4;border-radius:999px}.ksef-progress-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#0b83ee,#38b9ff);border-radius:999px;transition:width .25s ease}.ksef-progress-meter progress::-moz-progress-bar{background:#0b83ee;border-radius:999px}.ksef-progress-meter span{font-weight:750;color:#314b6d}
.ksef-sync-progress.notice-error{border-color:#f1c8cb;background:#fff2f3;color:#9c3340}
.ksef-sync-progress.notice-success{border-color:#c8e8d5;background:#eef9f2;color:#176b48}
.ksef-sync-progress.notice-warning{border-color:#f3dfaa;background:#fff9e8;color:#785600}
.ksef-sync-progress[hidden]{display:none}
.ksef-diagnosis p{margin:0 0 7px}.ksef-diagnosis p:last-child{margin-bottom:0}.ksef-diagnosis-row{padding:3px 0;font-weight:700}
.invoice-list-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 12px;padding:12px;border:1px solid #e2eaf4;border-radius:10px;background:#f7f9fc}
.invoice-list-controls label{display:grid;gap:5px;color:var(--ink);font-size:11px;font-weight:700}
.invoice-list-controls select{min-width:140px;min-height:36px;padding:7px 28px 7px 9px;border:1px solid #d5e0ee;border-radius:7px;background:#fff;color:var(--ink)}
.invoice-list-summary{margin:0 0 8px;color:#687b93;font-size:12px}
.invoice-pagination{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:13px}
.invoice-pagination .button{min-width:34px;padding-left:9px;padding-right:9px}
.pagination-gap{padding:0 4px;color:#687b93}
.ksef-config-form{align-items:end}
.print-live-preview{display:grid;gap:6px;padding:15px 17px;border:1px solid #dce5ef;border-left:4px solid var(--print-accent,#1678e8);border-radius:10px;background:#f8fafd}
.print-live-preview>span{color:var(--muted);font-size:10px}.print-live-preview>strong{color:var(--print-accent,#1678e8);font-size:15px}.print-live-preview>small{color:var(--muted)}
.invoice-print-sheet{max-width:850px;margin:20px auto;background:#fff}
.invoice-print-brand{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5c6f89;font-weight:800}
.invoice-print-total{display:flex;justify-content:flex-end;gap:20px;align-items:center;margin:18px 0;color:#61738c;font-size:13px}
.invoice-print-total strong{font-size:20px;color:var(--navy)}
.invoice-verification{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 18px;padding:15px 18px;border-top:1px solid #dce5ef;background:#fff}
.invoice-verification>div:first-child{display:grid;gap:5px}.invoice-verification strong{color:#243b59;font-size:13px}.invoice-verification small{max-width:360px;color:#657891;font-size:10px;line-height:1.5}
.invoice-qr{flex:0 0 116px;width:116px;height:116px;padding:4px;background:#fff}.invoice-qr svg{display:block;width:100%;height:100%}
.print-edit-panel{margin-bottom:14px;border-left:4px solid #1678e8;background:linear-gradient(135deg,#fff,#f4f8ff)}.print-edit-panel .panel-head h2{font-size:19px}.work-scope-form{display:flex;align-items:center;justify-content:flex-end}.work-scope-form .button{min-height:42px}.work-scope-editor{display:grid;gap:8px;margin-top:12px;color:#193656;font-size:13px;font-weight:800}.work-scope-editor textarea{min-height:180px;padding:14px;border:2px solid #c9d7e8;border-radius:11px;background:#fff;color:#172b46;font-size:14px;line-height:1.65}.work-scope-editor textarea:focus{border-color:#1678e8;outline:0;box-shadow:0 0 0 4px rgba(22,120,232,.13)}.work-scope-editor small{color:#6e8098;font-size:11px;font-weight:500;line-height:1.5}.work-scope-value{display:none}
@media print{.work-scope-editor{display:none!important}.work-scope-value{display:block!important;min-height:34px;white-space:pre-wrap}.work-scope-value:empty{min-height:42px;border-bottom:1px solid #9aa9bd}}
.pos-template-panel .panel-head{align-items:center}
.pos-field-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 16px;border:1px solid var(--line);border-radius:10px;padding:13px 15px}
.pos-field-options legend{padding:0 6px;color:var(--navy);font-weight:800;font-size:13px}
.pos-field-options .check-row{padding:7px 0}
.template-picker{display:flex;align-items:center;gap:8px}
.template-picker label{font-size:11px;color:var(--muted);font-weight:750}
.template-picker select{min-width:175px}
.pos-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}
.pos-product-data{padding:15px;border:1px solid #dce5f0;border-radius:12px;background:#f7faff}
.pos-product-data>div:first-child{display:grid;gap:3px;margin-bottom:13px;color:var(--navy)}
.pos-product-data>div:first-child small{color:var(--muted);font-size:11px;font-weight:400}
.pos-product-data .form-grid{margin:0}
.pos-product-data .field-hint{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.45;margin-top:5px}
.pos-print-setup{max-width:920px}
.pos-label-preview{max-width:none;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;margin:20px auto!important;display:grid;justify-content:center;gap:4mm}
.pos-label{box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;gap:1.3mm;padding:3mm;border:0.2mm solid #d5dce5;border-radius:1.5mm;background:white;color:#111;font-family:Arial,sans-serif;line-height:1.2;break-after:page;page-break-after:always}
.pos-label:last-child{break-after:auto;page-break-after:auto}
.pos-label h2{font-family:Arial,sans-serif;color:#111;font-size:1.3em;line-height:1.1;margin:0;font-weight:800;overflow-wrap:anywhere}
.pos-label-company{font-size:.86em;color:#445064;font-weight:700}
.pos-label-content{font-size:1.02em;color:#303d4f;font-weight:700}
.pos-label-price{font-size:1.45em;color:#111;font-weight:800;margin-top:auto}
.pos-label-line{font-size:.78em;overflow-wrap:anywhere}
.pos-label-allergens{padding:.8mm;border:.25mm solid #111;font-weight:700}
.pos-label-barcode{display:flex;justify-content:center;font-family:monospace;font-size:.8em;letter-spacing:.08em}.pos-ean13{display:block;width:min(100%,44mm);height:12mm}.pos-ean-fallback{font-size:.8em;letter-spacing:normal}
.pos-label-footer{border-top:.2mm solid #bdc7d5;padding-top:1.2mm;margin-top:auto;text-align:center;font-size:.7em;overflow-wrap:anywhere}
.label-size-58-40{page:fixaro-58-40}.label-size-58-40 .pos-label{width:58mm;height:40mm}
.label-size-58-60{page:fixaro-58-60}.label-size-58-60 .pos-label{width:58mm;height:60mm}
.label-size-80-50{page:fixaro-80-50}.label-size-80-50 .pos-label{width:80mm;height:50mm}
.label-size-100-60{page:fixaro-100-60}.label-size-100-60 .pos-label{width:100mm;height:60mm}
.label-font-9 .pos-label{font-size:9pt}.label-font-10 .pos-label{font-size:10pt}.label-font-11 .pos-label{font-size:11pt}.label-font-12 .pos-label{font-size:12pt}
@page fixaro-58-40{size:58mm 40mm;margin:0}@page fixaro-58-60{size:58mm 60mm;margin:0}@page fixaro-80-50{size:80mm 50mm;margin:0}@page fixaro-100-60{size:100mm 60mm;margin:0}
@media print{.pos-label-preview{display:block!important;margin:0!important}.pos-label{border:0!important;border-radius:0!important}.invoice-print-sheet{max-width:none!important}.print-toolbar,.print-edit-panel{display:none!important}}
@media(max-width:900px){.ksef-upload-form{grid-template-columns:1fr 1fr}.ksef-upload-form button{grid-column:1/-1}.pos-field-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.module-tabs{width:100%}.module-tabs a{flex:1;text-align:center;padding:9px 7px;font-size:11px}.invoice-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ksef-upload-form,.ksef-sync-form{grid-template-columns:1fr}.ksef-upload-form button{grid-column:auto}.ksef-sync-form .button{width:100%}.ksef-sync-actions{display:grid;grid-template-columns:1fr}.invoice-list-controls{width:100%;flex-direction:column;align-items:stretch}.invoice-list-controls label,.invoice-list-controls select{width:100%}.invoice-pagination{justify-content:center;flex-wrap:wrap}.pos-field-options{grid-template-columns:1fr}.template-picker{width:100%;align-items:stretch;flex-direction:column}.template-picker select{width:100%}.pos-row-actions{min-width:240px}.module-actions{flex-direction:column}.sidebar nav a.nav-item{min-height:36px;padding:8px 10px;gap:7px;font-size:11px}.sidebar nav a.nav-item .nav-icon{width:17px;height:17px;flex-basis:17px}.sidebar nav a.nav-item .nav-svg{width:16px;height:16px}}
@media(max-width:680px){.invoice-verification{align-items:flex-start;flex-direction:column}.invoice-qr{align-self:flex-end}}
@media print{.invoice-verification{break-inside:avoid;border-color:#9aa9bd}.invoice-qr{width:102px;height:102px}}

/* Compact, customer-ready intake protocol shared by every industry profile. */
.print-toolbar{flex-wrap:wrap}
.print-copy-selector{display:flex;align-items:center;gap:7px;margin:0;padding:7px 9px;border:1px solid #dce5ef;border-radius:12px;background:#f6f9fd;color:#657891;font-size:11px;font-weight:750}
.print-copy-selector legend{padding:0 5px;color:#526780;font-size:10px;font-weight:800}
.print-copy-selector>label{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#29425f;cursor:pointer;white-space:nowrap}
.print-copy-selector input{width:15px;height:15px;margin:0;accent-color:#0877ed}
.print-copy-selector>small{max-width:195px;color:#74849a;font-size:9px;font-weight:500;line-height:1.35}
.print-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.print-title-row>h1{margin:32px 0 5px;color:#102341;font-size:27px}
.print-title-row>h1{min-width:0}
.print-copy-label{flex:0 0 auto;padding:7px 10px;border:1px solid #dce5ef;border-radius:999px;background:#f6f9fd;color:#526780;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.print-intake-copy-service{display:none}
.print-document-reference{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;padding:7px 10px;border-left:3px solid var(--print-accent,#1678e8);border-radius:0 8px 8px 0;background:#f4f8fd;color:#647891;font-size:9px;font-weight:700}
.print-document-reference strong{color:#173657;font-size:12px;letter-spacing:.04em}
.print-intake-sheet .print-brand{gap:14px;padding-bottom:9px}
.print-intake-sheet .print-brand strong{font-size:17px}
.print-intake-sheet .print-brand span,.print-intake-sheet .print-document-number{font-size:9px}
.print-intake-sheet .print-company-logo{max-width:145px;max-height:48px}
.print-intake-sheet .print-title-row{margin-top:12px}
.print-intake-sheet>h1,.print-intake-sheet .print-title-row>h1{margin:0;color:#102341;font-size:21px;line-height:1.2}
.print-intake-sheet .print-lead{margin:4px 0 10px;font-size:9px;line-height:1.35}
.print-intake-sheet .print-meta{gap:6px}
.print-intake-sheet .print-meta>div,.print-intake-sheet .print-grid>div{gap:3px;padding:7px 9px;border-radius:7px}
.print-intake-sheet .print-meta span,.print-intake-sheet .print-grid span{font-size:9px}
.print-intake-sheet .print-meta strong,.print-intake-sheet .print-grid strong{font-size:11px;line-height:1.35}
.print-intake-sheet .print-section{margin-top:12px}
.print-intake-sheet .print-section h2{margin-bottom:6px;padding-bottom:4px;font-size:11px}
.print-intake-sheet .print-grid{gap:5px}
.print-intake-sheet .print-multiline{line-height:1.3}
.print-intake-sheet .print-terms p{margin:0;font-size:9.5px;line-height:1.4}
.print-intake-sheet .print-signatures{gap:34px;margin:28px 0 14px}
.print-intake-sheet .print-signatures>div{gap:5px;min-height:34px}
.print-intake-sheet .print-signatures span{font-size:8px}
.print-intake-sheet .print-signatures strong{font-size:9px}
.print-intake-sheet .print-footer{padding-top:6px;font-size:8px}
@media(max-width:680px){.print-copy-selector{justify-content:center;flex-wrap:wrap}.print-copy-selector>small{max-width:none;flex-basis:100%;text-align:center}.print-title-row{align-items:flex-start}}
@media print{
  .print-copy-selector,.print-toolbar{display:none!important}
  .print-intake-sheet{font-size:9px;break-inside:auto}
  .print-intake-sheet .print-brand{padding-bottom:7px}
  .print-intake-sheet .print-company-logo{max-height:42px}
  .print-intake-sheet .print-title-row{margin-top:9px}
  .print-intake-sheet .print-title-row>h1{font-size:18px}
  .print-intake-sheet .print-copy-label{padding:5px 8px;font-size:8px}
  .print-intake-sheet .print-lead{margin-bottom:8px;font-size:8px}
  .print-intake-sheet .print-meta>div,.print-intake-sheet .print-grid>div{padding:7px 8px}
  .print-intake-sheet .print-meta span,.print-intake-sheet .print-grid span{font-size:9px}
  .print-intake-sheet .print-meta strong,.print-intake-sheet .print-grid strong{font-size:10.5px}
  .print-intake-sheet .print-document-reference{margin-bottom:7px;padding:6px 9px}
  .print-intake-sheet .print-section{margin-top:9px}
  .print-intake-sheet .print-section h2{font-size:11px}
  .print-intake-sheet .print-signatures{margin:21px 0 10px}
  .print-intake-sheet .print-footer{margin-top:8px}
  .print-intake-sheet .print-page-break{break-before:auto;page-break-before:auto}
  .print-intake-copy-service{display:block!important;break-before:page;page-break-before:always}
}

/* Sales screens stay inside the application frame; wide line tables scroll in their own container. */
html,body.app-screen{width:100%;max-width:100%;overflow-x:hidden}.app-shell,.main-area,.content-wrap,.topbar{min-width:0;max-width:100%}.main-area{overflow-x:clip}.sales-page{width:100%;min-width:0;max-width:100%;overflow-x:clip}.sales-page .table-wrap{max-width:100%}.page-heading>div,.panel,.panel-head,.ksef-sales-editor,.ksef-sales-editor-form,.invoice-meta-grid,.invoice-parties-grid,.invoice-party-card{min-width:0;max-width:100%}.sales-invoice-entry-page{width:100%;min-width:0;max-width:100%}.invoice-lines-table-wrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain}.ksef-sales-entry-table{min-width:1320px}.ksef-sales-entry-table th{white-space:nowrap}.ksef-sales-entry-table td{min-width:95px}.ksef-sales-entry-table td:first-child{min-width:220px}.ksef-sales-entry-table td:nth-child(7){min-width:190px}.ksef-sales-entry-table td input[readonly]{background:#f2f6fb;color:#405977}.invoice-line-actions{min-width:48px!important;text-align:center}.invoice-line-actions .icon-button{width:34px;height:34px;border:1px solid #e0e7ef;border-radius:9px;background:#fff;color:#7c8ca0;font-size:20px;line-height:1}.invoice-add-line-button{justify-self:start;margin-top:10px}.invoice-submit-actions{display:flex;align-items:stretch;justify-content:flex-start;gap:10px;flex-wrap:wrap;min-width:0}.invoice-submit-actions>.button{flex:1 1 220px;min-width:min(220px,100%);min-height:47px;padding:11px 14px;white-space:normal;text-align:center;line-height:1.3}.sales-editor-page-heading{margin-bottom:15px}.ksef-sales-editor{width:100%;overflow:hidden}.invoice-meta-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.invoice-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-page-heading .button{flex:0 0 auto}
[hidden]{display:none!important}
.help-tag-row{display:flex;flex-wrap:wrap;gap:9px;margin:-7px 0 18px}.help-tag-row span{padding:8px 12px;border:1px solid #dce8f5;border-radius:999px;background:#fff;color:#2e577d;font-size:11px;font-weight:750}.help-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);gap:15px;align-items:start}.help-contact-card,.help-aside>.panel{border-top:3px solid #1780df}.help-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.help-contact-form label{display:grid;gap:6px;color:#405a77;font-size:11px;font-weight:750}.help-contact-form input,.help-contact-form textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid #d5e1ef;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.help-contact-form textarea{resize:vertical}.help-contact-form .button{justify-self:start}.help-aside{display:grid;gap:14px}.help-direct-card h2,.help-company-card h2{margin:4px 0 8px}.help-direct-card>p{color:#718198;font-size:12px;line-height:1.6}.help-email-link{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dfe9f4;border-radius:11px;background:#f7fbff;color:#183b60}.help-email-link:hover{text-decoration:none;border-color:#9cc8f5}.help-email-link>span:first-child{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#e8f3ff;color:#0874ed;font-size:18px;font-weight:800}.help-email-link>span:nth-child(2){display:grid;gap:1px;flex:1}.help-email-link small{color:#718198;font-size:10px}.help-email-link strong{font-size:12px}.help-company-card dl{display:grid;gap:8px;margin:13px 0 0}.help-company-card dl>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-top:1px solid #edf1f6}.help-company-card dt{color:#718198;font-size:11px}.help-company-card dd{margin:0;color:#193553;font-size:12px;font-weight:800}.help-guidance-section{margin:22px 0 10px;padding:22px;border:1px solid #dfe8f2;border-radius:15px;background:linear-gradient(145deg,#f8fbff,#fff)}.section-heading h2{margin:4px 0;color:#183251;font-size:19px}.section-heading p{margin:0;color:#718198;font-size:12px}.help-guidance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.help-guidance-grid article{display:flex;gap:11px;padding:14px;border:1px solid #e2eaf3;border-radius:12px;background:#fff}.help-guidance-grid article>span{display:grid;width:33px;height:33px;flex:0 0 33px;place-items:center;border-radius:10px;background:#eaf4ff;color:#1268c9;font-size:10px;font-weight:900}.help-guidance-grid h3{margin:2px 0 4px;color:#193553;font-size:12px}.help-guidance-grid p{margin:0;color:#718198;font-size:10px;line-height:1.55}.help-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:16px;border-top:1px solid #e5ebf3}.help-bottom-cta>div{display:grid;gap:2px}.help-bottom-cta strong{color:#193553;font-size:12px}.help-bottom-cta span{color:#718198;font-size:11px}
@media(max-width:1100px){.invoice-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.help-main-grid{grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr)}}
@media(max-width:820px){.invoice-parties-grid,.help-main-grid{grid-template-columns:1fr}.help-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.help-guidance-grid{grid-template-columns:1fr}}
@media(max-width:680px){.invoice-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-submit-actions{display:grid;grid-template-columns:1fr}.invoice-submit-actions>.button{width:100%;min-width:0}.help-contact-form,.help-aside{grid-template-columns:1fr}.help-guidance-section{padding:16px}.help-bottom-cta{align-items:flex-start;flex-direction:column}.help-bottom-cta .button{width:100%}}
@media(max-width:480px){.invoice-meta-grid,.invoice-payment-grid{grid-template-columns:1fr}.help-tag-row span{font-size:10px}.help-contact-card{padding:14px}}

.workspace-switcher{display:flex;align-items:center;gap:8px;margin:0 auto 0 0;padding:0 12px}.workspace-switcher label{font-size:11px;color:var(--muted);font-weight:750}.workspace-switcher select{max-width:220px;min-height:36px;padding:6px 28px 6px 10px;border:1px solid #d8e3f0;border-radius:9px;background:#fff;color:var(--navy);font:inherit;font-size:12px}
.accountant-access-panel{border-top:3px solid #0878dd}.accountant-access-form{margin:0 0 24px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;min-width:0;color:var(--navy);font-size:13px;line-height:1.45}.checkbox-field>input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#0878dd}.checkbox-field>span{display:grid;gap:3px}.checkbox-field small{display:block;color:var(--muted);font-size:11px;font-weight:400}.accountant-access-list{border-top:1px solid #e5ebf3;padding-top:18px}.accountant-access-list h3{margin:0 0 12px;color:var(--navy)}.accountant-access-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 0;border-top:1px solid #edf1f6}.accountant-access-person{display:grid;gap:3px;min-width:190px;flex:1}.accountant-access-person strong{color:var(--navy)}.accountant-access-person span,.accountant-access-person small{color:var(--muted);font-size:12px}.accountant-access-permission{display:flex;align-items:center;gap:10px}.accountant-access-permission .checkbox-field{font-size:11px;align-items:center}.accountant-access-permission .button,.accountant-access-row>.button{white-space:nowrap}.button-danger{background:#fff1f1;border:1px solid #ffd0d0;color:#a22d35}.button-danger:hover{background:#ffe4e5;color:#8d1c26}
.invoice-comments{margin-top:22px;padding-top:18px;border-top:1px solid #e5ebf3}.invoice-comments .panel-head{margin-bottom:12px}.invoice-comments .panel-head h3{margin:0;color:var(--navy)}.invoice-comments .panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.invoice-comment{padding:12px 14px;margin:8px 0;border:1px solid #e3eaf3;border-radius:10px;background:#f8faff}.invoice-comment>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--navy);font-size:12px}.invoice-comment time{color:var(--muted);font-size:11px}.invoice-comment p{margin:8px 0 0;color:#304561;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.invoice-comment-form{display:grid;gap:10px;margin-top:14px}.invoice-comment-form label{display:grid;gap:6px;color:var(--navy);font-size:12px;font-weight:700}.invoice-comment-form textarea{width:100%;padding:10px 12px;border:1px solid #d7e1ee;border-radius:9px;background:#fff;color:#243b58;font:inherit;font-size:13px;resize:vertical}.invoice-comment-form .button{justify-self:start}
@media(max-width:950px){.workspace-switcher{margin-right:0;padding:0 5px}.workspace-switcher select{max-width:170px}.accountant-access-row{align-items:flex-start}.accountant-access-person{flex-basis:100%}}
@media(max-width:680px){.workspace-switcher{order:3;width:100%;margin:0;padding:8px 0 0}.workspace-switcher label{display:none}.workspace-switcher select{width:100%;max-width:none}.accountant-access-row{display:grid;grid-template-columns:1fr 1fr;align-items:center}.accountant-access-person{grid-column:1/-1}.accountant-access-permission{grid-column:1/-1;justify-content:space-between}.accountant-access-row>form{justify-self:start}}

.ksef-sales-scope{border-left:4px solid #327fd5;background:linear-gradient(110deg,#f4f9ff,#fff)}.ksef-sales-scope p{margin:7px 0 0;color:#62748b;font-size:12px;line-height:1.6}
.ksef-sales-entry-table{min-width:1000px}.ksef-sales-entry-table th{white-space:nowrap}.ksef-sales-entry-table td{min-width:110px;padding:7px}.ksef-sales-entry-table td:first-child{min-width:225px}.ksef-sales-entry-table td:last-child{min-width:210px}.ksef-sales-entry-table input,.ksef-sales-entry-table select{min-width:105px;width:100%;min-height:37px;padding:7px 8px;border:1px solid #d5e0ee;border-radius:7px;background:#fff;color:#203957;font:inherit;font-size:12px}.ksef-sales-entry-table td:first-child input{min-width:210px}.ksef-sales-entry-table td:last-child select{min-width:195px}.ksef-sales-entry-table input:focus,.ksef-sales-entry-table select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}
.correction-reference{display:grid;gap:5px;margin:15px 0;padding:13px 15px;border:1px solid #dbe5f1;border-radius:10px;background:#f7faff;color:#536881;font-size:11px}.correction-reference strong{color:#17365e;font-size:13px}.correction-reference p{margin:3px 0 0;color:#324b69}.sales-invoice-print .correction-reference{break-inside:avoid}
.invoice-line-row:nth-child(even){background:#fbfdff}.ksef-sales-form .form-section{margin-top:9px}.ksef-sales-form .form-section p{max-width:900px}
@media(max-width:680px){.ksef-sales-entry-table{min-width:960px}.ksef-sales-scope p{font-size:11px}.correction-reference{padding:11px}}

.custom-field-move{display:flex;align-items:center;gap:4px}.custom-field-move button{width:30px;height:36px;border:1px solid #e1e9f2;border-radius:8px;background:#fff;color:#506782;font-weight:800}.custom-field-move button:disabled{opacity:.35;cursor:default}

.industry-settings-card{max-width:1120px;border-top:3px solid #1680db;background:linear-gradient(145deg,#fff 65%,#f4f9ff)}.industry-form{display:grid;gap:20px}.industry-form>label{display:grid;gap:7px;color:#183251;font-size:13px;font-weight:800}.industry-form label small{color:#718198;font-size:11px;font-weight:500;line-height:1.5}.industry-term-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.industry-term-grid label{display:grid;gap:7px;color:#30445f;font-size:12px;font-weight:750}.industry-term-grid input,.industry-form select{min-height:43px;border:1px solid #d4dfed;border-radius:9px;padding:10px 12px;background:#fff;color:#172b46;font:inherit}.industry-term-grid input:focus,.industry-form select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.12)}.industry-preview{display:grid;gap:11px;padding:17px;border:1px solid #d9e6f5;border-radius:12px;background:#f7fbff}.industry-preview>div{display:flex;flex-wrap:wrap;gap:9px}.industry-preview>div span{padding:9px 13px;border:1px solid #d6e6f8;border-radius:9px;background:#fff;color:#15345a;font-size:13px;font-weight:800}.industry-settings-card .settings-actions{margin-top:0}
@media(max-width:680px){.industry-term-grid{grid-template-columns:1fr}.industry-preview>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.industry-preview>div span{text-align:center}}

.print-brand>div:first-of-type{display:grid;gap:3px}
.print-logo-setting-preview.is-hidden{background:#f7f9fc;opacity:.78}.preview-brand.preview-logo-center{justify-content:center;flex-direction:column;text-align:center}.preview-brand.preview-logo-center>div{justify-items:center}.preview-brand.preview-logo-right{justify-content:flex-end;flex-direction:row-reverse;text-align:right}.preview-brand.preview-logo-right>div{justify-items:end}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.table-sort-link{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none;white-space:nowrap}.table-sort-link:hover,.table-sort-link.is-active{color:#0874d1}.orders-list-table th{white-space:nowrap}.orders-list-table td{vertical-align:middle}.order-inline-status-form{display:flex;align-items:center;gap:6px;min-width:205px}.order-inline-status-form select{min-width:0;width:145px;padding:7px 25px 7px 8px;font-size:11px}.order-inline-status-form .button{flex:0 0 auto;min-height:33px;padding:7px 9px}.orders-list-table .document-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:140px}.orders-list-table .document-actions .button{white-space:nowrap}.settings-tabs{margin-bottom:18px}.settings-section-intro{margin:6px 0 16px;padding:15px 18px;border:1px solid #dce7f3;border-radius:12px;background:linear-gradient(110deg,#f7fbff,#fff)}.settings-section-intro h2{margin:3px 0 4px;color:#183251;font-size:18px}.settings-section-intro p{margin:0;color:#718198;font-size:12px}.settings-section-intro .eyebrow{color:#1680db;font-size:10px;font-weight:850;letter-spacing:.08em}
@media(max-width:680px){.order-inline-status-form{min-width:220px}.orders-list-table .document-actions{min-width:145px}.settings-tabs{display:grid;grid-template-columns:1fr;width:100%}.settings-tabs a{text-align:left}}
@media(max-width:820px){.portal-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.portal-support-guide{grid-template-columns:1fr}.portal-capability-grid{grid-template-columns:1fr}}
.accountant-access-panel{padding:0}.accountant-access-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:none}.accountant-access-summary::-webkit-details-marker{display:none}.accountant-access-summary>span:first-child{display:grid;gap:4px}.accountant-access-summary strong{color:var(--navy);font-size:15px}.accountant-access-summary small{color:var(--muted);font-size:11px;font-weight:400}.accountant-access-summary .button{pointer-events:none}.accountant-access-content{padding:0 20px 20px}.accountant-access-content>p{margin:0 0 15px;color:var(--muted);font-size:12px;line-height:1.55}.accountant-access-panel[open] .accountant-access-summary{border-bottom:1px solid #e5ebf3}.accountant-access-panel[open] .accountant-access-summary .button{color:#fff;background:#176fd1;border-color:#176fd1}
.sales-archive-tools{border-top:3px solid #1680db}.sales-archive-tools>.panel-head{margin-bottom:17px}.sales-archive-tools>.panel-head h2{margin:2px 0 4px;color:#183251}.sales-archive-tools>.panel-head p{margin:0;color:#718198;font-size:12px;line-height:1.5}.sales-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sales-import-card{min-width:0;padding:18px;border:1px solid #dce6f2;border-radius:14px;background:linear-gradient(145deg,#f7fbff,#fff);box-shadow:0 5px 18px rgba(21,53,91,.04)}.sales-import-card-title{display:flex;align-items:center;gap:11px;margin-bottom:15px}.sales-import-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#e5f1ff;color:#0d6dc8;font-size:17px;font-weight:900}.sales-import-icon-file{background:#fff5d7;color:#a77700}.sales-import-card-title h3{margin:0;color:#183251;font-size:15px}.sales-import-card-title p{margin:3px 0 0;color:#718198;font-size:11px}.sales-ksef-sync-form,.sales-file-import-form{display:grid;gap:12px}.sales-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sales-date-range label,.sales-file-import-form label,.ksef-sales-editor-form label{display:grid;gap:6px;color:#30445f;font-size:11px;font-weight:750}.sales-date-range input,.sales-file-import-form input,.ksef-sales-editor-form input{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d4dfed;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.sales-date-range input:focus,.sales-file-import-form input:focus,.ksef-sales-editor-form input:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}.sales-file-import-form input[type=file]{padding:7px;background:#fbfdff}.sales-import-card .mini{margin:0;color:#718198;font-size:10px;line-height:1.5}.sales-sync-progress{display:grid;gap:7px;min-height:45px;padding:9px 11px;border:1px solid #e0eaf5;border-radius:9px;background:#fff}.sales-sync-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#526984;font-size:10px}.sales-sync-status-row strong{color:#176fd1}.sales-sync-progress progress{width:100%;height:7px;accent-color:#1875d1}.sales-import-card .button{justify-self:start}.sales-import-card .notice{margin:0;padding:10px 12px;font-size:11px}
.ksef-sales-editor{border-top:3px solid #176fd1}.ksef-sales-editor>.panel-head{margin-bottom:19px}.ksef-sales-editor>.panel-head h2{margin:3px 0 5px;color:#183251}.ksef-sales-editor>.panel-head p{margin:0;color:#718198;font-size:12px}.invoice-meta-grid{display:grid;grid-template-columns:1fr 1.25fr 1fr 1fr 1fr;gap:11px;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:#f7faff}.invoice-meta-grid label{display:grid;align-content:start;gap:6px;color:#536984;font-size:10px;font-weight:800}.invoice-meta-grid input,.ksef-sales-editor-form .invoice-meta-grid input{min-height:39px}.field-static{display:flex;align-items:center;min-height:40px;padding:8px 10px;border:1px solid #dce5f0;border-radius:9px;background:#edf3f9;color:#25415f;font-size:12px;font-weight:700}.invoice-parties-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}.invoice-party-card{display:grid;align-content:start;gap:11px;min-width:0;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:#fff}.invoice-party-heading{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #e8eef6}.invoice-party-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#e8f2ff;color:#176fd1;font-size:10px;font-weight:900}.invoice-party-heading h3,.invoice-lines-heading h3{margin:0;color:#183251;font-size:14px}.invoice-party-heading p,.invoice-lines-heading p{margin:3px 0 0;color:#718198;font-size:10px}.invoice-party-card label{display:grid;gap:5px;color:#536984;font-size:10px;font-weight:750}.invoice-party-card input{font-size:12px}.invoice-party-card input[readonly],.invoice-meta-grid input[readonly]{background:#f1f5f9;color:#64758a}.invoice-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 10px}.invoice-lines-count{padding:6px 9px;border-radius:8px;background:#edf4fc;color:#54708f;font-size:9px;font-weight:800;white-space:nowrap}.ksef-sales-editor-form .notice{margin-top:13px}.correction-reason-field{margin-top:13px}.ksef-sales-editor-form .settings-actions{margin-top:15px}.sales-invoice-print .archive-import-note{margin:14px 0;padding:10px 12px;border:1px solid #e5eaf1;border-radius:8px;background:#f5f8fc;color:#526984;font-size:11px;line-height:1.5}
@media(max-width:1100px){.invoice-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sales-import-grid,.invoice-parties-grid{grid-template-columns:1fr}.invoice-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sales-import-card{padding:13px}.invoice-meta-grid{grid-template-columns:1fr;padding:12px}.sales-date-range{grid-template-columns:1fr}.invoice-lines-heading{align-items:flex-start;flex-direction:column}.sales-import-card .button{width:100%}}
.invoice-payment-card{margin-top:16px;padding:16px;border:1px solid #dce6f2;border-radius:13px;background:linear-gradient(145deg,#f7faff,#fff)}.invoice-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.invoice-payment-grid label{display:grid;align-content:start;gap:6px;color:#536984;font-size:10px;font-weight:750}.invoice-payment-grid input,.invoice-payment-grid select{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d4dfed;border-radius:9px;background:#fff;color:#193553;font:inherit;font-size:12px}.invoice-payment-grid input:focus,.invoice-payment-grid select:focus,.sales-archive-filter input:focus,.sales-archive-filter select:focus{outline:0;border-color:#1680db;box-shadow:0 0 0 3px rgba(22,128,219,.11)}.invoice-payment-grid small{color:#718198;font-size:9px;font-weight:500;line-height:1.45}.invoice-currency-static{display:grid;align-content:center;gap:3px;min-height:64px}.invoice-currency-static strong{color:#718198;font-size:9px}.sales-invoice-archive{border-top:3px solid #1680db}.sales-archive-filter{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:0 0 13px;padding:12px;border:1px solid #e2eaf4;border-radius:10px;background:#f8fbff}.sales-archive-filter label{display:grid;gap:5px;min-width:min(370px,100%);color:#536984;font-size:10px;font-weight:750}.sales-archive-filter label:nth-child(2){min-width:110px}.sales-archive-filter input,.sales-archive-filter select{min-height:37px;padding:8px 10px;border:1px solid #d4dfed;border-radius:8px;background:#fff;color:#193553;font:inherit;font-size:12px}.sales-archive-pagination{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:13px;color:#5c718a;font-size:11px}.sales-invoice-payment-print{display:flex;gap:9px 18px;flex-wrap:wrap;margin:14px 0;padding:12px 14px;border:1px solid #dce6f2;border-radius:9px;background:#f7faff;color:#36516f;font-size:11px}.sales-invoice-payment-print strong{width:100%;color:#193553;font-size:12px}.sales-invoice-payment-print span{display:inline-block}@media(max-width:760px){.invoice-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-archive-filter label{min-width:100%}}@media(max-width:480px){.invoice-payment-grid{grid-template-columns:1fr}.sales-archive-pagination{justify-content:center}}
.sales-warehouse-tabs{gap:10px;margin:4px 0 18px;padding:0 2px;overflow-x:auto}.sales-warehouse-tabs a{gap:9px;padding:12px 15px;border:1px solid transparent;border-radius:11px 11px 0 0;color:#61748c}.sales-warehouse-tabs a span{display:inline-grid;min-width:28px;height:22px;place-items:center;padding:0 6px;border:1px solid #dbe6f2;border-radius:7px;background:#f2f6fb;color:#385675;font-size:10px;font-weight:850}.sales-warehouse-tabs a.active{border-color:#dce7f3 #dce7f3 #fff;background:#fff;color:#0b60c5;box-shadow:0 -2px 0 #1478e8 inset}.sales-warehouse-tabs a.active span{border-color:#c8e0ff;background:#eaf4ff;color:#075ec8}.document-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:220px}.document-row-actions .button{white-space:nowrap}.return-document-summary .panel-head{margin:0}.return-document-summary h2{margin:7px 0 3px;color:#193453;font-size:19px}.return-document-summary p{margin:0;color:#70829a;font-size:12px}.return-lines-list{display:grid;gap:9px}.return-line{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(150px,.8fr) minmax(150px,.8fr);align-items:center;gap:14px;padding:14px 15px;border:1px solid #e0e8f1;border-radius:12px;background:#fbfdff}.return-line-product,.return-line-meta{display:grid;gap:5px}.return-line-product strong,.return-line-meta strong{color:#1d3859;font-size:12px}.return-line-product small,.return-line-meta span{color:#77889e;font-size:10px}.return-line label{margin:0}.return-line input{margin-top:5px}.return-document-summary+.notice{margin-top:12px}@media(max-width:760px){.return-line{grid-template-columns:1fr 1fr}.return-line-product{grid-column:1/-1}.document-row-actions{min-width:0}.sales-warehouse-tabs a{padding:10px 12px;font-size:11px}}

/* Compact primary navigation groups and readable portal account controls */
.sidebar nav .nav-group{position:relative;min-width:0}
.sidebar nav .nav-group-summary{display:flex;align-items:center;gap:11px;min-height:43px;padding:10px 11px;border:1px solid transparent;border-radius:10px;color:#d6e2f1;font-size:13px;font-weight:700;list-style:none;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.sidebar nav .nav-group-summary::-webkit-details-marker{display:none}
.sidebar nav .nav-group-summary:hover,.sidebar nav .nav-group[open]>.nav-group-summary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08);color:#fff}
.sidebar nav .nav-group-summary .nav-group-chevron{margin-left:auto;color:#99b5d5;font-size:17px;line-height:1;transition:transform .15s ease}
.sidebar nav .nav-group[open]>.nav-group-summary .nav-group-chevron{transform:rotate(180deg)}
.sidebar nav .nav-group-active>.nav-group-summary{background:rgba(30,126,237,.18);border-color:rgba(115,178,255,.2);color:#fff}
.nav-submenu{display:grid;gap:3px;margin:4px 0 5px 18px;padding:4px 0 4px 12px;border-left:1px solid rgba(174,202,235,.26)}
.sidebar nav .nav-subitem{display:flex;align-items:center;min-height:35px;padding:7px 9px;border:1px solid transparent;border-radius:8px;color:#b9cbe0;font-size:11px;font-weight:650;line-height:1.35;text-decoration:none}
.sidebar nav .nav-subitem:hover{background:rgba(255,255,255,.08);color:#fff;text-decoration:none}
.sidebar nav .nav-subitem.nav-active{background:rgba(30,126,237,.24);border-color:rgba(115,178,255,.22);color:#fff}
.portal-organization-table{table-layout:fixed;min-width:1390px}
.portal-organization-table th:nth-child(1),.portal-organization-table td:nth-child(1){width:300px}
.portal-organization-table th:nth-child(2),.portal-organization-table td:nth-child(2){width:120px}
.portal-organization-table th:nth-child(3),.portal-organization-table td:nth-child(3){width:155px}
.portal-organization-table th:nth-child(4),.portal-organization-table td:nth-child(4){width:110px}
.portal-organization-table th:nth-child(5),.portal-organization-table td:nth-child(5){width:465px}
.portal-organization-table th:nth-child(6),.portal-organization-table td:nth-child(6){width:240px}
.portal-organization-table td{vertical-align:top;overflow-wrap:anywhere}
.plan-select-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;max-width:100%;margin-top:10px;align-items:stretch}
.plan-select-form select,.plan-select-form input{width:100%;min-width:0;min-height:37px;padding:7px 9px;font-size:11px}
.plan-select-form input,.plan-select-form .button{grid-column:1/-1}
.plan-select-form .button{width:100%;white-space:normal;line-height:1.3}
.portal-status-form,.portal-account-status-form{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;max-width:210px;margin-top:9px}
.portal-status-form select,.portal-account-status-form select{width:100%;min-width:0;min-height:36px;padding:7px 9px;font-size:11px}
.portal-status-form .button,.portal-account-status-form .button{width:100%;white-space:normal;line-height:1.3}
.portal-account-actions{display:grid;gap:7px;min-width:190px;max-width:225px}
.portal-account-actions form{margin:0}
.portal-account-actions .button{width:100%;white-space:normal;line-height:1.3;text-align:center}
.account-deleted{background:#f0f2f5;color:#66758a}
.portal-account-deleted-row{background:#f8f9fb;color:#68778a}
.portal-account-deleted-row .cell-sub{color:#8a96a5}
@media(max-width:680px){.sidebar nav .nav-group{flex:0 0 auto}.sidebar nav .nav-group[open]{flex:1 0 100%;min-width:0}.sidebar nav .nav-group-summary{min-height:36px;padding:8px 10px;gap:7px;font-size:11px;white-space:nowrap}.sidebar nav .nav-group-summary .nav-icon{width:17px;height:17px;flex:0 0 17px}.sidebar nav .nav-group-summary .nav-svg{width:16px;height:16px}.sidebar nav .nav-group[open]>.nav-submenu{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:4px 0 0;padding:6px 0 0;border-left:0;border-top:1px solid rgba(174,202,235,.26)}.sidebar nav .nav-subitem{min-height:34px;padding:7px 8px;font-size:10px}.portal-organization-table{min-width:1390px}.plan-select-form{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-select-form select,.plan-select-form input{min-width:0}.portal-status-form,.portal-account-status-form{max-width:210px}.portal-account-actions{min-width:175px}.portal-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mobile-only layout: expose every menu destination and keep wide content inside its own scroller. */
@media(max-width:680px){
  html,body.app-screen{width:100%;max-width:100%;overflow-x:hidden}
  body.app-screen,.app-shell,.main-area,.content-wrap,.panel,.page-heading,.dashboard-grid,.stats-grid,.form-grid{min-width:0;max-width:100%}
  .app-shell{display:block;overflow-x:clip}
  .sidebar{display:block;width:100%;max-width:100%;padding:12px;overflow:visible}
  .org-label{margin:0 0 10px}
  .mobile-nav-heading{display:flex;grid-column:1/-1;align-items:baseline;justify-content:space-between;padding:2px 3px 4px;color:#dce8f7}
  .mobile-nav-heading strong{font-size:10px;letter-spacing:.1em;text-transform:uppercase}
  .mobile-nav-heading span{color:#9fb4cf;font-size:10px}
  .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;overflow:visible}
  .sidebar nav>*{min-width:0;max-width:100%}
  .sidebar nav a.nav-item,.sidebar nav .nav-item-disabled{width:100%;min-width:0;min-height:45px;padding:8px 9px;font-size:11px;line-height:1.25;white-space:normal}
  .sidebar nav a.nav-item>span:last-child,.sidebar nav .nav-disabled-label{min-width:0;overflow-wrap:anywhere}
  .sidebar nav .nav-group{grid-column:auto;min-width:0;width:100%}
  .sidebar nav .nav-group[open]{grid-column:1/-1}
  .sidebar nav .nav-group-summary{width:100%;min-width:0;min-height:45px;padding:8px 9px;gap:7px;font-size:11px;line-height:1.25;white-space:normal}
  .sidebar nav .nav-group-summary>span:nth-child(2){flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav .nav-group-summary .nav-group-chevron{flex:0 0 auto}
  .sidebar nav .nav-group[open]>.nav-submenu{position:static;grid-template-columns:repeat(2,minmax(0,1fr));margin:5px 0 0;padding:7px 0 0}
  .sidebar nav .nav-subitem{min-width:0;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav>.nav-primary{grid-column:1/-1;justify-content:center}
  .topbar{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;justify-content:stretch;align-items:center;gap:6px;padding:9px 12px}
  .mobile-brand{display:block;font-size:17px;line-height:1.2}
  .account{width:100%;min-width:0;max-width:100%;justify-content:space-between;gap:6px;flex-wrap:nowrap;font-size:11px}
  .account-name{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .user-dot{flex:0 0 28px;width:28px;height:28px}
  .account .plan-pill{display:inline-flex;flex:0 0 auto;max-width:112px;padding:5px 8px;font-size:10px}
  .account form{flex:0 0 auto}
  .account .link-button{padding:7px 5px;white-space:nowrap}
  .role-pill{display:none}
  .content-wrap{width:100%;margin:0;padding:22px 12px}
  .main-area{width:100%;overflow-x:clip}
  .table-wrap{width:100%;min-width:0;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .section-tabs,.module-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .inventory-actions{min-width:0;max-width:100%;flex-wrap:wrap}
}


/* Mobile portrait navigation drawer and horizontal overflow containment. */
.mobile-topbar-brand-row{display:none}
.mobile-menu-toggle,.mobile-menu-close,.mobile-menu-backdrop{display:none}
@media(max-width:680px){
  html,body.app-screen{min-width:0;width:100%;max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none}
  body.app-screen{position:relative}
  .app-shell{position:relative;width:100%;min-width:0;max-width:100%;overflow-x:visible}
  .main-area,.content-wrap{width:100%;min-width:0;max-width:100%;overflow-x:clip}
  .content-wrap>*{min-width:0;max-width:100%}
  .content-wrap .panel,.content-wrap .page-heading,.content-wrap .stats-grid,.content-wrap .dashboard-grid,.content-wrap .form-grid,.content-wrap .form-panel,.content-wrap .order-detail-layout,.content-wrap .search-bar,.content-wrap .heading-actions,.content-wrap .settings-tabs{min-width:0;max-width:100%}
  .table-wrap,.invoice-lines-table-wrap,.section-tabs,.module-tabs,.sales-warehouse-tabs{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .inventory-actions{min-width:0;max-width:100%;flex-wrap:wrap}
  .mobile-topbar-brand-row{display:flex;align-items:center;gap:11px;width:100%;min-width:0}
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:91px;min-height:42px;padding:8px 12px;border:1px solid #d8e4f2;border-radius:11px;background:#f5f9fe;color:#14375f;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(23,56,94,.06)}
  .mobile-menu-toggle:focus-visible,.mobile-menu-close:focus-visible{outline:3px solid rgba(8,116,237,.28);outline-offset:2px}
  .mobile-menu-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mobile-brand{display:block;margin-left:auto;font-size:17px;line-height:1.2}
  .topbar{grid-template-columns:minmax(0,1fr);gap:9px}
  .sidebar{position:fixed;z-index:1201;inset:0 auto 0 0;display:flex;width:min(86vw,330px);max-width:calc(100vw - 48px);height:100vh;height:100dvh;min-height:0;flex:0 0 auto;flex-direction:column;gap:0;padding:16px 14px calc(16px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#102341,#0c1c34);box-shadow:14px 0 38px rgba(7,20,39,.22);transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease}
  .app-shell.mobile-menu-open .sidebar{transform:translateX(0);visibility:visible;pointer-events:auto}
  .sidebar .brand{display:flex;flex:0 0 auto;align-items:center;margin:2px 0 14px;padding:0 4px;font-size:20px}
  .sidebar .brand-icon{width:38px;height:38px;flex:0 0 38px}
  .org-label{flex:0 0 auto;width:calc(100% - 10px);min-height:44px;height:auto;margin:0 5px 14px;padding:10px 11px;overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;line-height:1.35}
  .mobile-nav-heading{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:3px 3px 9px;border-bottom:1px solid rgba(174,202,235,.2);color:#dce8f7}
  .mobile-nav-heading>span{display:grid;gap:2px}
  .mobile-nav-heading strong{font-size:12px;letter-spacing:.1em;text-transform:uppercase}
  .mobile-nav-heading small{color:#9fb4cf;font-size:10px}
  .mobile-menu-close{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid rgba(207,225,247,.2);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;font-size:25px;line-height:1;cursor:pointer}
  .sidebar nav{display:grid;flex:0 0 auto;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:4px;width:100%;overflow:visible}
  .sidebar nav>*{min-width:0;max-width:100%}
  .sidebar nav a.nav-item,.sidebar nav .nav-item-disabled,.sidebar nav .nav-group-summary{display:flex;width:100%;min-width:0;min-height:46px;align-items:center;gap:11px;padding:10px 11px;border-radius:10px;font-size:13px;line-height:1.3;white-space:normal}
  .sidebar nav a.nav-item>span:last-child,.sidebar nav .nav-disabled-label,.sidebar nav .nav-group-summary>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}
  .sidebar nav a.nav-item .nav-icon,.sidebar nav .nav-item-disabled .nav-icon,.sidebar nav .nav-group-summary .nav-icon{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;color:#9fc8ff}
  .sidebar nav a.nav-item .nav-svg,.sidebar nav .nav-item-disabled .nav-svg,.sidebar nav .nav-group-summary .nav-svg{display:block;width:20px;height:20px}
  .sidebar nav .nav-group{grid-column:auto;width:100%;min-width:0}
  .sidebar nav .nav-group[open]{grid-column:auto}
  .sidebar nav .nav-group-summary{justify-content:flex-start}
  .sidebar nav .nav-group-summary .nav-group-chevron{flex:0 0 auto;margin-left:auto}
  .sidebar nav .nav-group[open]>.nav-submenu{position:static;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:3px 0 5px 17px;padding:4px 0 4px 13px;border-top:0;border-left:1px solid rgba(174,202,235,.26)}
  .sidebar nav .nav-subitem{min-width:0;min-height:40px;padding:9px 10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
  .sidebar nav>.nav-primary{grid-column:auto;justify-content:flex-start}
  .sidebar-foot{display:grid;margin-top:auto;padding:16px 7px 3px}
  .mobile-menu-backdrop{position:fixed;z-index:1200;inset:0;display:block;width:100%;height:100%;border:0;background:rgba(8,20,38,.48);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
  .app-shell.mobile-menu-open .mobile-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  body.mobile-menu-is-open{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.sidebar,.mobile-menu-backdrop{transition:none!important}}

.remember-login span{display:grid;gap:3px}.remember-login small{font-size:11px;line-height:1.4}

.document-row-actions form,.inline-delete-form,.invoice-delete-form{display:inline-flex;margin:0}.invoice-delete-form{margin-top:12px}

/* Salon appointments and per-device temperature entry */
.temperature-today-panel{margin-bottom:18px;border-top:3px solid #1479ec}.temperature-today-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.temperature-device-card{min-width:0;padding:17px;border:1px solid #dce6f2;border-radius:15px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 7px 22px rgba(19,55,96,.05)}.temperature-device-heading{display:flex;align-items:center;gap:12px}.temperature-device-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:13px;background:#eaf3ff;color:#0874ed;font-size:22px}.temperature-device-heading .eyebrow{margin-bottom:2px;color:#7385a0;font-size:10px}.temperature-device-heading h3{margin:0;color:#142a49;font-size:16px}.temperature-device-heading small{display:block;margin-top:3px;color:#71819a}.temperature-first-reading{margin:15px 0;color:#72839a;font-size:12px}.temperature-today-history{display:grid;gap:6px;margin:14px 0}.temperature-today-history>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:9px;background:#edf7f2}.temperature-today-history strong{color:#08754f;font-size:18px}.temperature-today-history span{color:#56766c;font-size:11px;text-align:right}.temperature-today-form{display:grid;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid #e5edf6}.temperature-today-form label{font-size:12px;font-weight:800}.temperature-today-form label span{color:#75849a;font-weight:500}.temperature-today-input-row{display:flex;gap:8px}.temperature-today-input-row input{min-width:0;flex:1}.temperature-device-type-label{display:block;margin-bottom:4px;color:#74849a;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.temperature-entry-link{display:inline-flex;padding:5px 8px;border-radius:7px;background:#edf4fc;color:#537095;font-size:10px}.temperature-calendar-table thead th strong{display:block}.temperature-calendar-table thead th small{display:block}.fridge-add-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}.fridge-card>div{display:grid;gap:4px}
.beauty-week-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.beauty-week-nav>strong{min-width:120px;text-align:center;color:#233e62;font-size:13px}.beauty-booking-panel{border-top:3px solid #8b63d9}.beauty-appointment-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.beauty-appointment-form>label{min-width:0}.beauty-appointment-form input,.beauty-appointment-form select{min-width:0}.beauty-new-client-fields{display:none;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #dce5f2;border-radius:13px;background:#f7f9fd}.beauty-new-client-fields.is-visible{display:grid}.beauty-new-client-heading{grid-column:1/-1;display:grid;gap:3px}.beauty-new-client-heading strong{color:#162d4c}.beauty-new-client-heading span{color:#71819a;font-size:12px}.beauty-calendar-panel{margin-top:18px}.beauty-calendar-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 13px}.beauty-calendar-legend>span{display:inline-flex;align-items:center;gap:6px;color:#687b95;font-size:11px}.beauty-calendar-legend i{width:9px;height:9px;border-radius:50%;background:var(--service-color,#3286e8)}.beauty-week-grid{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:9px;overflow-x:auto;padding:1px 1px 7px}.beauty-day-column{min-width:130px;min-height:210px;overflow:hidden;border:1px solid #e0e8f2;border-radius:13px;background:#fbfcfe}.beauty-day-column.is-today{border-color:#8bbcff;background:#f5f9ff;box-shadow:inset 0 0 0 1px #c9e0ff}.beauty-day-column>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;padding:9px;border-bottom:1px solid #e6edf5;background:rgba(238,244,251,.72)}.beauty-day-column>header>span{color:#72839a;font-size:10px;text-transform:uppercase}.beauty-day-column>header>strong{color:#18365d;font-size:13px}.beauty-day-column>header>a{color:#0869e8;font-size:10px;font-weight:800;text-decoration:none}.beauty-day-appointments{display:grid;align-content:start;gap:8px;padding:8px}.beauty-empty-day{margin:7px 0;color:#9aa8b9;font-size:11px;text-align:center}.beauty-appointment-card{display:grid;gap:3px;padding:9px 9px 9px 11px;border:1px solid color-mix(in srgb,var(--service-color,#3286e8) 25%,white);border-left:4px solid var(--service-color,#3286e8);border-radius:9px;background:color-mix(in srgb,var(--service-color,#3286e8) 7%,white);overflow-wrap:anywhere}.beauty-appointment-card.is-cancelled{opacity:.56;filter:grayscale(.8)}.beauty-appointment-time{color:var(--service-color,#3286e8);font-size:11px;font-weight:900}.beauty-appointment-client{color:#142a49;font-size:12px;line-height:1.3}.beauty-appointment-service,.beauty-appointment-employee,.beauty-appointment-phone{color:#60728b;font-size:10px;line-height:1.35}.beauty-appointment-phone{text-decoration:none}.beauty-cancelled-label{color:#8a4a54;font-size:10px;font-weight:800}.beauty-appointment-actions{display:flex;gap:10px;margin-top:5px;padding-top:5px;border-top:1px solid rgba(100,120,145,.13)}.beauty-appointment-actions a,.beauty-appointment-actions button{padding:0;border:0;background:transparent;color:#456586;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}.beauty-appointment-actions form{margin:0}.beauty-service-settings{margin-top:18px;padding:0;overflow:hidden}.beauty-service-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;list-style:none;cursor:pointer}.beauty-service-settings>summary::-webkit-details-marker{display:none}.beauty-service-settings>summary>span:first-child{display:grid;gap:4px}.beauty-service-settings>summary strong{color:#193553}.beauty-service-settings>summary small{color:#74849a;font-size:11px}.beauty-settings-chevron{color:#607793;font-size:20px}.beauty-service-list{display:grid;gap:9px;padding:0 18px 18px}.beauty-service-row{display:grid;grid-template-columns:minmax(170px,1fr) 140px 100px auto auto;align-items:end;gap:10px;padding:12px;border:1px solid #e3eaf3;border-radius:11px;background:#fbfcfe}.beauty-service-row label{display:grid;gap:5px;color:#536883;font-size:11px;font-weight:800}.beauty-service-row input[type=color]{width:54px;height:38px;padding:3px}.beauty-service-add-row{border-style:dashed;background:#f7faff}
@media(max-width:900px){.beauty-week-grid{grid-template-columns:repeat(7,minmax(145px,1fr))}.fridge-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.beauty-service-row{grid-template-columns:repeat(2,minmax(0,1fr))}.beauty-service-row button{min-height:38px}}
@media(max-width:640px){.beauty-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.beauty-week-nav{width:100%;justify-content:space-between}.beauty-booking-panel .panel-head,.beauty-calendar-panel .panel-head,.temperature-today-panel .panel-head{align-items:flex-start;flex-direction:column;gap:10px}.beauty-appointment-form,.beauty-new-client-fields{grid-template-columns:minmax(0,1fr)}.beauty-new-client-fields>*{grid-column:1}.beauty-calendar-legend{justify-content:flex-start}.beauty-week-grid{grid-template-columns:minmax(0,1fr);overflow:visible}.beauty-day-column{min-width:0;min-height:130px}.beauty-day-column>header{grid-template-columns:52px 1fr auto}.beauty-day-appointments{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.fridge-add-form{grid-template-columns:minmax(0,1fr)}.temperature-today-grid{grid-template-columns:minmax(0,1fr)}.temperature-today-input-row{align-items:stretch}.temperature-today-input-row .button{white-space:nowrap}.beauty-service-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.beauty-service-row label:first-child{grid-column:1/-1}.beauty-service-row input[type=color]{height:42px}.beauty-service-add-row label:first-child{grid-column:1/-1}}

/* Rejestr temperatur: jawny wybór sprzętu i układ bez poziomego przewijania. */
.temperature-entry-form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(130px,.6fr) minmax(160px,.8fr) auto;align-items:end;gap:12px;margin:0 0 18px;padding:16px;border:1px solid #dbe7f4;border-radius:14px;background:#f6faff}
.temperature-entry-form label{display:grid;gap:7px;color:#25415f;font-size:12px;font-weight:800}
.temperature-entry-form label span{color:#72839a;font-weight:600}
.temperature-entry-form select,.temperature-entry-form input{width:100%;min-height:44px}
.temperature-entry-form>.button{min-height:44px;white-space:nowrap}
.temperature-today-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))}
.temperature-device-card.is-selected{border-color:#1680db;box-shadow:0 0 0 2px rgba(22,128,219,.1),0 8px 24px rgba(19,55,96,.08)}
.temperature-select-device{margin-top:10px;min-height:38px}
.temperature-month-devices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));align-items:start;gap:14px}
.temperature-month-device{min-width:0;overflow:hidden;border:1px solid #dce6f2;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(19,55,96,.04)}
.temperature-month-device-heading{display:flex;align-items:center;gap:11px;padding:14px;border-bottom:1px solid #e6edf5;background:linear-gradient(135deg,#f6faff,#fff)}
.temperature-month-device-heading>div{min-width:0;flex:1}
.temperature-month-device-heading h3{margin:0;color:#172f50;font-size:15px;overflow-wrap:anywhere}
.temperature-month-device-heading small{display:block;margin-top:3px;color:#71819a;font-size:11px}
.temperature-month-count{flex:0 0 auto;padding:6px 9px;border-radius:10px;background:#edf5ff;color:#1768b2;font-size:11px;font-weight:800;text-align:right}
.temperature-month-count small{color:#587493;font-size:10px;font-weight:700}
.temperature-month-readings{display:grid;gap:0}
.temperature-month-reading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 13px;border-bottom:1px solid #edf1f6}
.temperature-month-reading:last-child{border-bottom:0}
.temperature-month-reading-main{display:flex;align-items:baseline;gap:9px;min-width:0}
.temperature-month-reading-main strong{color:#08754f;font-size:16px;white-space:nowrap}
.temperature-month-reading-main span,.temperature-month-reading>small{color:#657991;font-size:11px;overflow-wrap:anywhere}
.temperature-month-reading>small{grid-column:1/-1}
.temperature-reading-actions{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.temperature-delete-form{margin:0}
.temperature-delete-button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:4px;padding:6px 9px;border:1px solid #f0c6c2!important;border-radius:9px;background:#fff6f5!important;color:#a4322b!important;font-size:10px;font-weight:800;white-space:nowrap}
.temperature-delete-button:hover{border-color:#df958e!important;background:#ffebe9!important;color:#8c211c!important}
.temperature-month-empty{margin:0;padding:14px;color:#71819a;font-size:12px}
.temperature-print-summary{margin:12px 0 16px;color:#52677f;font-size:10px;font-weight:700}
.temperature-print-device{margin:0 0 16px;break-inside:auto}
.temperature-print-device h2{margin:14px 0 3px;color:#183553;font-size:13px;break-after:avoid}
.temperature-print-device h2 small{color:#657991;font-size:9px;font-weight:500}
.temperature-print-device>p{margin:0 0 7px;color:#657991;font-size:9px}
.temperature-print-device .table-wrap{overflow:visible}
.temperature-print-table{width:100%;table-layout:fixed;border-collapse:collapse}
.temperature-print-table th:first-child,.temperature-print-table td:first-child{width:20%}
.temperature-print-table th:nth-child(2),.temperature-print-table td:nth-child(2){width:38%}
.temperature-print-table th:nth-child(3),.temperature-print-table td:nth-child(3){width:42%}
.temperature-print-entry{padding:2px 0}
.temperature-print-missing{color:#8693a3;font-style:italic}
@media(max-width:640px){.temperature-entry-form{grid-template-columns:minmax(0,1fr);padding:13px}.temperature-entry-form>.button{width:100%}.temperature-today-panel .panel-head>.button{width:100%}.temperature-month-devices{grid-template-columns:minmax(0,1fr)}.temperature-month-reading{grid-template-columns:minmax(0,1fr);gap:5px}.temperature-reading-actions{grid-column:1;grid-row:auto;justify-content:flex-start}.temperature-month-readings{max-height:none}}
@media print{.temperature-print-summary{margin-bottom:10px}.temperature-print-device h2{font-size:11px}.temperature-print-device>p{font-size:8px}.temperature-print-table th,.temperature-print-table td{padding:4px 5px;font-size:8px}.temperature-print-table thead{display:table-header-group}.temperature-print-table tr{break-inside:avoid}.temperature-print-entry{padding:1px 0}}

/* Keep the equipment handover protocol compact on a single A4 sheet. */
@media print{
  .print-handover-sheet{font-size:9px;line-height:1.25}
  .print-handover-sheet{min-height:0!important;height:auto!important;break-after:avoid-page;page-break-after:avoid}
  .print-handover-sheet .print-brand{gap:10px;padding-bottom:6px;border-bottom-width:1px}
  .print-handover-sheet .print-brand strong{font-size:15px}
  .print-handover-sheet .print-brand span,.print-handover-sheet .print-document-number{font-size:8px}
  .print-handover-sheet .print-company-logo{max-width:125px;max-height:40px}
  .print-handover-sheet .print-title-row{margin-top:7px}
  .print-handover-sheet .print-title-row>h1{margin:0;font-size:18px;line-height:1.15}
  .print-handover-sheet .print-document-reference{margin-bottom:5px;padding:4px 7px;font-size:8px}
  .print-handover-sheet .print-document-reference strong{font-size:10px}
  .print-handover-sheet .print-lead{margin:3px 0 6px;font-size:8px;line-height:1.25}
  .print-handover-sheet .print-meta{gap:4px}
  .print-handover-sheet .print-meta>div,.print-handover-sheet .print-grid>div{gap:2px;padding:5px 7px;border-radius:6px}
  .print-handover-sheet .print-meta span,.print-handover-sheet .print-grid span{font-size:8px}
  .print-handover-sheet .print-meta strong,.print-handover-sheet .print-grid strong{font-size:9px;line-height:1.25}
  .print-handover-sheet .print-section{margin-top:7px}
  .print-handover-sheet .print-section h2{margin-bottom:4px;padding-bottom:3px;font-size:10px}
  .print-handover-sheet .print-grid{gap:4px}
  .print-handover-sheet .print-multiline{font-size:8.5px;line-height:1.25}
  .print-handover-sheet .work-scope-print-section .print-multiline{overflow-wrap:anywhere}
  .print-handover-sheet .work-scope-value{min-height:20px;font-size:8.5px;line-height:1.25}
  .print-handover-sheet .print-signatures{gap:28px;margin:16px 0 8px}
  .print-handover-sheet .print-signatures>div{gap:3px;min-height:25px}
  .print-handover-sheet .print-signatures span{font-size:7.5px}
  .print-handover-sheet .print-signatures strong{font-size:8px}
  .print-handover-sheet .print-custom-qr{gap:7px;margin-top:6px;padding:4px;border-color:#e1e7ee;border-radius:6px}
  .print-handover-sheet .print-custom-qr>div:first-child{gap:2px}
  .print-handover-sheet .print-custom-qr strong{font-size:8px}
  .print-handover-sheet .print-custom-qr span{font-size:7px}
  .print-handover-sheet .print-custom-qr [data-ksef-qr]{width:52px;height:52px}
  .print-handover-sheet .print-footer{margin-top:5px;padding-top:4px;font-size:7px}
}

/* Make temperature corrections easy to find for company owners and authorized staff. */
.temperature-edit-access-hint{display:flex;align-items:flex-start;gap:11px;margin:10px 0 16px;padding:13px 15px;border:1px solid #b9d8fa;border-left:4px solid #1678e8;border-radius:11px;background:#f1f7ff;color:#234365}
.temperature-owner-tools-hint{border-color:#f0d4a0;border-left-color:#dc9b17;background:#fff9ec;color:#614a20}
.temperature-owner-tools-hint .temperature-edit-access-icon{background:#fff0ca;color:#956400}
.temperature-owner-tools-hint strong{color:#6e4a00}
.temperature-owner-tools-hint p{color:#715e3d}
.temperature-edit-access-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:#dcecff;color:#075ec8;font-size:19px;font-weight:800}
.temperature-edit-access-hint strong{display:block;margin:1px 0 3px;color:#123c68;font-size:12px}
.temperature-edit-access-hint p{margin:0;color:#526b86;font-size:11px;line-height:1.5}
.temperature-reading-edit.button{display:inline-flex;width:auto;min-height:34px;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border-color:#b8d5f5;background:#f3f8ff;color:#135fae;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}
.temperature-reading-edit.button:hover{border-color:#7eb4ed;background:#e8f3ff;color:#0a4e94;text-decoration:none}
@media(max-width:640px){.temperature-edit-access-hint{padding:11px 12px}.temperature-reading-actions .button{min-height:40px}.temperature-delete-form{display:inline-flex}}
.inventory-writeoff-form-panel{border-top:3px solid #d9a219}.writeoff-safety-badge{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #bfe5d3;border-radius:999px;background:#eefaf4;color:#16754d;font-size:11px;font-weight:800;white-space:nowrap}.inventory-writeoff-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.inventory-writeoff-form textarea{min-height:76px;resize:vertical}.inventory-writeoff-archive{margin-top:18px}.inventory-writeoff-archive .panel-head{align-items:center}.inventory-writeoff-archive table{min-width:800px}.writeoff-print-sheet .print-brand{margin-bottom:24px}.writeoff-print-sheet .operations-table tfoot th{padding-top:13px;border-top:2px solid #9bb1cc;text-align:right}.writeoff-print-sheet .operations-table tfoot th:first-child{text-align:right}
.inventory-writeoff-archive .status-pill.status-warning{background:#fff4d6;color:#8b5e00}.inventory-writeoff-archive .status-pill.status-neutral{background:#edf1f6;color:#52647a}
@media(max-width:640px){.inventory-writeoff-form{grid-template-columns:minmax(0,1fr)}.inventory-writeoff-archive .panel-head{align-items:flex-start;flex-direction:column}.writeoff-safety-badge{align-self:flex-start}}

.inventory-stock-choice{margin:0;padding:14px 16px;border:1px solid #d8e1ef;border-radius:14px;background:#f7f9fc}.inventory-stock-choice legend{padding:0 6px;color:#20395b;font-size:13px;font-weight:800}.inventory-stock-choice .check-row{display:flex;align-items:flex-start;gap:10px;margin:0}.inventory-stock-choice .check-row input{flex:0 0 auto;margin-top:3px}.inventory-stock-choice .check-row span{display:grid;gap:4px}.inventory-stock-choice .check-row strong{color:#19304f;font-size:13px}.inventory-stock-choice .check-row small{color:#60728c;font-size:12px;line-height:1.5}.inventory-writeoff-archive table{min-width:1000px}.writeoff-print-sheet .operations-table{min-width:0;width:100%;table-layout:auto;font-size:11px}.writeoff-print-sheet .operations-table th,.writeoff-print-sheet .operations-table td{padding:7px 6px;white-space:normal;overflow-wrap:anywhere}.writeoff-print-sheet .print-note{margin-top:12px;color:#53657d;font-size:10px}

/* Salon: kalendarz, który jest pierwszym ekranem pracy, z kartą klienta i historią wizyt. */
.beauty-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.beauty-workspace{display:flex;flex-direction:column;gap:18px}.beauty-calendar-panel{order:-1;margin-top:0;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff 0%,#fcfaff 100%)}.beauty-booking-panel{order:0;scroll-margin-top:22px}.beauty-calendar-panel>.panel-head{align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #ece7f6}.beauty-week-grid{grid-template-columns:repeat(7,minmax(122px,1fr));gap:10px;padding:13px 1px 2px}.beauty-day-column{min-height:235px;border-color:#e5e1ed;background:#fff;box-shadow:0 5px 16px rgba(36,31,64,.035)}.beauty-day-column.is-today{border-color:#a889e8;background:#fbf8ff;box-shadow:inset 0 0 0 1px #d9c9f4,0 7px 18px rgba(97,68,153,.08)}.beauty-day-column>header{grid-template-columns:auto 1fr auto;gap:5px 7px;min-height:67px;padding:10px 9px;background:linear-gradient(135deg,#f7f4fc,#f4f7ff)}.beauty-day-column>header>span{grid-column:1;grid-row:1;color:#756788}.beauty-day-column>header>strong{grid-column:2;grid-row:1;font-size:15px}.beauty-day-column>header>.beauty-day-count{grid-column:1/3;grid-row:2;color:#8a8099;font-size:9px}.beauty-day-column>header>a{grid-column:3;grid-row:1/3;align-self:center;padding:6px 7px;border-radius:8px;background:#eee7fb;color:#6845a8;font-size:10px}.beauty-day-appointments{gap:9px;padding:9px}.beauty-appointment-card{position:relative;gap:4px;padding:10px 9px 9px 12px;border-radius:11px;box-shadow:0 3px 9px rgba(36,31,64,.035);transition:transform .15s ease,box-shadow .15s ease}.beauty-appointment-card:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(36,31,64,.1)}.beauty-appointment-time{font-size:12px;letter-spacing:.02em}.beauty-appointment-client{font-size:13px}.beauty-appointment-service{color:#504567;font-size:11px;font-weight:750}.beauty-appointment-employee,.beauty-appointment-phone{font-size:10px}.beauty-appointment-history{margin-top:4px;color:#704aa8;font-size:10px;font-weight:800;text-decoration:none}.beauty-appointment-history:hover{text-decoration:underline}.beauty-appointment-actions{flex-wrap:wrap}.beauty-day-column.is-today .beauty-empty-day{margin:16px 8px;padding:14px 7px;border:1px dashed #d9c8f1;border-radius:10px;color:#80728e}.beauty-page-heading{align-items:center}.beauty-week-nav{padding:5px;border:1px solid #e6e0f0;border-radius:12px;background:#fff}.beauty-week-nav>strong{min-width:140px}.beauty-client-history{margin:0 0 18px;border:1px solid #dcd1ef;border-top:3px solid #8b63d9;background:linear-gradient(130deg,#fff 0%,#fcfaff 60%,#f5f8ff 100%)}.beauty-history-top{display:flex;align-items:center;gap:14px}.beauty-client-avatar{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#9063db,#5f7fe7);color:#fff;font-size:22px;font-weight:900;box-shadow:0 8px 18px rgba(117,83,190,.22)}.beauty-history-identity{min-width:0;flex:1}.beauty-history-identity h2{margin:2px 0;color:#202442;font-size:20px}.beauty-history-identity p{margin:0;color:#6b7288;font-size:12px;overflow-wrap:anywhere}.beauty-history-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.beauty-history-count{padding:7px 10px;border-radius:999px;background:#eee8fa;color:#6845a8;font-size:11px;font-weight:850}.beauty-history-list{display:grid;gap:8px;margin-top:16px}.beauty-history-visit{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:start;gap:14px;padding:13px 14px;border:1px solid #e8e4ee;border-radius:12px;background:#fff}.beauty-history-visit time{display:grid;gap:3px;color:#39435b;font-size:12px}.beauty-history-visit time strong{color:#252943;font-size:13px}.beauty-history-visit time span{color:#7a7189;font-size:11px}.beauty-history-visit-main{display:grid;gap:3px;min-width:0}.beauty-history-visit-main>strong{color:#342c4a;font-size:13px}.beauty-history-visit-main>span{color:#68748a;font-size:11px}.beauty-history-visit-main p{margin:5px 0 0;padding:8px 10px;border-left:2px solid #c3a9eb;border-radius:0 8px 8px 0;background:#faf8fd;color:#555268;font-size:11px;line-height:1.55}.beauty-history-status{padding:5px 8px;border-radius:999px;background:#eaf8ef;color:#24804b;font-size:10px;font-weight:850;white-space:nowrap}.beauty-history-status.is-cancelled{background:#f3eef0;color:#8b5e69}.beauty-history-empty{display:grid;gap:5px;padding:18px;border:1px dashed #dcd1ef;border-radius:12px;background:#fff}.beauty-history-empty strong{color:#39314b;font-size:13px}.beauty-history-empty span{color:#7a7189;font-size:12px}.beauty-client-history-link{display:none;margin-top:1px;color:#6845a8;font-size:11px;font-weight:850;text-decoration:none}.beauty-client-history-link.is-visible{display:inline-flex}.beauty-appointment-form textarea{min-height:66px;resize:vertical}.inventory-manual-fields{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #e5dfef;border-radius:13px;background:#fbf9fd}.inventory-manual-fields.is-visible{display:grid}.inventory-manual-fields label{display:grid;gap:6px;color:#52637a;font-size:11px;font-weight:800}.inventory-manual-fields small{color:#75839a;font-size:10px;font-weight:500;line-height:1.4}
@media(max-width:900px){.beauty-heading-actions{width:100%;justify-content:space-between}.beauty-week-grid{grid-template-columns:repeat(7,minmax(145px,1fr))}.inventory-manual-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.beauty-heading-actions{align-items:stretch;flex-direction:column}.beauty-heading-actions>.button{width:100%;justify-content:center}.beauty-week-nav{width:100%;justify-content:space-between}.beauty-week-nav>strong{min-width:0;flex:1}.beauty-calendar-panel>.panel-head{align-items:flex-start;flex-direction:column}.beauty-history-top{align-items:flex-start;flex-wrap:wrap}.beauty-history-identity{width:calc(100% - 68px);flex:none}.beauty-history-actions{width:100%}.beauty-history-actions .button{flex:1;justify-content:center}.beauty-history-visit{grid-template-columns:1fr auto;gap:7px 10px}.beauty-history-visit time{grid-column:1}.beauty-history-status{grid-column:2;grid-row:1}.beauty-history-visit-main{grid-column:1/-1}.inventory-manual-fields{grid-template-columns:minmax(0,1fr)}}

/* Beauty salon calendar and client book: v0.17.3 */
.beauty-section-tabs{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.beauty-section-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #e7e2ef;border-radius:999px;background:#fff;color:#625777;font-size:12px;font-weight:800;text-decoration:none}.beauty-section-tabs a.is-active{border-color:#d5c6ee;background:#f3edfc;color:#6240a0;box-shadow:0 3px 10px rgba(72,49,114,.08)}.beauty-view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #e5dfec;border-radius:10px;background:#f8f6fb}.beauty-view-switch a{padding:6px 10px;border-radius:7px;color:#756c83;font-size:11px;font-weight:800;text-decoration:none}.beauty-view-switch a.is-active{background:#fff;color:#63439a;box-shadow:0 2px 7px rgba(38,30,58,.1)}.beauty-workspace{display:flex;flex-direction:column;gap:18px}.beauty-calendar-panel{order:0;margin:0;border:1px solid #e8e1f0;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff 0%,#fcfaff 100%);overflow:hidden}.beauty-booking-panel{order:1;scroll-margin-top:22px;border-top:3px solid #8b63d9}.beauty-week-grid{display:grid;grid-template-columns:repeat(7,minmax(188px,1fr));gap:9px;overflow-x:auto;padding:12px 2px 8px;overscroll-behavior-x:contain;scrollbar-width:thin}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}.beauty-day-column{min-width:188px;overflow:hidden;border:1px solid #e8e3ef;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(45,32,73,.035)}.beauty-day-column.is-today{border-color:#ae90de;background:#fdfbff;box-shadow:inset 0 0 0 1px #e5d9f7,0 6px 18px rgba(95,64,148,.09)}.beauty-day-column>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:3px 7px;min-height:64px;padding:9px 10px;border-bottom:1px solid #eee9f4;background:linear-gradient(135deg,#f9f6fd,#f5f8ff)}.beauty-day-column>header>span{grid-column:1;color:#82768e;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.beauty-day-column>header>strong{grid-column:2;color:#292840;font-size:15px}.beauty-day-column>header>.beauty-day-count{grid-column:1/3;grid-row:2;color:#877c93;font-size:9px}.beauty-day-column>header>a{grid-column:3;grid-row:1/3;padding:6px 7px;border-radius:8px;background:#eee7fa;color:#6844a5;font-size:10px;font-weight:850;text-decoration:none}.beauty-timeline{position:relative;height:var(--beauty-grid-height,832px);margin:0 0 0 0;padding:0 3px 0 42px;border-left:1px solid #eeeaf2;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(var(--beauty-hour-height,64px) - 1px),#f0edf4 calc(var(--beauty-hour-height,64px) - 1px),#f0edf4 var(--beauty-hour-height,64px));box-sizing:border-box}.beauty-day-column.is-today .beauty-timeline{background:repeating-linear-gradient(to bottom,#fdfbff 0,#fdfbff calc(var(--beauty-hour-height,64px) - 1px),#eee8f5 calc(var(--beauty-hour-height,64px) - 1px),#eee8f5 var(--beauty-hour-height,64px))}.beauty-hour-line{position:absolute;left:0;right:0;height:0;border-top:1px solid #eeebf2;pointer-events:none}.beauty-hour-line>span{position:absolute;top:-8px;left:-41px;width:34px;color:#91879e;font-size:9px;font-weight:750;text-align:right}.beauty-timeline-event{position:absolute;top:var(--event-top);left:calc(var(--event-left) + 42px);width:calc(var(--event-width) - 4px);height:var(--event-height);min-height:38px;z-index:2;display:flex;flex-direction:column;justify-content:flex-start;gap:2px;overflow:hidden;padding:5px 6px;border:1px solid color-mix(in srgb,var(--service-color) 30%,white);border-left:3px solid var(--service-color);border-radius:8px;background:color-mix(in srgb,var(--service-color) 11%,white);color:#28253a;text-decoration:none;box-shadow:0 2px 7px rgba(47,36,67,.06);box-sizing:border-box}.beauty-timeline-event:hover{z-index:4;filter:saturate(1.08);box-shadow:0 6px 14px rgba(55,37,84,.16);transform:translateY(-1px)}.beauty-timeline-event>span{color:var(--service-color);font-size:9px;font-weight:900;line-height:1.1;white-space:nowrap}.beauty-timeline-event>strong{overflow:hidden;color:#24243a;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.beauty-timeline-event>small{overflow:hidden;color:#625b70;font-size:9px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.beauty-timeline-event.is-cancelled{opacity:.55;filter:grayscale(.8)}.beauty-timeline-event>i{position:absolute;right:4px;top:3px;color:#8a5262;font-size:8px;font-style:normal;font-weight:900}.beauty-timeline-empty{position:absolute;top:43%;left:48px;right:8px;display:grid;gap:7px;justify-items:center;color:#8e859b;font-size:11px;text-align:center;pointer-events:none}.beauty-timeline-empty a{padding:7px 10px;border:1px solid #e7dcf6;border-radius:8px;background:#fff;color:#6844a5;font-size:10px;font-weight:850;text-decoration:none;pointer-events:auto}
.beauty-clientbook{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);align-items:start;gap:16px}.beauty-client-list-panel,.beauty-client-profile,.beauty-client-edit-panel,.beauty-client-welcome{border:1px solid #e7e1ed;border-top:3px solid #8b63d9;background:linear-gradient(180deg,#fff,#fdfbff)}.beauty-clientbook-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.beauty-clientbook-heading h2,.beauty-history-heading h3{margin:3px 0;color:#2d2941;font-size:18px}.beauty-clientbook-heading p,.beauty-history-heading p{margin:3px 0;color:#81788e;font-size:11px}.beauty-clientbook-icon,.beauty-client-welcome-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f0e9fb;color:#7049ae;font-size:21px}.beauty-client-search{display:flex;gap:8px;margin:14px 0 10px}.beauty-client-search input{min-width:0;flex:1}.beauty-client-list{display:grid;max-height:640px;overflow-y:auto;border-top:1px solid #eeeaf2}.beauty-client-list-row{display:grid;grid-template-columns:36px minmax(0,1fr) 42px auto;align-items:center;gap:9px;padding:10px 2px;border-bottom:1px solid #f0edf3;color:inherit;text-decoration:none}.beauty-client-list-row:hover,.beauty-client-list-row.is-active{margin:0 -10px;padding-right:12px;padding-left:12px;border-radius:9px;background:#f5f0fc}.beauty-client-list-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(140deg,#a37de0,#6d7fe4);color:#fff;font-size:15px;font-weight:900}.beauty-client-list-name{display:grid;gap:3px;min-width:0}.beauty-client-list-name strong{overflow:hidden;color:#332e46;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.beauty-client-list-name small,.beauty-client-last-visit{overflow:hidden;color:#8a8194;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.beauty-client-list-visits{display:grid;justify-items:center;color:#6744a0}.beauty-client-list-visits strong{font-size:13px}.beauty-client-list-visits small{font-size:8px}.beauty-client-list-empty{display:grid;gap:4px;padding:22px 10px;text-align:center}.beauty-client-list-empty strong{color:#3b334c;font-size:12px}.beauty-client-list-empty span,.beauty-client-list-note{color:#877e92;font-size:10px;line-height:1.5}.beauty-client-list-note{margin:10px 0}.beauty-client-profile-area{min-width:0}.beauty-profile-cover{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid #eeeaf2}.beauty-profile-cover>div{flex:1;min-width:0}.beauty-profile-cover .beauty-client-avatar{width:54px;height:54px;flex-basis:54px;font-size:23px}.beauty-profile-cover h2{margin:2px 0;color:#2b2740;font-size:20px}.beauty-profile-cover p{margin:0;color:#777186;font-size:11px;overflow-wrap:anywhere}.beauty-client-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 20px}.beauty-client-stats>div{display:grid;gap:4px;padding:12px;border:1px solid #ebe5f2;border-radius:11px;background:#faf8fd}.beauty-client-stats strong{color:#584081;font-size:19px}.beauty-client-stats span{color:#857b91;font-size:10px}.beauty-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.beauty-history-heading h3{font-size:16px}.beauty-client-edit-panel>h2,.beauty-client-welcome h2{margin:5px 0 7px;color:#2c2841;font-size:21px}.beauty-client-edit-panel>p,.beauty-client-welcome>p{color:#777186;font-size:12px;line-height:1.65}.beauty-client-edit-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.beauty-client-edit-form label{display:grid;gap:6px;color:#554b67;font-size:11px;font-weight:800}.beauty-client-welcome{display:grid;justify-items:start;gap:8px;padding:30px}.beauty-client-welcome-icon{width:50px;height:50px;font-size:25px}.beauty-client-welcome p{max-width:480px}.beauty-client-welcome .button{margin-top:6px}.beauty-client-history{margin:0 0 18px;border:1px solid #dcd1ef;border-top:3px solid #8b63d9;background:linear-gradient(130deg,#fff 0%,#fcfaff 60%,#f5f8ff 100%)}
@media(max-width:900px){.beauty-clientbook{grid-template-columns:minmax(0,1fr)}.beauty-client-list{max-height:360px}.beauty-week-grid{grid-template-columns:repeat(7,minmax(188px,1fr))}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.beauty-section-tabs{width:100%}.beauty-section-tabs a{flex:1;justify-content:center;padding:9px 7px;font-size:11px}.beauty-heading-actions{align-items:stretch;flex-direction:column}.beauty-week-nav{justify-content:space-between;gap:4px}.beauty-week-nav>strong{min-width:0;flex:1;font-size:11px}.beauty-week-nav>.button{padding:6px}.beauty-view-switch{margin-left:auto}.beauty-week-grid{grid-template-columns:repeat(7,minmax(188px,1fr));overflow-x:auto;overflow-y:hidden}.beauty-week-grid.is-day-view{grid-template-columns:minmax(0,1fr)}.beauty-day-column{min-width:188px}.beauty-week-grid.is-day-view .beauty-day-column{min-width:0}.beauty-profile-cover{align-items:flex-start;flex-wrap:wrap}.beauty-profile-cover>.button{width:100%;justify-content:center}.beauty-history-heading{align-items:flex-start;flex-direction:column}.beauty-history-visit{grid-template-columns:82px minmax(0,1fr);gap:9px;padding:10px}.beauty-history-status{grid-column:2;justify-self:start}.beauty-client-stats{gap:6px}.beauty-client-stats>div{padding:9px}.beauty-client-stats strong{font-size:16px}.beauty-client-stats span{font-size:9px}.beauty-client-edit-form{grid-template-columns:minmax(0,1fr)}.beauty-client-edit-form>*{grid-column:1}.beauty-client-search .button{padding:8px 11px}.beauty-client-list-row{grid-template-columns:34px minmax(0,1fr) 34px}.beauty-client-last-visit{display:none}}.beauty-events-layer{position:absolute;inset:0 3px 0 42px;pointer-events:none}.beauty-timeline-event{left:var(--event-left);width:calc(var(--event-width) - 4px);pointer-events:auto}.beauty-history-preview{display:grid;gap:8px;padding:12px 14px;border:1px solid #e8e1f0;border-radius:12px;background:linear-gradient(120deg,#fbf8ff,#f8fbff)}.beauty-history-preview[hidden]{display:none}.beauty-history-preview-heading{display:flex;justify-content:space-between;gap:8px;color:#39324d;font-size:12px}.beauty-history-preview-heading>span{color:#7250a8;font-size:10px;font-weight:800}.beauty-history-preview-loading,.beauty-history-preview-empty{margin:0;color:#81788e;font-size:11px}.beauty-history-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;max-height:260px;overflow:auto}.beauty-history-preview-list article{display:grid;gap:3px;padding:9px;border:1px solid #ede8f2;border-radius:9px;background:#fff}.beauty-history-preview-list time{color:#756b83;font-size:9px;font-weight:800}.beauty-history-preview-list strong{color:#352c48;font-size:11px}.beauty-history-preview-list span{color:#81788e;font-size:9px}.beauty-history-preview-list p{margin:3px 0 0;padding-top:5px;border-top:1px solid #f0edf3;color:#5f586b;font-size:10px;line-height:1.4}.beauty-timeline-event{gap:1px;padding:3px 5px}.beauty-timeline-event>span{font-size:8px;line-height:1}.beauty-timeline-event>strong{font-size:10px;line-height:1.05}.beauty-timeline-event>small{font-size:8px;line-height:1.05}

/* Clear calendar marker for allowed overlapping appointments in salons. */
.beauty-timeline-event.has-overlap{padding-right:24px}.beauty-timeline-event .beauty-overlap-flag{position:absolute;top:4px;right:4px;display:grid;width:16px;height:16px;place-items:center;border:1px solid #f0d18a;border-radius:6px;background:#fff4d8;color:#885d00;font-size:11px;font-weight:900;line-height:1}.beauty-timeline-event.has-overlap:hover .beauty-overlap-flag{background:#ffe9ae;color:#694600}

/* Salon: daily agenda stacks every appointment by start hour instead of overlapping cards. */
.beauty-hour-agenda{display:grid;gap:0;padding:7px 13px 15px}.beauty-hour-agenda-row{display:grid;grid-template-columns:62px minmax(0,1fr);border-bottom:1px solid #f0edf4}.beauty-hour-agenda-row:last-child{border-bottom:0}.beauty-hour-agenda-label{display:flex;justify-content:flex-end;align-items:flex-start;gap:2px;padding:11px 10px 8px 0;color:#82768e;font-size:11px}.beauty-hour-agenda-label strong{color:#514764;font-size:12px}.beauty-hour-agenda-label span{color:#a198ac}.beauty-hour-agenda-list{display:grid;align-content:start;gap:6px;min-width:0;min-height:47px;padding:6px 0 6px 10px;border-left:1px solid #e9e4ef}.beauty-hour-agenda-empty{align-self:center;padding:7px 2px;color:#b0a8b9;font-size:10px}.beauty-hour-agenda-card{position:relative;display:grid;grid-template-columns:minmax(78px,auto) minmax(120px,.9fr) minmax(150px,1.2fr) auto;align-items:center;gap:5px 10px;min-width:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--service-color,#8b63d9) 25%,white);border-left:4px solid var(--service-color,#8b63d9);border-radius:9px;background:color-mix(in srgb,var(--service-color,#8b63d9) 7%,white);text-decoration:none}.beauty-hour-agenda-card:hover{text-decoration:none;filter:saturate(1.05);box-shadow:0 4px 12px rgba(45,32,73,.08)}.beauty-hour-agenda-time{color:var(--service-color,#6845a5);font-size:11px;font-weight:900;white-space:nowrap}.beauty-hour-agenda-card>strong{overflow:hidden;color:#292840;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.beauty-hour-agenda-card>small{overflow:hidden;color:#70677c;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.beauty-hour-agenda-overlap{justify-self:end;padding:4px 7px;border:1px solid #f0d18a;border-radius:7px;background:#fff4d8;color:#805800;font-size:9px;font-weight:850;white-space:nowrap}.beauty-hour-agenda-card.is-cancelled{opacity:.58;filter:grayscale(.8)}.beauty-hour-agenda-card>i{justify-self:end;color:#8a5262;font-size:9px;font-style:normal;font-weight:900}
@media(max-width:640px){.beauty-hour-agenda{padding:5px 8px 10px}.beauty-hour-agenda-row{grid-template-columns:47px minmax(0,1fr)}.beauty-hour-agenda-label{padding-right:7px;font-size:10px}.beauty-hour-agenda-list{padding-left:7px}.beauty-hour-agenda-card{grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;padding:8px}.beauty-hour-agenda-time{grid-column:1/-1}.beauty-hour-agenda-card>strong{grid-column:1;white-space:normal;overflow-wrap:anywhere}.beauty-hour-agenda-card>small{grid-column:1;white-space:normal;overflow-wrap:anywhere}.beauty-hour-agenda-overlap,.beauty-hour-agenda-card>i{grid-column:2;grid-row:2/4;align-self:center;font-size:8px}.beauty-hour-agenda-empty{font-size:9px}}

/* Portal owner: compact company groups with per-user login history. */
.portal-user-group{margin:10px 0;border:1px solid #dce5f2;border-radius:13px;background:#fff;overflow:hidden}.portal-user-group>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;cursor:pointer;list-style:none;background:linear-gradient(110deg,#f8fbff,#fff)}.portal-user-group>summary::-webkit-details-marker{display:none}.portal-user-group>summary:hover{background:#f1f7ff}.portal-user-group-name{display:grid;gap:3px;min-width:0}.portal-user-group-name strong{color:#142c4b;font-size:14px;overflow-wrap:anywhere}.portal-user-group-name small{color:#687b96;font-size:11px}.portal-user-group-toggle{display:flex;align-items:center;gap:8px;flex:none;color:#2468ba;font-size:11px;font-weight:800}.portal-user-group-toggle b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eaf3ff;font-size:17px}.portal-user-group[open]>summary{border-bottom:1px solid #e4ebf4;background:#f6faff}.portal-user-group[open] .portal-user-group-toggle b{transform:rotate(45deg)}.portal-user-group .table-wrap{margin:0;border:0;border-radius:0;box-shadow:none}.portal-user-table{min-width:1120px}.portal-user-table td{vertical-align:top}.portal-user-table .portal-account-status-form{display:grid;gap:5px;margin-top:7px}.portal-login-history{min-width:165px;max-width:240px}.portal-login-history>summary{color:#2468ba;font-size:11px;font-weight:800;cursor:pointer}.portal-login-history ul{display:grid;gap:7px;margin:8px 0 0;padding:0;list-style:none}.portal-login-history li{display:grid;gap:3px;padding:7px 8px;border:1px solid #e4ebf4;border-radius:8px;background:#f8fbff}.portal-login-history li strong{color:#233c5c;font-size:10px}.portal-login-history li span{color:#71809a;font-size:9px}.portal-login-history li code{color:#315f91;font-size:10px;overflow-wrap:anywhere}.portal-login-history p{margin:8px 0 0;color:#73819a;font-size:10px;line-height:1.5}.portal-user-empty{padding:20px;border:1px dashed #d8e2ef;border-radius:12px;color:#697b94;text-align:center}
@media(max-width:640px){.portal-user-group>summary{padding:12px}.portal-user-group-toggle{font-size:10px}.portal-login-history{min-width:0;max-width:190px}}
.portal-login-agent{display:block;color:#8a95a8;font-size:8px;line-height:1.35;overflow-wrap:anywhere}
.warehouse-document-line-manual{grid-template-columns:minmax(120px,.7fr) minmax(190px,1.3fr) minmax(145px,.8fr) minmax(115px,.6fr) 38px}.warehouse-document-line-manual [hidden]{display:none!important}
@media(max-width:860px){.warehouse-document-line-manual{grid-template-columns:minmax(0,1fr) minmax(110px,.55fr) 38px}.warehouse-document-line-manual>label:first-child{grid-column:1/-1}.warehouse-document-line-manual>label[data-warehouse-stock-field],.warehouse-document-line-manual>label[data-warehouse-manual-field]{grid-column:1/-1}.warehouse-document-line-manual>label:has(input[name="quantity[]"]){grid-column:1/3}.warehouse-document-line-manual>.icon-button{grid-column:3;grid-row:auto}}

/* Fifteen-minute workstation lock. The app itself blurs; the password prompt stays crisp. */
.screen-lock-countdown[hidden],.screen-lock-overlay[hidden]{display:none!important}
.screen-lock-countdown{position:fixed;right:18px;bottom:18px;z-index:9000;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #c9d8eb;border-radius:13px;background:rgba(255,255,255,.97);color:#334b69;box-shadow:0 8px 26px rgba(19,43,75,.16);cursor:pointer;font:inherit;backdrop-filter:blur(10px)}
.screen-lock-countdown>span{font-size:11px;font-weight:750}.screen-lock-countdown>strong{min-width:42px;color:#145fb4;font-size:14px;font-variant-numeric:tabular-nums}.screen-lock-countdown>small{padding-left:8px;border-left:1px solid #e3eaf3;color:#6d7d92;font-size:10px;font-weight:750}.screen-lock-countdown:hover{border-color:#7faee4;background:#fff}.screen-lock-countdown.is-soon>strong{color:#b45309}
body.screen-lock-active .app-shell{filter:blur(11px);pointer-events:none;user-select:none;transition:filter .25s ease}
.screen-lock-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;overflow:auto;padding:24px;background:rgba(9,24,45,.38);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.screen-lock-card{width:min(440px,100%);padding:30px;border:1px solid rgba(218,229,243,.95);border-radius:22px;background:#fff;box-shadow:0 24px 90px rgba(7,23,45,.34)}.screen-lock-brand{display:flex;align-items:center;gap:9px;margin-bottom:28px;color:#102b4d;font-size:19px;font-weight:900}.screen-lock-brand img{width:40px;height:40px;border-radius:12px}.screen-lock-brand small{align-self:flex-end;margin:0 0 4px -5px;color:#1684d4;font-size:9px;letter-spacing:.14em}.screen-lock-card h1{margin:5px 0 8px;color:#142c4b;font-size:27px;letter-spacing:-.5px}.screen-lock-card>p{margin:0 0 20px;color:#667a94;font-size:13px;line-height:1.6}.screen-lock-card .stack-form{gap:14px}.screen-lock-card .stack-form label{display:grid;gap:7px;color:#334b69;font-size:12px;font-weight:750}.screen-lock-card .stack-form input{min-height:46px}.screen-lock-card .button{min-height:46px}.screen-lock-logout{display:flex;justify-content:center;margin-top:12px}.screen-lock-logout .link-button{color:#6b7b91}.screen-lock-server-card{margin:10vh auto 30px}
@media(max-width:680px){.screen-lock-countdown{right:10px;bottom:10px;padding:8px 10px}.screen-lock-countdown>span{font-size:10px}.screen-lock-countdown>small{display:none}.screen-lock-card{padding:24px 20px;border-radius:18px}}
@media print{.screen-lock-countdown,.screen-lock-overlay{display:none!important}}

/* Fixaro Online: motywy sezonowe wybierane przez właściciela portalu. */
html[data-seasonal-theme="halloween"]{--navy:#2b1935;--navy-2:#42254d;--blue:#963f16;--blue-2:#fff0e5;--yellow:#e9a52a;--ink:#2a2230;--muted:#766b7d;--line:#eadfe7;--surface:#fffdfa;--page:#f7f2f2;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(43,25,53,.12);--season-accent:#bd5d1e;--season-accent-dark:#963f16;--season-accent-rgb:225,122,47;--season-highlight:#ffc78e;--season-glow-secondary:rgba(136,77,155,.28);--season-night-start:#21152b;--season-night-mid:#38213e;--season-night-end:#1b1b2a}
html[data-seasonal-theme="mikolajki"]{--navy:#17314c;--navy-2:#254965;--blue:#165b88;--blue-2:#eaf6ff;--yellow:#d1a239;--ink:#20364a;--muted:#6d8190;--line:#dce9ef;--surface:#fffefa;--page:#f1f7fa;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(24,56,79,.11);--season-accent:#176c9f;--season-accent-dark:#105378;--season-accent-rgb:37,135,194;--season-highlight:#c6e9ff;--season-glow-secondary:rgba(226,187,86,.28);--season-night-start:#142940;--season-night-mid:#214760;--season-night-end:#172738}
html[data-seasonal-theme="boze-narodzenie"]{--navy:#203c32;--navy-2:#2e5544;--blue:#a9363a;--blue-2:#fff0ed;--yellow:#d2a64b;--ink:#2d3d34;--muted:#718077;--line:#e6e4d9;--surface:#fffdf7;--page:#f5f6ef;--green:#247448;--danger:#a62d3f;--shadow:0 20px 55px rgba(32,60,50,.12);--season-accent:#b83b3f;--season-accent-dark:#86252b;--season-accent-rgb:184,59,63;--season-highlight:#f3d28b;--season-glow-secondary:rgba(51,132,87,.27);--season-night-start:#1b332c;--season-night-mid:#29483a;--season-night-end:#1b3029}
html[data-seasonal-theme="nowy-rok"]{--navy:#1d2947;--navy-2:#303e64;--blue:#755813;--blue-2:#f2edfb;--yellow:#d4a941;--ink:#252d43;--muted:#70798c;--line:#e2e2ed;--surface:#fffefa;--page:#f3f4f9;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(29,41,71,.14);--season-accent:#997420;--season-accent-dark:#755813;--season-accent-rgb:189,150,57;--season-highlight:#ffe6a1;--season-glow-secondary:rgba(105,132,195,.28);--season-night-start:#17223d;--season-night-mid:#29365a;--season-night-end:#191d34}
html[data-seasonal-theme="wielkanoc"]{--navy:#49395b;--navy-2:#645070;--blue:#60427f;--blue-2:#f3eef9;--yellow:#d7a72e;--ink:#383247;--muted:#7c7189;--line:#e8e1ed;--surface:#fffefa;--page:#f8f5f7;--green:#428563;--danger:#a62d3f;--shadow:0 20px 55px rgba(73,57,91,.11);--season-accent:#8060a5;--season-accent-dark:#60427f;--season-accent-rgb:146,116,181;--season-highlight:#e4d2ff;--season-glow-secondary:rgba(241,196,79,.28);--season-night-start:#30263e;--season-night-mid:#4a3a59;--season-night-end:#29263c}
html[data-seasonal-theme="11-listopada"]{--navy:#382332;--navy-2:#563044;--blue:#b53a49;--blue-2:#fff0f1;--yellow:#c8a75a;--ink:#332a31;--muted:#7d707a;--line:#eadde2;--surface:#fffdfd;--page:#f8f2f3;--green:#178263;--danger:#a62d3f;--shadow:0 20px 55px rgba(56,35,50,.12);--season-accent:#c33e4c;--season-accent-dark:#902b37;--season-accent-rgb:195,62,76;--season-highlight:#ffd3d8;--season-glow-secondary:rgba(206,218,235,.23);--season-night-start:#2c1d2a;--season-night-mid:#453040;--season-night-end:#242231}

html[data-seasonal-theme]:not([data-seasonal-theme="none"]){background:var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body{background:var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) body.auth-screen{background:radial-gradient(ellipse at 14% 84%,rgba(var(--season-accent-rgb),.24),transparent 34%),radial-gradient(ellipse at 84% 10%,var(--season-glow-secondary),transparent 36%),linear-gradient(140deg,var(--season-night-start),var(--season-night-mid) 55%,var(--season-night-end))}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand{color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand small,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .brand small,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand small{color:var(--season-highlight)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-footer{color:#e4dce7}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .app-screen{background:radial-gradient(ellipse at 96% 0%,rgba(var(--season-accent-rgb),.09),transparent 28%),var(--page)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar{background:linear-gradient(180deg,var(--season-night-mid),var(--season-night-start));border-right:1px solid rgba(var(--season-accent-rgb),.38)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav a:hover{background:rgba(var(--season-accent-rgb),.16);color:#fff}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-active,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-group-active>.nav-group-summary{background:linear-gradient(100deg,rgba(var(--season-accent-rgb),.25),rgba(var(--season-accent-rgb),.08));color:#fff;box-shadow:inset 3px 0 var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .sidebar nav .nav-subitem.nav-active{background:rgba(var(--season-accent-rgb),.14);color:var(--season-highlight)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .org-label{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.035)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar{background:rgba(255,253,250,.96);border-bottom-color:var(--line);box-shadow:inset 0 3px var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .brand-icon{background:linear-gradient(145deg,var(--season-accent),var(--season-accent-dark));box-shadow:0 7px 18px rgba(var(--season-accent-rgb),.24)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .eyebrow{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) a{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) a:hover{color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-primary{color:#fff;background:linear-gradient(110deg,var(--season-accent),var(--season-accent-dark));box-shadow:0 8px 19px rgba(var(--season-accent-rgb),.2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-primary:hover{background:linear-gradient(110deg,var(--season-accent-dark),var(--navy))}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-secondary{color:var(--navy-2);background:var(--blue-2);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button-quiet{color:var(--muted);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) input:focus,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) textarea:focus,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) select:focus{border-color:var(--season-accent);box-shadow:0 0 0 3px rgba(var(--season-accent-rgb),.15)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .check-row input{accent-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .secure-note{background:var(--blue-2);color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .secure-icon{background:rgba(var(--season-accent-rgb),.16);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .notice-info{color:var(--navy-2);background:var(--blue-2);border-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-card,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .panel{background:var(--surface);border-color:var(--line);box-shadow:0 5px 17px rgba(var(--season-accent-rgb),.055)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-blue{border-top-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .stat-yellow{border-top-color:var(--yellow)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) th{background:var(--blue-2);color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) td{border-bottom-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) tbody tr:hover{background:var(--blue-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .status-pill{background:var(--blue-2);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .empty-icon{background:var(--blue-2);color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand::after,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:var(--blue-2);color:var(--season-accent-dark);font-size:10px;font-weight:850;letter-spacing:.06em;line-height:1.2;white-space:nowrap}
html[data-seasonal-theme="halloween"] .topbar::before,html[data-seasonal-theme="halloween"] .auth-brand::after,html[data-seasonal-theme="halloween"] .mobile-brand::after{content:"🎃 Halloween"}
html[data-seasonal-theme="mikolajki"] .topbar::before,html[data-seasonal-theme="mikolajki"] .auth-brand::after,html[data-seasonal-theme="mikolajki"] .mobile-brand::after{content:"🎁 Mikołajki"}
html[data-seasonal-theme="boze-narodzenie"] .topbar::before,html[data-seasonal-theme="boze-narodzenie"] .auth-brand::after,html[data-seasonal-theme="boze-narodzenie"] .mobile-brand::after{content:"🎄 Boże Narodzenie"}
html[data-seasonal-theme="nowy-rok"] .topbar::before,html[data-seasonal-theme="nowy-rok"] .auth-brand::after,html[data-seasonal-theme="nowy-rok"] .mobile-brand::after{content:"✨ Nowy Rok"}
html[data-seasonal-theme="wielkanoc"] .topbar::before,html[data-seasonal-theme="wielkanoc"] .auth-brand::after,html[data-seasonal-theme="wielkanoc"] .mobile-brand::after{content:"🐣 Wielkanoc"}
html[data-seasonal-theme="11-listopada"] .topbar::before,html[data-seasonal-theme="11-listopada"] .auth-brand::after,html[data-seasonal-theme="11-listopada"] .mobile-brand::after{content:"🇵🇱 11 listopada"}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before{margin-right:auto}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .user-dot{background:var(--blue-2);color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .role-pill{color:var(--navy-2);background:var(--blue-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .link-button{color:var(--muted)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .link-button:hover{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .footer{background:var(--surface);border-top-color:var(--line)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown{border-color:var(--line);background:rgba(255,253,250,.97);color:var(--navy-2)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown>strong{color:var(--season-accent-dark)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-countdown:hover{border-color:var(--season-accent)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-overlay{background:rgba(23,20,35,.48)}
html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .screen-lock-card{border-color:var(--line);background:var(--surface)}
.portal-seasonal-theme{margin-bottom:16px}
.portal-seasonal-theme .panel-head{margin-bottom:12px}
.portal-seasonal-theme .panel-head h2{margin:3px 0 4px}
.portal-theme-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end;max-width:680px}
.portal-theme-form label{min-width:0}
.portal-theme-form select{margin:0}
.portal-theme-form .button{min-width:150px}
.portal-theme-hint{margin:10px 0 0}
@media(max-width:680px){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before{display:none}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{margin-left:5px;padding:3px 6px;font-size:8px;letter-spacing:0}.portal-theme-form{grid-template-columns:1fr}.portal-theme-form .button{width:100%}}
@media(prefers-reduced-motion:reduce){html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .button{transition:none}}
@media print{html[data-seasonal-theme]:not([data-seasonal-theme="none"]){--navy:#102341;--navy-2:#172f52;--blue:#0874ed;--blue-2:#eaf3ff;--yellow:#f5c400;--ink:#182b48;--muted:#71819a;--line:#e1e8f0;--surface:#fff;--page:#fff;--green:#178767;--danger:#a62d3f;--shadow:none}html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .topbar::before,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .auth-brand::after,html[data-seasonal-theme]:not([data-seasonal-theme="none"]) .mobile-brand::after{display:none}}

/* Dashboard counters are direct, keyboard accessible shortcuts to the relevant list. */
.stat-card-link{position:relative;color:inherit;text-decoration:none;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.stat-card-link:hover{transform:translateY(-2px);border-color:#b8d5f4;box-shadow:0 10px 24px rgba(25,72,125,.11)}
.stat-card-link:focus-visible{outline:3px solid rgba(37,130,239,.42);outline-offset:3px}
.stat-card-action{display:flex;align-items:center;justify-content:space-between;margin-top:5px;color:#1674cf;font-size:11px;font-weight:750}
.stat-card-action b{font-size:16px;line-height:1;transition:transform .16s ease}
.stat-card-link:hover .stat-card-action b{transform:translateX(3px)}
.order-status-quick{position:relative;display:inline-block;min-width:112px}
.order-status-quick>summary{display:inline-flex;align-items:center;gap:7px;list-style:none;cursor:pointer;user-select:none;transition:filter .15s ease,transform .15s ease}
.order-status-quick>summary::-webkit-details-marker{display:none}
.order-status-quick>summary:hover{filter:brightness(.96);transform:translateY(-1px)}
.order-status-quick>summary:focus-visible{outline:2px solid #2582ef;outline-offset:3px}
.status-quick-caret{font-size:12px;line-height:1;opacity:.65;transition:transform .15s ease}
.order-status-quick[open] .status-quick-caret{transform:rotate(180deg)}
.order-status-quick-form{display:flex;align-items:center;gap:6px;margin-top:8px;min-width:205px;padding:9px;background:#fff;border:1px solid #dce7f2;border-radius:10px;box-shadow:0 8px 22px rgba(25,52,89,.1)}
.order-status-quick-form select{min-width:0;flex:1;padding:7px 24px 7px 8px;font-size:11px}
.order-status-quick-form .button{flex:0 0 auto;min-height:33px;padding:7px 10px}
.orders-status-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.orders-status-filter a{font-weight:750;white-space:nowrap}
@media(max-width:680px){.stat-card-action{font-size:10px}.order-status-quick-form{min-width:190px}.orders-status-filter{align-items:flex-start;flex-direction:column;gap:6px}}
