/* La Cabra task workspace. Quark-inspired navigation, independently implemented. */
:root{--bg:#f4f5f6;--paper:#fff;--ink:#222725;--muted:#666d69;--line:#e5e8e6;--green:#222725;--sage:#eef1ee;--radius:14px}
[hidden]{display:none!important}
body.workspace-shell{font-family:var(--font-ui);font-size:14px;line-height:1.65;color:var(--ink)}
h1{font-size:28px;letter-spacing:-.5px;font-weight:600}h2{font-weight:600}strong{font-weight:600}small{color:var(--muted)}
a,button,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #5a796a;outline-offset:4px}
.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-180%);z-index:100;background:#fff;border:2px solid #222;padding:10px}.skip-link:focus{transform:none}
.workspace-topbar{max-width:1320px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px 16px}
.workspace-wordmark{font:500 27px/1.2 var(--font-ui);letter-spacing:-1.2px;color:#222725;flex-shrink:0}.workspace-wordmark span{display:block;font:400 8px/2.7 var(--font-ui);letter-spacing:2px;text-align:center}
.workspace-top-actions{display:flex;align-items:center;gap:9px}.workspace-top-actions form{margin:0}.workspace-top-actions .button{min-height:38px;font-size:12px;padding:7px 13px}.workspace-top-actions .user-label{font-size:12px;color:#646b67;margin:0 6px}.menu-toggle{display:inline-flex;margin:0}
.main{margin-left:0;min-height:calc(100vh - 90px)}
.workspace-location{max-width:1260px;padding:0 0 16px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#626964;gap:16px}.workspace-location>div{display:flex;gap:12px;align-items:center}.workspace-location a:hover{text-decoration:underline}.workspace-location a[aria-current]{color:#222;font-weight:600}
.demo-tag{font-size:10px;padding:4px 9px;background:#faf7ef;color:#796547;border:1px solid #e9e0cc;border-radius:6px;white-space:nowrap}
main{max-width:1260px;padding:28px 32px 36px;background:#fff;border-radius:18px;box-shadow:0 6px 28px #16211c06;margin:0 auto 28px;outline:none;min-width:0}
footer{max-width:1260px;margin:0 auto;padding:10px 0 24px;border:0;letter-spacing:0;color:#777f79;font-size:11px}footer span{font:400 11px var(--font-ui)}
.home-page main{max-width:1100px;padding:32px}.home-page .workspace-location{max-width:1100px}.home-intro{text-align:center;padding:4px 0 27px}.home-wordmark{font:500 48px/1.2 var(--font-ui);letter-spacing:-2.4px;color:#202722}.home-intro h1{font-size:21px;margin:14px 0 5px;letter-spacing:0}.home-intro p{margin:0;color:#68716b;font-size:13px}
.daily-overview{background:#27332e;border:1px solid #27332e;border-radius:14px;padding:23px;color:#fff;margin-bottom:30px}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.overview-heading .eyebrow{color:#c3d0c7;letter-spacing:1px;font-size:10px;margin-bottom:3px}.overview-heading h2{font-size:19px;margin:0}.overview-heading select{background:#37473e;color:white;border-color:#59675e;max-width:220px;font-size:12px;min-height:38px;padding:8px 12px}.overview-heading select option{background:#fff;color:#222}
.overview-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.overview-metrics .metric{margin:0;border:0;border-radius:10px;padding:15px 17px;color:#202722;background:#fff}.metric-title{font-size:12px;color:#626c66}.metric-title>span{color:#6a786d}.metric>strong{font-family:var(--font-ui);font-size:32px;line-height:1.6;font-weight:600;letter-spacing:-1px}.metric small{font-size:11px;color:#6b746d}.metric:hover{box-shadow:0 3px 14px #0002}.money-metric{font-size:25px!important;padding-top:6px;padding-bottom:5px}.overview-sales{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;font-size:13px}.overview-sales small{display:block;color:#c0ccc4;font-size:11px}.overview-sales strong{font-size:20px;white-space:nowrap;color:#fff}
.staff-today{display:flex;justify-content:space-between;align-items:center;gap:20px}.next-shift{display:flex;flex-direction:column}.overview-label{font-size:12px;color:#c0cdc4}.next-shift strong{display:block;font-size:23px;line-height:1.5;margin:5px 0}.next-shift>span:last-child,.next-shift a>span{color:#dbe3dd;font-size:13px}.staff-start{display:flex;gap:8px;flex-wrap:wrap}.staff-start .button{background:white;border-color:white;color:#26352b;font-weight:600}
.home-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.home-menu-heading h2{font-size:18px}.home-menu-heading>span{color:#757e77;font-size:12px}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.module-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px 20px;min-height:164px;border:1px solid #edf0ed;border-radius:14px;background:#fff;box-shadow:0 6px 23px #18271f08;transition:transform .15s,box-shadow .15s,border-color .15s}.module-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #18271f10;border-color:#c5d0c8}.module-card:active{transform:scale(.99)}.module-card strong{font-size:18px;line-height:1.45;margin:14px 0 5px;padding-right:8px}.module-card p{margin:0;font-size:12px;color:#67716a;line-height:1.65}.module-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:#f0f3f0;color:#384f3d;border-radius:10px}.ui-icon{flex-shrink:0}.module-card .card-arrow{position:absolute;right:20px;top:23px;font-size:18px;color:#9da79f}.module-card:hover .card-arrow{color:#344d3d}.module-intro{text-align:center;margin:5px auto 30px}.module-intro h1{margin:13px 0 5px}.module-intro p{color:#68716b;font-size:14px;margin:0}.module-mark{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;background:#f0f3f0;color:#38503e;border-radius:16px}.module-mark svg{width:30px;height:30px}.action-grid .module-card{min-height:175px}.module-note{padding:16px 20px;border-radius:10px;background:#f7f8f6;color:#64705f;font-size:12px;border:1px solid #e6ebe2;margin-bottom:0}
.followup-panel{border:1px solid #e7eae7!important;border-radius:12px;margin:14px 0!important;padding:0!important;background:white;overflow:hidden}.followup-panel>summary{padding:18px 20px;font-size:14px;color:#303d33;font-weight:600;display:flex;align-items:center;gap:12px;min-height:60px}.followup-panel>summary>span{margin-left:auto;font-size:12px;font-weight:400;color:#788278}.followup-panel>summary:after{content:'＋';float:none;margin-left:auto}.followup-panel>summary:has(>span):after{margin-left:0}.followup-panel[open]>summary:after{content:'−'}.followup-panel[open]>summary{border-bottom:1px solid #e8ece7}.followup-content{padding:0 20px 8px}.followup-content .task-card{padding:16px 0}.followup-all{display:block;padding:15px 0;font-size:12px;color:#536849}.home-profile{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;padding-top:16px;font-size:12px;color:#64715f}
.button{color:#333c36;border:1px solid #dfe4df;border-radius:8px;font-size:13px;min-height:42px;padding:9px 15px;line-height:1.65}.button.primary{background:#242b27;border-color:#242b27;color:white;font-weight:600}.button.danger{color:#aa3838;background:#fff8f8;border-color:#eac9c9}.button.small{font-size:12px;min-height:34px;padding:5px 11px}.button:disabled{cursor:not-allowed}.button-group{margin-bottom:16px}.page-heading .button-group{margin:0}.text-link{font-size:12px;color:#526c53}.back-link{font-size:13px;color:#607461;margin-bottom:18px}.page-heading{margin-bottom:24px;gap:18px}.page-heading p:last-child{font-size:13px;color:#69716b}.eyebrow{font-size:10px;letter-spacing:1.2px;color:#78857a}
.panel{border-color:#e6e9e6;box-shadow:none;border-radius:12px}.panel-heading h2{font-size:17px}.tabs{gap:8px;flex-wrap:wrap;border:0;background:#f3f5f3;border-radius:10px;padding:5px;margin-bottom:22px}.tabs a{padding:8px 13px;border-radius:7px;font-size:13px;color:#667166;border:0;white-space:nowrap}.tabs a.active{background:#fff;color:#202e22;font-weight:600;box-shadow:0 1px 5px #14241912;border:0}.tabs a:hover{background:#fff}
.filters{padding:20px;align-items:flex-end;gap:12px;background:#fafbfa}.filter-search{flex:1 1 230px;min-width:170px}.filter-field{flex:1 1 155px;min-width:140px;max-width:230px}.filter-date{flex:0 1 147px;min-width:130px}.filters label{font-size:12px;color:#636d64;margin-bottom:5px}.filters input,.filters select{width:100%;min-width:0;max-width:100%;font-size:13px;min-height:40px}.filter-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-buttons .button{min-height:40px}.export-row{text-align:right;margin:0;padding:12px 20px;border-bottom:1px solid var(--line);font-size:12px;color:#5c725d}
table{font-size:13px}th{font-size:12px;color:#667167;background:#f3f5f3;font-weight:600;padding:14px 18px}td{padding:17px 18px;color:#354039}td small{font-size:12px;color:#737d75}tbody tr:hover{background:#fbfcfa}.strong{color:#263b2d}.badge{font-size:11px;padding:4px 9px;border-radius:6px;background:#eef1ed;color:#536951}.badge.submitted,.badge.pending,.badge.partial,.badge.transit{background:#fff2d8;color:#8b641f}.badge.approved,.badge.received,.badge.ordered,.badge.published,.badge.confirmed,.badge.done,.badge.posted{background:#e8f2e9;color:#316b41}.badge.rejected,.badge.voided{background:#fbe9e8;color:#a24842}.badge.draft{background:#eef0f2;color:#596573}.badge.large{font-size:13px}.quantity{font-family:var(--font-ui);font-weight:600}.quantity small{font-size:12px}.pagination{font-size:12px;color:#677365}.empty{color:#73816f;font-size:14px}.empty.compact{font-size:13px}.task-list{padding:0}.task-card{padding:18px 20px;gap:20px}.task-card strong{font-size:14px}.task-card small{font-size:12px;color:#747f76;margin-top:3px}.task-card:hover{background:#f8faf7}.task-card>div:last-child{flex-shrink:0}.task-card>div:first-child{min-width:0;overflow-wrap:anywhere}
.entry-form{max-width:920px;margin-left:auto;margin-right:auto;padding:28px;overflow:visible}.form-intro{margin:0 0 23px!important;padding-bottom:17px;border-bottom:1px solid var(--line);font-size:12px;color:#68746b}.form-grid{gap:20px 24px}label{font-size:13px;font-weight:600;color:#47584a}input,select,textarea{font-size:14px;border-color:#d8dfd9;border-radius:8px;min-height:44px;color:#303d33;background:white}input:focus,select:focus,textarea:focus{border-color:#5d7965;box-shadow:0 0 0 3px #5d796517}.required{color:#ab483b}.help{font-size:12px;color:#737d72}.errorlist{font-size:13px;color:#b43d35;margin:7px 0}.form-section h2{font-size:18px}.line-form{background:#f7f9f6;border-color:#e2e8df;border-radius:10px}.line-number{font-family:var(--font-ui);font-size:16px;color:#6a7f66;font-weight:600}.form-footer{position:static;background:#fff;padding:16px 0 4px;margin-top:26px;z-index:5}.form-footer .button{min-width:120px}.form-description{font-size:13px;color:#63715f}.detail-field{grid-template-columns:180px minmax(0,1fr);font-size:14px}.detail-field small{font-size:12px}.next-step{background:#fafbf8;border-color:#dfe6d9}.next-step p{font-size:13px}.total strong,.transfer-summary strong{font-family:var(--font-ui);font-weight:600}.simple-row{font-size:13px}.history-row{font-size:13px}.history-row small{font-size:12px}.history-row p{font-size:13px;color:#63735d}.snapshot{font-size:12px}.notice{font-size:13px;color:#83662f}.flash{font-size:14px}.settings-grid{gap:20px}summary{font-size:13px;color:#536b4c}
#workspace-menu{border:0;border-radius:18px;width:min(840px,calc(100% - 32px));max-height:85vh;padding:26px;box-shadow:0 30px 100px #11221744;color:var(--ink)}#workspace-menu::backdrop{background:#13211bb3;backdrop-filter:blur(3px)}.menu-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.menu-dialog-head h2{margin:0;font-size:23px}.menu-dialog-head p{font-size:13px;margin:5px 0 20px}.workspace-menu-list{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.menu-section{border:1px solid #e5eae3;border-radius:10px;padding:12px;background:#fafbf9}.workspace-menu-list .menu-section-title{display:flex;align-items:center;gap:10px;padding:9px;color:#2e4230;font-size:14px}.menu-section-title>span{margin-left:auto}.menu-section-title svg{width:21px}.workspace-menu-list .menu-entry{display:block;padding:8px 12px;font-size:13px;color:#626f5d;border-radius:6px}.workspace-menu-list a:hover{background:#eef2ea}.menu-no-results{padding:25px 0;margin:0;color:#6e7d64}.menu-dialog-open{overflow:hidden}
.signin-page{max-width:470px;min-height:0;margin:7vh auto;padding:0 22px;background:transparent;box-shadow:none}.signin-page>.home-wordmark{text-align:center}.signin-caption{text-align:center;font-size:9px;letter-spacing:2px;color:#758371;margin:14px 0 32px}.signin-card{padding:32px;background:#fff;border:1px solid #e5eae1;border-radius:16px;box-shadow:0 10px 36px #20372007}.signin-card h1{font-size:25px;text-align:center;margin:0 0 6px}.signin-card>.muted{text-align:center;font-size:13px;margin-bottom:25px}.signin-card label{margin-top:18px}.signin-card .full{margin-top:25px;padding:12px}.login-help{font-size:12px;color:#737e6d;margin-bottom:0}
@media(min-width:1600px){main{padding-top:32px}}
@media(max-width:1320px){.workspace-location,main,footer{margin-left:30px;margin-right:30px}.workspace-topbar{padding-left:30px;padding-right:30px}.home-page main,.home-page .workspace-location{margin-left:auto;margin-right:auto;width:calc(100% - 60px)}}
@media(max-width:900px){.workspace-top-actions .user-label{display:none}main{padding:24px}.home-page main{padding:26px}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.module-grid{gap:14px}.module-card{padding:20px 17px}.module-card strong{font-size:17px}.module-card .card-arrow{right:16px;top:19px}.detail-grid{grid-template-columns:1fr}.next-step{position:static;grid-row:1}.page-heading h1{font-size:26px}}
@media(max-width:700px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-menu-list{grid-template-columns:1fr}.staff-today{align-items:flex-start;flex-direction:column}.staff-start{width:100%}.staff-start .button{flex:1}.overview-heading{align-items:flex-start}.overview-sales{align-items:flex-start;flex-direction:column;gap:8px}.workspace-topbar{padding:18px 20px 12px}.workspace-location,main,footer{margin-left:20px;margin-right:20px}.home-page main,.home-page .workspace-location{width:calc(100% - 40px)}.workspace-top-actions .button{font-size:11px;padding:7px 9px}.workspace-wordmark{font-size:29px}.workspace-wordmark span{font-size:7px;letter-spacing:1.5px}.workspace-top-actions{gap:6px}.filter-search{flex-basis:100%}.filter-field{max-width:none;min-width:130px}.filter-date{flex:1 1 130px}.filter-buttons{width:100%}.detail-field{grid-template-columns:1fr;gap:4px}}
@media(max-width:500px){.workspace-topbar{flex-wrap:wrap;gap:12px;padding:15px 16px 13px}.workspace-wordmark{font-size:31px}.workspace-top-actions{margin-left:auto}.workspace-top-actions>a.button{display:none}.workspace-top-actions .logout-button{font-size:11px}.workspace-top-actions .button{min-height:40px}.workspace-location{padding-bottom:12px;gap:8px;font-size:11px}.workspace-location>div{gap:8px;flex-wrap:wrap}.workspace-location>div>span:only-child{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-tag{font-size:9px;padding:3px 6px}main{margin:0 12px 20px;padding:20px 16px;border-radius:14px}.home-page main{width:calc(100% - 24px);padding:24px 16px}.home-page .workspace-location{width:calc(100% - 32px)}.workspace-location,footer{margin-left:16px;margin-right:16px}.home-wordmark{font-size:52px;letter-spacing:-3px}.home-intro{padding-bottom:23px}.home-intro h1{font-size:19px}.home-intro p{font-size:12px}.daily-overview{padding:17px;margin-bottom:25px}.overview-heading{flex-wrap:wrap;gap:12px}.overview-heading h2{font-size:17px}.overview-heading .branch-switch{width:100%}.overview-heading select{max-width:100%;width:100%;font-size:12px;min-height:40px}.overview-metrics{gap:9px}.overview-metrics .metric{padding:12px}.metric-title{font-size:11px}.metric>strong{font-size:29px}.metric small{font-size:10px}.money-metric{font-size:21px!important}.overview-sales strong{font-size:20px}.home-menu-heading h2{font-size:16px}.home-menu-heading>span{font-size:11px}.module-grid{gap:11px;margin-bottom:24px}.module-card{padding:16px 14px;min-height:172px;border-radius:12px}.module-card strong{font-size:16px;margin-top:13px}.module-card p{font-size:11px;line-height:1.6}.module-icon{width:34px;height:34px;border-radius:9px}.module-icon svg{width:21px;height:21px}.module-card .card-arrow{font-size:16px;top:17px;right:13px}.action-grid .module-card{min-height:184px}.module-intro h1{font-size:25px}.module-note{padding:13px;font-size:12px}.next-shift strong{font-size:21px}.followup-panel>summary{padding:15px;font-size:13px}.followup-content{padding:0 15px 5px}.home-profile{font-size:12px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:25px}.page-heading .button-group{width:100%;display:flex}.page-heading .button-group .button{flex:1;width:auto}.tabs{gap:4px}.tabs a{font-size:12px;padding:8px 9px}.filters{padding:16px;gap:12px 9px}.filter-field{min-width:110px}.filter-date{min-width:110px;flex-basis:110px}.filters input,.filters select{font-size:13px}.filter-buttons .button{flex:1;min-height:42px}.task-card{gap:10px;padding:17px 16px}.task-card strong{font-size:14px}.task-card small{font-size:12px}.task-card>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.badge{font-size:11px}.task-card .badge{font-size:11px}tbody tr{padding:14px 16px}tbody td{font-size:13px;grid-template-columns:minmax(86px,34%) minmax(0,1fr);gap:10px}tbody td:before{font-size:12px;color:#73816d}td small{font-size:12px}.entry-form{padding:20px 16px}.form-grid{gap:18px}.form-footer{padding:14px 0 3px;gap:9px}.form-footer .button{flex:1;min-width:0;min-height:45px}.line-form{padding:18px 13px 18px 40px}.pad{padding:20px 16px}.pagination{font-size:12px;flex-wrap:wrap;gap:12px}.simple-row{font-size:13px}.simple-row .button{min-height:40px}.signin-page{margin:5vh auto;padding:0 20px;width:100%;max-width:440px}.signin-card{padding:27px 23px}#workspace-menu{padding:20px;max-height:90dvh}.menu-dialog-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.module-card{transition:none;transform:none!important}}
@media print{.workspace-topbar,.workspace-location,#workspace-menu,.form-footer,footer{display:none!important}.main{margin:0}main{box-shadow:none;margin:0;padding:0;max-width:none}.panel{break-inside:avoid}.module-card{box-shadow:none}}

/* Modern minimal: one type system, quiet surfaces, restrained hierarchy. */
:root{--font-ui:'Inter','IBM Plex Sans Thai',-apple-system,BlinkMacSystemFont,sans-serif;--bg:#f8f9fa;--ink:#252a30;--muted:#71777f;--line:#e6e8eb;--green:#283c33;--sage:#f1f4f2;--radius:12px}
body.workspace-shell{font-size:14px;font-weight:400;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-synthesis:none}
h1,h2,h3,strong,label,summary{font-weight:500}h1{font-size:29px;line-height:1.5;letter-spacing:-.45px}h2{font-size:18px}h3{font-size:15px}p{color:inherit}small,.muted{color:#6d737b}
.brand{font:500 30px/1.2 var(--font-ui);letter-spacing:-1.3px}.brand span{font-family:var(--font-ui)}
.workspace-topbar{max-width:none;padding:19px max(30px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid #eceef0;gap:16px}
.workspace-wordmark{font-size:26px;line-height:1.2;letter-spacing:-1.1px;font-weight:500;color:#20272b}.workspace-wordmark span{letter-spacing:1.75px;font-size:7px;line-height:2.5;color:#7b8288}
.workspace-top-actions{gap:10px}.workspace-top-actions .button{font-size:12px;min-height:36px;padding:7px 12px}.workspace-top-actions .user-label{color:#6b737a;font-size:12px;font-weight:400}.workspace-top-actions .logout-button{border-color:transparent;color:#7a8087;background:transparent}.workspace-top-actions .logout-button:hover{background:#f4f5f6;color:#333}
.workspace-location,.home-page .workspace-location{max-width:1180px;padding:20px 0 0;margin:0 auto;color:#7e848b;font-size:11px;width:calc(100% - 60px)}.workspace-location a[aria-current]{font-weight:500;color:#4a5159}.demo-tag{border:0;background:#edf0f1;color:#68717b;font-size:10px;padding:3px 8px;letter-spacing:0}
main,.home-page main{max-width:1180px;width:calc(100% - 60px);padding:34px 0 24px;margin:0 auto 20px;background:transparent;border-radius:0;box-shadow:none}
footer{max-width:1180px;width:calc(100% - 60px);margin:0 auto;padding:22px 0;border-top:1px solid #e8eaed;color:#878d94;font-size:10px}footer span{font-family:var(--font-ui);font-size:10px}
.home-intro{text-align:left;padding:0;margin:0 0 29px}.home-kicker{font-size:10px;letter-spacing:1.8px;color:#7e868d!important;margin:0 0 8px!important;font-weight:400}.home-intro h1{font-size:29px;font-weight:500;line-height:1.45;letter-spacing:-.4px;margin:0 0 7px}.home-intro p{font-size:13px;color:#777e85}.home-wordmark{font-size:42px;letter-spacing:-1.7px;font-weight:500}
.daily-overview{background:#fff;color:#252c31;border:1px solid #e6e9eb;border-radius:12px;padding:23px 25px 0;margin-bottom:33px;box-shadow:none}.overview-heading{margin-bottom:20px}.overview-heading .eyebrow{font-size:10px;letter-spacing:.5px;color:#8a9095;margin-bottom:4px}.overview-heading h2{font-size:16px;font-weight:500;color:#353d42}.overview-heading select{color:#59626a;background:#fff;border-color:#e2e6e8;min-height:36px;font-size:12px;border-radius:7px;padding:6px 11px}
.overview-metrics{gap:0;margin:0 -4px 23px}.overview-metrics .metric{padding:2px 23px;border:0;border-right:1px solid #e8eaed;border-radius:0;background:none;box-shadow:none;color:#222b2c;min-width:0}.overview-metrics .metric:first-child{padding-left:4px}.overview-metrics .metric:last-child{border-right:0;padding-right:0}.overview-metrics .metric:hover{background:#fafbf9}.metric-title{color:#747c81;font-size:12px}.metric-title>span{color:#a1a8ab;font-size:15px}.metric>strong{font-family:var(--font-ui);font-weight:500;font-size:34px;line-height:1.6;letter-spacing:-1.1px;font-variant-numeric:tabular-nums}.metric small{font-size:11px;color:#727980}.money-metric{font-size:28px!important;font-weight:500;letter-spacing:-1.1px!important;padding-top:5px;padding-bottom:4px}
.overview-sales{border-top:1px solid #e9ecee;margin:0 -25px;padding:15px 25px;background:#fafbfb;border-radius:0 0 12px 12px;color:#66716e;font-size:12px}.overview-sales small{font-size:10px;color:#737c77}.overview-sales strong{font-size:20px;font-weight:500;color:#31473d;letter-spacing:-.4px}
.staff-today{padding-bottom:22px}.overview-label{font-size:11px;color:#818a87}.next-shift strong{font-size:24px;font-weight:500;color:#293a31;letter-spacing:-.4px}.next-shift>span:last-child,.next-shift a>span{color:#79837d;font-size:12px}.staff-start .button{font-weight:500;border:1px solid #e0e6e1;color:#465b4b;background:#f7f9f6}
.home-menu-heading{margin-bottom:16px}.home-menu-heading h2{font-size:16px;font-weight:500}.home-menu-heading>span{color:#969ca0;font-size:11px}.module-grid{gap:15px;margin-bottom:30px}.module-card,.action-grid .module-card{padding:22px;min-height:160px;border:1px solid #e6e9eb;border-radius:11px;background:#fff;box-shadow:none;transition:border-color .15s,background .15s}.module-card:hover{transform:none;box-shadow:none;border-color:#a9b8ad;background:#fdfefd}.module-card:active{transform:none;background:#f6f8f5}.module-card strong{font-weight:500;font-size:16px;line-height:1.5;letter-spacing:-.1px;margin:15px 0 5px;color:#323b40}.module-card p{font-size:12px;color:#727980;line-height:1.75;font-weight:400}.module-icon{width:32px;height:32px;background:#f3f5f4;color:#617369;border-radius:8px}.module-icon .ui-icon{width:20px;height:20px;stroke-width:1.4}.module-card .card-arrow{font-size:16px;color:#b4bbbe;top:22px;right:22px;font-weight:400}.module-mark{width:45px;height:45px;border-radius:11px;background:#eff3f0;color:#61736a}.module-mark svg{width:24px;height:24px;stroke-width:1.4}.module-intro{margin:0 0 28px;text-align:left}.module-intro h1{font-size:27px;font-weight:500;margin:13px 0 5px}.module-intro p{font-size:13px;color:#727980}.module-note{border-color:#e7ece7;background:#f2f5f1;color:#798372;font-size:12px}
.button{font-family:var(--font-ui);font-weight:400;font-size:13px;border-radius:7px;border-color:#e0e5e7;color:#555f65;min-height:40px;padding:8px 14px;gap:8px;box-shadow:none}.button.primary{background:#2e4137;border-color:#2e4137;color:#fff;font-weight:500}.button:hover{filter:none;border-color:#a3b4a8;background:#f6f8f5}.button.primary:hover{background:#213329;color:#fff}.button.small{font-size:12px;font-weight:400}.button.danger{background:#fffafa;border-color:#eddada;color:#a96260}.button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #678073;outline-offset:3px}
.page-heading{margin-bottom:25px}.page-heading h1{font-size:28px;font-weight:500}.page-heading p:last-child{font-size:13px;color:#7b8389}.eyebrow{font-size:9px;letter-spacing:1.1px;color:#97a19a;font-weight:400}.back-link{font-size:12px;color:#7d8b80}.text-link{font-size:12px;color:#708370}.panel{border-color:#e6e9eb;border-radius:11px;background:#fff}.panel-heading h2{font-size:16px;font-weight:500}.tabs{background:transparent;border-bottom:1px solid #e1e6e7;border-radius:0;padding:0;gap:23px}.tabs a{padding:11px 0;border-radius:0;font-weight:400;font-size:13px;color:#8b9295;box-shadow:none!important}.tabs a.active{background:transparent;border-bottom:2px solid #405e49;color:#364e3f;font-weight:500}.tabs a:hover{background:transparent;color:#334c3f}
.filters{background:#fff;padding:19px 20px;gap:12px;border-color:#ecedef}.filters label{font-size:11px;color:#82898f;font-weight:400;margin-bottom:6px}.filters input,.filters select{font-size:12px;border-color:#e3e7e9;min-height:38px}.filter-buttons .button{min-height:38px}.filter-buttons .button.primary{background:#f1f4f1;border-color:#e1e8e1;color:#4f6753}.filter-buttons .button.primary:hover{background:#e8eee7}.export-row{font-size:11px;color:#819179;padding:11px 20px}
table{font-size:13px}th{font-size:11px;font-weight:500;color:#818990;background:#fafbfc;border-color:#eef0f1;padding:13px 19px}td{font-weight:400;color:#4e585f;padding:18px 19px;border-color:#edf0f1}td small{font-size:11px;color:#78838a}.strong{color:#3a5142;font-weight:500}tbody tr:hover{background:#fcfdfc}.badge{font-weight:400;font-size:10px;border-radius:5px;padding:4px 8px;background:#eff2f0;color:#74806e}.badge.submitted,.badge.pending,.badge.partial,.badge.transit{background:#f8f2e4;color:#867038}.badge.approved,.badge.received,.badge.ordered,.badge.published,.badge.confirmed,.badge.done,.badge.posted{background:#edf4ee;color:#4f7055}.badge.rejected,.badge.voided{background:#f8eded;color:#996562}.badge.draft{background:#f0f2f4;color:#7b8690}.badge.large{font-size:12px}.pagination{font-size:11px;color:#929b95}.quantity,.total strong,.transfer-summary strong,.line-number{font-family:var(--font-ui);font-weight:500;font-variant-numeric:tabular-nums}.quantity small{font-family:var(--font-ui)}
.task-card{padding:18px 20px;border-color:#edf0f1}.task-card strong{font-size:13px;font-weight:500;color:#455047}.task-card small{font-size:11px;color:#737e72}.task-card:hover{background:#fbfcfa}.followup-panel{border-color:#e7eaec!important;border-radius:10px;background:white}.followup-panel>summary{font-size:13px;font-weight:500;color:#697569;min-height:56px}.followup-panel>summary>span{color:#9da59c;font-size:11px}.followup-panel>summary:after{color:#969f94;font-weight:400}.followup-panel[open]>summary{border-color:#ecf0e9}.followup-all{font-size:11px;color:#7a8b72}.home-profile{font-size:11px;color:#738168;padding-top:22px}.simple-row{font-size:13px;font-weight:400;color:#697462;border-color:#edf1e9}.followup-content h3{font-weight:500}
.entry-form{border-color:#e7eae7;border-radius:11px;padding:29px 32px}.form-intro{color:#727d6c;font-size:12px;padding-bottom:20px}.form-grid{gap:22px 26px}label{font-weight:500;font-size:13px;color:#626e5d;margin-bottom:7px}input,select,textarea{font-family:var(--font-ui);font-size:14px;border-color:#e0e5dc;color:#52604c;border-radius:7px;padding:10px 12px;min-height:44px;line-height:1.7;background:#fff}input::placeholder,textarea::placeholder{color:#a5aca0;opacity:1}input:focus,select:focus,textarea:focus{border-color:#8b9c7d;box-shadow:0 0 0 3px #8b9c7d10}.help{font-size:11px;color:#74806b}.required{color:#ad9180;font-weight:400}.line-form{background:#fafbf8;border-color:#e9ecdf;border-radius:9px}.line-number{font-size:14px;color:#99a58c}.form-section h2{font-size:16px;font-weight:500}.form-section>p{font-size:12px;color:#748166}.form-footer{border-color:#eaeee1;background:#fff;padding-top:22px;margin-top:28px}.detail-field{font-size:13px;border-color:#eef1e8}.detail-field small{font-size:11px}.next-step{background:#fafcf7;border-color:#e4eadb}.next-step h2{font-weight:500}.next-step p{color:#839174}.history-row p{font-size:12px}.history-row,.history-row small{font-size:12px;color:#8b977c}.total strong{font-size:24px;font-weight:500}.notice{background:#f5f3eb;color:#887a50;font-size:12px}.flash{font-size:13px}.empty{font-size:13px;color:#8c9980}
.menu-dialog-head h2{font-weight:500;font-size:22px}.menu-dialog-head p{font-size:12px;color:#8a9780}#workspace-menu{border:1px solid #e6ece0;border-radius:14px;padding:28px;box-shadow:0 20px 80px #1d2d1f22}#workspace-menu::backdrop{background:#27362c70;backdrop-filter:blur(4px)}.menu-section{border-color:#e7ede0;border-radius:9px;background:#fcfdfb}.workspace-menu-list .menu-section-title{font-size:14px;color:#677b58}.menu-section-title strong{font-weight:500}.workspace-menu-list .menu-entry{font-size:13px;color:#6f7b66;font-weight:400}.workspace-menu-list a:hover{background:#f2f5ed;color:#5d7350}.menu-no-results{font-size:13px}
.signin-page{width:100%;max-width:425px;background:transparent;margin:9vh auto;padding:0 22px}.signin-page>.home-wordmark{font-size:37px;letter-spacing:-1.6px;color:#263328}.signin-caption{font-size:8px;font-weight:400;letter-spacing:2px;color:#798571;margin:10px 0 31px}.signin-card{padding:31px 29px;border-color:#e5eadf;border-radius:12px;box-shadow:none}.signin-card h1{font-size:24px;font-weight:500}.signin-card>.muted{font-size:12px;color:#737f69}.signin-card label{font-weight:400;font-size:12px}.login-help{color:#74816a;font-size:11px}
@media(max-width:900px){.overview-metrics .metric:nth-child(2){border-right:0}.overview-metrics .metric:nth-child(n+3){padding-top:20px;margin-top:18px;border-top:1px solid #e8eaed}.overview-metrics .metric:nth-child(3){padding-left:4px}.module-card,.action-grid .module-card{padding:21px;min-height:153px}.module-card strong{font-size:15px}}
@media(max-width:700px){.workspace-topbar{padding:16px 22px}.workspace-location,.home-page .workspace-location,main,.home-page main,footer{width:calc(100% - 44px);margin-left:auto;margin-right:auto}.home-intro h1{font-size:26px}.overview-sales{align-items:center;flex-direction:row;gap:12px}.module-card p{font-size:11px}.tabs{gap:18px}.staff-today{gap:18px}.staff-start .button{font-size:12px;min-height:42px}.filter-buttons{width:100%}}
@media(max-width:500px){.workspace-topbar{padding:15px 18px;gap:8px;flex-wrap:nowrap}.workspace-wordmark{font-size:22px;letter-spacing:-.9px}.workspace-wordmark span{font-size:6px;letter-spacing:1.2px}.workspace-top-actions{gap:4px}.workspace-top-actions .button{font-size:10px;padding:7px 9px;min-height:38px}.workspace-location,.home-page .workspace-location{padding-top:15px;font-size:10px;width:calc(100% - 36px)}.workspace-location>div>span:only-child{max-width:185px}.demo-tag{font-size:9px;padding:3px 6px}main,.home-page main{width:calc(100% - 36px);padding:27px 0 17px;margin-bottom:8px}.home-intro{padding:0;margin-bottom:22px}.home-kicker{font-size:9px;letter-spacing:1.5px}.home-intro h1{font-size:25px;line-height:1.5;margin-bottom:6px}.home-intro p{font-size:12px}.daily-overview{padding:17px 17px 0;margin-bottom:25px;border-radius:10px}.overview-heading{gap:13px;margin-bottom:20px}.overview-heading h2{font-size:15px}.overview-heading .eyebrow{font-size:9px}.overview-heading select{font-size:12px;min-height:39px}.overview-metrics{margin:0 0 20px}.overview-metrics .metric{padding:0 12px}.overview-metrics .metric:first-child,.overview-metrics .metric:nth-child(3){padding-left:0}.overview-metrics .metric:nth-child(2),.overview-metrics .metric:nth-child(4){padding-right:0}.metric-title{font-size:11px}.metric-title>span{font-size:13px}.metric>strong{font-size:30px;line-height:1.6}.money-metric{font-size:23px!important;padding-top:5px;padding-bottom:4px}.metric small{font-size:10px;line-height:1.6;display:block}.overview-sales{margin:0 -17px;padding:13px 17px;align-items:flex-start;flex-direction:column;gap:6px}.overview-sales strong{font-size:20px;font-weight:500}.overview-sales small{font-size:10px}.staff-today{padding-bottom:17px;gap:17px}.next-shift strong{font-size:22px}.next-shift a>span{font-size:12px}.staff-start .button{font-size:12px;min-height:44px}.home-menu-heading{margin-bottom:13px}.home-menu-heading h2{font-size:15px}.home-menu-heading>span{font-size:10px}.module-grid{gap:11px;margin-bottom:24px}.module-card,.action-grid .module-card{padding:17px 15px;min-height:158px;border-radius:9px}.module-card strong{font-size:14px;font-weight:500;line-height:1.6;margin:12px 0 4px}.module-card p{font-size:11px;line-height:1.7}.module-icon{width:29px;height:29px;border-radius:7px}.module-icon .ui-icon{width:18px;height:18px}.module-card .card-arrow{top:16px;right:15px;font-size:15px}.module-intro{margin-bottom:23px}.module-intro h1{font-size:24px}.module-intro p{font-size:12px}.module-mark{width:38px;height:38px}.module-mark svg{width:21px}.followup-panel>summary{font-size:12px;min-height:53px;padding:15px}.followup-panel>summary>span{font-size:10px}.task-card strong{font-size:13px}.task-card small{font-size:11px}.badge,.task-card .badge{font-size:10px}.home-profile{font-size:11px}.page-heading h1{font-size:25px}.page-heading p:last-child{font-size:12px}.tabs{gap:17px}.tabs a{font-size:12px;padding:10px 0}.filters{padding:16px 14px}.filters label{font-size:11px}.filters input,.filters select{font-size:13px;min-height:43px}.filter-buttons .button{min-height:43px}.entry-form{padding:23px 17px}.form-intro{font-size:11px}.form-grid{gap:20px}.line-form{padding:19px 13px 19px 38px}.form-section h2{font-size:16px}.form-footer{gap:9px}.form-footer .button{font-size:12px;min-height:44px}label{font-size:12px}input,select,textarea{font-size:14px;min-height:45px}.help{font-size:11px}tbody td{font-size:13px}tbody td:before{font-size:11px;color:#738168}td small{font-size:11px}.simple-row{font-size:12px}.pagination{font-size:11px}.signin-page{width:100%;max-width:420px;padding:0 22px;margin:7vh auto}.signin-card{padding:27px 23px}.signin-card h1{font-size:23px}.signin-page>.home-wordmark{font-size:34px}footer{width:calc(100% - 36px);padding:19px 0;font-size:9px}footer span{font-size:9px}#workspace-menu{padding:21px}.menu-dialog-head h2{font-size:20px}}

/* Shared bilingual hierarchy and component surfaces. */
:root{--surface:#fff;--surface-soft:#f8faf9;--surface-border:#e3e8e5;--surface-radius:12px;--control-radius:8px;--surface-shadow:0 12px 36px #24362c16;--focus:#627e6d;--text-secondary:#727b76}
.ui-heading{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:100%;vertical-align:middle;text-align:left;line-height:1.35;letter-spacing:0}
.ui-heading-en{display:block;font-family:var(--font-ui);font-weight:500;letter-spacing:-.02em;color:var(--ink);line-height:1.35}
.ui-heading .ui-heading-th{display:block;font-family:var(--font-ui);font-size:11px;font-weight:400;line-height:1.6;letter-spacing:0;color:var(--text-secondary);margin:0;padding:0}
h1 .ui-heading-th{font-size:13px}h2 .ui-heading-th{font-size:11px}
.record-title{font-size:16px;margin:9px 0 0;color:#56665c;overflow-wrap:anywhere}
.module-card,.action-grid .module-card,.panel,.daily-overview,.signin-card,.menu-section,.followup-panel{border:1px solid var(--surface-border);border-radius:var(--surface-radius);background:var(--surface);box-shadow:none}
.module-card,.action-grid .module-card{min-height:182px}.module-card strong{font-size:17px;margin-bottom:10px}.module-card .ui-heading-th{font-size:11px}.module-card p{font-size:11px;color:#7a837e}
.module-card:hover,.task-card:hover,.menu-entry:hover{background:var(--surface-soft);border-color:#b7c7bd}
.module-card .ui-heading-en{overflow-wrap:anywhere}.menu-section-title strong{flex:1}.menu-section-title .ui-heading-en{font-size:14px}.menu-section-title .ui-heading-th{font-size:10px}.workspace-menu-list .menu-entry{padding:11px 13px}.menu-entry .ui-heading-en{font-size:13px}.menu-entry .ui-heading-th{font-size:10px}
.workspace-location .ui-heading{gap:0}.workspace-location .ui-heading-en{font-size:11px}.workspace-location .ui-heading-th{font-size:9px}
.metric-title{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.metric-title>.ui-heading{font-size:12px;color:var(--ink)}.metric-title .ui-heading-th{font-size:10px}.overview-label .ui-heading-th{font-size:10px}.overview-sales>.ui-heading{font-size:12px}
.followup-panel>summary>.ui-heading{margin-left:0;margin-right:auto;font-size:14px;color:var(--ink)}.followup-panel>summary>.ui-heading .ui-heading-th{font-size:10px}.followup-panel>summary>span:not(.ui-heading){flex-shrink:0}.followup-panel>summary:after{flex-shrink:0}
summary>.ui-heading{margin-right:12px}dialog{color:var(--ink);font-family:var(--font-ui)}
#workspace-menu,.ui-confirm-dialog{background:var(--surface);border:1px solid var(--surface-border);border-radius:var(--surface-radius);box-shadow:var(--surface-shadow);padding:28px;max-height:calc(100dvh - 32px);overflow:auto}
.ui-confirm-dialog{width:min(480px,calc(100% - 32px));margin:auto}.ui-confirm-dialog h2{font-size:22px;margin:0 0 18px}.ui-confirm-dialog p{font-size:14px;white-space:pre-line;overflow-wrap:anywhere;color:#626f66}.ui-confirm-dialog .form-footer{justify-content:flex-end;margin-top:24px}.ui-confirm-dialog .form-footer button{flex:1}
#workspace-menu::backdrop,.ui-confirm-dialog::backdrop{background:#26362e66;backdrop-filter:blur(3px)}
.button,input,select,textarea,.ui-select-trigger{border-radius:var(--control-radius);font-family:var(--font-ui)}
.ui-select{display:block;position:relative;min-width:0;width:100%;text-align:left}.ui-select-native{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;pointer-events:none;inset:0}
.ui-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid var(--surface-border);background:var(--surface);color:#52604c;font-size:14px;line-height:1.7;font-weight:400;text-align:left;cursor:pointer;box-shadow:none}
.ui-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.ui-select-trigger>span:last-child{flex-shrink:0;color:#86948a}.ui-select-trigger:hover{border-color:#b7c7bd;background:var(--surface-soft)}.ui-select-trigger:focus-visible,.ui-select-trigger[aria-expanded=true]{outline:2px solid var(--focus);outline-offset:2px}.ui-select-trigger:disabled{background:#f3f5f4;color:#969f99;cursor:not-allowed}.ui-select-trigger[aria-invalid=true]{border-color:#b86a66}
.ui-select-menu{position:fixed;inset:auto;margin:0;padding:5px;background:var(--surface);border:1px solid var(--surface-border);border-radius:var(--surface-radius);box-shadow:var(--surface-shadow);overflow:auto;overscroll-behavior:contain;z-index:1000;color:var(--ink);font:400 13px/1.6 var(--font-ui);box-sizing:border-box;text-align:left}
.ui-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;min-height:42px;border-radius:var(--control-radius);cursor:pointer;overflow-wrap:anywhere}.ui-select-option.is-active,.ui-select-option:hover{background:#f0f4f1}.ui-select-option[aria-selected=true]{color:#2e513a;font-weight:500}.ui-select-option[aria-disabled=true]{color:#9fa7a2;cursor:not-allowed}.ui-select-check{flex-shrink:0;color:#547560}.ui-select-error{display:block;color:#a96260;margin-top:5px;font-size:11px}
.branch-switch{min-width:175px;max-width:230px}.branch-switch .ui-select-trigger{min-height:38px;font-size:12px;padding:7px 10px}.filters .ui-select-trigger{min-height:38px;font-size:12px}.filter-field{min-width:0}
@media(max-width:700px){.ui-select-trigger{font-size:14px;min-height:44px}.filters .ui-select-trigger{min-height:44px;font-size:13px}.ui-select-option{min-height:44px}.overview-heading{align-items:flex-start;flex-wrap:wrap}.branch-switch{width:100%;max-width:none}.ui-heading-en{overflow-wrap:anywhere}}
@media(max-width:500px){.module-card,.action-grid .module-card{min-height:185px;border-radius:var(--surface-radius)}.module-card strong{font-size:15px}.module-card .ui-heading-th{font-size:10px}.daily-overview{border-radius:var(--surface-radius)}.metric-title>.ui-heading{font-size:12px}.metric-title .ui-heading-th{font-size:10px}.home-menu-heading{align-items:flex-start}.home-menu-heading>span{max-width:75px;text-align:right}.workspace-location .ui-heading-th{font-size:9px}#workspace-menu,.ui-confirm-dialog{padding:20px}.ui-confirm-dialog .form-footer{flex-wrap:wrap}.ui-confirm-dialog .form-footer button{min-width:135px}h1 .ui-heading-th{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.followup-panel{border-color:var(--surface-border)!important}th .ui-heading-th{font-size:10px}th .ui-heading-en{font-size:11px}
/* Let task groups keep their natural height rather than stretching short menus. */
.workspace-menu-list{display:block;columns:2;column-gap:18px}.workspace-menu-list .menu-section{break-inside:avoid;margin-bottom:18px}.workspace-menu-list .menu-section-title strong{min-width:0}
@media(max-width:700px){.workspace-menu-list{columns:1}}
/* Task-focused operational views, using the shared workspace components. */
.workflow-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:0 0 20px}.workflow-tabs a{display:flex;gap:12px;align-items:center;padding:11px 15px;border:1px solid var(--surface-border);background:var(--surface);border-radius:var(--control-radius);font-size:12px}.workflow-tabs a[aria-current=page]{border-color:#809a8a;background:#f0f5f1}.workflow-tabs b{font-size:12px;font-weight:500}.workflow-tabs .ui-heading-th{font-size:10px}
.workflow-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px;padding:22px;margin-bottom:20px}.workflow-summary>div{display:flex;flex-direction:column;gap:5px;min-width:0}.workflow-summary strong{font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.workflow-summary small{font-size:11px;line-height:1.6}
.workflow-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.workflow-filters>div{flex:1;min-width:155px}.workflow-filters>button{min-height:44px}.workflow-filters>.errorlist{width:100%}.queue-actions{display:flex;align-items:flex-end;gap:10px;flex-direction:column}
.roster-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:18px}.roster-day{min-width:0;overflow:hidden}.roster-day>header{padding:14px 12px;border-bottom:1px solid var(--surface-border);background:var(--surface-soft)}.roster-day h2{font-size:15px;margin:0 0 6px}.roster-day h2 small{display:block;font-size:11px}.roster-day.is-today{border-color:#8baa96}.roster-shift{display:flex;flex-direction:column;gap:4px;padding:13px 11px;border-bottom:1px solid var(--surface-border);font-size:12px;overflow-wrap:anywhere}.roster-shift:hover{background:var(--surface-soft)}.roster-shift small{font-size:10px}.roster-shift .badge{align-self:flex-start}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0;font-size:14px}
.po-paper{max-width:960px;margin:auto}.print-parties{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:20px 0}.print-parties p{font-size:13px;margin:6px 0;overflow-wrap:anywhere}.po-paper .home-wordmark{font-size:30px;margin:0 0 16px}.po-paper table{width:100%}
@media(max-width:900px){.roster-week{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.roster-week{grid-template-columns:1fr}.roster-day>header{display:flex;justify-content:space-between;align-items:center}.roster-day h2 small{display:inline;margin-left:10px}.roster-shift{padding:15px}.workflow-filters>div{min-width:100%}.workflow-filters>button{width:100%}.workflow-summary{grid-template-columns:1fr;padding:18px;gap:20px}.queue-actions .button{white-space:normal;font-size:12px}.workflow-tabs a{flex:1;min-width:130px}.print-parties{grid-template-columns:1fr;gap:16px}.po-paper{padding:18px}.po-paper .page-heading{flex-wrap:wrap}}
@media print{@page{size:A4;margin:14mm}body{background:white!important}.workspace-topbar,.workspace-location,footer,.skip-link,dialog,.print-hidden{display:none!important}.workspace-shell .main,.workspace-shell main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important}.po-paper{width:100%;max-width:none;margin:0;border:0;padding:0;box-shadow:none}.po-paper .page-heading{display:flex;flex-direction:row;align-items:flex-start}.print-parties{display:grid;grid-template-columns:1fr 1fr}.print-table{display:table!important;font-size:11px}.print-table thead{display:table-header-group!important}.print-table tbody{display:table-row-group!important}.print-table tr{display:table-row!important;break-inside:avoid}.print-table th,.print-table td{display:table-cell!important;padding:10px 8px!important;text-align:left!important;width:auto!important;border:0;border-bottom:1px solid #ddd}.print-table td:before{display:none!important}.po-paper .total{break-inside:avoid}.po-paper .notice{border:1px solid #ccc;background:white}}

/* Purchasing: quantities and price review stay readable on staff phones. */
.receipt-items{display:grid;gap:16px;margin:20px 0}.receipt-entry{border:1px solid var(--line,#e3e7e5);border-radius:12px;padding:20px;background:#fff}.receipt-entry h3{margin-top:0}.receipt-calculation{background:#f3f6f4;padding:12px;border-radius:8px;font-size:.88rem;line-height:1.7}.receipt-entry input,.receipt-entry select{max-width:100%;min-width:0}.receipt-card small{max-width:100%;overflow-wrap:anywhere}.filter-bar{padding:20px;display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filter-bar label{flex:1;min-width:180px}@media(max-width:600px){.receipt-entry{padding:14px}.receipt-card .simple-row{flex-wrap:wrap}.filter-bar label{min-width:100%}}

/* Searchable related-item selection; submitted values stay in the native multi-select. */
.item-picker{position:relative;min-width:0}.item-picker-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}.item-picker-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.item-picker-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:5px 6px 5px 12px;background:#f1f5f2;border:1px solid #dce5df;border-radius:8px;color:#30473b;font-size:.88rem}.item-picker-chip>span{min-width:0;overflow-wrap:anywhere}.item-picker-chip button{border:0;background:transparent;border-radius:6px;color:inherit;min-width:36px;min-height:36px;padding:4px;cursor:pointer;font-size:1.25rem}.item-picker-chip button:hover{background:#e0e9e3}.item-picker-chip button:focus-visible{outline:2px solid #486859;outline-offset:1px}.item-picker-status{display:block;margin-top:6px;color:#6b7770}.item-picker-empty{display:block;padding:12px;margin:0;color:#6b7770}.item-picker-results .ui-select-option{white-space:normal;overflow-wrap:anywhere}.item-picker input{width:100%}

/* Shared issuer for every printed business document. */
.document-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:start;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid #dfe5e1}.document-letterhead{max-width:560px;line-height:1.8;color:#263c30}.document-company-name{display:block;font-size:20px;font-weight:600;margin-bottom:10px}.document-letterhead address{font-size:13px;font-style:normal;white-space:normal;overflow-wrap:anywhere}.document-tax-id{font-size:13px;margin:8px 0 0}.document-reference{text-align:right;min-width:160px}.document-reference h2{margin-top:0}.document-reference p{margin:6px 0}@media(max-width:600px){.document-heading{grid-template-columns:1fr;gap:18px}.document-reference{text-align:left}.document-company-name{font-size:18px}}@media print{.document-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;break-inside:avoid;gap:20px;margin-bottom:18px;padding-bottom:16px}.document-company-name{font-size:17px}.document-letterhead address,.document-tax-id{font-size:11px}.document-reference{text-align:right!important}.document-paper{font-size:12px}}

/* Keep shared navigation available on small screens as well. */
@media(max-width:500px){.workspace-topbar{flex-wrap:wrap}.workspace-top-actions{flex-wrap:wrap}.workspace-top-actions>a.button{display:inline-flex}}
