.record-actions{display:flex;gap:8px;margin:15px 0}.record-actions form{margin:0}.picker-disabled{opacity:.72;background:#fafbfc}.picker-disabled .qty-input{background:#f2f4f5;color:#7d8991}.logistics-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px;margin-bottom:25px}.copy-number{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:0;color:var(--ink);cursor:pointer}.copy-number .mono{color:var(--blue-dark);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.copy-icon{color:#9aa8b2;font-size:14px}.copy-feedback{font-size:11px;color:var(--green);min-width:38px}.copy-number.copied .copy-icon{color:var(--green)}.profile-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;max-width:680px}.profile-hero{display:flex;align-items:center;gap:16px;padding-bottom:25px;border-bottom:1px solid var(--line)}.profile-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--blue-pale);color:var(--blue);font-weight:800;font-size:25px}.profile-hero h2{margin:0 0 5px;font-size:22px}.profile-hero p{margin:0;color:var(--muted)}.profile-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:24px 0}.profile-list div{display:flex;flex-direction:column;gap:7px}.profile-list span{font-size:11px;color:var(--muted)}.profile-actions{display:flex;gap:9px;border-top:1px solid var(--line);padding-top:20px}@media(max-width:900px){.record-actions{flex-wrap:wrap}.logistics-panel{padding:16px;margin-bottom:18px}.profile-card{padding:20px}.profile-list{grid-template-columns:1fr 1fr}.profile-list div:last-child{grid-column:1/-1}.profile-actions{flex-direction:column}.profile-actions .button{width:100%}}
.profile-password{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;max-width:680px;margin-top:16px}.profile-password form{display:grid;gap:16px}.profile-password-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-password-fields label{display:flex;flex-direction:column;gap:8px;color:#5f6e78;font-weight:600;font-size:13px}.profile-password-fields input{width:100%;min-width:0;border:1px solid #dbe3e8;border-radius:8px;padding:11px 12px;outline:0;background:#fff;color:var(--ink)}.profile-password form>.primary{justify-self:start}@media(max-width:900px){.profile-password{padding:20px}.profile-password-fields{grid-template-columns:1fr}.profile-password form>.primary{width:100%}}
.topbar-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}.back-button{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--blue-dark);font-size:28px;line-height:1;cursor:pointer}.back-button:hover{background:var(--blue-pale)}.user-chip{border-radius:9px;padding:3px 6px}.user-chip:hover{background:var(--blue-pale)}
@media(max-width:900px){.topbar{gap:10px;align-items:center}.topbar-heading{gap:8px;min-width:0}.back-button{width:36px;height:36px;flex-basis:36px;font-size:26px}.topbar-heading>div{min-width:0}.topbar h1{max-width:calc(100vw - 125px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip{flex:0 0 auto;padding:0}.toolbar-actions{flex-wrap:wrap}.section-head{gap:10px;flex-wrap:wrap}.section-head .button{flex:0 0 auto}.form-panel .panel-title{gap:10px;flex-wrap:wrap}.form-panel .panel-title>div{min-width:0}.order-header{padding:16px}.order-header h2{font-size:18px;overflow-wrap:anywhere}.order-header .order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:14px}.order-header .order-actions form,.order-header .order-actions>a{min-width:0}.order-header .order-actions button,.order-header .order-actions>a{width:100%;min-width:0;padding-left:8px;padding-right:8px}.order-item{gap:9px;padding:12px}.order-item>div:nth-child(2){min-width:0}.order-item>div:nth-child(2) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logistics-panel .panel-title{gap:8px;align-items:flex-start}.logistics-panel .panel-title>div{min-width:0}.shipment{flex-wrap:wrap}.shipment>div{min-width:0;max-width:calc(100% - 45px)}.shipment .copy-number{max-width:100%}.shipment .copy-number .mono{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-edit{position:static;order:3;width:100%;flex-wrap:wrap;margin-top:4px}.inline-edit input{flex:1 1 110px;min-width:0}.shipment-form{gap:8px}.shipment-form input{width:100%}.profile-hero{gap:12px}.profile-hero h2{font-size:19px}.back-button:focus-visible,.user-chip:focus-visible{outline:3px solid rgba(21,151,229,.25);outline-offset:2px}}
.stats{grid-template-columns:repeat(2,minmax(0,210px));gap:10px;margin:0 0 18px}.stats>div{padding:12px 15px;border-radius:8px;min-height:58px}.stats strong{font-size:19px}.stats small{display:none}.toolbar{margin:0 0 14px}.filter-main{flex:1;min-width:0}.toolbar .search{max-width:none}.filter-toggles{display:flex;align-items:center;gap:16px;margin-top:9px;min-height:20px}
@media(max-width:900px){.main{touch-action:pan-x pan-y}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.stats>div{padding:10px 12px;min-height:52px}.stats strong{font-size:17px}.toolbar{margin:0 0 14px}.toolbar .search{width:100%;max-width:none}.toolbar .search input{min-width:50px}.toolbar .search select{max-width:none}.filter-toggles{gap:14px;margin-top:10px}.toolbar-actions{justify-content:flex-start}.toolbar-actions .button{flex:1}.section-head{margin-bottom:12px}}
.mobile-appbar{display:none}.search-field{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.dashboard-toolbar .search{gap:8px}.dashboard-toolbar .search-field input{min-width:0}.dashboard-toolbar .search select{flex:0 0 150px}.dashboard-toolbar .search .primary{flex:0 0 auto}.dashboard-toolbar .toolbar-actions{align-self:flex-start}.dashboard-toolbar .filter-toggles{margin-top:8px}.stats{grid-template-columns:repeat(2,minmax(0,220px));}.stats>div{box-shadow:0 2px 8px rgba(28,51,69,.04)}.product-card{border-radius:10px;box-shadow:0 2px 8px rgba(28,51,69,.04)}
@media(max-width:900px){
  body{background:#f5f7f9}
  .main{padding:0 14px 84px}
  .mobile-appbar{display:flex;height:62px;margin:0 -14px;padding:0 16px;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8edf1;position:relative;z-index:2}
  .mobile-brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;letter-spacing:.01em}
  .mobile-brand .brand-mark{width:30px;height:30px;border-radius:9px;font-size:14px}
  .mobile-account{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8f5fd}
  .mobile-account .avatar{width:28px;height:28px;font-size:13px}
  .topbar{margin:0;padding:22px 2px 18px;align-items:flex-start;border-bottom:0}
  .topbar-heading{gap:8px}
  .topbar-heading .eyebrow{font-size:11px;margin:0 0 6px;color:#85929c}
  .topbar h1{font-size:27px;line-height:1.15;letter-spacing:0;max-width:none}
  .topbar .user-chip{display:none}
  .back-button{width:34px;height:34px;flex-basis:34px;border-radius:10px;font-size:25px;margin-top:2px}
  .dashboard-toolbar{display:block;margin:0 0 16px;padding:0}
  .dashboard-toolbar .search{display:grid;grid-template-columns:minmax(0,1fr) minmax(98px,34%) 66px;grid-template-rows:46px;gap:0;padding:0;min-height:46px;border-radius:12px;overflow:hidden;box-shadow:0 2px 9px rgba(28,51,69,.06)}
  .dashboard-toolbar .search-field{padding:0 12px;border-right:1px solid #edf0f2}
  .dashboard-toolbar .search-field span{font-size:22px;color:#8c9aa4}
  .dashboard-toolbar .search-field input{font-size:14px}
  .dashboard-toolbar .search select{min-width:0;max-width:none;width:100%;border:0;border-left:1px solid #edf0f2;border-radius:0;padding:0 8px;font-size:13px;background:#fff}
  .dashboard-toolbar .search .primary{min-width:0;border-radius:0;padding:0 8px;font-size:14px}
  .dashboard-toolbar .filter-toggles{display:flex;gap:18px;margin:11px 2px 0;min-height:22px}
  .dashboard-toolbar .toggle{font-size:12px}
  .dashboard-toolbar .toolbar-actions{display:flex;margin-top:12px;gap:8px}
  .dashboard-toolbar .toolbar-actions .button{min-height:36px;font-size:12px;padding:0 12px;flex:0 0 auto}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 24px}
  .stats>div{min-height:58px;padding:12px 14px;border-radius:10px;box-shadow:none}
  .stats span{font-size:11px}
  .stats strong{font-size:22px}
  .section-head{display:flex;align-items:flex-end;margin-bottom:12px;padding:0 2px}
  .section-head h2{font-size:20px;line-height:1.2}
  .section-head p{font-size:11px;margin-top:5px}
  .section-head .primary{min-height:36px;padding:0 11px;font-size:12px}
  .product-grid{display:grid;grid-template-columns:1fr;gap:10px}
  .product-card{min-height:136px;padding:12px;border-radius:12px;gap:12px;box-shadow:0 2px 8px rgba(28,51,69,.04)}
  .product-image{width:88px;height:88px;flex-basis:88px;border-radius:9px}
  .product-info h3{font-size:16px;margin:7px 0 9px}
  .metrics{gap:17px}.metrics strong{font-size:19px}
  .card-foot{font-size:11px;padding-top:8px}
}

@media(max-width:900px){
  .mobile-appbar{height:58px;background:#f5f7f9;border-bottom:0;padding:0 16px}
  .mobile-brand{font-size:16px;gap:8px}
  .mobile-brand .brand-mark{width:32px;height:32px;border-radius:10px;background:#16a887;color:#fff}
  .mobile-account{background:#e6f4f1}
  .topbar{padding:12px 2px 16px;align-items:center}
  .topbar h1{font-size:25px;line-height:1.2}
  .topbar-heading .eyebrow{margin-bottom:4px}
  .dashboard-toolbar{margin:0 0 18px}
  .dashboard-toolbar .search{grid-template-columns:minmax(0,1fr) 58px;grid-template-rows:48px 46px;gap:8px 0;overflow:visible;background:transparent;border:0;box-shadow:none}
  .dashboard-toolbar .search-field{grid-column:1;grid-row:1;background:#fff;border:1px solid #e1e7eb;border-right:0;border-radius:11px 0 0 11px;padding:0 13px}
  .dashboard-toolbar .search-field span{font-size:20px}
  .dashboard-toolbar .search-field input{width:100%;font-size:14px}
  .dashboard-toolbar .search .primary{grid-column:2;grid-row:1;border-radius:0 11px 11px 0;padding:0 8px}
  .dashboard-toolbar .search select{grid-column:1/-1;grid-row:2;height:46px;border:1px solid #e1e7eb;border-radius:10px;padding:0 12px;background:#fff;font-size:13px}
  .dashboard-toolbar .filter-toggles{margin:11px 2px 0;gap:16px;min-height:24px;flex-wrap:wrap}
  .dashboard-toolbar .toggle{font-size:12px;white-space:nowrap}
  .dashboard-toolbar .toolbar-actions{margin-top:12px;gap:8px}
  .dashboard-toolbar .toolbar-actions .button{min-height:34px;border-radius:8px;padding:0 11px}
  .stats{margin-bottom:22px}
}
@media(max-width:380px){
  .main{padding-left:12px;padding-right:12px}
  .mobile-appbar{margin-left:-12px;margin-right:-12px}
  .dashboard-toolbar .filter-toggles{gap:11px}
  .dashboard-toolbar .toggle{font-size:11px}
  .stats>div{padding-left:11px;padding-right:11px}
}
.dashboard-topbar{display:none}
.category-filters{display:flex;align-items:center;gap:0;flex:0 0 auto}
.category-filters select{border-left:1px solid var(--line)!important}
.category-filters select:first-child{border-left:0!important}
.address-parser{margin:22px 0 4px;padding:15px 16px;background:#f7fafc;border:1px solid var(--line);border-radius:10px}
.address-parser-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.address-parser-heading>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.address-parser-heading strong{font-size:13px;color:var(--ink)}
.address-parser-heading span{font-size:11px;color:var(--muted);font-weight:400}
.address-parser textarea{display:block;width:100%;margin-top:11px;min-height:72px;resize:vertical;border:1px solid #dbe3e8;border-radius:8px;padding:10px 12px;outline:0;background:#fff;color:var(--ink)}
.address-parser textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,151,229,.1)}
.address-parser .parse-error{color:var(--red)}
.product-image img,.detail-image img,.mini-image img{object-position:center center}
@media(max-width:900px){
  .dashboard-topbar{display:none}
  .category-filters{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}
  .dashboard-toolbar .search .category-filters select{grid-column:auto;grid-row:auto;height:46px;border:1px solid #e1e7eb!important;border-radius:10px;padding:0 10px;background:#fff}
  .address-parser{margin-top:18px;padding:13px}
  .address-parser-heading{align-items:flex-start}
  .address-parser-heading .button{flex:0 0 auto}
  .address-parser-heading span{line-height:1.45}
}
@media(max-width:380px){
  .address-parser-heading{display:block}
  .address-parser-heading .button{width:100%;margin-top:10px}
}
.topbar-heading>div{display:none}
.topbar{min-height:0;margin-bottom:16px}
@media(max-width:900px){
  .topbar{height:38px;margin:0 0 8px;padding:0;border:0;position:relative}
  .topbar-heading{position:static;z-index:3}
  .topbar-heading .back-button{margin:0;width:34px;height:34px;flex-basis:34px}
  .product-form>.panel-title{height:0;margin:0;overflow:visible;justify-content:flex-end}
  .product-form>.panel-title .button{position:relative;z-index:1}
  .product-form>.panel-title>div{display:none}
}
