.business-shell .sidebar nav{display:grid;gap:8px;margin-top:26px}.business-shell nav a{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:12px;color:inherit;text-decoration:none;font-weight:600}.business-shell nav a.active{background:#dff0dc;color:#153d33}.business-shell .sidebar nav a svg{width:24px;flex-shrink:0}.business-shell .sidebar nav a:hover{background:#ffffff12}.business-shell .mobile-nav{display:none}.context-menu{position:relative;display:inline-block;text-align:left}.context-menu summary{cursor:pointer;list-style:none;display:flex;justify-content:center;align-items:center;padding:8px 12px;border:1px solid #d6e2da;border-radius:10px;font-weight:700;min-width:42px;min-height:42px;background:#fff;color:#204b40}.context-menu summary::-webkit-details-marker{display:none}.context-menu[open]{z-index:30}.context-menu>div{position:absolute;right:0;top:100%;min-width:230px;max-width:80vw;background:#fff;box-shadow:0 16px 45px #173b3026;border:1px solid #d8e4db;border-radius:12px;padding:6px;z-index:60}.context-menu a{display:block;padding:12px;color:#183c33;text-decoration:none;border-radius:8px}.context-menu a:hover{background:#eff4ed}.biz-card{text-decoration:none;color:inherit;display:block}.biz-card h2{font-size:20px}.object-tile>a{color:inherit;text-decoration:none}.object-meta,.planner-toolbar,.invoice-footer{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:20px 0}.object-meta>.context-menu{margin-left:auto}.object-meta>span{flex:1}.expiry{white-space:nowrap;font-weight:600;color:#426758}.expiry.soon{background:#fff0bd;color:#805500;padding:3px 6px;border-radius:5px}.expiry.expired{background:#ffe6e0;color:#a33021;padding:3px 6px;border-radius:5px}.shift-type-strip{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid #dde7df;padding-bottom:18px}.shift-type-strip>div{background:#f0f5ef;padding:10px 12px;border-radius:10px;font-size:13px}.shift-type-strip .context-menu{margin-left:8px}.shift-type-strip .context-menu summary{min-width:28px;min-height:28px;padding:2px 8px}.planner-toolbar label{max-width:260px;margin:0}.object-planner{display:grid;grid-template-columns:185px minmax(0,1fr);border:1px solid #dbe5dd;border-radius:12px;overflow:hidden}.staff-palette{max-height:560px;overflow:auto;background:#f4f7f2;padding:12px;display:flex;flex-direction:column;gap:8px}.staff-token{display:flex;align-items:center;gap:8px;background:white;border:1px solid #d5e1d7;padding:10px;border-radius:8px;cursor:grab;font-size:13px;margin:0}.staff-token input{width:16px;height:16px;flex-shrink:0}.staff-token.selected{border-color:#255646;background:#dfeedd}.biz-grid-scroll{overflow:auto;max-height:600px}.biz-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}.biz-grid th,.biz-grid td{border-right:1px solid #e1e8e1;border-bottom:1px solid #e1e8e1;min-width:140px;max-width:180px;vertical-align:top;padding:9px}.biz-grid thead th{position:sticky;top:0;background:#f5f8f3;z-index:3}.biz-grid th:first-child{position:sticky;left:0;background:#f5f8f3;z-index:2;min-width:145px}.biz-grid thead th:first-child{z-index:4}.biz-grid th small{display:block;font-weight:400}.assign-cell{cursor:copy;min-height:100px;background:#fbfdf9}.assign-cell:hover,.assign-cell:focus{outline:2px solid #285b47;outline-offset:-2px;background:#e7f2de}.biz-grid .unavailable{background:repeating-linear-gradient(135deg,#f4f5f1,#f4f5f1 6px,#eceee9 6px,#eceee9 7px)}.grid-assignment{display:block;background:#e4eee5;border-left:3px solid var(--object-color,#376a53);padding:7px;margin:5px 0;border-radius:5px;color:#123b30;text-decoration:none}.grid-assignment small,.demand-label{display:block;font-size:10px;line-height:1.5}.order-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #789c82;padding:25px 15px;text-align:center;border-radius:12px;color:#315944;background:#f7faf4;cursor:pointer;margin:22px 0 0}.order-drop small{font-weight:400}.order-drop.dragover{background:#dfeecd;border:2px solid #35614c}.certificate-editor>label{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #dde6dc;padding:10px 0}.certificate-editor>label>span:first-child{display:flex;align-items:center;gap:8px}.certificate-editor input[type=checkbox],.choice-list input[type=checkbox]{width:18px;height:18px}.certificate-editor input[type=date]{max-width:175px}.choice-list{border:0;padding:0;display:grid;gap:12px}.choice-list label{display:flex;gap:10px;align-items:center}.certificate-list{display:flex;gap:8px;flex-wrap:wrap}.certificate-list>span{padding:5px 8px;border:1px solid #dfe8de;border-radius:6px;font-size:12px}.shift-editor{border:1px solid #d5e1d7;padding:20px;border-radius:12px;margin:15px 0}.shift-editor .weekday-picks{flex-wrap:wrap}.biz-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.biz-dialog-head>a{font-size:13px;color:#48685b;padding:8px 0}.business-shell .document-list article{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e9df;padding:14px 0}.document-list article>a{color:#214c3e;text-decoration:none}.document-list small{display:block}.biz-report{width:100%;margin:20px 0;border-collapse:collapse}.biz-report td,.biz-report th{text-align:left;padding:10px;border-bottom:1px solid #e0e8dd}.invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px}.invoice-lines input{min-width:80px}.invoice-lines td:first-child input{min-width:160px}.invoice-lines td:nth-child(2) input{min-width:120px}.invoice-totals{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:20px 0}.invoice-totals label{max-width:140px}.invoice-footer>a{flex:1}.invoice-footer>span{font-size:12px}.message{max-width:85%;background:#f0f5ed;padding:12px 16px;border-radius:12px;margin:12px 0}.message p{white-space:pre-wrap;margin:5px 0}.message.outgoing{margin-left:auto;background:#e0eddb}.account-menu{display:flex;justify-content:flex-end;margin-bottom:20px}#dialog .formerror{white-space:pre-wrap}.business-shell .main{min-width:0}.business-shell .content{max-width:1800px}.month-select{max-width:240px}.business-shell .card{min-width:0}.business-shell .pagehead>.actions{flex-shrink:0}
@media(max-width:900px){.business-shell .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 5px calc(8px + env(safe-area-inset-bottom));gap:2px}.business-shell .mobile-nav a{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 1px;font-size:10px;text-align:center;border-radius:8px;line-height:1.3}.business-shell .mobile-nav svg{width:22px;height:22px}.business-shell .mobile-nav span{white-space:normal}.business-shell .content{padding-bottom:110px}.business-shell .topbar{display:flex;justify-content:space-between;gap:10px}.business-shell .topbar>span{display:none}.business-shell .pagehead{align-items:flex-start;flex-wrap:wrap;gap:15px}.business-shell .pagehead>.actions{display:flex;flex-wrap:wrap;gap:8px}.business-shell .pagehead .btn{font-size:12px;padding:10px 13px;min-height:42px}.object-planner{grid-template-columns:minmax(0,1fr)}.staff-palette{max-height:130px;flex-direction:row;flex-wrap:wrap;border-bottom:1px solid #d8e2d8}.staff-token{flex:0 0 auto;padding:8px;max-width:100%}.biz-grid-scroll{max-height:470px}.object-meta{gap:10px;font-size:12px}.planner-toolbar{gap:12px}.planner-toolbar label{max-width:100%;flex:1;min-width:140px}.certificate-editor>label{flex-wrap:wrap}.invoice-meta{grid-template-columns:1fr}.shift-editor{padding:12px}.business-shell .mobile-brand{display:flex}.business-shell .object-directory{grid-template-columns:1fr}.business-shell .main{width:100%}.biz-dialog-head h2{font-size:22px}#dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:20px}.business-shell .mobile-nav:has(a:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}}

.recognized-original{white-space:pre-wrap;max-height:240px;overflow:auto;background:#f3f6ef;padding:14px;font-size:12px}

.order-original{max-width:100%;max-height:300px;object-fit:contain;border:1px solid #dce6dc;border-radius:8px}

[data-recognized-editor] input{min-width:100px}[data-recognized-editor] th{text-align:left;font-size:12px}[data-recognized-editor] td{padding:4px}

.business-shell section.card{padding:22px;overflow:visible}.business-shell .card.biz-card{padding:22px}.biz-grid td{height:76px}.shift-type-strip>div{max-width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:5px}.invoice-lines .context-menu[open]>div{position:fixed;right:24px;bottom:24px;top:auto;z-index:10000}
@media(max-width:900px){.business-shell section.card{padding:14px}.business-shell .card.biz-card{padding:18px}}
@media(max-width:520px){.planner-toolbar label:has([data-eligible]){flex-basis:100%;max-width:100%}}

@media(max-width:900px){.business-shell .mobile-nav:has(a:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}}
