/* Application shell: isolated from the public landing page. */
.portal-mode{background:#f3f6fb;font-size:14px;line-height:1.5}.portal-mode header{height:68px;padding:0 26px;gap:20px;position:sticky;top:0;z-index:20;box-shadow:0 1px 8px #142d5506}.portal-mode header .brand{font-size:22px;letter-spacing:-.6px}.portal-mode header .brand small{display:none}.portal-mode header .company-logo{width:36px;height:36px}.portal-mode .header-actions{align-items:center;margin-left:auto;gap:22px}.workspace-heading{color:#687b94;font-size:13px;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu{position:relative}.profile-menu summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font-weight:600;font-size:13px}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary small{display:block;font-weight:400;color:#74839a;text-transform:capitalize;font-size:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#e8effa;color:#204b83;display:grid;place-items:center;font-size:12px}.profile-dropdown{position:absolute;right:0;top:48px;width:240px;background:white;border:1px solid #e0e7f1;border-radius:12px;padding:8px;box-shadow:0 14px 40px #162e5520;z-index:50}.profile-dropdown p{font-size:12px;padding:4px 10px 12px;overflow-wrap:anywhere;border-bottom:1px solid #edf0f5}.profile-dropdown button{display:flex;width:100%;justify-content:flex-start;background:white;color:#253c5c;border:0;padding:10px 12px;border-radius:7px}.profile-dropdown button:hover{background:#edf3fc}.portal-mode .portal{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 110px)}.portal-mode .sidebar{background:#122c50;padding:24px 12px;position:sticky;top:68px;height:calc(100vh - 68px);overflow:auto;align-self:start}.sidebar>small{display:block;font-size:9px;letter-spacing:1.7px;color:#93abc9;margin:2px 14px 18px}.portal-mode .sidebar button{width:100%;text-align:left;justify-content:flex-start;gap:12px;border:0;background:transparent;color:#bbcae0;border-radius:8px;padding:11px 13px;margin:3px 0;font-size:12px;line-height:1.35;min-height:42px;font-weight:500}.portal-mode .sidebar button.selected{background:#254c7e;color:white;box-shadow:inset 3px 0 #84b2f0}.portal-mode .sidebar button:hover{background:#1d406b;color:white}.nav-icon{width:18px;flex-shrink:0;font-size:16px;text-align:center;opacity:.9}.portal-mode .portal-content{padding:28px 32px 36px;max-width:1700px;width:100%;min-width:0}.portal-mode .page-title{align-items:center;margin:0 0 24px;gap:18px}.portal-mode .page-title h1{font-size:28px;letter-spacing:-.9px;line-height:1.2;margin:8px 0}.portal-mode .page-title p{font-size:13px;margin:0;max-width:850px}.portal-mode .eyebrow{font-size:9px;letter-spacing:1.6px;color:#6c829e}.portal-mode .panel,.report-card{background:white;border:1px solid #e1e7ef;border-radius:12px;padding:22px;margin:0 0 20px;box-shadow:0 2px 5px #17345603}.portal-mode .panel h3{font-size:16px;margin:0 0 10px}.portal-mode .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 0 22px}.portal-mode .stats .panel,.portal-mode .stat{margin:0;background:white;border:1px solid #e1e7ef;border-radius:12px;padding:18px 20px;min-height:110px}.portal-mode .stats small{font-size:12px;color:#74839a}.portal-mode .stats strong,.portal-mode .stats h2{display:block;font-size:28px;line-height:1.3;letter-spacing:-1px;margin:10px 0 3px;font-weight:650}.portal-mode button{font-size:12px;padding:10px 16px;min-height:38px;gap:8px;border-radius:7px}.portal-mode .outline{background:white;color:#365473;border-color:#d9e2ed}.portal-mode button:disabled{cursor:default}.portal-mode .inline-controls,.report-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;background:white;border:1px solid #e1e7ef;border-radius:10px;padding:16px;margin:0 0 20px}.portal-mode .inline-controls label,.report-filters label{display:flex;flex-direction:column;gap:6px;flex:1 1 180px;min-width:150px;margin:0;font-size:11px;font-weight:600;color:#637790}.portal-mode .inline-controls input,.portal-mode .inline-controls select,.report-filters input,.report-filters select{width:100%;min-width:0;height:40px;padding:8px 12px;border:1px solid #d7e0ec;border-radius:7px;background:#fff;color:#213b5c;font-size:13px}.portal-mode .inline-controls button,.report-filters button{width:auto;flex:0 0 auto;margin:0;height:40px}.portal-mode .table-wrap{background:white;border:1px solid #e1e7ef;border-radius:10px;overflow:auto;margin:0 0 18px}.portal-mode table{width:100%;border-collapse:collapse;font-size:12px;margin:0}.portal-mode th{padding:13px 16px;background:#f8fafd;border-bottom:1px solid #e1e7ef;color:#71829a;font-size:10px;letter-spacing:.7px;text-align:left;white-space:nowrap}.portal-mode td{padding:15px 16px;border-bottom:1px solid #edf1f6;vertical-align:middle;line-height:1.5}.portal-mode tbody tr:last-child td{border-bottom:0}.portal-mode tbody tr:hover{background:#fafcff}.portal-mode td small{color:#7d8da3;font-size:11px}.portal-mode td button+button{margin-left:6px}.portal-mode .badge{font-size:10px;font-weight:600;padding:4px 9px;white-space:nowrap}.portal-mode .empty{padding:45px 24px;border:1px dashed #d7e1ee;background:#fff;border-radius:12px;margin:0 0 18px}.portal-mode .empty h3{font-size:17px;margin:0 0 8px}.portal-mode .empty p{font-size:13px;margin:0}.portal-mode footer{padding:14px 32px;margin-left:224px;display:block;background:#f3f6fb;border-top:1px solid #e1e7ef;text-align:center;color:#8290a4}.portal-mode footer small{font-size:11px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.report-card{min-width:0;margin:0;overflow:hidden}.report-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}.report-head h3{margin:0;font-size:15px}.report-head p{margin:5px 0 0;font-size:11px;color:#8190a4}.report-head select{width:auto;max-width:150px;margin:0;padding:6px 8px;border:1px solid #dce4ef;border-radius:6px;font-size:11px}.trend-chart{width:100%;height:auto;display:block}.chart-legend{display:flex;gap:18px;align-items:center;font-size:11px;color:#6f819a;margin-bottom:10px}.chart-legend i{width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:5px}.metric-caption{color:#8493a6;font-size:10px;display:block}.product-cell{display:flex;align-items:center;gap:12px;min-width:210px}.product-thumb{width:48px;height:48px;border-radius:8px;object-fit:contain;background:#f4f7fb;flex-shrink:0}.product-photo{max-width:150px;max-height:130px;object-fit:contain;border-radius:9px}.upload-note{font-size:11px;color:#73849b;line-height:1.6;margin:5px 0}.portal-mode .status-note{border-radius:7px;margin:16px 0;font-size:12px}.portal-mode #modal{width:min(860px,94vw);padding:30px;max-height:90vh;border-radius:14px}.portal-mode #modal h2{font-size:25px;margin:12px 0 22px;letter-spacing:-.6px}.portal-mode #modal form{display:block}.portal-mode #modal .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portal-mode #modal label{font-size:12px;margin:0 0 14px}.portal-mode #modal input,.portal-mode #modal select,.portal-mode #modal textarea{padding:10px 12px;font-size:13px}.portal-mode #modal input[type=checkbox]{width:auto}.portal-mode #modal input[type=file]{font-size:12px}.form-section{border-top:1px solid #e7ecf3;margin:16px 0;padding-top:18px}.form-section h3{font-size:13px;margin:0 0 15px;color:#365477}.portal-mode .pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;color:#788aa1;font-size:12px}.portal-mode .pagination button{width:auto}.portal-mode .panel .table-wrap{margin-bottom:0}.portal-mode .table-note{font-size:11px;color:#8190a4}.portal-mode .inline-controls:has(#orders-prev){background:none;border:0;padding:0}.portal-mode .report-card table{min-width:440px}.portal-mode .report-card .table-wrap{border:0;border-radius:0;margin-bottom:0}.portal-mode .report-card td,.portal-mode .report-card th{padding:10px 9px}.portal-mode .form-error{color:#cc354b}
@media(max-width:1100px){.portal-mode .portal{grid-template-columns:196px minmax(0,1fr)}.portal-mode .portal-content{padding:24px}.portal-mode footer{margin-left:196px}.workspace-heading{display:none}.portal-mode .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}}@media(max-width:720px){.portal-mode header{height:60px;padding:0 15px}.portal-mode .header-actions{gap:6px}.profile-menu summary>span:nth-child(2){display:none}.portal-mode .portal{grid-template-columns:1fr}.portal-mode .sidebar{position:sticky;top:60px;height:auto;display:flex;overflow-x:auto;padding:8px;gap:5px;z-index:15}.sidebar>small{display:none}.portal-mode .sidebar button{width:auto;flex-shrink:0;min-height:36px;padding:8px 10px;margin:0;font-size:11px;gap:6px}.portal-mode .sidebar button.selected{box-shadow:inset 0 -2px #84b2f0}.portal-mode .portal-content{padding:20px 15px}.portal-mode .page-title h1{font-size:24px}.portal-mode .page-title{flex-wrap:wrap}.portal-mode footer{margin-left:0;padding:14px}.portal-mode .inline-controls label{flex-basis:100%;min-width:0}.portal-mode .inline-controls button{width:auto}.portal-mode .stats{gap:10px}.portal-mode .stats .panel,.portal-mode .stat{padding:15px}.portal-mode #modal .form-grid{grid-template-columns:1fr}.report-card{padding:16px}}

.chart-legend span:first-child i{background:#2e6bc2}.chart-legend span:last-child i{background:#e68b7b}.report-grid+.report-card{margin-top:20px}

.workspace-status{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 16px;background:#eaf0f9;border:1px solid #dce5f2;border-radius:10px;margin:0 0 18px;color:#5b7291;font-size:12px}.workspace-status button{padding:6px 12px;min-height:32px}

.portal-mode .products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;align-items:stretch}.portal-mode .product-card{min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:18px;overflow:hidden;display:flex;flex-direction:column}.portal-mode .product-card>img{display:block;width:100%;max-width:100%;height:180px;object-fit:contain;border-radius:8px;background:#f2f6fc;margin-bottom:14px}.portal-mode .product-card h3{font-size:16px;line-height:1.4;margin:8px 0}.portal-mode .product-card p{font-size:12px;line-height:1.6;margin:6px 0}.portal-mode .product-card .eyebrow{font-size:9px;letter-spacing:1px;overflow-wrap:anywhere}.portal-mode .product-card strong{font-size:19px;margin-top:auto;padding-top:10px}.portal-mode .product-card>button{width:100%;margin-top:9px}.portal-mode .product-card .form-note{font-size:11px}.portal-mode .product-card .badge{align-self:flex-start}@media(max-width:720px){.portal-mode .products-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
.policy-card{padding:22px;border:1px solid #dce4ef;border-radius:12px;background:white;margin:18px 0}.policy-card h3{margin-top:0}.policy-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;max-height:420px;overflow:auto;padding:16px;background:#f6f8fc;border-radius:8px}.policy-card p{overflow-wrap:anywhere}#seller-policy-form{max-width:900px}#seller-policy-form input[type=checkbox]{width:auto}
.offer-strip{display:flex;gap:18px;overflow:auto;scroll-snap-type:x mandatory;padding:8px 0 18px}.offer-card{display:flex;gap:20px;flex:0 0 min(100%,820px);min-height:210px;padding:24px;background:linear-gradient(120deg,#183f79,#245c9c);color:white;border-radius:16px;scroll-snap-align:start;text-decoration:none!important;align-items:center}.offer-card img{width:145px;height:145px;border-radius:12px;object-fit:contain;background:white}.offer-card h3{font-size:23px;color:white;margin:9px 0}.offer-card p{color:#e0eaff;margin:8px 0}.offer-card small{display:block;color:#cfdff5;font-size:11px}.offer-card span{display:block;margin:14px 0 5px;font-weight:600}.offer-item-photo{width:100%;height:160px;object-fit:contain}.rx-line{border:1px solid #dce4ef}.rx-line input,.rx-line select{width:100%}@media(max-width:720px){.offer-card{padding:18px;gap:12px}.offer-card img{width:76px;height:90px}.offer-card h3{font-size:18px}.offer-card p{font-size:12px}.offer-line input[type=number]{min-width:90px}}
