@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root { font-family: Inter, system-ui, sans-serif; color: #172033; background: #f5f7fb; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin-top: 0; }
.eyebrow { color: #2476ff; font-size: .72rem; letter-spacing: .13em; font-weight: 800; }

.login-shell { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 100vh; background: #fff; }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 3.2rem 4.5rem; color: #fff; background: radial-gradient(circle at 18% 20%, #294c8f 0, transparent 38%), radial-gradient(circle at 80% 78%, #17356d 0, transparent 40%), #09152d; }
.login-story::after { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, #000, transparent); }
.brand, .sidebar-brand, .mobile-brand { position: relative; z-index: 1; font-weight: 800; letter-spacing: .13em; font-size: 1.35rem; }
.brand span, .sidebar-brand span, .mobile-brand span { color: #3c8cff; }
.story-copy { position: relative; z-index: 1; max-width: 660px; }
.story-copy h1 { margin: 1.3rem 0; font-size: clamp(2.5rem, 4.3vw, 4.8rem); line-height: 1.04; letter-spacing: -.055em; }
.story-copy p { max-width: 580px; color: #b7c3da; font-size: 1.08rem; line-height: 1.75; }
.feature-row { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; color: #dce7fb; font-size: .86rem; font-weight: 600; }
.login-story small { position: relative; z-index: 1; color: #7f8da9; }
.login-panel { display: grid; place-items: center; padding: 2rem; }
.login-card { width: min(430px, 100%); }
.mobile-brand { display: none; margin-bottom: 3rem; }
.login-card h2 { margin: .8rem 0 .55rem; font-size: 2rem; letter-spacing: -.035em; }
.muted, .trial { color: #798195; }
.login-card form { margin-top: 2.1rem; }
.remember-row { display: flex; align-items: center; gap: .5rem; margin: -.15rem 0 1rem; color: #647087; font-size: .78rem; cursor: pointer; }
.remember-row input { accent-color: #1769ed; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: .55rem; color: #354056; font-size: .82rem; font-weight: 700; }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-row a, .trial a { color: #1d6ef2; font-size: .78rem; font-weight: 700; }
.field input { width: 100%; border: 1px solid #dce1ea; border-radius: 11px; padding: .95rem 1rem; outline: none; transition: .2s; background: #fbfcfe; }
.field input:focus { border-color: #397ff2; box-shadow: 0 0 0 4px rgba(57,127,242,.11); background: #fff; }
.validation-message { color: #cf3446; font-size: .76rem; margin-top: .35rem; }
.login-error { border-radius: 9px; padding: .8rem 1rem; margin-bottom: 1rem; color: #a51e30; background: #fff0f2; font-size: .83rem; }
.primary-button, .sync-button { border: 0; border-radius: 11px; padding: .95rem 1.2rem; color: #fff; background: #1769ed; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(23,105,237,.2); }
.primary-button { width: 100%; }
.primary-button:disabled { opacity: .65; cursor: wait; }
.demo-note { margin-top: 1rem; border-radius: 9px; padding: .7rem 1rem; text-align: center; color: #5d6780; background: #f3f6fb; font-size: .75rem; }
.trial { margin-top: 2.2rem; text-align: center; font-size: .82rem; }

.app-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.content-shell { min-width: 0; }
.subscription-notice { display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.25rem 2.7rem 0;padding:.9rem 1rem;border:1px solid;border-radius:12px;background:#fff; }
.subscription-notice div { display:grid;gap:.2rem; }
.subscription-notice strong { font-size:.82rem; }
.subscription-notice span { font-size:.76rem;color:#667085; }
.subscription-notice a { flex:0 0 auto;font-size:.75rem;font-weight:700;text-decoration:none; }
.subscription-notice.warning { border-color:#f2d38a;background:#fff9e8; }
.subscription-notice.warning strong,.subscription-notice.warning a { color:#9b5f00; }
.subscription-notice.blocked { border-color:#f3c5cc;background:#fff0f2; }
.subscription-notice.blocked strong,.subscription-notice.blocked a { color:#b42336; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 2rem 1rem 1rem; color: #aab6cc; background: #0b152a; }
.sidebar-brand { padding: 0 .8rem 2.4rem; color: #fff; }
.sidebar nav { display: grid; gap: .35rem; }
.sidebar nav a { display: flex; align-items: center; gap: .8rem; padding: .78rem .85rem; border-radius: 9px; font-size: .84rem; font-weight: 600; }
.sidebar nav a span { width: 20px; color: #72809c; font-size: 1rem; }
.sidebar nav a b { margin-left: auto; border-radius: 20px; padding: .15rem .45rem; color: #fff; background: #28405f; font-size: .66rem; }
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: #172642; }
.sidebar nav a.active { box-shadow: inset 3px 0 #3484ff; }
.nav-label { margin: 1.65rem .85rem .55rem; color: #53617a; font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.sidebar-user { display: grid; grid-template-columns: 36px 1fr 24px; gap: .7rem; align-items: center; margin-top: auto; border-top: 1px solid #23304a; padding: 1.2rem .4rem .2rem; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #266fd7; font-size: .7rem; font-weight: 800; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user strong { color: #fff; font-size: .72rem; }
.sidebar-user small { color: #71809a; font-size: .62rem; margin-top: .2rem; }
.sidebar-user button { border: 0; color: #8c9ab5; background: transparent; cursor: pointer; }
.dashboard { padding: 2.3rem 2.7rem; min-width: 0; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.topbar h1 { margin: .42rem 0; font-size: 1.85rem; letter-spacing: -.035em; }
.topbar p, .panel-heading p { margin: 0; color: #8490a5; font-size: .82rem; }
.top-actions { display: flex; align-items: center; gap: 1.1rem; }
.live-dot { color: #20a76b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.metric-grid article { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid #e7eaf1; border-radius: 14px; padding: 1.3rem; background: #fff; box-shadow: 0 8px 24px rgba(23,32,51,.04); }
.metric-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 10px; font-weight: 800; }
.metric-icon.blue { color: #2476ff; background: #eaf2ff; }.metric-icon.amber { color: #e39216; background: #fff5df; }.metric-icon.purple { color: #784ce8; background: #f1ebff; }.metric-icon.green { color: #159b63; background: #e5f8ef; }
.metric-grid small { color: #818ba0; font-size: .64rem; font-weight: 800; letter-spacing: .06em; }
.metric-grid strong { display: block; margin: .42rem 0 .25rem; color: #192338; font-size: 1.8rem; }
.metric-grid p { margin: 0; color: #9099ab; font-size: .68rem; }.metric-grid em { color: #17a267; font-style: normal; font-weight: 700; }
.content-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.15rem; margin-top: 1.15rem; }
.panel { border: 1px solid #e7eaf1; border-radius: 14px; padding: 1.35rem; background: #fff; box-shadow: 0 8px 24px rgba(23,32,51,.04); }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.panel-heading h2 { margin-bottom: .3rem; font-size: 1rem; }
.panel-heading button { border: 0; color: #2775ea; background: transparent; font-size: .72rem; font-weight: 700; cursor: pointer; }
.panel-action-link { color:#2775ea;font-size:.72rem;font-weight:700;text-decoration:none; }
.flow-list { display: grid; gap: 1.15rem; }.flow-list div { display: grid; grid-template-columns: 1fr auto; gap: .5rem; color: #586278; font-size: .76rem; }.flow-list b { color: #273147; }.flow-list i { grid-column: 1 / -1; height: 7px; border-radius: 20px; overflow: hidden; background: #eef1f6; }.flow-list i::before { content: ''; display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#246fec,#59a0ff); }
.danger-badge { border-radius: 20px; padding: .3rem .55rem; color: #c5293d; background: #ffedf0; font-size: .65rem; font-weight: 800; }
.urgent-item { display: grid; grid-template-columns: 35px 1fr auto; gap: .8rem; align-items: center; border-top: 1px solid #eef0f4; padding: .8rem 0;color:inherit;text-decoration:none; }.urgent-item > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; font-weight: 800; }.urgent-item .danger { color:#d12d44;background:#ffedf0 }.urgent-item .warning { color:#df8b0d;background:#fff4dd }.urgent-item .info { color:#2775ea;background:#eaf2ff }.urgent-item strong,.urgent-item small { display:block }.urgent-item strong { font-size:.76rem }.urgent-item small { margin-top:.25rem;color:#929bad;font-size:.65rem }.urgent-item b { color:#a3acba; }
.recent-panel { margin-top: 1.15rem; }.order-row { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr .8fr .8fr; gap: 1rem; align-items: center; border-top: 1px solid #edf0f4; padding: .78rem .2rem; color: #596378; font-size: .72rem; }.order-row.heading { border: 0; padding-top: 0; color: #9aa3b3; font-size: .6rem; font-weight: 800; letter-spacing: .06em; }.order-row strong { color:#253049 }.status { width:max-content;border-radius:20px;padding:.28rem .6rem;font-size:.62rem;font-weight:700 }.status.picking { color:#c77600;background:#fff3da }.status.ready { color:#147b53;background:#e6f7ef }.status.waiting { color:#276dd1;background:#e9f2ff }.status.printed { color:#7446c8;background:#f1eaff }.status.shipped { color:#1767c9;background:#eaf3ff }.status.delivered { color:#117450;background:#e7f8f1 }.status.cancelled,.status.problem { color:#b42336;background:#fff0f2 }
.dashboard-live-status { display:flex;align-items:flex-end;flex-direction:column;gap:.2rem; }.dashboard-live-status small { color:#919bad;font-size:.58rem; }.dashboard-completion-note { display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.25rem;border-top:1px solid #edf0f4;padding-top:1rem;color:#818ba0;font-size:.64rem; }.dashboard-completion-note strong { margin-left:.2rem;color:#303a50; }.dashboard-tomorrow { margin-top:.75rem;border-radius:9px;padding:.65rem .75rem;color:#667187;background:#f5f7fb;font-size:.63rem; }.dashboard-tomorrow strong { color:#303a50; }.dashboard-empty { display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:130px;border:1px dashed #d8dee9;border-radius:10px;color:#8a94a7;background:#fafbfc;text-align:center;font-size:.68rem; }.dashboard-empty strong { color:#303a50; }.dashboard-empty span { margin-top:.35rem;font-size:.62rem; }
.session-check { display: grid; place-items: center; min-height: 100vh; color: #788398; }
.admin-page { width: 100%; }
.management-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.5fr); gap: 1.15rem; align-items: start; }
.admin-panel { min-width: 0; }
.form-panel { max-width: 900px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.1rem; }
.field.span-2 { grid-column: 1 / -1; }
.field textarea, .field select { width: 100%; border: 1px solid #dce1ea; border-radius: 11px; padding: .95rem 1rem; outline: none; color: #172033; background: #fbfcfe; transition: .2s; }
.field textarea:focus, .field select:focus { border-color: #397ff2; box-shadow: 0 0 0 4px rgba(57,127,242,.11); background: #fff; }
.field input:disabled { color: #7b8496; background: #eef1f6; cursor: not-allowed; }
.checkbox-line { display:flex;align-items:flex-start;gap:.65rem;margin:.35rem 0 1rem;color:#596378;font-size:.72rem;line-height:1.4;cursor:pointer; }
.checkbox-line input { flex:0 0 auto;width:16px;height:16px;margin-top:.08rem;accent-color:#2476ff; }
.form-actions { display: flex; justify-content: flex-end; border-top: 1px solid #edf0f4; margin-top: .5rem; padding-top: 1.1rem; }
.primary-button.compact { width: auto; min-width: 180px; }
.form-message { border: 1px solid; border-radius: 10px; margin-bottom: 1rem; padding: .85rem 1rem; font-size: .8rem; font-weight: 600; }
.form-message.success { border-color: #bce8d2; color: #147b53; background: #eaf8f1; }
.form-message.error { border-color: #f3c5cc; color: #b42336; background: #fff0f2; }
.staff-summary { display: flex; align-items: baseline; gap: .5rem; border: 1px solid #dfe5ef; border-radius: 11px; padding: .7rem 1rem; background: #fff; }
.staff-summary strong { color: #1769ed; font-size: 1.4rem; }.staff-summary span { color: #7c879a; font-size: .74rem; }
.capacity-banner { display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:1rem 1.1rem;border:1px solid;border-radius:12px; }
.capacity-banner div { display:grid;gap:.25rem; }
.capacity-banner strong { font-size:.86rem; }
.capacity-banner span { color:#667085;font-size:.76rem; }
.capacity-banner a { flex:0 0 auto;font-size:.75rem;font-weight:700;text-decoration:none; }
.capacity-banner.available { border-color:#bce8d2;background:#effaf5; }
.capacity-banner.available strong { color:#147b53; }
.capacity-banner.full { border-color:#f2d38a;background:#fff9e8; }
.capacity-banner.full strong,.capacity-banner.full a { color:#9b5f00; }
.capacity-banner.blocked { border-color:#f3c5cc;background:#fff0f2; }
.capacity-banner.blocked strong,.capacity-banner.blocked a { color:#b42336; }
.count-badge { border-radius: 20px; padding: .3rem .6rem; color: #276dd1; background: #e9f2ff; font-size: .68rem; font-weight: 800; }
.staff-table { overflow-x: auto; }
.staff-row { display: grid; grid-template-columns: minmax(170px, 1.45fr) minmax(80px, .65fr) 68px 78px; gap: .65rem; align-items: center; border-top: 1px solid #edf0f4; min-width: 510px; padding: .85rem .25rem; color: #596378; font-size: .72rem; }
.staff-row.staff-heading { border-top: 0; padding-top: 0; color: #9aa3b3; font-size: .6rem; font-weight: 800; letter-spacing: .06em; }
.staff-identity { display: flex; align-items: center; gap: .75rem; }.staff-identity strong,.staff-identity small { display: block; }.staff-identity strong { color: #253049; }.staff-identity small { margin-top: .2rem; color: #9099ab; font-size: .65rem; }
.avatar.small { flex: 0 0 34px; width: 34px; height: 34px; }
.table-action { border: 0; padding: .4rem 0; text-align: left; background: transparent; font-size: .7rem; font-weight: 700; cursor: pointer; }
.table-action:disabled { opacity: .35; cursor: not-allowed; }.danger-text { color: #c5293d; }.success-text { color: #147b53; }
.empty-state { border: 1px dashed #d8dee9; border-radius: 10px; padding: 2rem; text-align: center; color: #8a94a7; background: #fafbfc; }
.platform-shell { background: #f4f6fb; }
.sidebar-brand small { display: block; margin-top: .45rem; color: #53617a; font-size: .55rem; letter-spacing: .18em; }
.platform-sidebar { background: #091326; }
.platform-avatar { background: linear-gradient(135deg, #7c4dff, #2476ff); }
.platform-page { width: 100%; }
.platform-metrics article strong { font-size: 1.55rem; }
.platform-content { grid-template-columns: 1fr 1fr; }
.panel-link { color: #2775ea; font-size: .72rem; font-weight: 700; }
.admin-list-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #edf0f4; padding: .85rem 0; }
.admin-list-row strong, .admin-list-row small { display: block; }
.admin-list-row small { margin-top: .25rem; color: #9099ab; font-size: .68rem; }
.platform-admin-grid { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.6fr); gap: 1.15rem; align-items: start; }
.table-search { border: 1px solid #dce1ea; border-radius: 9px; min-width: 180px; padding: .6rem .75rem; outline: none; }
.table-search:focus { border-color: #397ff2; box-shadow: 0 0 0 4px rgba(57,127,242,.11); }
.tenant-table, .purchase-list { overflow-x: auto; }
.tenant-row { display: grid; grid-template-columns: minmax(150px, 1.3fr) 85px 70px 88px 125px; gap: .65rem; align-items: center; min-width: 590px; border-top: 1px solid #edf0f4; padding: .82rem .2rem; color: #596378; font-size: .7rem; }
.tenant-row.tenant-heading { border: 0; padding-top: 0; color: #9aa3b3; font-size: .6rem; font-weight: 800; letter-spacing: .06em; }
.tenant-row strong, .tenant-row small { display: block; }
.tenant-row strong { color: #253049; }
.tenant-row small { margin-top: .2rem; color: #9099ab; font-size: .64rem; }
.row-actions { display: flex; align-items: center; gap: .6rem; }
.row-actions button, .close-editor { border: 0; color: #2775ea; background: transparent; font-size: .68rem; font-weight: 700; cursor: pointer; }
.row-actions button:disabled { opacity: .35; cursor: not-allowed; }
.subscription-editor { margin-top: 1.15rem; }
.tenant-users-editor { margin-top: 1.15rem; }
.platform-user-list { overflow-x:auto; }
.platform-user-row { display:grid;grid-template-columns:minmax(190px,1.4fr) 120px 80px 100px;gap:.8rem;align-items:center;min-width:560px;border-top:1px solid #edf0f4;padding:.82rem .2rem;color:#596378;font-size:.72rem; }
.platform-user-row.platform-user-heading { border:0;padding-top:0;color:#9aa3b3;font-size:.6rem;font-weight:800;letter-spacing:.06em; }
.platform-user-row strong,.platform-user-row small { display:block; }
.platform-user-row strong { color:#253049; }
.platform-user-row small { margin-top:.2rem;color:#9099ab;font-size:.64rem; }
.password-reset-box { border-top:1px solid #edf0f4;margin-top:1rem;padding-top:1.2rem; }
.password-reset-box h3 { margin:0 0 .25rem;font-size:.95rem; }
.password-reset-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem; }
.audit-panel { min-width:0; }
.audit-toolbar { align-items:center; }
.audit-filters { display:flex;align-items:center;gap:.65rem;flex-wrap:wrap; }
.audit-filters .table-search { min-width:260px; }
.audit-filters select { border:1px solid #dce1ea;border-radius:9px;padding:.6rem .75rem;color:#596378;background:#fff;outline:none; }
.audit-table { overflow-x:auto; }
.audit-row { display:grid;grid-template-columns:105px minmax(155px,.9fr) minmax(130px,.8fr) minmax(140px,.8fr) minmax(260px,1.7fr);gap:.8rem;align-items:center;min-width:850px;border-top:1px solid #edf0f4;padding:.82rem .2rem;color:#596378;font-size:.7rem; }
.audit-row.audit-heading { border:0;padding-top:0;color:#9aa3b3;font-size:.6rem;font-weight:800;letter-spacing:.06em; }
.audit-row strong,.audit-row small { display:block; }
.audit-row strong { color:#253049; }
.audit-row small { margin-top:.2rem;color:#9099ab;font-size:.64rem; }
.audit-action { width:max-content;border-radius:20px;padding:.3rem .58rem;color:#276dd1;background:#e9f2ff;font-size:.64rem;font-weight:700; }
.audit-detail { line-height:1.45;color:#707b90; }
.renewal-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.15rem; }
.renewal-metric { border:1px solid #e2e7ef;border-radius:14px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.04); }
.renewal-metric small,.renewal-metric span { display:block; }
.renewal-metric small { color:#8b95a7;font-size:.6rem;font-weight:800;letter-spacing:.08em; }
.renewal-metric strong { display:block;margin:.45rem 0 .25rem;color:#2476ff;font-size:1.45rem; }
.renewal-metric span { color:#8b95a7;font-size:.68rem; }
.renewal-metric.danger strong { color:#c3394b; }.renewal-metric.warning strong { color:#d78419; }.renewal-metric.success strong { color:#16875e; }
.renewal-panel { min-width:0; }.renewal-toolbar { align-items:center; }
.renewal-table { overflow-x:auto; }
.renewal-row { display:grid;grid-template-columns:minmax(190px,1.35fr) minmax(130px,.85fr) 110px 110px 105px 80px;gap:.8rem;align-items:center;min-width:790px;border-top:1px solid #edf0f4;padding:.82rem .2rem;color:#596378;font-size:.7rem; }
.renewal-row.renewal-heading { border:0;padding-top:0;color:#9aa3b3;font-size:.6rem;font-weight:800;letter-spacing:.06em; }
.renewal-row strong,.renewal-row small { display:block; }.renewal-row strong { color:#253049; }.renewal-row small { margin-top:.22rem;color:#9099ab;font-size:.64rem; }
.renewal-time { width:max-content;border-radius:20px;padding:.3rem .58rem;font-size:.63rem;font-weight:800; }
.renewal-time.expired { color:#b42336;background:#fdecef; }.renewal-time.urgent { color:#b66508;background:#fff1dc; }.renewal-time.soon { color:#286bc3;background:#eaf3ff; }.renewal-time.healthy { color:#147653;background:#e8f7f0; }.renewal-time.neutral { color:#687386;background:#eef1f5; }
.renewal-editor { margin-top:1.15rem; }
.renewal-current { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1.1rem; }
.renewal-current > div { border:1px solid #e2e7ef;border-radius:11px;padding:.85rem;background:#f9fafc; }.renewal-current small,.renewal-current strong { display:block; }.renewal-current small { color:#929cad;font-size:.58rem;font-weight:800;letter-spacing:.06em; }.renewal-current strong { margin-top:.4rem;color:#253049;font-size:.82rem; }
.renewal-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem; }
.renewal-note { margin:.1rem 0 1rem;color:#7d8798;font-size:.72rem;line-height:1.55; }
.platform-alert-center { margin:1.15rem 0; }
.platform-alert-list { display:grid;gap:.55rem; }
.platform-alert-row { display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:.85rem;align-items:center;border:1px solid #e5e9f0;border-radius:11px;padding:.78rem .9rem;color:inherit;text-decoration:none;background:#fff;transition:.18s; }
.platform-alert-row:hover { transform:translateY(-1px);box-shadow:0 8px 18px rgba(23,32,51,.07); }
.platform-alert-row.critical { border-left:3px solid #c3394b; }.platform-alert-row.warning { border-left:3px solid #d78419; }.platform-alert-row.payment { border-left:3px solid #2476ff; }
.platform-alert-icon { display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;background:#758095;font-weight:900; }
.platform-alert-row.critical .platform-alert-icon { background:#c3394b; }.platform-alert-row.warning .platform-alert-icon { background:#d78419; }.platform-alert-row.payment .platform-alert-icon { background:#2476ff; }
.platform-alert-row strong,.platform-alert-row small { display:block; }.platform-alert-row strong { color:#253049;font-size:.75rem; }.platform-alert-row small { margin-top:.25rem;color:#8791a4;font-size:.66rem; }
.platform-alert-link { color:#2476ff;font-size:.65rem;font-weight:800; }
.platform-all-clear { display:flex;align-items:center;gap:.8rem;border:1px dashed #b8dfcf;border-radius:12px;padding:1rem;color:#157553;background:#f3fbf7; }
.platform-all-clear > span { display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:#1b9d6d;font-weight:900; }
.platform-all-clear strong,.platform-all-clear small { display:block; }.platform-all-clear small { margin-top:.2rem;color:#6e8b7e;font-size:.67rem; }
.report-export { width:auto;text-decoration:none; }
.report-filter-panel { margin-bottom:1.1rem; }
.report-filters { display:grid;grid-template-columns:140px 140px 150px minmax(220px,1fr) auto;gap:.8rem;align-items:end; }
.report-filters .field { margin:0; }.report-clear { height:38px;margin-bottom:1px; }
.report-summary-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.15rem; }
.report-summary-card { border:1px solid #e2e7ef;border-radius:14px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.04); }
.report-summary-card small,.report-summary-card span { display:block; }.report-summary-card small { color:#8b95a7;font-size:.6rem;font-weight:800;letter-spacing:.08em; }.report-summary-card strong { display:block;margin:.5rem 0 .28rem;color:#2476ff;font-size:1.3rem; }.report-summary-card span { color:#8b95a7;font-size:.68rem; }
.report-summary-card.collected strong { color:#16875e; }.report-summary-card.pending strong { color:#d78419; }.report-summary-card.refunded strong { color:#c3394b; }
.report-content-grid { grid-template-columns:minmax(0,1.55fr) minmax(250px,.65fr);margin-bottom:1.15rem; }
.report-chart-panel { min-width:0; }.revenue-chart { display:grid;grid-template-columns:repeat(6,minmax(58px,1fr));gap:.7rem;align-items:end;height:245px;padding:1.5rem .4rem 0;overflow-x:auto; }
.revenue-column { display:grid;grid-template-rows:28px 155px 24px;gap:.35rem;align-items:end;min-width:58px;text-align:center; }.revenue-value { color:#7f899b;font-size:.58rem;white-space:nowrap; }.revenue-track { position:relative;height:155px;border-radius:9px 9px 4px 4px;background:#f2f5f9;overflow:hidden; }.revenue-bar { position:absolute;right:0;bottom:0;left:0;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#4d91ff,#1769ed);min-height:5px; }.revenue-column strong { color:#687386;font-size:.65rem;text-transform:uppercase; }
.report-status-panel { display:flex;flex-direction:column; }.report-status-row { display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #edf0f4;padding:.7rem 0; }.report-status-row:first-of-type { border-top:0; }.report-status-row div { display:flex;align-items:baseline;gap:.35rem; }.report-status-row strong { color:#253049; }.report-status-row small { color:#929cad;font-size:.62rem; }
.report-table-panel { min-width:0; }.report-table { overflow-x:auto; }.report-row { display:grid;grid-template-columns:125px minmax(180px,1fr) minmax(240px,1.5fr) 110px 90px;gap:.8rem;align-items:center;min-width:800px;border-top:1px solid #edf0f4;padding:.82rem .2rem;color:#596378;font-size:.7rem; }.report-row.report-heading { border:0;padding-top:0;color:#9aa3b3;font-size:.6rem;font-weight:800;letter-spacing:.06em; }.report-row strong,.report-row small { display:block; }.report-row strong { color:#253049; }.report-row small { margin-top:.22rem;color:#9099ab;font-size:.64rem; }
.subscription-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1rem; }
.close-editor { color: #7c879a; }
.purchase-row { display: grid; grid-template-columns: minmax(240px, 1.5fr) 100px 90px 110px; gap: 1rem; align-items: center; min-width: 650px; border-top: 1px solid #edf0f4; padding: .85rem .2rem; font-size: .72rem; }
.purchase-row strong, .purchase-row small { display: block; }
.purchase-row small { margin-top: .25rem; color: #9099ab; font-size: .64rem; }
.purchase-row b { color: #253049; }
.billing-current-badge { border: 1px solid #dce5f4; border-radius: 24px; padding: .65rem 1rem; color: #226fe0; background: #edf4ff; font-size: .76rem; font-weight: 800; }
.internal-billing-note { max-width: 680px; }
.internal-billing-note strong { color: #253049; font-size: 1rem; }
.internal-billing-note p { margin: .5rem 0 0; color: #7d8798; font-size: .8rem; }
.billing-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.billing-summary-card small, .billing-summary-card span { display: block; }
.billing-summary-card small { color: #8b95a7; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.billing-summary-card strong { display: block; margin: .7rem 0 .55rem; color: #1f2a40; font-size: 1.4rem; }
.billing-summary-card > span:not(.status) { color: #8b95a7; font-size: .7rem; }
.billing-section { margin-top: 1.6rem; }
.billing-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.billing-section-heading h2 { margin: 0 0 .35rem; color: #1f2a40; font-size: 1.15rem; }
.billing-section-heading p, .billing-section-heading > span { margin: 0; color: #8791a4; font-size: .74rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 380px; border: 1px solid #e0e5ee; border-radius: 16px; padding: 1.5rem; background: #fff; box-shadow: 0 8px 24px rgba(23,32,51,.04); }
.plan-card.featured { border: 2px solid #2476ff; box-shadow: 0 14px 32px rgba(36,118,255,.12); }
.popular-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: max-content; border-radius: 20px; padding: .3rem .7rem; color: #fff; background: #2476ff; font-size: .56rem; font-weight: 800; letter-spacing: .06em; }
.plan-name { color: #253049; font-size: 1.05rem; font-weight: 800; }
.plan-card > p { min-height: 44px; margin: .6rem 0 1.1rem; color: #7d8798; font-size: .74rem; line-height: 1.55; }
.plan-price { display: flex; align-items: baseline; gap: .35rem; border-bottom: 1px solid #edf0f4; padding-bottom: 1.15rem; }
.plan-price strong { color: #172136; font-size: 1.7rem; }.plan-price span { color: #8b95a7; font-size: .7rem; }
.plan-card ul { display: grid; gap: .75rem; margin: 1.2rem 0; padding: 0; color: #596478; font-size: .72rem; list-style: none; }
.plan-card button { margin-top: auto; }
.outline-button { width: 100%; border: 1px solid #cbd5e5; border-radius: 11px; padding: .95rem 1.2rem; color: #246fdc; background: #fff; font-weight: 800; cursor: pointer; }
.outline-button:hover { border-color: #2476ff; background: #f5f9ff; }
.outline-button:disabled { opacity: .55; cursor: wait; }
.purchase-history-panel { margin-top: 1.6rem; }
.customer-purchase-list { overflow-x: auto; }
.customer-purchase-row { display: grid; grid-template-columns: minmax(250px, 1.5fr) 130px 100px 120px; gap: 1rem; align-items: center; min-width: 720px; border-top: 1px solid #edf0f4; padding: .85rem .2rem; color: #596378; font-size: .72rem; }
.customer-purchase-row.heading { border: 0; padding-top: 0; color: #9aa3b3; font-size: .6rem; font-weight: 800; letter-spacing: .06em; }
.customer-purchase-row strong, .customer-purchase-row small { display: block; }
.customer-purchase-row strong, .customer-purchase-row b { color: #253049; }
.customer-purchase-row small { margin-top: .25rem; color: #9099ab; font-size: .64rem; }
.plan-admin-grid { grid-template-columns: minmax(300px, .7fr) minmax(620px, 1.4fr); }
.admin-plan-list { display: grid; gap: .65rem; }
.admin-plan-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; border: 1px solid #e0e5ee; border-radius: 12px; padding: 1rem; text-align: left; color: #344057; background: #fff; cursor: pointer; transition: .2s; }
.admin-plan-item:hover, .admin-plan-item.selected { border-color: #2476ff; background: #f4f8ff; box-shadow: 0 7px 20px rgba(36,118,255,.08); }
.admin-plan-item strong, .admin-plan-item small { display: block; }
.admin-plan-item small { margin-top: .35rem; color: #8a94a6; font-size: .65rem; }
.admin-plan-item b { flex: 0 0 auto; color: #1769ed; }
.plan-switches { display: flex; flex-wrap: wrap; gap: 1.2rem; border-top: 1px solid #edf0f4; margin-top: .5rem; padding-top: 1rem; color: #5f6a7e; font-size: .76rem; }
.plan-switches label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.plan-switches input { accent-color: #1769ed; }
.pricing-note { margin-top: 1.15rem; }
.pricing-note strong { color: #253049; }
.pricing-note p { margin: .5rem 0 0; color: #7d8798; font-size: .78rem; line-height: 1.6; }
#blazor-error-ui { display: none; position: fixed; inset: auto 0 0; z-index: 1000; padding: .7rem 1rem; color: #fff; background: #b42336; }

.marketplace-grid { display:grid;grid-template-columns:minmax(310px,.72fr) minmax(460px,1.28fr);gap:1.15rem;align-items:start; }
.marketplace-form-panel,.marketplace-list-panel { min-width:0; }
.marketplace-logo { display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#ff7a18,#f04425);font-size:1.1rem;font-weight:900;box-shadow:0 8px 18px rgba(240,68,37,.2); }
.marketplace-logo.small { flex-basis:38px;width:38px;height:38px;border-radius:10px;font-size:.95rem; }
.connection-switch { display:flex;align-items:flex-start;gap:.7rem;margin:.25rem 0 1rem;color:#536078;cursor:pointer; }
.connection-switch input { flex:0 0 auto;width:17px;height:17px;margin-top:.12rem;accent-color:#2476ff; }
.connection-switch strong,.connection-switch small { display:block; }.connection-switch strong { color:#2a354d;font-size:.78rem; }.connection-switch small { margin-top:.2rem;color:#8993a5;font-size:.65rem;line-height:1.45; }
.credential-note { display:flex;align-items:flex-start;gap:.7rem;border:1px solid #dbe8fb;border-radius:11px;padding:.85rem;color:#3267aa;background:#f3f8ff; }
.credential-note > span { display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;color:#fff;background:#2476ff;font-weight:900; }
.credential-note p { margin:0;font-size:.68rem;line-height:1.5; }
.marketplace-form-actions { gap:.7rem; }
.outline-inline-button { border:1px solid #cad4e3;border-radius:9px;padding:.68rem .9rem;color:#356db8;background:#fff;font-size:.7rem;font-weight:800;cursor:pointer; }
.outline-inline-button:hover { border-color:#2476ff;background:#f5f9ff; }.outline-inline-button:disabled { opacity:.45;cursor:not-allowed; }
.marketplace-empty { display:grid;place-items:center;border:1px dashed #d7deea;border-radius:13px;padding:2.8rem 1rem;text-align:center;background:#fafbfc; }
.marketplace-empty > span { display:grid;place-items:center;width:48px;height:48px;border-radius:14px;margin-bottom:.9rem;color:#2476ff;background:#eaf2ff;font-size:1.5rem; }
.marketplace-empty strong { color:#303b52;font-size:.86rem; }.marketplace-empty p { margin:.4rem 0 0;color:#8c96a8;font-size:.7rem; }
.connection-list { display:grid;gap:.85rem; }
.connection-card { border:1px solid #e0e5ed;border-radius:13px;padding:1rem;background:#fff;box-shadow:0 6px 18px rgba(26,39,67,.04); }
.connection-card-head { display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:.8rem;align-items:center; }
.connection-card-head strong,.connection-card-head small { display:block; }.connection-card-head strong { color:#253049;font-size:.8rem; }.connection-card-head small { margin-top:.25rem;color:#9099ab;font-size:.64rem; }
.connection-security { display:flex;align-items:center;gap:.4rem;margin:.8rem 0;color:#718095;font-size:.64rem; }.connection-security span { color:#19a26f;font-size:.55rem; }
.connection-test { border-radius:10px;padding:.72rem .8rem; }.connection-test strong,.connection-test small { display:block; }.connection-test strong { font-size:.7rem; }.connection-test small { margin-top:.25rem;font-size:.62rem;line-height:1.45; }
.connection-test.success { color:#147653;background:#eaf8f1; }.connection-test.failed { color:#b42336;background:#fff0f2; }.connection-test.untested { color:#6b7588;background:#f1f3f6; }
.connection-actions { display:flex;justify-content:flex-end;gap:.65rem;border-top:1px solid #edf0f4;margin-top:.85rem;padding-top:.85rem; }

@media (max-width: 1050px) { .marketplace-grid { grid-template-columns:1fr; } }

.sync-orders-button { width:auto;min-width:205px; }
.order-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem; }
.order-metrics article { border:1px solid #e2e7ef;border-radius:14px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.04); }
.order-metrics small,.order-metrics span { display:block; }.order-metrics small { color:#8b95a7;font-size:.58rem;font-weight:800;letter-spacing:.08em; }.order-metrics strong { display:block;margin:.45rem 0 .25rem;color:#2476ff;font-size:1.5rem; }.order-metrics span { color:#8b95a7;font-size:.66rem; }
.order-filter-panel { margin-bottom:1.1rem;padding:1rem 1.15rem; }
.order-filters { display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(170px,.7fr) auto auto;gap:.75rem;align-items:end; }
.order-filters .field { margin:0; }.order-filters .primary-button,.order-clear-button { height:39px;margin-bottom:1px; }
.orders-panel { min-width:0; }.order-list-heading { align-items:center; }
.orders-table { overflow-x:auto; }
.order-record { min-width:1040px;border-top:1px solid #edf0f4; }
.order-list-row { display:grid;grid-template-columns:minmax(150px,1fr) minmax(145px,.95fr) minmax(210px,1.4fr) minmax(125px,.8fr) 100px 82px 52px;gap:.75rem;align-items:center;padding:.9rem .25rem;color:#657086;font-size:.69rem; }
.order-list-columns { min-width:1040px;border-bottom:1px solid #edf0f4;padding-top:0;color:#9aa3b3;font-size:.58rem;font-weight:800;letter-spacing:.06em; }
.order-list-row strong,.order-list-row small { display:block; }.order-list-row strong { color:#253049;font-size:.72rem; }.order-list-row small { margin-top:.24rem;color:#929bad;font-size:.61rem;line-height:1.35; }
.order-number-cell strong { color:#1769ed; }.order-products-cell small { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2; }
.order-price { text-align:right; }.order-price strong { font-size:.76rem; }
.order-expand { border:0;padding:.4rem 0;color:#2476ff;background:transparent;font-size:.65rem;font-weight:800;cursor:pointer; }
.order-status,.shipping-time { display:inline-flex;width:max-content;border-radius:20px;padding:.32rem .58rem;font-size:.61rem;font-weight:800; }
.order-status.new { color:#256bc5;background:#eaf3ff; }.order-status.working { color:#9a5b06;background:#fff2df; }.order-status.shipping { color:#6546c6;background:#f0ebff; }.order-status.done { color:#147653;background:#e8f7f0; }.order-status.problem { color:#b42336;background:#fdecef; }.order-status.neutral { color:#687386;background:#eef1f5; }
.shipping-time.expired { color:#b42336;background:#fdecef; }.shipping-time.urgent { color:#b66508;background:#fff1dc; }.shipping-time.soon { color:#286bc3;background:#eaf3ff; }.shipping-time.healthy { color:#147653;background:#e8f7f0; }.shipping-time.neutral { color:#687386;background:#eef1f5; }
.order-detail-panel { display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.6fr);gap:1rem;border-top:1px dashed #dfe5ee;padding:1rem .25rem 1.2rem;background:#fbfcfe; }
.order-address-detail { padding:.4rem .75rem; }.order-address-detail small,.order-address-detail strong,.order-address-detail span { display:block; }.order-address-detail small { color:#9ba4b4;font-size:.55rem;font-weight:800;letter-spacing:.07em; }.order-address-detail strong { margin:.45rem 0;color:#2d3850;font-size:.74rem; }.order-address-detail p { margin:.4rem 0;color:#737d91;font-size:.66rem;line-height:1.5; }.order-address-detail span { color:#3973bd;font-size:.64rem;font-weight:700; }
.order-line-list { display:grid;gap:.5rem; }.order-line-item { display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:.7rem;align-items:center;border:1px solid #e3e8ef;border-radius:9px;padding:.65rem .75rem;background:#fff; }.line-quantity { display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;background:#2476ff;font-size:.68rem;font-weight:800; }.order-line-item strong,.order-line-item small { display:block; }.order-line-item strong { color:#344057;font-size:.67rem; }.order-line-item small { margin-top:.2rem;color:#9099ab;font-size:.58rem; }.order-line-item b { color:#344057;font-size:.65rem;white-space:nowrap; }
.orders-empty { display:grid;place-items:center;border:1px dashed #d7deea;border-radius:13px;padding:3rem 1rem;text-align:center;background:#fafbfc; }.orders-empty > span { display:grid;place-items:center;width:50px;height:50px;border-radius:14px;margin-bottom:.9rem;color:#2476ff;background:#eaf2ff;font-size:1.4rem; }.orders-empty strong { color:#303b52;font-size:.86rem; }.orders-empty p { margin:.4rem 0 .9rem;color:#8c96a8;font-size:.7rem; }.orders-empty a { color:#2476ff;font-size:.7rem;font-weight:800; }

@media (max-width: 1050px) { .order-metrics { grid-template-columns:repeat(2,1fr); }.order-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.order-detail-panel { grid-template-columns:1fr; } }
@media (max-width: 620px) { .order-metrics,.order-filters { grid-template-columns:1fr; }.sync-orders-button { width:100%; }.order-filters .primary-button,.order-clear-button { width:100%; } }

.picking-refresh { padding:.75rem 1rem;background:#fff; }
.picking-metrics { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem; }
.picking-metrics article { border:1px solid #e2e7ef;border-radius:14px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.04); }
.picking-metrics small,.picking-metrics span { display:block; }.picking-metrics small { color:#8b95a7;font-size:.58rem;font-weight:800;letter-spacing:.08em; }.picking-metrics strong { display:block;margin:.45rem 0 .25rem;color:#2476ff;font-size:1.5rem; }.picking-metrics span { color:#8b95a7;font-size:.66rem; }
.picking-metrics article.urgent strong { color:#c3394b; }.picking-metrics article.working strong { color:#d78419; }
.picking-metrics article.location-missing strong { color:#7f5bbd; }
.picking-sort-field { min-width:210px; }
.picking-toolbar { display:grid;grid-template-columns:minmax(260px,1fr) minmax(190px,220px) auto auto;gap:.75rem;align-items:end;margin-bottom:1.1rem;padding:1rem 1.15rem; }.picking-toolbar .field { margin:0; }.picking-toolbar .primary-button,.picking-toolbar .outline-inline-button { height:39px;margin-bottom:1px; }
.picking-workspace { display:grid;grid-template-columns:minmax(620px,1.65fr) minmax(300px,.75fr);gap:1.1rem;align-items:start; }
.picking-groups-panel,.active-picking-panel { min-width:0; }.active-picking-panel { position:sticky;top:1rem; }
.picking-group-list { display:grid;gap:.7rem; }
.picking-group-card { overflow:hidden;border:1px solid #e1e6ee;border-radius:12px;background:#fff;transition:.18s; }.picking-group-card:hover,.picking-group-card.expanded { border-color:#b9d2f6;box-shadow:0 7px 20px rgba(36,118,255,.07); }
.picking-group-main { display:grid;grid-template-columns:38px minmax(230px,1.5fr) 72px 62px 105px 20px;gap:.75rem;align-items:center;width:100%;border:0;padding:.9rem;text-align:left;color:#667187;background:#fff;cursor:pointer; }
.product-rank { display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#2476ff,#1257c8);font-size:.73rem;font-weight:900; }
.picking-product-info strong,.picking-product-info small,.picking-group-stat strong,.picking-group-stat small { display:block; }.picking-product-info strong { color:#273249;font-size:.73rem; }.picking-product-info small { margin-top:.25rem;color:#949daf;font-size:.6rem; }.picking-group-stat { text-align:center; }.picking-group-stat strong { color:#263248;font-size:.9rem; }.picking-group-stat small { margin-top:.15rem;color:#9aa3b3;font-size:.56rem; }.group-chevron { color:#6d7a91;font-size:.9rem;font-weight:900; }
.picking-group-details { border-top:1px solid #edf0f4;padding:1rem;background:#f8fafd; }.picking-package-list { display:grid;gap:.55rem;max-height:390px;overflow-y:auto;padding-right:.2rem; }
.picking-package-card { border:1px solid #e1e6ee;border-radius:10px;padding:.75rem;background:#fff; }.picking-package-head { display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.6rem; }.picking-package-head strong,.picking-package-head small { display:block; }.picking-package-head strong { color:#216ddc;font-size:.68rem; }.picking-package-head small { margin-top:.22rem;color:#8c96a8;font-size:.59rem; }
.picking-lines { display:grid;gap:.35rem; }.picking-lines > div { display:grid;grid-template-columns:28px minmax(0,1fr) 95px;gap:.5rem;align-items:center;border-top:1px dashed #edf0f4;padding-top:.4rem; }.picking-lines > div:first-child { border-top:0; }.picking-lines span { color:#2476ff;font-size:.66rem;font-weight:900; }.picking-lines strong { overflow:hidden;color:#4f5b71;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap; }.picking-lines small { overflow:hidden;color:#9aa3b3;font-size:.56rem;text-align:right;text-overflow:ellipsis;white-space:nowrap; }
.picking-group-action { display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #e0e6ef;margin-top:.85rem;padding-top:.85rem; }.picking-group-action strong,.picking-group-action span { display:block; }.picking-group-action strong { color:#344057;font-size:.7rem; }.picking-group-action span { margin-top:.2rem;color:#8c96a8;font-size:.59rem; }.picking-group-action .primary-button { width:auto;min-width:170px; }
.picking-empty { display:grid;place-items:center;border:1px dashed #d7deea;border-radius:12px;padding:3rem 1rem;text-align:center;background:#fafbfc; }.picking-empty > span { display:grid;place-items:center;width:48px;height:48px;border-radius:50%;margin-bottom:.8rem;color:#fff;background:#1b9d6d;font-size:1rem;font-weight:900; }.picking-empty strong { color:#303b52;font-size:.8rem; }.picking-empty p { margin:.35rem 0 0;color:#8c96a8;font-size:.66rem; }
.active-queue-empty { border:1px dashed #d8dee9;border-radius:10px;padding:2rem 1rem;text-align:center;color:#8a94a7;background:#fafbfc;font-size:.68rem; }.active-picking-list { display:grid;gap:.65rem;max-height:680px;overflow-y:auto;padding-right:.15rem; }
.active-picking-card { border:1px solid #e1e6ee;border-left:3px solid #e09a2e;border-radius:10px;padding:.8rem;background:#fff; }.active-picking-head { display:flex;align-items:center;justify-content:space-between;gap:.7rem; }.active-picking-head strong,.active-picking-head small { display:block; }.active-picking-head strong { color:#276dd1;font-size:.69rem; }.active-picking-head small { margin-top:.2rem;color:#8d97a9;font-size:.57rem; }.active-picking-head > span { border-radius:20px;padding:.25rem .48rem;color:#a46008;background:#fff1dc;font-size:.57rem;font-weight:800; }.active-picking-card > p { margin:.65rem 0 .4rem;color:#596478;font-size:.63rem; }.active-product-preview { overflow:hidden;color:#929cad;font-size:.58rem;line-height:1.45;text-overflow:ellipsis;white-space:nowrap; }
.active-picking-actions { display:grid;grid-template-columns:.7fr 1.3fr;gap:.5rem;border-top:1px solid #edf0f4;margin-top:.7rem;padding-top:.7rem; }.active-picking-actions button { border-radius:8px;padding:.55rem .45rem;font-size:.59rem;font-weight:800;cursor:pointer; }.active-picking-actions button:disabled { opacity:.45;cursor:not-allowed; }.queue-reset { border:1px solid #d6dde8;color:#677388;background:#fff; }.queue-complete { border:1px solid #16875e;color:#fff;background:#16875e; }

@media (max-width: 1180px) { .picking-workspace { grid-template-columns:1fr; }.active-picking-panel { position:static; }.picking-group-main { grid-template-columns:38px minmax(220px,1fr) 65px 55px 100px 20px; } }
@media (max-width: 800px) { .picking-metrics { grid-template-columns:repeat(2,1fr); }.picking-toolbar { grid-template-columns:1fr 1fr; }.picking-toolbar .field { grid-column:1/-1; }.picking-group-main { grid-template-columns:38px minmax(180px,1fr) 60px 20px; }.picking-group-main > :nth-child(4),.picking-group-main > :nth-child(5) { display:none; } }
@media (max-width: 560px) { .picking-metrics,.picking-toolbar { grid-template-columns:1fr; }.picking-toolbar .field { grid-column:auto; }.picking-group-main { grid-template-columns:34px minmax(150px,1fr) 20px; }.picking-group-main > :nth-child(3) { display:none; }.picking-group-action { align-items:stretch;flex-direction:column; }.picking-group-action .primary-button { width:100%; }.picking-package-head { align-items:flex-start;flex-direction:column; } }

.packing-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem; }
.packing-metrics article,.printed-metrics article { border:1px solid #e2e7ef;border-radius:14px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 24px rgba(23,32,51,.04); }
.packing-metrics small,.packing-metrics span,.printed-metrics small,.printed-metrics span { display:block; }.packing-metrics small,.printed-metrics small { color:#8b95a7;font-size:.58rem;font-weight:800;letter-spacing:.08em; }.packing-metrics strong,.printed-metrics strong { display:block;margin:.45rem 0 .25rem;color:#2476ff;font-size:1.5rem; }.packing-metrics span,.printed-metrics span { color:#8b95a7;font-size:.66rem; }
.packing-metrics .warning strong { color:#c0760c; }.packing-metrics .success strong,.printed-metrics .success strong { color:#16875e; }
.packing-toolbar { display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:.75rem;align-items:end;margin-bottom:1.1rem;padding:1rem 1.15rem; }.packing-toolbar .field { margin:0; }.packing-toolbar .primary-button,.packing-toolbar .outline-inline-button { height:39px;margin-bottom:1px; }
.packing-list-panel { min-width:0; }.packing-card-list { display:grid;gap:.85rem; }
.packing-card { overflow:hidden;border:1px solid #dfe5ed;border-left:4px solid #2476ff;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(29,43,70,.045); }
.packing-card-head { display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1fr) minmax(190px,1fr) 100px;gap:1rem;align-items:center;padding:1rem 1.15rem; }
.packing-card-head small,.packing-card-head strong,.packing-card-head span { display:block; }.packing-card-head small { color:#9aa3b3;font-size:.55rem;font-weight:800;letter-spacing:.07em; }.packing-card-head strong { margin:.3rem 0;color:#2c3750;font-size:.72rem; }.packing-card-head span { color:#8791a4;font-size:.61rem; }.packing-order-number strong { color:#1769ed;font-size:.78rem; }
.tracking-missing { color:#b42336!important;font-weight:800; }.tracking-ready { color:#16875e!important;font-weight:700; }
.packing-product-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;padding:.85rem 1.15rem;background:#f8fafd; }
.packing-product-row { display:grid;grid-template-columns:34px minmax(0,1fr);gap:.7rem;align-items:center;border:1px solid #e2e7ef;border-radius:9px;padding:.58rem .7rem;background:#fff; }.packing-quantity { display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#fff;background:#2476ff;font-size:.65rem;font-weight:900; }.packing-product-row strong,.packing-product-row small { display:block; }.packing-product-row strong { overflow:hidden;color:#435069;font-size:.64rem;text-overflow:ellipsis;white-space:nowrap; }.packing-product-row small { margin-top:.22rem;color:#969fb0;font-size:.55rem; }
.packing-card-footer { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.15rem; }.packing-card-footer strong,.packing-card-footer span { display:block; }.packing-card-footer strong { color:#414d64;font-size:.67rem; }.packing-card-footer span { margin-top:.22rem;color:#929bad;font-size:.58rem; }.packing-actions { display:flex;gap:.55rem; }.packing-actions button,.printed-reset-button { border-radius:8px;padding:.62rem .78rem;font-size:.59rem;font-weight:800;cursor:pointer; }.packing-actions button:disabled,.printed-reset-button:disabled { opacity:.45;cursor:not-allowed; }
.packing-empty { display:grid;place-items:center;border:1px dashed #d7deea;border-radius:12px;padding:3rem 1rem;text-align:center;background:#fafbfc; }.packing-empty > span { display:grid;place-items:center;width:48px;height:48px;border-radius:50%;margin-bottom:.8rem;color:#fff;background:#1b9d6d;font-size:1rem;font-weight:900; }.packing-empty strong { color:#303b52;font-size:.8rem; }.packing-empty p { margin:.35rem 0 0;color:#8c96a8;font-size:.66rem; }
.primary-link-button { display:inline-flex;align-items:center;border-radius:10px;padding:.78rem 1rem;color:#fff;background:#2476ff;font-size:.7rem;font-weight:800;text-decoration:none;box-shadow:0 8px 18px rgba(36,118,255,.2); }
.printed-metrics { display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:1rem;margin-bottom:1.1rem; }.printed-empty > span { border-radius:12px;background:#2476ff; }
.printed-table { overflow-x:auto; }.printed-row { display:grid;grid-template-columns:minmax(120px,.75fr) minmax(160px,1fr) minmax(240px,1.45fr) minmax(160px,1fr) 120px 135px;gap:.85rem;align-items:center;min-width:980px;border-top:1px solid #edf0f4;padding:.9rem .25rem;color:#667187;font-size:.66rem; }.printed-row.printed-heading { border-top:0;padding-top:0;color:#9aa3b3;font-size:.56rem;font-weight:800;letter-spacing:.06em; }.printed-row strong,.printed-row small { display:block; }.printed-row strong { color:#303b52;font-size:.68rem; }.printed-row small { overflow:hidden;margin-top:.25rem;color:#9099ab;font-size:.58rem;line-height:1.4;text-overflow:ellipsis;white-space:nowrap; }.printed-reset-button { border:1px solid #efc6cc;color:#b42336;background:#fff5f6; }

@media (max-width: 1050px) { .packing-metrics { grid-template-columns:repeat(2,1fr); }.packing-card-head { grid-template-columns:repeat(2,minmax(0,1fr)); }.packing-product-list { grid-template-columns:1fr; } }
@media (max-width: 700px) { .packing-metrics,.printed-metrics,.packing-toolbar { grid-template-columns:1fr; }.packing-card-head { grid-template-columns:1fr; }.packing-card-footer { align-items:stretch;flex-direction:column; }.packing-actions { flex-direction:column; }.packing-actions button { width:100%; } }

/* Shipment tracking */
.shipment-sync-area { display:flex;align-items:flex-end;flex-direction:column;gap:.45rem; }.shipment-sync-area small { color:#8b95a8;font-size:.62rem; }
.shipment-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem; }.shipment-metrics article { border:1px solid #e2e7ef;border-radius:13px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 22px rgba(31,45,76,.045); }.shipment-metrics small,.shipment-metrics span,.shipment-metrics strong { display:block; }.shipment-metrics small { color:#929cad;font-size:.57rem;font-weight:800;letter-spacing:.06em; }.shipment-metrics strong { margin:.45rem 0;color:#2476ff;font-size:1.55rem; }.shipment-metrics span { color:#8b95a8;font-size:.61rem; }.shipment-metrics .success strong { color:#16875e; }.shipment-metrics .warning strong { color:#c0760c; }
.shipment-toolbar { display:grid;grid-template-columns:minmax(260px,1.45fr) minmax(180px,.55fr) auto auto;gap:.75rem;align-items:end;margin-bottom:1.1rem;padding:1rem 1.15rem; }.shipment-toolbar .field { margin:0; }.shipment-toolbar .primary-button,.shipment-toolbar .outline-inline-button { height:39px;margin-bottom:1px; }
.shipment-list-panel { min-width:0; }.shipment-table { overflow-x:auto; }.shipment-row { display:grid;grid-template-columns:minmax(125px,.75fr) minmax(150px,.95fr) minmax(220px,1.3fr) minmax(175px,1fr) 110px 135px;gap:.85rem;align-items:center;min-width:980px;border-top:1px solid #edf0f4;padding:.9rem .25rem;color:#667187;font-size:.66rem; }.shipment-row.shipment-heading { border-top:0;padding-top:0;color:#9aa3b3;font-size:.56rem;font-weight:800;letter-spacing:.06em; }.shipment-row strong,.shipment-row small { display:block; }.shipment-row strong { color:#303b52;font-size:.68rem; }.shipment-row small { overflow:hidden;margin-top:.25rem;color:#9099ab;font-size:.58rem;line-height:1.4;text-overflow:ellipsis;white-space:nowrap; }.tracking-number { font-family:Consolas,monospace;letter-spacing:.03em; }
.shipment-status { width:max-content;border-radius:20px;padding:.32rem .58rem;font-size:.58rem;font-weight:800; }.shipment-status.in-transit { color:#1767c9;background:#eaf3ff; }.shipment-status.delivered { color:#117450;background:#e7f8f1; }
.shipment-empty { display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:210px;border:1px dashed #d7dee9;border-radius:11px;color:#8a94a7;background:#fafbfc;text-align:center; }.shipment-empty > span { display:grid;place-items:center;width:48px;height:48px;border-radius:13px;margin-bottom:.8rem;color:#fff;background:#2476ff;font-size:1.15rem;font-weight:800; }.shipment-empty strong { color:#303a4d;font-size:.72rem; }.shipment-empty p { margin:.35rem 1rem 0;font-size:.62rem; }
@media (max-width: 1050px) { .shipment-metrics { grid-template-columns:repeat(2,1fr); }.shipment-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }.shipment-toolbar .field:first-child { grid-column:1/-1; } }
@media (max-width: 650px) { .shipment-metrics,.shipment-toolbar { grid-template-columns:1fr; }.shipment-toolbar .field:first-child { grid-column:auto; }.shipment-sync-area { align-items:stretch;width:100%; }.shipment-sync-area .primary-button { width:100%; } }

/* Operation exceptions */
.exception-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem; }
.exception-metrics article { border:1px solid #e2e7ef;border-radius:13px;padding:1rem 1.1rem;background:#fff;box-shadow:0 8px 22px rgba(31,45,76,.045); }
.exception-metrics small,.exception-metrics strong,.exception-metrics span { display:block; }.exception-metrics small { color:#929cad;font-size:.57rem;font-weight:800;letter-spacing:.06em; }.exception-metrics strong { margin:.45rem 0;color:#2476ff;font-size:1.55rem; }.exception-metrics span { color:#8b95a8;font-size:.61rem; }.exception-metrics .danger strong { color:#b42336; }.exception-metrics .warning strong { color:#b96f0b; }
.exception-report-panel,.exception-list-panel { margin-bottom:1.1rem; }.exception-report-form { display:grid;grid-template-columns:minmax(190px,.45fr) minmax(300px,1fr) auto;gap:.8rem;align-items:end; }.exception-report-form .field { margin:0; }.exception-report-button { height:47px;border:0;border-radius:10px;padding:0 1rem;color:#fff;background:#b42336;font-size:.65rem;font-weight:800;cursor:pointer; }.exception-report-button:disabled { opacity:.5;cursor:not-allowed; }
.exception-card-list { display:grid;gap:.85rem; }.exception-card { overflow:hidden;border:1px solid #e2e6ed;border-left:4px solid #b42336;border-radius:12px;background:#fff; }.exception-card-head { display:grid;grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr) minmax(170px,.8fr) 110px;gap:1rem;align-items:center;padding:1rem 1.1rem; }.exception-card-head small,.exception-card-head strong,.exception-card-head span { display:block; }.exception-card-head small { color:#969fb0;font-size:.54rem;font-weight:800;letter-spacing:.06em; }.exception-card-head strong { margin:.28rem 0;color:#303b51;font-size:.69rem; }.exception-card-head div:first-child strong { color:#1769ed;font-size:.76rem; }.exception-card-head div span { color:#9099ab;font-size:.57rem; }
.exception-status { width:max-content;border-radius:20px;padding:.34rem .58rem;font-size:.57rem;font-weight:800; }.exception-status.problem,.exception-status.cancelled { color:#a61f32;background:#ffedf0; }.exception-status.returned { color:#9b620d;background:#fff3db; }.exception-status.unsupplied { color:#6748ad;background:#f0eaff; }
.exception-reason { display:flex;gap:.75rem;border-top:1px solid #f1d7db;border-bottom:1px solid #f1d7db;padding:.75rem 1.1rem;color:#8e2a39;background:#fff7f8;font-size:.64rem; }.exception-reason strong { flex:0 0 auto; }.exception-reason span { line-height:1.45; }
.exception-product-strip { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:.8rem 1.1rem;background:#f9fafc; }.exception-product-strip > div { display:grid;grid-template-columns:32px minmax(0,1fr);gap:.5rem;align-items:center;border:1px solid #e4e8ef;border-radius:8px;padding:.55rem;background:#fff; }.exception-product-strip > div > span { grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;color:#fff;background:#526177;font-size:.61rem;font-weight:900; }.exception-product-strip strong,.exception-product-strip small { overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap; }.exception-product-strip strong { color:#46536a;font-size:.61rem; }.exception-product-strip small { color:#99a2b3;font-size:.53rem; }
.exception-card-footer { display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #e8ecf2;padding:.8rem 1.1rem;color:#8b95a8;font-size:.59rem; }.exception-card-footer button { border:1px solid #16875e;border-radius:8px;padding:.58rem .75rem;color:#fff;background:#16875e;font-size:.59rem;font-weight:800;cursor:pointer; }.exception-card-footer button:disabled { opacity:.5;cursor:not-allowed; }
.exception-toolbar { display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(180px,.55fr) auto auto;gap:.75rem;align-items:end;margin-bottom:1rem;padding:1rem;border-radius:10px;background:#f7f9fc; }.exception-toolbar .field { margin:0; }.exception-toolbar .primary-button,.exception-toolbar .outline-inline-button { height:39px;margin-bottom:1px; }
.exception-table { overflow-x:auto; }.exception-row { display:grid;grid-template-columns:minmax(125px,.7fr) minmax(160px,.9fr) minmax(230px,1.35fr) minmax(165px,.9fr) 100px 125px;gap:.8rem;align-items:center;min-width:1000px;border-top:1px solid #edf0f4;padding:.85rem .2rem;color:#667187;font-size:.64rem; }.exception-row.exception-heading { border-top:0;color:#9aa3b3;font-size:.54rem;font-weight:800;letter-spacing:.06em; }.exception-row strong,.exception-row small { display:block; }.exception-row strong { color:#303b52;font-size:.65rem; }.exception-row small { overflow:hidden;margin-top:.24rem;color:#929bad;font-size:.55rem;text-overflow:ellipsis;white-space:nowrap; }
.exception-empty { display:grid;place-items:center;border:1px dashed #d7deea;border-radius:11px;padding:2.8rem 1rem;color:#8b95a8;background:#fafbfc;text-align:center; }.exception-empty.compact { padding:2rem 1rem; }.exception-empty > span { display:grid;place-items:center;width:45px;height:45px;border-radius:50%;margin-bottom:.7rem;color:#fff;background:#16875e;font-size:.95rem;font-weight:900; }.exception-empty strong { color:#303b52;font-size:.72rem; }.exception-empty p { margin:.35rem 0 0;font-size:.6rem; }
@media (max-width:1050px) { .exception-metrics { grid-template-columns:repeat(2,1fr); }.exception-report-form { grid-template-columns:1fr 1fr; }.exception-reason-field { grid-column:2; }.exception-report-button { grid-column:1/-1; }.exception-card-head { grid-template-columns:repeat(2,minmax(0,1fr)); }.exception-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }.exception-toolbar .field:first-child { grid-column:1/-1; } }
@media (max-width:650px) { .exception-metrics,.exception-report-form,.exception-toolbar,.exception-card-head,.exception-product-strip { grid-template-columns:1fr; }.exception-reason-field,.exception-toolbar .field:first-child { grid-column:auto; }.exception-card-footer { align-items:stretch;flex-direction:column; }.exception-card-footer button { width:100%; } }

/* Barcode verification */
.verification-live { display:flex;align-items:center;gap:.45rem;border:1px solid #cfe9df;border-radius:20px;padding:.45rem .7rem;color:#147552;background:#f0fbf7;font-size:.61rem;font-weight:800; }.verification-live i { width:7px;height:7px;border-radius:50%;background:#19a673;box-shadow:0 0 0 4px rgba(25,166,115,.12); }
.verification-message { margin-bottom:1rem;border-radius:10px;padding:.8rem 1rem;font-size:.66rem;font-weight:750; }.verification-message.info { color:#1767c9;background:#eaf3ff; }.verification-message.success { color:#117450;background:#e7f8f1; }.verification-message.error { color:#a61f32;background:#ffedf0; }
.verification-order-search { display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:.75rem;align-items:end;margin-bottom:1.1rem; }.verification-order-search .field { margin:0; }.verification-order-search .primary-button,.verification-order-search .outline-inline-button { height:47px;margin-bottom:0; }
.verification-welcome { display:grid;place-items:center;min-height:430px;text-align:center; }.verification-illustration { display:flex;align-items:flex-end;justify-content:center;gap:5px;width:110px;height:82px;border:2px solid #cdd7e6;border-top:0;border-radius:0 0 14px 14px;margin-bottom:1.4rem;padding:0 15px 14px;box-shadow:inset 0 -12px 0 #f0f4fa; }.verification-illustration span { width:7px;border-radius:2px;background:#2476ff; }.verification-illustration span:nth-child(1){height:38px}.verification-illustration span:nth-child(2){height:54px;background:#17243b}.verification-illustration span:nth-child(3){height:44px}.verification-illustration span:nth-child(4){height:58px;background:#17243b}.verification-illustration span:nth-child(5){height:36px}.verification-welcome h2 { margin:0;color:#273248;font-size:1.05rem; }.verification-welcome > p { max-width:590px;margin:.6rem auto 1.5rem;color:#8993a6;font-size:.68rem;line-height:1.55; }.verification-rules { display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;justify-content:center; }.verification-rules span { border-radius:20px;padding:.48rem .7rem;color:#526078;background:#f1f4f8;font-size:.6rem;font-weight:800; }.verification-rules b { color:#9ca6b7;font-size:.7rem; }
.verification-workspace { display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:1.1rem;align-items:start; }.verification-package-card { overflow:hidden;padding:0; }.verification-package-head { display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr) 140px;gap:1rem;align-items:center;padding:1.2rem; }.verification-package-head small,.verification-package-head strong,.verification-package-head span { display:block; }.verification-package-head small { color:#97a0b1;font-size:.55rem;font-weight:800;letter-spacing:.07em; }.verification-package-head h2 { margin:.3rem 0;color:#1769ed;font-size:1rem; }.verification-package-head > div > span { color:#8d97a9;font-size:.58rem; }.verification-package-head > div:nth-child(2) strong { margin:.3rem 0;color:#303b52;font-size:.7rem; }.verification-counter { border-left:1px solid #e5e9f0;padding-left:1rem;text-align:right; }.verification-counter strong { color:#2476ff;font-size:1.25rem; }.verification-counter span { margin-top:.2rem;color:#8c96a8;font-size:.57rem; }.verification-counter.complete strong { color:#16875e; }
.verification-progress { height:5px;background:#edf1f6; }.verification-progress span { display:block;height:100%;background:linear-gradient(90deg,#2476ff,#34a3ff);transition:width .25s ease; }.verification-scan-box { display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:.85rem;align-items:end;margin:1.1rem;border:1px solid #cfe0f8;border-radius:12px;padding:1rem;background:#f5f9ff; }.verification-scan-box .field { margin:0; }.verification-scan-box .field input { background:#fff; }.scan-symbol { display:grid;place-items:center;width:46px;height:46px;border-radius:10px;color:#fff;background:#2476ff;font-size:1rem;font-weight:900; }.scan-button { height:47px;border:0;border-radius:10px;padding:0 1.2rem;color:#fff;background:#1769ed;font-size:.65rem;font-weight:800;cursor:pointer; }.scan-button:disabled { opacity:.5; }.verification-scan-box.complete { grid-template-columns:48px minmax(0,1fr) auto;align-items:center;border-color:#c8e9dc;background:#f0fbf7; }.verification-complete-icon { display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:#16875e;font-size:1rem;font-weight:900; }.verification-scan-box.complete strong,.verification-scan-box.complete small { display:block; }.verification-scan-box.complete strong { color:#146e4e;font-size:.74rem; }.verification-scan-box.complete small { margin-top:.25rem;color:#659080;font-size:.59rem; }.verification-scan-box.complete .primary-link-button { padding:.7rem .85rem; }
.verification-line-list { display:grid;gap:.55rem;border-top:1px solid #edf0f4;padding:1.1rem;background:#f9fafc; }.verification-line { display:grid;grid-template-columns:38px minmax(0,1fr) 95px;gap:.75rem;align-items:center;border:1px solid #e2e7ef;border-radius:10px;padding:.75rem;background:#fff; }.verification-line.partial { border-color:#d8e5fa;background:#f8fbff; }.verification-line.complete { border-color:#cce8dc;background:#f5fcf9; }.verification-line-state { display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#8591a5;background:#eef1f5;font-size:.75rem;font-weight:900; }.verification-line.partial .verification-line-state { color:#fff;background:#2476ff; }.verification-line.complete .verification-line-state { color:#fff;background:#16875e; }.verification-line strong,.verification-line small { display:block; }.verification-line > div:nth-child(2) strong { color:#3c4860;font-size:.65rem; }.verification-line > div:nth-child(2) small { margin-top:.23rem;color:#99a2b3;font-size:.54rem; }.verification-line-quantity { text-align:right; }.verification-line-quantity strong { color:#2476ff;font-size:.82rem; }.verification-line.complete .verification-line-quantity strong { color:#16875e; }.verification-line-quantity span { margin-top:.18rem;color:#99a2b3;font-size:.52rem; }
.verification-package-footer { display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #edf0f4;padding:.85rem 1.1rem;color:#8f99aa;font-size:.57rem; }.verification-package-footer button { border:1px solid #e0c9cd;border-radius:8px;padding:.55rem .7rem;color:#a32a3a;background:#fff7f8;font-size:.57rem;font-weight:800;cursor:pointer; }.verification-package-footer button:disabled { opacity:.4;cursor:not-allowed; }
.verification-guide { position:sticky;top:1rem; }.verification-guide h3 { margin:0 0 1rem;color:#303b52;font-size:.8rem; }.verification-guide > div { display:grid;grid-template-columns:34px 1fr;gap:.65rem;align-items:start;border-top:1px solid #edf0f4;padding:.8rem 0; }.verification-guide > div:first-of-type { border-top:0; }.guide-icon { display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#fff;font-size:.65rem;font-weight:900; }.guide-icon.good { background:#16875e; }.guide-icon.bad { background:#b42336; }.guide-icon.warning { background:#bf7710; }.verification-guide p { margin:0;color:#8d97a9;font-size:.58rem;line-height:1.45; }.verification-guide p strong { display:block;margin-bottom:.2rem;color:#465268;font-size:.63rem; }.verification-guide > small { display:block;border-radius:8px;margin-top:.75rem;padding:.7rem;color:#8a631e;background:#fff7e7;font-size:.56rem;line-height:1.45; }
@media (max-width:1000px) { .verification-workspace { grid-template-columns:1fr; }.verification-guide { position:static; }.verification-guide { display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem; }.verification-guide h3,.verification-guide > small { grid-column:1/-1; }.verification-guide > div { border-top:0; } }
@media (max-width:700px) { .verification-order-search,.verification-package-head,.verification-scan-box,.verification-scan-box.complete { grid-template-columns:1fr; }.verification-order-search .primary-button,.verification-order-search .outline-inline-button { width:100%; }.verification-counter { border-top:1px solid #e5e9f0;border-left:0;padding-top:.8rem;padding-left:0;text-align:left; }.scan-symbol { display:none; }.verification-guide { grid-template-columns:1fr; }.verification-guide h3,.verification-guide > small { grid-column:auto; }.verification-line { grid-template-columns:34px minmax(0,1fr); }.verification-line-quantity { grid-column:2;text-align:left; } }

/* Tenant operation reports */
.operation-report-filters { display:grid;grid-template-columns:190px 190px auto minmax(230px,1fr);gap:.75rem;align-items:end;margin-bottom:1.1rem; }.operation-report-filters .field { margin:0; }.operation-report-filters .primary-button { height:47px;margin-bottom:0; }.operation-period-buttons { display:flex;justify-content:flex-end;gap:.4rem;height:47px;align-items:center; }.operation-period-buttons button { border:1px solid #dbe1ea;border-radius:8px;padding:.52rem .7rem;color:#667187;background:#fff;font-size:.59rem;font-weight:800;cursor:pointer; }.operation-period-buttons button:hover { border-color:#2476ff;color:#1769ed;background:#f5f9ff; }
.operation-report-metrics { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-bottom:1.1rem; }.operation-report-metrics article { border:1px solid #e2e7ef;border-radius:13px;padding:1rem;background:#fff;box-shadow:0 8px 22px rgba(31,45,76,.045); }.operation-report-metrics small,.operation-report-metrics strong,.operation-report-metrics span { display:block; }.operation-report-metrics small { color:#929cad;font-size:.53rem;font-weight:800;letter-spacing:.06em; }.operation-report-metrics strong { margin:.45rem 0;color:#2476ff;font-size:1.4rem; }.operation-report-metrics span { color:#8b95a8;font-size:.58rem;line-height:1.4; }.operation-report-metrics .success strong { color:#16875e; }.operation-report-metrics .danger strong { color:#b42336; }.operation-report-metrics .time strong { color:#9a6815; }
.operation-report-grid { display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.55fr);gap:1.1rem;margin-bottom:1.1rem; }.operation-report-grid.lower { grid-template-columns:minmax(0,1.3fr) minmax(340px,.7fr); }.operation-chart-panel,.operation-summary-panel,.staff-performance-panel,.operation-activity-panel { min-width:0; }
.operation-chart-legend { display:flex;justify-content:flex-end;gap:1rem;margin:-.2rem 0 .7rem;color:#788398;font-size:.56rem;font-weight:700; }.operation-chart-legend span::before { content:'';display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:.35rem;background:#2476ff; }.operation-chart-legend .shipped::before { background:#16875e; }.operation-chart-legend .cancelled::before { background:#cf4a5c; }.operation-chart-scroll { overflow-x:auto;padding-bottom:.35rem; }.operation-chart { display:flex;align-items:flex-end;gap:.45rem;height:230px;border-bottom:1px solid #dfe4ec;padding:15px 5px 0; }.operation-chart-day { display:grid;grid-template-rows:180px 20px 20px;flex:1;min-width:38px;text-align:center; }.operation-bars { display:flex;align-items:flex-end;justify-content:center;gap:3px;height:175px; }.operation-bars span { width:8px;min-height:3px;border-radius:3px 3px 0 0;background:#2476ff;transition:height .25s ease; }.operation-bars .shipped { background:#16875e; }.operation-bars .cancelled { background:#cf4a5c; }.operation-chart-day > strong { color:#47536a;font-size:.55rem; }.operation-chart-day > small { color:#98a1b1;font-size:.51rem; }
.operation-completion-ring { --completion:0;display:grid;place-items:center;width:160px;height:160px;border-radius:50%;margin:1rem auto 1.4rem;background:radial-gradient(circle,#fff 56%,transparent 57%),conic-gradient(#16875e calc(var(--completion) * 1%),#edf1f5 0); }.operation-completion-ring strong,.operation-completion-ring span { grid-column:1;grid-row:1; }.operation-completion-ring strong { align-self:center;margin-top:-14px;color:#263248;font-size:1.5rem; }.operation-completion-ring span { align-self:center;margin-top:28px;color:#8c96a8;font-size:.55rem; }.operation-summary-list { display:grid;gap:.6rem; }.operation-summary-list div { display:flex;justify-content:space-between;border-top:1px solid #edf0f4;padding-top:.6rem;color:#7d889c;font-size:.61rem; }.operation-summary-list strong { color:#354057; }
.report-empty { display:grid;place-items:center;min-height:130px;border:1px dashed #d7dee9;border-radius:10px;color:#8993a6;background:#fafbfc;font-size:.63rem;text-align:center; }
.staff-performance-table { overflow-x:auto; }.staff-performance-row { display:grid;grid-template-columns:minmax(170px,1.4fr) repeat(5,minmax(58px,.5fr));gap:.6rem;align-items:center;min-width:650px;border-top:1px solid #edf0f4;padding:.7rem .15rem;color:#6d788d;font-size:.61rem;text-align:center; }.staff-performance-row.heading { border-top:0;padding-top:0;color:#99a2b3;font-size:.52rem;font-weight:800;letter-spacing:.05em; }.staff-performance-row > div { display:flex;align-items:center;gap:.55rem;text-align:left; }.staff-avatar { display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#2476ff,#164fa7);font-size:.55rem;font-weight:900; }.staff-performance-row > div strong { color:#3c4860;font-size:.62rem; }.staff-performance-row > strong { color:#1769ed;font-size:.69rem; }
.operation-activity-list { display:grid;gap:0;max-height:430px;overflow-y:auto;padding-right:.2rem; }.operation-activity-list > div { display:grid;grid-template-columns:18px 1fr;gap:.55rem;border-top:1px solid #edf0f4;padding:.7rem 0; }.operation-activity-list > div:first-child { border-top:0;padding-top:0; }.activity-dot { width:9px;height:9px;border-radius:50%;margin-top:.2rem;background:#2476ff;box-shadow:0 0 0 4px #eaf2ff; }.operation-activity-list p { min-width:0;margin:0; }.operation-activity-list strong,.operation-activity-list small,.operation-activity-list em { display:block; }.operation-activity-list strong { color:#3a465e;font-size:.61rem; }.operation-activity-list small { margin-top:.2rem;color:#8e98aa;font-size:.53rem; }.operation-activity-list em { overflow:hidden;margin-top:.22rem;color:#a1a9b7;font-size:.51rem;font-style:normal;text-overflow:ellipsis;white-space:nowrap; }
@media (max-width:1150px) { .operation-report-metrics { grid-template-columns:repeat(3,1fr); }.operation-report-grid,.operation-report-grid.lower { grid-template-columns:1fr; }.operation-summary-panel { display:grid;grid-template-columns:200px 1fr;align-items:center; }.operation-summary-panel .panel-heading { grid-column:1/-1; }.operation-completion-ring { margin:0 auto; } }
@media (max-width:850px) { .operation-report-filters { grid-template-columns:1fr 1fr; }.operation-period-buttons { justify-content:flex-start; }.operation-report-metrics { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) { .operation-report-filters,.operation-report-metrics,.operation-summary-panel { grid-template-columns:1fr; }.operation-period-buttons { height:auto; }.operation-summary-panel .panel-heading { grid-column:auto; }.operation-completion-ring { margin:1rem auto; } }

.trial-shell { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 100vh; background: #fff; }
.trial-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 3.2rem 4.5rem; color: #fff; background: radial-gradient(circle at 18% 20%, #294c8f 0, transparent 38%), radial-gradient(circle at 80% 78%, #17356d 0, transparent 40%), #09152d; }
.trial-story::after { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, #000, transparent); }
.trial-story-copy { position: relative; z-index: 1; max-width: 600px; }
.trial-story-copy h1 { margin: 1.2rem 0; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.04; letter-spacing: -.055em; }
.trial-story-copy p { color: #b7c3da; font-size: 1.03rem; line-height: 1.7; }
.trial-story-copy ul { display: grid; gap: .9rem; margin: 2rem 0 0; padding: 0; list-style: none; color: #dce7fb; }
.trial-story-copy li { display: flex; align-items: center; gap: .55rem; }
.trial-story-copy li::before { content: '✓'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #2476ff; font-size: .72rem; font-weight: 800; }
.trial-story small { position: relative; z-index: 1; color: #7f8da9; }
.trial-panel { display: grid; place-items: center; padding: 2.4rem; }
.trial-card { width: min(680px, 100%); }
.trial-card > h2 { margin: .8rem 0 .55rem; font-size: 2rem; letter-spacing: -.035em; }
.trial-card form { margin-top: 1.8rem; }
.trial-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.trial-form-grid .field.span-2 { grid-column: 1 / -1; }
.field label small { color: #99a2b3; font-weight: 500; }
.terms-row { display: flex; align-items: flex-start; gap: .65rem; margin: -.1rem 0 .4rem; color: #647087; font-size: .76rem; line-height: 1.5; cursor: pointer; }
.terms-row input { flex: 0 0 auto; margin-top: .17rem; accent-color: #1769ed; }
.trial-card .primary-button { margin-top: 1rem; }
.login-return { text-align: center; }
.registration-success { text-align: center; }
.registration-success > span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1.3rem; color: #fff; background: #1b9d6d; font-size: 1.8rem; font-weight: 800; box-shadow: 0 12px 28px rgba(27,157,109,.2); }
.registration-success h2 { margin-bottom: .65rem; font-size: 2rem; }
.registration-success p { color: #798195; line-height: 1.6; }
.registration-login { display: block; margin-top: 1.4rem; }

/* Warehouse shelf and product-location management */
.location-badge { display:inline-flex;align-items:center;width:max-content;margin-top:.38rem;padding:.22rem .52rem;border:1px solid #b9d1ff;border-radius:999px;color:#145cc8;background:#edf4ff;font-size:.58rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase; }
.location-badge.unassigned { border-color:#e2e5eb;color:#8b93a3;background:#f4f5f7; }
.location-page { max-width:1540px; }
.location-import-panel { display:flex;align-items:center;gap:.8rem;margin-bottom:1rem;padding:.9rem 1.15rem; }
.location-import-panel > div { flex:1;min-width:220px; }
.location-import-panel strong,.location-import-panel span { display:block; }
.location-import-panel strong { color:#344058;font-size:.76rem; }
.location-import-panel span { margin-top:.25rem;color:#8e98a9;font-size:.64rem; }
.csv-upload-button { position:relative;display:inline-flex;align-items:center;height:39px;padding:0 .85rem;border-radius:8px;color:#fff;background:#1769ed;font-size:.66rem;font-weight:800;cursor:pointer;white-space:nowrap; }
.csv-upload-button input { position:absolute;width:1px;height:1px;opacity:0;pointer-events:none; }
.csv-upload-button.disabled { opacity:.65;cursor:wait; }
.csv-export-link { display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap; }
.location-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem; }
.location-metrics article { padding:1.15rem 1.3rem;border:1px solid #e9edf4;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(30,44,72,.05); }
.location-metrics article small,.location-metrics article span { display:block;color:#8b94a6;font-size:.66rem; }
.location-metrics article strong { display:block;margin:.25rem 0;color:#263248;font-size:1.9rem; }
.location-metrics article.warning strong { color:#c26b16; }
.location-metrics article.danger strong { color:#c53e4c; }
.location-layout { display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:1rem;align-items:start; }
.location-form-panel { position:sticky;top:1rem;padding:1.25rem; }
.location-form-panel .field { margin-bottom:.8rem; }
.location-stock-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem; }
.location-stock-fields .field { margin-bottom:0; }
.location-form-actions { display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem; }
.location-products-panel { min-width:0;padding:1.25rem; }
.location-search-row { display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.7rem;align-items:end;padding-bottom:1rem;border-bottom:1px solid #eef0f4; }
.location-search-row .field { margin:0; }
.location-list-heading { margin-top:1.15rem; }
.location-table-wrap { overflow:auto; }
.location-table { width:100%;border-collapse:collapse; }
.location-table th { padding:.7rem;color:#9aa2b2;font-size:.61rem;text-align:left;letter-spacing:.05em;border-bottom:1px solid #e9edf4; }
.location-table td { padding:.8rem .7rem;color:#566177;font-size:.72rem;vertical-align:middle;border-bottom:1px solid #eef1f5; }
.location-table td strong,.location-table td small,.location-table td span { display:block; }
.location-table td small { margin-top:.2rem;color:#9aa2b2; }
.stock-summary strong { color:#22805d; }
.stock-summary.low strong { color:#bd731d; }
.stock-summary.out strong { color:#c53e4c; }
.location-code { display:inline-flex!important;width:max-content;padding:.35rem .58rem;border-radius:8px;color:#fff;background:#1769ed;font-size:.74rem;letter-spacing:.04em; }
.location-row-actions { white-space:nowrap; }
.location-row-actions button { margin-right:.35rem;padding:.36rem .55rem;border:1px solid #dce2ec;border-radius:7px;color:#526078;background:#fff;font-size:.64rem;font-weight:700;cursor:pointer; }
.location-row-actions button.danger { color:#b84747;border-color:#f0cccc;background:#fff8f8; }
.location-empty { padding:2rem;color:#929bad;text-align:center; }
.unassigned-location-panel { margin-top:1rem;padding:1.25rem; }
.unassigned-product-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem; }
.unassigned-product-grid article { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem .8rem;align-items:center;padding:.85rem;border:1px solid #e9edf4;border-radius:12px;background:#fbfcfe; }
.unassigned-product-grid strong,.unassigned-product-grid small { display:block; }
.unassigned-product-grid strong { color:#344058;font-size:.72rem; }
.unassigned-product-grid small { margin-top:.22rem;color:#949eaf;font-size:.6rem; }
.unassigned-stats { display:flex;gap:.35rem;grid-column:1; }
.unassigned-stats span { padding:.22rem .42rem;border-radius:6px;color:#69758a;background:#edf1f6;font-size:.58rem;font-weight:700; }
.unassigned-product-grid button { grid-column:2;grid-row:1 / 3;padding:.45rem .65rem;border:0;border-radius:8px;color:#fff;background:#263c64;font-size:.62rem;font-weight:800;cursor:pointer; }
.marketplace-capacity-note { display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:1rem 1.2rem;border-left:4px solid #4169a8; }
.marketplace-capacity-note div strong,.marketplace-capacity-note div span { display:block; }
.marketplace-capacity-note div strong { color:#334158;font-size:.76rem; }
.marketplace-capacity-note div span,.marketplace-capacity-note p { margin:.2rem 0 0;color:#8792a5;font-size:.63rem; }
.marketplace-capacity-note.limit-full { border-left-color:#c44957;background:#fff8f8; }
.login-success { margin:.8rem 0;padding:.75rem .85rem;border:1px solid #bfe3d3;border-radius:9px;color:#166347;background:#f0fbf6;font-size:.68rem;font-weight:700;line-height:1.5; }
.account-recovery-shell { display:grid;min-height:100vh;place-items:center;padding:2rem;background:radial-gradient(circle at top left,#eaf0fb 0,#f7f9fc 42%,#eef2f8 100%); }
.account-recovery-card { width:min(100%,480px);padding:2.1rem;border:1px solid #e1e6ef;border-radius:22px;background:#fff;box-shadow:0 22px 60px rgba(30,46,76,.12); }
.account-recovery-card .brand { display:inline-block;margin-bottom:1.7rem;color:#1d2e4c;text-decoration:none;font-size:1.35rem;font-weight:900;letter-spacing:.07em; }
.account-recovery-card .brand span { color:#4d73b3; }
.account-recovery-card h1 { margin:.45rem 0 .55rem;color:#24334d;font-size:1.65rem; }
.account-recovery-card > p { margin:0 0 1.35rem;color:#7c879a;font-size:.72rem;line-height:1.7; }
.account-recovery-card form { display:grid;gap:.75rem; }
.account-back-link { display:inline-block;margin-top:1.25rem;color:#526b98;text-decoration:none;font-size:.68rem;font-weight:700; }
.development-reset-note { display:grid;gap:.35rem;margin:.8rem 0;padding:.8rem;border:1px dashed #9fb1d1;border-radius:10px;background:#f5f8fd;font-size:.66rem; }
.development-reset-note strong { color:#344b73; }
.development-reset-note a { color:#315eaa;font-weight:800; }

@media (max-width: 1050px) { .metric-grid { grid-template-columns: repeat(2,1fr); }.content-grid { grid-template-columns: 1fr; } }
@media (max-width: 1050px) { .management-grid { grid-template-columns: 1fr; } }
@media (max-width: 1150px) { .platform-admin-grid { grid-template-columns: 1fr; }.subscription-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1050px) { .billing-summary-grid { grid-template-columns: repeat(2, 1fr); }.plan-grid { grid-template-columns: 1fr; }.plan-card { min-height: 0; } }
@media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; }.login-story { display:none }.mobile-brand { display:block }.app-shell { grid-template-columns: 1fr }.sidebar { position:static;height:auto }.sidebar nav { grid-template-columns:repeat(2,1fr) }.sidebar-user { display:none }.subscription-notice { margin:1rem 1.3rem 0;align-items:flex-start;flex-direction:column }.dashboard { padding:1.3rem }.topbar { align-items:flex-start;flex-direction:column }.metric-grid { grid-template-columns:1fr }.order-row { grid-template-columns:1fr 1fr }.order-row > :nth-child(3),.order-row > :nth-child(5) { display:none }.form-grid { grid-template-columns: 1fr; }.field.span-2 { grid-column: auto; } }
@media (max-width: 760px) { .password-reset-grid { grid-template-columns:1fr; } }
@media (max-width: 760px) { .platform-content { grid-template-columns: 1fr; }.subscription-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .renewal-metrics { grid-template-columns:repeat(2,1fr); }.renewal-current { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 620px) { .renewal-metrics,.renewal-current,.renewal-form-grid { grid-template-columns:1fr; } }
@media (max-width: 620px) { .platform-alert-row { grid-template-columns:34px minmax(0,1fr); }.platform-alert-link { display:none; } }
@media (max-width: 1100px) { .report-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.report-clear { width:max-content; }.report-summary-grid { grid-template-columns:repeat(2,1fr); }.report-content-grid { grid-template-columns:1fr; } }
@media (max-width: 620px) { .report-filters,.report-summary-grid { grid-template-columns:1fr; }.report-export { width:100%;text-align:center; } }
@media (max-width: 620px) { .billing-summary-grid { grid-template-columns: 1fr; }.billing-section-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 900px) { .trial-shell { grid-template-columns: 1fr; }.trial-story { display: none; }.trial-panel { min-height: 100vh; } }
@media (max-width: 620px) { .trial-form-grid { grid-template-columns: 1fr; }.trial-form-grid .field.span-2 { grid-column: auto; }.trial-panel { padding: 1.3rem; } }
@media (max-width: 1100px) { .location-layout { grid-template-columns:1fr; }.location-form-panel { position:static; }.unassigned-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.location-metrics { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 700px) { .location-metrics,.unassigned-product-grid { grid-template-columns:1fr; }.location-search-row { grid-template-columns:1fr; }.location-table { min-width:720px; } }
@media (max-width: 760px) { .location-import-panel { align-items:stretch;flex-direction:column; }.csv-upload-button,.csv-export-link { justify-content:center;width:100%; } }

/* A4 operation label and print preview */
.print-layout { min-height:100vh;padding:1.5rem;background:#eef1f5; }
.print-loading,.print-error { width:min(720px,100%);margin:6rem auto;padding:2rem;border:1px solid #dce2ea;border-radius:16px;background:#fff;text-align:center;box-shadow:0 16px 45px rgba(28,40,65,.1); }
.print-error strong { color:#a62c3d;font-size:1.1rem; }.print-error p { margin:.7rem 0 1.2rem;color:#778196;font-size:.78rem; }.print-error a { color:#1769ed;font-size:.75rem;font-weight:800; }
.print-toolbar { display:flex;align-items:center;justify-content:flex-end;gap:.8rem;width:min(210mm,100%);margin:0 auto 1rem; }
.print-toolbar > a { margin-right:auto;color:#476083;font-size:.72rem;font-weight:800; }
.print-toolbar button { border:0;border-radius:9px;padding:.75rem 1rem;color:#fff;background:#1769ed;font-size:.72rem;font-weight:800;cursor:pointer; }
.print-toolbar button:disabled { opacity:.6;cursor:wait; }
.print-copy-control { display:flex;align-items:center;gap:.45rem;color:#6a7488;font-size:.67rem;font-weight:700; }.print-copy-control input { width:56px;border:1px solid #d5dbe6;border-radius:8px;padding:.62rem;text-align:center;background:#fff; }
.print-message { width:min(210mm,100%);margin:0 auto 1rem;padding:.75rem .9rem;border-radius:9px;font-size:.7rem;font-weight:700; }.print-message.success { color:#176547;background:#eaf8f1; }.print-message.error { color:#a62c3d;background:#fff0f2; }
.a4-label-sheet { display:flex;flex-direction:column;width:210mm;min-height:297mm;margin:0 auto;padding:14mm;color:#050505;background:#fff;box-shadow:0 14px 40px rgba(23,34,56,.14);font-family:Arial,sans-serif; }
.a4-label-header { display:flex;align-items:flex-start;justify-content:space-between;border-bottom:3px solid #000;padding-bottom:6mm; }.a4-label-header span { font-size:10pt;font-weight:900;letter-spacing:.16em; }.a4-label-header h1 { margin:2mm 0 0;font-size:21pt;letter-spacing:.01em; }.a4-label-source { min-width:42mm;border:2px solid #000;padding:3mm;text-align:center; }.a4-label-source small,.a4-label-source strong { display:block; }.a4-label-source small { font-size:7pt;font-weight:700; }.a4-label-source strong { margin-top:1mm;font-size:13pt; }
.a4-label-warning { margin:5mm 0;border:2px solid #000;padding:3.5mm;font-size:10pt;font-weight:900;line-height:1.45;text-align:center; }
.a4-label-address-grid { display:grid;grid-template-columns:1.35fr .65fr;border-top:1px solid #000;border-left:1px solid #000; }.a4-label-address-grid > div { min-height:18mm;border-right:1px solid #000;border-bottom:1px solid #000;padding:3mm; }.a4-label-address-grid > div.wide { grid-column:1 / -1;min-height:30mm; }.a4-label-address-grid small,.a4-label-address-grid strong { display:block; }.a4-label-address-grid small,.a4-label-cargo small { margin-bottom:2mm;font-size:7pt;font-weight:800;letter-spacing:.06em; }.a4-label-address-grid strong { font-size:11pt;line-height:1.45; }
.a4-label-cargo { display:grid;grid-template-columns:.75fr 1.25fr;margin-top:5mm;border:2px solid #000; }.a4-label-cargo > div { min-height:22mm;padding:3mm; }.a4-label-cargo > div + div { border-left:2px solid #000; }.a4-label-cargo small,.a4-label-cargo strong { display:block; }.a4-label-cargo strong { font-size:11pt; }.a4-label-cargo .tracking-number { font-family:'Courier New',monospace;font-size:17pt;letter-spacing:.08em;overflow-wrap:anywhere; }
.a4-label-products { margin-top:6mm; }.a4-section-title { display:flex;align-items:center;justify-content:space-between;margin-bottom:2mm; }.a4-section-title h2 { margin:0;font-size:12pt; }.a4-section-title strong { font-size:10pt; }
.a4-product-table { border-top:1px solid #000;border-left:1px solid #000; }.a4-product-row { display:grid;grid-template-columns:minmax(0,1.6fr) .65fr .55fr 12mm;min-height:12mm; }.a4-product-row > * { display:flex;align-items:center;border-right:1px solid #000;border-bottom:1px solid #000;padding:2mm;font-size:8pt;overflow-wrap:anywhere; }.a4-product-row.heading { min-height:8mm;background:#ececec; }.a4-product-row.heading span { font-size:7pt;font-weight:900; }.a4-product-row b { justify-content:center;font-size:12pt; }
.a4-label-footer { display:flex;justify-content:space-between;margin-top:auto;border-top:1px solid #000;padding-top:3mm;font-size:7pt; }
.print-history { width:min(210mm,100%);margin:1rem auto;padding:1rem;border:1px solid #dfe4ec;border-radius:12px;background:#fff; }.print-history h2 { margin-bottom:.65rem;font-size:.85rem; }.print-history > div { display:flex;justify-content:space-between;border-top:1px solid #edf0f4;padding:.55rem 0;color:#7d8799;font-size:.65rem; }.print-history > div strong { color:#344058; }
.printed-row-actions { display:flex;gap:.4rem;align-items:center;flex-wrap:wrap; }.printed-reprint-button { display:inline-flex;padding:.45rem .62rem;border-radius:7px;color:#fff;background:#1769ed;font-size:.59rem;font-weight:800;white-space:nowrap; }

@media (max-width: 900px) { .a4-label-sheet { width:100%;min-height:auto;padding:6vw; }.print-layout { padding:.6rem; }.print-toolbar { align-items:stretch;flex-wrap:wrap; }.print-toolbar > a { width:100%;margin:0 0 .2rem; } }
@media print {
    @page { size:A4 portrait;margin:0; }
    html,body,.print-layout { width:210mm;min-height:297mm;margin:0!important;padding:0!important;background:#fff!important; }
    .no-print { display:none!important; }
    .a4-label-sheet { width:210mm;min-height:297mm;margin:0;padding:12mm;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact; }
}

/* Personal account and password security */
.account-settings-page { max-width:1280px; }
.account-summary { display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(420px,1.7fr);gap:1rem;align-items:center;margin-bottom:1rem; }
.account-summary-avatar { display:grid;place-items:center;width:58px;height:58px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#1769ed,#153d80);font-size:1rem;font-weight:900; }
.account-summary > div strong,.account-summary > div span { display:block; }.account-summary > div strong { color:#263248;font-size:.9rem; }.account-summary > div span { margin-top:.28rem;color:#8b95a7;font-size:.66rem; }
.account-summary dl { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:0; }.account-summary dl div { border-left:1px solid #e8ebf1;padding-left:.8rem; }.account-summary dt { color:#9aa3b3;font-size:.54rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase; }.account-summary dd { margin:.3rem 0 0;color:#3c485f;font-size:.68rem;font-weight:700; }
.account-settings-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start; }.account-form-panel { min-width:0; }.account-form-panel .primary-button { margin-left:auto; }.account-loading { color:#818ca0;font-size:.72rem;text-align:center; }
@media (max-width:900px) { .account-summary { grid-template-columns:auto 1fr; }.account-summary dl { grid-column:1 / -1; }.account-settings-grid { grid-template-columns:1fr; } }
@media (max-width:560px) { .account-summary dl { grid-template-columns:1fr; }.account-summary dl div { border-left:0;border-top:1px solid #e8ebf1;padding:.6rem 0 0; } }

/* Subscription access recovery */
.subscription-required-page { display:grid;min-height:calc(100vh - 2rem);place-items:center;padding:2rem;background:radial-gradient(circle at top,#edf3ff,#f5f7fb 50%); }
.subscription-required-card { width:min(620px,100%);padding:3rem;border:1px solid #dde4ef;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(32,48,78,.12);text-align:center; }
.subscription-lock { display:grid;place-items:center;width:62px;height:62px;margin:0 auto 1.2rem;border-radius:18px;color:#fff;background:linear-gradient(135deg,#dd8a17,#a9590e);font-size:1.6rem;font-weight:900;box-shadow:0 14px 30px rgba(183,99,21,.22); }
.subscription-required-card h1 { margin:.7rem 0;font-size:1.75rem;letter-spacing:-.035em; }.subscription-required-card > p { margin:0 auto 1.5rem;max-width:470px;color:#788398;font-size:.78rem;line-height:1.7; }.subscription-required-card > small { display:block;margin-top:1.4rem;color:#9aa3b3;font-size:.62rem;line-height:1.6; }
.subscription-required-actions { display:flex;justify-content:center;gap:.7rem;flex-wrap:wrap; }.subscription-required-actions a { display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.7rem 1rem; }

/* Sales, WhatsApp and customer support */
.whatsapp-contact { position:fixed;right:1.25rem;bottom:1.25rem;z-index:1000;display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;align-items:center;min-width:155px;padding:.72rem .9rem;border-radius:16px;color:#fff;background:#18a866;text-decoration:none;box-shadow:0 15px 40px rgba(18,132,78,.3);transition:transform .18s ease,box-shadow .18s ease; }
.whatsapp-contact:hover { transform:translateY(-2px);box-shadow:0 18px 45px rgba(18,132,78,.4); }.whatsapp-contact > span { grid-row:1 / 3;display:grid;place-items:center;width:25px;height:25px;margin-right:.55rem;border:2px solid #fff;border-radius:50%;font-size:.58rem; }.whatsapp-contact strong { font-size:.72rem; }.whatsapp-contact small { color:#dff8eb;font-size:.56rem; }
.demo-request-shell { display:grid;grid-template-columns:minmax(330px,.85fr) minmax(560px,1.15fr);min-height:100vh;background:#f5f7fb; }.demo-request-story { position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:3.5rem;color:#fff;background:linear-gradient(145deg,#101c35,#163d78);overflow:hidden; }.demo-request-story:after { content:"";position:absolute;right:-120px;bottom:-120px;width:360px;height:360px;border:70px solid rgba(65,137,255,.15);border-radius:50%; }.demo-request-story .brand { position:relative;z-index:1;color:#fff; }.demo-request-story > div { position:relative;z-index:1; }.demo-request-story h1 { max-width:620px;margin:.7rem 0 1rem;font-size:clamp(2.1rem,4vw,4rem);line-height:1.05;letter-spacing:-.055em; }.demo-request-story p { max-width:560px;color:#b9c7df;line-height:1.8; }.demo-request-story ul { display:grid;gap:.65rem;padding:0;list-style:none;color:#d8e4f6;font-size:.75rem;font-weight:700; }.demo-request-story li:before { content:"✓";margin-right:.55rem;color:#59d296; }.demo-contact-links { display:flex;gap:1rem;flex-wrap:wrap; }.demo-contact-links a { color:#d6e5ff;font-size:.68rem;font-weight:700; }.demo-request-panel { display:grid;place-items:center;padding:2.5rem; }.demo-request-card { width:min(720px,100%);padding:2.1rem;border:1px solid #e2e7ef;border-radius:22px;background:#fff;box-shadow:0 22px 65px rgba(35,50,78,.1); }.demo-request-card h2 { margin:.6rem 0 .35rem;font-size:2rem;letter-spacing:-.04em; }.demo-request-card .primary-button { margin-top:1rem; }
.engagement-page { max-width:1580px; }.engagement-filter-row { display:grid;grid-template-columns:minmax(280px,1fr) 220px auto;gap:1rem;align-items:end;margin-bottom:1rem; }.engagement-filter-row .field { margin:0; }.lead-table-wrap { overflow:auto; }.engagement-table { width:100%;min-width:1050px;border-collapse:collapse; }.engagement-table th { padding:.7rem;color:#929cae;border-bottom:1px solid #e8ecf3;font-size:.61rem;text-align:left;letter-spacing:.04em;text-transform:uppercase; }.engagement-table td { padding:.8rem .7rem;border-bottom:1px solid #edf0f5;color:#5d687c;font-size:.68rem;vertical-align:middle; }.engagement-table td strong,.engagement-table td small,.engagement-table td a { display:block; }.engagement-table td strong { color:#2d394f;font-size:.73rem; }.engagement-table td small,.engagement-table td a { margin-top:.2rem;color:#8b95a7;text-decoration:none; }.engagement-table tr.unread-row { background:#f4f8ff; }.table-action { padding:.44rem .65rem;border:1px solid #d9e0ea;border-radius:8px;color:#375b90;background:#fff;font-size:.62rem;font-weight:800;cursor:pointer; }.engagement-editor { margin-top:1rem; }.customer-note { margin-bottom:1rem;padding:.9rem;border-left:3px solid #1769ed;background:#f5f8fd; }.customer-note strong,.customer-note p { display:block;margin:0; }.customer-note strong { color:#344058;font-size:.68rem; }.customer-note p { margin-top:.35rem;color:#6f7b8e;font-size:.68rem;line-height:1.6; }
.contact-settings-panel { width:min(860px,100%); }.contact-settings-panel .field > small { display:block;margin-top:.35rem;color:#929bad;font-size:.6rem; }.settings-switch { display:flex;gap:.75rem;align-items:flex-start;margin:1rem 0 1.3rem;padding:1rem;border:1px solid #e4e8ef;border-radius:12px;background:#fafbfd;cursor:pointer; }.settings-switch input { margin-top:.2rem;accent-color:#1769ed; }.settings-switch span strong,.settings-switch span small { display:block; }.settings-switch span strong { color:#344058;font-size:.72rem; }.settings-switch span small { margin-top:.25rem;color:#8b95a7;font-size:.61rem; }
.support-grid { grid-template-columns:minmax(300px,390px) minmax(0,1fr); }.support-ticket-list,.support-admin-list { display:grid;gap:.75rem; }.support-ticket-card,.support-admin-card { padding:1rem;border:1px solid #e5e9f0;border-radius:13px;background:#fbfcfe; }.support-ticket-card header,.support-admin-card header { display:flex;align-items:flex-start;justify-content:space-between;gap:1rem; }.support-ticket-card header strong,.support-ticket-card header small,.support-admin-card header strong,.support-admin-card header small { display:block; }.support-ticket-card header strong,.support-admin-card header strong { color:#303d54;font-size:.76rem; }.support-ticket-card header small,.support-admin-card header small { margin-top:.28rem;color:#929bad;font-size:.59rem; }.support-ticket-card > p,.support-admin-card > p { color:#677387;font-size:.67rem;line-height:1.65;white-space:pre-wrap; }.support-response { margin-top:.8rem;padding:.8rem;border-left:3px solid #1a9b68;background:#effaf5; }.support-response strong { color:#187253;font-size:.63rem; }.support-response p { margin:.3rem 0 0;color:#526b61;font-size:.66rem;line-height:1.6;white-space:pre-wrap; }.support-admin-card header > div:last-child { display:flex;gap:.45rem;align-items:center; }.priority { display:inline-flex;padding:.32rem .48rem;border-radius:999px;color:#687488;background:#edf0f4;font-size:.55rem;font-weight:800;text-transform:uppercase; }.priority.high { color:#a96512;background:#fff1da; }.priority.urgent { color:#aa2838;background:#ffe8ec; }
@media (max-width:900px) { .demo-request-shell { grid-template-columns:1fr; }.demo-request-story { min-height:430px;padding:2rem; }.demo-request-panel { padding:1.2rem; }.support-grid { grid-template-columns:1fr; } }
@media (max-width:700px) { .engagement-filter-row { grid-template-columns:1fr; }.whatsapp-contact { right:.75rem;bottom:.75rem;min-width:0; }.whatsapp-contact strong,.whatsapp-contact small { display:none; }.whatsapp-contact { grid-template-columns:28px;padding:.7rem; }.whatsapp-contact > span { margin:0; }.demo-request-story { display:none; }.demo-request-card { padding:1.3rem; } }
