/* Staff workspace, based on the approved light brand mockups. */
.staff-shell{--line:#d9e3ea;--mint:#007e78;--panel:#fff;background:#f1f5f8;color:#192b42;font-size:17px}
.staff-shell .sidebar,.staff-shell.pos-shell .sidebar{background:#14263c;border-color:#253b50}
.staff-shell .sidebar .brand{border-color:#314559}
.staff-shell .brand-icon{width:72px;height:72px;flex:none;clip-path:none;border-radius:50%;overflow:hidden;background:#fff;box-shadow:none}
.staff-shell .brand-icon img{width:100%;height:100%;object-fit:contain}
.staff-shell .sidebar .nav-item{color:#d4dfe8;border:1px solid transparent;border-radius:10px}
.staff-shell .sidebar .nav-item:hover{background:#244558;border-color:#376678}
.staff-shell .sidebar .nav-item.active,.staff-shell.pos-shell .sidebar .nav-item.active{background:#24515f;border-color:#24515f;box-shadow:none;color:#fff}
.staff-shell .main,.staff-shell.pos-shell .main{background:#f1f5f8;max-width:none}
.staff-shell .topbar{padding:12px 0 18px;background:transparent;border:0;border-bottom:1px solid #d6e1e8;border-radius:0;box-shadow:none}
.staff-shell .topbar h1{color:#192b42;font-size:32px}.staff-shell .topbar p,.staff-shell .topbar .eyebrow{color:#637b90}
.staff-shell .top-actions button{background:#fff;color:#223b52;border-color:#cad9e1}
.staff-shell .notice,.staff-shell.pos-shell .notice{color:#355b6c;background:#e5f4f1;border-color:#cbe7e0}.staff-shell .notice strong{color:#006d68}
.staff-shell .panel,.staff-shell .metric,.staff-shell .project-card,.staff-shell.pos-shell .pos-catalog,.staff-shell.pos-shell .pos-checkout{background:#fff;border:1px solid #d9e3ea;box-shadow:none;border-radius:16px;color:#192b42}
.staff-shell .panel h2,.staff-shell .panel h3,.staff-shell .panel h4,.staff-shell .pos-catalog-head h2,.staff-shell .pos-order-head h2{color:#192b42}
.staff-shell .panel p,.staff-shell .field label,.staff-shell .panel small,.staff-shell .muted,.staff-shell .subtle{color:#627b90}
.staff-shell button{background:#fff;color:#007d77;border-color:#a9cac8;min-height:48px;font-size:16px}
.staff-shell button.primary,.staff-shell .primary,.staff-shell.pos-shell .pos-submit{background:#007d77;color:white;border:1px solid #007d77;box-shadow:none}
.staff-shell button:disabled{cursor:not-allowed;opacity:.5}
.staff-shell input:not([type=checkbox]):not([type=radio]),.staff-shell select,.staff-shell textarea{background:#f8fafb;color:#192b42;border:1px solid #cedce5;min-height:52px}
.staff-shell input::placeholder,.staff-shell textarea::placeholder{color:#6b8296}
.staff-shell input:focus,.staff-shell select:focus,.staff-shell textarea:focus{border-color:#00877e;outline-color:#00877e}
.staff-shell input[type=checkbox],.staff-shell input[type=radio]{accent-color:#007d77}
.staff-shell th{background:#eef4f6;color:#526e80;border:0}.staff-shell td{border-color:#e0e8ec;color:#192b42}.staff-shell table{font-size:16px}
.staff-shell .empty{color:#6a8192;border-color:#ccdbe3}.staff-shell .result,.staff-shell .calculation-summary,.staff-shell .selection-summary{background:#e9f6f2;border-color:#c9e8de;color:#244e50}.staff-shell .result h3,.staff-shell .selection-summary strong,.staff-shell .positive{color:#007d77}
.staff-shell .tag.green{background:#def3e9;color:#006d61}.staff-shell .tag.purple{background:#eaf0f4;color:#526b7c}.staff-shell .tag.red{background:#ffebeb;color:#9c3c3c}
.staff-shell .grid.cols2{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:stretch}.staff-shell .grid.cols2>.panel{min-width:0}
.staff-shell .staff-workspace{max-width:900px}.staff-shell .staff-records{margin-top:20px}.staff-shell .panel-head{align-items:center;gap:12px}
.staff-shell .inline{display:flex;gap:10px;align-items:center}.staff-shell .inline input{flex:1;min-width:0}.staff-shell .stack{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.staff-shell .mobile-console-nav{background:#fff;border-color:#d9e3ea}.staff-shell .mobile-console-nav label{color:#405d70}
.staff-shell.pos-shell .pos-layout{grid-template-columns:minmax(0,1.45fr) minmax(310px,.82fr);align-items:stretch;gap:18px}
.staff-shell.pos-shell .pos-checkout{position:static}
.staff-shell .pos-quick button,.staff-shell.pos-shell .pos-quick button{background:#fff;color:#213b51;border-color:#d9e3ea;box-shadow:none}
.staff-shell .pos-quick button b{background:#e3f4ef;color:#007d77}.staff-shell .pos-quick button small,.staff-shell .pos-quick-label,.staff-shell .pos-quick button i{color:#627b90}
.staff-shell .pos-eyebrow,.staff-shell.pos-shell .pos-eyebrow{color:#007d77}.staff-shell .pos-count{background:#eef5f6;border-color:#d9e3ea;color:#526d80}
.staff-shell .pos-search-wrap{background:#f8fafb;border-color:#cedce5}.staff-shell .pos-search-wrap span{color:#57758a}.staff-shell .pos-search-wrap input{background:transparent!important;border:0!important;color:#192b42!important}
.staff-shell .pos-categories button{background:#f4f7f8;color:#435e70;border-color:#d9e3ea}.staff-shell.pos-shell .pos-categories button.active{background:#007d77;border-color:#007d77;color:white}
.staff-shell.pos-shell .pos-product{background:#f5f8f9;border-color:#d9e3ea;box-shadow:none}.staff-shell.pos-shell .pos-product:hover:not(:disabled){border-color:#00877e}
.staff-shell.pos-shell .pos-product-name{color:#192b42;font-size:19px}.staff-shell.pos-shell .pos-product-meta,.staff-shell .pos-stock{color:#617b90}.staff-shell.pos-shell .pos-product strong,.staff-shell.pos-shell .pos-total strong{color:#007d77}
.staff-shell.pos-shell .pos-product-icon,.staff-shell.pos-shell .pos-add{background:#daf1e9;color:#007d77}.staff-shell .pos-cart-empty,.staff-shell .pos-cart-empty strong,.staff-shell .pos-cart-empty small,.staff-shell .pos-order-head h2 small,.staff-shell .pos-payment-title span{color:#607b90}
.staff-shell.pos-shell .pos-line,.staff-shell.pos-shell .pos-total{border-color:#d9e3ea}.staff-shell.pos-shell .pos-qty button{background:#f2f8f7;border-color:#cce1dc;color:#007d77}
.staff-shell .pos-payments span,.staff-shell.pos-shell .pos-payments span{background:#f5f8f9;color:#315769;border-color:#d5e3e6}.staff-shell .pos-payments input:checked+span,.staff-shell.pos-shell .pos-payments input:checked+span{background:#d9f2e9;color:#006f69;border-color:#00867c}.staff-shell .pos-payments small{color:inherit}
.staff-shell .pos-scan,.staff-shell .pos-change{color:#315e71}.staff-shell .pos-filter-empty{color:#607b90}
.staff-shell .demo-disclosure{background:#f8fafb;border-color:#d9e3ea}.staff-shell .demo-disclosure>summary{color:#3d6171}.staff-shell .demo-disclosure>.panel{border-color:#d9e3ea}
body:has(.staff-shell) dialog{background:white;color:#192b42;border-color:#cedce5}body:has(.staff-shell) dialog p,body:has(.staff-shell) dialog label{color:#405d70}body:has(.staff-shell) dialog input:not([type=checkbox]),body:has(.staff-shell) dialog select{background:#f8fafb;color:#192b42;border-color:#cedce5}body:has(.staff-shell) dialog button{background:#fff;color:#007d77;border-color:#a9cac8}body:has(.staff-shell) dialog button.primary{background:#007d77;color:white;border-color:#007d77}body:has(.staff-shell) dialog .refund-item{border-color:#d9e3ea}
@media(max-width:850px){.staff-shell.pos-shell .pos-layout,.staff-shell .grid.cols2{grid-template-columns:1fr}.staff-shell .main{padding:16px 14px 32px}.staff-shell .topbar{gap:10px;flex-wrap:wrap}.staff-shell .pos-quick{flex-wrap:wrap}.staff-shell .pos-quick button{flex:1 1 140px}}
@media(max-width:560px){.staff-shell .topbar h1{font-size:27px}.staff-shell .panel{padding:17px}.staff-shell .inline{flex-wrap:wrap}.staff-shell .inline input{flex:1 1 180px}.staff-shell.pos-shell .pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-shell .sidebar{position:static;height:auto}.staff-shell .mobile-console-nav select{font-size:17px}}
/* Sidebar and selected project cards. */
.staff-shell .sidebar .brand b{color:#fff}.staff-shell .sidebar .brand small{color:#bfd0db}
.staff-shell .sidebar .nav-item{background:transparent;color:#d4dfe8}
.staff-shell .sidebar .nav-item:hover{background:#244558;color:white}
.staff-shell .sidebar .nav-item.active{background:#24515f;color:#fff}
.staff-shell .card-product-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 12px}
.staff-shell .card-product-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:90px;text-align:left;background:#f5f8f9;border:1px solid #d9e3ea;color:#192b42}
.staff-shell .card-product-choice strong{font-size:18px}.staff-shell .card-product-choice span{font-size:22px;font-weight:700;color:#007d77}
.staff-shell .card-product-choice.selected{background:#e3f4ee;border-color:#007d77}
.staff-shell .staff-project-visual:not(:empty){display:flex;align-items:center;gap:15px;margin:12px 0 18px;padding:12px;border:1px solid #d9e3ea;border-radius:10px;background:#f8fafb}
.staff-shell .staff-project-visual>div{display:grid;gap:5px}.staff-shell .staff-project-visual strong{font-size:18px}.staff-shell .staff-project-visual small{color:#617b90;font-size:15px}
.staff-shell .staff-project-visual .project-poster{display:block;flex:none;width:72px;height:120px;border-radius:5px;background-image:url('/brand-posters-10.png');background-size:500% 200%;background-repeat:no-repeat}
.staff-shell .staff-project-visual .project-poster.second{background-image:url('/brand-posters-2.png');background-size:200% 100%}
.staff-shell .staff-project-visual img.project-poster.custom{object-fit:cover;background:none}
@media(max-width:440px){.staff-shell .card-product-choices{grid-template-columns:1fr 1fr}.staff-shell .card-product-choice strong{font-size:16px}}
.staff-shell .member-photo-hint{color:#617b90}
.staff-shell .check,.staff-shell .check input+span{color:#314c5e}
/* Card buttons are the visible selector; retain the native selector for assistive technology. The submit handler checks for a selected product. */
.staff-shell #card-product{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.staff-shell #card-product:focus{position:static!important;width:100%!important;height:auto!important;min-height:52px!important;padding:11px 12px!important;margin:0!important;clip-path:none!important;overflow:visible!important;border:1px solid #00877e!important}
/* Readable staff dialogs, including refunds, on short displays. */
body:has(.staff-shell) #modal{max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;font-size:17px;line-height:1.55}
body:has(.staff-shell) #modal h2{font-size:22px;line-height:1.3}
body:has(.staff-shell) #modal h3{font-size:20px;line-height:1.35}
body:has(.staff-shell) #modal p,body:has(.staff-shell) #modal label,body:has(.staff-shell) #modal .field label,body:has(.staff-shell) #modal .check,body:has(.staff-shell) #modal small,body:has(.staff-shell) #modal strong,body:has(.staff-shell) #modal input,body:has(.staff-shell) #modal select,body:has(.staff-shell) #modal textarea,body:has(.staff-shell) #modal button{font-size:17px;line-height:1.5}
body:has(.staff-shell) #modal input:not([type=checkbox]):not([type=radio]),body:has(.staff-shell) #modal select,body:has(.staff-shell) #modal textarea,body:has(.staff-shell) #modal button{min-height:48px}
body:has(.staff-shell) #modal input[type=checkbox],body:has(.staff-shell) #modal input[type=radio]{width:20px;height:20px;accent-color:#007d77}
@media(max-height:720px){body:has(.staff-shell) #modal{padding:18px;max-height:calc(100vh - 20px)}}
.staff-shell .member-gender{border:0;padding:0;min-width:0}
.staff-shell .member-gender legend{padding:0;margin-bottom:8px;color:#627b90;font-size:17px}
.staff-shell .member-gender-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.staff-shell .member-gender-options label{position:relative;cursor:pointer;margin:0}
.staff-shell .member-gender-options input{position:absolute;width:1px;height:1px;opacity:0}
.staff-shell .member-gender-options span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:8px;border:1px solid #cedce5;border-radius:8px;background:#f8fafb;color:#192b42;font-size:17px;font-weight:600}
.staff-shell .member-gender-options input:checked+span{background:#e3f4ee;border-color:#007d77;color:#006f69}
.staff-shell .member-gender-options input:focus-visible+span{outline:3px solid #007d77;outline-offset:2px}
@media(max-width:440px){.staff-shell .member-gender-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Voucher recovery: clear channel separation and aligned touch targets. */
.staff-shell .voucher-workspace{max-width:1380px;margin:0 auto}
.staff-shell .voucher-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.staff-shell .voucher-modes button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 24px;text-align:left;border:2px solid #dce6ec;border-radius:14px;background:#fff;color:#234052;min-height:100px}
.staff-shell .voucher-modes button strong{font-size:23px;line-height:1.35}
.staff-shell .voucher-modes button span{font-size:16px;color:#627b90;line-height:1.5}
.staff-shell .voucher-modes button.selected{background:#e8f6f1;border-color:#007d77;box-shadow:0 3px 12px #174b4810}
.staff-shell .voucher-modes button.selected strong{color:#006f69}
.staff-shell .voucher-connect-state{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin-bottom:20px;border:1px solid #c9dfdf;background:#f4faf8}
.staff-shell .voucher-connect-state h2{font-size:24px;margin:12px 0}.staff-shell .voucher-connect-state p{font-size:17px;line-height:1.7;margin:0;max-width:760px}.staff-shell .voucher-connect-state button{flex-shrink:0;min-height:54px}
.staff-shell .voucher-scan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.staff-shell .voucher-scan-grid>.panel{margin:0;min-width:0;padding:24px}.staff-shell .voucher-scan-result{grid-column:1 / -1}.staff-shell .voucher-scan-grid h2{font-size:23px}.staff-shell .voucher-scan-grid input,.staff-shell .voucher-scan-grid select{font-size:18px;min-height:52px}
.staff-shell .voucher-await{padding:24px;border:1px dashed #c4d7df;background:#f8fafb;border-radius:12px;margin-bottom:20px}.staff-shell .voucher-await strong{font-size:21px}.staff-shell .voucher-await p{font-size:17px;line-height:1.65;color:#627b90}
@media(max-width:1100px){.staff-shell .voucher-connect-state{align-items:stretch;flex-direction:column}.staff-shell .voucher-connect-state button{align-self:flex-start}}
@media(max-width:700px){.staff-shell .voucher-modes,.staff-shell .voucher-scan-grid{grid-template-columns:1fr}.staff-shell .voucher-modes button{min-height:76px}.staff-shell .voucher-scan-result{grid-column:auto}.staff-shell .voucher-connect-state button{align-self:stretch;white-space:normal}}
.staff-shell .voucher-layout{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(400px,1.35fr);gap:20px;align-items:stretch}
.staff-shell .voucher-layout>.panel{min-width:0;margin:0;border-radius:14px;padding:24px}
.staff-shell .voucher-layout h2{font-size:23px;line-height:1.4}
.staff-shell .voucher-layout p,.staff-shell .voucher-layout label,.staff-shell .voucher-help li{font-size:17px;line-height:1.65}
.staff-shell .voucher-member-search{display:grid;gap:10px;margin:20px 0}
.staff-shell .voucher-member{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;border:1px dashed #c3d5df;border-radius:12px;background:#f7fafb;margin:0 0 18px}
.staff-shell .voucher-member strong{font-size:29px;letter-spacing:1px;color:#173c50;overflow-wrap:anywhere}
.staff-shell .voucher-member p{margin:0}.staff-shell .voucher-member.confirmed{border:1px solid #b8dfd2;background:#edf8f3}
.staff-shell .voucher-help{margin-top:28px;padding-top:22px;border-top:1px solid #dce6ec}
.staff-shell .voucher-help strong{font-size:19px}.staff-shell .voucher-help ol{padding-left:23px}.staff-shell .voucher-help li{margin:10px 0}
.staff-shell .voucher-route-note{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.staff-shell .voucher-route-note .tag{flex:none}.staff-shell .voucher-route-note p{margin:0;color:#597486}
.staff-shell .voucher-layout .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.staff-shell .voucher-layout .form-grid .field{min-width:0}.staff-shell .voucher-layout input,.staff-shell .voucher-layout select{width:100%;font-size:18px}
.staff-shell .voucher-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-height:108px;padding:18px 22px;background:#edf7f4;border:1px solid #c9e4d9;border-radius:12px;margin:4px 0 22px;color:#315a59}
.staff-shell .voucher-summary strong{font-size:36px;color:#007d77;line-height:1.2}.staff-shell .voucher-summary small{font-size:18px}.staff-shell .voucher-summary p{flex-basis:100%;margin:0}
.staff-shell .voucher-code-line{display:flex;align-items:stretch;gap:10px}.staff-shell .voucher-code-line input{min-width:0;flex:1}.staff-shell .voucher-code-line button{flex:none;min-width:96px}
.staff-shell #voucher-check-result{display:block;margin-top:9px;line-height:1.6;font-size:15px;color:#627b90}.staff-shell #voucher-check-result.voucher-duplicate{color:#ae372c;font-weight:600}.staff-shell #voucher-check-result.voucher-clear{color:#007d77}
.staff-shell .voucher-confirm{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f6f8fa;border-radius:10px;margin:20px 0}.staff-shell .voucher-confirm input{flex:0 0 22px;width:22px;height:22px;margin-top:3px}.staff-shell .voucher-confirm span{font-size:17px;line-height:1.65}
.staff-shell .voucher-submit{min-height:58px;font-size:21px;font-weight:700;border-radius:10px}.staff-shell .voucher-footnote{font-size:15px!important;text-align:center;color:#647e8d;margin-bottom:0}
.staff-shell .voucher-success{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:20px;border:1px solid #add9c8;background:#eff9f3}
.staff-shell .voucher-success>div{display:flex;flex-direction:column;gap:6px}.staff-shell .voucher-success h2,.staff-shell .voucher-success p{margin:0}.staff-shell .voucher-success strong{font-size:34px;color:#007d77}.staff-shell .voucher-success small{font-size:18px}
.staff-shell .voucher-legacy{margin-top:20px}.staff-shell .voucher-legacy summary{font-size:18px;cursor:pointer;padding:8px 0}
.staff-shell .voucher-modes button:focus-visible,.staff-shell .voucher-layout button:focus-visible{outline:3px solid #007d77;outline-offset:3px}
@media(max-width:1050px){.staff-shell .voucher-layout{grid-template-columns:1fr}.staff-shell .voucher-help{margin-top:18px}.staff-shell .voucher-help ol{display:flex;flex-wrap:wrap;gap:10px 28px}.staff-shell .voucher-help li{flex:1 1 180px}}
@media(max-width:580px){.staff-shell .voucher-modes{gap:10px}.staff-shell .voucher-modes button{padding:14px 12px}.staff-shell .voucher-modes button strong{font-size:19px}.staff-shell .voucher-modes button span{font-size:15px}.staff-shell .voucher-layout>.panel{padding:18px}.staff-shell .voucher-layout .form-grid{grid-template-columns:1fr;gap:0}.staff-shell .voucher-route-note{flex-direction:column}.staff-shell .voucher-success{gap:16px}.staff-shell .voucher-success>div:first-child{flex-basis:100%}.staff-shell .voucher-member strong{font-size:26px}}
