/* FARBOUND internal dashboard — shared staff styling */
:root{--fb-bg:#070707;--fb-panel:#0e0e0f;--fb-panel2:#121214;--fb-line:rgba(255,255,255,.09);--fb-line2:rgba(255,255,255,.14);--fb-muted:#8e8e95;--fb-white:#f5f5f5;--fb-soft:#c7c7cc;--fb-green:#78d6a1;--fb-yellow:#e8c878;--fb-blue:#86b8ff}
body.staff-page{background:radial-gradient(circle at 50% -10%,rgba(255,255,255,.07),transparent 32%),var(--fb-bg)}
.staff-page .site-header{border-bottom:1px solid var(--fb-line);backdrop-filter:blur(18px);background:rgba(7,7,7,.86)}
.staff-shell{width:min(1320px,calc(100% - 32px));margin:0 auto;padding:46px 0 90px}
.staff-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.staff-kicker{font-size:11px;letter-spacing:.2em;color:#888;text-transform:uppercase;margin:0 0 10px}
.staff-title{font-size:clamp(32px,5vw,58px);line-height:.95;letter-spacing:-.055em;margin:0;font-weight:800}
.staff-subtitle{color:var(--fb-muted);margin:12px 0 0;max-width:650px}
.staff-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.staff-btn{appearance:none;border:1px solid var(--fb-line2);background:#151517;color:#fff;padding:11px 15px;border-radius:9px;font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:.18s ease}
.staff-btn:hover{background:#202024;border-color:rgba(255,255,255,.28);transform:translateY(-1px)}
.staff-btn.primary{background:#f2f2f2;color:#090909;border-color:#f2f2f2}.staff-btn.primary:hover{background:#fff}
.staff-btn.danger{border-color:rgba(255,100,100,.22)}
.staff-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}
.staff-stat{background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));border:1px solid var(--fb-line);border-radius:14px;padding:19px 18px;min-height:108px}
.staff-stat span{display:block;color:#77777e;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.staff-stat strong{display:block;font-size:31px;letter-spacing:-.04em;margin-top:13px}.staff-stat small{color:#666;display:block;margin-top:4px}
.staff-panel{background:rgba(14,14,15,.88);border:1px solid var(--fb-line);border-radius:16px;overflow:hidden;margin-bottom:18px;box-shadow:0 20px 60px rgba(0,0,0,.18)}
.staff-panel-head{padding:19px 21px;border-bottom:1px solid var(--fb-line);display:flex;justify-content:space-between;align-items:center;gap:15px}.staff-panel-head h2{font-size:13px;letter-spacing:.12em;margin:0}.staff-panel-head p{margin:4px 0 0;color:#777;font-size:12px}.staff-panel-head .muted{color:#666;font-size:11px}
.staff-search{background:#09090a;border:1px solid var(--fb-line);border-radius:9px;color:#fff;padding:10px 12px;min-width:220px;outline:none}.staff-search:focus{border-color:var(--fb-line2)}
.account-list{padding:6px 20px}.account-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.06)}.account-row:last-child{border-bottom:0}.account-main{min-width:0}.account-name{font-weight:700}.account-email{color:#aaa;font-size:12px;margin:4px 0}.account-date{color:#5f5f65;font-size:10px}.account-right{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.role-pill,.status-badge{display:inline-flex;align-items:center;border:1px solid var(--fb-line);border-radius:999px;padding:6px 9px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.role-pill.admin{color:#fff}.role-pill.employee{color:var(--fb-blue)}.role-pill.customer{color:#777}.owner-pill{color:#c8c8cc;border-color:rgba(255,255,255,.2)}
.staff-empty,.staff-error{margin:16px;padding:24px;border:1px dashed var(--fb-line2);border-radius:12px;color:#777;text-align:center}.staff-error{color:#e8a0a0;border-style:solid}.staff-error code{color:#ddd}
.order-tabs{display:flex;gap:7px;overflow:auto;padding:6px;margin-bottom:14px}.order-tab{flex:1;min-width:130px;border:1px solid var(--fb-line);background:#0d0d0e;color:#777;padding:13px 15px;border-radius:10px;text-align:left;cursor:pointer;transition:.18s}.order-tab strong{display:block;color:#ddd;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.order-tab span{display:block;font-size:23px;color:#fff;margin-top:7px;font-weight:800}.order-tab.active{background:#f0f0f0;border-color:#f0f0f0}.order-tab.active strong,.order-tab.active span{color:#080808}.order-panel{display:none}.order-panel.active{display:block}
.orders-stack{display:grid;gap:12px}.order-card{border:1px solid var(--fb-line);border-radius:14px;background:linear-gradient(145deg,#111113,#0c0c0d);overflow:hidden}.order-card-top{display:flex;justify-content:space-between;gap:18px;padding:19px 20px;border-bottom:1px solid var(--fb-line)}.order-number{font-size:10px;letter-spacing:.16em;color:#666;text-transform:uppercase}.order-customer{font-size:16px;margin:7px 0 3px}.order-time{font-size:11px;color:#666}.order-total{text-align:right}.order-total span{display:block;color:#666;font-size:9px;letter-spacing:.12em}.order-total strong{font-size:21px;margin-top:5px;display:block}.order-body{padding:18px 20px;display:grid;grid-template-columns:1fr 1.35fr;gap:20px}.info-block{min-width:0}.info-label{font-size:9px;letter-spacing:.15em;color:#666;text-transform:uppercase;font-weight:800;margin-bottom:9px}.address-box{padding:13px 14px;border:1px solid var(--fb-line);border-radius:10px;background:#0a0a0b;color:#bbb;font-size:12px;line-height:1.6}.address-box strong{color:#eee}.item-list{border:1px solid var(--fb-line);border-radius:10px;overflow:hidden}.order-item{display:flex;justify-content:space-between;gap:15px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.06)}.order-item:last-child{border-bottom:0}.item-name{font-weight:700;font-size:12px}.item-meta{font-size:10px;color:#777;margin-top:4px}.item-price{font-size:12px;font-weight:700;white-space:nowrap}.order-card-bottom{padding:15px 20px;border-top:1px solid var(--fb-line);display:flex;justify-content:space-between;align-items:center;gap:14px}.status-current{display:flex;align-items:center;gap:9px;color:#777;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.status-badge.processing{color:var(--fb-yellow)}.status-badge.fulfilled{color:var(--fb-blue)}.status-badge.shipping{color:#b9a2ff}.status-badge.delivered{color:var(--fb-green)}.status-select{background:#0a0a0b;border:1px solid var(--fb-line2);color:#fff;border-radius:8px;padding:9px 11px;outline:none;font-size:11px}
.form-layout{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-section{border:1px solid var(--fb-line);border-radius:13px;padding:18px;background:#0b0b0c}.form-section.full{grid-column:1/-1}.form-section h3{font-size:11px;letter-spacing:.13em;margin:0 0 15px}.form-section p{font-size:11px;color:#666;margin:-7px 0 15px}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-fields.one{grid-template-columns:1fr}.staff-field{display:flex;flex-direction:column;gap:6px;color:#777;font-size:9px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}.staff-field input,.staff-field select{width:100%;box-sizing:border-box;background:#080809;border:1px solid var(--fb-line2);border-radius:8px;color:#fff;padding:11px 12px;font:inherit;font-size:12px;letter-spacing:0;text-transform:none;outline:none}.staff-field input:focus,.staff-field select:focus{border-color:rgba(255,255,255,.35)}.form-submit{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:17px}.test-message{font-size:11px;color:#777}.test-message.success{color:var(--fb-green)}.test-message.error{color:#ef9d9d}
@media(max-width:900px){.staff-grid{grid-template-columns:repeat(2,1fr)}.order-body{grid-template-columns:1fr}.form-layout{grid-template-columns:1fr}.form-section.full{grid-column:auto}}
@media(max-width:620px){.staff-shell{width:min(100% - 22px,1320px);padding-top:28px}.staff-top{display:block}.staff-actions{justify-content:flex-start;margin-top:18px}.staff-grid{grid-template-columns:1fr 1fr}.staff-stat{min-height:92px}.staff-stat strong{font-size:25px}.staff-panel-head{align-items:flex-start;flex-direction:column}.staff-search{width:100%;min-width:0}.account-row{grid-template-columns:1fr}.account-right{justify-content:flex-start}.order-tabs{margin-left:-5px;margin-right:-5px}.order-tab{min-width:105px}.order-card-top{padding:16px}.order-body{padding:15px}.order-card-bottom{padding:13px 15px;align-items:flex-start;flex-direction:column}.status-current{width:100%;justify-content:space-between}.status-select{width:100%}.form-layout{padding:13px}.form-fields{grid-template-columns:1fr}}

/* Test store / checkout */
.test-store-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.test-store-head .staff-actions{align-items:center}.test-bag-count{color:#fff;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.test-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px}.test-product-card{display:grid;grid-template-columns:190px 1fr;border:1px solid var(--fb-line);border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#111113,#0c0c0d)}.test-product-image{background:#050506;min-height:270px;display:flex;align-items:center;justify-content:center}.test-product-image img{width:100%;height:100%;object-fit:cover}.test-product-copy{padding:19px}.test-product-category{font-size:9px;letter-spacing:.15em;color:#fff;text-transform:uppercase;margin:0 0 7px}.test-product-copy h3{font-size:18px;margin:0 0 7px}.test-product-copy>strong{font-size:15px}.test-product-copy>p{font-size:11px;line-height:1.6;color:#fff;margin:12px 0 17px}.test-product-controls{display:grid;grid-template-columns:1fr 70px;gap:8px}.test-product-controls select,.test-product-controls input{background:#080809;border:1px solid var(--fb-line2);border-radius:8px;color:#fff;padding:10px}.test-product-controls .staff-btn{grid-column:1/-1}.test-bag-drawer{position:fixed;inset:0;z-index:100;visibility:hidden}.test-bag-drawer.open{visibility:visible}.test-bag-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);opacity:0;transition:.2s}.test-bag-drawer.open .test-bag-backdrop{opacity:1}.test-bag-panel{position:absolute;right:0;top:0;height:100%;width:min(520px,100%);background:#09090a;border-left:1px solid var(--fb-line2);display:flex;flex-direction:column;transform:translateX(100%);transition:.25s;padding:22px;box-sizing:border-box}.test-bag-drawer.open .test-bag-panel{transform:none}.test-bag-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--fb-line)}.test-bag-header h2{margin:0;font-size:25px}.test-close{background:none;border:0;color:#fff;font-size:32px;cursor:pointer}.test-bag-items{flex:1;overflow:auto;padding:10px 0}.test-bag-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:15px 0;border-bottom:1px solid var(--fb-line)}.test-bag-item img{width:72px;height:88px;object-fit:cover;background:#111}.test-bag-item-main{display:flex;flex-direction:column;gap:5px}.test-bag-item-main>span{font-size:11px;color:#fff}.test-qty{display:flex;align-items:center;gap:8px;margin-top:5px}.test-qty button{background:#111113;border:1px solid var(--fb-line2);color:#fff;border-radius:6px;min-width:28px;height:28px;cursor:pointer}.test-qty .test-remove{font-size:10px;width:auto;padding:0 8px}.test-bag-footer{border-top:1px solid var(--fb-line);padding-top:18px}.test-bag-footer>div{display:flex;justify-content:space-between;margin-bottom:14px}.test-bag-footer span{color:#fff}.test-bag-footer strong{font-size:20px}.test-bag-footer .staff-btn{width:100%}.test-empty-bag{text-align:center;padding:60px 20px;color:#fff}.test-empty-bag h3{color:#fff}.test-checkout-panel{scroll-margin-top:20px}.test-checkout-wrap{padding-bottom:10px}.test-review{border:1px solid var(--fb-line);border-radius:10px;overflow:hidden}.test-review>div,.test-review-total{display:flex;justify-content:space-between;gap:15px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px;color:#fff}.test-review-total{border:0;font-size:14px;padding:15px 0}.test-status-row{display:grid;grid-template-columns:220px 1fr;gap:15px;align-items:end}.test-no-payment{border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:12px;color:#fff;display:flex;flex-direction:column;gap:5px;font-size:11px}.test-no-payment strong{letter-spacing:.12em;font-size:9px}.test-message a{color:#fff;text-decoration:underline}.test-store-page .staff-panel-head h2,.test-store-page .staff-panel-head p,.test-store-page .staff-field,.test-store-page .staff-field input,.test-store-page .staff-field select,.test-store-page .form-section h3,.test-store-page .form-section p{color:#fff}
@media(max-width:1050px){.test-product-card{grid-template-columns:150px 1fr}.test-product-image{min-height:230px}}
@media(max-width:760px){.test-store-head{display:block}.test-store-head .staff-actions{justify-content:flex-start;margin-top:18px}.test-product-grid{grid-template-columns:1fr;padding:12px}.test-product-card{grid-template-columns:120px 1fr}.test-product-image{min-height:210px}.test-status-row{grid-template-columns:1fr}.test-bag-item{grid-template-columns:62px 1fr auto}.test-bag-item img{width:62px;height:76px}}
@media(max-width:520px){.test-product-card{grid-template-columns:1fr}.test-product-image{height:280px}.test-product-copy{padding:16px}.test-bag-panel{padding:16px}.test-bag-item{grid-template-columns:58px 1fr}.test-bag-item>strong{grid-column:2}.test-product-controls{grid-template-columns:1fr 70px}}
body.staff-page .staff-shell,body.staff-page .staff-shell h1,body.staff-page .staff-shell h2,body.staff-page .staff-shell h3,body.staff-page .staff-shell p,body.staff-page .staff-shell span,body.staff-page .staff-shell strong,body.staff-page .staff-shell small,body.staff-page .staff-shell label,body.staff-page .staff-shell .account-email,body.staff-page .staff-shell .account-date,body.staff-page .staff-shell .item-meta,body.staff-page .staff-shell .order-time,body.staff-page .staff-shell .order-number,body.staff-page .staff-shell .info-label,body.staff-page .staff-shell .staff-kicker,body.staff-page .staff-shell .staff-subtitle,body.staff-page .staff-shell .staff-panel-head p,body.staff-page .staff-shell .status-current{color:#fff}.staff-shell .staff-btn{color:#fff}.staff-shell .staff-btn.primary{color:#080808}.staff-shell input,.staff-shell select{color:#fff}
/* Test store quick-view overlay. The underlying shop layout intentionally uses the normal shop.css. */
.test-product-modal{position:fixed;inset:0;z-index:120;visibility:hidden;display:flex;align-items:center;justify-content:center;padding:24px}.test-product-modal.open{visibility:visible}.test-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}.test-product-modal-card{position:relative;z-index:1;width:min(1080px,100%);max-height:92vh;overflow:auto;background:#fff;color:#111;box-shadow:0 30px 100px rgba(0,0,0,.4)}.test-product-modal-card .product-page{padding:0}.test-product-modal-card .product-gallery{background:#f1f1ef}.test-product-modal-card .product-copy{padding:45px}.test-modal-x{position:absolute;right:16px;top:12px;z-index:5;border:0;background:#fff;color:#111;font-size:30px;cursor:pointer;line-height:1}.test-product-modal-card .notice{color:#555}.test-product-modal-card .eyebrow{color:#555}.test-product-modal-card .size-btn{color:#111;border-color:#ccc}.test-product-modal-card .size-btn.selected{background:#111;color:#fff;border-color:#111}.test-checkout-section{max-width:1400px;margin:auto}.test-checkout-section[hidden]{display:none}.test-checkout-section .form-layout{background:#fff;border:1px solid var(--line)}.test-checkout-section .form-section{background:#fff;border:1px solid var(--line)}.test-checkout-section .staff-field{color:#555}.test-checkout-section .staff-field input,.test-checkout-section .staff-field select{background:#fff;color:#111;border-color:#ccc}.test-checkout-section .test-review{border-color:#ddd}.test-checkout-section .test-review>div,.test-checkout-section .test-review-total{color:#111;border-color:#eee}.test-checkout-section .test-no-payment{color:#111;border-color:#ddd}.test-checkout-section .test-message.success{color:#247a4a}.test-checkout-section .test-message.error{color:#a33}
@media(max-width:800px){.test-product-modal{padding:10px}.test-product-modal-card .product-copy{padding:28px}.test-product-modal-card .product-page{display:block}}

.staff-btn.danger{border-color:#b33;background:#7a1515;color:#fff}.staff-btn.danger:hover{background:#9a1d1d;color:#fff}
