.purchases-v2,.purchase-home,.purchase-detail{--purchase-ink: #2b211c;--purchase-brown: #8a5233;--purchase-border: #e8ddd2;color:var(--purchase-ink)}.purchases-v2{display:flex;flex-direction:column;gap:20px;min-width:0;width:100%}.purchase-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.purchase-heading h1{font-size:36px;margin:0 0 6px;line-height:1.15}.purchase-heading p{margin:0;color:#6f6054}.purchase-heading .eyebrow,.purchase-worker-task .eyebrow{color:#8a5233;margin:0 0 10px}.purchases-v2 .primary,.purchase-detail .primary{background:#8a5233;color:#fff}.purchases-v2 button,.purchase-detail button{min-height:40px;border-radius:10px}.purchase-heading>button{min-height:48px;flex-shrink:0}.purchase-buyer-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 20px;border-radius:16px;background:#3a2b23;color:#fff}.purchase-buyer-bar>div{display:grid;gap:3px;flex:1 1 260px}.purchase-buyer-bar strong{color:#e9c9a8;font-size:12px;letter-spacing:1px}.purchase-buyer-bar small{color:#ead9c8;font-size:13px}.purchase-buyer-bar label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#fff}.purchase-buyer-bar select{min-height:44px;max-width:250px;border:0;background:#fffdfa;font-weight:800}.purchase-buyer-bar>span{font-size:13px;font-weight:800}.purchase-buyer-bar button.secondary{min-height:44px;border:1px solid #e9c9a8;background:transparent;color:#fff}.purchase-task-errand{border:2px solid #9c6a4b}.purchase-task-general{border:2px solid #413129}.purchase-separate-items{display:grid;gap:6px;max-height:260px;overflow:auto}.purchase-form .purchase-separate-items label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:6px;border:1px solid #e8ddd2;border-radius:8px}.purchase-form .purchase-separate-items input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;flex:0 0 auto}@media(max-width:700px){.purchase-buyer-bar label,.purchase-buyer-bar select,.purchase-buyer-bar button{width:100%}}.purchase-task-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:12px}.purchase-task-card{display:grid;gap:10px;padding:18px 20px;background:#fffdfa!important;color:#2b211c!important;border:1px solid #e8ddd2!important;text-align:left;border-radius:14px!important;min-width:0;cursor:pointer}.purchase-task-main{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:0;color:inherit;text-align:left;background:none}.purchase-task-main .grow{min-width:0;overflow-wrap:anywhere}.purchase-task-main strong{display:block;font-size:17px}.purchase-task-main small{display:block;margin-top:3px;color:#6f6054;font-size:12px}.purchase-task-due{flex:0 0 auto;align-self:center;max-width:35%;color:#704b32;font-size:12px;font-weight:700;text-align:right}.purchase-task-due.overdue,.purchase-task-subrow .overdue{color:#b52f28}.purchase-avatar{width:40px;height:40px;flex-shrink:0;border-radius:50%;background:#f1e4d8;color:#6b3d22;display:grid;place-items:center;font-weight:800}.purchase-task-progress{display:flex;align-items:center;gap:12px;font-size:13px}.purchase-task-progress progress{flex:1;width:100%;height:7px;accent-color:#8a5233}.purchase-task-plan{display:flex;flex-wrap:wrap;gap:6px;margin:0;font-size:12px}.purchase-task-plan span{padding:4px 8px;border-radius:7px;background:#e8f2eb;color:#256044}.purchase-task-plan span.plan-later{background:#e8effa;color:#24538a}.purchase-task-preview{margin:0;color:#6f6054;font-size:12px;overflow-wrap:anywhere}.purchase-task-duplicates{padding:11px 12px;border:1px solid #e9dac4;border-radius:10px;background:#fcf6eb}.purchase-task-duplicates-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.purchase-task-duplicates-heading strong{font-size:12px}.purchase-task-duplicates-heading button{min-height:34px;font-size:12px}.purchase-task-subrow{display:grid;grid-template-columns:1fr auto auto;gap:10px;width:100%;padding:5px 0;color:inherit;background:transparent;text-align:left;font-size:12px}.purchase-task-subrow:hover{color:#8a5233}.purchase-existing-choice{display:grid;gap:8px}.purchase-existing-choice p{margin:0 0 4px;padding:10px 12px;border:1px solid #e9dac4;border-radius:9px;background:#fcf6eb}.purchase-radio-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;padding:10px 12px;border:1px solid #e1d2c3;border-radius:9px}.purchase-radio-choice:has(input:checked){border-color:#8a5233}.purchase-form .purchase-radio-choice input[type=radio],.purchase-radio-choice input[type=radio]{width:18px;min-width:18px;height:18px;min-height:0;margin:0;padding:0;flex:0 0 auto}.purchase-radio-choice{min-height:44px;font-size:14px!important;color:#2b211c!important;cursor:pointer}.purchase-section-label{font-size:13px!important;color:#6f6054;margin-bottom:10px!important}.purchase-filters{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.purchase-filter-chips{display:flex;gap:8px;flex-wrap:wrap}.purchase-filter-chips button{border-radius:999px!important;font-size:14px}.purchase-filter-chips .selected{background:#3a2b23;color:#fff}.purchase-filters>label{display:flex;align-items:center;gap:8px;font-size:13px;color:#6f6054}.purchase-filters select{width:auto;min-width:210px}.purchase-search{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.purchase-search>input{max-width:430px;width:100%}.purchase-group{background:#fffdfa;border:1px solid #e8ddd2;border-radius:16px;overflow:hidden;min-width:0}.purchase-group>header{display:flex;align-items:center;gap:12px;padding:14px 20px;background:#f9f4ee;border-bottom:1px solid #efe6dc}.purchase-group>header h2{font-size:16px;margin:0}.purchase-group>header>span{font-size:13px;color:#6f6054}.purchase-dot{width:10px;height:10px;background:#a16207;border-radius:50%;flex-shrink:0}.group-suggested>header{background:#fdf3ea}.group-suggested .purchase-dot{background:#c2410c}.group-suggested>header{flex-wrap:wrap}.purchase-bulk-approval{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.purchase-bulk-approval button{font-size:13px;padding:8px 14px}.group-order-pending>header{background:#eef3fb}.group-order-pending .purchase-dot{background:#2563eb}.purchase-supplier-order{padding:14px 20px;border-top:1px solid #efe6dc}.purchase-supplier-order-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.purchase-supplier-order-head>strong{font-size:16px;margin-right:auto}.purchase-supplier-order-head>label:not(.check){display:flex;align-items:center;gap:6px;font-size:13px}.purchase-supplier-order-head input[type=date]{min-height:40px;border:1px solid #dccfc2;border-radius:10px}.purchase-supplier-order-head .primary{background:#3a2b23;color:#fff}.purchase-supplier-order-row{display:grid;grid-template-columns:24px minmax(0,2fr) minmax(0,2fr);align-items:center;gap:12px;padding:8px 0;border-top:1px solid #f3ece4}.purchase-supplier-order-row>input[type=checkbox]{width:20px;height:20px;accent-color:#8a5233}.purchase-supplier-order-context{color:#6b3d22;font-size:13px;font-weight:700;overflow-wrap:anywhere}.purchase-supplier-order-row select{grid-column:2 / -1}.group-ordered>header{background:#eef3fb}.group-ordered .purchase-dot{background:#2563eb}.group-purchased>header,.group-picked_up>header,.group-ready_for_pickup>header{background:#eef7f0}.purchase-row{display:grid;grid-template-columns:24px minmax(140px,2.4fr) minmax(110px,1.5fr) minmax(100px,1.2fr) minmax(180px,2fr);align-items:center;gap:14px;padding:14px 20px;border-top:1px solid #f3ece4;min-width:0}.purchase-row:not(:has(>input)){grid-template-columns:minmax(140px,2.4fr) minmax(110px,1.5fr) minmax(100px,1.2fr) minmax(180px,2fr)}.purchase-row:first-of-type{border-top:0}.purchase-row>input[type=checkbox]{width:20px;height:20px;accent-color:#8a5233}.purchase-item-title{display:block!important;text-align:left;background:transparent!important;color:#2b211c!important;border:0!important;padding:0!important;min-height:0!important;min-width:0;overflow-wrap:anywhere}.purchase-item-title strong{display:block;font-size:15px;font-weight:800}.purchase-item-title small{display:block;color:#6f6054;font-size:13px;font-weight:400;margin-top:3px}.purchase-tag{display:inline-block;justify-self:start;max-width:100%;overflow-wrap:anywhere;border-radius:8px;padding:5px 10px;background:#f1e4d8;color:#6b3d22;font-size:12px;font-weight:700}.category-tag{background:#e6eef7;color:#24476b}.purchase-row-who{font-size:13px;color:#4f4037;min-width:0;overflow-wrap:anywhere}.purchase-row-who small{display:block;margin-top:4px}.purchase-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.purchase-actions button{font-size:13px;padding:9px 12px;line-height:1.2}.purchase-actions .secondary,.purchases-v2 .secondary,.purchase-detail .secondary{background:#fffdfa;color:#6b3d22;border:1px solid #dccfc2}.purchase-undo{white-space:nowrap}.purchase-status{display:inline-block;font-size:12px;font-weight:700;line-height:1.3;border-radius:999px;padding:4px 9px;white-space:normal;word-break:normal}.status-suggested{background:#fdf3ea;color:#9a3412}.status-approved,.status-purchased{background:#fbf6ea;color:#854d0e}.status-ordered,.status-ready_for_pickup{background:#eef3fb;color:#1e40af}.status-to_buy,.status-picked_up{background:#eef7f0;color:#166534}.status-in_workshop{background:#efe6dc;color:#4f4037}.status-cancelled{background:#fceee9;color:#9f2f1a}.purchase-collapsed>summary{cursor:pointer;padding:14px 20px;font-size:15px;font-weight:800;color:#4f4037}.purchase-empty{padding:22px 16px;color:#6f6054}.purchase-selection{position:sticky;bottom:12px;z-index:5;background:#3a2b23;color:#fff;padding:14px 20px;border-radius:16px;display:flex;gap:14px;align-items:center;box-shadow:0 4px 18px #2b211c20}.purchase-selection>span{flex:1;font-size:13px;min-width:0}.purchase-selection .primary{background:#e9a46b;color:#2b211c}.purchase-selection label{color:#ead9c8}.purchase-selection .purchase-form{display:flex;flex-direction:row;flex-wrap:wrap;align-items:end;gap:12px;flex:1}.purchase-selection .purchase-form>label{flex:1;min-width:135px}.purchase-selection .purchase-form>p{margin:0;width:100%}.purchase-selection .purchase-form>label textarea{min-height:44px;height:44px}.purchase-form{display:flex;flex-direction:column;gap:14px;min-width:0}.purchase-form label,.purchase-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:700;color:#6f6054}.purchase-form input,.purchase-form select,.purchase-form textarea,.purchase-fields input,.purchase-fields select{width:100%;min-width:0;min-height:44px}.purchase-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.purchase-form p{font-size:13px;color:#4f4037;line-height:1.5}.purchase-form textarea{min-height:72px}.purchase-form>button{min-height:48px}.purchase-detail{display:flex;flex-direction:column;gap:20px;min-width:0}.purchase-detail>p{margin:0;color:#6f6054;font-size:14px}.purchase-detail h3{font-size:15px;margin:0 0 10px}.purchase-current{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px solid #c9d8ee;border-radius:12px}.purchase-current strong{font-size:17px}.purchase-current span{font-size:13px}.purchase-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-paths>div{border:1px solid #dccfc2;padding:14px 12px;border-radius:12px;font-size:14px;font-weight:700}.purchase-paths>.selected{border:2px solid #8a5233;padding:13px 11px;background:#fbf5ef}.purchase-readonly{border:1px solid #dccfc2;border-radius:10px;min-height:44px;display:flex;align-items:center;padding:10px 12px;color:#2b211c;font-size:14px}.purchase-history{list-style:none;padding:0;margin:0}.purchase-history li{position:relative;padding:0 0 16px 24px;border-left:2px solid #efe6dc;margin-left:6px}.purchase-history li:before{content:"";position:absolute;left:-7px;top:4px;width:12px;height:12px;border-radius:50%;background:#8a5233}.purchase-history li.undo-event:before{background:#c2410c}.purchase-history strong{display:block;font-size:14px}.purchase-history small{display:block;font-size:13px;color:#6f6054;margin-top:3px}.purchase-history .undo-event strong{color:#9a3412}.purchase-help{background:#f6efe7;border-radius:12px;padding:12px 14px;font-size:13px;color:#4f4037;line-height:1.5}.purchase-detail .danger{align-self:flex-start;color:#9f2f1a;border-color:#e3c9c0}.purchase-embedded{gap:14px}.purchase-embedded .purchase-group:empty{display:none}.purchase-request-button{align-self:stretch;min-height:52px!important;font-size:16px}.purchase-row-compact{display:flex!important;align-items:center;justify-content:space-between;padding:12px 16px;gap:10px}.purchase-row-compact .purchase-item-title{flex:1}.purchase-row-compact .purchase-row-who{max-width:38%}.purchase-worker-task{max-width:780px;width:100%;display:flex;flex-direction:column;gap:14px}.purchase-worker-task>h1{font-size:24px;margin:0}.purchase-worker-task>p{margin:0}.purchase-worker-task h2{font-size:17px;margin:0 0 10px}.purchase-worker-item{background:#fffdfa;border:1px solid #e8ddd2;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:12px;margin-bottom:10px;min-width:0}.purchase-worker-item-title{display:flex;gap:10px;align-items:flex-start}.purchase-worker-item-title .purchase-item-title{flex:1}.purchase-worker-item-title .purchase-status{max-width:40%;flex-shrink:0}.purchase-worker-item .purchase-actions{flex-wrap:nowrap}.purchase-worker-item .purchase-actions .primary{flex:1;min-height:48px;font-size:15px}.purchase-worker-item .purchase-actions .purchase-undo{min-height:48px}.purchase-receipt-button{min-height:44px!important;border:1px dashed #c9b4a2!important;background:#fbf5ef!important;color:#6b3d22!important}.purchase-complete{color:#166534;background:#eef7f0;padding:12px;border-radius:12px}.purchase-home{display:flex;flex-direction:column;gap:14px;margin-top:20px}.purchase-home>h2{font-size:17px;margin:0}.purchase-home .purchase-task-card{border-color:#8a5233!important}.worker-purchases{max-width:850px;margin:0 auto;gap:14px}.worker-purchases-heading,.worker-purchases-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.worker-purchases-heading h1,.worker-purchases-section-heading h2{margin:0}.worker-purchases-heading h1{font-size:clamp(28px,4vw,36px)}.worker-purchases-section-heading h2{font-size:18px}.worker-purchases-section-heading span{color:#6f6054;font-size:13px;font-weight:700}.worker-purchase-stop,.worker-errand,.worker-purchase-list{overflow:hidden;border:1px solid #e8ddd2;border-radius:16px;background:#fffdfa}.worker-errand{border:2px solid #8a5233}.worker-errand>header{padding:14px;background:#fbf3ea}.worker-errand>header h2{margin:3px 0;font-size:17px}.worker-errand>header p{margin:0;font-size:13px}.worker-errand .worker-purchase-stop{border:0;border-top:1px solid #e8ddd2;border-radius:0}.worker-purchase-stop>header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#eef7f0}.worker-purchase-stop>header>div{display:grid;min-width:0}.worker-purchase-stop>header strong{font-size:17px}.worker-purchase-stop>header small{color:#6f6054}.worker-purchase-item{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;border-top:1px solid #f3ece4}.worker-purchase-item.delivered{background:#f6fbf7}.worker-purchase-info{display:grid;gap:3px;flex:1;min-width:0}.worker-purchase-info .purchase-item-title{width:100%;overflow-wrap:normal;word-break:normal}.worker-purchase-info .purchase-item-title strong{font-size:16px;overflow-wrap:anywhere}.worker-purchase-item.delivered .purchase-item-title strong{color:#6f6054;text-decoration:line-through}.worker-delivered{color:#166534;font-size:13px;font-weight:700}.worker-purchase-item>button{flex:0 0 auto;min-height:44px;padding:8px 12px;white-space:normal}.worker-purchase-list{padding:12px 14px}.worker-purchase-list summary{cursor:pointer;font-size:15px;font-weight:800}.worker-purchase-list section h3{margin:12px 0 4px;font-size:14px}.worker-purchase-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 0;border-top:1px solid #f3ece4;background:transparent;color:#2b211c;text-align:left}.worker-purchase-list button>span:first-child{min-width:0;overflow-wrap:anywhere}.worker-purchase-list button>span:last-child{flex:0 0 auto}@media(max-width:640px){.worker-purchases-heading>button{min-height:44px}.worker-purchase-item>button{max-width:45%;font-size:13px}.worker-purchase-item:has(>.purchase-undo) .worker-purchase-info{min-width:0}}.material-summary{background:transparent!important;color:#2b211c!important;border:0!important;border-top:1px solid #efe6dc!important;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 16px!important;width:100%;border-radius:0!important}.material-summary>span:first-child{flex:1}.material-summary strong{font-size:14px;display:block}.material-summary small{display:block;color:#6f6054;font-size:12px}.purchase-categories{background:#fffdfa;border:1px solid #e8ddd2;border-radius:18px;padding:24px;margin-top:24px}.purchase-categories h2,.purchase-categories p{margin:0}.purchase-categories>form{display:flex;gap:8px}.purchase-categories>form input{flex:1;min-width:0}.purchase-category-row{display:flex;gap:10px;align-items:center;border-top:1px solid #f1e9e0;padding-top:12px}.purchase-category-row strong{flex:1}.purchase-category-row span{font-size:13px;color:#6f6054}.purchase-category-row button{font-size:13px}@media(max-width:1200px){.purchase-row{grid-template-columns:24px minmax(130px,2fr) minmax(100px,1fr) minmax(100px,1fr)}.purchase-row>.purchase-actions{grid-column:2/-1;justify-content:flex-start}.purchase-row:not(:has(>input)){grid-template-columns:minmax(140px,2fr) 1fr 1fr}.purchase-row:not(:has(>input))>.purchase-actions{grid-column:1/-1}}@media(max-width:640px){.purchase-bulk-approval{margin-left:0;width:100%}.purchase-bulk-approval strong{width:100%}.purchase-supplier-order{padding:12px 14px}.purchase-supplier-order-head>strong,.purchase-supplier-order-head>label:not(.check){width:100%}.purchase-supplier-order-row{grid-template-columns:24px minmax(0,1fr)}.purchase-supplier-order-context{grid-column:2}.purchases-v2{gap:14px}.purchase-heading{align-items:flex-start;flex-direction:column;gap:12px}.purchase-heading h1{font-size:28px}.purchase-heading>button{width:100%}.purchase-task-cards{grid-template-columns:1fr}.purchase-task-card{padding:14px 12px}.purchase-task-main{display:grid;grid-template-columns:40px minmax(0,1fr)}.purchase-task-due{grid-column:2;max-width:none;text-align:left}.purchase-task-subrow{grid-template-columns:1fr auto}.purchase-task-subrow span:last-child{grid-column:1 / -1}.purchase-filters>label{width:100%;justify-content:space-between}.purchase-filters select{min-width:0;flex:1}.purchase-filter-chips{gap:6px}.purchase-filter-chips button{font-size:12px;padding:8px 12px}.purchase-search>input{max-width:none}.purchase-group>header{padding:12px 14px;gap:8px}.purchase-row,.purchase-row:not(:has(>input)){grid-template-columns:24px minmax(0,1fr);gap:10px;padding:14px}.purchase-row:not(:has(>input)){grid-template-columns:minmax(0,1fr)}.purchase-row>.purchase-item-title{grid-column:2}.purchase-row:not(:has(>input))>.purchase-item-title{grid-column:1}.purchase-row>.purchase-tag,.purchase-row>.purchase-row-who,.purchase-row>.purchase-actions{grid-column:2}.purchase-row:not(:has(>input))>.purchase-tag,.purchase-row:not(:has(>input))>.purchase-row-who,.purchase-row:not(:has(>input))>.purchase-actions{grid-column:1}.purchase-row>.purchase-actions{justify-content:flex-start}.purchase-row>.purchase-row-who{display:flex;gap:8px;align-items:center}.purchase-row-who small{margin:0}.purchase-selection{bottom:74px;flex-wrap:wrap;padding:12px}.purchase-selection>span{display:none}.purchase-selection>.primary{width:100%}.purchase-fields{gap:10px}.purchase-paths>div{font-size:13px}.purchase-category-row{flex-wrap:wrap}.purchase-category-row strong{flex-basis:50%}.purchase-categories{padding:16px}.purchase-categories>form{flex-wrap:wrap}.purchase-categories>form>input{flex-basis:100%}.purchase-row-compact .purchase-row-who{display:block}.purchase-detail .purchase-actions{justify-content:flex-start}.purchase-worker-task{max-width:none}}.purchases-v2 .purchase-heading{background:transparent;color:var(--purchase-ink);padding:0;min-height:0}.purchase-group>header{color:var(--purchase-ink);min-height:0}.purchases-v2 .purchase-search{flex:0 0 auto}.purchase-selection .purchase-form>p{color:#fff}.purchase-selection .purchase-form label{color:#ead9c8}.purchases-v2 .text-link,.purchase-home .text-link{background:transparent;color:#8a5233;padding:0;text-align:left;align-self:flex-start}.purchase-link-picker{display:flex;flex-direction:column;gap:6px;grid-column:1 / -1}.purchase-link-picker>span{font-size:13px;font-weight:700}.purchase-link-kind{display:flex;gap:8px}.purchase-link-kind button{flex:1}.purchase-task-plan b{font-weight:800}.purchase-product-link{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 10px;border:1px solid #dccfc2;border-radius:8px;background:#fffdfa;color:#8a5233;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}.purchase-product-link span{color:#6f6054;font-weight:600}.purchase-expected{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:8px;background:#eef3fb;color:#1e4fa8;font-size:12px;font-weight:700}.purchase-expected.late{background:#fdecea;color:#b42318}.purchase-detail-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0}.purchase-detail-links .purchase-expected{margin-left:0}.purchase-hint{display:block;margin-top:4px;color:#6f6054;font-size:12px;font-weight:600}.purchase-hint.warn{color:#b42318}.purchase-move-link{align-self:flex-start}.purchase-route ol{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.purchase-route li{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 10px;border:1px solid #e8ddd2;border-radius:12px;background:#fffdfa}.purchase-route li strong{flex:1}.purchase-route li button{min-width:44px;min-height:40px}.purchase-stop-number{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:26px;height:26px;margin-right:8px;border-radius:50%;background:#3a2b23;color:#fff;font-size:13px;font-weight:800}.purchase-route li .purchase-stop-number{margin-right:0}.purchase-stop h3{display:flex;flex-wrap:wrap;align-items:center}.purchase-stop h3 small{margin-left:6px;color:#6f6054;font-weight:600}.purchase-later section h3{margin:12px 0 6px;color:#6f6054;font-size:14px}.purchase-supplier-row{display:block}.purchase-supplier-row summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;min-height:44px;cursor:pointer}.purchase-supplier-form{display:grid;gap:8px;margin:10px 0}.purchase-test-badge{display:inline-block;margin-inline-start:4px;padding:2px 6px;border-radius:6px;color:#f6d860;background:#3a2b23;font-size:10px;font-weight:800}dialog:has(.bulk-material-form){width:min(900px,calc(100% - 24px))}.bulk-material-form{display:flex;flex-direction:column;gap:16px;min-width:0}.bulk-material-form input,.bulk-material-form select,.bulk-material-form textarea{width:100%;min-width:0;min-height:44px}.bulk-material-form label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:700}.bulk-common{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-radius:14px;background:#f7f1ea}.bulk-common>strong,.bulk-common-path{grid-column:1 / -1}.bulk-common>strong{color:#8a5233;font-size:12px;letter-spacing:1px}.bulk-common-path{display:grid;gap:6px;font-size:13px;font-weight:700}.bulk-common-path>div{display:flex;flex-wrap:wrap;gap:8px}.bulk-rows{display:grid;gap:8px}.bulk-row-head,.bulk-row{display:grid;grid-template-columns:minmax(0,3fr) 90px 90px minmax(0,2fr) 82px;gap:8px;align-items:start}.bulk-row-head{color:#6f6054;font-size:12px;font-weight:800}.bulk-row-actions{display:flex;gap:3px}.bulk-row-actions button{min-height:44px;min-width:38px;padding:0;border:1px solid #e3d6c9;background:#fffdfa;color:#6f6054;font-size:18px}.bulk-row-link{grid-column:1 / -1}.bulk-add{justify-self:start}.bulk-paste{display:grid;gap:8px;padding:14px;border:1px dashed #c9b8a7;border-radius:14px}.bulk-paste textarea{min-height:105px}.bulk-paste>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.bulk-paste small,.bulk-material-form footer small{color:#6f6054;font-size:13px}.bulk-material-form footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.bulk-material-form footer button{min-height:52px}@media(max-width:700px){.bulk-common{grid-template-columns:1fr}.bulk-row-head{display:none}.bulk-row{grid-template-columns:minmax(0,1fr) 80px 80px;padding:12px;border:1px solid #e8ddd2;border-radius:12px}.bulk-row>input:first-child{grid-column:1 / -1}.bulk-row>select{grid-column:1 / 3}.bulk-row-actions{grid-column:3;justify-content:flex-end}.bulk-material-form footer button{width:100%}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#3e2c21;background:#efe7d8;font-synthesis:none}body{margin:0;min-width:320px;min-height:100vh}button{border:0;border-radius:9px;padding:10px 15px;color:#fff;background:#3e2c21;cursor:pointer;font-weight:700}button:disabled{cursor:not-allowed;opacity:.5}button.secondary{background:#b08655}button.ghost{color:#ded0b0;background:transparent}button.danger-outline{color:#a74628;background:transparent;border:1px solid #dcae9d}header{min-height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:10px 4vw;color:#faf6ee;background:#3e2c21}header .brand{display:flex;align-items:baseline;gap:10px;white-space:nowrap}header strong{font-size:20px}header span{color:#ded0b0;font-size:12px}.top-nav{display:flex;justify-content:center;gap:4px}.top-nav button{padding:8px 11px;color:#ded0b0;background:transparent;font-size:13px}.top-nav button:hover,.top-nav button.nav-active{color:#fff;background:#594032}.layout{width:min(1220px,94vw);margin:26px auto 60px}.panel,.metric,.project-card,.board,.presence-card,.staff-card{border:1px solid #d8cbb0;border-radius:14px;background:#faf6ee}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metric{display:flex;flex-direction:column;padding:18px}.metric b{color:#8c6a3f;font-size:28px}.metric span{color:#6b5644;font-size:12px}.metric.warning b{color:#b5502d}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:32px 0 14px}.section-head h2{margin:0}.section-head p,.settings-card p{margin:5px 0 0;color:#6b5644;font-size:13px}.actions,.row-actions,.quick-filters{display:flex;flex-wrap:wrap;gap:8px}.presence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.presence-card{padding:15px}.presence-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.presence-title i{color:#766454;font-size:11px;font-style:normal;font-weight:700}.presence-dot{width:9px;height:9px;border-radius:50%;background:#aaa095}.presence-card.is-online .presence-dot{background:#3f7c54;box-shadow:0 0 0 4px #d6e9dc}.presence-card p{min-height:32px;color:#6b5644;font-size:12px}.presence-card footer{display:flex;justify-content:space-between;color:#6b5644;font-size:11px}.presence-card footer b{color:#3e2c21}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.project-card{padding:16px}.project-card.clickable{cursor:pointer;transition:transform .15s,box-shadow .15s}.project-card.clickable:hover{transform:translateY(-2px);box-shadow:0 8px 22px #49301d18}.project-card small{color:#8c6a3f;text-transform:uppercase;font-weight:800}.project-card h3{margin:5px 0}.project-card p{margin:0;color:#6b5644;font-size:13px}.project-card footer{display:flex;justify-content:space-between;color:#6b5644;font-size:11px}.progress{height:5px;margin:18px 0 9px;overflow:hidden;border-radius:9px;background:#ded0b0}.progress span{display:block;height:100%;background:#4e6e81}.standalone{padding:0 0 12px}.board{margin-top:18px;overflow:hidden}.filter-row{display:flex;flex-wrap:wrap;gap:7px;padding:14px;border-bottom:1px solid #d8cbb0}.purchase-search{flex:1 1 220px;min-height:34px}.purchase-sort{flex:0 1 190px;min-height:34px}.chip{width:auto;margin:0;padding:6px 11px;color:#6b5644;background:transparent;border:1px solid #d8cbb0;border-radius:999px;font-size:12px}.chip.active{color:#fff;background:#3e2c21;border-color:#3e2c21}.danger-chip{color:#a74628!important;border-color:#dcae9d!important;background:#fff8f5!important}.tr{display:grid;grid-template-columns:1.1fr 1.5fr 1.25fr .65fr 1fr;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #e5dbc6;font-size:13px}.tr:last-child{border:0}.table-head{color:#6b5644;background:#f3eadb;font-size:11px;font-weight:800;text-transform:uppercase}.status{display:inline-block;padding:4px 8px;color:#3e2c21;background:#ded0b0;border-radius:999px;font-size:11px;font-style:normal;font-weight:700}.status.in_progress{color:#365566;background:#d8e3e8}.status.blocked{color:#923c20;background:#f0d3c8}.status.done{color:#315c43;background:#d5e4d9}.staff-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.staff-head-actions{display:flex;flex-wrap:wrap;gap:8px}.staff-card.staff-card-test{background:#fffbe8;border-color:#ead99d}.staff-card .test-badge{display:inline-block;padding:2px 6px;border-radius:6px;color:#f6d860;background:#3a2b23;font-size:10px;font-weight:800}.staff-card{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:14px}.staff-card.is-disabled{opacity:.58}.staff-avatar{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:#8c6a3f;border-radius:50%;font-weight:800}.staff-card>div:nth-child(2){min-width:0;display:grid;gap:3px}.staff-card span,.staff-card small{overflow:hidden;color:#6b5644;text-overflow:ellipsis}.staff-card span{font-size:12px}.staff-card small{font-size:10px}.staff-actions{display:grid;gap:5px}@media(max-width:600px){.staff-card{grid-template-columns:42px minmax(0,1fr);align-items:start}.staff-actions{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}.time-filters{display:grid;grid-template-columns:1.2fr .7fr .7fr 1fr;align-items:end;gap:12px;padding:14px}.time-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.time-summary>div{display:grid;gap:3px;padding:13px;border-radius:10px;background:#e3d6bd}.time-summary span,.shift-row span{color:#6b5644;font-size:11px}.time-toolbar{display:grid;grid-template-columns:180px minmax(190px,1fr) auto auto auto;align-items:end;gap:12px;padding:14px}.time-check{align-self:center;margin-bottom:5px;white-space:nowrap}.time-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.period-badge{display:grid;align-content:center;min-height:44px;padding:7px 11px;border-radius:9px;color:#315c43;background:#d5e4d9;font-size:12px;font-weight:800;white-space:nowrap}.period-badge small{color:#6b5644;font-size:10px;font-weight:500}.period-badge.locked{color:#923c20;background:#f0d3c8}.month-report{overflow:hidden}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #d8cbb0}.report-heading h3{margin:8px 0 3px}.report-heading p{margin:0;color:#6b5644;font-size:12px}.report-heading>span{color:#6b5644;font-size:12px;white-space:nowrap}.table-scroll{overflow-x:auto}.report-table{width:100%;min-width:920px;border-collapse:collapse;font-size:12px}.report-table th,.report-table td{padding:11px 12px;border-bottom:1px solid #e5dbc6;text-align:left;vertical-align:middle}.report-table th{color:#6b5644;background:#f3eadb;font-size:10px;text-transform:uppercase;white-space:nowrap}.report-table td{white-space:nowrap}.report-table td:first-child{white-space:normal}.report-table tbody tr:last-child td{border-bottom:0}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f7f0e4}.deleted-row{color:#8f8175;background:#f5ede7}.deleted-row td{text-decoration:line-through}.deleted-row td:last-child,.deleted-row .status,.deleted-row .table-note{text-decoration:none}.table-note{display:block;max-width:150px;overflow:hidden;margin-top:4px;color:#a74628;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.timesheet-day-note{width:170px;min-width:140px;min-height:58px;padding:8px;border:1px solid #d9c7ad;border-radius:8px;background:#fffdf9;color:#3e2c21;font:inherit;font-size:12px;line-height:1.35;resize:vertical}.timesheet-day-note:focus{outline:2px solid #a56843;outline-offset:1px}.timesheet-days{display:grid;gap:12px;padding:14px}.timesheet-day{display:grid;gap:10px;padding:14px;border:1px solid #e2d2b8;border-radius:12px;background:#fffdf9}.timesheet-day-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:9px;border-bottom:1px solid #eadfce}.timesheet-day-heading h4{margin:0;text-transform:capitalize}.timesheet-day-heading span{color:#786555;font-size:12px}.timesheet-day-totals,.timesheet-shift-facts{display:flex;flex-wrap:wrap;gap:8px 16px}.timesheet-day-totals span,.timesheet-shift-facts span{color:#725d4a;font-size:12px}.timesheet-day-totals b,.timesheet-shift-facts b{color:#3e2c21}.timesheet-shift{display:grid;gap:8px;padding:11px;border:1px solid #eee4d6;border-radius:9px}.timesheet-shift-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.timesheet-shift-orders{display:grid;grid-template-columns:minmax(120px,auto) 1fr;gap:8px;font-size:12px;overflow-wrap:anywhere}.timesheet-shift-audit{color:#a74628;font-size:12px}.timesheet-shift-actions{display:flex;flex-wrap:wrap;gap:6px}.timesheet-day-note-wrap{display:grid;gap:5px;color:#6b5644;font-size:12px}.timesheet-day-note-wrap .timesheet-day-note{width:100%;box-sizing:border-box}.report-table .row-actions{min-width:280px}.print-footer{display:none}.time-list{display:grid;gap:10px}.shift-row{display:grid;grid-template-columns:1.4fr .65fr .7fr .7fr 1.15fr .8fr;align-items:center;gap:13px;padding:14px}.shift-row>div{display:grid;gap:4px}.shift-main small{color:#a74628;font-size:10px}.break-actions{grid-template-columns:auto auto;align-items:center}.break-actions>div{display:flex;gap:3px}.shift-cost{text-align:right}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.purchase-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;align-items:start}.purchase-lists,.purchase-detail{overflow:hidden}.panel-title,.purchase-items-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #d8cbb0}.panel-title h3,.purchase-items-head h4{margin:0}.panel-title>span{color:#6b5644;font-size:12px}.purchase-list-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;width:100%;padding:14px 16px;color:#3e2c21;background:transparent;border-radius:0;border-bottom:1px solid #e5dbc6;text-align:left}.purchase-list-card:hover,.purchase-list-card.selected{background:#f3eadb}.purchase-list-card>div{display:grid;gap:4px;min-width:0}.purchase-list-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-list-card small,.purchase-list-card footer{color:#6b5644;font-size:11px}.purchase-list-card footer{grid-column:1 / -1;display:flex;justify-content:space-between;gap:8px}.purchase-draft{color:#6b5644;background:#e8dfd1}.purchase-active{color:#315c43;background:#d5e4d9}.purchase-completed{color:#365566;background:#d8e3e8}.purchase-archived{color:#766454;background:#e5dbc6}.purchase-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 16px;border-bottom:1px solid #d8cbb0}.purchase-detail-head h3{margin:8px 0 3px}.purchase-detail-head p{margin:0;color:#6b5644;font-size:12px}.purchase-meta{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 16px;color:#6b5644;background:#f3eadb;font-size:11px}.purchase-items{display:grid;gap:8px;padding:12px}.purchase-item{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;align-items:center;padding:12px;border:1px solid #e5dbc6;border-radius:10px;background:#fffdf9}.purchase-item.priority-urgent{border-color:#dcae9d;background:#fff8f5}.purchase-item.is-cancelled{opacity:.6}.purchase-item>*,.purchase-detail-head>div:first-child,.purchase-meta>span{min-width:0;overflow-wrap:anywhere}.purchase-item-check{display:flex;align-items:flex-start;gap:9px;min-width:0}.purchase-item-check>div{display:grid;gap:4px;min-width:0}.purchase-item-check small,.purchase-item-check p{margin:0;color:#6b5644;font-size:11px}.purchase-item-check p{white-space:pre-wrap}.purchase-priority{width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:#d8cbb0;border-radius:50%;font-size:12px;font-weight:900}.purchase-priority.priority-high{color:#923c20;background:#f0d3c8}.purchase-priority.priority-urgent{color:#fff;background:#b5502d}.purchase-item-fields{display:grid;grid-template-columns:1fr 90px;gap:6px;align-items:center}.purchase-item-fields input,.purchase-item-fields select{min-height:36px;padding:6px 8px;font-size:11px}.purchase-item-fields small{grid-column:1 / -1;color:#6b5644;font-size:10px}.item-suggested{background:#e8dfd1}.item-approved,.item-to_buy{background:#ded0b0}.item-ordered{color:#365566;background:#d8e3e8}.item-purchased,.item-in_workshop{color:#315c43;background:#d5e4d9}.item-cancelled{color:#923c20;background:#f0d3c8}.notification-settings{grid-column:1 / -1}.notification-pref-list{display:grid;gap:8px}.notification-pref{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px;border:1px solid #e5dbc6;border-radius:9px;background:#fffdf9}.notification-pref>div{display:grid;gap:3px}.notification-pref strong{font-size:12px}.notification-pref small{color:#6b5644;font-size:10px}.settings-card{display:grid;align-content:start;gap:13px;padding:20px}.settings-card h3{margin:0}.save-settings,.success-message{grid-column:1 / -1}.success-message{padding:10px 13px;color:#315c43;background:#d5e4d9;border-radius:9px}form{display:grid;gap:12px}label{display:grid;gap:5px;color:#6b5644;font-size:12px;font-weight:700}input,select,textarea{width:100%;min-height:44px;padding:8px 10px;color:#3e2c21;background:#fff;border:1px solid #d8cbb0;border-radius:9px}textarea{min-height:85px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-note{margin:0;color:#6b5644;font-size:12px;line-height:1.45}fieldset{padding:12px;border:1px solid #d8cbb0;border-radius:10px}legend{color:#6b5644;font-size:12px;font-weight:700}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}label.check{grid-template-columns:auto 1fr;align-items:center}label.check input{width:18px;min-height:18px}.error{color:#b5502d;font-size:13px}.empty{padding:22px;color:#6b5644;text-align:center}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#2b2118a8}.modal{width:min(500px,100%);max-height:92vh;overflow-y:auto;padding:20px;background:#faf6ee;border:1px solid #d8cbb0;border-radius:14px;box-shadow:0 25px 70px #1f160f66}.modal-wide{width:min(780px,100%)}.modal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-title h2{margin:0}.modal-title .close{padding:0 8px;color:#6b5644;font-size:26px}.upload-row{display:grid;grid-template-columns:auto 1fr 160px auto;align-items:center;gap:8px;padding-bottom:14px;border-bottom:1px solid #d8cbb0}.file-button{display:block;padding:10px 13px;color:#fff;background:#b08655;border-radius:9px;cursor:pointer;text-align:center}.file-button input{display:none}.upload-row>span{overflow:hidden;color:#6b5644;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.file-list{display:grid;gap:8px;margin-top:12px}.file-row{display:grid;grid-template-columns:minmax(130px,1.5fr) 140px 1fr auto;align-items:center;gap:8px;padding:9px;background:#f3eadb;border-radius:9px}.file-name{overflow:hidden;padding:0;color:#365566;background:transparent;text-align:left;text-overflow:ellipsis;white-space:nowrap}.receipt-link{display:block;max-width:100%;margin-top:5px;font-size:11px}.file-row small{color:#6b5644}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login-panel{width:min(390px,100%);padding:30px}.brand-mark{width:52px;height:52px;display:grid;place-items:center;color:#fff;background:#b08655;border-radius:14px;font-weight:900}.brand-mark img{width:100%;height:100%;border-radius:14px;object-fit:cover}.login h1{margin-bottom:0}.login p{margin-top:4px;color:#6b5644}.login form button{width:100%;margin-top:8px}.google-login{min-height:44px;display:flex;justify-content:center;margin:20px 0 10px}.login-note{color:#6b5644;font-size:12px;text-align:center}.login-separator{display:flex;align-items:center;gap:10px;margin:16px 0;color:#8c7a68;font-size:11px}.login-separator:before,.login-separator:after{content:"";height:1px;flex:1;background:#d8cbb0}@media(max-width:1050px){header{grid-template-columns:1fr auto}.top-nav{grid-column:1 / -1;grid-row:2;justify-content:flex-start;overflow-x:auto}.logout{grid-column:2;grid-row:1}.presence-grid,.projects{grid-template-columns:repeat(2,1fr)}.shift-row{grid-template-columns:1.4fr repeat(3,.7fr)}.break-actions,.shift-cost{grid-column:span 2;text-align:left}}@media(max-width:760px){.metrics,.time-summary{grid-template-columns:repeat(2,1fr)}.presence-grid,.projects,.staff-grid,.settings-grid{grid-template-columns:1fr}.section-head{align-items:stretch;flex-direction:column}.tr{grid-template-columns:1fr 1.5fr 1fr}.tr>*:nth-child(3),.table-head>*:nth-child(3){display:none}.time-filters{grid-template-columns:1fr 1fr}.quick-filters{grid-column:1 / -1}.shift-row{grid-template-columns:1fr 1fr}.shift-main,.break-actions,.shift-cost{grid-column:1 / -1}.file-row{grid-template-columns:1fr auto}.file-row small{grid-column:1 / -1}.upload-row{grid-template-columns:1fr 1fr}.upload-row>span{grid-column:1 / -1}}@media(max-width:480px){header .brand span{display:none}.layout{width:94vw}.top-nav button{padding:7px 9px;white-space:nowrap}.metrics{gap:8px}.metric{padding:13px}.tr{grid-template-columns:1.2fr 1fr}.tr>*:nth-child(1),.table-head>*:nth-child(1){display:none}.form-grid,.check-grid,.upload-row,.time-filters{grid-template-columns:1fr}.quick-filters,.upload-row>span{grid-column:auto}}@media(max-width:1050px){.time-toolbar{grid-template-columns:1fr 1fr}.time-actions,.period-badge{justify-self:start}}@media(max-width:600px){.time-toolbar{grid-template-columns:1fr}.time-actions{justify-content:flex-start}.report-heading{align-items:flex-start;flex-direction:column}}@media(max-width:900px){.purchase-layout,.purchase-item{grid-template-columns:1fr}}@media(max-width:600px){.purchase-detail-head{flex-direction:column}.purchase-item-fields{grid-template-columns:1fr 1fr}.purchase-list-card footer{flex-direction:column}}@media print{@page{size:landscape;margin:12mm}body{color:#000;background:#fff}header,.no-print,.time-summary,.print-footer+*{display:none!important}.layout{width:100%;margin:0}.month-report{border:1px solid #999}.report-heading{padding:8px 10px}.report-heading h3{margin:0 0 3px}.report-table{min-width:0;font-size:9px}.report-table th,.report-table td{padding:5px 6px;border-color:#bbb}.timesheet-days{padding:8px;gap:8px}.timesheet-day{break-inside:avoid;padding:8px;gap:6px}.timesheet-shift{padding:7px}.timesheet-day-note{min-height:34px;border-color:#aaa}.print-footer{display:block;margin-top:12px;font-size:10px}}.notice-menu{position:relative}.notice-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:50;width:min(420px,92vw);max-height:75dvh;overflow-y:auto;padding:18px;border-radius:14px;background:#fff;color:#332d28;box-shadow:0 12px 42px #0003;display:grid;gap:10px}.notice-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.notice-row{display:grid;gap:6px;text-align:left;background:#f7f5f2;color:#332d28;border:1px solid #e4dfd7}.notice-row span{font-weight:400;font-size:13px;line-height:1.4}.notice-unread{border-left:4px solid #ae6946}.correction-inbox{margin:16px 0;padding:18px}.correction-inbox-list{display:grid;gap:10px}.correction-inbox-list article{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #e3d6c5;border-radius:10px;background:#fffaf2}.correction-inbox-list article>div:first-child{min-width:0;flex:1 1 220px}.correction-inbox-list small{display:block;margin-top:3px;color:#6b5644}.correction-inbox-list p{margin:8px 0 0;overflow-wrap:anywhere}.correction-review{display:grid;gap:12px}@media(max-width:700px){.notice-panel{position:fixed;top:80px;right:4vw}}.shift-orders-cell{min-width:170px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.shift-orders-cell span{display:block;margin-bottom:4px}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#2f2924;background:#f4efe8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4efe8}button,input,select,textarea{font:inherit}button{border:0;border-radius:9px;padding:10px 14px;color:#fff;background:#3f3027;cursor:pointer;font-weight:700}button:hover:not(:disabled){filter:brightness(1.05)}button:disabled{cursor:not-allowed;opacity:.55}button.primary,.button.primary{color:#fff;background:#9b6746}button.secondary{color:#3f3027;background:#e7d8c7}button.ghost{color:#6f5748;background:transparent}a{color:#8b5b3f}.loading-page,.login-page{min-height:100vh;display:grid;place-items:center;padding:20px}.loading-page{color:#6f5748}.login-card{width:min(430px,100%);padding:34px;border:1px solid #dfd2c2;border-radius:18px;background:#fffdf9;box-shadow:0 18px 60px #4d392318}.brand{display:grid;gap:2px;color:#3f3027}.brand strong{letter-spacing:.12em;font-size:18px}.brand span{color:#9b6746;letter-spacing:.18em;font-size:11px}.login-card h1{margin:28px 0 8px;font-size:clamp(26px,5vw,36px)}.login-card>p{color:#6f6258;line-height:1.5}.language{display:flex;gap:4px}.language button{padding:6px 9px;color:#806d5f;background:transparent;font-size:11px}.language button.selected{color:#fff;background:#3f3027}.login-card .language{margin:18px 0}.separator{margin:16px 0;color:#88796f;font-size:12px;text-align:center}fieldset{display:grid;gap:12px;padding:0;border:0}label{display:grid;gap:5px;color:#6f6258;font-size:12px;font-weight:700}input,select,textarea{width:100%;min-height:42px;padding:9px 11px;color:#2f2924;background:#fff;border:1px solid #d9cbbb;border-radius:9px}textarea{min-height:88px;resize:vertical}.full{width:100%}.error-box{margin:10px 0;padding:10px 12px;color:#8e3b28;background:#fff0ea;border:1px solid #e1b7a6;border-radius:9px;font-size:13px;line-height:1.4}.workspace{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex:0 0 230px;flex-direction:column;width:230px;min-height:100vh;padding:28px 15px 18px;color:#f8f3eb;background:#3f3027}.sidebar .brand{margin:0 12px 35px;color:#fff}.sidebar .brand span{color:#d6b897}.nav-caption{margin:0 12px 8px;color:#cbb8a7;font-size:11px}.sidebar nav,.sidebar-bottom{display:grid;gap:4px}.sidebar nav button,.sidebar-bottom button{display:flex;align-items:center;gap:10px;color:#ddcdbd;background:transparent;text-align:left}.sidebar nav button.selected,.sidebar nav button:hover,.sidebar-bottom button:hover{color:#fff;background:#5c4538}.sidebar-bottom{margin-top:auto}.sidebar-bottom p{margin:24px 12px 0;color:#bda997;font-size:11px;line-height:1.5}.icon{width:19px;height:19px;flex:0 0 auto}.workspace-main{min-width:0;flex:1}.view-as-banner{position:sticky;top:0;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px clamp(18px,4vw,54px);background:#fff0c8;color:#4d3517;border-bottom:1px solid #dbbf80}.view-as-banner button{background:#604021}.view-as-workspace .topbar{top:53px}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;padding:12px clamp(18px,4vw,54px);background:#fffdf9e8;border-bottom:1px solid #e4d8ca;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.breadcrumbs{color:#806d5f;font-size:12px}.toolbar{display:flex;align-items:center;gap:10px}.notification-button{position:relative;display:grid;place-items:center;padding:8px;color:#5d4a3d;background:transparent}.refresh-button{display:flex;align-items:center;gap:6px;padding:8px 10px;color:#5d4a3d;background:#f0e6da;font-size:12px}.refresh-button span{font-size:19px;line-height:1}.notification-button span{position:absolute;top:2px;right:0;min-width:17px;padding:2px 4px;color:#fff;background:#b5533c;border-radius:10px;font-size:10px}.profile{display:flex;align-items:center;gap:8px;padding:5px 9px 5px 5px;color:#3f3027;background:#f0e6da}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;color:#fff;background:#9b6746;border-radius:50%;font-size:12px;font-weight:800}.content{width:min(1260px,100%);margin:0 auto;padding:32px clamp(18px,4vw,54px) 70px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{color:#9b6746;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:8px;font-size:clamp(28px,4vw,43px);letter-spacing:-.03em}.page-heading p{margin-bottom:0;color:#806d5f}.card{margin:14px 0;padding:19px;border:1px solid #e2d6c8;border-radius:14px;background:#fffdf9;box-shadow:0 8px 26px #4d39230a}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.card-heading h2,.card>h2{margin-bottom:0;font-size:17px}.card-heading button{color:#8b5b3f;background:transparent;padding:4px;font-size:12px}.notification-list{display:grid;gap:8px}.notification-list .card-heading{margin-bottom:4px}.notification-row{display:grid;gap:4px;width:100%;padding:12px 14px;color:#2f2924;background:#f8f3ed;border:1px solid #eadfd3;border-radius:10px;text-align:left;font-weight:400}.notification-row:hover:not(:disabled){background:#f1e7dd}.notification-row strong{font-size:13px}.notification-body{overflow:hidden;color:#69594c;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.notification-row small{color:#8b7766;font-size:11px}.month-controls{display:flex;gap:8px}.month-controls select{min-width:0;width:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats>div,.stats>button{display:grid;gap:5px;padding:16px;border:1px solid #e2d6c8;border-radius:12px;background:#fffdf9}.stats>button{color:inherit;text-align:left}.stats>button:hover{border-color:#9b6746}.stats small,.small-note{color:#806d5f;font-size:11px}.stats strong{font-size:26px}.order-filter-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 16px;border-radius:10px;background:#eee1d0}.order-filter-banner button{color:#704322;text-decoration:underline}.dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.project-row,.team-row{display:flex;align-items:center;gap:10px;width:100%;margin-top:8px;padding:10px;color:#3f3027;background:transparent;text-align:left}.project-row:hover{background:#f5eee6}.object-mark{display:grid;place-items:center;width:33px;height:33px;color:#fff;background:#9b6746;border-radius:9px}.grow{min-width:0;flex:1}.grow,.team-row{overflow:hidden}.grow strong,.grow small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grow small,.team-row small{margin-top:3px;color:#806d5f;font-size:11px}.team-row{padding:7px 0}.team-row .avatar{width:28px;height:28px}.filter-bar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.filter-bar input{flex:1}.check{display:flex;grid-template-columns:auto auto;align-items:center;gap:6px;white-space:nowrap}.check input{width:18px;min-height:18px}.project-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.project-card{display:grid;gap:7px;padding:17px;color:#3f3027;border:1px solid #e2d6c8;border-radius:13px;background:#fffdf9;text-align:left}.project-card:hover{border-color:#bd9475;transform:translateY(-1px)}.project-card small{color:#9b6746;font-weight:800}.project-card p{margin:0;color:#806d5f;font-size:12px}.project-progress{height:5px;overflow:hidden;border-radius:5px;background:#eadfd3}.project-progress span{display:block;height:100%;background:#9b6746}.notice{margin:0 0 14px;padding:12px 14px;color:#704322;background:#fff3dc;border:1px solid #e8c993;border-radius:10px;font-size:13px}.notice button{margin-left:8px;padding:5px 8px;color:#704322;background:transparent;text-decoration:underline}.empty{padding:35px 15px;color:#806d5f;text-align:center}.bottom-nav{display:none}.workspace-footer{padding:20px 0;color:#a18e7d;font-size:10px;letter-spacing:.12em;text-align:center}.legacy{margin-top:-15px}dialog{width:min(660px,calc(100% - 30px));max-height:90vh;padding:20px;color:#2f2924;border:1px solid #e2d6c8;border-radius:15px;background:#fffdf9;box-shadow:0 20px 70px #271b1299}dialog::backdrop{background:#241b15aa}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.dialog-heading h2{margin:0}.icon-button{padding:3px 8px;color:#806d5f;background:transparent;font-size:25px}.file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.file-tile{display:grid;gap:4px;min-width:0;padding:11px;color:#3f3027;background:#f6efe7;text-align:left}.file-tile strong,.file-tile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tile small{color:#806d5f;font-size:10px}.file-symbol{color:#9b6746;font-size:20px}.preview-image{display:block;max-width:100%;max-height:55vh;margin:0 auto 14px}.preview-frame{width:100%;height:55vh;border:1px solid #e2d6c8}@media(max-width:980px){.sidebar{flex-basis:200px;width:200px}.dashboard-grid,.project-cards{grid-template-columns:1fr 1fr}}@media(max-width:720px){.workspace{display:block;padding-bottom:65px}.sidebar{display:none}.topbar{padding:10px 16px}.profile strong,.breadcrumbs{display:none}.content{padding:22px 15px 35px}.page-heading{align-items:stretch;flex-direction:column}.stats,.dashboard-grid,.project-cards{grid-template-columns:1fr 1fr}.bottom-nav{position:fixed;z-index:10;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fffdf9f2;border-top:1px solid #e2d6c8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{display:grid;justify-items:center;gap:2px;padding:5px;color:#806d5f;background:transparent;font-size:10px}.bottom-nav button.selected{color:#9b6746}}@media(max-width:480px){.stats,.dashboard-grid,.project-cards,.file-grid{grid-template-columns:1fr}.filter-bar{align-items:stretch;flex-direction:column}.toolbar .language{display:none}.card{padding:15px}}.workspace-main,.content,.card,.shift-card,.project-card,dialog{min-width:0}.content{overflow-wrap:anywhere;line-height:1.5}.card,.project-card{line-height:1.5}.toolbar,.form-footer,.shift-actions{min-width:0;flex-wrap:wrap}.shift-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin:14px 0;padding:24px;border:1px solid #e2d6c8;border-radius:16px;background:#fffdf9}.shift-card h2{margin:5px 0 10px;line-height:1.2}.shift-card p{margin-bottom:8px}.shift-clock{color:#8b5b3f;font-size:clamp(30px,6vw,44px);font-weight:800;line-height:1.15}.shift-actions{display:grid;gap:12px;justify-items:stretch}.shift-actions .toolbar{display:flex;flex-wrap:wrap;gap:10px}.shift-actions small{max-width:230px;color:#806d5f;line-height:1.4}.shift-preview{padding:12px;border-radius:10px;background:#f6eee4;line-height:1.4}.shift-preview strong{font-size:20px}.shift-end-heading,.shift-end-choice{display:grid;gap:8px;margin-bottom:14px}.shift-end-heading>strong{font-size:26px;line-height:1.2}.shift-end-heading>small,.shift-end-choice-heading small{color:#806d5f}.shift-end-choice{padding:16px;border:1px solid #e2d6c8;border-radius:15px;background:#fffdf9}.shift-end-choice-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:5px 12px}.shift-end-choice-heading strong{font-size:17px}.shift-end-options{display:grid;gap:8px}.lunch-options{grid-template-columns:repeat(2,minmax(0,1fr))}.coffee-options{grid-template-columns:repeat(auto-fit,minmax(52px,1fr))}.shift-end-options button{min-width:0;min-height:56px;padding:8px;border:1px solid #dccfc2;border-radius:12px;background:#fffdf9;color:#2f2924;font-size:16px;font-weight:800;white-space:normal}.coffee-options button{font-size:20px}.shift-end-options button.selected{border-color:#8a5233;background:#8a5233;color:#fff}.shift-end-preview{display:grid;gap:5px;margin-bottom:14px;padding:16px;border-radius:14px;background:#3a2b23;color:#fff}.shift-end-preview span{color:#ead9c8}.shift-end-preview strong{font-size:22px}@media(max-width:480px){.lunch-options button{padding:6px 4px;font-size:14px}}.check{white-space:normal;line-height:1.45}.check input{flex:0 0 18px}.correction-control{display:grid;justify-items:start;gap:7px;min-width:180px;font-size:13px;white-space:normal}.correction-control small{color:#6f6258;overflow-wrap:anywhere}.correction-status{display:inline-block;padding:5px 9px;color:#73460f;background:#fff0d4;border-radius:999px;font-size:12px;font-weight:700}.correction-status.resolved{color:#275c41;background:#e2f3e8}.correction-form{display:grid;gap:12px}.hours-card .table-scroll{max-width:100%;overflow-x:auto}.hours-card table{width:100%;border-collapse:collapse}.hours-card th,.hours-card td{padding:12px 10px;border-bottom:1px solid #eadfd3;text-align:left;vertical-align:top}.hours-card .total-hours{margin:10px 0 18px;font-size:30px;font-weight:800}.hours-card .total-hours small{display:block;color:#806d5f;font-size:12px;font-weight:500}.order-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px}.order-toolbar>input{flex:1;min-width:0}.order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:9px}.order-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;align-items:start}.order-group{min-width:0;margin:0 0 18px}.order-group>summary{display:flex;align-items:center;gap:10px;margin-bottom:9px;padding:8px 2px;color:#3f3027;font-size:17px;font-weight:800;cursor:pointer}.order-group>summary strong{padding:2px 8px;border-radius:12px;background:#e9dac9;font-size:12px}.order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;min-width:0;padding:13px 15px;color:#33291f;background:#fffdf9;border:1px solid #e2d6c8;border-radius:14px;text-align:left;font-weight:400}.order-card:hover{border-color:#b28d70}.order-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;grid-column:1 / -1}.order-card-top strong{min-width:0;color:#8a5233;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-card-top span{flex:0 0 auto;max-width:46%;padding:3px 7px;color:#654833;background:#efe1d2;border-radius:20px;font-size:11px;text-align:center}.order-card-title{display:-webkit-box;grid-column:1 / -1;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:15px;line-height:1.25;overflow-wrap:anywhere}.order-card-meta{min-width:0;overflow:hidden;color:#6f6258;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.order-card-meta .missing-master{color:#a13f31;font-weight:800}.order-sort{display:flex;gap:6px}.order-sort button{min-height:44px;padding:0 12px;white-space:nowrap}.order-card-new{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:6px;background:#166534;color:#fff;font-size:11px;font-style:normal;font-weight:800;vertical-align:middle}.order-card-added{grid-column:1 / -1;color:#6f6054;font-size:12px;font-weight:600}.order-card-measurement,.order-card-partial{grid-column:1 / -1;font-size:12px;font-weight:700}.order-card-measurement{color:#24476b}.order-card-partial{color:#95501d}.order-card-due{justify-self:end;color:#7a6758;font-size:11px;white-space:nowrap}.order-card-due.soon{color:#95501d;font-weight:800}.order-card-due.overdue{color:#b52f28;font-weight:800}@media(max-width:600px){.order-groups,.order-grid{grid-template-columns:1fr}.order-card{grid-template-columns:minmax(0,1fr)}.order-card-due{justify-self:start}}.order-form{display:grid;gap:14px}.order-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-customer-picker,.order-part-editor,.order-detail{display:grid;gap:11px}.order-customer-options{display:grid;gap:3px;padding:5px;border:1px solid #dfd0be;border-radius:9px;background:#fff}.order-customer-empty{padding:9px;color:#6f6258;font-size:13px}.order-customer-options button{display:flex;justify-content:space-between;gap:8px;min-height:43px;color:#3f3027;background:#fff;font-size:13px;text-align:left}.order-customer-options button:hover{background:#f5eee6}.order-customer-picker small{color:#3a704d}.customer-list{display:grid;gap:5px;max-height:50vh;overflow:auto;margin-top:12px}.customer-row{display:flex;justify-content:space-between;gap:10px;min-height:44px;color:#3f3027;background:#f5eee6;text-align:left}.customer-row span{color:#806d5f;font-weight:400}.order-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.order-admin-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:10px}.order-admin-actions .archive-badge{margin-right:auto;padding:6px 10px;color:#654833;background:#efe1d2;border-radius:20px;font-size:13px;font-weight:700}.archive-menu{position:relative}.archive-menu summary{min-height:44px;display:flex;align-items:center;padding:0 14px;border:1px solid #d9c8b8;border-radius:10px;background:#fffdf9;color:#3b2f27;font-weight:700;cursor:pointer;list-style:none}.archive-menu summary::-webkit-details-marker{display:none}.archive-menu[open] summary{border-color:#8a5233}.archive-menu-list{position:absolute;top:calc(100% + 6px);right:0;z-index:10;display:grid;gap:6px;min-width:210px;padding:10px;background:#fffdf9;border:1px solid #e2d6c8;border-radius:12px;box-shadow:0 12px 28px #3b2a1f26}.archive-menu-list small{color:#7a6758;font-size:12px;font-weight:700}.archive-menu-list button{width:100%;min-height:44px;text-align:left}button.danger{min-height:44px;color:#8f2d1f;background:#fff5f2;border:1px solid #e3b4a8}button.danger:hover{background:#fde8e2}.order-suggest{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:12px 14px;background:#eef5ea;border:1px solid #c6dcbc;border-radius:12px;color:#2f4a26;font-weight:700}.release-note{margin:0 0 10px;color:#5b6b4f;font-size:13px;font-weight:600}.release-note.pending{color:#8a5233}.order-release-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 10px}.order-release-row .release-note{margin:0}.release-badge{justify-self:start;padding:4px 9px;color:#8a5233;background:#fbefe3;border:1px solid #ecd0b6;border-radius:20px;font-size:12px;font-weight:700}.order-support-section:empty{display:none}.order-support-section:not(:empty){scroll-margin-block:12px}.order-detail>h3{margin:10px 0 0}.order-part{display:grid;gap:10px;padding:15px;border:1px solid #e2d6c8;border-radius:11px;background:#fcf8f2}.order-part p{margin:0;color:#68594c;font-size:13px}.order-part>button{justify-self:start}.order-part-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}.order-part-heading span{color:#7b5238;font-size:12px;font-weight:700}.order-part-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.order-qc{display:grid;gap:9px}.order-add-part{display:grid;gap:10px;justify-items:start}.order-add-part form{width:100%}.order-helpers{padding:8px 0;border-top:1px solid #eadfd3}.order-helpers summary{color:#6b4b35;font-size:13px;font-weight:700;cursor:pointer}.order-helpers .check{margin-top:8px}.shift-work-picker{display:grid;gap:9px;margin-bottom:18px;padding:14px;border-radius:11px;background:#f6eee4}.shift-work-picker h3,.shift-work-picker p{margin:0}.shift-work-picker>p{color:#6f6258;font-size:13px}.shift-work-item{display:grid;gap:4px;padding:11px;border-radius:9px;background:#fffdf9}.shift-work-item small{color:#806d5f}.shift-work-options{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:6px}.shift-work-recorded{color:#2f6a49!important}@media(max-width:600px){.order-toolbar{flex-wrap:wrap}.order-toolbar>input{flex-basis:100%}.order-form-grid,.order-part-controls{grid-template-columns:1fr}.order-card-top span{max-width:55%}.customer-row{flex-direction:column}}@media(max-width:720px){.workspace{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.topbar{min-height:68px;padding:12px 18px}.content{padding:26px 18px 48px}.page-heading{gap:14px;margin-bottom:22px}.page-heading h1{font-size:clamp(27px,7vw,36px);line-height:1.16}.card,.project-card{margin:16px 0;padding:20px}.shift-card{grid-template-columns:1fr;gap:18px;padding:22px}.shift-actions{width:100%}.shift-actions button{min-height:46px}.shift-actions small{max-width:none}.card-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.month-controls{width:100%}.month-controls select{flex:1;min-width:0}.bottom-nav{gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.bottom-nav button{min-width:0;min-height:53px;padding:7px 4px;font-size:12px;line-height:1.25;white-space:normal}dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:20px}.dialog-heading h2{font-size:21px;line-height:1.2}.form-footer{display:flex;gap:10px}.form-footer button{flex:1 1 160px;min-height:44px;white-space:normal}.hours-card .table-scroll{overflow:visible}.hours-card table,.hours-card tbody,.hours-card tr,.hours-card td{display:block;width:100%}.hours-card thead{display:none}.hours-card tr{margin-bottom:15px;padding:16px;border:1px solid #e6d9c9;border-radius:12px;background:#faf6f0}.hours-card td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 0;border:0;font-size:14px}.hours-card td:before{content:attr(data-label);color:#806d5f;font-size:12px;font-weight:700}.hours-card td:last-child{display:block;padding-top:12px;border-top:1px solid #e6d9c9}.hours-card td:last-child:before{content:none}.hours-card .correction-control{width:100%}.hours-card .correction-control button{min-height:44px}.grow strong,.grow small,.file-tile strong,.file-tile small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.notification-body{white-space:normal;overflow:visible;text-overflow:clip}.team-row{overflow:visible}.object-tabs{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding-bottom:7px}.object-tabs button{flex:0 0 auto;min-height:44px}}@media(max-width:380px){.content{padding-inline:14px}.card,.shift-card,.project-card{padding:17px}.topbar{padding-inline:14px}.stats{grid-template-columns:1fr 1fr}.stats>div,.stats>button{min-width:0;padding:12px}.stats small{line-height:1.3;overflow-wrap:anywhere}}.card-heading button.primary{padding:10px 14px;color:#fff;background:#9b6746}.purchase-layout,.purchase-detail,.purchase-item{min-width:0}.list-picker{display:grid;align-content:start;gap:8px;min-width:0}.list-picker h3{margin:0 0 4px}.list-picker button{display:grid;gap:5px;min-width:0;padding:13px;color:#3f3027;background:#fffdf9;border:1px solid #e2d6c8;text-align:left}.list-picker button.selected{border-color:#9b6746;background:#f6eee4}.list-picker button strong,.list-picker button small{overflow-wrap:anywhere}.list-picker button small{color:#806d5f;font-weight:500}.purchase-back{display:none}.team-row{cursor:pointer;border:0;border-radius:9px;font:inherit}.team-row:hover,.team-row:focus-visible{background:#f5eee6}.dossier-section{margin-top:14px}.dossier-section h3{margin-bottom:8px}.dossier-entry{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eadfd3}.dossier-entry>span:first-child{min-width:0}.dossier-entry small{display:block;margin-top:3px;color:#806d5f}@media(max-width:720px){.topbar{padding-top:calc(12px + env(safe-area-inset-top))}.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding-right:max(8px,env(safe-area-inset-right));padding-left:max(8px,env(safe-area-inset-left))}.bottom-nav button{font-size:11px;overflow-wrap:anywhere}.purchase-layout{max-width:100%}.purchase-layout.has-selection .list-picker{display:none}.purchase-layout:not(.has-selection) .purchase-detail{display:none}.purchase-back{display:inline-flex;margin-bottom:10px;padding:9px 12px}dialog{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}}.employee-page{position:fixed;inset:0;z-index:40;overflow-y:auto;background:#f4efe9;color:#2b211c}.ep-employee-inner{max-width:1120px;margin:0 auto;padding:24px 20px 64px;display:flex;flex-direction:column;gap:16px}.ep-employee-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}.ep-employee-header h1{margin:6px 0 4px;font-size:32px;line-height:1.15;overflow-wrap:anywhere}.ep-employee-header p{margin:0;color:#6f6054}.ep-link-button{min-height:44px;padding:0;border:0;background:transparent;color:#8a5233;font:inherit;font-weight:700;cursor:pointer}.ep-employee-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ep-employee-tools label{display:flex;flex-direction:column;gap:4px;color:#6f6054;font-size:12px;font-weight:700}.ep-employee-tools input,.ep-employee-tools button{min-height:44px}.ep-employee-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ep-employee-stats .ep-stat{display:flex;flex-direction:column;gap:6px;min-width:0;padding:16px 18px;background:#fffdfa;border:1px solid #e8ddd2;border-radius:14px}.ep-employee-stats .ep-stat span{color:#6f6054;font-size:13px;font-weight:600}.ep-employee-stats .ep-stat strong{font-size:28px;line-height:1.1;overflow-wrap:anywhere}.ep-employee-stats .ep-stat small{min-height:16px;color:#7a6a5e;font-size:12px}.ep-employee-stats .ep-stat.ep-pay{background:#3a2b23;border-color:#3a2b23;color:#fff}.ep-employee-stats .ep-stat.ep-pay span,.ep-employee-stats .ep-stat.ep-pay small{color:#ead9c8}.ep-employee-stats .ep-stat.ep-pay .ep-no-rate{font-size:20px}.ep-employee-stats .ep-stat.ep-warn strong{color:#a5521b}.ep-employee-section{margin:0}.ep-employee-section h2{margin:0 0 10px;font-size:18px}.ep-employee-section .ep-section-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.ep-employee-section .ep-section-title small{color:#6f6054}.ep-current-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #efe6dc}.ep-current-row .grow{flex:1 1 260px;display:flex;flex-direction:column;gap:2px}.ep-current-row .grow small{color:#6f6054;font-size:13px}.ep-current-row .ep-role{color:#6f6054;font-size:13px;font-weight:600}.ep-stage-pill{padding:6px 12px;color:#6b3d22;background:#f1e4d8;border-radius:999px;font-size:13px;font-weight:700}.ep-timesheet-head,.ep-timesheet-row{display:grid;grid-template-columns:110px 100px minmax(0,1fr) minmax(0,220px) 44px;gap:12px;align-items:start}.ep-timesheet-head{padding:8px 0;color:#6f6054;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.ep-timesheet-day{border-top:1px solid #efe6dc}.ep-timesheet-day.ep-has-correction{background:#fff7ee}.ep-timesheet-day.ep-is-editing{background:#fdfaf6}.ep-timesheet-row{padding:12px 0}.ep-timesheet-row .ep-day{display:flex;flex-direction:column;gap:2px}.ep-timesheet-row .ep-day small{color:#7a6a5e;font-size:12px}.ep-timesheet-row .ep-hours{font-size:16px;font-weight:800}.ep-timesheet-row .ep-hours.ep-open{color:#8a5233}.ep-timesheet-row .ep-chips{display:flex;flex-wrap:wrap;gap:6px}.ep-timesheet-row .ep-note{color:#4f4037;font-size:13px;overflow-wrap:anywhere}.ep-chip{display:inline-block;padding:5px 10px;color:#3a2b23;border:1px solid #e6d8ca;border-radius:8px;background:#f6efe7;font-size:13px;font-weight:600}.ep-chip.ep-manual{background:#e6eef7;border-color:#b9cde3}.ep-chip.ep-correction{background:#fdecd8;border-color:#e8b980}.icon-button.ep-edit{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#6b3d22;background:#fffdfa;border:1px solid #e3d6c9;border-radius:10px}.ep-day-editor{display:flex;flex-direction:column;gap:10px;margin:0 0 14px 122px;padding:16px;background:#fbf5ef;border:1px solid #d9c3b0;border-radius:12px}.ep-day-editor h4{margin:0;font-size:15px}.ep-day-editor .check small{color:#7a6a5e}.ep-day-editor-add{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ep-day-editor-add label,.ep-day-editor-note{display:flex;flex:1 1 260px;flex-direction:column;gap:4px;font-size:13px;font-weight:600}.ep-day-editor-add select,.ep-day-editor-add button{min-height:44px}.ep-day-editor-note textarea{min-height:64px}.ep-timesheet-total{display:grid;grid-template-columns:110px 100px minmax(0,1fr);gap:12px;padding:14px 0 0;border-top:2px solid #e3d6c9}.ep-timesheet-total span{color:#6f6054;font-size:13px}.ep-timesheet-total b{color:#2b211c;font-size:15px}.ep-timesheet-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:14px;color:#6f6054;font-size:12px}.ep-timesheet-legend span{display:flex;align-items:center;gap:6px}.ep-timesheet-legend .ep-chip{width:14px;height:14px;padding:0;border-radius:4px}.ep-employee-purchases summary{min-height:28px;font-size:16px;font-weight:800;cursor:pointer}.ep-employee-purchases .ep-purchase-line{margin:8px 0 0;font-size:14px}.ep-dossier-error{padding:12px 14px;background:#fff5f2;border:1px solid #e3b4a8;border-radius:12px}@media(max-width:980px){.ep-employee-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ep-employee-stats .ep-stat.ep-pay{grid-column:1 / -1}}@media(max-width:720px){.ep-employee-inner{padding:16px 16px 48px}.ep-employee-header h1{font-size:26px}.ep-employee-tools{width:100%}.ep-employee-tools label{flex:1}.ep-employee-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ep-employee-stats .ep-stat strong{font-size:24px}.ep-timesheet-head{display:none}.ep-timesheet-row{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-areas:"day hours edit" "chips chips chips" "note note note";gap:8px}.ep-timesheet-row .ep-day{grid-area:day}.ep-timesheet-row .ep-hours{grid-area:hours;align-self:center}.ep-timesheet-row .ep-chips{grid-area:chips}.ep-timesheet-row .ep-note{grid-area:note}.ep-timesheet-row .ep-edit{grid-area:edit}.ep-timesheet-row .ep-note:empty{display:none}.ep-day-editor{margin-left:0}.ep-timesheet-total{grid-template-columns:auto auto}.ep-timesheet-total span{grid-column:1 / -1}}.order-card-code{display:block;font-style:normal;background:none;padding:0;font-size:13px;font-weight:800;letter-spacing:.3px;color:#8a5233;margin-bottom:2px}.month-orders .ep-section-title button{min-height:40px}.month-orders-table{width:100%;border-collapse:collapse;font-size:14px}.month-orders-table th{padding:8px 10px 8px 0;color:#6f6054;font-size:12px;font-weight:700;text-align:left}.month-orders-table td{padding:10px 10px 10px 0;border-top:1px solid #efe6dc;vertical-align:top}.month-orders-table .month-state{color:#1e4fa8;font-weight:700}.month-orders-table .month-state.shipped{color:#166534}.month-orders-table .month-state small{color:#6f6054;font-weight:500}.month-orders-total{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:#3a2b23;color:#fff;font-size:14px}.order-amount{font-weight:700}@media(max-width:640px){.month-orders-table thead{display:none}.month-orders-table,.month-orders-table tbody,.month-orders-table tr,.month-orders-table td{display:block}.month-orders-table tr{padding:10px 0;border-top:1px solid #efe6dc}.month-orders-table td{display:flex;justify-content:space-between;gap:12px;padding:3px 0;border:0}.month-orders-table td[data-label]:before{content:attr(data-label);color:#6f6054;font-weight:500}.month-orders-table td.month-order-name{padding-bottom:6px}}.order-invoices{margin:8px 0;padding:0;list-style:none}.order-invoices li{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #efe6dc}.order-invoices li span:first-child{flex:1 1 180px;font-weight:700}.order-invoices li small{color:#6f6054}.order-invoice-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.order-invoice-form label{flex:1 1 160px}
