*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font:13px/1 -apple-system,Segoe UI,Roboto,sans-serif;color:#111}#root{display:flex;flex-direction:column}.bar,.foot{display:flex;gap:16px;align-items:center;padding:6px 10px;background:#f4f5f7;border-bottom:1px solid #d7d9de;font-size:12px}.foot{border-top:1px solid #d7d9de;border-bottom:0;justify-content:flex-end}.sp{flex:1}.msg{padding:20px}.grid{outline:none;flex:1;min-height:0;display:flex;flex-direction:column}.head{display:flex;position:sticky;top:0;z-index:2;background:#eceef1;border-bottom:1px solid #c9ccd2;font-weight:600;font-size:12px}.head+div{margin-top:0}.h{padding:0 8px;line-height:32px;white-space:nowrap;position:relative;border-right:1px solid #dfe1e6}.hl{display:block;margin:0 -8px;padding:0 8px;overflow:hidden}.h.so{cursor:pointer;user-select:none}.h.so:hover{background:#e2e5ea}.sg{margin-left:4px;color:#2563eb;font-weight:700}.rz{position:absolute;top:0;right:-4px;bottom:0;width:8px;z-index:1;cursor:col-resize;touch-action:none;user-select:none}.h:last-child .rz{right:0}.rz:hover,.rz:focus-visible{background:#93b4f5;outline:none}.rz:active{background:#2563eb}@media(pointer:coarse){.rz{width:16px;right:-8px}.h:last-child .rz{right:0}}@media(max-width:767px){.rz{display:none}}.body{flex:1;min-height:0;overflow:auto;overflow-anchor:none;contain:strict}.r{display:flex;position:absolute;top:0;left:0;height:28px;contain:strict;border-bottom:1px solid #eef0f3;background:#fff}.r.s{background:#eef4ff}.r.sk{background:repeating-linear-gradient(90deg,#f7f8fa 0 120px,#eef0f3 120px 240px)}.c{padding:0 8px;line-height:27px;overflow:hidden;white-space:nowrap;contain:strict;border-right:1px solid #f2f3f5}.c.a{box-shadow:inset 0 0 0 2px #2563eb}.c a.rowlink{color:#1d4ed8;font-weight:600;text-decoration:none;display:block;overflow:hidden;text-overflow:ellipsis}.c a.rowlink:hover{text-decoration:underline}.c.x{background:#dde8ff}.c.l{color:#5b6270;background:#fafbfc}.r.s .c.l{background:#e8eefb}.c.warn{background:#fef3c7;color:#92400e}.ed{position:absolute;top:0;height:28px;border:2px solid #2563eb;padding:0 6px;font:inherit;z-index:3;outline:none}.conflict{position:fixed;inset:0;background:#00000040;display:grid;place-items:center}.conflict>div{background:#fff;padding:20px 24px;border-radius:6px;min-width:320px}.conflict h3{margin:0 0 8px;font-size:15px}.conflict p{margin:4px 0}.conflict button{margin:12px 8px 0 0;padding:6px 12px}.bar button{font:inherit;font-size:12px;padding:3px 9px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer}.bar button:hover{background:#eef1f6}.dim{color:#6b7280}.warn-note{margin:0 0 .5rem;padding:.4rem .6rem;border-left:3px solid #d97706;background:#fffbeb;color:#78350f;font-size:.85rem}.ro{color:#92400e;background:#fef3c7;padding:2px 7px;border-radius:3px}.note{color:#7c2d12}.chooser{display:flex;flex-wrap:wrap;gap:2px 18px;padding:8px 10px;background:#fbfcfd;border-bottom:1px solid #d7d9de;font-size:12px;max-height:120px;overflow:auto}.chooser label{display:flex;align-items:center;gap:5px;width:150px;cursor:pointer}.chooser .rz-reset{font:inherit;font-size:12px;padding:3px 9px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer;align-self:center}.chooser .rz-reset:disabled{opacity:.5;cursor:default}.nav{display:flex;gap:4px;padding:6px 10px;background:#22262e;align-items:center}.nav button{font:inherit;font-size:12px;padding:4px 12px;border:0;border-radius:4px;background:transparent;color:#c8ccd4;cursor:pointer}.nav button.on{background:#3b82f6;color:#fff}.nav button:hover:not(.on){background:#333944}.booking{display:flex;flex-direction:column;min-height:0;flex:1}.bkhead{display:grid;gap:2px;padding:4px 10px;background:#eceef1;font-size:11px;font-weight:600;border-bottom:1px solid #c9ccd2}.bkhead div{overflow:hidden;white-space:nowrap}.bkbody{flex:1;min-height:0;overflow:auto;padding:2px 10px}.bkrow{display:grid;gap:2px;align-items:center;padding:1px 0}.bkrow.booked{opacity:.62}.bkrow.error .bk{border-color:#dc2626}.bk{font:inherit;font-size:12px;height:24px;padding:0 5px;border:1px solid #c3c7cf;border-radius:3px;background:#fff;width:100%;min-width:0}.bk:focus{outline:2px solid #2563eb;outline-offset:-1px;border-color:#2563eb}.bk:disabled{background:#f4f5f7;color:#55606f}.bk.ra{text-align:right}.bkout{font-size:11px;color:#4b5563;padding-left:8px;overflow:hidden;white-space:nowrap}.bkerr{color:#b91c1c}.bkwarn{color:#92400e}.pv{border-collapse:collapse;font-size:11px;margin:8px 0}.pv th,.pv td{border:1px solid #d7d9de;padding:2px 6px;text-align:left}.cards{flex:1;min-height:0;overflow:auto;padding:8px;background:#f4f5f7;display:flex;flex-direction:column;gap:8px}.card{background:#fff;border:1px solid #e2e5ea;border-radius:8px;padding:10px 12px}.cards-v{position:relative;flex:none}.card-slot{position:absolute;top:0;left:0;right:0;padding-bottom:8px}.card.sk{height:120px;background:repeating-linear-gradient(90deg,#f7f8fa 0 120px,#eef0f3 120px 240px)}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.card-title{font-weight:600;font-size:14px}.card-sub{color:#4b5563;font-size:12px;margin-top:2px}.card-right{text-align:right;white-space:nowrap}.card-amount{font-weight:600;font-size:15px}.card-badge{display:inline-block;margin-top:3px;font-size:11px;padding:1px 7px;border-radius:10px;background:#eef2ff;color:#3730a3}.card-meta{display:flex;gap:14px;margin:8px 0 0;flex-wrap:wrap}.card-meta div{display:flex;flex-direction:column}.card-meta dt{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.03em}.card-meta dd{margin:0;font-size:12px}.card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.card-actions button{font:inherit;font-size:13px;min-height:44px;padding:0 14px;flex:1 1 90px;border:1px solid #c3c7cf;border-radius:6px;background:#fff;cursor:pointer}.inbox{display:flex;flex-direction:column;min-height:0;flex:1}.chip{font-size:11px;background:#e8eefb;padding:2px 8px;border-radius:10px}.buckets{display:flex;flex-direction:column;gap:4px;margin-top:8px}.bucket{display:grid;grid-template-columns:44px 1fr auto auto;gap:8px;align-items:baseline;font-size:12px;padding:4px 6px;border-radius:4px;background:#f7f8fa}.bucket .bn{font-weight:700;text-align:right}.bucket .ba{font-variant-numeric:tabular-nums}.bucket .bo{font-size:11px;color:#6b7280}.bucket.fiscalisation_failed{background:#fef2f2}.bucket.overdue_receivable{background:#fffbeb}@media(max-width:767px){.bar,.foot{flex-wrap:wrap;gap:8px}.card-meta{gap:10px}}.card-search{display:flex;gap:6px;padding:8px;background:#f4f5f7;border-bottom:1px solid #d7d9de}.card-search input{flex:1;font:inherit;font-size:14px;min-height:40px;padding:0 10px;border:1px solid #c3c7cf;border-radius:6px}.card-search button{font:inherit;font-size:13px;min-height:40px;padding:0 14px;border:1px solid #c3c7cf;border-radius:6px;background:#fff;cursor:pointer}.bar:has(>.grid-search){flex-wrap:wrap;row-gap:6px}.grid-search{display:flex;gap:4px;align-items:center;flex:1 1 170px;min-width:170px;max-width:260px}.grid-search input{font:inherit;font-size:13px;min-height:28px;padding:0 8px;flex:1;min-width:0;width:100%;border:1px solid #c3c7cf;border-radius:4px}.grid-search button{font:inherit;font-size:13px;min-height:28px;padding:0 10px;border:1px solid #c3c7cf;border-radius:4px;background:#fff;cursor:pointer}.card-note textarea{width:100%;font:inherit;font-size:13px;padding:6px;border:1px solid #c3c7cf;border-radius:6px;margin-top:8px}.toast{position:fixed;left:50%;bottom:18px;transform:translate(-50%);z-index:5;background:#1f2430;color:#fff;font-size:13px;padding:9px 16px;border-radius:20px}.shell{display:flex;flex-direction:column;height:100%;min-height:0}.topbar{display:flex;align-items:center;gap:10px;padding:0 10px;height:44px;background:#22262e;color:#e8eaee;flex:0 0 auto}.topbar .brand{color:#fff;font-weight:700;text-decoration:none;letter-spacing:.02em}.topbar button{font:inherit;font-size:12px;color:#c8ccd4;background:transparent;border:0;border-radius:4px;padding:5px 9px;cursor:pointer}.topbar button:hover:not(:disabled){background:#333944}.topbar button:disabled{cursor:default}.hamburger{display:none;font-size:16px}.company{position:relative}.company>button{color:#e8eaee}.company{min-width:0}.company>button{display:flex;align-items:center;max-width:100%}.company button strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company>button>span{flex:0 0 auto;margin-left:.25em}.company-menu{position:absolute;top:34px;left:0;z-index:20;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid #c9ccd2;border-radius:6px;box-shadow:0 8px 24px #0000002e;min-width:240px}.company-menu button{display:block;width:100%;text-align:left;color:#111;font-size:13px;padding:7px 10px}.company-menu button:hover{background:#eef1f6}.topbar .company-menu button:hover:not(:disabled),.topbar .company-menu button:focus-visible,.usermenu .company-menu a:focus-visible{background:#eef1f6}.topbar .company-menu button:focus-visible,.usermenu .company-menu a:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.company-menu button.on{background:#eef4ff;font-weight:600}.lang.on{background:#3b82f6;color:#fff}.signout{border:1px solid #454c58!important}.shortcuts{position:relative;display:flex;align-items:center;gap:4px;min-width:75px;flex-shrink:100}.shortcuts-bar{display:flex;flex-wrap:wrap;gap:2px;overflow:hidden;max-width:40vw;max-height:28px}.shortcuts>button{white-space:nowrap}.shortcut-btn{display:inline-block;white-space:nowrap;color:#c8ccd4;font-size:12px;padding:5px 9px;border-radius:4px;text-decoration:none}.shortcut-btn:hover{background:#333944;color:#fff}.shortcuts-menu{position:fixed;top:44px;left:auto;right:8px;width:min(280px,calc(100vw - 16px))}.shortcuts-menu-item{display:flex;align-items:center;gap:4px;padding:4px 10px}.shortcuts-menu-item a{flex-grow:1;flex-shrink:1;flex-basis:0;min-width:0;color:#111;font-size:13px;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shortcuts-menu-item a:hover{text-decoration:underline}.shortcuts-menu-item button.linkish{flex:0 0 auto;width:auto;padding:2px 4px;font-size:12px}.status-sent,.status-delivered,.status-opened{background:#dcfce7;color:#166534}.status-failed,.status-cancelled{background:#fee2e2;color:#991b1b}.status-queued,.status-sending,.status-bounced{background:#fef3c7;color:#78350f}.shell-body{display:flex;flex:1;min-height:0}.sidenav{flex:0 0 200px;background:#f4f5f7;border-right:1px solid #d7d9de;overflow:auto;padding:8px 0}.navgroup{margin-bottom:12px}.navgroup-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;padding:4px 12px}.navitem{display:block;padding:6px 12px;font-size:13px;color:#1f2430;text-decoration:none;border-left:3px solid transparent}.navitem:hover{background:#eceef1}.navitem.on{background:#e6eefc;border-left-color:#2563eb;font-weight:600}.navsearch{position:sticky;top:-8px;z-index:2;padding:6px 8px 8px;margin-top:-8px;background:#f4f5f7}.navsearch input{width:100%;box-sizing:border-box;font:inherit;font-size:13px;height:32px;padding:0 8px;border:1px solid #c3c7cf;border-radius:6px;background:#fff}.navgroup{margin-bottom:4px}.navgroup-toggle{display:block;width:100%;text-align:left;background:none;border:0;cursor:pointer;font:inherit;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#4b5563;padding:6px 12px}.navgroup-toggle:hover{background:#eceef1}.navquick .navitem{color:#1d4ed8;font-weight:600}.navresults .navitem{display:flex;flex-direction:column;gap:1px}.navitem.cur{background:#eef4ff;border-left-color:#93b4f5}.navgroup-hint{font-size:10px;color:#6b7280;font-weight:400}.chips{display:flex;flex-wrap:wrap;gap:4px}.shortcuts-hint{font-size:12px;padding:6px 10px 8px;white-space:normal;border-bottom:1px solid #eef0f3}.content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.auth{display:grid;place-items:center;height:100%;background:#f4f5f7;padding:16px}.auth-card{background:#fff;border:1px solid #e2e5ea;border-radius:10px;padding:28px;width:100%;max-width:360px;box-shadow:0 10px 30px #0000000f}.auth-card h1{margin:0 0 18px;font-size:20px}.auth-card label{display:block;font-size:12px;color:#4b5563;margin-bottom:12px}.auth-card input{display:block;width:100%;font:inherit;font-size:14px;margin-top:4px;min-height:40px;padding:0 10px;border:1px solid #c3c7cf;border-radius:6px}.auth-card>button[type=submit]{width:100%;min-height:42px;font:inherit;font-size:14px;background:#2563eb;color:#fff;border:0;border-radius:6px;cursor:pointer}.auth-card>button[type=submit]:disabled{background:#9db6ee;cursor:default}.auth-error{color:#b91c1c;font-size:13px;margin:0 0 12px}.auth-card a{display:block;text-align:center;margin-top:14px;font-size:14px;color:#1d4ed8;padding:6px 0}.auth-card a:hover{text-decoration:underline}.auth-card>button[type=submit]:focus-visible,.auth-card input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.company-list{list-style:none;margin:0 0 12px;padding:0}.company-list button{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;font:inherit;padding:10px 12px;margin-bottom:6px;background:#fff;cursor:pointer;border:1px solid #c3c7cf;border-radius:6px}.company-list button:hover{background:#eef4ff;border-color:#2563eb}.linkish{background:none;border:0;color:#2563eb;font:inherit;font-size:12px;cursor:pointer;padding:0}.table-wrap{overflow:auto;flex:1;min-height:0}table.dense{border-collapse:collapse;width:100%;font-size:12px}table.dense th{position:sticky;top:0;z-index:1;background:#eceef1;text-align:left;font-weight:600;padding:6px 8px;border-bottom:1px solid #c9ccd2;white-space:nowrap}table.dense td{padding:5px 8px;border-bottom:1px solid #eef0f3;vertical-align:top}table.dense tr:hover td{background:#fafbfc}table.dense .ra{text-align:right;font-variant-numeric:tabular-nums}table.dense .ca{text-align:center}table.dense .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}table.dense td.empty{text-align:center;padding:24px}table.dense a{color:#2563eb;font-weight:600}.shell[data-density=compact] table.dense th{padding:3px 6px}.shell[data-density=compact] table.dense td{padding:2px 6px}.tiny{font-size:10px}.desc{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reason{max-width:320px;white-space:normal}.in{color:#166534}.out{color:#9a3412}tr.overdue td{background:#fff7ed}.warn-dot{color:#b45309}.ref-bad{color:#b45309;text-decoration:underline dotted}.badge{display:inline-block;font-size:10px;padding:1px 7px;border-radius:10px;background:#eef2ff;color:#3730a3;white-space:nowrap}.badge.bad,.bad{background:#fee2e2;color:#991b1b}.badge.st-posted,.badge.ms-posted,.badge.ms-matched,.badge.ns-reported,.badge.os-acknowledged{background:#dcfce7;color:#166534}.badge.st-matching,.badge.ms-suggested,.badge.ns-pending,.badge.os-pending{background:#fef3c7;color:#92400e}.badge.ms-unmatched,.badge.st-imported{background:#e5e7eb;color:#374151}.badge.ns-rejected,.badge.ns-failed,.badge.os-failed,.badge.os-rejected{background:#fee2e2;color:#991b1b}.chip{font-size:10px;background:#e8eefb;color:#1e3a8a;padding:1px 6px;border-radius:8px}.chip.ok{background:#dcfce7;color:#166534}.chip.bad{background:#fee2e2;color:#991b1b}label.check{flex-direction:row;align-items:center;gap:6px}label.check input{width:auto}tr.weekend>td{background:#fafafa}tr.holiday>td{background:#fff7ed}tr.sel>td{background:#eff6ff}.ok{color:#166534}.dropzone{margin:10px;padding:22px;border:2px dashed #c3c7cf;border-radius:10px;text-align:center;color:#6b7280;font-size:13px;background:#fbfcfd}.dropzone.over{border-color:#2563eb;background:#eef4ff;color:#1e3a8a}.banner{margin:0 10px 8px;padding:8px 12px;border-radius:6px;font-size:12px;cursor:default}.banner.dismiss{cursor:pointer}.banner.ok{background:#dcfce7;color:#14532d}.banner.warn{background:#fef3c7;color:#78350f}.banner.err{background:#fee2e2;color:#7f1d1d}.bar .back{text-decoration:none;font-size:15px;color:#374151;padding-right:4px}.bar button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.bar button.primary:hover{background:#1d4ed8}.bar button.primary:disabled,.row-buttons button.primary:disabled,.form-card button.primary:disabled,.card-box>button.primary:disabled{opacity:.45;cursor:not-allowed}.bar button.primary:hover:disabled{background:#2563eb}.stmt-head{display:flex;flex-wrap:wrap;gap:20px;padding:10px 12px;background:#fbfcfd;border-bottom:1px solid #e2e5ea}.stmt-head div{display:flex;flex-direction:column}.stmt-head dt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.stmt-head dd{margin:2px 0 0;font-size:14px;font-variant-numeric:tabular-nums}tr.line{cursor:pointer}tr.line.todo td:first-child{box-shadow:inset 3px 0 #f59e0b}tr.line.done td:first-child{box-shadow:inset 3px 0 #22c55e}tr.line.open td{background:#eef4ff}tr.detail-row td{background:#f7f9fc;padding:0}.line-detail{display:flex;gap:24px;padding:12px 16px;flex-wrap:wrap}.ld-col{flex:1 1 320px;min-width:0}.ld-col h4{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#4b5563}.cand-list,.alloc-list{list-style:none;margin:0;padding:0}.cand-list li{border:1px solid #e2e5ea;border-radius:6px;padding:8px 10px;margin-bottom:6px;background:#fff}.cand-list li.chosen{border-color:#22c55e;background:#f6fef9}.cand-head{display:flex;align-items:baseline;gap:8px}.cand-head strong{font-size:12px}.conf{margin-left:auto;font-size:11px;font-weight:700;color:#1e3a8a}.cand-reason{font-size:11px;color:#4b5563;margin:4px 0}.cand-foot{display:flex;align-items:center;gap:10px}.cand-foot button{font:inherit;font-size:11px;padding:3px 10px;margin-left:auto;border:1px solid #2563eb;color:#2563eb;background:#fff;border-radius:4px;cursor:pointer}.cand-fx{display:flex;align-items:center;gap:8px;margin:4px 0;font-size:11px;flex-wrap:wrap}.cand-fx input{font:inherit;width:9em;max-width:100%;padding:2px 6px;text-align:right;font-variant-numeric:tabular-nums}.alloc-list li{display:flex;gap:10px;align-items:center;font-size:12px;padding:5px 0;border-bottom:1px solid #eef0f3}.alloc-list li .ra{margin-left:auto;font-variant-numeric:tabular-nums}.book-to{display:flex;gap:8px;align-items:flex-end;margin-top:10px}.book-to{flex-wrap:wrap}.book-to .lookup{flex:1 1 11em;min-width:11em;max-width:22em}.book-to label{font-size:11px;color:#4b5563}.book-to input{font:inherit;font-size:12px;width:90px;height:26px;padding:0 6px;border:1px solid #c3c7cf;border-radius:4px}.book-to button{font:inherit;font-size:12px;padding:4px 10px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer}.form-card{margin:10px;padding:14px;background:#fff;border:1px solid #e2e5ea;border-radius:8px}.form-card .fields{display:flex;flex-wrap:wrap;gap:10px 14px}.form-card label{display:flex;flex-direction:column;font-size:11px;color:#4b5563;flex:0 0 140px;min-width:0}.form-card select{max-width:100%}:is(.form-card,.card-box) label.req{position:relative}:is(.form-card,.card-box) label.req:before{content:"*" / "";position:absolute;left:-8px;top:0;color:#b91c1c;font-weight:700}.kv>span.req{position:relative}.kv>span.req:before{content:"*" / "";position:absolute;left:-8px;top:0;color:#b91c1c;font-weight:700}.req-star{color:#b91c1c;font-weight:700}.form-card label.check{flex-direction:row}.form-card label.check input{margin:0;width:auto;height:auto;flex:0 0 auto}.form-card label.wide{flex:1 1 240px}.form-card input{font:inherit;font-size:13px;margin-top:3px;height:30px;padding:0 8px;border:1px solid #c3c7cf;border-radius:4px}.form-card button.primary{margin-top:12px;font:inherit;font-size:13px;padding:7px 16px;background:#2563eb;color:#fff;border:0;border-radius:6px;cursor:pointer}.msg h2{font-size:16px;margin:0 0 6px}@media(max-width:767px){.hamburger{display:block}.topbar .brand{display:none}.topbar{gap:6px;padding:0 6px}.signout{display:none}.sidenav{position:fixed;top:44px;bottom:0;left:0;z-index:15;width:220px;transform:translate(-100%);transition:transform .15s ease,box-shadow .15s ease}.sidenav.open{transform:none;box-shadow:4px 0 16px #0000001f}.company .company-menu{position:fixed;top:44px;left:6px;max-width:calc(100vw - 12px)}.company .company-menu button,.usermenu .usermenu-signout button{white-space:normal;padding:7px 10px}.line-detail{flex-direction:column;gap:12px}.stmt-head{gap:12px}}.content:has(>.doc~.table-wrap),.content:has(>.table-wrap~.doc),.content:has(>.doc~.doc){overflow-y:auto}.content:has(>.doc~.table-wrap)>:is(.doc,.table-wrap),.content:has(>.table-wrap~.doc)>:is(.doc,.table-wrap),.content:has(>.doc~.doc)>.doc{flex:0 0 auto;overflow:visible}.content:has(>.doc~.table-wrap)>:is(.table-wrap),.content:has(>.table-wrap~.doc)>.table-wrap{overflow-x:auto;overflow-y:visible}.content:has(>.doc~.table-wrap)>.bar:first-child,.content:has(>.table-wrap~.doc)>.bar:first-child,.content:has(>.doc~.doc)>.bar:first-child{position:sticky;top:0;z-index:6;flex:0 0 auto}.doc{display:flex;flex-direction:column;min-height:0;flex:1;overflow:auto;padding:10px;gap:10px}.doc>*{flex-shrink:0}.doc-cards,.doc-bottom{display:flex;gap:10px;flex-wrap:wrap}.card-box{flex:1 1 320px;background:#fff;border:1px solid #e2e5ea;border-radius:8px;padding:12px}.card-box h3{margin:0 0 10px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#4b5563}.card-box .fields{display:flex;flex-wrap:wrap;gap:8px 12px}.kv{display:grid;grid-template-columns:fit-content(40%) minmax(0,1fr);gap:3px 14px;font-size:12px;align-items:baseline}.kv>span:nth-child(odd){color:#6b7280;overflow-wrap:anywhere}.kv>span:nth-child(2n){text-align:left;overflow-wrap:anywhere}.kv>span.ra{text-align:right;font-variant-numeric:tabular-nums}.kv>span select,.kv>span input{max-width:100%;box-sizing:border-box}.lines-edit select.vt{max-width:190px}.card-box label{display:flex;flex-direction:column;font-size:11px;color:#4b5563;flex:0 0 140px}.card-box label.wide{flex:1 1 220px}.card-box input{font:inherit;font-size:13px;margin-top:3px;height:30px;padding:0 8px;border:1px solid #c3c7cf;border-radius:4px}.card-box input:disabled{background:#f4f5f7;color:#55606f}.card-box label.check.check-row{flex:0 1 auto;flex-direction:row;align-items:center;gap:6px}.card-box label.check.check-row input{margin:0;width:auto;height:auto;flex:0 0 auto}.doc-lines{background:#fff;border:1px solid #e2e5ea;border-radius:8px;overflow:auto}table.lines-edit{width:100%}table.lines-edit td{padding:2px 4px;vertical-align:middle}table.lines-edit .bk{width:100%}table.lines-edit .bk.unit{width:56px}table.lines-edit .bk.ghost{border-color:transparent;background:transparent;font-weight:600}table.lines-edit select.bk{height:24px}.lines-foot{display:flex;align-items:center;gap:12px;padding:8px 10px;border-top:1px solid #eef0f3}.lines-foot button{font:inherit;font-size:12px;padding:4px 12px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer}table.recap{width:100%;font-size:12px;border-collapse:collapse}table.recap td{padding:3px 0}table.recap tr.sum td{border-top:1px solid #eef0f3;font-weight:600}table.recap tr.grand td{font-size:15px;border-top:2px solid #c9ccd2}ul.ready{list-style:none;margin:0;padding:0;font-size:12px}ul.ready li{padding:2px 0}ul.ready li.bad{color:#b91c1c}ul.ready li.ok{color:#166534}.warn-chip{background:#fef3c7;color:#92400e}.btnish{font-size:12px;padding:3px 9px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;text-decoration:none;color:#111}.btnish:hover{background:#eef1f6}.lookup{position:relative}.lookup input{font:inherit;font-size:12px;width:100%;height:24px;padding:0 5px;border:1px solid #c3c7cf;border-radius:3px;background:#fff}.card-box .lookup input{font-size:13px;height:30px;padding:0 8px}.lookup.narrow input{width:90px}.lookup-menu{position:absolute;z-index:30;top:100%;left:0;min-width:240px;max-height:240px;overflow:auto;margin:2px 0 0;padding:2px;list-style:none;background:#fff;border:1px solid #c9ccd2;border-radius:6px;box-shadow:0 8px 24px #00000024}.lookup-menu li{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:5px 8px;border-radius:4px;cursor:pointer}.lookup-menu li.on{background:#eef4ff}ul.findings{list-style:none;margin:6px 0 0;padding:0}ul.findings li{padding:4px 0;border-top:1px solid rgba(0,0,0,.08)}.storno-form{display:flex;align-items:center;gap:8px;cursor:default}.storno-form label{white-space:nowrap;font-weight:600}.storno-form input{flex:1;font:inherit;font-size:12px;height:26px;padding:0 8px;border:1px solid #c3c7cf;border-radius:4px}.storno-form button{font:inherit;font-size:12px;padding:4px 10px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer}ul.plain{list-style:none;margin:6px 0;padding:0;font-size:12px}ul.plain li{padding:3px 0;border-bottom:1px solid #f2f3f5}.inline-form{margin-top:10px}.inline-form textarea{font:inherit;font-size:11px;font-family:ui-monospace,Menlo,monospace;margin-top:3px;padding:6px;border:1px solid #c3c7cf;border-radius:4px;width:100%}.inline-form select{font:inherit;font-size:13px;margin-top:3px;height:30px;border:1px solid #c3c7cf;border-radius:4px}.row-buttons{display:flex;gap:8px;margin-top:10px}.row-buttons button{font:inherit;font-size:13px;padding:6px 14px;border:1px solid #c3c7cf;background:#fff;border-radius:6px;cursor:pointer}.row-buttons button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.card-box>button{font:inherit;font-size:12px;padding:5px 12px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer;margin-top:6px}.card-box>button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.tabs{display:flex;flex-wrap:wrap;gap:2px;margin-left:8px;max-width:100%}.tabs button{font:inherit;font-size:12px;padding:3px 10px;border:1px solid #c3c7cf;background:#fff;border-radius:4px;cursor:pointer}.tabs button.on{background:#2563eb;color:#fff;border-color:#2563eb}.inline-label{display:flex;align-items:center;gap:5px;font-size:11px;color:#4b5563}.inline-label input[type=date]{width:128px}@media(max-width:767px){.bar .inline-label{flex-wrap:wrap;min-width:0}}.inline-label input{font:inherit;font-size:12px;width:76px;height:24px;padding:0 6px;border:1px solid #c3c7cf;border-radius:4px}.bar .reverse-reason{flex:1 1 100%;min-width:0}.reverse-reason input{flex:1 1 auto;width:auto;min-width:0;height:28px;font-size:13px}tr.clickable{cursor:pointer}tr.clickable a{color:#2563eb;font-weight:600}.attach-list li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;padding:2px 0}.attach-list li>.linkish:first-child{font-weight:600}.publink-row{display:flex;gap:6px;align-items:center;margin:6px 0}.publink-row input{flex:1 1 auto;min-width:0;font:inherit;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;height:26px;padding:0 8px;border:1px solid #c3c7cf;border-radius:4px;background:#fff}.event-picker{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0}.event-picker .inline-label{font-size:12px;flex-direction:row;align-items:center}.event-picker .inline-label input{width:auto;height:auto}.excerpt{max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge.a-issue,.badge.a-post,.badge.a-approve,.badge.a-login{background:#dcfce7;color:#166534}.badge.a-reject,.badge.a-unpost,.badge.a-login_failed{background:#fef3c7;color:#92400e}.badge.a-delete,.badge.a-cancel{background:#fee2e2;color:#991b1b}.kv pre{margin:2px 0 8px;white-space:pre-wrap;word-break:break-word}@media(max-width:560px){.publink-row{flex-wrap:wrap}.publink-row input{flex-basis:100%}.event-picker{flex-direction:column;gap:2px}.excerpt{max-width:18ch}.attach-list li{gap:4px}}td .linkish+.linkish,td .linkish+.dim,li .linkish+.linkish,li .dim+.linkish,li .badge+.linkish{margin-left:10px}tr.locked-row>td{background:#fafafa;color:#6b7280}.row-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.bar select.doc-type{font:inherit;font-size:12px;height:24px;padding:0 4px;border:1px solid #c3c7cf;border-radius:4px;background:#fff;cursor:pointer;max-width:44vw}ul.links{list-style:none;margin:2px 0 8px;padding:0;display:grid;gap:3px}ul.links li{font-size:12px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}ul.links a{color:#2563eb;text-decoration:none}ul.links a:hover{text-decoration:underline}.card-box h4{margin:6px 0 2px;font-weight:600}.booking.with-scan{flex-direction:row}.bkscan{flex:0 0 38%;min-width:0;display:flex;flex-direction:column;border-right:1px solid #e2e5ea;background:#fff}.bkscan object,.bkscan img{flex:1;min-height:0;width:100%;border:0;object-fit:contain;background:#f6f7f9}.bkscan .bar{flex:none}.mail-preview{margin:0 10px 10px;background:#fff;border:1px solid #e2e5ea;border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px}.mail-preview object,.mail-preview img{width:100%;height:60vh;border:0;object-fit:contain;background:#f6f7f9}.mail-hint{margin:0 10px 8px}.file-input{display:none}@media(max-width:767px){.booking.with-scan{flex-direction:column}.bkscan{flex:0 0 34vh;border-right:0;border-bottom:1px solid #e2e5ea}.mail-preview object,.mail-preview img{height:42vh}.form-card .fields label{flex:1 1 100%}}.bkmain{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1}@media(max-width:767px){.phone-hide{display:none}}@media(max-width:767px){table.dense[data-stack],table.dense[data-stack] tbody,table.dense[data-stack] tfoot,table.dense[data-stack] tr,table.dense[data-stack] td{display:block;width:auto}table.dense[data-stack] thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.dense[data-stack] tr{margin:8px;padding:4px 10px;background:#fff;border:1px solid #e2e5ea;border-radius:8px}table.dense[data-stack] tr:hover td{background:transparent}table.dense[data-stack] td{display:block;overflow:hidden;padding:4px 0;border:0;border-bottom:1px solid #f2f3f5;text-align:right;white-space:normal;overflow-wrap:anywhere}table.dense[data-stack] td:last-child{border-bottom:0}table.dense[data-stack] td:before{content:attr(data-label);float:left;width:40%;padding-right:12px;box-sizing:border-box;text-align:left;font-size:11px;color:#6b7280;overflow-wrap:normal}table.dense[data-stack] td:empty{display:none}table.dense[data-stack] td.empty{display:block;text-align:center}table.dense[data-stack] td.empty:before{content:none}table.dense[data-stack] .desc{max-width:none;white-space:normal}}@media(max-width:767px){.table-wrap,.doc-lines{background:linear-gradient(to right,#fff 30%,#fff0) left center / 28px 100% no-repeat local,linear-gradient(to left,#fff 30%,#fff0) right center / 28px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,#00000038,#0000) left center / 10px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,#00000038,#0000) right center / 10px 100% no-repeat scroll}}tr.bad-row>td{background:#fff4f4}tr.bad-row>td:first-child{box-shadow:inset 3px 0 #c0392b}tr.sum-row>td{background:#f4f5f7;font-weight:600}.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px}.doc>.card-box,.doc>section.card-box{flex:0 0 auto}.doc.band{flex:0 0 auto;overflow:visible;padding-bottom:0}.usermenu{position:relative}.usermenu>button{color:#e8eaee;white-space:nowrap}.usermenu .company-menu{left:auto;right:0}.usermenu .company-menu a{display:block;color:#111;font-size:13px;padding:7px 10px;text-decoration:none;white-space:nowrap}.usermenu .company-menu a:hover{background:#eef1f6}.usermenu-signout{display:none;margin-top:4px;padding-top:4px;border-top:1px solid #e2e5ea}@media(max-width:767px){.usermenu-signout{display:list-item}}.inline-ask{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}.inline-ask input{font:inherit;font-size:12px;height:28px;padding:0 8px;min-width:200px;border:1px solid #c3c7cf;border-radius:6px}.inline-ask button{font:inherit;font-size:12px;padding:4px 10px;border:1px solid #c3c7cf;border-radius:6px;background:#fff;cursor:pointer}.inline-ask button.bad{border-color:#dc2626;color:#dc2626}.split{display:flex;gap:10px;align-items:flex-start;padding:0 10px 10px}.split>aside{flex:0 0 240px}.split>section{flex:1 1 auto;min-width:0}.permgroup{border:1px solid #e2e5ea;border-radius:8px;padding:8px 10px;margin:0 0 10px}.permgroup legend{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#4b5563;padding:0 4px}.permgroup legend .linkish{margin-left:8px;text-transform:none;letter-spacing:0}.card-box label.perm{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:13px;color:#111;padding:2px 0;flex:1 1 100%}.card-box label.perm input{margin:0;width:auto;height:auto;flex:0 0 auto}.card-box label.perm code{margin-left:auto}.card-box label.perm .chip{flex:0 0 auto}.sticky-actions{position:sticky;bottom:0;background:#fff;padding:8px 0 2px;border-top:1px solid #e2e5ea}@media(max-width:767px){.split{flex-direction:column}.split>aside{flex:1 1 auto;width:100%}.perm code{display:none}.inline-ask input{min-width:0;flex:1 1 100%}table.dense select{max-width:116px;font-size:12px}}table.dense tfoot tr.foot{display:table-row;background:#f4f5f7}table.dense tfoot tr.foot td{border-top:1px solid #d7d9de;border-bottom:0;font-weight:600;padding:6px 8px}.punch{flex:1;min-height:0;overflow:auto;padding:12px;max-width:520px;margin:0 auto;width:100%;box-sizing:border-box}.punch-state{background:#fff;border:1px solid #e2e5ea;border-radius:10px;padding:14px 16px;text-align:center}.punch-who{font-size:13px;color:#4b5563}.punch-now{font-size:26px;font-weight:700;margin:4px 0 2px}.punch-now.in{color:#166534}.punch-now.pause{color:#92400e}.punch-now.out{color:#4b5563}.punch-since{font-size:13px;color:#4b5563}.punch-totals{display:flex;justify-content:center;gap:28px;margin:12px 0 0}.punch-totals div{display:flex;flex-direction:column}.punch-totals dt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}.punch-totals dd{margin:2px 0 0;font-size:20px;font-variant-numeric:tabular-nums}.punch-buttons{display:flex;flex-direction:column;gap:10px;margin:14px 0}.punch-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;font:inherit;font-size:17px;font-weight:600;color:#fff;border:0;border-radius:12px;cursor:pointer;padding:8px 12px}.punch-btn.in{background:#16a34a}.punch-btn.out{background:#b45309}.punch-btn.pause{background:#4b5563}.punch-btn.field{background:#2563eb}.punch-btn.home{background:#7c3aed}.punch-btn:disabled{background:#e5e7eb;color:#6b7280;cursor:default}.punch-why{font-size:11px;font-weight:400;opacity:.9}.punch-log{background:#fff;border:1px solid #e2e5ea;border-radius:10px;padding:10px 14px}.punch-log h3{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#4b5563}.punch-log ul{list-style:none;margin:0;padding:0}.punch-log li{display:flex;gap:10px;align-items:center;padding:5px 0;font-size:13px;border-bottom:1px solid #eef0f3}.punch-log li.bad{color:#991b1b}.punch-log li:last-child{border-bottom:0}table.dense.cal td.cal-cell,table.dense.cal th.ca{padding:3px 2px;min-width:20px;font-size:11px;text-align:center}.cal-name{white-space:nowrap;position:sticky;left:0;background:#fff;z-index:1}table.dense.cal thead th.cal-name{background:#eceef1}.cal-we{background:#f4f5f7}.cal-cell{font-weight:700}.cal-abs{background:#fee2e2;color:#991b1b}.cal-annual_leave{background:#dbeafe;color:#1e40af}.cal-paid_leave{background:#e0e7ff;color:#3730a3}.cal-plan{background:#ede9fe;color:#5b21b6}.cal-plan.ok{background:#ddd6fe}.cal-hol{background:#fff7ed;color:#9a3412}.cal-work{background:#dcfce7;color:#166534}.cal-legend{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 12px;font-size:12px;color:#4b5563;border-top:1px solid #e2e5ea}.cal-legend span{display:flex;align-items:center;gap:6px}.cal-legend i{display:inline-block;width:20px;text-align:center;font-style:normal;border-radius:3px}@media(max-width:767px){.punch{padding:10px}.punch-now{font-size:24px}table.dense.cal{width:auto}}.pad{padding:12px}.bad-text{color:#991b1b}.imp-dialog{background:#fff;padding:18px 22px;border-radius:8px;width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}.imp-dialog h3{margin:0 0 10px;font-size:15px}.imp-dialog .fields{display:flex;flex-wrap:wrap;gap:10px 14px}.imp-dialog label{display:flex;flex-direction:column;font-size:11px;color:#4b5563;flex:0 0 160px}.imp-dialog label.wide{flex:1 1 100%}.imp-dialog label.check{flex-direction:row;align-items:center}.imp-dialog input,.imp-dialog select{font:inherit;font-size:13px;margin-top:3px;height:30px;padding:0 8px;border:1px solid #c3c7cf;border-radius:4px}.imp-dialog input[type=file]{height:auto;padding:4px 0;border:0}.imp-dialog input[type=checkbox]{height:auto;margin:0}.imp-dialog .row-buttons button{margin:12px 8px 0 0;padding:6px 12px}.imp-dialog button.linkish{margin:0;padding:0}.imp-dialog button:disabled{opacity:.5;cursor:default}.imp-bar{flex-wrap:wrap}.imp-name{overflow-wrap:anywhere}.badge.imp-st-applied{background:#dcfce7;color:#166534}.badge.imp-st-validated,.badge.imp-st-uploaded{background:#e5e7eb;color:#374151}.badge.imp-st-applying{background:#fef3c7;color:#92400e}.badge.imp-st-failed{background:#fee2e2;color:#991b1b}.imp-counts{display:flex;flex-wrap:wrap;gap:6px 16px;margin:4px 0 8px;font-size:13px}.imp-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}.imp-actions button{font:inherit;font-size:12px;padding:5px 12px;border:1px solid #c3c7cf;border-radius:4px;background:#fff;cursor:pointer}.imp-actions button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.imp-actions button:disabled{opacity:.5;cursor:default}.imp-actions button.linkish{border:0;padding:0}.imp-file-msgs{margin-top:8px}.imp-mapping .imp-map-table{display:flex;flex-direction:column;gap:2px;max-height:420px;overflow:auto}.imp-map-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(140px,1fr) minmax(160px,1fr);gap:8px;align-items:center;font-size:12px;padding:2px 0}.imp-map-row.head{font-weight:600;color:#4b5563;border-bottom:1px solid #e2e5ea}.imp-map-row select{font:inherit;font-size:12px;height:26px}.imp-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.imp-filters button{font:inherit;font-size:12px;padding:3px 10px;border:1px solid #c3c7cf;border-radius:12px;background:#fff;cursor:pointer}.imp-filters button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.imp-cols{grid-template-columns:60px 96px 320px 96px repeat(var(--imp-cols, 1),140px)}.imp-grid{overflow-x:auto}.imp-grid .bkhead{min-width:max-content}.imp-body{max-height:60vh;overflow-y:auto;min-width:max-content}.imp-row{font-size:12px;padding:3px 10px;border-bottom:1px solid #f1f2f4}.imp-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imp-row .imp-msg{white-space:normal}.imp-row.st-refused{background:#fef2f2}.imp-row.st-warning{background:#fffbeb}.imp-state.st-ok{color:#166534}.imp-state.st-warning{color:#92400e}.imp-state.st-refused{color:#991b1b;font-weight:600}.imp-row .ra{text-align:right;padding-right:6px}.imp-summary-list{margin:6px 0 10px}.imp-settings label.check{flex-direction:row;align-items:center;gap:6px;flex:1 1 100%;font-size:12px;color:#111}.imp-settings label.check input{margin:0;width:auto;height:auto;flex:0 0 auto}.imp-vcols{grid-template-columns:90px 170px 170px 130px 320px 60px 110px 130px}.imp-ucols{grid-template-columns:60px 90px 200px 80px 140px 100px 100px 100px 280px}.imp-scols{grid-template-columns:220px 70px 110px 110px 110px 110px 360px}.imp-map-row.imp-tip-row{grid-template-columns:minmax(160px,1fr) 90px minmax(160px,1fr)}@media(max-width:560px){.imp-map-row.imp-tip-row{grid-template-columns:1fr 80px}.imp-map-row.imp-tip-row select{grid-column:1 / -1}.imp-map-row.imp-tip-row.head span:last-child{display:none}.imp-vcols{grid-template-columns:70px 90px 110px 100px 220px 44px 90px 110px}.imp-ucols{grid-template-columns:40px 70px 140px 60px 110px 90px 90px 90px 200px}.imp-scols{grid-template-columns:160px 60px 90px 90px 90px 90px 240px}.imp-cols{grid-template-columns:34px 70px 190px 80px repeat(var(--imp-cols, 1),120px)}.imp-map-row{grid-template-columns:1fr}.imp-dialog label{flex:1 1 100%}}.card-open{font:inherit;color:#1d4ed8;background:none;border:0;padding:0;margin:-15px 0;display:inline-flex;align-items:center;min-height:44px;min-width:44px;position:relative;z-index:1;text-align:left;cursor:pointer;overflow-wrap:anywhere}.dashboard{display:flex;flex-direction:column;min-height:0;flex:1;overflow:auto;padding:10px;gap:10px}.dashboard-grid{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}.dashboard-grid .widget{flex:1 1 360px}.widget h3{display:flex;align-items:center;gap:6px}.widget-toggle{font:inherit;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#4b5563;background:none;border:0;padding:0;cursor:pointer}.chart{width:100%;height:170px}.chart-income{fill:#16a34a}.chart-expense{fill:#dc2626}.chart-label{font-size:22px;fill:#4b5563}.chart-axis{font-size:20px;fill:#6b7280}.chart-grid{stroke:#e5e7eb;stroke-width:1}.chart-hit{fill:transparent}.chart-pair:hover .chart-hit{fill:#2563eb12}.deadline-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.deadline-list li{display:flex;gap:10px;align-items:baseline;font-size:12px;padding:3px 0;border-bottom:1px solid #eef0f3}.deadline-list li:last-child{border-bottom:0}.deadline-list li.bad{color:#991b1b}.deadline-date{font-variant-numeric:tabular-nums;color:#6b7280;min-width:84px}@media(max-width:767px){.chart{height:140px}}.fiscal-panel .kv dt{color:#6b7280}.fiscal-panel .kv dd{margin:0;min-width:0}.fiscal-panel .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.fiscal-panel .wrap{overflow-wrap:anywhere}.fiscal-panel .fiscal-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;margin:10px 0}.fiscal-panel .fiscal-actions p{flex:1 1 100%;margin:0}.fiscal-panel .fiscal-actions button,.fiscal-panel>button{font:inherit;font-size:12px;padding:5px 12px;border:1px solid #c3c7cf;border-radius:6px;background:#fff;cursor:pointer}.fiscal-panel select{font:inherit;font-size:13px;margin-top:3px;height:30px}.fiscal-panel .table-scroll{overflow-x:auto;max-width:100%}.fiscal-panel table.dense{font-size:11px;border-collapse:collapse;width:100%}.fiscal-panel table.dense th,.fiscal-panel table.dense td{padding:3px 6px;border-bottom:1px solid #eef0f3;text-align:left;white-space:nowrap}.wh-grid td.wh-label{min-width:190px;line-height:1.3}.wh-grid input.wh-cell{width:58px;height:26px;text-align:right;font:inherit;font-size:13px;border:1px solid #c3c7cf;border-radius:4px;padding:0 6px}.wh-grid input.wh-cell.ok{background:#f0fdf4;border-color:#86efac}.wh-grid input.wh-cell.bad{background:#fee2e2;border-color:#f87171}.wh-grid input.wh-cell:disabled{background:#f4f5f7;color:#55606f}.wh-days{display:flex;gap:4px;overflow-x:auto;padding:2px 0}.wh-days button{flex:1 0 44px;display:flex;flex-direction:column;align-items:center;gap:1px;font:inherit;font-size:12px;padding:6px 2px;border:1px solid #c3c7cf;border-radius:6px;background:#fff;cursor:pointer}.wh-days button.on{background:#2563eb;color:#fff;border-color:#2563eb}.wh-days button.on .dim{color:#dbeafe}.phone-wrap{flex-wrap:wrap;gap:8px}.wh-doc .table-wrap{flex:0 0 auto}.wh-doc .card-box label.check,.wo-hours label.check{flex-direction:row;align-items:center;gap:6px;flex:0 0 auto;font-size:12px;color:#111}.wh-doc .card-box label.check input,.wo-hours label.check input{width:auto;height:auto;margin:0}.wo-summary{min-width:0}.wo-summary .storno-form{flex-wrap:wrap;margin-top:8px}.wo-summary .storno-form input{min-width:0}.wh-save{flex-wrap:wrap;align-items:center}.wo-actions button:disabled,.wh-save button:disabled{opacity:.45;cursor:default}@media(max-width:767px){.wh-grid td.wh-label{min-width:0;max-width:60vw;white-space:normal}.wh-grid input.wh-cell{width:76px;height:40px;font-size:16px}.wh-save{position:sticky;bottom:0;background:#fff;padding:8px 0;margin:0;border-top:1px solid #e2e5ea}.wh-save button{flex:1;padding:10px 14px;font-size:15px}.wh-doc .card-box label.wide{flex:1 1 100%}}.row-buttons.wrap{flex-wrap:wrap}.row-buttons.wrap input,.row-buttons.wrap select{min-width:0;flex:1 1 140px}.fp-grid td,.fp-grid th{white-space:nowrap}.fp-grid tr.fp-var td{border-bottom:1px solid #c3c7cf}.fp-grid td .linkish{font-size:inherit}.inline-form{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}.card-box h3{display:flex;align-items:center;gap:8px}.card-box h4{margin:10px 0 6px;font-size:12px;display:flex;gap:8px;align-items:center}.card-box .form-grid{display:flex;flex-wrap:wrap;gap:8px 12px}.card-box label.inline-label{flex-direction:row;align-items:center;gap:4px;flex:0 0 auto}.card-box label.inline-label input{height:auto;margin:0}.br-cond{background:transparent;border:0;padding:4px 0;flex-wrap:wrap}.liq-kpi{justify-content:flex-start}.liq-chart-wrap{position:relative;padding:6px 10px}.liq-chart{width:100%;height:auto;max-height:260px;display:block}.liq-grid{stroke:#e5e7eb;stroke-width:1}.liq-zero{stroke:#9ca3af;stroke-width:1}.liq-line{fill:none;stroke:#2563eb;stroke-width:2;stroke-linejoin:round}.liq-area{fill:#2563eb;fill-opacity:.08}.liq-threshold{stroke:#b45309;stroke-width:1.5;stroke-dasharray:5 4}.liq-cross{stroke:#6b7280;stroke-width:1}.liq-dot{fill:#2563eb;stroke:#fff;stroke-width:2}.liq-tip{position:absolute;top:4px;right:14px;background:#fff;border:1px solid #d7d9de;border-radius:6px;padding:4px 8px;font-size:12px;box-shadow:0 1px 4px #00000014}.vb-side{display:flex;flex-wrap:wrap;gap:12px;padding:10px}p.small{font-size:11px;padding:4px 10px;margin:0}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e2e5ea;border:1px solid #e2e5ea;margin:8px 10px}.cal-head{background:#f4f5f7;font-size:11px;font-weight:600;padding:4px 6px;color:#4b5563}.cal-day{background:#fff;min-height:86px;padding:4px 6px;font-size:11px;overflow:hidden}.cal-week .cal-day{min-height:220px}.cal-day.out{background:#fafafa;color:#9ca3af}.cal-day.today{box-shadow:inset 0 0 0 2px #2563eb}.cal-num{font-weight:600;margin-bottom:3px}.cal-full{display:none}.cal-item{border-left:3px solid #9ca3af;padding:1px 4px;margin:2px 0;background:#f9fafb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-item a{color:inherit;text-decoration:none}.cal-item.overdue{background:#fee2e2}.cal-invoice_due,.cal-legend.cal-invoice_due{border-color:#16a34a}.cal-received_due,.cal-legend.cal-received_due{border-color:#dc2626}.cal-tax_deadline,.cal-legend.cal-tax_deadline{border-color:#b45309}.cal-payroll_payment,.cal-legend.cal-payroll_payment{border-color:#7c3aed}.cal-vacation,.cal-absence,.cal-legend.cal-vacation,.cal-legend.cal-absence{border-color:#0891b2}.cal-recurring_run,.cal-legend.cal-recurring_run{border-color:#2563eb}.cal-legend{border-left:3px solid;padding-left:4px}@media(max-width:767px){.cal-grid{display:block;margin:6px 0;border:0;background:transparent}.cal-head,.cal-day.empty-day{display:none}.cal-day{min-height:0;border-bottom:1px solid #e2e5ea;padding:6px 10px}.cal-week .cal-day{min-height:0}.cal-num{font-size:12px}.cal-short{display:none}.cal-full{display:inline;font-size:12px}.cal-item{white-space:normal}.liq-chart{max-height:180px}.liq-tip{position:static;margin-top:4px}}.table-wrap.fin4-fit{flex:0 1 auto}.card-box.fin4-card{flex:0 0 auto;margin:8px 10px}.vb-side .card-box.fin4-card{flex:1 1 320px;margin:0}.table-wrap.band{flex:0 0 auto;max-height:36vh}td.diff-bad{background:#fee2e2;color:#991b1b;font-weight:600}td.diff-warn{background:#fef3c7;color:#92400e}td.diff-bad input,td.diff-warn input{background:transparent}.doc>.table-wrap.pui-lines{flex:0 0 auto}.match-panel .chip+.chip{margin-left:4px}.ceded{display:flex;flex-wrap:wrap;gap:4px}.ceded input{min-width:0}.table-wrap.corr-fit{flex:0 0 auto}.card-slot:focus{outline:none}.card-slot:focus-visible>.card{outline:2px solid #2563eb;outline-offset:1px}.search-chip{display:inline-flex;align-items:center;gap:4px}.search-chip button{border:0;background:none;font:inherit;font-size:14px;line-height:1;padding:0 2px;cursor:pointer;color:#3730a3}.yearpick{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#c8ccd4}.yearpick select{font:inherit;font-size:12px;padding:3px 4px;border-radius:4px;max-width:150px;background:#333944;color:#fff;border:1px solid #4b5563}.yearpick.idle{opacity:.45}.yearpick.idle select{cursor:default}.year-chip{background:#dbeafe;color:#1e3a8a;font-weight:500}.yearnotice{display:flex;align-items:center;gap:10px;padding:6px 12px;font-size:12px;background:#fef3c7;color:#92400e;border-bottom:1px solid #f5d98b;flex:0 0 auto}.yearnotice button{border:0;background:none;font:inherit;font-size:15px;line-height:1;cursor:pointer;color:#92400e;padding:0 4px}@media(max-width:767px){.yearpick-label{display:none}.yearpick select{-webkit-appearance:none;appearance:none;width:44px;min-height:36px;padding:3px 4px;text-align:center;text-align-last:center}.topbar button{padding:5px 4px;white-space:nowrap}.topbar{gap:3px;padding:0 4px}.topbar .shortcuts,.topbar .lang{flex:0 0 auto}.topbar .shortcuts{min-width:0}}.missing-hint{margin-left:8px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.year-jump{font-weight:500}.day-picker{--day-border: #c9d3e6;--day-text: #111;--day-taken-bg: #f1f2f4;--day-taken-text: #8a8f98;--day-focus: #2563eb;display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:4px}.card-box .day-picker label.day-pick,.form-card .day-picker label.day-pick{display:inline-flex;flex-direction:row;align-items:center;gap:4px;flex:0 0 auto;min-width:46px;padding:3px 7px;border:1px solid var(--day-border);border-radius:6px;font-size:13px;color:var(--day-text);cursor:pointer}.card-box .day-picker label.day-pick.taken,.form-card .day-picker label.day-pick.taken{background:var(--day-taken-bg);color:var(--day-taken-text);text-decoration:line-through;cursor:not-allowed}.day-picker label.day-pick:focus-within{outline:2px solid var(--day-focus);outline-offset:1px}.day-picker label.day-pick input{margin:0;width:auto;height:auto;flex:0 0 auto}.banner.historical,.badge.st-historical{background:#e0e7ff;color:#312e81}.historical-card .hist-entries,.hist-panel .hist-entries{width:100%;border-collapse:collapse;font-size:12px;margin:6px 0}.hist-entries th,.hist-entries td{padding:3px 6px;border-bottom:1px solid #eceef1;text-align:left;font-weight:400}.hist-entries th{color:#4b5563;font-weight:600}.hist-entries .ra{text-align:right}.hist-picker label{display:flex;flex-direction:column;font-size:11px;color:#4b5563}.hist-picker input[type=file]{height:auto;padding:4px 0;border:0;width:100%}.hist-picker .row-buttons button{margin:8px 8px 0 0;padding:6px 12px}.hist-panel ul.plain{margin:4px 0 8px}.topbar .help-btn{flex:0 0 auto;width:26px;height:26px;padding:0;border:1px solid #454c58;border-radius:50%;font-weight:700}.topbar .help-btn[aria-expanded=true]{background:#3b82f6;color:#fff;border-color:#3b82f6}.help-panel{position:fixed;top:44px;right:0;bottom:0;z-index:25;width:min(440px,100vw);display:flex;flex-direction:column;background:#fff;border-left:1px solid #c9ccd2;box-shadow:-8px 0 24px #00000024;outline:none}.help-panel-head{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f4f5f7;border-bottom:1px solid #d7d9de;font-size:14px}.help-panel-head button{font:inherit;font-size:18px;line-height:1;border:0;background:transparent;cursor:pointer;padding:2px 8px;border-radius:4px}.help-panel-head button:hover{background:#e2e5ea}.help-search{padding:8px 12px}.help-search input{width:100%;font:inherit;font-size:13px;padding:6px 8px;border:1px solid #c3c7cf;border-radius:4px}.help-scroll{flex:1;min-height:0;overflow:auto;padding:0 14px 20px;line-height:1.5;font-size:13px}.help-page{line-height:1.5;font-size:14px;max-width:920px}.help-scroll h2,.help-page h2{font-size:17px;margin:8px 0 2px}.help-scroll h3,.help-page h3{font-size:14px;margin:16px 0 4px}.help-scroll h4,.help-page h4{font-size:13px;margin:12px 0 2px}.help-body p,.help-body ul,.help-body ol{margin:6px 0}.help-body li{margin:2px 0}.help-body code{background:#f1f3f6;padding:0 4px;border-radius:3px;font-size:.92em}.help-body a,.help-laws a,.help-results a,.help-more a{color:#1d4ed8}.help-body a.law-ref,.help-body span.law-ref{white-space:nowrap;font-weight:600}.help-table{overflow-x:auto;margin:8px 0}.help-table table{border-collapse:collapse;width:100%;font-size:.92em}.help-table th{text-align:left;background:#eceef1;padding:5px 8px;border-bottom:1px solid #c9ccd2}.help-table td{padding:5px 8px;border-bottom:1px solid #eef0f3;vertical-align:top}.help-note{margin:10px 0;padding:6px 10px;border-left:3px solid #2563eb;background:#eef4ff}.help-note.warning{border-left-color:#d97706;background:#fffbeb;color:#78350f}.help-results{list-style:none;margin:0;padding:0}.help-results li{margin:8px 0}.help-laws ul,.help-laws-list{list-style:none;margin:0;padding:0}.help-laws li,.help-laws-list li{margin:8px 0;padding-bottom:8px;border-bottom:1px solid #eef0f3}.help-more{margin-top:16px}.help-law-note{margin:2px 0;font-size:.92em;color:#78350f}.help-kinds{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 12px;font-size:13px}.help-kinds a{color:#1d4ed8}@media(max-width:767px){.topbar .help-btn{width:32px;height:32px}.help-panel{top:0;width:100vw;border-left:0;z-index:40}.help-panel-head button{font-size:22px;padding:4px 12px}}.content:has(>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)~:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)){overflow-y:auto}.content:has(>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)~:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap))>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap){flex:0 0 auto;overflow:visible}.content:has(>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)~:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap))>:is(.table-wrap,.doc-lines){overflow-x:auto;overflow-y:visible}.content:has(>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)~:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap))>.bar:first-child{position:sticky;top:0;z-index:6;flex:0 0 auto}.row-buttons select{min-width:0;max-width:100%}table.dense.lines tr.line.wanted>td{background:#fff7d6}.form-card:has(>table){overflow-x:auto}.content:has(>:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap)~:is(.doc,.doc-lines,.form-card,.card-box,.table-wrap))>.form-card:has(>table){overflow-x:auto;overflow-y:visible}@media(max-width:767px){.content:has(>.table-wrap.fin4-fit~.vb-side){overflow-y:auto}.content:has(>.table-wrap.fin4-fit~.vb-side)>:is(.table-wrap,.vb-side){flex:0 0 auto;overflow:visible}.content:has(>.table-wrap.fin4-fit~.vb-side)>.bar:first-child{position:sticky;top:0;z-index:6;flex:0 0 auto}}.inline-form,form.fields{max-width:100%}.inline-form label,form.fields label{min-width:0;max-width:100%}.inline-form select,form.fields select,.inline-form .lookup,form.fields .lookup{max-width:100%;min-width:0;text-overflow:ellipsis}@media(max-width:767px){td.ld-col>.table-wrap.doc-drill{position:sticky;left:0;width:calc(100vw - 32px);max-width:calc(100vw - 32px);box-sizing:border-box}}
