:root{--scso-navy:#071a3d;--scso-navy2:#0d2a61;--scso-blue:#246bfe;--scso-cyan:#41c7ff;--scso-bg:#f4f7fb;--scso-text:#10213f;--scso-muted:#6d7d98;--scso-line:#e4eaf2;--scso-card:#fff;--scso-danger:#d94b58}*{box-sizing:border-box}.scso-app{display:flex;width:100%;max-width:none;min-height:100vh;background:var(--scso-bg);color:var(--scso-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0;padding:0;align-items:stretch}.scso-sidebar{width:270px;flex:0 0 270px;background:linear-gradient(180deg,#06162f 0%,#091f47 100%);color:#fff;padding:28px 18px;position:relative;top:auto;height:auto;min-height:100%;align-self:stretch;display:flex;flex-direction:column;z-index:20}.scso-brand{display:flex;align-items:center;gap:12px;padding:0 10px 28px;border-bottom:1px solid rgba(255,255,255,.1)}.scso-brand strong{display:block;font-size:16px}.scso-brand span{display:block;font-size:9px;letter-spacing:1.7px;color:#8fa6d0;margin-top:3px}.scso-orbit{width:40px;height:40px;border:1px solid rgba(83,171,255,.45);border-radius:50%;display:grid;place-items:center;color:#5bb9ff;box-shadow:0 0 30px rgba(49,132,255,.25)}.scso-nav{display:flex;flex-direction:column;gap:5px;padding:24px 0;overflow:auto}.scso-nav a{display:flex;align-items:center;gap:12px;padding:12px 12px;color:#fff!important;text-decoration:none;border-radius:12px;font-size:13px;font-weight:600;position:relative}.scso-nav a:hover,.scso-nav a.active{background:linear-gradient(135deg,rgba(56,132,255,.22),rgba(56,132,255,.08));color:#fff!important}.scso-nav a.active:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:4px;background:#4dc8ff}.scso-nav i{font-style:normal;width:22px;text-align:center;color:#8ed5ff}.scso-nav em{margin-left:auto;font-style:normal;font-size:9px;color:rgba(255,255,255,.58);text-transform:uppercase}.scso-nav a span{color:#fff!important}.scso-side-note{margin-top:auto;padding:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);border-radius:16px}.scso-side-note span{font-size:9px;letter-spacing:1.5px;color:#63c8ff}.scso-side-note strong{display:block;margin:7px 0 4px;font-size:13px}.scso-side-note p{font-size:11px;line-height:1.55;color:#97a9c8;margin:0}.scso-main{flex:1;min-width:0;padding:32px 36px 70px}.scso-topbar{display:flex;justify-content:flex-end;align-items:center;min-height:42px;margin-bottom:28px}.scso-topbar-left{display:none}.scso-topbar h1{margin:4px 0 0;font-size:26px;letter-spacing:-.5px}.scso-eyebrow{font-size:10px;letter-spacing:1.5px;color:#7b8aa3;font-weight:700}.scso-user{display:flex;align-items:center;gap:12px}.scso-user>div:first-child{text-align:right}.scso-user strong,.scso-user span{display:block}.scso-user strong{font-size:13px}.scso-user span{font-size:11px;color:var(--scso-muted);margin-top:2px}.scso-avatar{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--scso-navy2),var(--scso-blue));color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:0 8px 20px rgba(36,107,254,.2)}.scso-mobile-menu{display:none}.scso-notice{background:#eaf8f0;border:1px solid #bfe9cf;color:#237345;padding:12px 15px;border-radius:12px;margin-bottom:18px;font-size:13px}.scso-hero-panel{min-height:255px;border-radius:28px;padding:38px 42px;background:radial-gradient(circle at 78% 28%,rgba(71,179,255,.28),transparent 18%),radial-gradient(circle at 92% 70%,rgba(58,112,255,.24),transparent 22%),linear-gradient(135deg,#061a3a,#0d2b63 68%,#0d4c85);color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.scso-hero-panel h2{font-size:31px;line-height:1.15;letter-spacing:-1px;max-width:680px;margin:13px 0}.scso-hero-panel p{color:#b8c7df;max-width:650px;line-height:1.7;margin:0;font-size:14px}.scso-pill{display:inline-flex;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:99px;font-size:9px;letter-spacing:1.4px;color:#7fd3ff}.scso-hero-orbit{position:relative;width:170px;height:170px;border:1px solid rgba(255,255,255,.11);border-radius:50%;flex:0 0 auto;margin-left:30px}.scso-hero-orbit:before,.scso-hero-orbit:after{content:"";position:absolute;border:1px solid rgba(93,193,255,.18);border-radius:50%;inset:22px}.scso-hero-orbit:after{inset:48px;background:radial-gradient(circle,#377df7 0%,#0e356e 60%,#081d40 100%);box-shadow:0 0 45px rgba(51,128,255,.36)}.scso-hero-orbit span{position:absolute;z-index:2;inset:0;display:grid;place-items:center;font-size:24px;font-weight:800}.scso-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.scso-metrics article,.scso-card{background:#fff;border:1px solid var(--scso-line);border-radius:18px;box-shadow:0 10px 30px rgba(26,53,95,.04)}.scso-metrics article{padding:20px}.scso-metrics span{font-size:11px;color:var(--scso-muted);display:block}.scso-metrics strong{font-size:22px;display:block;margin:9px 0 5px}.scso-metrics small{font-size:10px;color:#8a98af}.scso-metrics .neg{color:var(--scso-danger)}.scso-grid{display:grid;gap:18px}.scso-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-align-start{align-items:start}.scso-card{padding:24px}.scso-card-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.scso-card-head h3{font-size:17px;margin:4px 0 0}.scso-card-head>a{font-size:11px;text-decoration:none;color:var(--scso-blue);font-weight:700}.scso-card-head>strong{font-size:14px}.scso-big-number{font-size:34px;font-weight:800;letter-spacing:-1px;margin:32px 0 18px}.scso-big-number span{display:block;font-size:11px;font-weight:500;color:var(--scso-muted);letter-spacing:0;margin-top:4px}.scso-budget-bar{height:8px;border-radius:99px;background:#edf1f6;overflow:hidden}.scso-budget-bar i{display:block;height:100%;background:linear-gradient(90deg,#2c79ff,#4cc8ff);border-radius:99px}.scso-card>small{display:block;color:#8492a8;font-size:10px;margin-top:9px}.scso-activity>div{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #eef2f6}.scso-activity i{width:34px;height:34px;border-radius:10px;background:#eef5ff;color:#2d79ff;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:800}.scso-activity span strong,.scso-activity span small{display:block}.scso-activity span strong{font-size:12px}.scso-activity span small{font-size:10px;color:var(--scso-muted);margin-top:3px}.scso-activity b{font-size:11px}.scso-empty{font-size:12px;color:var(--scso-muted)}.scso-form-card h3{font-size:21px;margin:5px 0}.scso-form-card>p{color:var(--scso-muted);font-size:12px;line-height:1.6;margin:0 0 20px}.scso-form{display:grid;gap:13px}.scso-form label{font-size:11px;font-weight:700;color:#475775;display:grid;gap:6px}.scso-form input,.scso-form select,.scso-form textarea{width:100%;border:1px solid #dfe6ef;background:#fbfcfe;border-radius:10px;padding:11px 12px;font:inherit;font-size:12px;color:#162743;outline:none}.scso-form input:focus,.scso-form select:focus,.scso-form textarea:focus{border-color:#6da4ff;box-shadow:0 0 0 3px rgba(36,107,254,.08);background:#fff}.scso-two,.scso-three{display:grid;gap:12px}.scso-two{grid-template-columns:repeat(2,1fr)}.scso-three{grid-template-columns:repeat(3,1fr)}.scso-btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:11px;padding:12px 18px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.scso-btn-primary{background:linear-gradient(135deg,#0b2c65,#246bfe);color:#fff;box-shadow:0 9px 18px rgba(36,107,254,.18)}.scso-form .scso-btn{justify-self:start;margin-top:3px}.scso-table-wrap{overflow:auto}.scso-table{width:100%;border-collapse:collapse;min-width:620px}.scso-table th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8290a7;text-align:left;padding:10px;border-bottom:1px solid #e8edf3}.scso-table td{padding:12px 10px;border-bottom:1px solid #eef2f6;font-size:11px;color:#40506c;vertical-align:top}.scso-table td strong,.scso-table td small{display:block}.scso-table td strong{color:#172946}.scso-table td small{font-size:9px;color:#8795aa;margin-top:3px}.scso-tag{display:inline-flex;background:#edf4ff;color:#286bcf;border-radius:99px;padding:4px 8px;font-size:9px;font-weight:800;text-transform:capitalize}.scso-table .is-low{background:#fff9f9}.scso-danger{color:var(--scso-danger)!important;font-weight:800}.scso-mt{margin-top:18px}.scso-coming{min-height:480px;border:1px dashed #cfd8e6;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:linear-gradient(180deg,#fff,#f9fbfd)}.scso-coming>span{font-size:10px;letter-spacing:1.5px;color:#2b79f6;font-weight:800}.scso-coming h2{max-width:720px;font-size:30px;line-height:1.25;margin:13px auto}.scso-coming p{max-width:700px;color:var(--scso-muted);line-height:1.7;font-size:13px}.scso-roadmap{display:flex;align-items:center;gap:13px;margin-top:24px;font-size:11px}.scso-roadmap b{background:#edf4ff;color:#1e5ebd;border-radius:99px;padding:8px 12px}.scso-roadmap span{color:#a5b1c4}.scso-auth{min-height:70vh;display:grid;place-items:center;background:#f4f7fb;padding:30px;font-family:Inter,system-ui,sans-serif}.scso-auth-card{max-width:480px;background:#fff;border-radius:24px;border:1px solid #e3e9f2;padding:40px;text-align:center;box-shadow:0 25px 60px rgba(24,48,85,.09)}.scso-auth-card h2{font-size:30px;margin:10px 0}.scso-auth-card p{color:#72809a;line-height:1.7}.scso-kicker{font-size:10px;letter-spacing:1.6px;color:#2a70df;font-weight:800}
/* Dashboard page full-bleed overrides: remove the theme page title/eyebrow and container constraints. */
body .sc-content{padding:0!important}
body .sc-content>.sc-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body .sc-content>.sc-container>article{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body .sc-content>.sc-container>article>.sc-eyebrow,
body .sc-content>.sc-container>article>h1{display:none!important}
body .sc-content .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;color:var(--scso-text)}
body .sc-content .entry-content>.scso-app{width:100%!important;max-width:none!important;margin:0!important}
@media(max-width:1100px){.scso-sidebar{width:225px;flex-basis:225px}.scso-main{padding:26px 22px}.scso-metrics{grid-template-columns:repeat(2,1fr)}.scso-three{grid-template-columns:1fr 1fr}.scso-hero-panel h2{font-size:26px}}@media(max-width:800px){.scso-sidebar{position:fixed;left:-280px;top:0;width:260px;flex-basis:260px;height:100dvh;min-height:100dvh;align-self:auto;transition:.25s;box-shadow:18px 0 50px rgba(3,14,35,.22)}.scso-app.menu-open .scso-sidebar{left:0}.scso-main{padding:18px 14px 50px}.scso-topbar{justify-content:space-between}.scso-topbar-left{display:block}.scso-mobile-menu{display:inline-flex;border:0;background:#fff;border:1px solid #e2e8f1;border-radius:10px;width:38px;height:38px;align-items:center;justify-content:center;margin-right:10px}.scso-user>div:first-child{display:none}.scso-grid-2{grid-template-columns:1fr}.scso-three,.scso-two{grid-template-columns:1fr}.scso-hero-orbit{display:none}.scso-hero-panel{padding:30px 24px}.scso-metrics{grid-template-columns:1fr 1fr}.scso-roadmap{flex-wrap:wrap;justify-content:center}}@media(max-width:480px){.scso-metrics{grid-template-columns:1fr}.scso-hero-panel h2{font-size:24px}.scso-coming h2{font-size:24px}}

/* =========================================================
   v0.2.0 — FULL HEIGHT DASHBOARD SHELL + BUSINESS METRICS
   ========================================================= */
body.scso-dashboard-page .sc-header-wrap{display:none!important}
body.scso-dashboard-page .sc-main{margin:0!important;padding:0!important;min-height:0!important}
body.scso-dashboard-page .sc-content{padding:0!important;margin:0!important;background:var(--scso-bg)!important}
body.scso-dashboard-page .sc-content>.sc-container,
body.scso-dashboard-page .sc-content>.sc-container>article,
body.scso-dashboard-page .sc-content .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.scso-dashboard-page .sc-content>.sc-container>article>.sc-eyebrow,
body.scso-dashboard-page .sc-content>.sc-container>article>h1{display:none!important}
body.scso-dashboard-page .scso-app{min-height:100vh!important;margin:0!important}
body.scso-dashboard-page .scso-sidebar{margin:0!important;min-height:100%!important;align-self:stretch!important;padding-top:28px!important;border-radius:0!important}
body.scso-dashboard-page .sc-site{background:var(--scso-bg)}

.scso-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:26px 0 12px}
.scso-section-title>div>span{display:block;font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:1.7px;color:#7890b1;font-weight:800;margin-bottom:8px}
.scso-section-title h3{font-size:19px;letter-spacing:-.35px;margin:0;color:#122744}
.scso-section-title>small{font-size:10px;color:#8a98af}

.scso-metrics--business{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0}
.scso-metric{padding:0!important;min-height:126px;display:flex;gap:13px;align-items:flex-start;position:relative;overflow:hidden}
.scso-metric:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#246bfe}
.scso-metric>div:last-child{padding:18px 15px 16px 0;min-width:0}
.scso-metric-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;margin:17px 0 0 17px;font-weight:900;font-size:14px;background:#edf4ff;color:#246bfe}
.scso-metric strong{font-size:27px!important;line-height:1!important;letter-spacing:-1px;margin:8px 0 7px!important;color:#0f2749}
.scso-metric span{font-size:10px!important;font-weight:750;color:#667895!important;white-space:nowrap}
.scso-metric small{font-size:9px!important;line-height:1.35;color:#92a0b4!important}
.scso-metric--navy:before{background:#102b62}.scso-metric--navy .scso-metric-icon{background:#edf1f8;color:#102b62}
.scso-metric--cyan:before{background:#1baed0}.scso-metric--cyan .scso-metric-icon{background:#e9fbff;color:#1597b6}
.scso-metric--violet:before{background:#7257d8}.scso-metric--violet .scso-metric-icon{background:#f1edff;color:#7257d8}
.scso-metric--green:before{background:#20a36a}.scso-metric--green .scso-metric-icon{background:#e9f8f1;color:#188858}
.scso-metric--danger:before{background:#e24e60}.scso-metric--danger .scso-metric-icon{background:#fff0f2;color:#d93e52}.scso-metric--danger strong{color:#c93247}
.scso-metric--slate:before{background:#64748b}.scso-metric--slate .scso-metric-icon{background:#f0f3f7;color:#556579}
.scso-metrics--finance{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.scso-metrics--finance article{position:relative;padding:18px 20px;overflow:hidden}
.scso-metrics--finance article:after{content:"";position:absolute;right:-28px;top:-35px;width:90px;height:90px;border-radius:50%;background:rgba(36,107,254,.055)}
.scso-metrics--finance strong{font-size:20px}

.scso-project-list{display:flex;flex-direction:column}
.scso-project-row{display:grid;grid-template-columns:12px 1fr auto;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f6}
.scso-project-row:last-child{border-bottom:0}.scso-project-dot{width:8px;height:8px;border-radius:50%;background:#2f7dff;box-shadow:0 0 0 4px rgba(47,125,255,.09)}
.scso-project-row strong,.scso-project-row small{display:block}.scso-project-row strong{font-size:12px}.scso-project-row small{font-size:9px;color:#8290a5;margin-top:3px}.scso-project-row b{font-size:10px;color:#49617f}

.scso-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:800;background:#edf2f8;color:#53637b}
.scso-status--brief,.scso-status--todo{background:#f0f3f7;color:#66758a}.scso-status--quotation{background:#fff5dd;color:#9b6a06}.scso-status--approved{background:#e9f3ff;color:#1d68c9}.scso-status--in_progress{background:#e9f1ff;color:#245fc2}.scso-status--revision,.scso-status--review{background:#f2edff;color:#6c4cc2}.scso-status--production{background:#e7fbff;color:#0c809b}.scso-status--completed,.scso-status--done{background:#e8f8ef;color:#168653}.scso-status--cancelled{background:#fff0f1;color:#c84454}

.scso-team-list>div{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f5}.scso-team-avatar{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#0a2c64,#2c75ff);color:#fff;font-weight:800}.scso-team-list section strong,.scso-team-list section small{display:block}.scso-team-list section strong{font-size:12px}.scso-team-list section small{font-size:9px;color:#8290a5;margin-top:3px}.scso-team-list a{font-size:9px;color:#246bfe;text-decoration:none;font-weight:800}

.scso-team-project-list,.scso-team-project-grid{display:grid;gap:14px}.scso-team-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-team-project-card{background:#fff;border:1px solid var(--scso-line);border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(26,53,95,.04)}.scso-team-project-list .scso-team-project-card{box-shadow:none;border:0;border-bottom:1px solid #edf1f5;border-radius:0;padding:14px 0}.scso-project-card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.scso-project-card-head>div>span{font-size:8px;letter-spacing:1px;color:#7185a4;font-weight:800}.scso-project-card-head h3{font-size:16px;margin:4px 0 0;letter-spacing:-.2px}.scso-project-info{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.scso-project-info>span{font-size:8px;text-transform:uppercase;letter-spacing:.7px;color:#8a98ab}.scso-project-info strong{display:block;margin-top:4px;font-size:10px;text-transform:none;letter-spacing:0;color:#223b60}.scso-project-brief{margin-top:18px;padding-top:16px;border-top:1px solid #edf1f5}.scso-project-brief>span{font-size:8px;font-weight:800;letter-spacing:1px;color:#7e8da3;text-transform:uppercase}.scso-project-brief p{font-size:11px;color:#536681;line-height:1.65;margin:7px 0 15px}

.scso-team-task-list>div{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f5}.scso-team-task-list section strong,.scso-team-task-list section small{display:block}.scso-team-task-list section strong{font-size:11px}.scso-team-task-list section small{font-size:9px;color:#8795a8;margin-top:2px}
.scso-team-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scso-task-card{background:#fff;border:1px solid var(--scso-line);border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(26,53,95,.04)}.scso-task-card.is-overdue{border-color:#f0c3c8;background:#fffafa}.scso-task-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.scso-task-card-top>b{font-size:8px;letter-spacing:1px;color:#7c8ca4}.scso-task-card h3{font-size:17px;margin:15px 0 8px}.scso-task-card>p{font-size:11px;line-height:1.6;color:#657690;min-height:52px}.scso-task-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0;border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6}.scso-task-meta span{font-size:8px;color:#8795a8;text-transform:uppercase}.scso-task-meta strong{display:block;color:#29405e;text-transform:none;font-size:9px;margin-top:4px}.scso-task-status-form{display:flex;gap:8px;margin-top:14px}.scso-task-status-form select{min-width:0;flex:1;border:1px solid #dfe6ef;border-radius:10px;padding:9px 10px;background:#fbfcfe;font-size:10px}.scso-task-status-form .scso-btn{padding:9px 13px;font-size:10px}

@media(max-width:1350px){.scso-metrics--business{grid-template-columns:repeat(3,1fr)}.scso-team-task-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.scso-team-project-grid{grid-template-columns:1fr}.scso-project-info{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){body.scso-dashboard-page .scso-sidebar{min-height:100dvh!important;height:100dvh!important}.scso-section-title{align-items:flex-start;flex-direction:column}.scso-metrics--business{grid-template-columns:repeat(2,1fr)}.scso-metrics--finance{grid-template-columns:repeat(2,1fr)}.scso-team-task-grid{grid-template-columns:1fr}}
@media(max-width:520px){.scso-metrics--business,.scso-metrics--finance{grid-template-columns:1fr}.scso-project-info{grid-template-columns:1fr 1fr}.scso-metric{min-height:105px}}

/* =========================================================
   v0.3.0 — CLEAN KPI, REVENUE, BREAK-EVEN, PRODUCTS
   ========================================================= */
.scso-metrics--business{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.scso-metrics--business .scso-metric{min-height:132px;border-radius:20px;align-items:center;padding:18px!important;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 12px 32px rgba(20,48,88,.05)}
.scso-metrics--business .scso-metric:before{width:3px;top:18px;bottom:18px;border-radius:8px}
.scso-metrics--business .scso-metric-icon{margin:0;width:48px;height:48px;flex:0 0 48px;border-radius:15px;font-size:17px}
.scso-metrics--business .scso-metric-copy{padding:0!important;display:flex;flex-direction:column;justify-content:center;min-width:0}
.scso-metrics--business .scso-metric-copy span{font-size:10px!important;text-transform:uppercase;letter-spacing:.7px;font-weight:800;color:#72839e!important;white-space:normal}
.scso-metrics--business .scso-metric-copy strong{font-size:30px!important;margin:7px 0 5px!important;letter-spacing:-1.2px}
.scso-metrics--business .scso-metric-copy small{font-size:10px!important}
.scso-metrics--finance{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.scso-finance-metric{appearance:none;text-align:left;border:1px solid #e4eaf2;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:20px;padding:20px 22px!important;min-height:126px;box-shadow:0 12px 32px rgba(20,48,88,.05);position:relative;overflow:hidden;color:var(--scso-text);font:inherit}
.scso-finance-metric:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#246bfe,#42c8ff)}
.scso-finance-metric .scso-finance-label,.scso-finance-metric>span{font-size:9px!important;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#7a89a0!important}
.scso-finance-metric strong{font-size:22px!important;line-height:1.12;margin:15px 0 8px!important;letter-spacing:-.6px;color:#10294d}
.scso-finance-metric small{font-size:9px!important;line-height:1.45;color:#8a99ae!important}
button.scso-finance-metric{cursor:pointer;transition:.2s ease}
button.scso-finance-metric:hover{transform:translateY(-3px);border-color:#b9d0fa;box-shadow:0 18px 40px rgba(36,107,254,.11)}
.scso-bep-card{display:grid;grid-template-columns:150px 1fr;grid-template-areas:"head head" "ring copy";align-items:center;gap:18px 28px}
.scso-bep-card .scso-card-head{grid-area:head;margin-bottom:0}.scso-bep-card .scso-card-head>b{font-size:13px;color:#246bfe}
.scso-bep-ring{grid-area:ring;width:136px;height:136px;border-radius:50%;background:conic-gradient(#246bfe calc(var(--p)*1%),#eaf0f7 0);display:grid;place-items:center;position:relative}
.scso-bep-ring:before{content:"";position:absolute;inset:13px;background:#fff;border-radius:50%}
.scso-bep-ring>div{position:relative;z-index:1;text-align:center}.scso-bep-ring strong{font-size:24px;display:block}.scso-bep-ring span{font-size:9px;color:#8493a8}
.scso-bep-copy{grid-area:copy}.scso-bep-copy>p{font-size:11px;line-height:1.65;color:#667892;margin:0 0 16px}.scso-bep-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scso-bep-stats span,.scso-mini-finance span{padding:12px;border:1px solid #edf1f6;border-radius:13px;background:#fbfcfe;font-size:9px;color:#8190a4}.scso-bep-stats strong,.scso-mini-finance strong{display:block;font-size:12px;color:#1d365a;margin-top:5px}.scso-mini-finance{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scso-channel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.scso-channel-grid>span{padding:14px;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#fff);border:1px solid #e8edf4;font-size:11px;font-weight:800;color:#17355f}.scso-channel-grid small{display:block;font-size:8px;font-weight:500;color:#8a99ae;margin-top:4px}.scso-product-admin-filter{display:grid;grid-template-columns:1fr 190px auto;gap:8px;margin-bottom:14px}.scso-product-admin-filter input,.scso-product-admin-filter select{border:1px solid #dfe6ef;border-radius:10px;padding:10px 11px;background:#fbfcfe;font-size:11px}.scso-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.scso-pagination a{width:34px;height:34px;border:1px solid #e1e7ef;border-radius:9px;display:grid;place-items:center;text-decoration:none;color:#52637d;background:#fff;font-size:10px;font-weight:800}.scso-pagination a.active{background:#163e82;color:#fff;border-color:#163e82}.scso-pagination a.scso-page-nav{width:auto;min-width:72px;padding:0 12px}.scso-pagination .scso-ellipsis{width:28px;height:34px;display:grid;place-items:center;color:#8b99ad;font-size:13px;font-weight:900}.scso-code-box{padding:14px;border-radius:12px;background:#081a38;color:#bfe5ff;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}.scso-settings-note{font-size:11px;line-height:1.65;color:#718099}.scso-settings-note code{font-size:10px}
.scso-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px}.scso-modal.is-open{display:flex}.scso-modal-backdrop{position:absolute;inset:0;background:rgba(4,16,37,.62);backdrop-filter:blur(6px)}.scso-modal-dialog{position:relative;width:min(900px,96vw);max-height:82vh;overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:0 30px 90px rgba(2,16,41,.28)}.scso-modal-close{position:absolute;right:16px;top:14px;border:0;width:36px;height:36px;border-radius:10px;background:#eff4fa;font-size:22px;cursor:pointer}.scso-modal-head{padding:4px 50px 20px 0}.scso-modal-head span{font-size:9px;letter-spacing:1.4px;color:#6c82a6;font-weight:800}.scso-modal-head h3{font-size:22px;margin:6px 0}.scso-modal-head strong{font-size:28px;color:#143a78}
@media(max-width:1180px){.scso-metrics--business{grid-template-columns:repeat(2,1fr)}.scso-metrics--finance{grid-template-columns:repeat(2,1fr)}.scso-channel-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.scso-bep-card{grid-template-columns:1fr;grid-template-areas:"head" "ring" "copy"}.scso-bep-ring{margin:auto}.scso-product-admin-filter{grid-template-columns:1fr}.scso-metrics--business,.scso-metrics--finance{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.scso-metrics--business,.scso-metrics--finance{grid-template-columns:1fr}.scso-channel-grid,.scso-mini-finance,.scso-bep-stats{grid-template-columns:1fr}}

/* ============================================================
   v0.4.0 — METRIC WIDTH, PRIMARY BUTTONS & CLIENT CRM
   ============================================================ */
.scso-metrics--business,.scso-metrics--finance{width:100%}
.scso-metrics--business>.scso-metric,.scso-metrics--finance>.scso-finance-metric{width:100%;min-width:0;max-width:none;justify-self:stretch;align-self:stretch}
.scso-metric{width:100%!important}
.scso-finance-metric{width:100%!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.scso-btn.scso-btn-primary,.scso-btn.scso-btn-primary:link,.scso-btn.scso-btn-primary:visited{color:#fff!important}
.scso-btn.scso-btn-primary *,.scso-btn.scso-btn-primary .dashicons{color:#fff!important}
.scso-btn.scso-btn-primary{gap:7px;line-height:1.1}
.scso-btn.scso-btn-primary .dashicons{font-size:16px;width:16px;height:16px;line-height:16px}

.scso-title-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.scso-client-search{height:40px;min-width:310px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#fff;border:1px solid #dfe6ef;border-radius:11px;box-shadow:0 6px 18px rgba(22,48,88,.03)}
.scso-client-search .dashicons{font-size:17px;width:17px;height:17px;color:#8190a8}
.scso-client-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;font-size:11px;color:#172946;padding:0!important}
.scso-crm-table-card{padding:0;overflow:hidden}
.scso-crm-table-card>.scso-card-head{padding:22px 24px 14px;margin:0}
.scso-client-table{min-width:990px}
.scso-client-table th:first-child,.scso-client-table td:first-child{padding-left:24px}
.scso-client-table th:last-child,.scso-client-table td:last-child{padding-right:24px}
.scso-table-client{display:flex;align-items:center;gap:10px;min-width:180px}
.scso-table-client-logo{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:linear-gradient(135deg,#0d2d64,#2775ff);color:#fff;display:grid;place-items:center;font-weight:900;overflow:hidden;box-shadow:0 7px 16px rgba(36,107,254,.14)}
.scso-table-client-logo img{width:100%;height:100%;object-fit:cover;background:#fff}
.scso-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.scso-row-actions form{margin:0}
.scso-action-btn{height:30px;padding:0 9px;border-radius:8px;border:1px solid #dce5ef;background:#fff;color:#40516e;font-size:9px;font-weight:800;display:inline-flex;align-items:center;gap:4px;cursor:pointer;text-decoration:none}
.scso-action-btn .dashicons{font-size:13px;width:13px;height:13px;line-height:13px}
.scso-action-view:hover{border-color:#9fc1fb;background:#f2f7ff;color:#2366ca}
.scso-action-delete{color:#bd4855;border-color:#f0d6da;background:#fff9fa}
.scso-action-delete:hover{background:#fff0f2;border-color:#e9b7bd}

.scso-modal-dialog--form{width:min(720px,96vw)}
.scso-modal-dialog--form .scso-modal-head p{font-size:11px;color:#7f8ea4;line-height:1.6;margin:8px 0 0}
.scso-modal-dialog--client{width:min(1180px,96vw);max-height:92vh;padding:0;overflow:hidden}
.scso-client-detail-body{max-height:92vh;overflow:auto;padding:28px}
.scso-modal-loading{min-height:300px;display:flex;align-items:center;justify-content:center;gap:10px;color:#72839e;font-size:12px}
.scso-modal-loading .dashicons{animation:scsoSpin 1s linear infinite}
@keyframes scsoSpin{to{transform:rotate(360deg)}}

.scso-client-profile{display:grid;grid-template-columns:70px 1fr auto;gap:16px;align-items:center;padding:4px 48px 22px 0;border-bottom:1px solid #e9eef4}
.scso-client-logo{width:68px;height:68px;border-radius:19px;background:linear-gradient(135deg,#0b2c65,#2674ff);display:grid;place-items:center;overflow:hidden;color:#fff;font-size:25px;font-weight:900;box-shadow:0 12px 28px rgba(36,107,254,.18)}
.scso-client-logo img{width:100%;height:100%;object-fit:cover;background:#fff}
.scso-client-profile-copy h2{font-size:24px;line-height:1.15;margin:4px 0 5px;color:#10294c;letter-spacing:-.5px}
.scso-client-profile-copy p{font-size:10px;color:#7e8da3;margin:0}
.scso-client-code{font-size:8px;letter-spacing:1.2px;color:#2570df;font-weight:900;text-transform:uppercase}
.scso-client-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:18px 0}
.scso-client-facts>span{padding:13px 14px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:12px;min-width:0}
.scso-client-facts small,.scso-client-facts strong{display:block}
.scso-client-facts small{font-size:8px;text-transform:uppercase;letter-spacing:.7px;color:#8a98ae;margin-bottom:5px}
.scso-client-facts strong{font-size:10px;color:#263c5e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scso-client-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.scso-client-notes p{background:#fbfcfe;border:1px solid #e8edf4;border-radius:12px;padding:13px 14px;margin:0;font-size:10px;line-height:1.65;color:#5f7089}
.scso-client-notes b{display:block;color:#1b3152;font-size:9px;margin-bottom:6px;text-transform:uppercase;letter-spacing:.6px}

.scso-detail-tabs{display:flex;gap:5px;padding:5px;background:#f0f4f9;border-radius:13px;margin:4px 0 18px;width:max-content;max-width:100%}
.scso-detail-tabs button{border:0;background:transparent;border-radius:9px;padding:9px 13px;font-size:10px;font-weight:800;color:#65758e;cursor:pointer}
.scso-detail-tabs button.active{background:#fff;color:#185bc1;box-shadow:0 5px 15px rgba(26,57,99,.07)}
.scso-detail-tabs em{font-style:normal;margin-left:5px;background:#e8f1ff;color:#246bda;padding:2px 5px;border-radius:99px;font-size:8px}
.scso-detail-panel{display:none}.scso-detail-panel.active{display:block}

.scso-client-update-layout{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);gap:16px;align-items:start}
.scso-client-update-layout>.scso-card{padding:19px;border-radius:15px;box-shadow:none}
.scso-client-update-form .scso-card-head,.scso-update-history .scso-card-head{margin-bottom:13px}
.scso-update-history>.scso-card-head small{font-size:8px;color:#8a98ae}
.scso-update-scroll{max-height:440px;overflow-y:auto;padding-right:4px;scrollbar-width:thin}
.scso-update-item{display:grid;grid-template-columns:31px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f5}
.scso-update-item:last-child{border-bottom:0}
.scso-update-marker{width:29px;height:29px;border-radius:9px;background:#edf4ff;color:#246bd8;display:grid;place-items:center;font-size:8px;font-weight:900}
.scso-update-item--email .scso-update-marker{background:#f0edff;color:#6a50ca}.scso-update-item--whatsapp .scso-update-marker{background:#eaf9f0;color:#1d9259}.scso-update-item--document .scso-update-marker{background:#fff4e6;color:#b06d12}
.scso-update-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:4px}.scso-update-meta span{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#2a6fd5;font-weight:900}.scso-update-meta time{font-size:8px;color:#96a2b4}
.scso-update-item strong{font-size:11px;color:#203653;display:block;margin-bottom:4px}.scso-update-item p{font-size:10px;line-height:1.6;color:#64748b;margin:0 0 6px}.scso-update-item>div>small{font-size:8px;color:#9aa5b5}
.scso-attachment{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:#2267ca;text-decoration:none;margin:2px 0 7px}.scso-attachment .dashicons{font-size:13px;width:13px;height:13px}

.scso-client-projects{display:grid;gap:15px}
.scso-client-project-card{border:1px solid #e2e9f2;border-radius:17px;background:#fff;padding:19px;box-shadow:0 9px 26px rgba(22,47,85,.035)}
.scso-client-project-card>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.scso-client-project-card>header span{font-size:8px;letter-spacing:.7px;color:#2a70d7;font-weight:850;text-transform:uppercase}.scso-client-project-card>header h3{font-size:16px;margin:4px 0}.scso-client-project-card>header p{font-size:9px;color:#8593a7;margin:0}.scso-client-project-card>header>strong{font-size:21px;color:#1e63c6}
.scso-project-progress{height:7px;border-radius:99px;background:#edf2f7;margin:13px 0 16px;overflow:hidden}.scso-project-progress i{height:100%;display:block;border-radius:99px;background:linear-gradient(90deg,#226bfb,#40c8ff)}
.scso-project-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.scso-project-detail-grid span{padding:10px 11px;background:#f8fafc;border-radius:10px;border:1px solid #ebeff4}.scso-project-detail-grid small,.scso-project-detail-grid b{display:block}.scso-project-detail-grid small{font-size:7px;text-transform:uppercase;color:#8997a9;letter-spacing:.5px}.scso-project-detail-grid b{font-size:9px;color:#263b58;margin-top:4px}
.scso-project-brief{padding:11px 13px;background:#fbfcfe;border:1px solid #e8edf4;border-radius:11px;margin-top:10px}.scso-project-brief b{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#51647f}.scso-project-brief p{font-size:10px;color:#66768d;line-height:1.6;margin:5px 0 0}
.scso-project-assets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px}.scso-project-assets-grid>div{border:1px solid #e8edf3;border-radius:12px;padding:13px}.scso-subhead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.scso-subhead b{font-size:10px;color:#263c5b}.scso-subhead span{font-size:7px;color:#9aa5b5}
.scso-doc-list{display:grid;gap:6px}.scso-doc-list>a{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:9px;background:#f7f9fc;text-decoration:none;color:#2d4261}.scso-doc-list>a>.dashicons{font-size:17px;width:17px;height:17px;color:#2b71da}.scso-doc-list strong,.scso-doc-list small{display:block}.scso-doc-list strong{font-size:9px}.scso-doc-list small{font-size:7px;color:#8996aa;margin-top:2px}
.scso-revision-list{display:grid;gap:7px}.scso-revision-list>div{display:grid;grid-template-columns:30px 1fr;gap:8px}.scso-revision-list>div>span{width:28px;height:28px;border-radius:8px;background:#f0edff;color:#674eca;display:grid;place-items:center;font-size:8px;font-weight:900}.scso-revision-list strong{font-size:9px}.scso-revision-list p{font-size:8px;line-height:1.4;color:#7e8c9f;margin:2px 0}.scso-revision-list a{font-size:7px;color:#286bd0;text-decoration:none}
.scso-project-tools{margin-top:13px;border-top:1px dashed #dce4ee;padding-top:10px}.scso-project-tools>summary{cursor:pointer;font-size:9px;font-weight:800;color:#2a6ccd;list-style:none}.scso-project-tools>summary::-webkit-details-marker{display:none}.scso-project-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:11px}.scso-project-tools-grid>.scso-form{border:1px solid #e5ebf2;border-radius:11px;padding:11px;background:#fbfcfe;gap:8px}.scso-project-tools-grid>.scso-form>b{font-size:9px;color:#253c5b}.scso-project-tools-grid .scso-btn{padding:9px 10px;font-size:9px}
.scso-empty-state{padding:60px 20px;text-align:center;border:1px dashed #d7e0eb;border-radius:16px;background:#fbfcfe}.scso-empty-state>.dashicons{font-size:36px;width:36px;height:36px;color:#a5b3c6}.scso-empty-state h3{font-size:16px;margin:10px 0 5px}.scso-empty-state p{font-size:10px;color:#8290a4;max-width:520px;margin:auto;line-height:1.6}

@media(max-width:1100px){.scso-client-facts{grid-template-columns:repeat(3,1fr)}.scso-client-update-layout{grid-template-columns:1fr}.scso-project-tools-grid{grid-template-columns:1fr}.scso-project-detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.scso-section-title.scso-crm-title{align-items:stretch;flex-direction:column}.scso-title-actions{justify-content:stretch}.scso-client-search{min-width:0;flex:1}.scso-client-detail-body{padding:20px}.scso-client-profile{grid-template-columns:54px 1fr;}.scso-client-profile>.scso-status{grid-column:1/-1;width:max-content}.scso-client-logo{width:52px;height:52px;border-radius:15px}.scso-client-facts{grid-template-columns:repeat(2,1fr)}.scso-client-notes,.scso-project-assets-grid{grid-template-columns:1fr}}
@media(max-width:520px){.scso-title-actions{display:grid;grid-template-columns:1fr}.scso-client-search{width:100%}.scso-client-facts,.scso-project-detail-grid{grid-template-columns:1fr}.scso-detail-tabs{width:100%}.scso-detail-tabs button{flex:1}.scso-client-profile-copy h2{font-size:19px}.scso-client-detail-body{padding:16px}.scso-modal-dialog--client{width:100vw;max-height:100vh;border-radius:0}.scso-client-detail-body{max-height:100vh}.scso-client-update-layout>.scso-card,.scso-client-project-card{padding:14px}}
.scso-update-scroll{max-height:380px}.scso-update-item{min-height:70px}

/* ============================================================
   v0.5.0 — PROJECT / ORDER DETAIL WORKSPACE
   ============================================================ */
.scso-project-table{min-width:1180px}.scso-table-progress{display:flex;align-items:center;gap:8px;min-width:115px}.scso-table-progress>span{width:80px;height:6px;border-radius:99px;background:#edf2f7;overflow:hidden}.scso-table-progress>span i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#246bfe,#42c8ff)}.scso-table-progress>b{font-size:9px;color:#31577f}
.scso-modal-dialog--project{width:min(1320px,97vw);height:min(92vh,980px);max-height:92vh;padding:0;overflow:hidden;border-radius:26px}.scso-project-detail-body{height:100%;overflow:auto;background:#f5f8fc}.scso-project-workspace{min-height:100%;padding:28px}.scso-project-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:4px 52px 20px 0}.scso-project-ident{display:flex;align-items:center;gap:14px;min-width:0}.scso-project-client-avatar{width:58px;height:58px;flex:0 0 58px;border-radius:17px;background:linear-gradient(135deg,#082552,#2471f7);display:grid;place-items:center;overflow:hidden;color:#fff;font-weight:900;font-size:20px;box-shadow:0 12px 30px rgba(36,107,254,.16)}.scso-project-client-avatar img{width:100%;height:100%;object-fit:cover;background:#fff}.scso-project-ident>div:last-child{min-width:0}.scso-project-ident span{font-size:8px;letter-spacing:1.25px;color:#2c6fcf;font-weight:900}.scso-project-ident h2{font-size:25px;line-height:1.15;margin:4px 0 6px;letter-spacing:-.7px;color:#10213f}.scso-project-ident p{font-size:10px;color:#7b8ba2;margin:0}.scso-project-head-status{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.scso-project-head-status small{font-size:7px;letter-spacing:1px;color:#8c9aaf;font-weight:800}
.scso-project-progress-block{padding:14px 18px;background:#fff;border:1px solid #e3eaf3;border-radius:16px;margin-bottom:15px;box-shadow:0 9px 28px rgba(23,49,87,.035)}.scso-project-progress-block>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}.scso-project-progress-block span{font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#72829a;font-weight:800}.scso-project-progress-block b{font-size:13px;color:#1e64c7}.scso-project-progress--large{height:8px;margin:8px 0 0}
.scso-project-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.scso-project-kpis article{background:#fff;border:1px solid #e3eaf3;border-radius:16px;padding:16px 17px;box-shadow:0 9px 28px rgba(23,49,87,.035);position:relative;overflow:hidden}.scso-project-kpis article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#246bfe,#42c8ff)}.scso-project-kpis span,.scso-project-kpis strong,.scso-project-kpis small{display:block}.scso-project-kpis span{font-size:8px;text-transform:uppercase;letter-spacing:.75px;color:#7f8da3;font-weight:800}.scso-project-kpis strong{font-size:18px;color:#183658;margin:7px 0 4px;letter-spacing:-.4px}.scso-project-kpis small{font-size:8px;color:#909db0}.scso-project-kpis .is-negative strong,.scso-project-cost-summary .neg{color:#cf4856!important}
.scso-workspace-tabs{display:flex;gap:5px;overflow:auto;padding:6px;background:#eaf0f7;border-radius:14px;margin-bottom:15px;scrollbar-width:thin}.scso-workspace-tabs button{border:0;background:transparent;color:#64758e;padding:10px 13px;border-radius:9px;font-size:9px;font-weight:850;cursor:pointer;white-space:nowrap}.scso-workspace-tabs button em{font-style:normal;background:#dbe5f1;color:#667892;border-radius:99px;padding:2px 5px;margin-left:3px;font-size:7px}.scso-workspace-tabs button.active{background:#fff;color:#165ab4;box-shadow:0 5px 14px rgba(28,64,111,.08)}.scso-workspace-tabs button.active em{background:#eaf3ff;color:#2166c6}
.scso-workspace-panel{display:none}.scso-workspace-panel.active{display:block}.scso-workspace-grid{display:grid;gap:14px}.scso-workspace-grid--overview{grid-template-columns:1.25fr .75fr}.scso-workspace-card{background:#fff;border:1px solid #e3eaf3;border-radius:17px;padding:18px;box-shadow:0 9px 28px rgba(23,49,87,.035)}.scso-workspace-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.scso-workspace-card-head span{font-size:7px;letter-spacing:1px;color:#7186a4;font-weight:900}.scso-workspace-card-head h3{font-size:14px;margin:4px 0 0;color:#1b3557}.scso-workspace-card-head>strong{font-size:10px;color:#2669c6}.scso-workspace-card-head>small{font-size:8px;color:#95a1b1}.scso-project-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.scso-project-fact-grid span{padding:10px;border-radius:10px;background:#f7f9fc;border:1px solid #edf1f5}.scso-project-fact-grid small,.scso-project-fact-grid strong{display:block}.scso-project-fact-grid small{font-size:7px;text-transform:uppercase;letter-spacing:.55px;color:#8795a9}.scso-project-fact-grid strong{font-size:9px;color:#28405f;margin-top:4px}.scso-workspace-copy{margin-top:12px;padding-top:12px;border-top:1px solid #edf1f5}.scso-workspace-copy b{font-size:8px;text-transform:uppercase;letter-spacing:.65px;color:#60738f}.scso-workspace-copy p{font-size:10px;line-height:1.65;color:#64748b;margin:6px 0 0}.scso-workspace-copy--internal{background:#fffaf2;border:1px solid #f3e6ce;padding:11px;border-radius:10px}.scso-assignee-stack{display:flex;flex-wrap:wrap;gap:7px}.scso-assignee-stack>span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #e5ebf3;border-radius:99px;font-size:8px;color:#344a67;background:#fbfcfe}.scso-assignee-stack i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0d2d64,#2775ff);color:#fff;font-style:normal;font-size:7px;font-weight:900}.scso-assignee-stack>p{font-size:9px;color:#8a98aa;margin:0}.scso-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.scso-payment-summary span{padding:9px;border:1px solid #ebeff4;border-radius:10px;background:#f9fbfd}.scso-payment-summary small,.scso-payment-summary strong{display:block}.scso-payment-summary small{font-size:6px;text-transform:uppercase;color:#8b98aa;letter-spacing:.5px}.scso-payment-summary strong{font-size:10px;color:#254264;margin-top:4px}.scso-compact-list{display:grid;gap:6px;margin-top:10px}.scso-compact-list>div{position:relative;padding:8px 10px;border-radius:9px;background:#fbfcfe;border:1px solid #edf1f5}.scso-compact-list span,.scso-compact-list strong{font-size:8px}.scso-compact-list span{color:#5d7190}.scso-compact-list strong{float:right;color:#1d4f91}.scso-compact-list small{display:block;clear:both;font-size:7px;color:#98a3b2;margin-top:3px}.scso-progress-input{display:grid;grid-template-columns:1fr 48px;gap:10px;align-items:center}.scso-progress-input input[type=range]{padding:0;border:0;background:transparent}.scso-progress-input output{height:34px;border-radius:9px;background:#eaf3ff;color:#2167c7;display:grid;place-items:center;font-size:10px;font-weight:900}.scso-project-edit-form .scso-btn{margin-top:4px}
.scso-workspace-task-list{display:grid;gap:8px}.scso-workspace-task-list>article{display:grid;grid-template-columns:auto 1fr;gap:11px;padding:12px;border:1px solid #e9eef4;border-radius:12px;background:#fbfcfe}.scso-workspace-task-list>article>div strong{font-size:10px;color:#243d5e}.scso-workspace-task-list p{font-size:9px;line-height:1.55;color:#728099;margin:4px 0}.scso-workspace-task-list small{font-size:7px;color:#98a4b4}.scso-team-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.scso-team-member-grid article{display:flex;align-items:center;gap:9px;padding:11px;background:#fbfcfe;border:1px solid #e9eef4;border-radius:11px}.scso-team-member-grid article>i{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#0b2d65,#2776ff);color:#fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:900}.scso-team-member-grid strong,.scso-team-member-grid small{display:block}.scso-team-member-grid strong{font-size:9px}.scso-team-member-grid small{font-size:7px;color:#8c99aa;margin-top:3px}.scso-team-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.scso-team-check-grid>label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;padding:10px;border:1px solid #e7edf4;border-radius:11px;background:#fbfcfe;cursor:pointer}.scso-team-check-grid input{width:auto!important}.scso-team-check-grid span strong,.scso-team-check-grid span small{display:block}.scso-team-check-grid span strong{font-size:9px}.scso-team-check-grid span small{font-size:7px;color:#8d99aa;margin-top:2px}
.scso-workspace-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.scso-workspace-doc-grid>a{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid #e8edf4;border-radius:12px;background:#fbfcfe;text-decoration:none;color:#27405f;transition:.2s}.scso-workspace-doc-grid>a:hover{border-color:#b5cef4;background:#f4f8ff;transform:translateY(-2px)}.scso-workspace-doc-grid>a>.dashicons{color:#2b72dc}.scso-workspace-doc-grid strong,.scso-workspace-doc-grid small{display:block}.scso-workspace-doc-grid strong{font-size:9px}.scso-workspace-doc-grid small{font-size:7px;color:#8896a9;line-height:1.45;margin-top:3px}.scso-workspace-revision-list{display:grid;gap:8px}.scso-workspace-revision-list article{display:grid;grid-template-columns:40px 1fr;gap:10px;padding:11px;border:1px solid #e8edf4;border-radius:11px;background:#fbfcfe}.scso-workspace-revision-list article>span{width:38px;height:38px;border-radius:10px;background:#f0edff;color:#694ec7;display:grid;place-items:center;font-size:9px;font-weight:900}.scso-workspace-revision-list strong{font-size:9px}.scso-workspace-revision-list p{font-size:9px;line-height:1.55;color:#708099;margin:3px 0 5px}.scso-workspace-revision-list small{font-size:7px;color:#94a0b1}.scso-workspace-revision-list a{color:#2568c9;text-decoration:none}
.scso-project-cost-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.scso-project-cost-summary article{padding:16px;background:#fff;border:1px solid #e4eaf2;border-radius:15px}.scso-project-cost-summary span,.scso-project-cost-summary strong{display:block}.scso-project-cost-summary span{font-size:7px;text-transform:uppercase;letter-spacing:.65px;color:#8492a7}.scso-project-cost-summary strong{font-size:17px;color:#1c3b61;margin-top:6px}.scso-cost-table{min-width:900px}.scso-cost-table form{margin:0}.scso-cost-table a{font-size:8px;color:#2368ca;text-decoration:none}.scso-project-timeline{display:grid;gap:0}.scso-project-timeline>article{display:grid;grid-template-columns:34px 1fr;gap:10px;position:relative;padding:0 0 18px}.scso-project-timeline>article:not(:last-child):before{content:"";position:absolute;left:16px;top:32px;bottom:0;width:1px;background:#dfe6ef}.scso-project-timeline>article>i{width:32px;height:32px;border-radius:10px;background:#edf4ff;color:#2d70d2;display:grid;place-items:center;font-size:15px;z-index:1}.scso-project-timeline>article>div{padding:10px 12px;border:1px solid #e7edf4;border-radius:11px;background:#fbfcfe}.scso-project-timeline>article>div>div{display:flex;justify-content:space-between;gap:12px}.scso-project-timeline strong{font-size:9px;color:#243d5e}.scso-project-timeline time{font-size:7px;color:#96a2b2}.scso-project-timeline p{font-size:9px;line-height:1.55;color:#6e7d93;margin:5px 0}.scso-project-timeline small{font-size:7px;color:#97a3b3}.scso-project-timeline a{display:inline-block;margin-left:8px;font-size:7px;color:#2468c9;text-decoration:none}.scso-team-project-view{margin-top:12px;width:100%;justify-content:center;height:34px}
@media(max-width:1120px){.scso-project-kpis{grid-template-columns:repeat(2,1fr)}.scso-workspace-grid--overview{grid-template-columns:1fr}.scso-project-fact-grid,.scso-team-member-grid,.scso-team-check-grid,.scso-workspace-doc-grid{grid-template-columns:repeat(2,1fr)}.scso-project-cost-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.scso-modal-dialog--project{width:100vw;height:100vh;max-height:100vh;border-radius:0}.scso-project-workspace{padding:17px}.scso-project-workspace-head{padding-right:42px}.scso-project-ident h2{font-size:19px}.scso-project-client-avatar{width:48px;height:48px;flex-basis:48px}.scso-project-head-status{display:none}.scso-project-kpis,.scso-project-fact-grid,.scso-payment-summary,.scso-team-member-grid,.scso-team-check-grid,.scso-workspace-doc-grid,.scso-project-cost-summary{grid-template-columns:1fr}.scso-workspace-tabs{margin-left:-3px;margin-right:-3px}.scso-workspace-card{padding:14px}.scso-project-edit-form .scso-three,.scso-project-edit-form .scso-two{grid-template-columns:1fr}.scso-project-timeline>article>div>div{display:block}.scso-project-timeline time{display:block;margin-top:3px}.scso-workspace-task-list>article{grid-template-columns:1fr}.scso-workspace-task-list .scso-status{width:max-content}}

/* ===== v0.6.0 PROJECT CREATE FORM REFINEMENT ===== */
.scso-project-create-card{padding:0!important;overflow:hidden}.scso-project-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:24px 26px 20px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border-bottom:1px solid #e7edf5}.scso-project-create-head h3{font-size:21px;margin:5px 0 7px}.scso-project-create-head p{margin:0;max-width:760px;color:#6d7d98;font-size:11px;line-height:1.65}.scso-project-create-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#edf5ff;color:#246bce;font-size:8px;font-weight:900;letter-spacing:.8px;white-space:nowrap}.scso-project-create-badge .dashicons{font-size:14px;width:14px;height:14px}.scso-project-create-form{padding:22px 26px 26px;gap:15px}.scso-project-form-section{padding:18px;border:1px solid #e7edf5;border-radius:15px;background:#fbfcfe;display:grid;gap:13px}.scso-project-form-section--notes{background:#fff}.scso-project-form-section-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #ebf0f5}.scso-project-form-section-head>span{width:29px;height:29px;border-radius:9px;background:linear-gradient(135deg,#0b2d65,#2776ff);color:#fff;display:grid;place-items:center;font-size:8px;font-weight:900;box-shadow:0 7px 16px rgba(36,107,254,.16)}.scso-project-form-section-head strong,.scso-project-form-section-head small{display:block}.scso-project-form-section-head strong{font-size:11px;color:#203a5b}.scso-project-form-section-head small{font-size:8px;color:#8b98aa;margin-top:2px}.scso-project-create-form .scso-three,.scso-project-create-form .scso-two{width:100%;min-width:0;align-items:start}.scso-project-create-form .scso-three>label,.scso-project-create-form .scso-two>label{min-width:0}.scso-project-assignment-grid{display:grid;grid-template-columns:minmax(210px,.42fr) minmax(420px,1.58fr);gap:12px;align-items:stretch}.scso-project-priority-box,.scso-project-team-box{border:1px solid #e4eaf2;border-radius:13px;background:#fff;padding:14px;min-width:0}.scso-project-priority-box{display:flex;flex-direction:column;justify-content:space-between;gap:12px}.scso-project-priority-box p{margin:0;padding:10px;border-radius:9px;background:#f6f9fd;color:#77869b;font-size:8px;line-height:1.55}.scso-project-priority-box p .dashicons{font-size:13px;width:13px;height:13px;color:#3d7bd3;vertical-align:-2px;margin-right:4px}.scso-project-team-box-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.scso-project-team-box-head label{display:block!important;font-size:11px!important}.scso-project-team-box-head small{font-size:8px;color:#8a98ab}.scso-project-team-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:170px;overflow:auto;padding-right:3px}.scso-project-team-option{display:grid!important;grid-template-columns:17px 29px 1fr!important;align-items:center;gap:8px!important;padding:9px!important;border:1px solid #e8edf4;border-radius:10px;background:#fbfcfe;cursor:pointer;min-width:0}.scso-project-team-option:hover{border-color:#b9d2f7;background:#f6faff}.scso-project-team-option input{width:15px!important;height:15px!important;margin:0}.scso-project-team-option>span:last-child{min-width:0}.scso-project-team-option strong,.scso-project-team-option small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scso-project-team-option strong{font-size:9px;color:#2b405f}.scso-project-team-option small{font-size:7px;color:#91a0b3;margin-top:2px}.scso-team-mini-avatar{width:29px;height:29px;border-radius:9px;background:linear-gradient(135deg,#0b2d65,#2776ff);color:#fff;display:grid;place-items:center;font-size:8px;font-weight:900}.scso-project-team-empty{grid-column:1/-1;padding:20px;border:1px dashed #d6deea;border-radius:10px;text-align:center;font-size:9px;color:#8795a8}.scso-project-create-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.scso-project-create-actions small{font-size:8px;color:#8190a5}.scso-project-create-actions .scso-btn{margin:0!important}

/* ===== v0.6.0 QUOTATION / PROPOSAL ===== */
.scso-btn-secondary,.scso-btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:10px 13px;font-size:9px;font-weight:850;text-decoration:none;cursor:pointer}.scso-btn-secondary{border:1px solid #d8e3f1;background:#f5f9ff;color:#245fba}.scso-btn-outline{border:1px solid #d9e2ee;background:#fff;color:#294b78}.scso-btn-secondary .dashicons,.scso-btn-outline .dashicons{font-size:14px;width:14px;height:14px}.scso-quotation-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:14px;align-items:start}.scso-quotation-sidebar{padding:15px}.scso-quotation-list{display:grid;gap:6px}.scso-quotation-list>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 9px;padding:10px;border:1px solid #e7edf4;border-radius:11px;background:#fbfcfe;text-decoration:none;color:#2b425f;transition:.2s}.scso-quotation-list>a:hover,.scso-quotation-list>a.active{border-color:#a9c9f5;background:#f4f8ff;box-shadow:0 5px 15px rgba(31,86,161,.06)}.scso-quotation-list>a>span{min-width:0}.scso-quotation-list b,.scso-quotation-list small{display:block}.scso-quotation-list b{font-size:8px;color:#2a4262;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scso-quotation-list small{font-size:6.5px;color:#91a0b3;margin-top:2px}.scso-quotation-list>a>strong{grid-column:1/-1;font-size:10px;color:#173d70}.scso-quotation-new-form{margin-top:12px;padding-top:12px;border-top:1px solid #e8edf4}.scso-quotation-main{min-width:0}.scso-quotation-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f6faff)}.scso-quotation-hero h3{font-size:16px;margin:5px 0}.scso-quotation-hero p{font-size:8px;color:#8291a6;margin:0}.scso-quotation-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.scso-quote-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 8px;font-size:7px;font-style:normal;font-weight:900;white-space:nowrap}.scso-quote-status--draft{background:#edf1f6;color:#67788f}.scso-quote-status--sent{background:#e9f3ff;color:#2568c6}.scso-quote-status--approved{background:#e7f8ef;color:#23784d}.scso-quote-status--rejected{background:#fff0f1;color:#c64855}.scso-quote-status--expired{background:#fff7e6;color:#a26d12}.scso-quotation-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}.scso-quotation-metrics article{padding:13px;border:1px solid #e5ebf3;border-radius:12px;background:#fff}.scso-quotation-metrics span,.scso-quotation-metrics strong{display:block}.scso-quotation-metrics span{font-size:6.5px;text-transform:uppercase;letter-spacing:.6px;color:#8795a9}.scso-quotation-metrics strong{font-size:13px;color:#234364;margin-top:5px}.scso-quotation-metrics article.is-total{background:linear-gradient(135deg,#0b2b61,#246bfe);border-color:transparent}.scso-quotation-metrics article.is-total span{color:#a9d6ff}.scso-quotation-metrics article.is-total strong{color:#fff}.scso-quotation-table{min-width:720px}.scso-quotation-table th:nth-last-child(1),.scso-quotation-table td:nth-last-child(1){white-space:nowrap}.scso-quotation-editor{background:#fbfdff}.scso-quote-item-grid{display:grid;grid-template-columns:.75fr 1.65fr .55fr .7fr 1fr;gap:9px;align-items:end}.scso-quote-item-grid>label{min-width:0}.scso-quotation-price-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.scso-quotation-notes-grid textarea{min-height:118px}.scso-quotation-status-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.scso-quotation-status-card>.scso-workspace-card-head{width:100%;margin-bottom:0}.scso-quotation-status-form{display:flex;align-items:end;gap:8px;flex:1;min-width:340px}.scso-quotation-status-form label{display:grid;gap:5px;font-size:8px;font-weight:800;color:#536781;flex:1}.scso-quotation-status-form select{width:100%;border:1px solid #dfe6ef;border-radius:9px;padding:9px 10px;background:#fbfcfe;font-size:9px}.scso-quotation-empty{text-align:center;padding:40px}.scso-quotation-empty>.dashicons{width:56px;height:56px;border-radius:16px;background:#edf5ff;color:#2c74da;display:grid;place-items:center;font-size:27px;margin:0 auto 14px}.scso-quotation-empty h3{font-size:17px;margin:0 0 7px}.scso-quotation-empty>p{max-width:680px;margin:0 auto 18px;color:#78879d;font-size:10px;line-height:1.65}.scso-quotation-first-form{max-width:680px;margin:auto;text-align:left}.scso-workspace-tabs button[data-project-tab="proposal"]{color:#245fae}.scso-workspace-tabs button[data-project-tab="proposal"].active{color:#0f56ad;background:#fff}

@media(max-width:1180px){.scso-project-assignment-grid{grid-template-columns:1fr}.scso-quotation-layout{grid-template-columns:1fr}.scso-quotation-sidebar{order:2}.scso-quotation-main{order:1}.scso-quotation-list{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-quote-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scso-quote-item-grid .is-wide{grid-column:span 2}.scso-quotation-price-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.scso-project-create-head{padding:20px;display:block}.scso-project-create-badge{margin-top:12px}.scso-project-create-form{padding:16px}.scso-project-form-section{padding:14px}.scso-project-create-form .scso-three,.scso-project-create-form .scso-two{grid-template-columns:1fr}.scso-project-team-select-grid{grid-template-columns:1fr}.scso-quotation-list{grid-template-columns:1fr}.scso-quotation-hero{display:block}.scso-quotation-hero-actions{justify-content:flex-start;margin-top:10px}.scso-quotation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-quote-item-grid,.scso-quotation-price-settings{grid-template-columns:1fr}.scso-quote-item-grid .is-wide{grid-column:auto}.scso-quotation-notes-grid{grid-template-columns:1fr!important}.scso-quotation-status-form{min-width:100%;display:grid;grid-template-columns:1fr}.scso-quotation-status-card{align-items:stretch}}

/* ===== v0.7.0 REVISION & DESIGN APPROVAL ===== */
.scso-workspace-tabs button[data-project-tab="design"]{color:#245fae}.scso-workspace-tabs button[data-project-tab="design"].active{color:#0f56ad;background:#fff}
.scso-design-flow{border:1px solid #e3eaf3;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f5f9ff 100%);padding:20px;margin-bottom:12px;overflow:hidden;position:relative}.scso-design-flow:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-80px;top:-100px;background:rgba(41,116,255,.08);filter:blur(28px);pointer-events:none}.scso-design-flow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:relative;z-index:1}.scso-design-flow-head>div>span{font-size:7px;letter-spacing:1.3px;color:#2a70d7;font-weight:900}.scso-design-flow-head h3{font-size:18px;margin:5px 0;color:#183657}.scso-design-flow-head p{font-size:9px;color:#73849c;line-height:1.6;margin:0;max-width:680px}.scso-design-approved-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;background:#e9f8ef;color:#238052;font-size:8px;font-weight:900;white-space:nowrap}.scso-design-approved-badge .dashicons{font-size:14px;width:14px;height:14px}
.scso-design-steps{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;align-items:center;gap:8px;margin-top:19px;position:relative;z-index:1}.scso-design-steps>span{height:2px;background:#dfe7f1;border-radius:99px}.scso-design-steps article{display:flex;align-items:center;gap:8px;min-width:0}.scso-design-steps article>i{width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#edf2f8;color:#788ba5;display:grid;place-items:center;font-style:normal;font-size:8px;font-weight:900}.scso-design-steps article>div{min-width:0}.scso-design-steps strong,.scso-design-steps small{display:block;white-space:nowrap}.scso-design-steps strong{font-size:8px;color:#435874}.scso-design-steps small{font-size:6.5px;color:#97a4b5;margin-top:2px}.scso-design-steps article.is-active>i{background:linear-gradient(135deg,#145cc6,#2d7bff);color:#fff;box-shadow:0 8px 18px rgba(42,112,215,.18)}.scso-design-steps article.is-active strong{color:#1f5fae}.scso-design-steps article.is-done>i{background:#e5f8ee;color:#208254}.scso-design-steps article.is-done strong{color:#28714f}
.scso-design-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.scso-design-kpis article{border:1px solid #e5ebf3;border-radius:13px;background:#fff;padding:13px;min-width:0}.scso-design-kpis span,.scso-design-kpis strong,.scso-design-kpis small{display:block}.scso-design-kpis span{font-size:6.5px;letter-spacing:.7px;text-transform:uppercase;color:#8392a8;font-weight:850}.scso-design-kpis strong{font-size:17px;color:#1d426f;margin:5px 0 3px}.scso-design-kpis small{font-size:7px;color:#96a3b5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scso-design-kpis article.is-approved{background:linear-gradient(135deg,#0d3d63,#168b72);border-color:transparent}.scso-design-kpis article.is-approved span,.scso-design-kpis article.is-approved small{color:rgba(255,255,255,.72)}.scso-design-kpis article.is-approved strong{color:#fff}
.scso-design-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:12px;align-items:start}.scso-design-library,.scso-design-upload-card{min-width:0}.scso-design-upload-card{position:sticky;top:14px}.scso-design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.scso-design-card{border:1px solid #e2e9f2;border-radius:14px;background:#fff;overflow:hidden;min-width:0;box-shadow:0 7px 22px rgba(18,47,85,.03)}.scso-design-card--approved{border-color:#bce5d1;box-shadow:0 9px 25px rgba(35,128,82,.07)}.scso-design-card--revision_requested{border-color:#f0cbd0}.scso-design-preview{position:relative;height:180px;background:linear-gradient(135deg,#edf3fa,#f8fbff);overflow:hidden}.scso-design-preview>a{display:block;width:100%;height:100%;text-decoration:none}.scso-design-preview img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.scso-design-card:hover .scso-design-preview img{transform:scale(1.025)}.scso-design-file{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#527197}.scso-design-file .dashicons{font-size:35px;width:35px;height:35px}.scso-design-file b{font-size:9px}.scso-design-preview>em{position:absolute;left:10px;top:10px;padding:5px 7px;border-radius:7px;background:rgba(9,32,67,.84);backdrop-filter:blur(8px);color:#fff;font-size:7px;font-style:normal;font-weight:900;letter-spacing:.8px}.scso-design-card-body{padding:13px}.scso-design-card-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.scso-design-card-title>div{min-width:0}.scso-design-card-title strong,.scso-design-card-title small{display:block}.scso-design-card-title strong{font-size:11px;color:#1f3858;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scso-design-card-title small{font-size:7px;color:#95a2b4;margin-top:3px}.scso-design-card-body>p{font-size:8.5px;color:#64758d;line-height:1.6;margin:9px 0}.scso-design-status{display:inline-flex;padding:5px 7px;border-radius:999px;font-size:6.5px;font-weight:900;white-space:nowrap;background:#edf1f6;color:#71829a}.scso-design-status--internal_review{background:#eef4ff;color:#326bc1}.scso-design-status--client_review{background:#fff5df;color:#9a6a13}.scso-design-status--revision_requested{background:#fff0f2;color:#b84a58}.scso-design-status--approved{background:#e8f8ef;color:#257a50}.scso-design-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.scso-design-meta span{padding:4px 6px;border-radius:6px;background:#f4f7fa;color:#7d8da2;font-size:6.5px}.scso-design-decision-note{margin-top:9px;padding:9px;border-radius:9px;background:#f7fafc;border-left:3px solid #5d8fd4}.scso-design-decision-note b{font-size:7px;text-transform:uppercase;letter-spacing:.6px;color:#486788}.scso-design-decision-note p{font-size:8px;line-height:1.55;margin:4px 0;color:#65758b}.scso-design-decision-note small{font-size:6.5px;color:#97a4b5}.scso-design-decision-form{margin-top:11px;padding-top:10px;border-top:1px solid #edf1f5;display:grid;gap:8px}.scso-design-decision-form label{display:grid;gap:4px;font-size:7px;font-weight:850;color:#5f718a}.scso-design-decision-form select,.scso-design-decision-form textarea{width:100%;border:1px solid #dfe7f0;border-radius:8px;background:#fbfcfe;padding:8px;font-size:8px;box-shadow:none}.scso-inline-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:7px!important;cursor:pointer}.scso-inline-check input{width:15px!important;height:15px!important;margin:0}.scso-inline-check span{font-size:8px;color:#61738c;font-weight:750}
.scso-revision-list--approval article{align-items:flex-start}.scso-revision-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.scso-revision-head em{font-style:normal;font-size:7px;padding:4px 6px;border-radius:6px;background:#edf4ff;color:#2d6ac0}.scso-revision-status-form{display:flex;align-items:center;gap:6px;margin-top:8px}.scso-revision-status-form select{height:30px;border:1px solid #dce5ee;border-radius:8px;background:#fff;padding:0 8px;font-size:8px;color:#43566f}.scso-revision-status-form .scso-action-btn{margin:0}
@media(max-width:1180px){.scso-design-layout{grid-template-columns:1fr}.scso-design-upload-card{position:static}.scso-design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-design-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.scso-design-steps>span{display:none}.scso-design-steps article{padding:8px;border:1px solid #e7edf4;border-radius:10px;background:#fff}.scso-design-steps strong,.scso-design-steps small{white-space:normal}}
@media(max-width:800px){.scso-design-flow-head{display:block}.scso-design-approved-badge{margin-top:10px}.scso-design-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-design-grid{grid-template-columns:1fr}.scso-design-preview{height:210px}.scso-design-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.scso-design-kpis,.scso-design-steps{grid-template-columns:1fr}.scso-design-card-title{display:block}.scso-design-status{margin-top:7px}.scso-revision-head{display:block}.scso-revision-head em{display:inline-flex;margin-top:5px}.scso-revision-status-form{align-items:stretch;flex-direction:column}}


/* v0.8.0 — Invoice & Payment + Printing Production */
.scso-btn-midtrans{background:linear-gradient(135deg,#12275f,#1676dc)!important;color:#fff!important;border-color:transparent!important}.scso-btn-midtrans .dashicons{color:#fff!important}
.scso-invoice-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;align-items:start}.scso-invoice-sidebar{position:sticky;top:14px}.scso-invoice-list{display:grid;gap:7px}.scso-invoice-list>a{display:grid;gap:6px;padding:11px;border:1px solid #e5ebf3;border-radius:12px;background:#fbfcfe;color:#28405f;text-decoration:none}.scso-invoice-list>a.active{border-color:#7eacee;background:#f0f6ff;box-shadow:0 7px 22px rgba(36,105,205,.09)}.scso-invoice-list a span,.scso-invoice-list a b,.scso-invoice-list a small,.scso-invoice-list a strong{display:block}.scso-invoice-list a b{font-size:9px}.scso-invoice-list a small{font-size:7px;color:#8391a4;margin-top:2px}.scso-invoice-list a>strong{font-size:10px}.scso-invoice-status{width:max-content;padding:4px 7px;border-radius:999px;font-size:6px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.3px}.scso-invoice-status--draft{background:#f0f3f7;color:#6f7d90}.scso-invoice-status--sent{background:#eaf3ff;color:#2867c0}.scso-invoice-status--partial{background:#fff4d8;color:#9a6a00}.scso-invoice-status--paid{background:#e7f8ee;color:#168653}.scso-invoice-status--overdue{background:#fff0f1;color:#c84454}.scso-invoice-status--cancelled{background:#eef0f4;color:#6f7580}.scso-invoice-create{margin-top:10px}.scso-invoice-main{min-width:0}.scso-invoice-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#0f224e,#173b78);color:#fff;border:none}.scso-invoice-hero>div>span{font-size:7px;letter-spacing:1px;color:#8ec5ff}.scso-invoice-hero h3{font-size:16px;margin:4px 0;color:#fff}.scso-invoice-hero p{font-size:8px;color:#c7d6ed}.scso-invoice-total{text-align:right}.scso-invoice-total small,.scso-invoice-total span{display:block;color:#a8bfdf;font-size:7px}.scso-invoice-total strong{display:block;color:#fff;font-size:20px;margin:3px 0}.scso-invoice-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.scso-invoice-kpis article{padding:11px;border:1px solid #e5ebf3;border-radius:11px;background:#fff}.scso-invoice-kpis span{display:block;font-size:6px;color:#8290a3;text-transform:uppercase;font-weight:800}.scso-invoice-kpis strong{display:block;font-size:10px;margin-top:4px;color:#213d60}.scso-invoice-summary{width:min(360px,100%);margin:14px 0 0 auto;display:grid;gap:5px}.scso-invoice-summary span{display:flex;justify-content:space-between;font-size:8px;color:#6f7f94;padding:5px 0}.scso-invoice-summary strong{color:#243f61}.scso-invoice-summary .total{border-top:1px solid #dce4ee;padding-top:9px;font-weight:900;color:#17385f}.scso-payment-ledger{display:grid;gap:7px}.scso-payment-ledger article{display:grid;grid-template-columns:9px 1fr auto;gap:9px;align-items:start;padding:10px;border:1px solid #e8edf4;border-radius:10px;background:#fbfcfe}.scso-payment-dot{width:8px;height:8px;border-radius:50%;background:#9aa7b8;margin-top:3px}.scso-payment-dot--paid,.scso-payment-dot--settlement{background:#25a368}.scso-payment-ledger strong{display:block;font-size:9px}.scso-payment-ledger small{font-size:7px;color:#8290a3}.scso-payment-ledger p{font-size:7px;margin:2px 0;color:#718198}.scso-payment-ledger em{font-size:6px;font-style:normal;font-weight:900;color:#60738d}
.scso-production-flow{border:1px solid #dfe8f3;border-radius:16px;background:linear-gradient(180deg,#fff,#f7fbff);padding:14px}.scso-production-flow-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.scso-production-flow-head span{font-size:7px;color:#3476c9;letter-spacing:1px;font-weight:900}.scso-production-flow-head h3{font-size:13px;margin:3px 0}.scso-production-flow-head p{font-size:8px;color:#75869b;max-width:650px}.scso-production-progress-badge{padding:7px 10px;border-radius:999px;background:#e7f8ee;color:#168653!important;white-space:nowrap}.scso-production-steps{display:flex;align-items:center;margin-top:14px;overflow:auto;padding-bottom:3px}.scso-production-steps>article{min-width:116px;display:flex;gap:7px;align-items:center}.scso-production-steps>span{height:1px;background:#d9e3ee;min-width:18px;flex:1}.scso-production-steps article>i{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#edf2f7;color:#71839b;font-size:7px;font-style:normal;font-weight:900;flex:0 0 auto}.scso-production-steps strong,.scso-production-steps small{display:block}.scso-production-steps strong{font-size:7px}.scso-production-steps small{font-size:6px;color:#8795a8}.scso-production-steps .is-done>i{background:#e5f7ed;color:#17864f}.scso-production-steps .is-in_progress>i{background:#e8f1ff;color:#2867c0}.scso-production-steps .is-blocked>i{background:#fff0f1;color:#c84454}.scso-production-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.scso-production-kpis article{padding:11px;border:1px solid #e5ebf3;border-radius:11px;background:#fff}.scso-production-kpis span,.scso-production-kpis small{display:block;font-size:6px;color:#8290a3}.scso-production-kpis strong{display:block;font-size:9px;margin:4px 0;color:#213d60}.scso-production-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.7fr);gap:10px;margin-top:10px}.scso-production-board{display:grid;gap:8px}.scso-production-stage{border:1px solid #e4eaf2;border-left:3px solid #cad5e1;border-radius:10px;padding:10px;background:#fbfcfe}.scso-production-stage.is-in_progress{border-left-color:#3578d2}.scso-production-stage.is-done{border-left-color:#26a468;background:#f7fcf9}.scso-production-stage.is-blocked{border-left-color:#cf4c5c;background:#fffafb}.scso-production-stage-head{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center}.scso-production-stage-head>i{width:28px;height:28px;border-radius:8px;background:#edf2f7;display:grid;place-items:center;font-style:normal;font-size:7px;font-weight:900}.scso-production-stage-head strong,.scso-production-stage-head small{display:block}.scso-production-stage-head strong{font-size:8px}.scso-production-stage-head small{font-size:6px;color:#8896a9}.scso-production-stage-head>span{font-size:6px;font-weight:900;text-transform:uppercase;color:#60738d}.scso-production-stage>p{font-size:7px;color:#73839a;line-height:1.5;margin:7px 0}.scso-production-step-form{margin-top:8px;padding-top:8px;border-top:1px dashed #dfe6ef}.scso-production-spec{display:grid;gap:0;margin:0}.scso-production-spec>div{display:grid;grid-template-columns:90px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #edf1f6}.scso-production-spec dt{font-size:6px;color:#8290a3;text-transform:uppercase;font-weight:900}.scso-production-spec dd{margin:0;font-size:8px;color:#263f60;line-height:1.45}
@media(max-width:1050px){.scso-invoice-layout,.scso-production-layout{grid-template-columns:1fr}.scso-invoice-sidebar{position:static}.scso-invoice-kpis,.scso-production-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.scso-invoice-kpis,.scso-production-kpis{grid-template-columns:1fr}.scso-invoice-hero,.scso-production-flow-head{flex-direction:column;align-items:flex-start}.scso-invoice-total{text-align:left}.scso-production-steps>article{min-width:105px}}

.scso-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.scso-btn-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.scso-btn-small{padding:8px 11px!important;font-size:8px!important}.scso-btn-secondary{background:#fff;color:#24466f!important;border:1px solid #dce5ef!important;box-shadow:none!important}.scso-btn-secondary .dashicons{color:#2a6fca!important}@media(max-width:1100px){.scso-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.scso-four{grid-template-columns:1fr}}

/* v0.9.0 — Client Dashboard + Team Dashboard */
.scso-client-app,.scso-team-app{min-height:100vh}.scso-nav .dashicons{width:22px!important;height:22px!important;font-size:16px!important;line-height:22px!important;color:#8ed5ff!important}.scso-nav a em{background:rgba(92,185,255,.16);color:#fff!important;min-width:20px;height:20px;border-radius:999px;display:grid;place-items:center;padding:0 6px;font-size:8px}.scso-side-note a{display:inline-flex;margin-top:10px;color:#7ed2ff!important;font-size:10px;font-weight:800;text-decoration:none}.scso-client-welcome,.scso-team-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 32px;border-radius:24px;background:linear-gradient(135deg,#071b3e,#123d79);color:#fff;box-shadow:0 18px 44px rgba(10,43,91,.16)}.scso-client-welcome h2,.scso-team-welcome h2{max-width:760px;margin:10px 0 8px;font-size:26px;line-height:1.18;letter-spacing:-.6px;color:#fff}.scso-client-welcome p,.scso-team-welcome p{max-width:760px;margin:0;color:#b8c9e1;font-size:12px;line-height:1.7}.scso-client-welcome .scso-btn,.scso-team-welcome .scso-btn{flex:0 0 auto}.scso-client-kpis,.scso-team-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.scso-team-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.scso-client-kpis article,.scso-team-kpis article{min-width:0;display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e2e9f2;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(20,48,88,.04)}.scso-client-kpis article>.dashicons,.scso-team-kpis article>.dashicons{width:40px;height:40px;border-radius:12px;background:#eef5ff;color:#2874df;display:grid;place-items:center;font-size:18px;line-height:40px}.scso-client-kpis small,.scso-client-kpis strong,.scso-client-kpis em,.scso-team-kpis small,.scso-team-kpis strong,.scso-team-kpis em{display:block}.scso-client-kpis small,.scso-team-kpis small{font-size:9px;color:#7889a0;font-weight:750}.scso-client-kpis strong,.scso-team-kpis strong{font-size:19px;line-height:1.1;margin:4px 0;color:#10284c}.scso-client-kpis em,.scso-team-kpis em{font-style:normal;font-size:8px;color:#8997aa}.scso-client-overview-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:16px}.scso-client-project-list,.scso-team-project-list{display:grid;gap:10px}.scso-client-project-grid,.scso-team-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scso-client-project-card,.scso-team-project-card{background:#fff;border:1px solid #e4eaf2;border-radius:17px;padding:16px;box-shadow:0 8px 24px rgba(21,51,91,.04);min-width:0}.scso-client-project-card header,.scso-team-project-card .scso-project-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.scso-client-project-card header>div>span,.scso-team-project-card .scso-project-card-head>div>span{display:block;font-size:7px;letter-spacing:.9px;color:#5c7ca5;font-weight:900}.scso-client-project-card h3,.scso-team-project-card h3{font-size:13px;margin:4px 0;color:#173657}.scso-client-project-card header small{font-size:8px;color:#8190a3}.scso-client-project-progress-head{display:flex;justify-content:space-between;font-size:8px;color:#708198;margin:14px 0 5px}.scso-client-project-progress-head strong{color:#214c82}.scso-team-progress-label{display:block;margin:5px 0 10px;color:#74869e;font-size:7px}.scso-client-project-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.scso-client-project-facts span{background:#f7f9fc;border-radius:10px;padding:10px}.scso-client-project-facts small,.scso-client-project-facts strong{display:block}.scso-client-project-facts small{font-size:7px;color:#8594a7}.scso-client-project-facts strong{font-size:9px;color:#213e61;margin-top:3px}.scso-client-project-brief{margin-top:12px;padding:12px;border-left:3px solid #4a8ee7;background:#f6f9fd;border-radius:0 10px 10px 0}.scso-client-project-brief b{font-size:8px}.scso-client-project-brief p{font-size:8px;line-height:1.6;color:#5d6f87;margin:5px 0 0}.scso-client-production{margin-top:13px;padding-top:12px;border-top:1px solid #edf1f5}.scso-client-production>b{font-size:8px}.scso-client-production>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.scso-client-production span{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:999px;background:#f0f3f7;color:#77869a;font-size:7px}.scso-client-production span.active{background:#eaf3ff;color:#2869bf}.scso-client-production span.done{background:#e8f8ef;color:#19804f}.scso-client-production span i{font-style:normal}.scso-client-activity-list{display:grid;gap:0;max-height:430px;overflow:auto}.scso-client-activity-list article{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:11px 0;border-bottom:1px solid #edf1f5}.scso-client-activity-list article>.dashicons{width:30px;height:30px;border-radius:9px;background:#eef5ff;color:#2c74d1;display:grid;place-items:center;font-size:14px}.scso-client-activity-list strong{display:block;font-size:9px}.scso-client-activity-list p{font-size:8px;color:#64758d;margin:3px 0}.scso-client-activity-list small{font-size:7px;color:#95a1b2}.scso-client-request-card{max-width:980px}.scso-client-document-grid,.scso-client-invoice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scso-client-proposal-card,.scso-client-invoice-card{background:#fff;border:1px solid #e2e9f1;border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(23,51,91,.045);min-width:0}.scso-client-proposal-card header,.scso-client-invoice-card header,.scso-client-design-body header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.scso-client-proposal-card header span:first-child,.scso-client-invoice-card header span:first-child,.scso-client-design-body header>div>span{font-size:7px;color:#5b7ba2;letter-spacing:.8px;font-weight:900}.scso-client-proposal-card h3,.scso-client-invoice-card h3,.scso-client-design-body h3{font-size:13px;margin:4px 0;color:#153756}.scso-client-proposal-card header small,.scso-client-invoice-card header small,.scso-client-design-body header small{font-size:7px;color:#8794a5}.scso-client-proposal-total{margin:15px 0;padding:14px;border-radius:13px;background:linear-gradient(135deg,#0c285d,#236bd4);color:#fff}.scso-client-proposal-total small,.scso-client-proposal-total strong,.scso-client-proposal-total span{display:block}.scso-client-proposal-total small{font-size:7px;color:#abc9ef}.scso-client-proposal-total strong{font-size:21px;margin:3px 0}.scso-client-proposal-total span{font-size:7px;color:#c5d8f1}.scso-client-line-items{display:grid;gap:0;border-top:1px solid #edf1f5}.scso-client-line-items>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}.scso-client-line-items strong,.scso-client-line-items small{display:block}.scso-client-line-items strong{font-size:8px}.scso-client-line-items small{font-size:7px;color:#8c98a8;margin-top:2px}.scso-client-line-items>div>span,.scso-client-line-items>div>b{font-size:8px}.scso-client-proposal-card details{margin-top:12px;font-size:8px;color:#61738a}.scso-client-proposal-card details summary{font-weight:800;cursor:pointer}.scso-client-decision-form{display:grid;gap:8px;margin-top:13px;padding-top:12px;border-top:1px dashed #dce4ed}.scso-client-decision-form textarea{width:100%;border:1px solid #dde6ef;border-radius:10px;padding:10px;font:inherit;font-size:9px}.scso-client-decision-form>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.scso-client-design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scso-client-design-card{background:#fff;border:1px solid #e2e9f1;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(23,51,91,.045)}.scso-client-design-preview{height:260px;background:#eef3f9;position:relative;display:grid;place-items:center}.scso-client-design-preview img{width:100%;height:100%;object-fit:cover;display:block}.scso-client-design-preview>a{width:100%;height:100%;display:grid;place-items:center;text-decoration:none}.scso-client-design-preview>em{position:absolute;left:12px;top:12px;background:#0a2a60;color:#fff;border-radius:8px;padding:6px 8px;font-style:normal;font-size:8px;font-weight:900}.scso-client-design-body{padding:16px}.scso-client-design-body>p{font-size:8px;color:#62748b;line-height:1.6}.scso-client-feedback{padding:10px;border-radius:10px;background:#f7f9fc;margin:10px 0}.scso-client-feedback b{font-size:8px}.scso-client-feedback p{font-size:8px;margin:4px 0 0;color:#64758c}.scso-client-file{font-size:8px;color:#64758c;display:grid;gap:5px}.scso-client-file input{font-size:8px}.scso-client-revision-mini{display:grid;gap:5px;margin-top:11px;border-top:1px solid #edf1f5;padding-top:10px}.scso-client-revision-mini b{font-size:8px}.scso-client-revision-mini span{font-size:7px;color:#66788f}.scso-client-invoice-money{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.scso-client-invoice-money span{padding:11px;border-radius:10px;background:#f6f8fb}.scso-client-invoice-money small,.scso-client-invoice-money strong{display:block}.scso-client-invoice-money small{font-size:7px;color:#8492a4}.scso-client-invoice-money strong{font-size:10px;margin-top:4px;color:#1b3e65}.scso-client-pay{width:100%;margin-top:4px}.scso-payment-history{margin-top:11px;border-top:1px solid #edf1f5;padding-top:10px}.scso-payment-history summary{font-size:8px;font-weight:800;cursor:pointer}.scso-payment-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:8px 0;border-bottom:1px solid #f0f3f6;font-size:7px}.scso-payment-history>div small{grid-column:1/-1;color:#8996a6}.scso-client-files{display:grid;gap:8px}.scso-client-files>a{display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;padding:13px 15px;background:#fff;border:1px solid #e2e9f1;border-radius:13px;text-decoration:none;color:#1d3d62}.scso-client-files>a>.dashicons{width:38px;height:38px;border-radius:10px;background:#edf5ff;color:#2a74d2;display:grid;place-items:center}.scso-client-files strong,.scso-client-files small{display:block}.scso-client-files strong{font-size:9px}.scso-client-files small,.scso-client-files em{font-size:7px;color:#8391a4;font-style:normal}.scso-client-profile-form{max-width:900px}.scso-client-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}.scso-client-profile-head strong,.scso-client-profile-head small{display:block}.scso-client-profile-head strong{font-size:11px}.scso-client-profile-head small{font-size:7px;color:#8996a8}.scso-client-portal-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px;margin:15px 0;border:1px solid #dfe8f2;border-radius:14px;background:linear-gradient(135deg,#f7fbff,#f1f6fd)}.scso-client-portal-card h3{font-size:13px;margin:4px 0}.scso-client-portal-card p{font-size:8px;color:#6e7f95;margin:0}.scso-client-portal-form{display:grid;grid-template-columns:110px 170px 160px auto;gap:7px;align-items:center}.scso-client-portal-form input{min-width:0;border:1px solid #dce5ef;border-radius:9px;padding:9px;font-size:8px}.scso-client-portal-ready{display:flex;gap:8px;align-items:center}.scso-client-portal-ready>.dashicons{color:#24a266}.scso-client-portal-ready strong,.scso-client-portal-ready small,.scso-client-portal-ready a{display:block;font-size:8px}.scso-client-portal-ready a{color:#2872cd;text-decoration:none;margin-top:3px}.scso-team-design-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px}.scso-team-design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scso-team-design-grid>article{display:grid;grid-template-columns:92px 1fr;gap:10px;border:1px solid #e5ebf2;border-radius:12px;padding:9px;background:#fbfcfe}.scso-team-design-thumb{height:84px;border-radius:9px;background:#eaf0f6;overflow:hidden;position:relative;display:grid;place-items:center}.scso-team-design-thumb img{width:100%;height:100%;object-fit:cover}.scso-team-design-thumb em{position:absolute;left:6px;top:6px;background:#0c2c62;color:#fff;border-radius:5px;padding:3px 5px;font-style:normal;font-size:6px}.scso-team-design-grid h3{font-size:9px;margin:5px 0 2px}.scso-team-design-grid p{font-size:7px;color:#7a899c;margin:0 0 6px}.scso-team-revision-list{display:grid;gap:8px;max-height:600px;overflow:auto}.scso-team-revision-list article{display:grid;grid-template-columns:35px 1fr;gap:9px;border:1px solid #e7ecf2;border-radius:11px;padding:10px}.scso-team-revision-list article>span{width:35px;height:35px;border-radius:9px;background:#edf4ff;color:#2b6ec5;display:grid;place-items:center;font-size:8px;font-weight:900}.scso-team-revision-list article.is-done{opacity:.65}.scso-team-revision-list strong{font-size:8px}.scso-team-revision-list p{font-size:7px;color:#68798e;line-height:1.45;margin:3px 0}.scso-team-revision-list small{font-size:6px;color:#8b97a7}.scso-team-revision-list form{display:flex;gap:6px;margin-top:7px}.scso-team-revision-list select{height:28px;border:1px solid #dce5ee;border-radius:7px;font-size:7px}.scso-team-production-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.scso-team-production-card{background:#fff;border:1px solid #e2e9f1;border-left:4px solid #cbd6e2;border-radius:15px;padding:15px}.scso-team-production-card--in_progress{border-left-color:#3379d5}.scso-team-production-card--blocked{border-left-color:#cf4b5b}.scso-team-production-card--done{border-left-color:#24a269}.scso-team-production-card header{display:flex;justify-content:space-between;gap:12px}.scso-team-production-card header span:first-child{font-size:7px;color:#6681a3;font-weight:900}.scso-team-production-card h3{font-size:12px;margin:4px 0}.scso-team-production-card header small{font-size:7px;color:#8794a5}.scso-team-production-card>p{font-size:8px;color:#66788e}.scso-team-production-card .scso-form{margin-top:10px}.scso-team-production-card textarea{min-height:70px}.scso-portal-auth-page,.scso-portal-login-page{background:#eef3f9!important}.scso-portal-login-page .sc-header-wrap{display:none!important}.scso-portal-login-page .sc-content{padding:0!important}.scso-portal-login-page .sc-content>.sc-container,.scso-portal-login-page .sc-content>.sc-container>article{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}.scso-portal-login-page .sc-content>.sc-container>article>h1,.scso-portal-login-page .sc-content>.sc-container>article>.sc-eyebrow{display:none!important}.scso-portal-auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);background:linear-gradient(135deg,#061735 0%,#0e3d78 48%,#eef3f9 48%,#eef3f9 100%);padding:60px 7vw;gap:8vw;align-items:center;font-family:Inter,system-ui,sans-serif}.scso-portal-auth-brand{color:#fff;max-width:680px}.scso-portal-auth-orbit{width:56px;height:56px;border:1px solid rgba(104,194,255,.45);border-radius:50%;display:grid;place-items:center;color:#71d0ff;margin-bottom:28px;box-shadow:0 0 44px rgba(57,145,255,.28)}.scso-portal-auth-brand>span{font-size:9px;letter-spacing:2px;color:#7ccfff;font-weight:900}.scso-portal-auth-brand h1{font-size:42px;line-height:1.08;letter-spacing:-1.4px;margin:14px 0;color:#fff}.scso-portal-auth-brand p{max-width:610px;color:#b8cae2;line-height:1.7;font-size:13px}.scso-portal-auth-points{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:24px}.scso-portal-auth-points span{font-size:10px;color:#d7e5f7}.scso-portal-auth-card{background:#fff;border-radius:24px;padding:28px;box-shadow:0 28px 70px rgba(12,38,77,.18);max-width:520px;width:100%}.scso-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f4f8;border-radius:11px;padding:4px;margin-bottom:22px}.scso-auth-tabs button{border:0;background:transparent;border-radius:8px;padding:10px;font-size:10px;font-weight:800;color:#6b7b91;cursor:pointer}.scso-auth-tabs button.active{background:#fff;color:#153a68;box-shadow:0 3px 10px rgba(18,45,79,.08)}.scso-auth-panel{display:none}.scso-auth-panel.active{display:block}.scso-auth-panel h2{font-size:22px;margin:0 0 5px;color:#102d54}.scso-auth-panel>p{font-size:10px;color:#7d8c9e;margin:0 0 20px}.scso-auth-panel .login-username,.scso-auth-panel .login-password,.scso-auth-panel .login-remember{display:grid;gap:6px;font-size:9px;font-weight:800;color:#4e6077}.scso-auth-panel input[type=text],.scso-auth-panel input[type=password]{width:100%;border:1px solid #dce5ee;border-radius:10px;padding:11px;font-size:10px}.scso-auth-panel .login-submit input{width:100%;border:0;border-radius:10px;background:linear-gradient(135deg,#0b2c65,#246bfe);color:#fff;padding:12px;font-size:10px;font-weight:900;cursor:pointer}.scso-auth-forgot{display:block;text-align:center;margin-top:12px;font-size:9px;color:#2d70c5;text-decoration:none}
@media(max-width:1250px){.scso-team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.scso-client-portal-card{align-items:flex-start;flex-direction:column}.scso-client-portal-form{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.scso-team-design-layout{grid-template-columns:1fr}}
@media(max-width:1000px){.scso-client-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-client-overview-grid,.scso-client-document-grid,.scso-client-invoice-grid,.scso-client-design-grid,.scso-team-production-grid{grid-template-columns:1fr}.scso-client-project-grid,.scso-team-project-grid{grid-template-columns:1fr}.scso-portal-auth{grid-template-columns:1fr;background:linear-gradient(180deg,#071a3d 0,#0d376e 43%,#eef3f9 43%,#eef3f9 100%);gap:50px;padding:50px 7vw}.scso-portal-auth-card{max-width:none}.scso-portal-auth-brand h1{font-size:34px}}
@media(max-width:800px){.scso-client-welcome,.scso-team-welcome{align-items:flex-start;flex-direction:column;padding:24px}.scso-client-welcome h2,.scso-team-welcome h2{font-size:22px}.scso-team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-team-design-grid{grid-template-columns:1fr}.scso-client-portal-form{grid-template-columns:1fr}.scso-client-project-facts,.scso-client-invoice-money{grid-template-columns:1fr}.scso-client-design-preview{height:220px}}
@media(max-width:520px){.scso-client-kpis,.scso-team-kpis{grid-template-columns:1fr}.scso-client-line-items>div{grid-template-columns:1fr auto}.scso-client-line-items>div>b{grid-column:2}.scso-client-files>a{grid-template-columns:34px 1fr}.scso-client-files>a>em{grid-column:2}.scso-portal-auth{padding:34px 18px}.scso-portal-auth-brand h1{font-size:29px}.scso-portal-auth-points{grid-template-columns:1fr}.scso-portal-auth-card{padding:20px}}

/* =========================================================
   v0.10.0 — SPACECRAFT PORTAL LOGIN / SIGN UP
========================================================= */
body.scso-portal-auth-page{margin:0!important;background:#edf3f9!important;overflow-x:hidden}
.scso-portal-auth-page .sc-header-wrap,.scso-portal-auth-page .sc-footer{display:none!important}
.scso-portal-auth-page .sc-main,.scso-portal-auth-page .sc-content{padding:0!important;margin:0!important;min-height:100vh!important}
.scso-portal-auth-page .sc-content>.sc-container,.scso-portal-auth-page .sc-content>.sc-container>article,.scso-portal-auth-page .sc-main>.sc-container,.scso-portal-auth-page article{max-width:none!important;width:100%!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.scso-portal-auth-page .sc-content>.sc-container>article>h1,.scso-portal-auth-page .sc-content>.sc-container>article>.sc-eyebrow,.scso-portal-auth-page article>h1,.scso-portal-auth-page article>.sc-eyebrow{display:none!important}
.scso-portal-auth-page .sc-cursor-glow{display:none!important}

.scso-portal-auth{position:relative;min-height:100vh;width:100%;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);gap:clamp(44px,7vw,110px);align-items:center;padding:72px clamp(30px,7vw,110px);background:
radial-gradient(circle at 16% 18%,rgba(44,140,255,.26),transparent 28%),
radial-gradient(circle at 44% 78%,rgba(33,210,222,.12),transparent 24%),
linear-gradient(112deg,#06162f 0%,#09254c 48.5%,#edf3f9 48.6%,#f7faff 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.scso-portal-auth:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle at 20% 30%,rgba(255,255,255,.38) 0 1px,transparent 1.5px),radial-gradient(circle at 36% 18%,rgba(255,255,255,.28) 0 1px,transparent 1.5px),radial-gradient(circle at 28% 68%,rgba(255,255,255,.22) 0 1px,transparent 1.5px);background-size:180px 180px,240px 240px,320px 320px;opacity:.34}
.scso-auth-home{position:absolute;left:clamp(24px,4vw,64px);top:28px;z-index:3;display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.76)!important;text-decoration:none!important;font-size:10px;font-weight:800;letter-spacing:.15px}.scso-auth-home:hover{color:#fff!important}.scso-auth-home .dashicons{font-size:15px;width:15px;height:15px}

.scso-portal-auth-brand{position:relative;z-index:2;max-width:690px;color:#fff}.scso-auth-logo{display:block;width:min(330px,72%);max-height:92px;object-fit:contain;object-position:left center;margin:0 0 36px}.scso-auth-kicker{display:block;color:#72d6ff!important;font-size:9px!important;font-weight:900!important;letter-spacing:2px!important;margin-bottom:14px}.scso-portal-auth-brand h1{margin:0 0 20px!important;max-width:660px;color:#fff!important;font-size:clamp(38px,4.5vw,66px)!important;line-height:1.02!important;letter-spacing:-2.6px!important;font-weight:850!important}.scso-portal-auth-brand>p{max-width:650px;margin:0;color:#bacbe2!important;font-size:13px!important;line-height:1.8!important}
.scso-auth-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:30px}.scso-auth-feature-grid article{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 15px!important;border:1px solid rgba(143,202,255,.14)!important;border-radius:15px!important;background:rgba(255,255,255,.055)!important;backdrop-filter:blur(12px);min-width:0}.scso-auth-feature-grid article>.dashicons{flex:0 0 auto;width:34px;height:34px;border-radius:10px;background:rgba(83,169,255,.14);color:#74d4ff;display:grid;place-items:center;font-size:16px;line-height:34px}.scso-auth-feature-grid strong,.scso-auth-feature-grid small{display:block}.scso-auth-feature-grid strong{font-size:9px;color:#fff}.scso-auth-feature-grid small{font-size:7px;color:#9fb6d3;margin-top:3px;line-height:1.45}
.scso-auth-role-note{display:flex;gap:11px;align-items:flex-start;margin-top:22px;padding:13px 15px;border-left:3px solid #47b9ff;background:rgba(50,132,226,.10);border-radius:0 12px 12px 0}.scso-auth-role-note>.dashicons{color:#6ed4ff;font-size:17px}.scso-auth-role-note p{margin:0!important;color:#aebfda!important;font-size:8px!important;line-height:1.55!important}.scso-auth-role-note strong{color:#eaf5ff}

.scso-portal-auth-card{position:relative;z-index:2;width:100%;max-width:590px;justify-self:end;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.88);border-radius:28px;padding:30px;box-shadow:0 28px 85px rgba(12,40,76,.17),0 4px 16px rgba(12,40,76,.05);backdrop-filter:blur(24px);box-sizing:border-box}.scso-auth-card-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.scso-auth-card-icon{width:42px!important;height:42px!important;border-radius:13px;background:linear-gradient(135deg,#0b2e68,#2277e8);color:#fff;display:grid!important;place-items:center;font-size:18px!important;line-height:42px!important;box-shadow:0 10px 26px rgba(31,103,213,.22)}.scso-auth-card-head small{display:block;color:#6283a9;font-size:7px;font-weight:900;letter-spacing:1.2px}.scso-auth-card-head h2{margin:3px 0 0!important;color:#102f57!important;font-size:22px!important;letter-spacing:-.5px!important;line-height:1.1!important}
.scso-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 21px;background:#eef3f8;border-radius:12px}.scso-auth-tabs a{display:flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:9px;color:#728198!important;text-decoration:none!important;font-size:9px;font-weight:850}.scso-auth-tabs a.active{background:#fff;color:#163c69!important;box-shadow:0 4px 12px rgba(22,55,91,.08)}
.scso-auth-notice{display:flex;align-items:flex-start;gap:8px;margin:-4px 0 16px;padding:11px 12px;border-radius:10px;font-size:8px;line-height:1.5}.scso-auth-notice--error{background:#fff0f1;color:#ad3044;border:1px solid #f8d8dc}.scso-auth-notice .dashicons{font-size:15px;width:15px;height:15px;flex:0 0 auto}
.scso-auth-form{display:grid;gap:12px}.scso-auth-form>label,.scso-auth-two>label{display:grid;gap:6px;color:#405873;font-size:8px;font-weight:850}.scso-auth-form>label>span,.scso-auth-two>label>span{display:block}.scso-auth-form em{font-style:normal;color:#91a0b2;font-weight:650}.scso-auth-input{position:relative;display:flex;align-items:center;min-height:43px;border:1px solid #dae4ee;border-radius:11px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.scso-auth-input:focus-within{border-color:#4e91ea;box-shadow:0 0 0 4px rgba(55,126,220,.09)}.scso-auth-input>i{position:absolute;left:12px;color:#7d91a8;font-size:15px;width:15px;height:15px;line-height:15px}.scso-auth-input input{width:100%!important;min-width:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:11px 38px 11px 37px!important;color:#183553!important;font:inherit!important;font-size:9px!important;line-height:1.4!important}.scso-auth-input input::placeholder{color:#a3afbc}.scso-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#74879c;display:grid;place-items:center;cursor:pointer}.scso-password-toggle:hover{background:#eef4fa;color:#256fc7}.scso-password-toggle .dashicons{font-size:15px;width:15px;height:15px}
.scso-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-1px}.scso-auth-row>a,.scso-auth-terms a{color:#2873cc!important;text-decoration:none!important;font-size:8px;font-weight:800}.scso-auth-check{display:flex!important;align-items:flex-start!important;gap:7px!important;color:#687b91!important;font-size:8px!important;font-weight:700!important;line-height:1.45!important}.scso-auth-check input{width:14px!important;height:14px!important;margin:0!important;accent-color:#246fd1;flex:0 0 auto}.scso-auth-submit,.scso-auth-secondary{width:100%;min-height:44px;border:0;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:9px;font-weight:900;text-decoration:none!important;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.scso-auth-submit{margin-top:2px;background:linear-gradient(135deg,#092d68,#2377e9);color:#fff!important;box-shadow:0 12px 28px rgba(28,99,199,.20)}.scso-auth-submit:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(28,99,199,.28)}.scso-auth-submit .dashicons,.scso-auth-secondary .dashicons{font-size:15px;width:15px;height:15px}.scso-auth-secondary{border:1px solid #d9e3ed;background:#fff;color:#234d79!important}.scso-auth-secondary:hover{background:#f7faff}.scso-auth-separator{position:relative;text-align:center;margin:15px 0}.scso-auth-separator:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#e6ebf1}.scso-auth-separator span{position:relative;background:#fff;padding:0 10px;color:#9aa7b5;font-size:7px}.scso-auth-help{margin:12px 0 0!important;color:#8593a3!important;font-size:7px!important;line-height:1.55!important;text-align:center}
.scso-auth-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scso-account-type{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:2px}.scso-account-type label{cursor:pointer}.scso-account-type input{position:absolute;opacity:0;pointer-events:none}.scso-account-type label>span{display:grid;grid-template-columns:30px 1fr;column-gap:9px;align-items:center;padding:11px;border:1px solid #dce5ee;border-radius:11px;background:#fff;transition:.2s ease}.scso-account-type label>span>i{grid-row:1/3;width:30px;height:30px;border-radius:9px;background:#eef4fb;color:#3475c5;display:grid;place-items:center;font-size:15px}.scso-account-type strong,.scso-account-type small{display:block}.scso-account-type strong{font-size:8px;color:#294866}.scso-account-type small{font-size:6px;color:#8998aa;margin-top:1px}.scso-account-type input:checked+span{border-color:#4c8dde;background:#f3f8ff;box-shadow:0 0 0 3px rgba(66,133,222,.08)}.scso-account-type input:checked+span>i{background:linear-gradient(135deg,#0d3a77,#2b80e8);color:#fff}.scso-auth-terms{margin:2px 0 0}
.scso-auth-card-footer{display:flex;justify-content:center;gap:7px;margin:20px -30px -30px;padding:15px 20px;border-top:1px solid #e7edf3;background:#f8fafc;border-radius:0 0 28px 28px;color:#8795a5;font-size:7px}.scso-auth-card-footer a{color:#2f76c9!important;font-weight:850;text-decoration:none!important}

@media(max-width:1120px){.scso-portal-auth{grid-template-columns:1fr;gap:42px;padding:84px 7vw 52px;background:linear-gradient(180deg,#06182f 0,#0b315f 42%,#edf3f9 42.1%,#f8fbff 100%)}.scso-portal-auth-brand{max-width:820px}.scso-portal-auth-brand h1{font-size:48px!important;max-width:760px}.scso-auth-logo{width:300px;margin-bottom:28px}.scso-portal-auth-card{max-width:760px;justify-self:stretch}.scso-auth-home{top:24px}.scso-auth-feature-grid{max-width:700px}}
@media(max-width:680px){.scso-portal-auth{padding:72px 16px 24px;gap:34px;background:linear-gradient(180deg,#06182f 0,#0c315f 34%,#edf3f9 34.1%,#f8fbff 100%)}.scso-auth-home{left:18px;top:20px}.scso-auth-home span:last-child{display:none}.scso-auth-logo{width:230px;margin-bottom:23px}.scso-portal-auth-brand h1{font-size:34px!important;letter-spacing:-1.3px!important}.scso-portal-auth-brand>p{font-size:10px!important}.scso-auth-feature-grid{grid-template-columns:1fr 1fr;gap:7px}.scso-auth-feature-grid article{padding:10px!important}.scso-auth-role-note{display:none}.scso-portal-auth-card{padding:20px;border-radius:20px}.scso-auth-two{grid-template-columns:1fr}.scso-account-type{grid-template-columns:1fr}.scso-auth-card-footer{margin:18px -20px -20px;border-radius:0 0 20px 20px}.scso-auth-card-head h2{font-size:19px!important}}
@media(max-width:430px){.scso-auth-feature-grid{grid-template-columns:1fr}.scso-portal-auth-brand h1{font-size:30px!important}.scso-auth-row{align-items:flex-start}.scso-auth-card-footer{flex-direction:column;align-items:center}.scso-account-type label>span{padding:10px}}

/* v0.11 Product Commerce + official logo */
.scso-brand{flex-direction:column;align-items:flex-start;gap:8px;padding:0 10px 24px}.scso-brand-logo{display:block;width:100%;max-width:205px;height:auto;max-height:58px;object-fit:contain;object-position:left center}.scso-brand-role{font-size:8px!important;letter-spacing:1.6px!important;color:#8fa6d0!important;margin:0!important}.scso-product-commerce-metrics>article{width:100%!important;min-width:0}.scso-product-admin-filter{display:grid;grid-template-columns:minmax(180px,1fr) 180px 170px auto;gap:9px;margin:0 0 16px}.scso-product-admin-filter input,.scso-product-admin-filter select{width:100%;border:1px solid #dfe6ef;background:#fbfcfe;border-radius:10px;padding:10px 11px;font-size:11px}.scso-commerce-channels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scso-commerce-channels article{border:1px solid var(--scso-line);background:#fbfdff;border-radius:14px;padding:14px}.scso-commerce-channels b,.scso-commerce-channels span,.scso-commerce-channels em{display:block}.scso-commerce-channels b{font-size:12px;color:#142b4d}.scso-commerce-channels span{font-size:10px;color:#75859e;margin:4px 0 8px}.scso-commerce-channels em{font-size:9px;font-style:normal;color:#2670d8;font-weight:800}.scso-commerce-note{font-size:11px;line-height:1.65;color:#71809a;margin:18px 0 0}.scso-product-edit-data{display:none}.scso-checkline{display:flex!important;align-items:center;gap:8px!important;padding:11px 12px;border:1px solid #e0e7f0;border-radius:10px;background:#fbfcfe}.scso-checkline input{width:auto!important;margin:0}.scso-inline-order-update{display:flex;align-items:center;gap:6px;min-width:190px}.scso-inline-order-update select{min-width:95px;border:1px solid #dfe6ef;border-radius:8px;padding:7px;font-size:9px;background:#fff}
@media(max-width:950px){.scso-product-admin-filter{grid-template-columns:1fr 1fr}.scso-commerce-channels{grid-template-columns:1fr}}
@media(max-width:620px){.scso-product-admin-filter{grid-template-columns:1fr}}
.scso-modal-dialog--wide{width:min(1080px,96vw)}.scso-modal-x{position:absolute;right:16px;top:14px;border:0;width:38px;height:38px;border-radius:11px;background:#eff4fa;color:#17365d;font-size:23px;line-height:1;cursor:pointer;z-index:5}.scso-modal-head h2{font-size:24px;letter-spacing:-.5px;margin:6px 0 0;color:#142b4d}

/* Demo catalog controls v0.12 */
.scso-inline-form{display:inline-flex;margin:0}.scso-btn-danger-soft{color:#a23b48!important;background:#fff5f6!important;border-color:#f3cfd4!important}.scso-btn-danger-soft .dashicons{color:#a23b48!important}

/* v0.12.2 — Product gallery URL fields */
.scso-product-gallery-fields{margin:18px 0;padding:18px;border:1px solid #e5ebf3;border-radius:18px;background:#f9fbfe}
.scso-product-gallery-fields .scso-workspace-card-head{margin-bottom:14px}
.scso-product-gallery-fields .scso-workspace-card-head small{max-width:420px;color:#8190a6;font-size:11px;line-height:1.5}

/* =========================================================
   v0.12.3 — Global responsive hardening for Astro/Team/Client/Auth
========================================================= */
.scso-app,.scso-main,.scso-content,.scso-card,.scso-workspace-card,.scso-modal-dialog{min-width:0}
.scso-table-wrap,.scso-table-responsive{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.scso-table-wrap table,.scso-table-responsive table{min-width:720px}
.scso-main img,.scso-content img,.scso-modal-dialog img{max-width:100%;height:auto}
.scso-main input,.scso-main select,.scso-main textarea,.scso-modal-dialog input,.scso-modal-dialog select,.scso-modal-dialog textarea{max-width:100%;box-sizing:border-box}
@media(max-width:800px){
 body.scso-dashboard-page{overflow-x:hidden}
 .scso-app{width:100%;max-width:100%;overflow-x:hidden}
 .scso-main{width:100%;max-width:100%;padding:16px 12px 44px!important}
 .scso-topbar{gap:8px;min-width:0}
 .scso-user{min-width:0}
 .scso-section-title h1,.scso-section-title h2{overflow-wrap:anywhere}
 .scso-card,.scso-workspace-card{border-radius:16px}
 .scso-modal{padding:0!important;align-items:flex-end!important}
 .scso-modal-dialog:not(.scso-modal-dialog--client):not(.scso-modal-dialog--project){width:100vw!important;max-width:none!important;max-height:100dvh!important;border-radius:0!important;margin:0!important;padding:16px!important}
 .scso-modal-x{position:sticky!important;top:4px!important;margin-left:auto!important;display:grid!important;place-items:center!important;z-index:30}
 .scso-btn-row{width:100%}
 .scso-btn-row>.scso-btn{flex:1 1 auto;justify-content:center}
}
@media(max-width:520px){
 .scso-main{padding:12px 9px 36px!important}
 .scso-topbar{padding:0 2px}
 .scso-metric{padding:15px!important}
 .scso-section-title{gap:10px}
 .scso-section-title .scso-btn,.scso-title-actions .scso-btn{width:100%;justify-content:center}
 .scso-btn-row{display:grid!important;grid-template-columns:1fr!important}
 .scso-btn-row>*{width:100%!important}
 .scso-auth-input input,.scso-auth-form input,.scso-auth-form select,.scso-auth-form textarea{font-size:16px!important}
}


/* ============================================================
   v0.12.4 — PRODUCT DASHBOARD MOBILE + CENTERED EDIT MODAL
   ============================================================ */
@media (max-width: 760px){
  .scso-product-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .scso-product-admin-table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 12px!important;background:transparent!important}
  .scso-product-admin-table thead{display:none!important}
  .scso-product-admin-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .scso-product-admin-table tr{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 14px!important;background:#fff!important;border:1px solid #e3eaf3!important;border-radius:18px!important;padding:15px!important;box-shadow:0 8px 24px rgba(22,54,92,.06)!important;overflow:hidden!important}
  .scso-product-admin-table td{display:block!important;width:auto!important;min-width:0!important;border:0!important;padding:9px 0!important;white-space:normal!important;vertical-align:top!important}
  .scso-product-admin-table td:before{display:block!important;font-size:7px!important;line-height:1.2!important;letter-spacing:.75px!important;text-transform:uppercase!important;color:#8a9ab0!important;font-weight:900!important;margin-bottom:5px!important}
  .scso-product-admin-table td:nth-child(1){grid-column:1/-1!important;padding-top:0!important;padding-bottom:12px!important;border-bottom:1px solid #edf1f6!important}
  .scso-product-admin-table td:nth-child(1):before{content:'Product'}
  .scso-product-admin-table td:nth-child(2):before{content:'Tipe / Kategori'}
  .scso-product-admin-table td:nth-child(3):before{content:'Harga'}
  .scso-product-admin-table td:nth-child(4):before{content:'Stock'}
  .scso-product-admin-table td:nth-child(5){grid-column:1/-1!important}
  .scso-product-admin-table td:nth-child(5):before{content:'Marketplace'}
  .scso-product-admin-table td:nth-child(6):before{content:'Status'}
  .scso-product-admin-table td:nth-child(7){grid-column:1/-1!important;padding-bottom:0!important;border-top:1px solid #edf1f6!important;margin-top:2px!important;padding-top:12px!important}
  .scso-product-admin-table td:nth-child(7):before{content:'Aksi'}
  .scso-product-admin-table td strong{font-size:12px!important;line-height:1.35!important;color:#183454!important}
  .scso-product-admin-table td small{display:block!important;font-size:8px!important;line-height:1.5!important;margin-top:4px!important;color:#7d8da2!important;overflow-wrap:anywhere!important}
  .scso-product-admin-table .scso-row-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .scso-product-admin-table .scso-row-actions form{width:100%!important;margin:0!important}
  .scso-product-admin-table .scso-action-btn{width:100%!important;min-height:42px!important;justify-content:center!important;border-radius:11px!important}
  .scso-product-admin-table .scso-product-edit-data{display:none!important}

  /* Edit product should behave as a centered mobile dialog, not a bottom sheet. */
  #scsoProductEditModal.scso-modal{padding:18px!important;align-items:center!important;justify-content:center!important}
  #scsoProductEditModal .scso-modal-dialog{width:min(100%,560px)!important;max-width:560px!important;height:auto!important;max-height:calc(100dvh - 36px)!important;margin:auto!important;border-radius:20px!important;padding:18px!important;overflow:auto!important;overscroll-behavior:contain!important;box-shadow:0 24px 80px rgba(4,24,55,.28)!important}
  #scsoProductEditModal .scso-modal-x{position:absolute!important;top:12px!important;right:12px!important;margin:0!important;width:38px!important;height:38px!important;border-radius:11px!important;background:#eff4fa!important}
  #scsoProductEditModal .scso-modal-head{padding:2px 48px 14px 0!important}
  #scsoProductEditModal .scso-modal-head h2{font-size:20px!important;line-height:1.2!important;margin-top:5px!important}
  #scsoProductEditModal .scso-form{gap:12px!important}
  #scsoProductEditModal .scso-two,
  #scsoProductEditModal .scso-three{grid-template-columns:1fr!important;gap:10px!important}
  #scsoProductEditModal input,
  #scsoProductEditModal select,
  #scsoProductEditModal textarea{width:100%!important;font-size:16px!important}
  #scsoProductEditModal .scso-product-gallery-fields{padding:12px!important;border-radius:14px!important}
  #scsoProductEditModal .scso-workspace-card-head{display:block!important}
  #scsoProductEditModal .scso-workspace-card-head small{display:block!important;margin-top:6px!important;line-height:1.5!important}
  #scsoProductEditModal .scso-btn-primary{width:100%!important;min-height:46px!important;justify-content:center!important;position:sticky!important;bottom:0!important;z-index:4!important;box-shadow:0 -8px 20px rgba(255,255,255,.92)!important}
}

@media (max-width: 420px){
  .scso-product-admin-table tr{grid-template-columns:1fr!important;padding:14px!important}
  .scso-product-admin-table td:nth-child(n){grid-column:1/-1!important}
  .scso-product-admin-table td:nth-child(2),
  .scso-product-admin-table td:nth-child(3),
  .scso-product-admin-table td:nth-child(4),
  .scso-product-admin-table td:nth-child(6){padding:8px 0!important}
  #scsoProductEditModal.scso-modal{padding:10px!important}
  #scsoProductEditModal .scso-modal-dialog{max-height:calc(100dvh - 20px)!important;border-radius:17px!important;padding:15px!important}
}
\n\n/* ============================================================\n   v0.12.6 — PRODUCT TABLE REFINEMENT + THUMBNAILS\n   ============================================================ */\n.scso-product-table-wrap{\n  overflow:auto;\n  border:1px solid #e3eaf3;\n  border-radius:18px;\n  background:#fff;\n  box-shadow:0 12px 34px rgba(22,54,92,.055);\n}\n.scso-product-admin-table{min-width:980px;margin:0}\n.scso-product-admin-table thead th{\n  background:#f8fafd;\n  color:#78889f;\n  padding:13px 14px;\n  border-bottom:1px solid #e7edf5;\n  position:sticky;top:0;z-index:2;\n}\n.scso-product-admin-table tbody tr{transition:background .18s ease,box-shadow .18s ease}\n.scso-product-admin-table tbody tr:hover{background:#fbfdff}\n.scso-product-admin-table td{padding:13px 14px;vertical-align:middle}\n.scso-product-admin-table td:first-child{min-width:280px}\n.scso-product-admin-table td:last-child{white-space:nowrap}\n.scso-product-cell{display:flex;align-items:center;gap:13px;min-width:0}\n.scso-product-thumb{\n  width:58px;height:58px;flex:0 0 58px;border-radius:13px;overflow:hidden;\n  border:1px solid #e1e8f1;background:linear-gradient(145deg,#f5f8fc,#eaf1f8);\n  display:grid;place-items:center;position:relative;box-shadow:0 4px 14px rgba(20,48,86,.06)\n}\n.scso-product-thumb img{width:100%;height:100%;object-fit:cover;display:block}\n.scso-product-thumb .dashicons{position:absolute;color:#9aabc1;font-size:22px;width:22px;height:22px;z-index:0}\n.scso-product-thumb img+.dashicons{display:none}\n.scso-product-thumb.is-empty .dashicons{display:block}\n.scso-product-meta{min-width:0}\n.scso-product-meta strong{font-size:12px!important;line-height:1.35;white-space:normal}\n.scso-product-meta small{white-space:normal;overflow-wrap:anywhere}\n.scso-product-admin-table .scso-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}\n.scso-product-admin-table .scso-row-actions form{margin:0}\n.scso-product-admin-table .scso-action-btn{min-height:36px;border-radius:10px}\n@media(max-width:760px){\n  .scso-product-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}\n  .scso-product-admin-table{min-width:0!important}\n  .scso-product-admin-table td:nth-child(1){padding-bottom:13px!important}\n  .scso-product-cell{align-items:flex-start;gap:12px}\n  .scso-product-thumb{width:72px;height:72px;flex-basis:72px;border-radius:14px}\n  .scso-product-meta{padding-top:2px}\n  .scso-product-meta strong{font-size:13px!important}\n  .scso-product-meta small{font-size:9px!important}\n}\n@media(max-width:420px){\n  .scso-product-admin-table tr{grid-template-columns:1fr!important;padding:13px!important}\n  .scso-product-admin-table td:nth-child(2),\n  .scso-product-admin-table td:nth-child(3),\n  .scso-product-admin-table td:nth-child(4),\n  .scso-product-admin-table td:nth-child(5),\n  .scso-product-admin-table td:nth-child(6),\n  .scso-product-admin-table td:nth-child(7){grid-column:1/-1!important}\n  .scso-product-admin-table td{padding:8px 0!important}\n  .scso-product-thumb{width:68px;height:68px;flex-basis:68px}\n}\n

/* v0.12.7 — Pacdora product field */
.scso-pacdora-field{margin:14px 0;padding:14px;border:1px solid #dfe8f3;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#fff)}
.scso-pacdora-field label{margin:0!important}
.scso-pacdora-field small{display:block;margin:4px 0 8px;color:#75869d;font-weight:500;line-height:1.45}
.scso-pacdora-field input{background:#fff}


/* ============================================================
   v0.12.8 — PRODUCT TABLE COLUMN SEPARATION
   ============================================================ */
.scso-product-admin-table{min-width:1320px}
.scso-product-admin-table th:first-child,
.scso-product-admin-table td:first-child{width:108px;min-width:108px;max-width:108px}
.scso-product-admin-table th:nth-child(2),
.scso-product-admin-table td:nth-child(2){min-width:190px}
.scso-product-admin-table th:nth-child(3),
.scso-product-admin-table td:nth-child(3){min-width:165px}
.scso-product-admin-table th:nth-child(4),
.scso-product-admin-table td:nth-child(4){min-width:170px}
.scso-product-thumb{
  width:80px!important;
  height:80px!important;
  flex:0 0 80px!important;
  border-radius:0!important;
  overflow:hidden;
  border:1px solid #e1e8f1;
  background:#f6f8fb;
  box-shadow:none!important;
  display:grid;
  place-items:center;
}
.scso-product-thumb img{width:80px!important;height:80px!important;object-fit:cover;display:block}
.scso-product-thumb.has-image .dashicons{display:none!important}
.scso-product-thumb.is-empty .dashicons{display:block;color:#9aabc1;font-size:22px;width:22px;height:22px}
.scso-product-name{display:block;font-size:13px!important;line-height:1.35;color:#14263d}
.scso-product-admin-table td small{display:block;margin-top:4px;line-height:1.45}

@media(max-width:760px){
  .scso-product-admin-table{min-width:0!important}
  .scso-product-admin-table thead{display:none}
  .scso-product-admin-table,
  .scso-product-admin-table tbody,
  .scso-product-admin-table tr,
  .scso-product-admin-table td{display:block;width:100%!important;max-width:none!important;min-width:0!important}
  .scso-product-admin-table tr{
    background:#fff;border:1px solid #e6edf5;border-radius:16px;margin:0 0 12px;padding:12px;
    box-shadow:0 6px 20px rgba(22,54,92,.045)
  }
  .scso-product-admin-table td{
    display:grid!important;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:start;
    padding:8px 0!important;border:0!important;border-bottom:1px solid #eef2f6!important
  }
  .scso-product-admin-table td:last-child{border-bottom:0!important}
  .scso-product-admin-table td::before{
    content:attr(data-label);font-size:10px;line-height:1.35;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8a9ab0
  }
  .scso-product-admin-table td[data-label="Thumbnail"]{grid-template-columns:110px 80px;align-items:center}
  .scso-product-thumb{width:80px!important;height:80px!important}
  .scso-product-admin-table .scso-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .scso-product-admin-table .scso-row-actions form{width:100%}
  .scso-product-admin-table .scso-row-actions .scso-action-btn{width:100%;justify-content:center}
}
@media(max-width:420px){
  .scso-product-admin-table td{grid-template-columns:94px minmax(0,1fr)}
  .scso-product-admin-table td[data-label="Thumbnail"]{grid-template-columns:94px 80px}
}


/* v0.12.9 — Product Production Planner */
.scso-product-form-tabs{display:flex;gap:8px;overflow:auto;padding:3px 2px 12px;margin:0 0 18px;border-bottom:1px solid #e5ecf5;scrollbar-width:thin}.scso-product-form-tabs button{flex:0 0 auto;border:1px solid #dce6f2;background:#f7f9fc;color:#50627a;border-radius:10px;padding:9px 13px;font-weight:800;cursor:pointer}.scso-product-form-tabs button.active{background:#102458;color:#fff;border-color:#102458;box-shadow:0 6px 18px rgba(16,36,88,.16)}
.scso-product-form-panel{display:none}.scso-product-form-panel.active{display:block}.scso-product-form-actions{position:sticky;bottom:-1px;z-index:3;margin:18px -2px -2px;padding:12px 2px 2px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%)}
.scso-production-planner-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:16px 18px;margin-bottom:16px;border:1px solid #dfe9f5;background:linear-gradient(135deg,#f8fbff,#eef6ff);border-radius:16px}.scso-production-planner-head span,.scso-material-builder .scso-workspace-card-head span{font-size:11px;letter-spacing:.12em;font-weight:900;color:#3671cc}.scso-production-planner-head h3{margin:4px 0 0;color:#102458}.scso-production-planner-head p{max-width:430px;margin:0;color:#6a7890;font-size:13px;line-height:1.55}
.scso-material-builder{margin-top:16px;padding:16px;border:1px solid #e2eaf4;border-radius:16px;background:#fff}.scso-material-row{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(120px,.55fr) minmax(180px,1fr) 36px;gap:10px;align-items:end;padding:10px 0;border-top:1px solid #eef2f7}.scso-material-row:first-child{border-top:0}.scso-material-remove{width:36px;height:40px;border:1px solid #f1c6cc;background:#fff5f6;color:#b42336;border-radius:9px;font-size:20px;cursor:pointer}.scso-btn-small{padding:8px 10px!important;min-height:auto!important;font-size:12px!important}
.scso-pricing-calculator{margin-top:18px;padding:18px;border-radius:18px;background:#0b1f46;color:#fff;box-shadow:0 15px 35px rgba(11,31,70,.16)}.scso-pricing-calculator label{color:#fff}.scso-pricing-calculator label small{color:#b9c8e3}.scso-pricing-calculator input,.scso-pricing-calculator select{background:#fff;color:#14233d}.scso-calculator-result{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}.scso-calculator-result>div{padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.06)}.scso-calculator-result span{display:block;font-size:11px;color:#bfd0ec;margin-bottom:5px}.scso-calculator-result strong{font-size:16px}.scso-calculator-result .scso-calculator-highlight{background:#fff;color:#102458}.scso-calculator-result .scso-calculator-highlight span{color:#64748b}.scso-calculator-note{margin:12px 0 0;font-size:12px;line-height:1.55;color:#bfd0ec}
@media(max-width:800px){.scso-product-form-tabs{margin-left:-2px;margin-right:-2px}.scso-product-form-tabs button{padding:9px 11px;font-size:12px}.scso-production-planner-head{display:block;padding:14px}.scso-production-planner-head p{margin-top:8px}.scso-material-row{grid-template-columns:1fr 1fr}.scso-material-row label:first-child{grid-column:1/-1}.scso-material-row label:nth-child(3){grid-column:1/-1}.scso-material-remove{grid-column:2;justify-self:end}.scso-calculator-result{grid-template-columns:1fr 1fr}.scso-calculator-result .scso-calculator-highlight{grid-column:1/-1}.scso-pricing-calculator{padding:14px}.scso-product-form-actions .scso-btn{width:100%;justify-content:center}}
@media(max-width:480px){.scso-material-row{grid-template-columns:1fr}.scso-material-row>*{grid-column:1!important}.scso-material-remove{justify-self:end}.scso-calculator-result{grid-template-columns:1fr}.scso-calculator-result .scso-calculator-highlight{grid-column:1}.scso-modal-dialog--wide{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;margin:10px!important}}


/* v0.13.0 — Product costing, gallery previews, vendor procurement */
.scso-gallery-admin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.scso-gallery-admin-field{display:grid!important;gap:7px}.scso-gallery-admin-preview{aspect-ratio:1/1;border:1px solid #dfe7f1;background:#f4f7fb;overflow:hidden;display:grid;place-items:center}.scso-gallery-admin-preview img{width:100%;height:100%;object-fit:cover;display:block}.scso-gallery-admin-preview em{font-style:normal;color:#8b9bb0;font-size:11px}.scso-cost-builder,.scso-reseller-builder,.scso-vendor-items-builder{margin-top:16px;padding:16px;border:1px solid #e1e8f1;background:#f9fbfe;border-radius:16px}.scso-cost-row{display:grid;grid-template-columns:1.15fr .8fr 1.25fr 1.35fr .55fr .75fr 1.1fr 36px;gap:8px;align-items:end;padding:10px 0;border-bottom:1px solid #e8edf4}.scso-reseller-row{display:grid;grid-template-columns:55px .8fr 1fr 1fr .8fr 1.4fr 1fr 36px;gap:8px;align-items:end;padding:10px 0;border-bottom:1px solid #e8edf4}.scso-vendor-item-row{display:grid;grid-template-columns:.7fr 1.2fr .7fr .7fr .65fr .6fr .8fr 1fr 1fr 36px;gap:8px;align-items:end;padding:10px 0;border-bottom:1px solid #e8edf4}.scso-cost-row label,.scso-reseller-row label,.scso-vendor-item-row label{margin:0!important}.scso-reseller-summary{display:grid;grid-template-columns:1fr auto 1fr auto;gap:12px;align-items:center;padding:14px 16px;margin-top:14px;background:#0f2e5e;color:#fff;border-radius:14px}.scso-reseller-summary span{font-size:11px;opacity:.78}.scso-reseller-summary strong{font-size:17px}.scso-vendor-edit-data,.scso-vendor-view-data{display:none}.scso-vendor-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.scso-vendor-detail-grid article{padding:16px;border:1px solid #e2e9f2;background:#f9fbfe;border-radius:14px}.scso-vendor-detail-grid span,.scso-vendor-detail-grid small{display:block;color:#7a8aa0;font-size:11px}.scso-vendor-detail-grid strong{display:block;margin:4px 0;font-size:16px;color:#132d52}.scso-product-form-panel[data-product-form-panel="production"] .scso-pricing-calculator{margin-top:16px}.scso-product-form-panel[data-product-form-panel="marketplace"] hr{border:0;border-top:1px solid #e4ebf3;margin:20px 0}
@media(max-width:1180px){.scso-cost-row,.scso-reseller-row,.scso-vendor-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-cost-row .scso-material-remove,.scso-reseller-row .scso-material-remove,.scso-vendor-item-row .scso-material-remove{grid-column:2;justify-self:end}.scso-gallery-admin-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.scso-gallery-admin-grid{grid-template-columns:repeat(2,1fr)}.scso-cost-builder,.scso-reseller-builder,.scso-vendor-items-builder{padding:11px}.scso-cost-row,.scso-reseller-row,.scso-vendor-item-row{grid-template-columns:1fr;padding:14px 0}.scso-cost-row .scso-material-remove,.scso-reseller-row .scso-material-remove,.scso-vendor-item-row .scso-material-remove{grid-column:1}.scso-reseller-summary{grid-template-columns:1fr;gap:4px}.scso-vendor-detail-grid{grid-template-columns:1fr}.scso-vendor-table-wrap .scso-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.scso-vendor-table-wrap .scso-row-actions form{grid-column:1/-1}.scso-vendor-table-wrap .scso-row-actions button{width:100%}}


/* v0.13.1 — Vendor database, catalog search & marketplace sources */
.scso-vendor-filterbar{display:grid;grid-template-columns:minmax(280px,1.7fr) minmax(190px,.7fr) auto auto;gap:10px;align-items:end;margin:16px 0;padding:14px;border:1px solid #e4ebf4;background:#f8fbff;border-radius:14px}
.scso-filter-search{position:relative}.scso-filter-search .dashicons{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:1;color:#8293a8}.scso-filter-search input{padding-left:38px!important}
.scso-vendor-table-logo{width:48px;height:48px;border:1px solid #e1e8f1;background:#f5f8fc;display:grid;place-items:center;overflow:hidden;border-radius:10px}.scso-vendor-table-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.scso-vendor-table-logo span{font-weight:900;color:#102458;font-size:16px}
.scso-vendor-site-link{display:inline-flex;align-items:center;gap:5px;color:#225fba;font-weight:700;text-decoration:none;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scso-vendor-site-link .dashicons{font-size:15px;width:15px;height:15px}
.scso-vendor-profile-form{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.scso-vendor-logo-editor{display:grid;gap:10px}.scso-vendor-logo-preview{width:100%;aspect-ratio:1.4/1;border:1px dashed #cfd9e7;background:#f7f9fc;display:grid;place-items:center;overflow:hidden;border-radius:14px}.scso-vendor-logo-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.scso-vendor-logo-preview .dashicons{font-size:34px;width:34px;height:34px;color:#9aa9bb}.scso-vendor-profile-fields{min-width:0}
.scso-vendor-item-row{grid-template-columns:.65fr 1.15fr .9fr 1fr .8fr 1.35fr .65fr .7fr .65fr .6fr .8fr 1fr 1fr 36px!important}.scso-vendor-item-row input,.scso-vendor-item-row select{min-width:0}
.scso-vendor-detail-header{display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:16px}.scso-vendor-detail-logo{width:92px;height:72px;border:1px solid #e1e8f1;background:#f7f9fc;display:grid;place-items:center;overflow:hidden;border-radius:14px}.scso-vendor-detail-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.scso-vendor-detail-logo span{font-size:28px;font-weight:900;color:#102458}.scso-vendor-detail-header h3{margin:3px 0 4px;font-size:22px;color:#102458}.scso-vendor-detail-header p{margin:0;color:#66768d}.scso-vendor-link-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.scso-market-source{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#eef3f8;color:#40526b;font-size:11px;font-weight:800}.scso-market-source--shopee{background:#fff0ea;color:#b9471f}.scso-market-source--tokopedia{background:#eaf8ef;color:#168047}.scso-market-source--tiktok{background:#eef0f4;color:#111827}.scso-action-link{text-decoration:none!important;display:inline-flex!important;align-items:center;gap:4px;white-space:nowrap}
.scso-vendor-pagination{margin-top:16px}
@media(max-width:1180px){.scso-vendor-item-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scso-vendor-item-row .scso-material-remove{grid-column:2;justify-self:end}}
@media(max-width:820px){.scso-vendor-filterbar{grid-template-columns:1fr 1fr}.scso-vendor-filterbar .scso-filter-search{grid-column:1/-1}.scso-vendor-profile-form{grid-template-columns:1fr}.scso-vendor-logo-editor{grid-template-columns:120px minmax(0,1fr);align-items:center}.scso-vendor-logo-preview{width:120px}}
@media(max-width:680px){.scso-vendor-filterbar{grid-template-columns:1fr}.scso-vendor-filterbar .scso-filter-search{grid-column:auto}.scso-vendor-filterbar .scso-btn{width:100%;justify-content:center}.scso-vendor-item-row{grid-template-columns:1fr!important}.scso-vendor-item-row .scso-material-remove{grid-column:1}.scso-vendor-detail-header{grid-template-columns:1fr}.scso-vendor-detail-logo{width:100%;height:90px}.scso-vendor-logo-editor{grid-template-columns:1fr}.scso-vendor-logo-preview{width:100%;max-width:180px}.scso-vendor-admin-table{min-width:0!important}.scso-vendor-admin-table thead{display:none}.scso-vendor-admin-table,.scso-vendor-admin-table tbody,.scso-vendor-admin-table tr,.scso-vendor-admin-table td{display:block;width:100%!important;min-width:0!important}.scso-vendor-admin-table tr{padding:12px;margin-bottom:12px;border:1px solid #e5ebf3;border-radius:15px;background:#fff}.scso-vendor-admin-table td{display:grid!important;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:8px 0!important;border:0!important;border-bottom:1px solid #eef2f6!important}.scso-vendor-admin-table td:last-child{border-bottom:0!important}.scso-vendor-admin-table td::before{content:attr(data-label);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#8b9ab0}.scso-vendor-table-logo{width:56px;height:56px}.scso-vendor-catalog-table{overflow-x:auto}.scso-vendor-catalog-table table{min-width:980px}}


/* v0.13.2 — Professional vendor filters/catalog + product specification builder */
.scso-vendor-filterbar{display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;background:#fff!important;border:1px solid #e5eaf2!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(16,36,88,.05)!important}.scso-vendor-filterbar .scso-filter-search{position:relative;flex:1;min-width:260px}.scso-vendor-filterbar .scso-filter-search>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8190a6;z-index:2}.scso-vendor-filterbar .scso-filter-search input{padding-left:42px!important;background:#f8fafc!important}.scso-vendor-filterbar label:not(.scso-filter-search){min-width:220px}.scso-vendor-filterbar input,.scso-vendor-filterbar select{height:44px!important;border:1px solid #dce4ee!important;border-radius:11px!important}.scso-vendor-items-builder{padding:20px!important;border-radius:18px!important;background:#fff!important;border:1px solid #e3e9f1!important;box-shadow:0 8px 28px rgba(16,36,88,.04)!important}.scso-vendor-item-row{display:grid!important;grid-template-columns:110px minmax(170px,1.3fr) minmax(140px,1fr) minmax(150px,1fr) 130px minmax(190px,1.3fr) 100px 110px 105px 90px 120px minmax(160px,1fr) minmax(150px,1fr) 36px!important;gap:12px!important;padding:16px 0!important;align-items:end!important}.scso-vendor-item-row label{font-size:10px!important;font-weight:800!important;letter-spacing:.04em;color:#6e7e94}.scso-vendor-item-row input,.scso-vendor-item-row select{margin-top:6px!important;height:42px!important;background:#fbfcfe!important}.scso-vendor-detail-tabs{display:flex;gap:6px;margin:22px 0 14px;padding:5px;background:#f3f6fa;border-radius:12px;width:max-content;max-width:100%}.scso-vendor-detail-tabs button{border:0;background:transparent;border-radius:9px;padding:10px 16px;font-weight:800;color:#718096;cursor:pointer}.scso-vendor-detail-tabs button.active{background:#fff;color:#102458;box-shadow:0 3px 12px rgba(16,36,88,.09)}.scso-vendor-detail-tabs button span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;background:#edf2f8;border-radius:999px;font-size:10px;margin-left:5px}.scso-vendor-detail-panel{display:none}.scso-vendor-detail-panel.active{display:block}.scso-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.scso-catalog-toolbar label{position:relative;display:block;flex:1;max-width:520px}.scso-catalog-toolbar label .dashicons{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8a99ae}.scso-catalog-toolbar input{width:100%;height:44px;padding:0 14px 0 42px;border:1px solid #dce4ee;border-radius:11px;background:#fff}.scso-catalog-toolbar>span{font-size:11px;color:#8190a6}.scso-catalog-pagination{margin-top:14px}.scso-order-history-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.scso-order-history-head h3{margin:3px 0}.scso-vendor-order-form{padding:16px;border:1px solid #e3e9f1;border-radius:16px;background:#f9fbfe}.scso-spec-builder{display:grid;gap:14px;margin-top:16px}.scso-spec-group{border:1px solid #e0e7f0;border-radius:16px;background:#f9fbfe;padding:16px}.scso-spec-group-head{display:grid;grid-template-columns:1.5fr 1fr 36px;gap:10px;align-items:end}.scso-spec-values{display:grid;gap:8px;margin:14px 0 10px}.scso-spec-value{display:grid;grid-template-columns:minmax(180px,1fr) 160px 110px 36px;gap:10px;align-items:end;padding:10px;border:1px solid #e4eaf2;border-radius:12px;background:#fff}.scso-spec-default{display:flex!important;align-items:center!important;gap:7px!important;height:42px}.scso-spec-default input{width:auto!important;margin:0!important}.scso-pagination{display:flex!important;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.scso-pagination a,.scso-pagination span{min-width:38px;height:38px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe6ef;border-radius:9px;background:#fff;text-decoration:none;font-weight:800;color:#53647a}.scso-pagination a.active{background:#102458;color:#fff;border-color:#102458}.scso-pagination .scso-page-nav{min-width:82px}.scso-pagination .scso-ellipsis{border:0;background:transparent;min-width:24px;padding:0}
@media(max-width:900px){.scso-vendor-filterbar{display:grid!important;grid-template-columns:1fr 1fr!important}.scso-vendor-filterbar .scso-filter-search{grid-column:1/-1;min-width:0}.scso-vendor-item-row{grid-template-columns:1fr 1fr!important}.scso-spec-group-head,.scso-spec-value{grid-template-columns:1fr 1fr}.scso-spec-group-head .scso-material-remove,.scso-spec-value .scso-material-remove{justify-self:end}.scso-order-history-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.scso-vendor-filterbar{grid-template-columns:1fr!important}.scso-vendor-filterbar .scso-filter-search{grid-column:auto}.scso-vendor-filterbar label:not(.scso-filter-search){min-width:0}.scso-vendor-item-row,.scso-spec-group-head,.scso-spec-value{grid-template-columns:1fr!important}.scso-catalog-toolbar{align-items:stretch;flex-direction:column}.scso-vendor-detail-tabs{width:100%}.scso-vendor-detail-tabs button{flex:1}.scso-pagination .scso-page-nav{min-width:72px}}

.scso-vendor-builder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 4px;padding:10px 12px;background:#f7f9fc;border:1px solid #e6ebf2;border-radius:12px}.scso-vendor-builder-toolbar label{position:relative;flex:1;max-width:520px}.scso-vendor-builder-toolbar .dashicons{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8493a8}.scso-vendor-builder-toolbar input{width:100%;height:42px!important;padding-left:40px!important;border-radius:10px!important;background:#fff!important}.scso-vendor-builder-toolbar>span{font-size:11px;color:#8391a5}.scso-vendor-builder-pagination{margin-top:14px}.scso-pagination button{min-width:38px;height:38px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe6ef;border-radius:9px;background:#fff;font-weight:800;color:#53647a;cursor:pointer}.scso-pagination button.active{background:#102458;color:#fff;border-color:#102458}@media(max-width:600px){.scso-vendor-builder-toolbar{align-items:stretch;flex-direction:column}.scso-vendor-builder-toolbar label{max-width:none}}


/* v0.13.3 — Vendor database + catalog editor layout refinement */
.scso-vendor-database-card{width:100%!important;max-width:none!important;min-width:0!important}
.scso-vendor-filterbar{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(190px,260px) auto auto!important;align-items:center!important;gap:10px!important}
.scso-vendor-filterbar .scso-filter-search{width:100%!important;max-width:none!important;min-width:0!important;display:block!important}
.scso-vendor-filterbar .scso-filter-search input{width:100%!important;max-width:none!important;min-width:0!important}
.scso-vendor-filterbar label:not(.scso-filter-search){width:100%!important;min-width:0!important}
.scso-vendor-filterbar select{width:100%!important}

.scso-vendor-table-wrap{width:100%!important;max-width:none!important;overflow-x:visible!important}
.scso-vendor-admin-table{width:100%!important;max-width:none!important;min-width:0!important;table-layout:fixed!important}
.scso-vendor-admin-table th,.scso-vendor-admin-table td{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.scso-vendor-admin-table th:nth-child(1){width:72px}.scso-vendor-admin-table th:nth-child(2){width:15%}.scso-vendor-admin-table th:nth-child(3){width:10%}.scso-vendor-admin-table th:nth-child(4){width:9%}.scso-vendor-admin-table th:nth-child(5){width:13%}.scso-vendor-admin-table th:nth-child(6){width:17%}.scso-vendor-admin-table th:nth-child(7){width:13%}.scso-vendor-admin-table th:nth-child(8){width:10%}.scso-vendor-admin-table th:nth-child(9){width:150px}
.scso-vendor-admin-table .scso-row-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important;align-items:center!important}
.scso-vendor-admin-table .scso-row-actions form{margin:0!important}
.scso-vendor-admin-table .scso-action-btn{padding:7px 9px!important;font-size:10px!important}
.scso-vendor-site-link{display:inline-flex;align-items:center;gap:4px;max-width:100%;overflow-wrap:anywhere;word-break:break-word}

/* Catalog editor: no horizontal spreadsheet. Each item is a readable card inside the popup. */
.scso-vendor-items-builder{width:100%!important;max-width:none!important;overflow:visible!important;padding:18px!important}
.scso-vendor-items-builder [data-vendor-item-rows]{display:grid!important;gap:14px!important;width:100%!important;min-width:0!important}
.scso-vendor-item-row{width:100%!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 16px!important;align-items:end!important;padding:16px!important;border:1px solid #e3e9f1!important;border-radius:15px!important;background:#fbfcfe!important;box-shadow:0 4px 14px rgba(16,36,88,.035)!important}
.scso-vendor-item-row label{width:100%!important;min-width:0!important;margin:0!important}
.scso-vendor-item-row input,.scso-vendor-item-row select{width:100%!important;min-width:0!important;max-width:100%!important}
.scso-vendor-item-row label:nth-child(2){grid-column:span 2}
.scso-vendor-item-row label:nth-child(6){grid-column:span 2}
.scso-vendor-item-row label:nth-child(12),.scso-vendor-item-row label:nth-child(13){grid-column:span 2}
.scso-vendor-item-row .scso-material-remove{align-self:end;justify-self:end;width:38px!important;height:38px!important;margin:0!important}
.scso-vendor-builder-toolbar{width:100%!important;max-width:none!important}
.scso-vendor-builder-toolbar label{max-width:none!important;width:100%!important}
.scso-vendor-builder-toolbar input{width:100%!important}

.scso-vendor-detail-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.scso-vendor-detail-grid article{min-width:0!important}
.scso-vendor-detail-grid article strong,.scso-vendor-detail-grid article small{overflow-wrap:anywhere;word-break:break-word}
.scso-vendor-detail-grid a{color:#1f63d7;text-decoration:none}
.scso-vendor-url-full{margin-top:5px!important;line-height:1.45!important}

@media(max-width:1180px){
 .scso-vendor-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .scso-vendor-item-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .scso-vendor-item-row label:nth-child(2),.scso-vendor-item-row label:nth-child(6),.scso-vendor-item-row label:nth-child(12),.scso-vendor-item-row label:nth-child(13){grid-column:span 1}
 .scso-vendor-admin-table th:nth-child(8),.scso-vendor-admin-table td:nth-child(8){display:none}
}
@media(max-width:900px){
 .scso-vendor-filterbar{grid-template-columns:1fr 1fr!important}
 .scso-vendor-filterbar .scso-filter-search{grid-column:1/-1!important}
 .scso-vendor-table-wrap{overflow-x:auto!important}
 .scso-vendor-admin-table{min-width:900px!important;table-layout:auto!important}
 .scso-vendor-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 .scso-vendor-filterbar{grid-template-columns:1fr!important}
 .scso-vendor-filterbar .scso-filter-search{grid-column:auto!important}
 .scso-vendor-filterbar .scso-btn{width:100%!important}
 .scso-vendor-table-wrap{overflow-x:visible!important}
 .scso-vendor-admin-table{min-width:0!important;width:100%!important;table-layout:auto!important}
 .scso-vendor-admin-table th:nth-child(8),.scso-vendor-admin-table td:nth-child(8){display:block}
 .scso-vendor-item-row{grid-template-columns:1fr!important;padding:14px!important}
 .scso-vendor-item-row label:nth-child(n){grid-column:1!important}
 .scso-vendor-detail-grid{grid-template-columns:1fr!important}
}

/* v0.15.0 Accounting & procurement */
.scso-purchase-plan-table tr.is-purchased{opacity:.68;background:rgba(27,157,110,.05)}
.scso-plan-check-form{display:grid;grid-template-columns:minmax(120px,1fr) minmax(130px,1fr);gap:7px;align-items:center;min-width:300px}
.scso-plan-check-form .scso-btn,.scso-plan-check-form .scso-tag{grid-column:1/-1;justify-content:center}
.scso-plan-check-form input{min-width:0;width:100%;padding:8px 9px;border:1px solid var(--scso-border,#dce5f0);border-radius:8px;background:var(--scso-surface,#fff);color:inherit}
.scso-profit-allocation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.scso-profit-allocation-grid span{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid var(--scso-border,#dce5f0);border-radius:14px;background:rgba(16,36,88,.025)}
.scso-profit-allocation-grid strong{font-size:24px}.scso-profit-allocation-grid small{color:#63758d}
.scso-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.scso-accounting-report{display:flex;flex-direction:column;gap:0;margin-top:8px}.scso-accounting-report span{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--scso-border,#e4eaf2)}.scso-accounting-report span.is-total{font-weight:700;border-top:2px solid #102458}.scso-accounting-report span.is-grand{font-weight:800;font-size:16px;border-top:2px solid #102458;border-bottom:0}.scso-accounting-report strong{text-align:right}
@media(max-width:1100px){.scso-grid-3{grid-template-columns:1fr}.scso-profit-allocation-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.scso-plan-check-form{min-width:230px;grid-template-columns:1fr}.scso-plan-check-form .scso-btn,.scso-plan-check-form .scso-tag{grid-column:auto}.scso-profit-allocation-grid{grid-template-columns:1fr}}


/* v0.15.2 BCA Pocket Allocation Workflow */
.scso-bca-pocket-panel{border:1px solid rgba(15,76,129,.18);background:linear-gradient(180deg,rgba(15,76,129,.025),transparent)}
.scso-pocket-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.scso-pocket-summary article{padding:15px;border:1px solid var(--scso-border,#dce5f0);border-radius:14px;background:var(--scso-surface,#fff);display:flex;flex-direction:column;gap:5px}.scso-pocket-summary strong{font-size:22px}.scso-pocket-summary small{color:#63758d}
.scso-pocket-batch-form{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(240px,1fr) auto;gap:10px;align-items:end;margin-bottom:16px;padding:12px;border-radius:12px;background:rgba(16,36,88,.035)}.scso-pocket-batch-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700}.scso-pocket-batch-form input{padding:9px 10px;border:1px solid var(--scso-border,#dce5f0);border-radius:9px;background:var(--scso-surface,#fff);color:inherit}.scso-pocket-table small{display:block;color:#718096;margin-top:4px}.scso-pocket-confirm-form{margin:0}.scso-tag.is-success{background:rgba(27,157,110,.12);color:#127653}
@media(max-width:1100px){.scso-pocket-summary{grid-template-columns:1fr}.scso-pocket-batch-form{grid-template-columns:1fr}.scso-pocket-batch-form .scso-btn{width:100%}}


/* v0.15.3 — Product bulk select/delete */
.scso-product-admin-filter{grid-template-columns:minmax(180px,1fr) 170px 150px 155px auto}
@media(max-width:1050px){.scso-product-admin-filter{grid-template-columns:1fr 1fr 1fr}.scso-product-admin-filter .scso-btn{width:100%}}
.scso-product-bulkbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;padding:11px 12px;border:1px solid #e1e8f1;border-radius:13px;background:#f8fafd}
.scso-product-select-all{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;color:#43546b;cursor:pointer;user-select:none}
.scso-product-select-all input,.scso-product-row-check{width:17px;height:17px;accent-color:#102458;cursor:pointer;flex:0 0 auto}
.scso-product-selected-count{font-size:11px;font-weight:800;color:#7b8ba0;margin-right:auto}
.scso-product-bulkbar .scso-inline-form{margin:0}
.scso-product-bulkbar button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}
.scso-product-thumb-select{display:flex;align-items:center;gap:9px;min-width:0}
.scso-product-admin-table tbody tr.is-selected{background:#f4f7ff!important;box-shadow:inset 3px 0 0 #102458}
.scso-product-admin-table th:first-child,.scso-product-admin-table td:first-child{width:132px!important;min-width:132px!important;max-width:132px!important}
@media(max-width:760px){
 .scso-product-bulkbar{align-items:stretch;gap:9px}
 .scso-product-select-all{flex:1 1 180px;min-height:38px}
 .scso-product-selected-count{display:flex;align-items:center;margin-right:0}
 .scso-product-bulkbar .scso-inline-form{flex:1 1 100%;width:100%}
 .scso-product-bulkbar .scso-btn{width:100%;justify-content:center}
 .scso-product-admin-table td[data-label="Thumbnail"]{grid-template-columns:94px minmax(0,1fr)!important}
 .scso-product-thumb-select{justify-content:flex-start}
}


/* v0.15.4 — Product gallery upload + WebP conversion */
.scso-gallery-admin-field{min-width:0}
.scso-gallery-upload-actions{display:grid;grid-template-columns:1fr 38px;gap:7px;align-items:center}
.scso-gallery-upload-btn{display:flex!important;align-items:center!important;justify-content:center;gap:7px;min-height:38px!important;padding:8px 10px!important;margin:0!important;border:1px dashed #a9bdd8;border-radius:10px;background:#fff;color:#17365d!important;font-size:11px!important;font-weight:750!important;cursor:pointer;transition:.18s ease}
.scso-gallery-upload-btn:hover{border-color:#246bfe;background:#f4f8ff;color:#154ea7!important}
.scso-gallery-upload-btn .dashicons{width:16px;height:16px;font-size:16px}
.scso-gallery-upload-btn input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.scso-gallery-clear-btn{width:38px;height:38px;border:1px solid #e2e9f2;border-radius:10px;background:#fff;color:#8a99ac;display:grid;place-items:center;cursor:pointer}
.scso-gallery-clear-btn:hover{color:#a23b48;border-color:#f0c6cc;background:#fff6f7}
.scso-gallery-clear-btn .dashicons{width:16px;height:16px;font-size:16px}
.scso-gallery-upload-note{display:block;min-height:30px;color:#8292a8;font-size:9.5px;line-height:1.45;overflow-wrap:anywhere}
.scso-gallery-upload-note.is-selected{color:#1f5fab;font-weight:650}
.scso-gallery-admin-preview.is-local{outline:2px solid rgba(36,107,254,.15);outline-offset:-2px}
.scso-gallery-admin-field input[data-gallery-url]{font-size:10px!important}
@media(max-width:680px){.scso-gallery-upload-actions{grid-template-columns:1fr 38px}.scso-gallery-upload-note{min-height:0}}


/* ============================================================
   v0.15.5 — PRODUCT ADD MODAL: TRUE VIEWPORT CENTERING
   The add-product dialog must open in the visible viewport, not below the
   dashboard scroll position. Long content scrolls inside the dialog.
   ============================================================ */
#scsoProductAddModal.scso-modal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100vh!important;
  padding:24px!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  overscroll-behavior:contain;
}
#scsoProductAddModal .scso-modal-backdrop{
  position:absolute!important;
  inset:0!important;
}
#scsoProductAddModal .scso-modal-dialog{
  position:relative!important;
  width:min(1080px,calc(100vw - 48px))!important;
  max-width:1080px!important;
  height:auto!important;
  max-height:calc(100dvh - 48px)!important;
  margin:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;
}
@supports not (height:100dvh){
  #scsoProductAddModal.scso-modal{height:100vh!important}
  #scsoProductAddModal .scso-modal-dialog{max-height:calc(100vh - 48px)!important}
}
@media(max-width:800px){
  #scsoProductAddModal.scso-modal{
    padding:14px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  #scsoProductAddModal .scso-modal-dialog{
    width:calc(100vw - 28px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 28px)!important;
    margin:0!important;
    border-radius:20px!important;
    padding:18px!important;
  }
  #scsoProductAddModal .scso-modal-x{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    margin:0!important;
  }
}
@media(max-width:420px){
  #scsoProductAddModal.scso-modal{padding:10px!important}
  #scsoProductAddModal .scso-modal-dialog{
    width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:17px!important;
    padding:15px!important;
  }
}


/* v0.15.6 Purchase Checklist management */
.scso-purchase-checklist-card{width:100%!important;max-width:none!important;padding:0!important;overflow:hidden}
.scso-purchase-checklist-card>.scso-card-head{padding:22px 24px 18px;margin:0!important;align-items:flex-start;border-bottom:1px solid #edf1f6}
.scso-purchase-card-note{margin:6px 0 0;font-size:10px;line-height:1.55;color:#7b8aa3;max-width:720px}
.scso-purchase-estimate{flex:0 0 auto;min-width:210px;padding:12px 15px;border:1px solid #dfe7f1;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f6f9fd);text-align:right}
.scso-purchase-estimate span,.scso-purchase-estimate small{display:block;color:#8190a6}.scso-purchase-estimate span{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.scso-purchase-estimate strong{display:block;margin:5px 0 3px;font-size:20px;color:#10294d}.scso-purchase-estimate small{font-size:9px}
.scso-purchase-table-wrap{width:100%!important;max-width:none!important;overflow-x:hidden!important}
.scso-purchase-plan-table{width:100%!important;max-width:none!important;min-width:0!important;table-layout:fixed!important}
.scso-purchase-plan-table .scso-col-status{width:9%}.scso-purchase-plan-table .scso-col-item{width:18%}.scso-purchase-plan-table .scso-col-category{width:12%}.scso-purchase-plan-table .scso-col-vendor{width:12%}.scso-purchase-plan-table .scso-col-qty{width:7%}.scso-purchase-plan-table .scso-col-estimate{width:11%}.scso-purchase-plan-table .scso-col-check{width:21%}.scso-purchase-plan-table .scso-col-action{width:10%}
.scso-purchase-plan-table th,.scso-purchase-plan-table td{padding:13px 11px!important;overflow-wrap:anywhere;word-break:normal}
.scso-purchase-plan-table th:first-child,.scso-purchase-plan-table td:first-child{padding-left:24px!important}.scso-purchase-plan-table th:last-child,.scso-purchase-plan-table td:last-child{padding-right:24px!important}
.scso-purchase-plan-table tfoot td{background:#f7f9fc;border-top:2px solid #dfe7f1;border-bottom:0!important;vertical-align:middle}.scso-purchase-plan-table tfoot td>strong{font-size:12px;color:#10294d}.scso-purchase-plan-table tfoot td:nth-child(2)>strong{font-size:15px}.scso-purchase-plan-table tfoot small{font-size:9px;color:#8492a8}.scso-purchase-total-caption{display:block;text-align:right;font-size:10px;font-weight:800;color:#718096}
.scso-plan-check-form{min-width:0!important;grid-template-columns:1fr 1fr!important}.scso-plan-check-form label{display:grid;gap:4px;min-width:0}.scso-plan-check-form label>span{font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#8a99ae}.scso-plan-check-form .scso-btn,.scso-plan-check-form .scso-tag{grid-column:1/-1}.scso-plan-check-form input{font-size:10px!important;padding:8px!important}
.scso-purchase-actions{display:grid;gap:7px}.scso-purchase-actions form{margin:0}.scso-purchase-actions .scso-btn{width:100%;padding:8px 9px;gap:5px;font-size:9px;box-shadow:none}.scso-purchase-actions .dashicons{font-size:14px;width:14px;height:14px;line-height:14px}.scso-purchase-locked{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:800;color:#8795a8}.scso-purchase-locked .dashicons{font-size:14px;width:14px;height:14px;line-height:14px}
.scso-modal-dialog--purchase{width:min(820px,94vw)!important;max-height:min(86vh,900px)!important;overflow:auto}.scso-purchase-edit-form{margin-top:4px}.scso-purchase-edit-form textarea{resize:vertical}
@media(max-width:1050px){.scso-purchase-checklist-card>.scso-card-head{align-items:stretch;flex-direction:column}.scso-purchase-estimate{text-align:left;min-width:0;width:100%}.scso-purchase-table-wrap{overflow-x:auto!important}.scso-purchase-plan-table{min-width:980px!important}}
@media(max-width:680px){.scso-purchase-checklist-card>.scso-card-head{padding:18px}.scso-purchase-edit-form .scso-two,.scso-purchase-edit-form .scso-three{grid-template-columns:1fr}.scso-modal-dialog--purchase{width:100vw!important;max-height:100dvh!important;border-radius:0!important}}


/* v0.15.7 Manual Purchase Checklist Entry */
.scso-purchase-head-actions{display:flex;align-items:stretch;gap:10px;flex:0 0 auto}.scso-purchase-add-btn{align-self:stretch;white-space:nowrap;padding-inline:16px}.scso-purchase-add-btn .dashicons{font-size:16px;width:16px;height:16px;line-height:16px}.scso-purchase-add-modal .scso-modal-head p{max-width:670px}.scso-purchase-add-form input[autofocus]{scroll-margin-top:20px}.scso-purchase-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:2px;padding-top:14px;border-top:1px solid #edf1f6}.scso-purchase-form-footer>small{max-width:520px;color:#7b8aa3;line-height:1.55}.scso-purchase-form-footer .scso-btn{flex:0 0 auto}.scso-purchase-add-form label>small{font-weight:600;color:#97a3b6}
@media(max-width:1050px){.scso-purchase-head-actions{width:100%;display:grid;grid-template-columns:auto 1fr}.scso-purchase-add-btn{min-height:100%}}
@media(max-width:680px){.scso-purchase-head-actions{grid-template-columns:1fr}.scso-purchase-add-btn{width:100%;min-height:44px}.scso-purchase-form-footer{align-items:stretch;flex-direction:column}.scso-purchase-form-footer .scso-btn{width:100%}}

/* v0.15.8 — Vendor Database table redesign */
.scso-vendor-database-card{overflow:hidden}
.scso-vendor-database-card>.scso-card-head{margin-bottom:14px}
.scso-vendor-table-wrap{width:100%!important;overflow-x:auto!important;border:1px solid #e2e8f1;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,36,88,.035)}
.scso-vendor-admin-table{width:100%!important;min-width:1040px!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
.scso-vendor-admin-table thead th{padding:13px 16px!important;background:#f7f9fc!important;border-bottom:1px solid #dde5ef!important;color:#7889a1!important;font-size:9px!important;font-weight:900!important;letter-spacing:.12em!important;vertical-align:middle!important}
.scso-vendor-admin-table thead th:first-child{border-radius:15px 0 0 0}
.scso-vendor-admin-table thead th:last-child{border-radius:0 15px 0 0}
.scso-vendor-admin-table tbody td{padding:16px!important;border-bottom:1px solid #edf1f6!important;vertical-align:middle!important;color:#40506c!important;background:#fff;transition:background .16s ease}
.scso-vendor-admin-table tbody tr:last-child td{border-bottom:0!important}
.scso-vendor-admin-table tbody tr:not(.scso-vendor-empty-row):hover td{background:#fbfdff}
.scso-vendor-admin-table th:nth-child(1){width:24%!important}
.scso-vendor-admin-table th:nth-child(2){width:15%!important}
.scso-vendor-admin-table th:nth-child(3){width:18%!important}
.scso-vendor-admin-table th:nth-child(4){width:16%!important}
.scso-vendor-admin-table th:nth-child(5){width:17%!important}
.scso-vendor-admin-table th:nth-child(6){width:190px!important}

.scso-vendor-identity{display:flex;align-items:center;gap:12px;min-width:0}
.scso-vendor-table-logo{width:52px!important;height:52px!important;flex:0 0 52px;border:1px solid #dce5f0!important;border-radius:13px!important;background:#f7f9fc!important;box-shadow:0 3px 10px rgba(16,36,88,.04)}
.scso-vendor-table-logo img{padding:4px;object-fit:contain!important}
.scso-vendor-table-logo span{font-size:18px!important}
.scso-vendor-identity-copy{min-width:0}
.scso-vendor-identity-copy strong{display:block!important;margin:0!important;color:#132b50!important;font-size:12px!important;font-weight:850!important;line-height:1.35;overflow-wrap:anywhere}
.scso-vendor-identity-copy small{display:block!important;margin-top:5px!important;color:#8290a4!important;font-size:9px!important;line-height:1.45!important}

.scso-vendor-profile-cell,.scso-vendor-contact-cell,.scso-vendor-catalog-cell,.scso-vendor-commerce-cell{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.scso-vendor-type-badge{display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;border:1px solid #d9e6f8;border-radius:999px;background:#eff5ff;color:#285d9e;font-size:9px;font-weight:850;line-height:1.2;white-space:normal}
.scso-vendor-type-badge.is-muted{border-color:#e3e8ef;background:#f6f8fb;color:#7c899b}
.scso-vendor-profile-cell small{margin:0!important;color:#718198!important;font-size:9px!important;line-height:1.45!important}
.scso-vendor-profile-cell small b{color:#4b5d76;margin-right:3px}
.scso-vendor-contact-cell span{display:flex;align-items:flex-start;gap:6px;max-width:100%;font-size:10px;line-height:1.45;color:#4b5b72;overflow-wrap:anywhere;word-break:break-word}
.scso-vendor-contact-cell .dashicons{width:15px;height:15px;flex:0 0 15px;margin-top:1px;font-size:15px;color:#7890ad}
.scso-vendor-contact-cell .is-muted,.scso-vendor-commerce-cell .is-muted{color:#97a3b4;font-size:10px}

.scso-vendor-catalog-cell>strong{display:flex!important;align-items:center;gap:5px;margin:0!important;color:#233b5c!important;font-size:10px!important}
.scso-vendor-item-count{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:8px;background:#102458;color:#fff;font-size:10px;font-weight:900}
.scso-vendor-category-list{display:flex;gap:5px;flex-wrap:wrap;min-width:0}
.scso-vendor-category-list span{display:inline-flex;max-width:100%;padding:4px 7px;border-radius:7px;background:#f1f4f8;color:#607087;font-size:8px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.scso-vendor-category-list span.is-more{background:#e9f1ff;color:#245ead}
.scso-vendor-category-list em{font-style:normal;color:#9aa6b6;font-size:9px}

.scso-vendor-commerce-cell .scso-vendor-site-link{display:inline-flex!important;max-width:100%!important;gap:5px;color:#2464bd!important;font-size:10px!important;font-weight:800!important;line-height:1.35;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.scso-vendor-commerce-cell .scso-vendor-site-link .dashicons{flex:0 0 15px}
.scso-vendor-terms{display:inline-flex;max-width:100%;padding:5px 8px;border:1px solid #e1e7ef;border-radius:8px;background:#fafbfc;color:#65748a;font-size:8px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}

.scso-vendor-admin-table .scso-vendor-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:nowrap!important;white-space:nowrap}
.scso-vendor-admin-table .scso-vendor-actions form{margin:0!important;display:block!important}
.scso-vendor-admin-table .scso-vendor-actions .scso-action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;height:34px!important;padding:0 9px!important;border-radius:9px!important;font-size:9px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
.scso-vendor-admin-table .scso-vendor-actions .scso-action-btn .dashicons{width:14px;height:14px;font-size:14px}
.scso-vendor-admin-table .scso-vendor-actions .scso-action-view{background:#f4f8ff!important;border-color:#d9e6fb!important;color:#245da8!important}
.scso-vendor-admin-table .scso-vendor-actions .scso-action-delete{background:#fff7f7!important;border-color:#f1d4d7!important;color:#bd4050!important}
.scso-vendor-admin-table .scso-vendor-actions .scso-action-btn:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(16,36,88,.07)}

.scso-vendor-empty{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8391a5}
.scso-vendor-empty .dashicons{width:28px;height:28px;font-size:28px;margin-bottom:8px;color:#a2afbf}
.scso-vendor-empty strong{font-size:12px!important;color:#43546d!important}
.scso-vendor-empty small{font-size:9px!important;color:#91a0b3!important}

@media(max-width:1180px){
 .scso-vendor-admin-table{min-width:980px!important}
 .scso-vendor-admin-table th:nth-child(6){width:178px!important}
}
@media(max-width:900px){
 .scso-vendor-table-wrap{overflow-x:auto!important}
 .scso-vendor-admin-table{min-width:940px!important;table-layout:fixed!important}
}
@media(max-width:680px){
 .scso-vendor-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .scso-vendor-admin-table{display:block!important;min-width:0!important;width:100%!important}
 .scso-vendor-admin-table thead{display:none!important}
 .scso-vendor-admin-table tbody{display:grid!important;gap:12px!important;width:100%!important}
 .scso-vendor-admin-table tr{display:block!important;width:100%!important;padding:14px!important;margin:0!important;border:1px solid #e1e8f1!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(16,36,88,.035)!important}
 .scso-vendor-admin-table td{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;width:100%!important;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf1f5!important;background:transparent!important}
 .scso-vendor-admin-table td:last-child{border-bottom:0!important;padding-bottom:0!important}
 .scso-vendor-admin-table td::before{content:attr(data-label)!important;display:block!important;padding-top:3px;font-size:8px!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:#8a98aa!important}
 .scso-vendor-admin-table .scso-vendor-actions{flex-wrap:wrap!important}
 .scso-vendor-admin-table .scso-vendor-actions .scso-action-btn{height:36px!important;padding:0 11px!important}
 .scso-vendor-empty-row td{display:block!important;border:0!important}
 .scso-vendor-empty-row td::before{display:none!important}
}


/* v0.15.9 — Vendor catalog metadata stays searchable, hidden from the master table */
.scso-vendor-admin-table{min-width:920px!important}
.scso-vendor-admin-table th:nth-child(1){width:28%!important}
.scso-vendor-admin-table th:nth-child(2){width:18%!important}
.scso-vendor-admin-table th:nth-child(3){width:21%!important}
.scso-vendor-admin-table th:nth-child(4){width:20%!important}
.scso-vendor-admin-table th:nth-child(5){width:190px!important}
@media(max-width:1180px){.scso-vendor-admin-table{min-width:880px!important}.scso-vendor-admin-table th:nth-child(5){width:178px!important}}
@media(max-width:900px){.scso-vendor-admin-table{min-width:840px!important}}
@media(max-width:680px){.scso-vendor-admin-table{min-width:0!important}}


/* v0.15.10 Purchase Checklist official investor PDF export */
.scso-purchase-action-buttons{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
.scso-purchase-export-btn{white-space:nowrap;text-decoration:none!important;padding-inline:14px;box-shadow:none!important}
.scso-purchase-export-btn .dashicons{font-size:16px;width:16px;height:16px;line-height:16px}
@media(max-width:1050px){.scso-purchase-action-buttons{min-width:0}.scso-purchase-head-actions{align-items:stretch}.scso-purchase-estimate{min-width:210px}}
@media(max-width:680px){.scso-purchase-action-buttons{display:grid;grid-template-columns:1fr}.scso-purchase-export-btn,.scso-purchase-add-btn{width:100%;justify-content:center}.scso-purchase-estimate{min-width:0}}


/* v0.15.12 — Purchase checklist relational vendor, selection, landed cost & stock quantity */
.scso-purchase-selection-help{display:flex;gap:14px;flex-wrap:wrap;padding:10px 24px;background:#f7f9fc;border-bottom:1px solid #e8edf4;color:#65748a;font-size:9px}.scso-purchase-selection-help b{color:#173b72}.scso-purchase-plan-table{min-width:1380px!important}.scso-purchase-plan-table .scso-col-select{width:4%}.scso-purchase-plan-table .scso-col-status{width:8%}.scso-purchase-plan-table .scso-col-item{width:15%}.scso-purchase-plan-table .scso-col-category{width:10%}.scso-purchase-plan-table .scso-col-vendor{width:10%}.scso-purchase-plan-table .scso-col-qty{width:8%}.scso-purchase-plan-table .scso-col-estimate{width:9%}.scso-purchase-plan-table .scso-col-check{width:27%}.scso-purchase-plan-table .scso-col-action{width:9%}.scso-purchase-plan-table tr.is-not-selected:not(.is-purchased){background:#fafbfc}.scso-purchase-plan-table tr.is-not-selected:not(.is-purchased)>td:not(:first-child){opacity:.62}.scso-purchase-plan-table tr.is-selected:not(.is-purchased){box-shadow:inset 3px 0 0 #2574d9}.scso-purchase-select{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.scso-purchase-select input{width:17px!important;height:17px!important;margin:0!important}.scso-purchased-mark{color:#1b9d6e}.scso-product-link{display:inline-flex!important;align-items:center;gap:4px;margin-top:4px;color:#2268bd!important;font-size:9px!important;font-weight:800!important;text-decoration:none}.scso-product-link .dashicons{width:13px;height:13px;font-size:13px}.scso-realization-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.scso-plan-check-form .scso-realization-grid label{display:grid;gap:3px;min-width:0}.scso-plan-check-form .scso-realization-grid label span{font-size:8px;font-weight:800;color:#7b889b}.scso-plan-check-form .scso-realization-grid input,.scso-plan-check-form .scso-realization-grid select{width:100%!important;min-width:0!important;height:32px!important;padding:5px 7px!important;font-size:9px!important}.scso-realization-total,.scso-purchase-landed-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;margin:8px 0;border:1px solid #dce5f0;border-radius:10px;background:#f7fbff}.scso-realization-total span,.scso-purchase-landed-summary span{font-size:9px;font-weight:800;color:#61738d}.scso-realization-total strong,.scso-purchase-landed-summary strong{color:#123f78}.scso-purchase-realized{display:grid;gap:4px}.scso-purchase-realized small{font-size:8px!important;color:#78869a!important}.scso-material-stock-fields[hidden]{display:none!important}.scso-material-stock-fields{padding:12px;border:1px dashed #bfd0e6;border-radius:12px;background:#f8fbff}.scso-checkline{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 12px;border-radius:10px;background:#f6f9fc}.scso-checkline input{width:16px!important;height:16px!important;margin:0!important}.scso-purchase-ledger-table small{font-size:8px!important}.scso-muted{color:#9aa6b7!important}.scso-purchase-head-actions{min-width:390px}@media(max-width:1050px){.scso-purchase-head-actions{min-width:0}.scso-purchase-plan-table{min-width:1320px!important}}@media(max-width:680px){.scso-realization-grid{grid-template-columns:1fr 1fr}.scso-purchase-action-buttons{display:grid!important;grid-template-columns:1fr}.scso-purchase-plan-table{min-width:1280px!important}}

/* v0.15.13 — lightweight WebP thumbnails for vendors, materials and assets */
.scso-entity-with-thumb{display:flex;align-items:center;gap:11px;min-width:190px}
.scso-entity-thumb{width:50px;height:50px;flex:0 0 50px;border-radius:12px;overflow:hidden;border:1px solid #dfe7f1;background:#f6f8fb;display:grid;place-items:center;color:#8392a7}
.scso-entity-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.scso-entity-thumb .dashicons{font-size:23px;width:23px;height:23px}
.scso-thumb-upload-inline{margin:7px 0 0;display:inline-flex}
.scso-thumb-upload-inline label{display:inline-flex!important;align-items:center;gap:6px;min-height:34px;padding:7px 10px!important;border:1px solid #d9e2ee;border-radius:9px;background:#fff;color:#233958;font-size:11px!important;font-weight:800!important;line-height:1;cursor:pointer;white-space:nowrap}
.scso-thumb-upload-inline label:hover{border-color:#9fb8df;background:#f6f9fe}
.scso-thumb-upload-inline input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none}
.scso-thumb-upload-inline .dashicons{font-size:15px;width:15px;height:15px}
.scso-thumbnail-upload-field small{display:block;margin-top:5px;color:#7a899f;font-size:11px;line-height:1.45}
.scso-thumbnail-upload-field input[type=file]{padding:8px!important;background:#f9fbfd!important}
.scso-entity-media-table td:last-child{min-width:105px}
@media(max-width:680px){.scso-entity-thumb{width:46px;height:46px;flex-basis:46px}.scso-thumb-upload-inline label{white-space:normal}}

/* v0.15.15 — Vendor Catalog automatic marketplace thumbnail + WebP upload */
.scso-vendor-item-row{grid-template-columns:110px minmax(170px,1.3fr) minmax(140px,1fr) minmax(150px,1fr) 130px minmax(190px,1.3fr) 185px 100px 110px 105px 90px 120px minmax(160px,1fr) minmax(150px,1fr) 36px!important}
.scso-vendor-item-thumb-field{align-self:stretch;display:grid!important;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:8px;align-items:center!important}
.scso-vendor-item-thumb-field>.scso-vendor-item-thumb-preview{grid-row:1/4;grid-column:1;width:64px;height:64px;border:1px solid #dfe7f1;border-radius:11px;background:#f5f8fc;display:grid;place-items:center;overflow:hidden;color:#9aaac0}
.scso-vendor-item-thumb-preview img{width:100%;height:100%;object-fit:cover;display:block}
.scso-vendor-item-thumb-preview .dashicons{font-size:22px;width:22px;height:22px}
.scso-vendor-item-thumb-field>input[type=file]{grid-column:2;height:auto!important;min-height:34px!important;padding:5px!important;font-size:9px!important}
.scso-vendor-item-thumb-field>small{grid-column:2;display:block;margin-top:4px;color:#7f8ea3;font-size:8px!important;font-weight:600!important;line-height:1.35;text-transform:none;letter-spacing:0}
.scso-vendor-catalog-item{display:flex;align-items:center;gap:10px;min-width:190px}
.scso-vendor-catalog-item>div{min-width:0}
.scso-vendor-catalog-thumb{width:54px;height:54px;flex:0 0 54px;border:1px solid #dfe6ef;border-radius:11px;background:#f4f7fb;display:grid;place-items:center;overflow:hidden;color:#9aa9bd}
.scso-vendor-catalog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.scso-vendor-catalog-thumb .dashicons{font-size:20px;width:20px;height:20px}
@media(max-width:1180px){.scso-vendor-item-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scso-vendor-item-thumb-field{grid-template-columns:72px minmax(0,1fr)}}
@media(max-width:680px){.scso-vendor-item-row{grid-template-columns:1fr!important}.scso-vendor-item-thumb-field{grid-template-columns:72px minmax(0,1fr)}}

/* v0.15.16 — purchase checklist thumbnails + smaller action buttons */
.scso-purchase-action-buttons{gap:6px}
.scso-purchase-action-buttons .scso-btn{padding:9px 12px!important;min-height:38px!important;font-size:11px!important;line-height:1.2;border-radius:10px}
.scso-purchase-action-buttons .dashicons{font-size:15px;width:15px;height:15px;line-height:15px}
.scso-purchase-thumb-field{display:grid;gap:8px}
.scso-purchase-thumb-preview{width:88px;height:88px;border-radius:14px;border:1px dashed #cdd9ea;background:#f7faff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.scso-purchase-thumb-preview img{width:100%;height:100%;object-fit:cover;display:block}
.scso-purchase-thumb-preview .dashicons{font-size:26px;width:26px;height:26px;line-height:26px;color:#8ca0bc}
.scso-purchase-item-cell{display:flex;align-items:flex-start;gap:10px;min-width:220px}
.scso-purchase-item-thumb{width:54px;height:54px;border-radius:12px;border:1px solid #d7e2f1;background:#f8fbff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 54px}
.scso-purchase-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.scso-purchase-item-thumb .dashicons{font-size:18px;width:18px;height:18px;line-height:18px;color:#94a4bc}
.scso-purchase-item-copy{display:grid;gap:2px;min-width:0}
.scso-purchase-item-copy strong{line-height:1.35}
.scso-purchase-item-copy small{line-height:1.45}
@media(max-width:680px){.scso-purchase-thumb-preview{width:74px;height:74px}.scso-purchase-action-buttons .scso-btn{min-height:36px!important;padding:8px 10px!important}}


/* v0.15.18 — compact Purchase Checklist toolbar */
.scso-purchase-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end;
  gap:9px!important;
  min-width:0!important;
}
.scso-purchase-action-buttons{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:3px!important;
  width:max-content!important;
  min-width:0!important;
  padding:3px!important;
  border:1px solid #e1e8f2;
  border-radius:9px;
  background:#f7f9fc;
  box-shadow:none!important;
}
.scso-purchase-action-buttons .scso-btn,
.scso-purchase-action-buttons .scso-purchase-add-btn,
.scso-purchase-action-buttons .scso-purchase-export-btn{
  width:auto!important;
  min-width:0!important;
  min-height:28px!important;
  height:28px!important;
  padding:4px 8px!important;
  margin:0!important;
  border-radius:6px!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  gap:4px!important;
  box-shadow:none!important;
  white-space:nowrap!important;
  align-self:auto!important;
}
.scso-purchase-action-buttons .scso-btn-secondary{
  background:transparent!important;
  border-color:transparent!important;
  color:#53647a!important;
}
.scso-purchase-action-buttons .scso-btn-secondary:hover{
  background:#fff!important;
  border-color:#dfe7f1!important;
  color:#183f73!important;
}
.scso-purchase-action-buttons .scso-btn-primary{
  background:#1769e0!important;
  border-color:#1769e0!important;
  color:#fff!important;
}
.scso-purchase-action-buttons .dashicons{
  width:12px!important;
  height:12px!important;
  font-size:12px!important;
  line-height:12px!important;
  margin:0!important;
}
.scso-purchase-estimate{
  min-width:155px!important;
  padding:8px 11px!important;
  border-radius:10px!important;
}
.scso-purchase-estimate strong{
  margin:2px 0 1px!important;
  font-size:15px!important;
  line-height:1.2!important;
}
.scso-purchase-estimate span,
.scso-purchase-estimate small{font-size:8px!important}
@media(max-width:1050px){
  .scso-purchase-head-actions{width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
  .scso-purchase-action-buttons{width:max-content!important}
  .scso-purchase-add-btn{min-height:28px!important}
  .scso-purchase-estimate{width:auto!important;min-width:145px!important;text-align:right!important}
}
@media(max-width:680px){
  .scso-purchase-head-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .scso-purchase-action-buttons{display:flex!important;width:100%!important;overflow-x:auto!important;justify-content:flex-start!important}
  .scso-purchase-action-buttons .scso-btn,
  .scso-purchase-action-buttons .scso-purchase-add-btn,
  .scso-purchase-action-buttons .scso-purchase-export-btn{width:auto!important;min-height:28px!important;height:28px!important;padding:4px 7px!important}
  .scso-purchase-estimate{width:100%!important;min-width:0!important;text-align:left!important}
}

/* v0.15.20 — cleaner Purchase Checklist, search and 10-item pagination */
.scso-purchase-search{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fbfcfe}
.scso-purchase-search-box{display:flex;align-items:center;gap:7px;position:relative;flex:1;max-width:720px}
.scso-purchase-search-box>.dashicons{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:2;color:#8190a6;font-size:15px;width:15px;height:15px}
.scso-purchase-search input[type=search]{width:100%;height:36px;padding:0 12px 0 35px;border:1px solid #dce4ee;border-radius:9px;background:#fff;font-size:10px;color:#20324d}
.scso-purchase-search .scso-btn{height:34px!important;min-height:34px!important;padding:0 12px!important;font-size:9px!important;border-radius:8px!important}
.scso-purchase-search-reset{display:inline-flex;align-items:center;height:34px;padding:0 9px;border-radius:8px;text-decoration:none;font-size:9px;font-weight:800;color:#62738c;background:#eef2f7}
.scso-purchase-search>small{white-space:nowrap;font-size:9px;color:#8190a6}
.scso-purchase-selection-help{padding:8px 18px;gap:12px;font-size:8px}
.scso-purchase-plan-table{min-width:1180px!important;table-layout:fixed}
.scso-purchase-plan-table th{padding:10px 8px!important;font-size:8px!important;letter-spacing:.04em;white-space:nowrap}
.scso-purchase-plan-table td{padding:10px 8px!important;vertical-align:top;font-size:9px!important}
.scso-purchase-plan-table .scso-col-select{width:4%}
.scso-purchase-plan-table .scso-col-item{width:17%}
.scso-purchase-plan-table .scso-col-category{width:10%}
.scso-purchase-plan-table .scso-col-vendor{width:10%}
.scso-purchase-plan-table .scso-col-qty{width:8%}
.scso-purchase-plan-table .scso-col-estimate{width:9%}
.scso-purchase-plan-table .scso-col-check{width:34%}
.scso-purchase-plan-table .scso-col-action{width:8%}
.scso-purchase-select-cell{text-align:center}
.scso-purchase-item-cell{min-width:0;gap:8px}
.scso-purchase-item-thumb{width:46px;height:46px;flex-basis:46px;border-radius:10px}
.scso-purchase-item-copy{overflow:hidden}
.scso-purchase-item-copy strong{font-size:9px;display:block;line-height:1.35}
.scso-purchase-item-copy small{font-size:8px!important;line-height:1.35;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.scso-product-link{font-size:8px!important;margin-top:2px}
.scso-vendor-name-compact{font-size:8.5px;line-height:1.35;display:block}
.scso-destination-note{margin-top:3px;color:#8795aa!important;font-size:7.5px!important;line-height:1.3!important}
.scso-realization-grid{grid-template-columns:repeat(5,minmax(74px,1fr));gap:5px}
.scso-plan-check-form .scso-realization-grid label span{font-size:7px!important}
.scso-plan-check-form .scso-realization-grid input,.scso-plan-check-form .scso-realization-grid select{height:28px!important;padding:3px 5px!important;font-size:8px!important;border-radius:7px!important}
.scso-realization-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:6px}
.scso-realization-footer .scso-realization-total{flex:1;margin:0;padding:6px 8px;border-radius:8px}
.scso-realization-footer .scso-realization-total span{font-size:7px}
.scso-realization-footer .scso-realization-total strong{font-size:9px}
.scso-realization-footer>.scso-btn{flex:0 0 auto;min-height:28px!important;height:28px!important;padding:0 9px!important;font-size:8px!important;border-radius:7px!important}
.scso-purchase-actions{gap:5px!important}
.scso-purchase-actions .scso-btn{min-height:27px!important;height:27px!important;padding:0 7px!important;font-size:8px!important;border-radius:7px!important;justify-content:center}
.scso-purchase-actions .dashicons{font-size:12px!important;width:12px!important;height:12px!important;line-height:12px!important}
.scso-purchase-empty{display:grid;justify-items:center;gap:4px;padding:24px;color:#8190a6;text-align:center}
.scso-purchase-empty .dashicons{font-size:24px;width:24px;height:24px;line-height:24px}
.scso-purchase-empty strong{color:#334b6f;font-size:10px}
.scso-purchase-empty small{font-size:8px}
.scso-purchase-pagination-wrap{display:grid;justify-items:center;gap:7px;padding:14px 18px 16px;border-top:1px solid #edf1f6;background:#fff}
.scso-purchase-pagination-wrap>small{font-size:8px;color:#8190a6}
.scso-purchase-pagination{margin-top:0!important;justify-content:center!important}
.scso-purchase-pagination a{min-width:30px!important;width:30px!important;height:30px!important;padding:0 7px!important;border-radius:8px!important;font-size:9px!important}
.scso-purchase-pagination a.scso-page-nav{width:auto!important;min-width:62px!important;padding:0 10px!important}
@media(max-width:1100px){.scso-purchase-plan-table{min-width:1120px!important}.scso-realization-grid{grid-template-columns:repeat(3,minmax(82px,1fr))}}
@media(max-width:680px){.scso-purchase-search{align-items:stretch;flex-direction:column}.scso-purchase-search-box{max-width:none}.scso-purchase-search>small{text-align:center}.scso-purchase-plan-table{min-width:1080px!important}.scso-realization-grid{grid-template-columns:repeat(2,minmax(90px,1fr))}.scso-purchase-pagination{display:flex!important;justify-content:center!important}}

/* v0.15.21 — Purchase Checklist visual reset: clean table + realization modal */
.scso-purchase-checklist-card{overflow:hidden}
.scso-purchase-checklist-card>.scso-card-head{padding:18px 20px!important;gap:18px!important;align-items:flex-start!important}
.scso-purchase-checklist-card .scso-purchase-card-note{max-width:760px;line-height:1.5}
.scso-purchase-head-actions{min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.scso-purchase-action-buttons{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:3px!important;border:1px solid #e2e9f2!important;border-radius:9px!important;background:#f7f9fc!important;flex-wrap:nowrap!important}
.scso-purchase-action-buttons .scso-btn{width:auto!important;height:28px!important;min-height:28px!important;padding:0 8px!important;border-radius:6px!important;font-size:8px!important;line-height:1!important;box-shadow:none!important;white-space:nowrap!important}
.scso-purchase-action-buttons .dashicons{font-size:12px!important;width:12px!important;height:12px!important;line-height:12px!important}
.scso-purchase-estimate{min-width:138px!important;padding:7px 10px!important;border-radius:9px!important;text-align:right!important}
.scso-purchase-estimate span{font-size:7px!important}.scso-purchase-estimate strong{font-size:12px!important}.scso-purchase-estimate small{font-size:7px!important}

.scso-purchase-search{padding:10px 18px!important;background:#fff!important;gap:12px!important}
.scso-purchase-search-box{max-width:620px!important}
.scso-purchase-search input[type=search]{height:34px!important;border-radius:8px!important;font-size:9px!important}
.scso-purchase-search .scso-btn,.scso-purchase-search-reset{height:32px!important;min-height:32px!important;border-radius:7px!important;font-size:8px!important}
.scso-purchase-search>small{font-size:8px!important}
.scso-purchase-selection-help.scso-purchase-selection-help--clean{padding:7px 18px!important;justify-content:flex-start!important;gap:18px!important;background:#f8fafc!important;border-bottom:1px solid #edf1f6!important;font-size:8px!important}

.scso-purchase-table-wrap{overflow-x:auto!important}
.scso-purchase-plan-table.scso-purchase-plan-table--clean{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
.scso-purchase-plan-table--clean .scso-col-select{width:4%!important}
.scso-purchase-plan-table--clean .scso-col-item{width:31%!important}
.scso-purchase-plan-table--clean .scso-col-category{width:15%!important}
.scso-purchase-plan-table--clean .scso-col-vendor{width:13%!important}
.scso-purchase-plan-table--clean .scso-col-qty{width:9%!important}
.scso-purchase-plan-table--clean .scso-col-estimate{width:12%!important}
.scso-purchase-plan-table--clean .scso-col-action{width:16%!important}
.scso-purchase-plan-table--clean th{padding:10px 10px!important;background:#f7f9fc!important;color:#74839a!important;font-size:7.5px!important;font-weight:800!important;letter-spacing:.055em!important;text-transform:uppercase!important;border-bottom:1px solid #e8eef5!important}
.scso-purchase-plan-table--clean td{padding:11px 10px!important;vertical-align:middle!important;font-size:8.5px!important;border-bottom:1px solid #edf1f6!important;overflow:visible!important}
.scso-purchase-plan-table--clean tbody tr:last-child td{border-bottom:0!important}
.scso-purchase-plan-table--clean tbody tr.is-selected{box-shadow:inset 3px 0 0 #2474df!important;background:#fff!important}
.scso-purchase-plan-table--clean tbody tr.is-not-selected{background:#fbfcfd!important}
.scso-purchase-plan-table--clean tbody tr.is-not-selected>td:not(:first-child){opacity:.68!important}
.scso-purchase-plan-table--clean .scso-purchase-select-cell{text-align:center!important}
.scso-purchase-plan-table--clean .scso-purchase-select input{width:15px!important;height:15px!important}
.scso-purchase-plan-table--clean .scso-purchase-item-cell{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
.scso-purchase-plan-table--clean .scso-purchase-item-thumb{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:8px!important;background:#f6f8fb!important}
.scso-purchase-plan-table--clean .scso-purchase-item-copy{display:block!important;min-width:0!important}
.scso-purchase-plan-table--clean .scso-purchase-item-copy>strong{display:block!important;font-size:9px!important;line-height:1.35!important;color:#17304f!important;margin:0 0 3px!important}
.scso-purchase-item-meta{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.scso-purchase-item-meta>span,.scso-purchase-item-meta>a{font-size:7.5px!important;color:#8794a7!important;line-height:1.25!important;margin:0!important}
.scso-purchase-item-meta>a{color:#236ac6!important;font-weight:800!important;text-decoration:none!important}
.scso-purchase-item-meta .dashicons{font-size:10px!important;width:10px!important;height:10px!important;line-height:10px!important}
.scso-purchase-type-tag{display:inline-flex!important;margin-bottom:4px!important;padding:3px 6px!important;font-size:7px!important;border-radius:6px!important}
.scso-purchase-plan-table--clean td small{display:block!important;margin-top:3px!important;font-size:7.3px!important;line-height:1.3!important;color:#8a97a9!important}
.scso-purchase-plan-table--clean .scso-destination-note{margin-top:3px!important;font-size:7px!important;color:#a0aaba!important}
.scso-purchase-plan-table--clean .scso-vendor-name-compact{font-size:8.5px!important;line-height:1.35!important;color:#334964!important;font-weight:700!important}
.scso-purchase-price{font-size:9px!important;color:#153a70!important;white-space:nowrap!important}
.scso-purchase-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;white-space:nowrap!important}
.scso-purchase-row-actions form{margin:0!important;display:inline-flex!important}
.scso-purchase-realize-btn{height:28px!important;min-height:28px!important;padding:0 8px!important;border-radius:7px!important;font-size:7.5px!important;gap:4px!important;white-space:nowrap!important;box-shadow:none!important}
.scso-purchase-realize-btn .dashicons{font-size:11px!important;width:11px!important;height:11px!important;line-height:11px!important}
.scso-icon-btn{width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;border:1px solid #e0e7ef!important;border-radius:7px!important;background:#fff!important;color:#60738d!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:none!important}
.scso-icon-btn:hover{background:#f3f7fc!important;color:#1d5dab!important}
.scso-icon-btn .dashicons{font-size:13px!important;width:13px!important;height:13px!important;line-height:13px!important}
.scso-icon-btn--danger{color:#c75050!important;border-color:#f0dede!important;background:#fffafa!important}
.scso-purchase-plan-table--clean tfoot td{padding:10px!important;background:#f8fafc!important;border-top:1px solid #e3eaf2!important;border-bottom:0!important}
.scso-purchase-plan-table--clean tfoot strong{font-size:9px!important;color:#243c5c!important}
.scso-purchase-plan-table--clean tfoot td:nth-child(6)>strong{font-size:10px!important;color:#123e78!important}
.scso-purchase-selected-summary{display:inline-flex;align-items:center;gap:4px;color:#687990;font-size:8px}.scso-purchase-selected-summary b{color:#173e74;font-size:9px}

.scso-modal-dialog--purchase-realize{width:min(760px,94vw)!important}
.scso-realize-form{margin-top:4px!important}
.scso-realize-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;padding:10px 12px;border:1px solid #e5ecf4;border-radius:10px;background:#f8fafc}
.scso-realize-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.scso-realize-summary span{font-size:9px;font-weight:700;color:#7b899d}.scso-realize-summary strong{font-size:11px;color:#163e75}
.scso-realization-grid.scso-realization-grid--modal{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.scso-realization-grid--modal label{display:grid!important;gap:5px!important}.scso-realization-grid--modal label span{font-size:8px!important;font-weight:800!important;color:#677a94!important}
.scso-realization-grid--modal input,.scso-realization-grid--modal select{width:100%!important;height:38px!important;min-width:0!important;padding:7px 9px!important;border-radius:8px!important;font-size:9px!important;background:#fff!important}
.scso-realize-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid #e7edf4}
.scso-realize-footer .scso-realization-total{margin:0!important;min-width:200px!important;padding:9px 11px!important;border-radius:9px!important}.scso-realize-footer .scso-realization-total span{font-size:8px!important}.scso-realize-footer .scso-realization-total strong{font-size:11px!important}
.scso-realize-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.scso-realize-footer-actions .scso-btn{height:34px!important;min-height:34px!important;padding:0 12px!important;border-radius:8px!important;font-size:8px!important}

.scso-purchase-pagination-wrap{padding:12px 18px 15px!important;gap:6px!important;background:#fff!important}
.scso-purchase-pagination{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important}
.scso-purchase-pagination a,.scso-purchase-pagination span{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;min-width:28px!important;padding:0 7px!important;border:1px solid #e0e7f0!important;border-radius:7px!important;background:#fff!important;color:#526783!important;font-size:8px!important;font-weight:800!important;text-decoration:none!important}
.scso-purchase-pagination a.active{background:#153f7a!important;border-color:#153f7a!important;color:#fff!important}
.scso-purchase-pagination .scso-page-nav{min-width:58px!important;width:auto!important}
.scso-purchase-pagination .is-disabled{opacity:.4!important;cursor:not-allowed!important;background:#f6f8fa!important}

@media(max-width:1120px){
 .scso-purchase-plan-table.scso-purchase-plan-table--clean{min-width:900px!important}
 .scso-purchase-plan-table--clean .scso-col-item{width:29%!important}
 .scso-purchase-plan-table--clean .scso-col-action{width:18%!important}
}
@media(max-width:760px){
 .scso-purchase-checklist-card>.scso-card-head{padding:16px!important}
 .scso-purchase-head-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
 .scso-purchase-action-buttons{width:max-content!important;max-width:100%!important;overflow-x:auto!important}
 .scso-purchase-estimate{width:100%!important;text-align:left!important}
 .scso-purchase-search{align-items:stretch!important;flex-direction:column!important}
 .scso-purchase-search-box{max-width:none!important;width:100%!important}
 .scso-purchase-selection-help--clean{display:block!important}.scso-purchase-selection-help--clean span+span{margin-left:10px}
 .scso-purchase-plan-table.scso-purchase-plan-table--clean{min-width:860px!important}
 .scso-realization-grid.scso-realization-grid--modal{grid-template-columns:1fr!important}
 .scso-realize-footer{align-items:stretch!important;flex-direction:column!important}.scso-realize-footer .scso-realization-total{min-width:0!important}.scso-realize-footer-actions{width:100%!important}.scso-realize-footer-actions .scso-btn{flex:1!important}
}

/* v0.15.22 — restore purchase detail visibility without crowding the main table */
.scso-purchase-plan-table--restored .scso-col-select{width:4%!important}
.scso-purchase-plan-table--restored .scso-col-item{width:27%!important}
.scso-purchase-plan-table--restored .scso-col-category{width:14%!important}
.scso-purchase-plan-table--restored .scso-col-vendor{width:12%!important}
.scso-purchase-plan-table--restored .scso-col-qty{width:8%!important}
.scso-purchase-plan-table--restored .scso-col-stock{width:11%!important}
.scso-purchase-plan-table--restored .scso-col-estimate{width:10%!important}
.scso-purchase-plan-table--restored .scso-col-action{width:14%!important}
.scso-purchase-detail-btn{height:28px!important;min-height:28px!important;padding:0 8px!important;border-radius:7px!important;font-size:7.5px!important;gap:4px!important;white-space:nowrap!important;box-shadow:none!important}
.scso-purchase-detail-btn .dashicons{font-size:11px!important;width:11px!important;height:11px!important;line-height:11px!important}
.scso-purchase-detail-btn.is-open{background:#173d72!important}
.scso-purchase-detail-row>td{padding:0!important;background:#f7faff!important;border-bottom:1px solid #dfe8f4!important;opacity:1!important}
.scso-purchase-detail-row[hidden]{display:none!important}
.scso-purchase-detail-panel{padding:14px 18px 16px;border-left:3px solid #2874df;background:linear-gradient(180deg,#f8fbff 0%,#f4f8fd 100%)}
.scso-purchase-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:11px;padding-bottom:9px;border-bottom:1px solid #dfe7f1}
.scso-purchase-detail-head>div:first-child{display:grid;gap:3px}
.scso-purchase-detail-head span{font-size:7.5px;font-weight:800;letter-spacing:.08em;color:#71829a}
.scso-purchase-detail-head strong{font-size:10px;color:#183653}
.scso-purchase-detail-summary{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.scso-purchase-detail-summary span{font-size:8px;font-weight:700;color:#6f7f94;letter-spacing:0}
.scso-purchase-detail-summary b{color:#173e74;margin-left:4px}
.scso-realization-grid--inline{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.scso-realize-form--inline .scso-realization-grid label span{font-size:7.5px!important}
.scso-realize-form--inline .scso-realization-grid input,.scso-realize-form--inline .scso-realization-grid select{height:31px!important;padding:5px 7px!important;font-size:8px!important;background:#fff!important}
.scso-purchase-detail-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #dfe7f1}
.scso-purchase-detail-footer .scso-realization-total{width:220px;margin:0!important;padding:7px 10px!important;background:#fff!important}
.scso-confirm-purchase-btn{height:31px!important;min-height:31px!important;padding:0 11px!important;font-size:8px!important;box-shadow:none!important}
.scso-confirm-purchase-btn .dashicons{font-size:12px;width:12px;height:12px;line-height:12px}
@media(max-width:1180px){.scso-purchase-plan-table.scso-purchase-plan-table--restored{min-width:1050px!important}.scso-realization-grid--inline{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){.scso-purchase-plan-table.scso-purchase-plan-table--restored{min-width:980px!important}.scso-realization-grid--inline{grid-template-columns:1fr 1fr!important}.scso-purchase-detail-head,.scso-purchase-detail-footer{align-items:stretch;flex-direction:column}.scso-purchase-detail-footer .scso-realization-total{width:100%}}


/* v0.15.23 — desktop readability pass for Purchase Checklist */
.scso-purchase-checklist-card .scso-card-head h3{font-size:18px!important;line-height:1.3!important}
.scso-purchase-checklist-card .scso-purchase-card-note{font-size:11px!important;line-height:1.55!important}
.scso-purchase-selection-help--clean{font-size:10px!important;line-height:1.45!important}
.scso-purchase-selection-help--clean b{font-size:10px!important}

.scso-purchase-search input[type=search]{font-size:11px!important}
.scso-purchase-search .scso-btn,.scso-purchase-search-reset{font-size:10px!important;font-weight:800!important}
.scso-purchase-search>small{font-size:10px!important}

.scso-purchase-plan-table--clean th{font-size:9.5px!important;line-height:1.25!important;letter-spacing:.045em!important;padding:11px 10px!important}
.scso-purchase-plan-table--clean td{font-size:11px!important;line-height:1.42!important;padding:12px 10px!important}
.scso-purchase-plan-table--clean .scso-purchase-item-copy>strong{font-size:12px!important;line-height:1.38!important;margin-bottom:4px!important}
.scso-purchase-item-meta>span,.scso-purchase-item-meta>a{font-size:9.5px!important;line-height:1.35!important}
.scso-purchase-item-meta .dashicons{font-size:12px!important;width:12px!important;height:12px!important;line-height:12px!important}
.scso-purchase-type-tag{font-size:9px!important;line-height:1.2!important;padding:4px 7px!important}
.scso-purchase-plan-table--clean td small{font-size:9.5px!important;line-height:1.4!important;margin-top:4px!important}
.scso-purchase-plan-table--clean .scso-destination-note{font-size:9px!important;line-height:1.35!important}
.scso-purchase-plan-table--clean .scso-vendor-name-compact{font-size:11px!important;line-height:1.4!important}
.scso-purchase-price{font-size:11.5px!important;line-height:1.35!important}
.scso-purchase-plan-table--clean tfoot strong{font-size:10.5px!important}
.scso-purchase-plan-table--clean tfoot td:nth-child(7)>strong,.scso-purchase-plan-table--clean tfoot td:nth-child(6)>strong{font-size:12px!important}
.scso-purchase-selected-summary{font-size:10px!important;line-height:1.4!important}
.scso-purchase-selected-summary b{font-size:11px!important}

.scso-purchase-detail-btn{height:31px!important;min-height:31px!important;padding:0 10px!important;font-size:9.5px!important}
.scso-purchase-detail-btn .dashicons{font-size:13px!important;width:13px!important;height:13px!important;line-height:13px!important}
.scso-icon-btn{width:31px!important;height:31px!important;min-width:31px!important}
.scso-icon-btn .dashicons{font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important}

.scso-purchase-detail-head span{font-size:9.5px!important}
.scso-purchase-detail-head strong{font-size:12.5px!important;line-height:1.4!important}
.scso-purchase-detail-summary span{font-size:10px!important;line-height:1.4!important}
.scso-realize-form--inline .scso-realization-grid label span{font-size:9.5px!important;line-height:1.35!important}
.scso-realize-form--inline .scso-realization-grid input,.scso-realize-form--inline .scso-realization-grid select{height:35px!important;padding:6px 8px!important;font-size:10.5px!important}
.scso-purchase-detail-footer .scso-realization-total span{font-size:10px!important}
.scso-purchase-detail-footer .scso-realization-total strong{font-size:12px!important}
.scso-confirm-purchase-btn{height:34px!important;min-height:34px!important;padding:0 13px!important;font-size:10px!important}
.scso-confirm-purchase-btn .dashicons{font-size:14px!important;width:14px!important;height:14px!important;line-height:14px!important}

.scso-purchase-pagination-wrap>small{font-size:10px!important;line-height:1.4!important}
.scso-purchase-pagination a,.scso-purchase-pagination span{height:32px!important;min-width:32px!important;font-size:10px!important}
.scso-purchase-pagination .scso-page-nav{min-width:66px!important}

/* Header toolbar stays compact but readable. */
.scso-purchase-action-buttons .scso-btn{font-size:9.5px!important;line-height:1.2!important}
.scso-purchase-estimate>span{font-size:9.5px!important}
.scso-purchase-estimate>strong{font-size:16px!important}
.scso-purchase-estimate>small{font-size:9px!important}

@media(max-width:1180px){
 .scso-purchase-plan-table.scso-purchase-plan-table--restored{min-width:1120px!important}
}
@media(max-width:680px){
 .scso-purchase-plan-table.scso-purchase-plan-table--restored{min-width:1040px!important}
}

/* v0.15.25 — Purchase Checklist search + type/category/vendor filter toolbar */
.scso-purchase-filterbar{
  display:grid;
  grid-template-columns:minmax(260px,1.55fr) minmax(145px,.72fr) minmax(165px,.85fr) minmax(165px,.85fr) auto;
  align-items:end;
  gap:10px;
  padding:14px 18px 10px;
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  background:#fbfcfe;
}
.scso-purchase-filterbar label{display:grid;gap:5px;min-width:0;margin:0!important}
.scso-purchase-filterbar label>span{font-size:9.5px;font-weight:800;color:#65758c;line-height:1.2}
.scso-purchase-filterbar select,.scso-purchase-filterbar input[type=search]{
  width:100%!important;
  height:38px!important;
  min-width:0!important;
  padding:0 11px!important;
  border:1px solid #dce4ee!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#20324d!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
.scso-purchase-filterbar select{padding-right:30px!important}
.scso-purchase-filterbar__search{position:relative;min-width:0}
.scso-purchase-filterbar__search>.dashicons{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:2;color:#7f90a8;font-size:16px;width:16px;height:16px;line-height:16px;pointer-events:none}
.scso-purchase-filterbar__search input[type=search]{padding-left:38px!important}
.scso-purchase-filterbar__actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.scso-purchase-filterbar__actions .scso-btn{height:38px!important;min-height:38px!important;padding:0 12px!important;border-radius:9px!important;font-size:9.5px!important;gap:5px!important;box-shadow:none!important}
.scso-purchase-filterbar__actions .dashicons{font-size:14px!important;width:14px!important;height:14px!important;line-height:14px!important}
.scso-purchase-filter-reset{text-decoration:none!important}
.scso-purchase-filterbar__result{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:16px;color:#7b899c;font-size:9.5px;line-height:1.35}
.scso-purchase-filterbar__result strong{color:#234a7e;font-size:10.5px}
.scso-purchase-filterbar select:focus,.scso-purchase-filterbar input[type=search]:focus{border-color:#7fa9e8!important;box-shadow:0 0 0 3px rgba(37,116,217,.08)!important;outline:none!important}

@media(max-width:1180px){
 .scso-purchase-filterbar{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(150px,.8fr));}
 .scso-purchase-filterbar label:nth-of-type(3){grid-column:1/2}
 .scso-purchase-filterbar__actions{grid-column:2/4;justify-content:flex-end}
 .scso-purchase-filterbar__result{grid-column:1/-1}
}
@media(max-width:760px){
 .scso-purchase-filterbar{grid-template-columns:1fr 1fr;padding:12px 14px;gap:9px}
 .scso-purchase-filterbar__search{grid-column:1/-1}
 .scso-purchase-filterbar label:nth-of-type(1),.scso-purchase-filterbar label:nth-of-type(2),.scso-purchase-filterbar label:nth-of-type(3){grid-column:auto}
 .scso-purchase-filterbar label:nth-of-type(3){grid-column:1/-1}
 .scso-purchase-filterbar__actions{grid-column:1/-1;justify-content:stretch}
 .scso-purchase-filterbar__actions .scso-btn{flex:1;justify-content:center}
 .scso-purchase-filterbar__result{grid-column:1/-1;justify-content:center}
}
@media(max-width:480px){
 .scso-purchase-filterbar{grid-template-columns:1fr}
 .scso-purchase-filterbar__search,.scso-purchase-filterbar label,.scso-purchase-filterbar label:nth-of-type(3),.scso-purchase-filterbar__actions,.scso-purchase-filterbar__result{grid-column:1!important}
}

/* v0.15.26 — clear product link + image controls in Vendor Catalog */
.scso-vendor-item-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 16px!important;align-items:end!important}
.scso-vendor-item-media{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);gap:14px 18px;padding:14px;border:1px solid #cfdcf0;border-radius:14px;background:#f6f9fe;box-shadow:inset 3px 0 0 #2563eb}
.scso-vendor-item-media-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:10px;border-bottom:1px solid #dfe7f3}
.scso-vendor-item-media-head>div{display:grid;gap:2px}
.scso-vendor-item-media-head span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#2563eb}
.scso-vendor-item-media-head strong{font-size:13px;color:#132d52}
.scso-vendor-item-media-head small{font-size:9px;color:#718198;text-align:right}
.scso-vendor-item-url-field{display:grid!important;align-content:start;gap:6px!important;font-size:10px!important;font-weight:800!important;color:#53647b!important}
.scso-vendor-item-url-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.scso-vendor-item-url-actions input{margin:0!important;height:40px!important;background:#fff!important}
.scso-vendor-fetch-thumb{height:40px!important;min-height:40px!important;padding:0 12px!important;white-space:nowrap;box-shadow:none!important}
.scso-vendor-fetch-thumb .dashicons{font-size:15px;width:15px;height:15px;line-height:15px}
.scso-vendor-item-url-field>small{font-size:9px!important;font-weight:600!important;line-height:1.35;color:#7c8da5!important;text-transform:none;letter-spacing:0}
.scso-vendor-item-thumb-field{position:relative;display:grid!important;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:10px;align-items:center!important;align-self:stretch}
.scso-vendor-item-thumb-field>.scso-vendor-item-thumb-preview{grid-row:1/4;grid-column:1;width:76px;height:76px;border:1px solid #cedaea;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#9aaac0}
.scso-vendor-item-thumb-preview img{width:100%;height:100%;object-fit:cover;display:block}
.scso-vendor-item-upload-label{grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;min-height:36px;padding:0 11px;border:1px solid #cbd8e9;border-radius:9px;background:#fff;color:#193b6a;font-size:10px;font-weight:800;cursor:pointer}
.scso-vendor-item-upload-label .dashicons{font-size:15px;width:15px;height:15px;line-height:15px}
.scso-vendor-item-thumb-field>input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
.scso-vendor-item-thumb-field>small{grid-column:2;display:block;margin-top:4px;color:#7f8ea3;font-size:9px!important;font-weight:600!important;line-height:1.35;text-transform:none;letter-spacing:0}
.scso-vendor-item-row>label:nth-of-type(2),.scso-vendor-item-row>label:nth-of-type(6),.scso-vendor-item-row>label:nth-of-type(12),.scso-vendor-item-row>label:nth-of-type(13){grid-column:auto!important}
@media(max-width:900px){
 .scso-vendor-item-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .scso-vendor-item-media{grid-template-columns:1fr!important}
 .scso-vendor-item-media-head{grid-column:1!important}
}
@media(max-width:600px){
 .scso-vendor-item-row{grid-template-columns:1fr!important;padding:12px!important}
 .scso-vendor-item-media{grid-column:1!important;padding:12px}
 .scso-vendor-item-media-head{align-items:flex-start;flex-direction:column}
 .scso-vendor-item-media-head small{text-align:left}
 .scso-vendor-item-url-actions{grid-template-columns:1fr}
 .scso-vendor-fetch-thumb{width:100%;justify-content:center}
 .scso-vendor-item-thumb-field{grid-template-columns:70px minmax(0,1fr)}
 .scso-vendor-item-thumb-field>.scso-vendor-item-thumb-preview{width:70px;height:70px}
}

/* v0.15.27 — Master Katalog Barang + vendor-catalog purchase picker */
.scso-catalog-filterbar{display:grid;grid-template-columns:minmax(280px,2.2fr) repeat(4,minmax(130px,.8fr)) auto;gap:10px;align-items:end;padding:16px 20px;border-top:1px solid #e8eef6;border-bottom:1px solid #e8eef6;background:#fbfcfe}.scso-catalog-filterbar label{display:grid;gap:5px}.scso-catalog-filterbar label>span{font-size:9px;font-weight:800;color:#708098;text-transform:uppercase;letter-spacing:.04em}.scso-catalog-search{position:relative}.scso-catalog-search>.dashicons{position:absolute;left:12px;bottom:11px;width:16px;height:16px;font-size:16px;color:#8495ad;z-index:2}.scso-catalog-search input{padding-left:36px!important}.scso-catalog-filterbar input,.scso-catalog-filterbar select{height:39px!important;font-size:11px!important}.scso-catalog-filter-actions{display:flex;gap:6px}.scso-catalog-table-wrap{overflow-x:auto}.scso-catalog-table{min-width:980px}.scso-catalog-table th{font-size:10px!important}.scso-catalog-table td{font-size:11px!important;vertical-align:middle}.scso-catalog-item-identity{display:flex;align-items:center;gap:11px;min-width:250px}.scso-catalog-item-identity>div{display:grid;gap:3px}.scso-catalog-item-identity strong{font-size:12px}.scso-catalog-item-identity small{font-size:9.5px;color:#78879b}.scso-catalog-thumb{width:52px;height:52px;flex:0 0 52px;border-radius:11px;overflow:hidden;background:#f3f7fb;border:1px solid #dce5f0;display:flex;align-items:center;justify-content:center}.scso-catalog-thumb img{width:100%;height:100%;object-fit:cover}.scso-catalog-thumb .dashicons{color:#8fa0b6}.scso-stock-ok{color:#12805c}.scso-stock-empty{color:#a35a38}.scso-catalog-detail-row>td{padding:0!important;background:#f8fbff!important}.scso-catalog-detail-panel{padding:16px 20px 20px}.scso-catalog-detail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.scso-catalog-detail-head span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#2b70bd}.scso-catalog-detail-head h4{margin:2px 0 0;font-size:14px}.scso-catalog-offers{display:grid;gap:8px}.scso-catalog-offer{display:grid;grid-template-columns:48px minmax(220px,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #dfe8f3;border-radius:12px;background:#fff}.scso-catalog-offer-media{width:48px;height:48px;border-radius:9px;overflow:hidden;background:#f3f6fa;display:flex;align-items:center;justify-content:center}.scso-catalog-offer-media img{width:100%;height:100%;object-fit:cover}.scso-catalog-offer-copy{display:grid;gap:2px}.scso-catalog-offer-copy strong{font-size:11px}.scso-catalog-offer-copy span,.scso-catalog-offer-copy small{font-size:9.5px}.scso-catalog-offer-price{text-align:right;display:grid;gap:2px}.scso-catalog-offer-price strong{font-size:12px}.scso-catalog-offer-price small{font-size:9px;color:#7d8ca2}.scso-catalog-offer-price a{font-size:9.5px;font-weight:800;text-decoration:none}.scso-catalog-no-offer{padding:14px;border:1px dashed #c9d7e7;border-radius:10px;color:#718198;background:#fff}.scso-catalog-pagination{justify-content:center;margin:16px 0 4px}.scso-page-nav.is-disabled{opacity:.4;pointer-events:none}.scso-purchase-catalog-picker{padding:12px;border:1px solid #d9e5f2;border-radius:12px;background:#f8fbff}.scso-purchase-catalog-picker>select{background:#fff!important}.scso-purchase-catalog-picker small{font-size:9px!important;line-height:1.45;color:#6f7f95!important}.scso-purchase-catalog-search{margin-bottom:7px!important;background:#fff!important}.scso-purchase-catalog-picker.is-empty{border-color:#f0c8a7;background:#fffaf5}
@media(max-width:1180px){.scso-catalog-filterbar{grid-template-columns:1fr 1fr 1fr}.scso-catalog-search{grid-column:1/-1}.scso-catalog-filter-actions{align-self:end}}
@media(max-width:680px){.scso-catalog-filterbar{grid-template-columns:1fr;padding:12px}.scso-catalog-search{grid-column:auto}.scso-catalog-filter-actions{display:grid;grid-template-columns:1fr 1fr}.scso-catalog-offer{grid-template-columns:44px 1fr}.scso-catalog-offer-price{grid-column:2;text-align:left}.scso-catalog-item-identity{min-width:220px}}

/* v0.15.29 — dedicated Vendor View/Edit pages */
.scso-vendor-page{display:grid;gap:18px}
.scso-vendor-page-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.scso-vendor-back{display:inline-flex;align-items:center;gap:7px;color:#4c607c;text-decoration:none;font-size:12px;font-weight:800}
.scso-vendor-back:hover{color:#155fc1}
.scso-vendor-page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.scso-vendor-page-actions .scso-btn{min-width:104px;justify-content:center}
.scso-vendor-view-page,.scso-vendor-edit-page,.scso-vendor-page-section{padding:22px!important;border-radius:18px!important}
.scso-vendor-view-page .scso-vendor-detail-header{padding-bottom:18px;border-bottom:1px solid #e8edf4}
.scso-vendor-view-page .scso-thumb-upload-inline{margin:0 0 16px 108px}
.scso-vendor-edit-page>.scso-card-head{padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e8edf4}
.scso-vendor-edit-page .scso-vendor-form{max-width:none;width:100%}
.scso-vendor-edit-page .scso-vendor-items-builder{margin-top:22px!important}
.scso-vendor-history-total{display:grid;text-align:right;gap:2px}
.scso-vendor-history-total span,.scso-vendor-history-total small{font-size:10px;color:#8493a8}
.scso-vendor-history-total strong{font-size:18px;color:#102458}
.scso-vendor-purchase-history{min-width:900px}
.scso-vendor-purchase-history th{font-size:9px!important;letter-spacing:.08em!important}
.scso-vendor-purchase-history td{vertical-align:top!important}
.scso-vendor-purchase-history td>strong{display:block;color:#18355c}
.scso-vendor-purchase-history td small{display:block;margin-top:4px;color:#7d8da4;line-height:1.45}
.scso-vendor-note-card{background:linear-gradient(180deg,#fff,#fbfcfe)!important}
.scso-vendor-note-body{min-height:76px;padding:16px 18px;border:1px solid #e2e9f2;border-radius:14px;background:#f8fafc;color:#40506c;font-size:12px;line-height:1.7;white-space:normal}
.scso-vendor-page .scso-vendor-detail-panel{padding-top:4px}
.scso-vendor-page .scso-vendor-detail-tabs{margin-top:20px}
.scso-vendor-page .scso-vendor-detail-grid{margin-top:18px}
.scso-vendor-page .scso-order-history-head{margin-top:4px}
@media(max-width:820px){.scso-vendor-view-page,.scso-vendor-edit-page,.scso-vendor-page-section{padding:16px!important}.scso-vendor-view-page .scso-thumb-upload-inline{margin-left:0}.scso-vendor-history-total{text-align:left}.scso-vendor-page-top{align-items:stretch}.scso-vendor-page-actions{width:100%}.scso-vendor-page-actions .scso-btn{flex:1}}
@media(max-width:600px){.scso-vendor-page-actions{display:grid;grid-template-columns:1fr 1fr}.scso-vendor-page-actions .scso-btn{width:100%}.scso-vendor-note-body{font-size:11px}.scso-vendor-purchase-history{min-width:780px}}

/* v0.15.30 — structured Vendor Catalog item cards */
.scso-vendor-item-list{display:grid;gap:18px;counter-reset:scsoVendorItem}
.scso-vendor-item-row{
 counter-increment:scsoVendorItem;
 display:grid!important;
 grid-template-columns:1fr!important;
 gap:0!important;
 padding:0!important;
 margin:0!important;
 border:1px solid #dce5f0!important;
 border-radius:18px!important;
 background:#fff!important;
 box-shadow:0 8px 24px rgba(16,36,88,.055)!important;
 overflow:hidden!important;
 align-items:stretch!important;
}
.scso-vendor-item-card-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;background:#f8faff;border-bottom:1px solid #dfe7f1}
.scso-vendor-item-card-head>div{display:grid;gap:2px;min-width:0}
.scso-vendor-item-index{font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#2563eb}
.scso-vendor-item-index::after{content:" #" counter(scsoVendorItem)}
.scso-vendor-item-card-head strong{font-size:14px;line-height:1.35;color:#102b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scso-vendor-item-card-head small{font-size:9.5px;color:#7b8ba2;line-height:1.4}
.scso-vendor-item-remove{position:static!important;display:inline-grid!important;place-items:center;flex:0 0 34px;width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;border-radius:9px!important;border:1px solid #f0cfd3!important;background:#fff7f8!important;color:#c63d4d!important;font-size:19px!important;line-height:1!important}
.scso-vendor-item-remove:hover{background:#ffecef!important;border-color:#e9aeb6!important}
.scso-vendor-item-section{grid-column:1/-1;padding:18px 20px;border-bottom:1px solid #e7edf4;background:#fff}
.scso-vendor-item-section:last-child{border-bottom:0}
.scso-vendor-item-section--media{background:#f8fbff}
.scso-vendor-item-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.scso-vendor-item-section-title>span{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#eaf2ff;color:#1f63c6;font-size:9px;font-weight:900}
.scso-vendor-item-section-title>div{display:grid;gap:1px}
.scso-vendor-item-section-title strong{font-size:12px;color:#17345d}
.scso-vendor-item-section-title small{font-size:9.5px;color:#8492a7}
.scso-vendor-item-fields{display:grid;gap:12px 14px;align-items:end}
.scso-vendor-item-fields--identity{grid-template-columns:minmax(120px,.75fr) minmax(220px,1.65fr) minmax(150px,1fr) minmax(160px,1fr) minmax(140px,.9fr)}
.scso-vendor-item-fields--spec{grid-template-columns:repeat(5,minmax(110px,1fr))}
.scso-vendor-item-fields--spec .scso-vendor-field-wide:first-of-type{grid-column:span 3}
.scso-vendor-item-fields--spec .scso-vendor-field-wide:last-of-type{grid-column:span 2}
.scso-vendor-item-row label,.scso-vendor-item-fields label{display:grid!important;gap:6px!important;margin:0!important;min-width:0!important;width:100%!important;font-size:10px!important;font-weight:800!important;letter-spacing:.02em!important;color:#607189!important;text-transform:none!important}
.scso-vendor-item-row input,.scso-vendor-item-row select{width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;margin:0!important;padding:0 11px!important;border:1px solid #d9e3ef!important;border-radius:10px!important;background:#fff!important;font-size:11px!important;color:#17304f!important;box-shadow:none!important}
.scso-vendor-item-row input:focus,.scso-vendor-item-row select:focus{border-color:#7aa9e8!important;box-shadow:0 0 0 3px rgba(37,99,235,.08)!important;outline:0!important}
.scso-vendor-item-section--media .scso-vendor-item-media{grid-column:auto!important;display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(290px,.8fr)!important;gap:16px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.scso-vendor-item-section--media .scso-vendor-item-url-field,.scso-vendor-item-section--media .scso-vendor-item-thumb-field{align-self:stretch}
.scso-vendor-item-url-actions{margin-top:0}
.scso-vendor-item-thumb-field>.scso-vendor-item-thumb-preview{width:82px;height:82px;border-radius:12px}
.scso-vendor-item-upload-label{min-height:38px}
.scso-vendor-builder-pagination{margin-top:18px}
@media(max-width:1180px){
 .scso-vendor-item-fields--identity{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scso-vendor-item-fields--identity .scso-vendor-field-name{grid-column:span 2}
 .scso-vendor-item-fields--spec{grid-template-columns:repeat(3,minmax(0,1fr))}
 .scso-vendor-item-fields--spec .scso-vendor-field-wide:first-of-type{grid-column:span 2}
 .scso-vendor-item-fields--spec .scso-vendor-field-wide:last-of-type{grid-column:span 1}
 .scso-vendor-item-section--media .scso-vendor-item-media{grid-template-columns:1fr!important}
}
@media(max-width:680px){
 .scso-vendor-item-list{gap:14px}
 .scso-vendor-item-card-head{padding:13px 14px;align-items:flex-start}
 .scso-vendor-item-card-head strong{font-size:12.5px;white-space:normal}
 .scso-vendor-item-section{padding:15px 14px}
 .scso-vendor-item-fields--identity,.scso-vendor-item-fields--spec{grid-template-columns:1fr!important}
 .scso-vendor-item-fields--identity .scso-vendor-field-name,.scso-vendor-item-fields--spec .scso-vendor-field-wide{grid-column:1!important}
 .scso-vendor-item-section--media .scso-vendor-item-media{grid-template-columns:1fr!important}
 .scso-vendor-item-url-actions{grid-template-columns:1fr!important}
 .scso-vendor-fetch-thumb{width:100%!important;justify-content:center}
}

/* v0.15.31 — compact refinement for Vendor Catalog cards */
.scso-vendor-item-list{gap:14px!important}
.scso-vendor-item-row{border-color:#d5e0ed!important;border-radius:16px!important;box-shadow:0 5px 16px rgba(16,36,88,.04)!important}
.scso-vendor-item-card-head{padding:12px 16px!important;background:#f7f9fc!important;border-bottom-color:#dbe5f0!important}
.scso-vendor-item-card-head>div{gap:1px!important}
.scso-vendor-item-index{font-size:8.5px!important}
.scso-vendor-item-card-head strong{font-size:13px!important}
.scso-vendor-item-card-head small{font-size:9px!important}
.scso-vendor-item-section{padding:13px 16px!important;border-bottom-color:#e2e9f2!important}
.scso-vendor-item-section--media{background:#f9fbfe!important}
.scso-vendor-item-section-title{margin-bottom:10px!important;gap:9px!important}
.scso-vendor-item-section-title>span{width:26px!important;height:26px!important;flex-basis:26px!important;border-radius:8px!important}
.scso-vendor-item-section-title strong{font-size:11.5px!important}
.scso-vendor-item-section-title small{font-size:9px!important}
.scso-vendor-item-fields{gap:10px 12px!important}
.scso-vendor-item-fields--identity{grid-template-columns:repeat(12,minmax(0,1fr))!important}
.scso-vendor-item-fields--identity .scso-vendor-field-type{grid-column:span 2}
.scso-vendor-item-fields--identity .scso-vendor-field-name{grid-column:span 4}
.scso-vendor-item-fields--identity .scso-vendor-field-category{grid-column:span 2}
.scso-vendor-item-fields--identity .scso-vendor-field-tags{grid-column:span 2}
.scso-vendor-item-fields--identity .scso-vendor-field-source{grid-column:span 2}
.scso-vendor-item-fields--spec{grid-template-columns:repeat(12,minmax(0,1fr))!important}
.scso-vendor-item-fields--spec .scso-vendor-field-size{grid-column:span 2}
.scso-vendor-item-fields--spec .scso-vendor-field-thickness{grid-column:span 2}
.scso-vendor-item-fields--spec .scso-vendor-field-pack{grid-column:span 2}
.scso-vendor-item-fields--spec .scso-vendor-field-unit{grid-column:span 2}
.scso-vendor-item-fields--spec .scso-vendor-field-price{grid-column:span 4}
.scso-vendor-item-fields--spec .scso-vendor-field-spec{grid-column:span 5}
.scso-vendor-item-fields--spec .scso-vendor-field-notes{grid-column:span 7}
.scso-vendor-item-row label,.scso-vendor-item-fields label{gap:5px!important;font-size:9.5px!important}
.scso-vendor-item-row input,.scso-vendor-item-row select{height:39px!important;padding:0 10px!important;border-radius:9px!important;font-size:10.5px!important}
.scso-vendor-item-section--media .scso-vendor-item-media{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
.scso-vendor-item-media-thumb{display:grid;gap:6px;align-content:start}
.scso-vendor-media-label{font-size:9.5px;font-weight:800;color:#607189}
.scso-vendor-item-media-thumb .scso-vendor-item-thumb-preview{width:120px!important;height:120px!important;border:1px solid #d5dfec!important;border-radius:13px!important;background:#fff!important;display:grid!important;place-items:center!important;overflow:hidden!important;color:#9aaac0}
.scso-vendor-item-media-thumb .scso-vendor-item-thumb-preview img{width:100%;height:100%;object-fit:cover;display:block}
.scso-vendor-item-media-main{display:grid;gap:10px;min-width:0;align-content:start}
.scso-vendor-item-url-actions{grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
.scso-vendor-item-url-actions input{height:39px!important}
.scso-vendor-fetch-thumb{height:39px!important;min-height:39px!important;padding:0 11px!important;font-size:10px!important;border-radius:9px!important}
.scso-vendor-item-url-field>small{font-size:8.8px!important;margin-top:1px!important}
.scso-vendor-item-media-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:36px}
.scso-vendor-item-upload-label{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-height:36px!important;padding:0 11px!important;border:1px solid #cbd8e9!important;border-radius:9px!important;background:#fff!important;color:#193b6a!important;font-size:9.5px!important;font-weight:800!important;cursor:pointer!important}
.scso-vendor-item-upload-label input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
.scso-vendor-item-media-actions>small{font-size:8.8px!important;font-weight:600!important;color:#7f8ea3!important;line-height:1.4!important;flex:1;min-width:220px}
.scso-vendor-price-input{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:stretch}
.scso-vendor-price-input>span{display:grid;place-items:center;border:1px solid #d9e3ef;border-right:0;border-radius:9px 0 0 9px;background:#f5f8fc;color:#52657f;font-size:10px;font-weight:900}
.scso-vendor-price-input>input{border-radius:0 9px 9px 0!important}
.scso-vendor-price-preview{display:block!important;margin-top:1px!important;color:#2563a9!important;font-size:9px!important;font-weight:800!important;line-height:1.2!important}
.scso-vendor-item-remove{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important;font-size:18px!important}
@media(max-width:1180px){
 .scso-vendor-item-fields--identity,.scso-vendor-item-fields--spec{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 .scso-vendor-item-fields--identity .scso-vendor-field-type{grid-column:span 2}.scso-vendor-item-fields--identity .scso-vendor-field-name{grid-column:span 4}.scso-vendor-item-fields--identity .scso-vendor-field-category,.scso-vendor-item-fields--identity .scso-vendor-field-tags,.scso-vendor-item-fields--identity .scso-vendor-field-source{grid-column:span 2}
 .scso-vendor-item-fields--spec .scso-vendor-field-size,.scso-vendor-item-fields--spec .scso-vendor-field-thickness,.scso-vendor-item-fields--spec .scso-vendor-field-pack,.scso-vendor-item-fields--spec .scso-vendor-field-unit{grid-column:span 2}.scso-vendor-item-fields--spec .scso-vendor-field-price{grid-column:span 4}.scso-vendor-item-fields--spec .scso-vendor-field-spec,.scso-vendor-item-fields--spec .scso-vendor-field-notes{grid-column:span 3}
}
@media(max-width:760px){
 .scso-vendor-item-section{padding:12px!important}
 .scso-vendor-item-fields--identity,.scso-vendor-item-fields--spec{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .scso-vendor-item-fields--identity>label,.scso-vendor-item-fields--spec>label{grid-column:span 1!important}
 .scso-vendor-item-fields--identity .scso-vendor-field-name,.scso-vendor-item-fields--spec .scso-vendor-field-price,.scso-vendor-item-fields--spec .scso-vendor-field-spec,.scso-vendor-item-fields--spec .scso-vendor-field-notes{grid-column:1/-1!important}
 .scso-vendor-item-section--media .scso-vendor-item-media{grid-template-columns:104px minmax(0,1fr)!important}
 .scso-vendor-item-media-thumb .scso-vendor-item-thumb-preview{width:98px!important;height:98px!important}
 .scso-vendor-item-url-actions{grid-template-columns:1fr!important}
 .scso-vendor-fetch-thumb{width:100%!important;justify-content:center!important}
}
@media(max-width:520px){
 .scso-vendor-item-card-head{padding:11px 12px!important}
 .scso-vendor-item-fields--identity,.scso-vendor-item-fields--spec{grid-template-columns:1fr!important}
 .scso-vendor-item-fields--identity>label,.scso-vendor-item-fields--spec>label{grid-column:1!important}
 .scso-vendor-item-section--media .scso-vendor-item-media{grid-template-columns:1fr!important}
 .scso-vendor-item-media-thumb{grid-template-columns:92px minmax(0,1fr);align-items:start}
 .scso-vendor-media-label{grid-column:1/-1}
 .scso-vendor-item-media-thumb .scso-vendor-item-thumb-preview{width:92px!important;height:92px!important}
 .scso-vendor-item-media-actions{align-items:flex-start;flex-direction:column}
 .scso-vendor-item-media-actions>small{min-width:0}
}

/* v0.15.32 — Vendor Catalog two-column editor: media left, product details right */
.scso-vendor-item-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #d8e2ee!important;
  border-radius:16px!important;
  box-shadow:0 5px 18px rgba(16,36,88,.045)!important;
  align-items:stretch!important;
}
.scso-vendor-item-main-grid{
  display:grid;
  grid-template-columns:minmax(220px,260px) minmax(0,1fr);
  gap:0;
  align-items:stretch;
  border-bottom:1px solid #e4eaf2;
}
.scso-vendor-item-media-panel{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px;
  background:#f7faff;
  border-right:1px solid #e1e8f1;
  min-width:0;
}
.scso-vendor-panel-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#64758d;
}
.scso-vendor-item-thumb-preview--large{
  width:100%!important;
  max-width:224px!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  margin:0 auto!important;
  border:1px solid #d4deeb!important;
  border-radius:14px!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}
.scso-vendor-item-thumb-preview--large img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
}
.scso-vendor-item-thumb-preview--large .dashicons{
  width:34px!important;
  height:34px!important;
  font-size:34px!important;
  line-height:34px!important;
  color:#9aacbf!important;
}
.scso-vendor-item-upload-label--block{
  width:100%!important;
  min-height:40px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:0!important;
  background:#fff!important;
}
.scso-vendor-thumb-help{
  display:block;
  font-size:9px!important;
  line-height:1.45!important;
  color:#8190a5!important;
  font-weight:600!important;
}
.scso-vendor-item-detail-panel{
  min-width:0;
  padding:18px 20px;
  background:#fff;
}
.scso-vendor-item-detail-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom:1px solid #edf1f6;
}
.scso-vendor-item-detail-head>div{display:grid;gap:2px}
.scso-vendor-item-detail-head strong{font-size:12.5px;color:#17345d}
.scso-vendor-item-detail-head small{font-size:9px;color:#8391a6}
.scso-vendor-item-detail-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:11px 12px;
  align-items:start;
}
.scso-vendor-item-detail-grid>label{width:100%!important;min-width:0!important;margin:0!important;display:grid!important;gap:5px!important;font-size:9.5px!important}
.scso-vendor-item-detail-grid input,.scso-vendor-item-detail-grid select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:40px!important;
  padding:0 10px!important;
  margin:0!important;
  border-radius:9px!important;
  font-size:10.5px!important;
}
.scso-vendor-item-detail-grid .scso-vendor-field-type{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-name{grid-column:span 5}
.scso-vendor-item-detail-grid .scso-vendor-field-category{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-tags{grid-column:span 3}
.scso-vendor-item-detail-grid .scso-vendor-field-source{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-url{grid-column:span 10}
.scso-vendor-item-detail-grid .scso-vendor-field-size{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-thickness{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-pack{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-unit{grid-column:span 2}
.scso-vendor-item-detail-grid .scso-vendor-field-price{grid-column:span 4}
.scso-vendor-item-detail-grid .scso-vendor-field-spec{grid-column:span 12}
.scso-vendor-item-detail-grid .scso-vendor-item-url-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
.scso-vendor-item-detail-grid .scso-vendor-fetch-thumb{height:40px!important;min-height:40px!important;white-space:nowrap!important}
.scso-vendor-item-detail-grid .scso-vendor-field-url>small{font-size:8.8px!important;color:#8090a6!important;font-weight:600!important}
.scso-vendor-item-notes-row{
  padding:14px 18px 16px;
  background:#fbfcfe;
}
.scso-vendor-item-notes-row label{display:grid!important;gap:6px!important;margin:0!important;font-size:9.5px!important;font-weight:800!important;color:#62738a!important}
.scso-vendor-item-notes-row textarea{
  width:100%!important;
  min-height:62px!important;
  resize:vertical!important;
  padding:10px 12px!important;
  border:1px solid #dbe4ef!important;
  border-radius:10px!important;
  background:#fff!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}
.scso-vendor-item-card-head{padding:12px 16px!important}
.scso-vendor-item-row .scso-vendor-item-remove{grid-column:auto!important;justify-self:auto!important;align-self:center!important}
@media(max-width:1080px){
  .scso-vendor-item-main-grid{grid-template-columns:200px minmax(0,1fr)}
  .scso-vendor-item-detail-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .scso-vendor-item-detail-grid .scso-vendor-field-type{grid-column:span 2}
  .scso-vendor-item-detail-grid .scso-vendor-field-name{grid-column:span 4}
  .scso-vendor-item-detail-grid .scso-vendor-field-category,.scso-vendor-item-detail-grid .scso-vendor-field-tags,.scso-vendor-item-detail-grid .scso-vendor-field-source{grid-column:span 2}
  .scso-vendor-item-detail-grid .scso-vendor-field-url{grid-column:1/-1}
  .scso-vendor-item-detail-grid .scso-vendor-field-size,.scso-vendor-item-detail-grid .scso-vendor-field-thickness,.scso-vendor-item-detail-grid .scso-vendor-field-pack,.scso-vendor-item-detail-grid .scso-vendor-field-unit{grid-column:span 2}
  .scso-vendor-item-detail-grid .scso-vendor-field-price{grid-column:span 4}
  .scso-vendor-item-detail-grid .scso-vendor-field-spec{grid-column:1/-1}
}
@media(max-width:760px){
  .scso-vendor-item-main-grid{grid-template-columns:1fr}
  .scso-vendor-item-media-panel{border-right:0;border-bottom:1px solid #e1e8f1}
  .scso-vendor-item-thumb-preview--large{max-width:190px!important}
  .scso-vendor-item-detail-panel{padding:15px}
  .scso-vendor-item-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .scso-vendor-item-detail-grid>label{grid-column:span 1!important}
  .scso-vendor-item-detail-grid .scso-vendor-field-name,.scso-vendor-item-detail-grid .scso-vendor-field-url,.scso-vendor-item-detail-grid .scso-vendor-field-price,.scso-vendor-item-detail-grid .scso-vendor-field-spec{grid-column:1/-1!important}
  .scso-vendor-item-notes-row{padding:13px 15px 15px}
}
@media(max-width:520px){
  .scso-vendor-item-detail-grid{grid-template-columns:1fr}
  .scso-vendor-item-detail-grid>label{grid-column:1!important}
  .scso-vendor-item-detail-grid .scso-vendor-item-url-actions{grid-template-columns:1fr!important}
  .scso-vendor-item-detail-grid .scso-vendor-fetch-thumb{width:100%!important;justify-content:center!important}
}


/* v0.15.33 — refined Vendor Catalog image action button */
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block{
  width:100%!important;
  min-height:42px!important;
  padding:0 14px!important;
  margin:0!important;
  border:1px solid #06162f!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#06162f 0%,#091f47 100%)!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  box-shadow:0 5px 14px rgba(6,22,47,.16)!important;
  cursor:pointer!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block,
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block span,
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block .dashicons{
  color:#fff!important;
}
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block .dashicons{
  width:15px!important;
  height:15px!important;
  font-size:15px!important;
  line-height:15px!important;
}
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block:hover{
  filter:brightness(1.08)!important;
  box-shadow:0 7px 18px rgba(6,22,47,.22)!important;
  transform:translateY(-1px)!important;
}
.scso-vendor-item-media-panel .scso-vendor-item-upload-label--block:active{
  transform:translateY(0)!important;
  box-shadow:0 3px 10px rgba(6,22,47,.16)!important;
}


/* v0.15.34 — Katalog Barang table cleanup + flexible price input */
.scso-catalog-filterbar{background:#fff;border:1px solid #e5ecf5;border-radius:16px;box-shadow:0 10px 28px rgba(16,36,88,.04)}
.scso-catalog-filterbar input,.scso-catalog-filterbar select{height:42px!important;border:1px solid #dbe4f0!important;border-radius:11px!important;background:#fff!important}
.scso-catalog-filter-actions .scso-btn{min-height:42px}
.scso-catalog-table{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0}
.scso-catalog-table thead th{padding:13px 14px!important;background:#f7faff!important;border-top:1px solid #e8eef6!important;border-bottom:1px solid #e8eef6!important;font-size:10.5px!important;font-weight:800!important;color:#71839d!important;letter-spacing:.06em;text-transform:uppercase}
.scso-catalog-table thead th:first-child{border-left:1px solid #e8eef6;border-top-left-radius:14px}
.scso-catalog-table thead th:last-child{border-right:1px solid #e8eef6;border-top-right-radius:14px}
.scso-catalog-table tbody td{padding:15px 14px!important;border-bottom:1px solid #edf2f8!important;vertical-align:middle;background:#fff}
.scso-catalog-main-row:hover td{background:#fbfdff}
.scso-catalog-item-identity{gap:12px;min-width:290px}
.scso-catalog-thumb{width:56px;height:56px;flex-basis:56px;border-radius:14px;background:#f6f9fd}
.scso-catalog-item-identity strong{font-size:13px;line-height:1.35;color:#102458}
.scso-catalog-item-identity small{font-size:10px;line-height:1.5;color:#7e8da3}
.scso-catalog-cell-stack{display:grid;gap:4px;min-width:0}
.scso-catalog-cell-stack strong{font-size:12px;line-height:1.35;color:#102458}
.scso-catalog-cell-stack small{font-size:10px;line-height:1.45;color:#7b8aa0}
.scso-catalog-price-cell strong{font-size:13px}
.scso-catalog-price-missing{color:#a36125!important}
.scso-stock-ok{color:#0f7c5a}
.scso-stock-empty{color:#b35c2d}
.scso-catalog-table .scso-action-view{min-height:34px!important;padding:8px 12px!important;border-radius:10px!important;font-size:10.5px!important}
.scso-catalog-table .scso-action-view .dashicons{font-size:14px;width:14px;height:14px;line-height:14px}
.scso-catalog-detail-row>td{padding:0!important;background:#f8fbff!important}
.scso-catalog-detail-panel{padding:18px 18px 20px}
.scso-catalog-offers{gap:10px}
.scso-catalog-offer{grid-template-columns:52px minmax(220px,1fr) auto;gap:14px;padding:12px 14px;border-radius:14px}
.scso-catalog-offer-copy strong{font-size:12px}
.scso-catalog-offer-copy span{font-size:11px;color:#223556}
.scso-catalog-offer-copy small{font-size:10px;color:#8090a7}
.scso-catalog-offer-price strong{font-size:12.5px}
.scso-vendor-price-input input[type=text]{letter-spacing:.01em}
@media(max-width:1180px){.scso-catalog-table{min-width:980px}}
@media(max-width:680px){.scso-catalog-filter-actions{grid-template-columns:1fr 1fr}.scso-catalog-table{min-width:920px}}

/* v0.15.37 — HPP Calculator */
.scso-hpp-title{align-items:end}.scso-hpp-title p{max-width:820px;margin:6px 0 0;color:#718198;line-height:1.6}.scso-hpp-card{padding:0!important;overflow:hidden}.scso-hpp-printer-bar{display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(210px,.7fr) minmax(210px,.7fr);gap:18px;align-items:end;padding:22px 24px;background:linear-gradient(180deg,#f8fbff 0%,#f2f7fd 100%);border-bottom:1px solid #e2eaf4}.scso-hpp-printer-bar h3{margin:4px 0;font-size:18px;color:#102458}.scso-hpp-printer-bar p{margin:0;color:#728299}.scso-hpp-printer-bar label,.scso-hpp-panel label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#53647b}.scso-hpp-printer-bar small,.scso-hpp-panel label small{font-size:9px;font-weight:600;color:#8493a8}.scso-hpp-printer-bar input,.scso-hpp-panel input{width:100%;height:42px;border:1px solid #d8e2ee;border-radius:10px;background:#fff;padding:0 12px;font-size:12px;font-weight:700;color:#13294b}.scso-money-input,.scso-input-suffix{display:flex;align-items:center;border:1px solid #d8e2ee;border-radius:10px;background:#fff;overflow:hidden}.scso-money-input>span,.scso-input-suffix>span{display:flex;align-items:center;align-self:stretch;padding:0 10px;background:#f3f7fb;border-right:1px solid #d8e2ee;font-size:10px;font-weight:900;color:#5d6f87}.scso-input-suffix>span{border-right:0;border-left:1px solid #d8e2ee}.scso-money-input input,.scso-input-suffix input{border:0!important;border-radius:0!important;box-shadow:none!important}.scso-hpp-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px 24px 0}.scso-hpp-panel{padding:18px;border:1px solid #e0e8f2;border-radius:16px;background:#fff}.scso-hpp-panel-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}.scso-hpp-panel-head>span{width:30px;height:30px;border-radius:9px;background:#edf4ff;color:#1764d9;display:grid;place-items:center;font-size:10px;font-weight:900}.scso-hpp-panel-head h4{margin:0 0 3px;font-size:14px;color:#102458}.scso-hpp-panel-head p{margin:0;font-size:10px;color:#7b8aa0}.scso-hpp-form-grid{display:grid;gap:12px}.scso-hpp-form-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.scso-hpp-form-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-hpp-inline-result{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:14px;padding:10px 12px;border-radius:10px;background:#f7faff;border:1px solid #e3ebf5}.scso-hpp-inline-result span{font-size:9px;color:#74849a}.scso-hpp-inline-result strong{font-size:12px;color:#102458}.scso-hpp-ink-panel{margin:16px 24px 0}.scso-hpp-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.scso-hpp-mode-card{padding:15px;border:1px solid #e2e9f2;border-radius:14px;background:#fbfdff}.scso-hpp-mode-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.scso-hpp-mode-title>span{min-width:42px;height:32px;padding:0 8px;border-radius:9px;background:#102458;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}.scso-hpp-mode-title div{display:grid;gap:2px}.scso-hpp-mode-title strong{font-size:12px;color:#102458}.scso-hpp-mode-title small{font-size:9px;color:#7b8aa0}.scso-hpp-mode-result{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid #e7edf5}.scso-hpp-mode-result span{font-size:9px;color:#718198}.scso-hpp-mode-result strong{font-size:13px;color:#102458}.scso-hpp-results{display:grid;grid-template-columns:1fr 1fr .9fr;gap:14px;padding:18px 24px 24px}.scso-hpp-result-card{padding:18px;border-radius:16px;background:linear-gradient(180deg,#06162f 0%,#091f47 100%);color:#fff;display:grid;gap:5px;box-shadow:0 10px 30px rgba(6,22,47,.13)}.scso-hpp-result-card>span{font-size:9px;font-weight:900;letter-spacing:.08em;opacity:.75}.scso-hpp-result-card>strong{font-size:26px;line-height:1.1}.scso-hpp-result-card>small{font-size:10px;opacity:.7}.scso-hpp-result-card>div{display:flex;justify-content:space-between;gap:12px;padding-top:9px;margin-top:5px;border-top:1px solid rgba(255,255,255,.12);font-size:10px}.scso-hpp-result-card>div b{font-size:11px}.scso-hpp-result-card--color{background:linear-gradient(180deg,#103f8f 0%,#0b2d6c 100%)}.scso-hpp-breakdown{padding:16px;border:1px solid #e0e8f2;border-radius:16px;background:#f9fbfe;display:grid;gap:8px}.scso-hpp-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #e9eef5;font-size:10px}.scso-hpp-breakdown>div:last-child{border-bottom:0}.scso-hpp-breakdown span{color:#718198}.scso-hpp-breakdown strong{color:#102458}.scso-hpp-note{margin:0 24px 24px;padding:12px 14px;border:1px solid #d9e6f5;border-radius:12px;background:#f4f9ff;color:#52657e;font-size:10px;line-height:1.6}.scso-hpp-note b,.scso-hpp-note strong{color:#102458}@media(max-width:1080px){.scso-hpp-printer-bar{grid-template-columns:1fr 1fr}.scso-hpp-printer-bar>div{grid-column:1/-1}.scso-hpp-grid,.scso-hpp-results{grid-template-columns:1fr}.scso-hpp-mode-grid{grid-template-columns:1fr}}@media(max-width:680px){.scso-hpp-printer-bar,.scso-hpp-grid,.scso-hpp-results{padding-left:14px;padding-right:14px}.scso-hpp-printer-bar{grid-template-columns:1fr}.scso-hpp-form-grid--3,.scso-hpp-form-grid--2{grid-template-columns:1fr}.scso-hpp-ink-panel{margin-left:14px;margin-right:14px}.scso-hpp-note{margin-left:14px;margin-right:14px}.scso-hpp-result-card>strong{font-size:22px}}


/* v0.15.38 — Universal HPP Calculator */
.scso-hppu-title{align-items:end}.scso-hppu-title p{max-width:900px;margin:6px 0 0;color:#718198;line-height:1.6}.scso-hppu-title-actions{display:flex;gap:8px;flex-wrap:wrap}.scso-hppu-card{padding:0!important;overflow:hidden}.scso-hppu-setup,.scso-hppu-block{padding:20px 24px;border-bottom:1px solid #e6edf6}.scso-hppu-setup{background:linear-gradient(180deg,#f9fbff 0%,#f4f8fd 100%)}.scso-hppu-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.scso-hppu-section-head>div{display:flex;align-items:flex-start;gap:10px}.scso-hppu-section-head>div>span{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#eaf2ff;color:#1764d9;display:grid;place-items:center;font-size:10px;font-weight:900}.scso-hppu-section-head h4{margin:0 0 3px;font-size:14px;color:#102458}.scso-hppu-section-head p{margin:0;font-size:10px;color:#7b8aa0;line-height:1.5}.scso-hppu-owner-badge{padding:7px 10px;border:1px solid #cfe0f4;border-radius:999px;background:#fff;color:#536c8d;font-size:9.5px;font-weight:800}.scso-hppu-setup-grid{display:grid;grid-template-columns:1.6fr repeat(5,minmax(130px,1fr));gap:12px}.scso-hppu-setup-grid label,.scso-hppu-component-row label,.scso-hppu-machine-row label,.scso-hppu-other-grid label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#53647b}.scso-hppu-setup-grid small,.scso-hppu-machine-row small,.scso-hppu-other-grid small{font-size:9px;font-weight:600;color:#8796aa}.scso-hppu-card input,.scso-hppu-card select{width:100%;height:42px;border:1px solid #d8e2ee;border-radius:10px;background:#fff;padding:0 11px;font-size:11px;font-weight:700;color:#13294b;box-shadow:none}.scso-hppu-card input:focus,.scso-hppu-card select:focus{border-color:#8fb6ea;outline:0;box-shadow:0 0 0 3px rgba(37,116,217,.08)}.scso-hppu-component-head{display:grid;grid-template-columns:125px minmax(170px,1.5fr) 150px 105px 85px 125px 85px 130px 30px;gap:8px;padding:0 8px 7px}.scso-hppu-component-head span{font-size:8px;font-weight:900;color:#8594a9;text-transform:uppercase;letter-spacing:.05em}.scso-hppu-component-list{display:grid;gap:8px}.scso-hppu-component-row{display:grid;grid-template-columns:125px minmax(170px,1.5fr) 150px 105px 85px 125px 85px 130px 30px;gap:8px;align-items:end;padding:10px;border:1px solid #e2e9f2;border-radius:12px;background:#fbfdff}.scso-hppu-component-row label>span{display:none}.scso-hppu-row-result{height:42px;display:grid;align-content:center;gap:1px;padding:0 10px;border:1px solid #dce6f1;border-radius:10px;background:#f5f9ff}.scso-hppu-row-result span{font-size:8px;color:#7d8ca1}.scso-hppu-row-result strong{font-size:11px;color:#102458;white-space:nowrap}.scso-hppu-remove{width:30px;height:42px;border:1px solid #f0c9c9;border-radius:9px;background:#fff7f7;color:#cc4c4c;font-size:18px;cursor:pointer}.scso-hppu-remove:hover{background:#ffecec}.scso-hppu-machine-list{display:grid;gap:9px}.scso-hppu-machine-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(170px,1.2fr) 160px 145px 125px 145px 30px;gap:9px;align-items:end;padding:12px;border:1px solid #e2e9f2;border-radius:12px;background:#fbfdff}.scso-hppu-other-costs{background:#fbfcfe}.scso-hppu-other-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:760px}.scso-hppu-results{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:14px;padding:20px 24px}.scso-hppu-main-result{padding:20px;border-radius:16px;background:linear-gradient(180deg,#06162f 0%,#091f47 100%);color:#fff;box-shadow:0 12px 34px rgba(6,22,47,.14)}.scso-hppu-main-result>span,.scso-hppu-profit-card>span{font-size:9px;font-weight:900;letter-spacing:.09em;opacity:.75}.scso-hppu-main-result>strong{display:block;margin:5px 0 2px;font-size:30px;line-height:1.1}.scso-hppu-main-result>small{font-size:10px;opacity:.7}.scso-hppu-main-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:14px;border-top:1px solid rgba(255,255,255,.13)}.scso-hppu-main-result-grid>div{display:grid;gap:3px;padding:10px 8px 6px 0}.scso-hppu-main-result-grid span{font-size:9px;opacity:.7}.scso-hppu-main-result-grid b{font-size:11px}.scso-hppu-profit-card{padding:18px;border:1px solid #dfe7f1;border-radius:16px;background:#f9fbfe;display:grid;align-content:start;gap:7px;transition:.2s}.scso-hppu-profit-card>strong{font-size:20px;color:#102458}.scso-hppu-profit-card>p{margin:0 0 4px;font-size:10px;line-height:1.5;color:#728198}.scso-hppu-profit-card>div,.scso-hppu-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e8edf4;font-size:10px}.scso-hppu-profit-card>div:last-child,.scso-hppu-breakdown>div:last-child{border-bottom:0}.scso-hppu-profit-card span,.scso-hppu-breakdown span{color:#718198}.scso-hppu-profit-card b,.scso-hppu-breakdown strong{color:#102458}.scso-hppu-profit-card.is-safe{border-color:#b8dfcf;background:#f3fbf7}.scso-hppu-profit-card.is-safe>strong{color:#0c7a54}.scso-hppu-profit-card.is-warning{border-color:#eed7a8;background:#fffaf0}.scso-hppu-profit-card.is-warning>strong{color:#9a6419}.scso-hppu-profit-card.is-danger{border-color:#efc1c1;background:#fff6f6}.scso-hppu-profit-card.is-danger>strong{color:#ba3e3e}.scso-hppu-breakdown{padding:16px;border:1px solid #e0e8f2;border-radius:16px;background:#fff;display:grid;gap:3px;align-content:start}.scso-hppu-warning{margin:0 24px 24px;padding:12px 14px;border:1px solid #d9e6f5;border-radius:12px;background:#f4f9ff;color:#52657e;font-size:10px;line-height:1.6}.scso-hppu-warning strong{color:#102458}.scso-hppu-warning.has-missing{border-color:#edd4a4;background:#fff9ec;color:#76572d}.scso-hppu-warning.has-missing strong{color:#9a6419}
@media(max-width:1350px){.scso-hppu-setup-grid{grid-template-columns:repeat(3,1fr)}.scso-hppu-component-head{display:none}.scso-hppu-component-row{grid-template-columns:repeat(4,1fr)}.scso-hppu-component-row label>span{display:block;font-size:8px;color:#8090a6}.scso-hppu-row-result{align-self:end}.scso-hppu-remove{align-self:end}.scso-hppu-machine-row{grid-template-columns:repeat(3,1fr)}.scso-hppu-results{grid-template-columns:1fr 1fr}.scso-hppu-breakdown{grid-column:1/-1}}
@media(max-width:900px){.scso-hppu-setup-grid,.scso-hppu-component-row,.scso-hppu-machine-row{grid-template-columns:1fr 1fr}.scso-hppu-results{grid-template-columns:1fr}.scso-hppu-breakdown{grid-column:auto}.scso-hppu-other-grid{grid-template-columns:1fr}}
@media(max-width:600px){.scso-hppu-title{align-items:stretch}.scso-hppu-title-actions{display:grid;grid-template-columns:1fr 1fr}.scso-hppu-setup,.scso-hppu-block,.scso-hppu-results{padding-left:14px;padding-right:14px}.scso-hppu-section-head{align-items:flex-start;flex-direction:column}.scso-hppu-setup-grid,.scso-hppu-component-row,.scso-hppu-machine-row{grid-template-columns:1fr}.scso-hppu-remove{width:100%;height:34px}.scso-hppu-main-result-grid{grid-template-columns:1fr}.scso-hppu-warning{margin-left:14px;margin-right:14px}.scso-hppu-main-result>strong{font-size:25px}}

/* v0.15.39 — purchase invoice / transfer evidence */
.scso-purchase-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.scso-purchase-doc-upload{display:grid!important;gap:7px!important;padding:12px 14px!important;border:1px solid #dbe5f1!important;border-radius:12px!important;background:#f8fbff!important}
.scso-purchase-doc-upload>span{font-size:10px;font-weight:800;color:#173b72}
.scso-purchase-doc-upload input[type=file]{width:100%;min-height:38px;padding:7px!important;background:#fff!important;border:1px solid #dce5ef!important;border-radius:9px!important;font-size:10px!important}
.scso-purchase-doc-upload small{font-size:9px!important;color:#7c8ba0!important;line-height:1.45}
.scso-purchase-doc-upload small a{font-weight:800;text-decoration:none}
.scso-purchase-doc-links{display:grid;gap:5px;min-width:112px}
.scso-purchase-doc-links a{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;font-size:9.5px;font-weight:800;text-decoration:none;color:#1e62b6}
.scso-purchase-doc-links .dashicons{font-size:14px;width:14px;height:14px;line-height:14px}
.scso-purchase-record-edit-row>td{padding:0!important;background:#f8fbff!important}
.scso-purchase-record-editor{padding:16px 18px 18px;border-top:1px solid #dce6f2;border-bottom:1px solid #dce6f2}
.scso-purchase-record-editor-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}
.scso-purchase-record-editor-head>div{display:grid;gap:3px}
.scso-purchase-record-editor-head span{font-size:8.5px;font-weight:900;letter-spacing:.1em;color:#2870c7}
.scso-purchase-record-editor-head strong{font-size:13px;color:#102458}
.scso-purchase-record-editor-head small{font-size:9.5px;color:#78889d}
.scso-purchase-record-editor-actions{display:flex;justify-content:flex-end;margin-top:10px}
.scso-purchase-ledger-table{min-width:1120px}
.scso-purchase-ledger-main-row td{vertical-align:middle!important}
.scso-purchase-doc-grid--inline{margin-top:10px}
@media(max-width:680px){.scso-purchase-doc-grid{grid-template-columns:1fr}.scso-purchase-record-editor{padding:13px}.scso-purchase-record-editor-actions .scso-btn{width:100%;justify-content:center}}


/* v0.15.40 — Purchase Ledger clean table + in-page View modal */
.scso-purchase-ledger-wrap{overflow-x:auto;border:1px solid #e7edf5;border-radius:14px}
.scso-purchase-ledger-table{width:100%!important;min-width:980px!important;table-layout:auto;background:#fff}
.scso-purchase-ledger-table thead th{padding:12px 14px!important;background:#f8faff!important;border-bottom:1px solid #e4ebf4!important;font-size:9.5px!important;letter-spacing:.08em;color:#74849b!important}
.scso-purchase-ledger-table tbody td{padding:14px!important;vertical-align:middle!important;font-size:11px!important}
.scso-purchase-ledger-table th:nth-child(1){width:125px}.scso-purchase-ledger-table th:nth-child(2){min-width:260px}.scso-purchase-ledger-table th:nth-child(3){min-width:160px}.scso-purchase-ledger-table th:nth-child(4){width:100px}.scso-purchase-ledger-table th:nth-child(5){width:180px}.scso-purchase-ledger-table th:nth-child(6){width:150px}.scso-purchase-ledger-table th:nth-child(7){width:88px}
.scso-purchase-ledger-main-row:hover td{background:#fbfdff}
.scso-purchase-ledger-date strong,.scso-purchase-ledger-total strong{font-size:12px!important}
.scso-purchase-ledger-item{display:grid;gap:5px}.scso-purchase-ledger-item>div{display:grid;gap:5px}.scso-purchase-ledger-item>div>strong{font-size:12px!important;line-height:1.4}.scso-purchase-ledger-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.scso-purchase-ledger-meta small{margin:0!important}
.scso-purchase-doc-status{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.scso-purchase-doc-status>span{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border:1px solid #dce7f4;background:#f7faff;border-radius:8px;font-size:9px;font-weight:800;color:#1d5ea8}.scso-purchase-doc-status i{font-size:13px;width:13px;height:13px;line-height:13px}.scso-purchase-doc-status small{flex-basis:100%;margin-top:1px!important}
.scso-purchase-view-btn{min-height:34px!important;padding:8px 12px!important;border-radius:10px!important;font-size:10px!important;white-space:nowrap}
.scso-modal-dialog--purchase-record{width:min(1080px,95vw)!important;max-height:90vh!important;padding:0!important;overflow:auto!important;border-radius:22px!important;background:#f6f9fd!important}
.scso-purchase-record-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:26px 60px 22px 26px;background:#fff;border-bottom:1px solid #e4ebf4}.scso-purchase-record-modal-head>div{min-width:0}.scso-purchase-record-modal-head span,.scso-purchase-record-section-head span{font-size:8.5px;font-weight:900;letter-spacing:.12em;color:#2a70c8}.scso-purchase-record-modal-head h3{margin:5px 0 4px;font-size:21px;color:#102458}.scso-purchase-record-modal-head p{margin:0;font-size:10px;color:#7a899d}.scso-purchase-record-modal-head>strong{font-size:19px;color:#102458;white-space:nowrap}
.scso-purchase-record-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:16px 22px}.scso-purchase-record-facts article{padding:11px 12px;background:#fff;border:1px solid #e3eaf3;border-radius:12px;display:grid;gap:4px}.scso-purchase-record-facts span{font-size:8.5px;color:#8290a5;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.scso-purchase-record-facts strong{font-size:11px;color:#14294a;word-break:break-word}
.scso-purchase-record-documents,.scso-purchase-record-edit{margin:0 22px 16px;padding:18px;background:#fff;border:1px solid #e2e9f2;border-radius:16px}.scso-purchase-record-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:13px}.scso-purchase-record-section-head h4{margin:3px 0 0;font-size:15px;color:#11294e}.scso-purchase-record-section-head>small{font-size:9.5px;color:#8492a6}
.scso-purchase-doc-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scso-purchase-doc-preview-card{border:1px solid #dce5ef;border-radius:13px;overflow:hidden;background:#f9fbfe}.scso-purchase-doc-preview-head{height:38px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;background:#f4f8fc;border-bottom:1px solid #e1e8f1}.scso-purchase-doc-preview-head span{font-size:10px;font-weight:800;color:#22395d}.scso-purchase-doc-preview-head strong{font-size:8px;color:#7b8ba1;background:#fff;border:1px solid #dde5ef;border-radius:6px;padding:3px 5px}.scso-purchase-doc-preview-body{height:360px;background:#eef3f8;display:flex;align-items:center;justify-content:center;overflow:hidden}.scso-purchase-doc-preview-body img{width:100%;height:100%!important;object-fit:contain!important;background:#fff}.scso-purchase-doc-preview-body iframe,.scso-purchase-doc-preview-body object{width:100%;height:100%;border:0;background:#fff}.scso-purchase-doc-fallback,.scso-purchase-doc-empty{display:grid;place-items:center;text-align:center;gap:5px;padding:24px;color:#7c8ca2}.scso-purchase-doc-fallback .dashicons,.scso-purchase-doc-empty .dashicons{font-size:28px;width:28px;height:28px}.scso-purchase-doc-fallback strong,.scso-purchase-doc-empty strong{font-size:11px;color:#344866}.scso-purchase-doc-fallback small,.scso-purchase-doc-empty small{font-size:9px}
.scso-purchase-record-edit .scso-form{gap:11px}.scso-purchase-record-edit .scso-form input,.scso-purchase-record-edit .scso-form textarea{background:#fbfcfe}.scso-purchase-record-edit .scso-purchase-doc-grid{margin-top:0}
@media(max-width:900px){.scso-purchase-record-facts{grid-template-columns:repeat(3,1fr)}.scso-purchase-doc-preview-body{height:300px}}
@media(max-width:680px){.scso-modal-dialog--purchase-record{width:100vw!important;max-height:100dvh!important;border-radius:0!important}.scso-purchase-record-modal-head{padding:20px 52px 16px 16px;display:grid}.scso-purchase-record-modal-head>strong{font-size:17px}.scso-purchase-record-facts{grid-template-columns:repeat(2,1fr);padding:12px}.scso-purchase-record-documents,.scso-purchase-record-edit{margin:0 12px 12px;padding:14px}.scso-purchase-doc-preview-grid{grid-template-columns:1fr}.scso-purchase-doc-preview-body{height:330px}.scso-purchase-record-edit .scso-three{grid-template-columns:1fr}}


/* v0.15.41 — Purchase Ledger full-width table */
.scso-purchase-ledger-wrap{overflow-x:visible!important;width:100%!important}
.scso-purchase-ledger-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.scso-purchase-ledger-table th:nth-child(1),.scso-purchase-ledger-table td:nth-child(1){width:12%}
.scso-purchase-ledger-table th:nth-child(2),.scso-purchase-ledger-table td:nth-child(2){width:31%}
.scso-purchase-ledger-table th:nth-child(3),.scso-purchase-ledger-table td:nth-child(3){width:14%}
.scso-purchase-ledger-table th:nth-child(4),.scso-purchase-ledger-table td:nth-child(4){width:10%}
.scso-purchase-ledger-table th:nth-child(5),.scso-purchase-ledger-table td:nth-child(5){width:15%}
.scso-purchase-ledger-table th:nth-child(6),.scso-purchase-ledger-table td:nth-child(6){width:10%}
.scso-purchase-ledger-table th:nth-child(7),.scso-purchase-ledger-table td:nth-child(7){width:8%}
.scso-purchase-ledger-table td{word-break:break-word}
.scso-purchase-doc-status{display:grid;gap:6px;justify-items:start}
.scso-purchase-doc-status span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #d7e3f3;border-radius:999px;background:#f7fbff;font-size:10px;font-weight:700;color:#2366c7}
.scso-purchase-view-btn{width:100%;justify-content:center}
@media(max-width:980px){.scso-purchase-ledger-wrap{overflow-x:auto!important}.scso-purchase-ledger-table{min-width:980px!important;table-layout:auto!important}}


/* v0.15.42 — force Purchase Ledger table to consume the entire card width */
.scso-card>.scso-purchase-ledger-wrap{display:block!important;width:100%!important;max-width:none!important;overflow:visible!important;border:1px solid #e7edf5;border-radius:14px}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table{display:table!important;width:100%!important;min-width:100%!important;max-width:none!important;table-layout:fixed!important;margin:0!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(1){width:12%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(2){width:31%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(3){width:14%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(4){width:10%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(5){width:15%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(6){width:10%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(7){width:8%!important}
.scso-purchase-ledger-table thead,.scso-purchase-ledger-table tbody,.scso-purchase-ledger-table tr{width:100%!important}
.scso-purchase-ledger-table th,.scso-purchase-ledger-table td{min-width:0!important;max-width:none!important}
@media(max-width:980px){.scso-card>.scso-purchase-ledger-wrap{overflow-x:auto!important}.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table{min-width:980px!important;width:980px!important;table-layout:fixed!important}}

/* v0.15.43 — Purchase Ledger fees, shipping proof, and fullscreen document viewer */
.scso-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.scso-purchase-doc-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.scso-purchase-ledger-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.scso-purchase-ledger-table th:nth-child(1),.scso-purchase-ledger-table td:nth-child(1){width:10%!important}
.scso-purchase-ledger-table th:nth-child(2),.scso-purchase-ledger-table td:nth-child(2){width:25%!important}
.scso-purchase-ledger-table th:nth-child(3),.scso-purchase-ledger-table td:nth-child(3){width:12%!important}
.scso-purchase-ledger-table th:nth-child(4),.scso-purchase-ledger-table td:nth-child(4){width:7%!important}
.scso-purchase-ledger-table th:nth-child(5),.scso-purchase-ledger-table td:nth-child(5){width:10%!important}
.scso-purchase-ledger-table th:nth-child(6),.scso-purchase-ledger-table td:nth-child(6){width:10%!important}
.scso-purchase-ledger-table th:nth-child(7),.scso-purchase-ledger-table td:nth-child(7){width:11%!important}
.scso-purchase-ledger-table th:nth-child(8),.scso-purchase-ledger-table td:nth-child(8){width:10%!important}
.scso-purchase-ledger-table th:nth-child(9),.scso-purchase-ledger-table td:nth-child(9){width:5%!important}
.scso-purchase-record-facts{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
.scso-purchase-doc-preview-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.scso-purchase-doc-preview-head>div{display:flex;align-items:center;gap:7px;min-width:0}
.scso-doc-enlarge-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid #cfdaea;background:#fff;color:#173b72;border-radius:8px;padding:6px 8px;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}
.scso-doc-enlarge-btn:hover{background:#eef5ff;border-color:#9fbee7}
.scso-doc-enlarge-btn .dashicons{font-size:13px;width:13px;height:13px;line-height:13px}
.scso-doc-fullscreen[hidden]{display:none!important}
.scso-doc-fullscreen{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex;align-items:stretch;justify-content:stretch;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;transform:none!important;isolation:isolate}
.scso-doc-fullscreen-backdrop{position:absolute;inset:0;background:rgba(2,10,25,.92);backdrop-filter:blur(4px)}
.scso-doc-fullscreen-panel{position:relative;z-index:2;width:100vw;height:100dvh;display:grid;grid-template-rows:auto 1fr;background:#081427;color:#fff}
.scso-doc-fullscreen-head{height:64px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.1);background:#07162c}
.scso-doc-fullscreen-head>div{display:grid;gap:2px}.scso-doc-fullscreen-head span{font-size:8px;letter-spacing:.14em;color:#86a7d4;font-weight:900}.scso-doc-fullscreen-head strong{font-size:15px;color:#fff}
.scso-doc-fullscreen-head button{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:#fff;font-size:25px;line-height:1;cursor:pointer}
.scso-doc-fullscreen-body{min-height:0;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}
.scso-doc-fullscreen-body img{max-width:100%;max-height:calc(100dvh - 100px);width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.scso-doc-fullscreen-body iframe,.scso-doc-fullscreen-body object{width:100%;height:100%;border:0;background:#fff;border-radius:10px}
html.scso-doc-viewer-open,html.scso-doc-viewer-open body{overflow:hidden!important}
@media(max-width:1100px){.scso-four{grid-template-columns:repeat(2,1fr)}.scso-purchase-doc-preview-grid--three{grid-template-columns:1fr 1fr!important}.scso-purchase-ledger-wrap{overflow-x:auto!important}.scso-purchase-ledger-table{min-width:1250px!important;table-layout:fixed!important}}
@media(max-width:680px){.scso-four{grid-template-columns:1fr}.scso-purchase-doc-grid--three,.scso-purchase-doc-preview-grid--three{grid-template-columns:1fr!important}.scso-doc-fullscreen-body{padding:8px}.scso-doc-fullscreen-head{height:56px;padding:0 14px}}


/* v0.15.44 — fullscreen document viewer stacking hotfix */
.scso-doc-fullscreen[hidden]{display:none!important}
.scso-doc-fullscreen:not([hidden]){display:flex!important}
.scso-doc-fullscreen-panel{z-index:2!important;position:relative!important}
.scso-doc-fullscreen-backdrop{z-index:1!important}
html.scso-doc-viewer-open,html.scso-doc-viewer-open body{overflow:hidden!important}
.scso-doc-fullscreen-body{overscroll-behavior:contain}


/* v0.15.45 — keep Purchase Ledger summary clean; cost details live in View modal */
.scso-purchase-ledger-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.scso-purchase-ledger-table th:nth-child(1),.scso-purchase-ledger-table td:nth-child(1){width:12%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(2),.scso-purchase-ledger-table td:nth-child(2){width:31%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(3),.scso-purchase-ledger-table td:nth-child(3){width:14%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(4),.scso-purchase-ledger-table td:nth-child(4){width:10%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(5),.scso-purchase-ledger-table td:nth-child(5){width:15%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(6),.scso-purchase-ledger-table td:nth-child(6){width:10%!important;min-width:0!important}
.scso-purchase-ledger-table th:nth-child(7),.scso-purchase-ledger-table td:nth-child(7){width:8%!important;min-width:0!important}
.scso-purchase-ledger-table .scso-purchase-ledger-total small{color:#7f8ea4!important}
@media(max-width:980px){.scso-purchase-ledger-table{min-width:980px!important;table-layout:auto!important}}


/* v0.15.46 — purchased item details inside Purchase Record modal */
.scso-purchase-record-product{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:18px;border:1px solid #dfe8f3;border-radius:16px;background:#f8fbff;margin-bottom:16px}
.scso-purchase-record-product-media{width:150px;height:150px;border:1px solid #d8e3f1;border-radius:14px;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center}
.scso-purchase-record-product-media img{width:100%;height:100%;object-fit:contain;display:block}
.scso-purchase-record-product-media>.dashicons{font-size:34px;width:34px;height:34px;line-height:34px;color:#94a6bd}
.scso-purchase-record-product-copy{min-width:0}
.scso-purchase-record-product-head{margin-bottom:12px!important}
.scso-purchase-record-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.scso-purchase-record-product-grid article{padding:10px 11px;border:1px solid #e1e9f3;border-radius:11px;background:#fff;display:grid;gap:4px}
.scso-purchase-record-product-grid article span,.scso-purchase-record-spec span{font-size:8.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7b8ba1}
.scso-purchase-record-product-grid article strong,.scso-purchase-record-spec strong{font-size:11px;color:#152a4a;line-height:1.4}
.scso-purchase-record-spec{display:grid;gap:4px;margin-top:9px;padding:10px 11px;border:1px solid #e1e9f3;border-radius:11px;background:#fff}
.scso-purchase-record-product-link{margin-top:10px!important;display:inline-flex!important;width:auto!important}
.scso-purchase-record-notes{margin:0 0 16px;padding:13px 15px;border:1px solid #e1e8f2;border-radius:13px;background:#fff}
.scso-purchase-record-notes>span{font-size:8.5px;font-weight:900;letter-spacing:.1em;color:#6d7f98}
.scso-purchase-record-notes p{margin:6px 0 0;font-size:11px;line-height:1.6;color:#40516d}
@media(max-width:900px){.scso-purchase-record-product{grid-template-columns:110px 1fr}.scso-purchase-record-product-media{width:110px;height:110px}.scso-purchase-record-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.scso-purchase-record-product{grid-template-columns:1fr}.scso-purchase-record-product-media{width:120px;height:120px}.scso-purchase-record-product-grid{grid-template-columns:1fr 1fr}}


/* v0.15.47 — isolated Purchase Record overlay */
.scso-purchase-record-modal{position:fixed!important;inset:0!important;z-index:2147482000!important;display:none!important;width:100vw!important;height:100vh!important;margin:0!important;padding:20px!important}
.scso-purchase-record-modal.is-open{display:flex!important;align-items:center!important;justify-content:center!important}
.scso-purchase-record-modal>.scso-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(4,14,34,.72)!important}
.scso-purchase-record-modal .scso-modal-dialog--purchase-record{position:relative!important;z-index:2!important;width:min(1120px,calc(100vw - 40px))!important;max-height:calc(100vh - 40px)!important;overflow:auto!important}
body.scso-purchase-record-open{overflow:hidden!important}


/* v0.15.48 — Purchase Ledger integrated into Modal/Capital page */
.scso-capital-usage-card{overflow:visible}
.scso-capital-usage-head{align-items:flex-start}
.scso-capital-usage-head p{margin:7px 0 0;max-width:760px;font-size:11px;line-height:1.6;color:#75859d}
.scso-capital-usage-head>strong{font-size:18px;color:#102458;white-space:nowrap}
.scso-capital-usage-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.scso-capital-usage-summary article{padding:14px 16px;border:1px solid #e2e9f2;border-radius:14px;background:#f9fbfe;display:grid;gap:5px}
.scso-capital-usage-summary article span{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a8aa2}
.scso-capital-usage-summary article strong{font-size:16px;color:#102458}
.scso-capital-usage-summary article small{font-size:9.5px;line-height:1.45;color:#8291a6}
.scso-capital-usage-summary article.is-warning{border-color:#f0cfaa;background:#fffaf3}
.scso-capital-usage-summary article.is-warning strong{color:#a65a1f}
@media(max-width:900px){.scso-capital-usage-summary{grid-template-columns:1fr}.scso-capital-usage-head{align-items:stretch;flex-direction:column}}

/* v0.15.50 — Investor report share link */
.scso-investor-share-card{border-color:#dce7f5!important}.scso-investor-share-card .scso-card-head p{margin:4px 0 0;color:#75859b;font-size:10px}.scso-investor-share-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.scso-investor-share-link input{width:100%;height:40px;border:1px solid #d9e4f2;border-radius:10px;background:#f8fbff;padding:0 12px;font-size:10px;color:#315171}.scso-investor-share-card>small{display:block;margin-top:8px;color:#8492a7}.scso-investor-share-actions{display:flex;gap:8px;margin-top:12px}.scso-investor-share-actions form{margin:0}.scso-tag.is-success{background:#e9f8f0;color:#187c59}
@media(max-width:700px){.scso-investor-share-link{grid-template-columns:1fr}.scso-investor-share-actions{display:grid;grid-template-columns:1fr 1fr}.scso-investor-share-actions .scso-btn{width:100%}}


/* v0.15.53 — editable Purchase Ledger nominal form */
.scso-purchase-record-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.scso-purchase-record-total-edit{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:12px;align-items:end;padding:14px;border:1px solid #dbe6f3;border-radius:14px;background:#f8fbff}
.scso-purchase-record-total-edit>div{display:grid;gap:4px;padding:9px 12px;border-radius:10px;background:#fff;border:1px solid #e4ebf4}
.scso-purchase-record-total-edit>div span{font-size:9px;font-weight:800;color:#7b8ba2;text-transform:uppercase;letter-spacing:.06em}
.scso-purchase-record-total-edit>div strong{font-size:11px;color:#17345f}
.scso-purchase-record-total-edit input{font-size:14px!important;font-weight:800!important;color:#102458!important}
@media(max-width:900px){.scso-purchase-record-cost-grid{grid-template-columns:1fr 1fr}.scso-purchase-record-total-edit{grid-template-columns:1fr}}
@media(max-width:560px){.scso-purchase-record-cost-grid{grid-template-columns:1fr}}


/* v0.15.57 — Purchase Checklist original price, product discount and net estimate */
.scso-purchase-plan-pricing{align-items:start}
.scso-purchase-final-price input[readonly]{font-weight:800;background:#f5f9ff;border-color:#c9d9ee;color:#10284f;cursor:default}
.scso-purchase-price-breakdown{display:flex;flex-direction:column;gap:3px;align-items:flex-start}
.scso-purchase-price-breakdown .scso-purchase-price{font-size:14px;line-height:1.2}
.scso-purchase-list-price{color:#7b8797;font-size:11px;line-height:1.2}
.scso-purchase-discount{color:#157347;font-size:11px;font-weight:700;line-height:1.2}
.scso-purchase-detail-summary{flex-wrap:wrap}
.scso-purchase-detail-summary span{white-space:nowrap}
@media(max-width:780px){.scso-purchase-plan-pricing{grid-template-columns:1fr!important}.scso-purchase-price-breakdown{min-width:110px}}

/* v0.15.59 — Multi-item purchase invoice */
.scso-modal-dialog--purchase-batch{width:min(1180px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto}
.scso-purchase-batch-form{gap:16px}
.scso-purchase-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #dbe5f1;border-radius:14px;background:#f8fbff}
.scso-purchase-batch-toolbar>div{display:flex;align-items:center;gap:8px}.scso-purchase-batch-toolbar>div span{font-size:12px;color:#6b7d96}.scso-purchase-batch-toolbar>div strong{font-size:14px;color:#10233f}
.scso-purchase-batch-items{max-height:330px;overflow:auto;border:1px solid #dfe7f0;border-radius:14px}
.scso-purchase-batch-items table{min-width:900px;margin:0}.scso-purchase-batch-items tr.is-selected td{background:#f7fbff}
.scso-purchase-batch-items td:first-child,.scso-purchase-batch-items th:first-child{width:64px;text-align:center}.scso-purchase-batch-items td strong{display:block}.scso-purchase-batch-items td small{display:block;margin-top:4px;color:#789}
.scso-purchase-batch-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.scso-purchase-batch-summary article{padding:14px 16px;border:1px solid #dfe7f0;border-radius:14px;background:#fff}.scso-purchase-batch-summary span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7385a0}.scso-purchase-batch-summary strong{display:block;margin-top:6px;font-size:17px;color:#10233f}.scso-purchase-batch-summary .is-total{background:#f5f9ff;border-color:#bfd4f3}.scso-purchase-batch-summary .is-total strong{font-size:20px}
.scso-purchase-batch-shared-costs label{min-width:0}.scso-purchase-batch-allocation-note{display:flex;gap:12px;align-items:flex-start;padding:13px 15px;border:1px solid #d8e5f5;border-radius:14px;background:#f7faff}.scso-purchase-batch-allocation-note .dashicons{margin-top:2px}.scso-purchase-batch-allocation-note strong,.scso-purchase-batch-allocation-note small{display:block}.scso-purchase-batch-allocation-note small{margin-top:4px;line-height:1.55;color:#687a93}
.scso-purchase-batch-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}.scso-purchase-batch-actions>div span,.scso-purchase-batch-actions>div strong{display:block}.scso-purchase-batch-actions>div span{font-size:11px;color:#71829a;text-transform:uppercase;font-weight:800;letter-spacing:.06em}.scso-purchase-batch-actions>div strong{font-size:24px;color:#10233f;margin-top:3px}
.scso-purchase-batch-btn{white-space:nowrap}
@media(max-width:900px){.scso-purchase-batch-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-modal-dialog--purchase-batch{width:min(96vw,1180px)}}
@media(max-width:620px){.scso-purchase-batch-summary{grid-template-columns:1fr}.scso-purchase-batch-toolbar,.scso-purchase-batch-actions{align-items:stretch;flex-direction:column}.scso-purchase-batch-actions .scso-btn{width:100%}}

/* v0.15.59 — Purchase Ledger groups multi-item invoices */
.scso-purchase-ledger-main-row.is-batch td{vertical-align:top}.scso-tag--batch{background:#eef5ff;border-color:#c9dbf6;color:#174d91}.scso-modal-dialog--batch-record{width:min(1280px,calc(100vw - 36px));max-height:calc(100vh - 36px)}
.scso-purchase-batch-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.scso-purchase-batch-lines{display:block}.scso-purchase-batch-lines .scso-purchase-record-product-copy{width:100%}.scso-purchase-batch-line-table{min-width:1120px}.scso-purchase-batch-line-table td,.scso-purchase-batch-line-table th{vertical-align:top}.scso-purchase-batch-line-table td:nth-child(n+5){white-space:nowrap}.scso-purchase-batch-line-table td strong,.scso-purchase-batch-line-table td small,.scso-purchase-batch-line-table td a{display:block}.scso-purchase-batch-line-table td a{margin-top:5px;font-size:11px}
.scso-purchase-batch-edit-lines{max-height:320px;overflow:auto;border:1px solid #dfe7f0;border-radius:12px}.scso-purchase-batch-edit-lines table{min-width:760px;margin:0}.scso-purchase-batch-edit-lines input{min-width:150px}.scso-purchase-batch-edit-lines td strong,.scso-purchase-batch-edit-lines td small{display:block}.scso-purchase-batch-edit-lines td small{margin-top:4px;color:#71829a}
@media(max-width:900px){.scso-purchase-batch-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.scso-purchase-batch-facts{grid-template-columns:1fr}}

.scso-purchase-batch-price-note{margin:0 0 9px;padding:8px 10px;border-radius:9px;background:#f5f8fc;color:#687a92;font-size:9px;line-height:1.45}
.scso-purchase-batch-items .scso-batch-money{width:100%;min-width:108px;height:34px;padding:0 9px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;font:inherit;font-size:10px;font-weight:700;color:#17345d;text-align:right;outline:none}
.scso-purchase-batch-items .scso-batch-money:focus{border-color:#76a8ed;box-shadow:0 0 0 3px rgba(36,107,254,.07)}
.scso-purchase-batch-items tr:not(.is-selected) .scso-batch-money{opacity:.68}

/* v0.15.60 — Vendor detail tabs use the full available workspace width */
.scso-vendor-view-page .scso-vendor-detail-panel{width:100%!important;max-width:none!important}
.scso-vendor-view-page .scso-vendor-tab-table-wrap{display:block!important;width:100%!important;max-width:none!important;overflow-x:auto!important;box-sizing:border-box}
.scso-vendor-view-page .scso-vendor-tab-table{display:table!important;width:100%!important;max-width:none!important;margin:0!important;border-collapse:collapse}
.scso-vendor-view-page .scso-vendor-catalog-full{min-width:1080px!important;table-layout:auto!important}
.scso-vendor-view-page .scso-vendor-orders-full{min-width:900px!important;table-layout:auto!important}
.scso-vendor-view-page .scso-vendor-purchase-history{width:100%!important;min-width:1080px!important;table-layout:auto!important}
.scso-vendor-view-page .scso-vendor-tab-table th{font-size:10px!important;padding:12px 13px!important;white-space:nowrap}
.scso-vendor-view-page .scso-vendor-tab-table td{font-size:11px!important;padding:13px!important;line-height:1.45!important;vertical-align:middle!important}
.scso-vendor-view-page .scso-vendor-tab-table td>strong{font-size:11.5px!important}
.scso-vendor-view-page .scso-vendor-tab-table td small{font-size:9.5px!important}
.scso-vendor-view-page .scso-vendor-catalog-item{min-width:260px}
.scso-vendor-view-page .scso-vendor-detail-tabs{width:100%;box-sizing:border-box;justify-content:flex-start;overflow-x:auto}
.scso-vendor-view-page .scso-vendor-detail-tabs button{flex:0 0 auto}
@media(max-width:900px){.scso-vendor-view-page .scso-vendor-catalog-full,.scso-vendor-view-page .scso-vendor-purchase-history{min-width:1020px!important}.scso-vendor-view-page .scso-vendor-orders-full{min-width:820px!important}}

/* v0.15.67 — Catalog Vendor: keep Product Link fully visible and readable */
.scso-vendor-item-detail-grid .scso-vendor-field-url{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  position:relative!important;
  display:grid!important;
  gap:6px!important;
  padding:0!important;
}
.scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-item-url-actions{
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}
.scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-item-url-actions input[data-vendor-item-url]{
  display:block!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:180px!important;
  max-width:none!important;
  height:42px!important;
  margin:0!important;
  padding:0 12px!important;
  position:relative!important;
  z-index:1!important;
  visibility:visible!important;
  opacity:1!important;
  border:1px solid #d7e1ee!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17345d!important;
  box-sizing:border-box!important;
}
.scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-fetch-thumb{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:148px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 14px!important;
  position:relative!important;
  z-index:2!important;
  white-space:nowrap!important;
  justify-content:center!important;
}
.scso-vendor-item-detail-grid .scso-vendor-field-url>small{
  display:block!important;
  width:100%!important;
  margin:0!important;
  line-height:1.45!important;
}
/* keep the identity fields balanced now that Product Link owns a full row */
.scso-vendor-item-detail-grid .scso-vendor-field-source{
  min-width:0!important;
}
@media(max-width:900px){
  .scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-item-url-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-item-url-actions input[data-vendor-item-url]{
    width:100%!important;
    min-width:0!important;
  }
  .scso-vendor-item-detail-grid .scso-vendor-field-url .scso-vendor-fetch-thumb{
    width:100%!important;
    min-width:0!important;
  }
}

/* v0.15.68 — Vendor history safety, purchase paging/view and full-width master catalog */
.scso-vendor-detail-tabs button{display:inline-flex!important;align-items:center!important;gap:7px!important}
.scso-vendor-detail-tabs button>i.dashicons{width:17px!important;height:17px!important;font-size:17px!important;line-height:17px!important;color:#52709a!important;flex:0 0 17px}
.scso-vendor-detail-tabs button.active>i.dashicons{color:#155dcc!important}
.scso-vendor-detail-tabs button>span{margin-left:2px!important}
.scso-vendor-purchase-toolbar{margin:12px 0 14px!important}
.scso-vendor-purchase-toolbar label{max-width:none!important}
.scso-vendor-purchase-toolbar>span{white-space:nowrap}
.scso-vendor-purchase-toolbar>span b{color:#102458;font-size:11px}
.scso-vendor-view-page .scso-vendor-purchase-history{display:table!important;width:100%!important;min-width:1180px!important;max-width:none!important;table-layout:auto!important;margin:0!important}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(1){width:11%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(2){width:24%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(3){width:14%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(4){width:10%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(5){width:9%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(6){width:18%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(7){width:8%}
.scso-vendor-view-page .scso-vendor-purchase-history th:nth-child(8){width:10%}
.scso-vendor-purchase-detail-modal .scso-modal-dialog{width:min(980px,calc(100vw - 40px))!important;max-width:980px!important}
.scso-vendor-purchase-view{display:grid;gap:18px;padding:2px}
.scso-vendor-purchase-view-head{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:16px;align-items:center;padding-bottom:16px;border-bottom:1px solid #e4ebf3}
.scso-vendor-purchase-view-head>strong{font-size:20px;color:#102458;white-space:nowrap}
.scso-vendor-purchase-view-head h3{margin:3px 0 5px;font-size:20px;color:#102458}.scso-vendor-purchase-view-head p{margin:0;color:#718198;font-size:11px}
.scso-vendor-purchase-view-media{width:86px;height:86px;border:1px solid #dce6f1;border-radius:14px;background:#f6f9fc;display:grid;place-items:center;overflow:hidden}
.scso-vendor-purchase-view-media img{width:100%;height:100%;object-fit:contain}.scso-vendor-purchase-view-media .dashicons{font-size:30px;width:30px;height:30px;color:#8194ad}
.scso-vendor-purchase-view-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.scso-vendor-purchase-view-grid article{display:grid;gap:5px;padding:12px 13px;border:1px solid #e2e9f2;border-radius:12px;background:#f9fbfe;min-width:0}
.scso-vendor-purchase-view-grid article span,.scso-vendor-purchase-view-notes>span{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#74859d}
.scso-vendor-purchase-view-grid article strong{font-size:12px;color:#17345c;overflow-wrap:anywhere}
.scso-vendor-purchase-view-notes{padding:14px;border:1px solid #e2e9f2;border-radius:12px;background:#fff}.scso-vendor-purchase-view-notes p{margin:7px 0 0;color:#52657d;line-height:1.6}
.scso-vendor-purchase-view-actions{display:flex;gap:8px;flex-wrap:wrap}

/* Master Katalog Barang must use the complete card width. */
.scso-catalog-card{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.scso-catalog-card>.scso-catalog-filterbar{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.scso-catalog-card>.scso-catalog-table-wrap,.scso-catalog-table-wrap{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;overflow-x:auto!important}
.scso-catalog-table{display:table!important;width:100%!important;min-width:1180px!important;max-width:none!important;table-layout:fixed!important;margin:0!important}
.scso-catalog-table th:nth-child(1){width:38%!important}.scso-catalog-table th:nth-child(2){width:14%!important}.scso-catalog-table th:nth-child(3){width:13%!important}.scso-catalog-table th:nth-child(4){width:12%!important}.scso-catalog-table th:nth-child(5){width:15%!important}.scso-catalog-table th:nth-child(6){width:8%!important}
.scso-catalog-table thead th{font-size:11.5px!important;padding:15px 16px!important}
.scso-catalog-table tbody td{font-size:13px!important;padding:16px!important;line-height:1.5!important}
.scso-catalog-item-identity{min-width:0!important;width:100%!important}.scso-catalog-item-identity strong{font-size:13.5px!important;line-height:1.4!important}.scso-catalog-item-identity small{font-size:10.5px!important;line-height:1.4!important}
.scso-catalog-cell-stack strong{font-size:12.5px!important}.scso-catalog-cell-stack small{font-size:10px!important}
.scso-catalog-table .scso-tag{font-size:10.5px!important}.scso-catalog-table .scso-action-view{font-size:11.5px!important;min-height:38px!important;padding:9px 13px!important}

@media(max-width:760px){
 .scso-vendor-purchase-view-head{grid-template-columns:68px minmax(0,1fr)}.scso-vendor-purchase-view-head>strong{grid-column:1/-1;font-size:18px}.scso-vendor-purchase-view-media{width:68px;height:68px}.scso-vendor-purchase-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-vendor-purchase-toolbar{align-items:stretch!important;flex-direction:column!important}.scso-vendor-purchase-toolbar>span{white-space:normal}.scso-vendor-detail-tabs button{min-width:max-content}
}

/* v0.15.69 — Editable line items inside multi-item Purchase Ledger invoices */
.scso-purchase-batch-edit-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 10px;padding:12px 14px;border:1px solid #dfe7f1;border-radius:12px;background:#f8fbff}
.scso-purchase-batch-edit-head>div>span{display:block;font-size:10px;font-weight:800;letter-spacing:.1em;color:#71829a}.scso-purchase-batch-edit-head>div>strong{display:block;margin-top:3px;font-size:15px;color:#10233f}.scso-purchase-batch-edit-head>div>small{display:block;margin-top:3px;color:#6d7f97;line-height:1.45}
.scso-purchase-batch-items-editor{min-width:1180px!important;table-layout:auto!important}.scso-purchase-batch-items-editor th:nth-child(1){min-width:285px}.scso-purchase-batch-items-editor th:nth-child(2){min-width:140px}.scso-purchase-batch-items-editor th:nth-child(3){min-width:145px}.scso-purchase-batch-items-editor th:nth-child(4),.scso-purchase-batch-items-editor th:nth-child(5){min-width:145px}.scso-purchase-batch-items-editor th:nth-child(6){min-width:115px}.scso-purchase-batch-items-editor th:nth-child(7){min-width:100px}
.scso-purchase-batch-items-editor td{vertical-align:top}.scso-purchase-batch-items-editor input,.scso-purchase-batch-items-editor select{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #d8e2ef;border-radius:8px;background:#fff;color:#17345d;font:inherit;font-size:11px;font-weight:650;box-sizing:border-box}.scso-purchase-batch-items-editor input:focus,.scso-purchase-batch-items-editor select:focus{outline:none;border-color:#6fa5ed;box-shadow:0 0 0 3px rgba(36,107,254,.07)}
.scso-purchase-line-qty{display:grid;grid-template-columns:minmax(72px,1fr) 64px;gap:6px}.scso-purchase-line-advanced{margin-top:7px;border:1px solid #e2e8f1;border-radius:8px;background:#fbfdff}.scso-purchase-line-advanced summary{cursor:pointer;padding:7px 9px;font-size:10px;font-weight:800;color:#46617f;list-style:none}.scso-purchase-line-advanced summary::-webkit-details-marker{display:none}.scso-purchase-line-advanced[open] summary{border-bottom:1px solid #e7edf5}.scso-purchase-line-advanced>label,.scso-purchase-line-material-fields label{display:block;padding:7px 9px 0;font-size:9px;font-weight:800;color:#6d7f97}.scso-purchase-line-advanced>label:last-of-type{padding-bottom:8px}.scso-purchase-line-advanced input{margin-top:4px}.scso-purchase-line-material-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 4px;padding-bottom:8px}
.scso-purchase-line-remove{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 9px!important;border:1px solid #f0c4c4;border-radius:8px;background:#fff8f8;color:#a62d2d!important;font-size:10px!important;font-weight:800!important;cursor:pointer;white-space:nowrap}.scso-purchase-line-remove input{width:auto!important;height:auto!important;margin:0}.scso-purchase-line-remove .dashicons{font-size:14px;width:14px;height:14px}.scso-purchase-line-delete-new{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 9px;border:1px solid #f0c4c4;border-radius:8px;background:#fff8f8;color:#a62d2d;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.scso-purchase-line-delete-new .dashicons{font-size:14px;width:14px;height:14px}
.scso-purchase-batch-items-editor tr.is-removed td{opacity:.48;background:#fff6f6}.scso-purchase-batch-items-editor tr.is-removed input,.scso-purchase-batch-items-editor tr.is-removed select{pointer-events:none}.scso-purchase-batch-items-editor tr.is-removed .scso-purchase-line-remove{pointer-events:auto;opacity:1}.scso-purchase-batch-items-editor tr[data-batch-new-line] td{background:#fbfdff}
@media(max-width:760px){.scso-purchase-batch-edit-head{align-items:stretch;flex-direction:column}.scso-purchase-batch-edit-head .scso-btn{width:100%}.scso-purchase-line-material-fields{grid-template-columns:1fr}}
.scso-purchase-batch-items-editor tr.is-removed .scso-purchase-line-remove input{pointer-events:auto!important}


/* v0.15.70 — Purchase layout refinement */
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(1){width:11%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(2){width:30%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(3){width:14%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(4){width:8%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(5){width:14%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(6){width:15%!important}
.scso-card>.scso-purchase-ledger-wrap>.scso-purchase-ledger-table col:nth-child(7){width:8%!important}
.scso-purchase-ledger-table th:nth-child(1),.scso-purchase-ledger-table td:nth-child(1){width:11%!important}
.scso-purchase-ledger-table th:nth-child(2),.scso-purchase-ledger-table td:nth-child(2){width:30%!important}
.scso-purchase-ledger-table th:nth-child(3),.scso-purchase-ledger-table td:nth-child(3){width:14%!important}
.scso-purchase-ledger-table th:nth-child(4),.scso-purchase-ledger-table td:nth-child(4){width:8%!important}
.scso-purchase-ledger-table th:nth-child(5),.scso-purchase-ledger-table td:nth-child(5){width:14%!important}
.scso-purchase-ledger-table th:nth-child(6),.scso-purchase-ledger-table td:nth-child(6){width:15%!important}
.scso-purchase-ledger-table th:nth-child(7),.scso-purchase-ledger-table td:nth-child(7){width:8%!important}
.scso-purchase-ledger-table .scso-purchase-ledger-docs{vertical-align:middle!important}
.scso-purchase-doc-status.scso-purchase-doc-status--ledger{display:flex!important;flex-direction:row!important;align-items:center!important;align-content:center!important;justify-content:flex-start!important;gap:5px!important;flex-wrap:wrap!important}
.scso-purchase-doc-status.scso-purchase-doc-status--ledger>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important;padding:5px 7px!important;min-height:28px!important;border:1px solid #d7e3f3!important;border-radius:999px!important;background:#f7fbff!important;color:#2366c7!important;font-size:9px!important;font-weight:800!important;line-height:1!important}
.scso-purchase-doc-status.scso-purchase-doc-status--ledger>span i{font-size:12px!important;width:12px!important;height:12px!important;line-height:12px!important}
.scso-purchase-doc-status.scso-purchase-doc-status--ledger>small{flex:0 0 100%!important;margin:1px 0 0!important;font-size:8px!important;color:#8a98aa!important;line-height:1.25!important}
.scso-purchase-ledger-table td:last-child{text-align:center!important}
.scso-purchase-ledger-table td:last-child .scso-action-btn{justify-content:center!important;margin-inline:auto!important}
@media(max-width:1100px){
 .scso-purchase-doc-status.scso-purchase-doc-status--ledger{min-width:145px!important}
}

/* v0.15.71 — Asset modal + Inventory Master / Stock Lot Engine */
.scso-asset-title,.scso-inventory-title{align-items:flex-start;gap:18px}
.scso-asset-title>.scso-btn,.scso-inventory-title>.scso-btn{flex:0 0 auto}
.scso-asset-metrics,.scso-inventory-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.scso-asset-register-card,.scso-inventory-master-card{width:100%;max-width:none}
.scso-asset-table-wrap,.scso-inventory-table-wrap{width:100%;max-width:none;overflow-x:auto}
.scso-asset-table,.scso-inventory-table{width:100%!important;min-width:100%!important;table-layout:auto!important}
.scso-asset-table th,.scso-asset-table td,.scso-inventory-table th,.scso-inventory-table td{font-size:13.5px;padding:15px 14px;vertical-align:middle}
.scso-asset-table th,.scso-inventory-table th{font-size:11px;letter-spacing:.055em;white-space:nowrap}
.scso-asset-table th:first-child{width:32%}.scso-inventory-table th:first-child{width:31%}
.scso-no-break{white-space:nowrap;word-break:normal!important;overflow-wrap:normal!important}
.scso-inventory-table td small,.scso-material-lot-table td small{display:block;margin-top:4px;color:#7a8ba7;font-size:11px}
.scso-material-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.scso-material-summary-grid article{border:1px solid #dbe5f3;background:#f7faff;border-radius:14px;padding:14px 16px}
.scso-material-summary-grid span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#7486a3;text-transform:uppercase;margin-bottom:6px}
.scso-material-summary-grid strong{font-size:18px;color:#0a2348}
.scso-material-lot-title{margin:6px 0 12px;color:#0a2348}
.scso-material-lot-table{width:100%!important;min-width:920px!important}
.scso-material-lot-table th,.scso-material-lot-table td{font-size:12px;padding:12px 10px;vertical-align:top}
.scso-material-detail-actions{display:flex;justify-content:flex-end;margin-top:16px}
.scso-hppu-component-row [data-comp-inventory]{margin-bottom:6px}
.scso-hppu-component-row [data-comp-stock-info]{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:#60738f}
@media(max-width:900px){
 .scso-asset-title,.scso-inventory-title{display:flex;flex-direction:column;align-items:stretch}
 .scso-asset-title>.scso-btn,.scso-inventory-title>.scso-btn{width:100%}
 .scso-asset-metrics,.scso-inventory-metrics{grid-template-columns:1fr}
 .scso-material-summary-grid{grid-template-columns:1fr}
 .scso-asset-table,.scso-inventory-table{min-width:850px!important}
}

/* v0.15.72 — Asset & Material search + 10-row pagination */
.scso-entity-list-filter{display:flex;align-items:center;gap:9px;width:100%;padding:14px 18px;border-top:1px solid #e8eef6;border-bottom:1px solid #e8eef6;background:#fbfcfe;box-sizing:border-box}
.scso-entity-list-search{position:relative;display:block;flex:1;min-width:260px}
.scso-entity-list-search>.dashicons{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;font-size:18px;color:#8393aa;z-index:2;pointer-events:none}
.scso-entity-list-search input{width:100%!important;height:44px!important;padding:0 14px 0 42px!important;border:1px solid #dbe4f0!important;border-radius:11px!important;background:#fff!important;font-size:12px!important;box-sizing:border-box}
.scso-entity-list-filter>.scso-btn{height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.scso-entity-result-count{margin-left:auto;flex:0 0 auto;font-size:11px;font-weight:800;color:#74849b;white-space:nowrap}
.scso-entity-pagination{justify-content:center!important;margin:18px 0 4px!important}
@media(max-width:760px){
 .scso-entity-list-filter{display:grid;grid-template-columns:1fr 1fr;padding:12px}
 .scso-entity-list-search{grid-column:1/-1;min-width:0}
 .scso-entity-list-filter>.scso-btn{width:100%}
 .scso-entity-result-count{grid-column:1/-1;margin-left:0;text-align:center}
}

/* v0.15.74 — Vendor Profile professional UI refinement */
.scso-vendor-page{gap:16px!important}
.scso-vendor-page-top{padding:2px 2px 0}
.scso-vendor-back{font-size:11.5px!important;color:#55708f!important}
.scso-vendor-page-actions .scso-btn{min-height:38px!important;border-radius:10px!important;box-shadow:none!important}
.scso-vendor-view-page{padding:0!important;overflow:hidden;border:1px solid #e4eaf2!important;box-shadow:0 14px 36px rgba(15,35,70,.055)!important;background:#fff!important}
.scso-vendor-view-page .scso-vendor-detail-header{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;margin:0!important;padding:24px 26px 22px!important;border-bottom:1px solid #e7edf4!important;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important}
.scso-vendor-view-page .scso-vendor-detail-logo{width:76px!important;height:76px!important;border-radius:18px!important;border:1px solid #dde6f0!important;background:#fff!important;box-shadow:0 5px 18px rgba(16,36,88,.06)!important}
.scso-vendor-view-page .scso-vendor-detail-logo img{padding:5px;box-sizing:border-box;object-fit:contain!important}
.scso-vendor-identity{min-width:0}
.scso-vendor-identity .scso-eyebrow{font-size:8.5px!important;letter-spacing:.15em!important;color:#8190a6!important}
.scso-vendor-identity h3{margin:5px 0 5px!important;font-size:21px!important;line-height:1.2!important;color:#102458!important;letter-spacing:-.015em}
.scso-vendor-subline{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#6d7e95;font-size:11.5px;line-height:1.5}
.scso-vendor-subline-dot{color:#b4c0cf}
.scso-vendor-link-row{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:11px!important}
.scso-vendor-contact-link{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid #e0e7f0;border-radius:8px;background:#fff;color:#31587e!important;text-decoration:none!important;font-size:10.5px;font-weight:750;box-shadow:0 2px 6px rgba(16,36,88,.025)}
.scso-vendor-contact-link:hover{border-color:#bcd0ea;background:#f7faff;color:#155dcc!important}
.scso-vendor-contact-link .dashicons{width:14px;height:14px;font-size:14px;line-height:14px;color:#557aa8}
.scso-vendor-header-tools{align-self:start;display:flex;justify-content:flex-end;min-width:140px}
.scso-vendor-view-page .scso-vendor-header-tools .scso-thumb-upload-inline{margin:0!important}
.scso-vendor-view-page .scso-vendor-header-tools .scso-btn,.scso-vendor-view-page .scso-vendor-header-tools button{min-height:34px!important;padding:7px 11px!important;border-radius:9px!important;font-size:10px!important;white-space:nowrap}

.scso-vendor-view-page .scso-vendor-detail-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:16px 26px!important;background:#fbfcfe!important;border-bottom:1px solid #e7edf4}
.scso-vendor-view-page .scso-vendor-detail-grid article{min-height:76px!important;padding:13px 15px!important;border:1px solid #e1e8f1!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;display:flex;flex-direction:column;justify-content:center}
.scso-vendor-view-page .scso-vendor-detail-grid article>span{font-size:8.5px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#8493a8!important}
.scso-vendor-view-page .scso-vendor-detail-grid article>strong{margin:6px 0 2px!important;font-size:14px!important;line-height:1.25!important;color:#17365f!important}
.scso-vendor-view-page .scso-vendor-detail-grid article>small{font-size:9.5px!important;line-height:1.4!important;color:#8795a8!important}
.scso-vendor-view-page .scso-vendor-detail-grid .scso-vendor-metric-primary{border-color:#cbdcf2!important;background:linear-gradient(145deg,#f7fbff,#fff)!important}
.scso-vendor-view-page .scso-vendor-detail-grid .scso-vendor-metric-primary>strong{font-size:17px!important;color:#0f4da3!important}

.scso-vendor-view-page .scso-vendor-detail-tabs{display:flex!important;width:auto!important;max-width:calc(100% - 52px)!important;margin:16px 26px 0!important;padding:4px!important;gap:3px!important;border:1px solid #e2e9f1!important;border-radius:11px!important;background:#f4f7fa!important;overflow-x:auto!important;box-sizing:border-box!important}
.scso-vendor-view-page .scso-vendor-detail-tabs button{min-height:36px!important;padding:8px 13px!important;border-radius:8px!important;font-size:10.5px!important;font-weight:800!important;color:#60738e!important;box-shadow:none!important;white-space:nowrap}
.scso-vendor-view-page .scso-vendor-detail-tabs button.active{background:#fff!important;color:#123d74!important;box-shadow:0 2px 8px rgba(16,36,88,.07)!important}
.scso-vendor-view-page .scso-vendor-detail-tabs button>i.dashicons{width:15px!important;height:15px!important;font-size:15px!important;line-height:15px!important}
.scso-vendor-view-page .scso-vendor-detail-tabs button>span{min-width:18px!important;height:18px!important;padding:0 5px!important;font-size:9px!important;background:#e8eef6!important;color:#58708e!important}
.scso-vendor-view-page .scso-vendor-detail-tabs button.active>span{background:#eaf2ff!important;color:#155dcc!important}

.scso-vendor-view-page .scso-vendor-detail-panel{padding:18px 26px 26px!important}
.scso-vendor-view-page .scso-order-history-head{margin:0 0 14px!important;padding:0!important}
.scso-vendor-view-page .scso-order-history-head .scso-eyebrow{font-size:8.5px!important;letter-spacing:.13em!important}
.scso-vendor-view-page .scso-order-history-head h3{margin:4px 0 3px!important;font-size:16px!important;color:#17365f!important}
.scso-vendor-view-page .scso-order-history-head small{font-size:10px!important;color:#8391a4!important}
.scso-vendor-view-page .scso-order-history-head>strong{font-size:14px!important;color:#17365f!important;padding:8px 11px;border:1px solid #e1e8f1;border-radius:9px;background:#fafcff}
.scso-vendor-view-page .scso-catalog-toolbar{margin:0 0 12px!important;gap:12px!important}
.scso-vendor-view-page .scso-catalog-toolbar label{max-width:none!important}
.scso-vendor-view-page .scso-catalog-toolbar input{height:40px!important;border-radius:9px!important;background:#fbfcfe!important;font-size:10.5px!important}
.scso-vendor-view-page .scso-catalog-toolbar>span{font-size:9.5px!important;color:#8a98aa!important;white-space:nowrap}
.scso-vendor-view-page .scso-table-wrap{border:1px solid #e1e7ef!important;border-radius:12px!important;overflow:auto!important;background:#fff!important}
.scso-vendor-view-page .scso-table{margin:0!important}
.scso-vendor-view-page .scso-table thead th{background:#f7f9fc!important;border-bottom:1px solid #e2e8f0!important;color:#6a7d96!important;font-size:9px!important;letter-spacing:.055em!important;text-transform:uppercase!important;padding:11px 12px!important;white-space:nowrap}
.scso-vendor-view-page .scso-table tbody td{padding:12px!important;border-bottom:1px solid #edf1f5!important;font-size:10.5px!important;line-height:1.45!important;color:#4d617b!important}
.scso-vendor-view-page .scso-table tbody tr:last-child td{border-bottom:0!important}
.scso-vendor-view-page .scso-table tbody tr:hover td{background:#fbfdff!important}
.scso-vendor-view-page .scso-table td>strong{font-size:10.8px!important;color:#17365f!important}
.scso-vendor-view-page .scso-table td small{font-size:9px!important;color:#8896a8!important;line-height:1.45!important}
.scso-vendor-view-page .scso-tag{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:3px 7px!important;border-radius:999px!important;font-size:8.5px!important;font-weight:800!important}
.scso-vendor-view-page .scso-action-view{min-height:31px!important;padding:6px 9px!important;border-radius:8px!important;font-size:9px!important;white-space:nowrap!important}
.scso-vendor-view-page .scso-pagination{margin-top:14px!important}
.scso-vendor-view-page .scso-pagination a,.scso-vendor-view-page .scso-pagination span{min-width:32px!important;height:32px!important;border-radius:8px!important;font-size:9.5px!important}

.scso-vendor-page-section.scso-vendor-note-card{padding:18px 20px!important;border:1px solid #e4eaf2!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}
.scso-vendor-note-card .scso-card-head{margin-bottom:10px!important}
.scso-vendor-note-card .scso-card-head h3{font-size:14px!important;margin:3px 0!important}
.scso-vendor-note-card .scso-card-head small{font-size:9.5px!important}
.scso-vendor-note-body{min-height:0!important;padding:12px 14px!important;border-radius:10px!important;background:#f9fbfd!important;font-size:10.5px!important;line-height:1.55!important}

@media(max-width:1100px){
 .scso-vendor-view-page .scso-vendor-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .scso-vendor-view-page .scso-vendor-detail-header{grid-template-columns:64px minmax(0,1fr)!important;padding:18px!important;gap:13px!important}
 .scso-vendor-view-page .scso-vendor-detail-logo{width:64px!important;height:64px!important;border-radius:14px!important}
 .scso-vendor-header-tools{grid-column:1/-1;justify-content:flex-start;min-width:0}
 .scso-vendor-view-page .scso-vendor-detail-grid{grid-template-columns:1fr!important;padding:13px 18px!important}
 .scso-vendor-view-page .scso-vendor-detail-grid article{min-height:68px!important}
 .scso-vendor-view-page .scso-vendor-detail-tabs{max-width:calc(100% - 36px)!important;margin:13px 18px 0!important}
 .scso-vendor-view-page .scso-vendor-detail-panel{padding:15px 18px 20px!important}
 .scso-vendor-subline{font-size:10.5px}
 .scso-vendor-contact-link{font-size:9.5px}
}


/* v0.15.84 — Clean HPP Studio, manual Pocket settlement, 25% stock warning */
.scso-hppu-card{padding:0!important;overflow:hidden;border:1px solid #dce5f0!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,35,65,.04)!important}
.scso-hppu-card>section{padding:22px 24px!important;border-bottom:1px solid #e8eef6!important;background:#fff!important}
.scso-hppu-card>section:nth-of-type(even){background:#fbfdff!important}
.scso-hppu-section-head{margin-bottom:18px!important}.scso-hppu-section-head>div>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf5ff;color:#125fd3;font-weight:800}
.scso-hppu-section-head h4{font-size:16px!important;margin:0 0 3px!important;color:#0d2344}.scso-hppu-section-head p{margin:0!important;color:#70819a!important}
.scso-hppu-setup-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.scso-hppu-setup-grid label,.scso-hppu-other-grid label{background:#f8fbff;border:1px solid #e2eaf4;border-radius:12px;padding:12px!important}
.scso-hppu-component-head{background:#f4f7fb!important;border-radius:10px 10px 0 0!important;padding:10px 12px!important}.scso-hppu-component-row{margin:0!important;border-radius:0!important;border:1px solid #e5ebf3!important;border-top:0!important;background:#fff!important;padding:12px!important;box-shadow:none!important}
.scso-hppu-component-row:last-child{border-radius:0 0 12px 12px!important}.scso-hppu-machine-row{border:1px solid #e1e9f3!important;background:#fff!important;border-radius:12px!important;box-shadow:none!important}
.scso-hppu-results{padding:20px 24px 24px!important;display:grid!important;grid-template-columns:1.15fr 1fr 1fr!important;gap:14px!important;background:#f5f8fc!important}.scso-hppu-results article{border-radius:14px!important;box-shadow:none!important;min-height:100%!important}.scso-hppu-main-result{background:#071f48!important}.scso-hppu-main-result>strong{font-size:34px!important}.scso-hppu-profit-card,.scso-hppu-breakdown{background:#fff!important;border:1px solid #dfe7f1!important}
.scso-hppu-warning{margin:0!important;border-radius:0!important;border:0!important;border-top:1px solid #ead9a8!important;padding:13px 24px!important}
.scso-low-stock-alert{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 18px;margin:0 0 16px;border:1px solid #f1cf78;background:#fff8e7;border-radius:14px;color:#6b4c00}.scso-low-stock-alert>div:first-child{display:flex;gap:12px;align-items:flex-start}.scso-low-stock-alert .dashicons{color:#d99000;font-size:24px}.scso-low-stock-alert strong{display:block;color:#5d4100}.scso-low-stock-alert p{margin:3px 0 0;color:#80662b}.scso-low-stock-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.scso-low-stock-chips span{background:#fff;border:1px solid #efd78e;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700}
.scso-payment-confirm-list{margin:16px 0;padding:14px;border:1px solid #d9e5f4;border-radius:14px;background:#f8fbff}.scso-payment-confirm-list h4{margin:0 0 10px}.scso-payment-confirm-list article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #e5edf7}.scso-payment-confirm-list article:first-of-type{border-top:0}.scso-payment-confirm-list small{display:block;color:#73839a;margin-top:2px}
.scso-pocket-order-list{display:grid;gap:12px}.scso-pocket-order-card{border:1px solid #dfe7f1;border-radius:14px;background:#fff;overflow:hidden}.scso-pocket-order-card>header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;background:#f8fbff;border-bottom:1px solid #e5ecf5}.scso-pocket-order-card header span,.scso-pocket-order-total span{display:block;font-size:10px;letter-spacing:.08em;color:#7789a2;font-weight:800}.scso-pocket-order-card header small{display:block;color:#7a899e;margin-top:3px}.scso-pocket-order-total{text-align:right}.scso-pocket-order-total strong{font-size:18px}.scso-pocket-order-total em{display:block;margin-top:4px;font-size:10px;font-style:normal;color:#b16a00}.scso-pocket-order-total em.is-done{color:#168154}
.scso-pocket-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.scso-pocket-item{padding:14px 16px;border-right:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:8px}.scso-pocket-item:last-child{border-right:0}.scso-pocket-item span{display:block;font-size:11px;color:#697b94}.scso-pocket-item strong{display:block;margin-top:3px}.scso-pocket-item.is-done{background:#f5fbf8}.scso-pocket-order-card>footer{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-top:1px solid #e9eef5;background:#fbfdfc;color:#4c6b5c;font-size:12px}
@media(max-width:1150px){.scso-hppu-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scso-hppu-results{grid-template-columns:1fr!important}.scso-pocket-items{grid-template-columns:repeat(2,minmax(0,1fr))}.scso-pocket-item:nth-child(2){border-right:0}.scso-low-stock-alert{align-items:flex-start;flex-direction:column}.scso-low-stock-chips{justify-content:flex-start}}
@media(max-width:700px){.scso-hppu-card>section,.scso-hppu-results{padding:16px!important}.scso-hppu-setup-grid{grid-template-columns:1fr!important}.scso-pocket-items{grid-template-columns:1fr}.scso-pocket-item{border-right:0;border-bottom:1px solid #edf1f6}.scso-payment-confirm-list article,.scso-pocket-order-card>header,.scso-pocket-order-card>footer{align-items:flex-start;flex-direction:column}.scso-pocket-order-total{text-align:left}}


/* v0.15.85 — HPP Calculator UI refinement: clearer sections, cleaner money inputs, contextual help */
[data-hpp-universal].scso-hppu-card{background:#eef3f9!important;border:0!important;box-shadow:none!important;padding:18px!important;overflow:visible!important}
[data-hpp-universal] .scso-hppu-setup,[data-hpp-universal] .scso-hppu-block{margin:0 0 18px!important;padding:22px!important;border:1px solid #dce6f2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 20px rgba(15,39,75,.045)!important}
[data-hpp-universal] .scso-hppu-setup{background:#fff!important}
[data-hpp-universal] .scso-hppu-section-head{margin-bottom:20px!important;padding-bottom:15px!important;border-bottom:1px solid #e8eef6!important}
[data-hpp-universal] .scso-hppu-section-head>div>span{width:34px;height:34px;flex-basis:34px;border-radius:10px;background:#e9f2ff;color:#1267d6;font-size:11px}
[data-hpp-universal] .scso-hppu-heading-line{display:flex;align-items:center;gap:8px}
[data-hpp-universal] .scso-hppu-heading-line h4{font-size:15px!important;line-height:1.3;margin:0!important}
[data-hpp-universal] .scso-hppu-section-head p{margin-top:4px!important;font-size:10.5px!important;color:#718198!important;max-width:760px}
[data-hpp-universal] .scso-hppu-setup-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
[data-hpp-universal] .scso-hppu-setup-grid label,[data-hpp-universal] .scso-hppu-component-row label,[data-hpp-universal] .scso-hppu-machine-row label,[data-hpp-universal] .scso-hppu-other-grid label{gap:7px!important;font-size:10px!important;color:#40526d!important}
[data-hpp-universal] .scso-field-label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:850;color:#40526d}
[data-hpp-universal] input,[data-hpp-universal] select{height:44px!important;border-color:#d6e1ee!important;border-radius:10px!important;padding:0 12px!important;background:#fff!important;font-size:11px!important}
[data-hpp-universal] input::placeholder{color:#a2afc0;font-weight:600}
[data-hpp-universal] .scso-money-input{display:block!important;position:relative!important}
[data-hpp-universal] .scso-money-prefix{display:none!important}
[data-hpp-universal] .scso-money-input input{padding-left:12px!important}
[data-hpp-universal] .scso-hppu-component-head{display:none!important}
[data-hpp-universal] .scso-hppu-component-list{gap:12px!important}
[data-hpp-universal] .scso-hppu-component-row{grid-template-columns:150px minmax(260px,2fr) repeat(5,minmax(105px,1fr)) minmax(125px,1fr) 34px!important;gap:10px!important;align-items:end!important;padding:14px!important;border:1px solid #dfe8f2!important;border-radius:14px!important;background:#f9fbfe!important}
[data-hpp-universal] .scso-hppu-component-row label>span{display:block!important;font-size:8.5px!important;font-weight:850!important;color:#7e8da2!important;text-transform:uppercase;letter-spacing:.04em}
[data-hpp-universal] .scso-hppu-component-row label:nth-child(2){grid-row:auto}
[data-hpp-universal] .scso-hppu-component-row label:nth-child(2) select{margin-bottom:6px}
[data-hpp-universal] .scso-hppu-component-row label:nth-child(2) small{font-size:9px;line-height:1.4;color:#7d8da2}
[data-hpp-universal] .scso-hppu-row-result{height:44px!important;background:#edf5ff!important;border-color:#cfe0f4!important;border-radius:10px!important}
[data-hpp-universal] .scso-hppu-row-result span{font-size:8.5px!important}
[data-hpp-universal] .scso-hppu-row-result strong{font-size:11px!important;color:#0d4e9c!important}
[data-hpp-universal] .scso-hppu-remove{height:44px!important;width:34px!important}
[data-hpp-universal] .scso-hppu-machine-list{gap:12px!important}
[data-hpp-universal] .scso-hppu-machine-row{grid-template-columns:minmax(210px,1.4fr) minmax(210px,1.3fr) 145px 145px 130px 145px 34px!important;gap:10px!important;padding:14px!important;border:1px solid #dfe8f2!important;border-radius:14px!important;background:#f9fbfe!important}
[data-hpp-universal] .scso-hppu-machine-row label{min-width:0}
[data-hpp-universal] .scso-hppu-other-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;max-width:none!important}
[data-hpp-universal] .scso-hppu-results{grid-template-columns:1.2fr 1fr 1fr!important;gap:16px!important;padding:0!important;margin-top:2px!important}
[data-hpp-universal] .scso-hppu-main-result,[data-hpp-universal] .scso-hppu-profit-card,[data-hpp-universal] .scso-hppu-breakdown{min-height:100%;border-radius:16px!important}
[data-hpp-universal] .scso-hppu-main-result{padding:22px!important}
[data-hpp-universal] .scso-hppu-main-result>strong{font-size:32px!important}
[data-hpp-universal] .scso-hppu-profit-card,[data-hpp-universal] .scso-hppu-breakdown{padding:20px!important;background:#fff!important;border:1px solid #dce6f2!important}
[data-hpp-universal] .scso-hppu-warning{margin:18px 0 0!important;padding:13px 15px!important;background:#fff!important}
[data-hpp-universal] .scso-info-tip{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;min-width:20px;padding:0;border:0;border-radius:50%;background:#176bd6;color:#fff;font:800 11px/1 Arial,sans-serif;cursor:help;box-shadow:0 2px 6px rgba(23,107,214,.2)}
[data-hpp-universal] .scso-info-tip--field{width:17px;height:17px;min-width:17px;font-size:9px}
[data-hpp-universal] .scso-info-tip::after{content:attr(data-tip);position:absolute;z-index:9999;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%) translateY(4px);width:260px;max-width:70vw;padding:10px 12px;border-radius:10px;background:#071a36;color:#fff;font:600 10px/1.55 Arial,sans-serif;text-align:left;letter-spacing:0;box-shadow:0 12px 30px rgba(3,18,41,.25);opacity:0;visibility:hidden;pointer-events:none;transition:.15s ease}
[data-hpp-universal] .scso-info-tip::before{content:"";position:absolute;z-index:10000;left:50%;bottom:calc(100% + 3px);transform:translateX(-50%);border:6px solid transparent;border-top-color:#071a36;opacity:0;visibility:hidden;transition:.15s ease}
[data-hpp-universal] .scso-info-tip:hover::after,[data-hpp-universal] .scso-info-tip:focus-visible::after,[data-hpp-universal] .scso-info-tip:hover::before,[data-hpp-universal] .scso-info-tip:focus-visible::before{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
[data-hpp-universal] .scso-info-tip:focus-visible{outline:2px solid #8dbdf7;outline-offset:2px}
@media(max-width:1500px){[data-hpp-universal] .scso-hppu-component-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}[data-hpp-universal] .scso-hppu-component-row label:nth-child(2){grid-column:span 2}[data-hpp-universal] .scso-hppu-row-result{align-self:end}[data-hpp-universal] .scso-hppu-machine-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1050px){[data-hpp-universal].scso-hppu-card{padding:12px!important}[data-hpp-universal] .scso-hppu-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-hpp-universal] .scso-hppu-results{grid-template-columns:1fr 1fr!important}[data-hpp-universal] .scso-hppu-breakdown{grid-column:1/-1}}
@media(max-width:720px){[data-hpp-universal] .scso-hppu-setup,[data-hpp-universal] .scso-hppu-block{padding:16px!important}[data-hpp-universal] .scso-hppu-setup-grid,[data-hpp-universal] .scso-hppu-component-row,[data-hpp-universal] .scso-hppu-machine-row,[data-hpp-universal] .scso-hppu-other-grid,[data-hpp-universal] .scso-hppu-results{grid-template-columns:1fr!important}[data-hpp-universal] .scso-hppu-component-row label:nth-child(2){grid-column:auto}[data-hpp-universal] .scso-hppu-remove{width:100%!important;height:36px!important}[data-hpp-universal] .scso-hppu-breakdown{grid-column:auto}[data-hpp-universal] .scso-info-tip::after{left:auto;right:-8px;transform:translateY(4px);width:min(260px,75vw)}[data-hpp-universal] .scso-info-tip:hover::after,[data-hpp-universal] .scso-info-tip:focus-visible::after{transform:translateY(0)}}

/* v0.15.86 — HPP strict alignment fix. Keep every field on a predictable baseline. */
[data-hpp-universal] .scso-hppu-setup-grid > label{
  display:grid!important;
  grid-template-rows:18px 44px 34px!important;
  align-content:start!important;
  min-width:0!important;
}
[data-hpp-universal] .scso-hppu-setup-grid > label > .scso-field-label{
  min-height:18px!important;
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-setup-grid > label > input,
[data-hpp-universal] .scso-hppu-setup-grid > label > select,
[data-hpp-universal] .scso-hppu-setup-grid > label > .scso-money-input{
  grid-row:2!important;
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-setup-grid > label > small{
  grid-row:3!important;
  min-height:30px!important;
  padding-top:7px!important;
  line-height:1.35!important;
}

/* Material rows: all primary controls align on the first control baseline. */
[data-hpp-universal] .scso-hppu-component-list{overflow-x:auto!important;padding-bottom:2px}
[data-hpp-universal] .scso-hppu-component-row{
  display:grid!important;
  grid-template-columns:150px minmax(310px,2.25fr) 140px 120px 125px 140px 110px 145px 38px!important;
  column-gap:10px!important;
  row-gap:8px!important;
  align-items:start!important;
  min-width:1270px!important;
}
[data-hpp-universal] .scso-hppu-component-row > label{
  display:grid!important;
  grid-template-rows:18px 44px auto!important;
  align-content:start!important;
  min-width:0!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-component-row > label > span{
  min-height:18px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
}
[data-hpp-universal] .scso-hppu-component-row > label > input,
[data-hpp-universal] .scso-hppu-component-row > label > select,
[data-hpp-universal] .scso-hppu-component-row > label > .scso-money-input{
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2){
  grid-template-rows:18px 44px 44px auto!important;
  gap:6px!important;
}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > select{grid-row:2!important;margin:0!important}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > input{grid-row:3!important;margin:0!important}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > small{
  grid-row:4!important;
  min-height:28px!important;
  margin:0!important;
  padding-top:1px!important;
  line-height:1.35!important;
}
[data-hpp-universal] .scso-hppu-row-result{
  align-self:start!important;
  margin-top:18px!important;
  height:44px!important;
  min-height:44px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
[data-hpp-universal] .scso-hppu-remove{
  align-self:start!important;
  margin-top:18px!important;
}

/* Machine rows use the same label/control baseline. */
[data-hpp-universal] .scso-hppu-machine-list{overflow-x:auto!important;padding-bottom:2px}
[data-hpp-universal] .scso-hppu-machine-row{
  display:grid!important;
  grid-template-columns:minmax(240px,1.45fr) minmax(250px,1.55fr) 150px 150px 145px 150px 38px!important;
  gap:10px!important;
  align-items:start!important;
  min-width:1160px!important;
}
[data-hpp-universal] .scso-hppu-machine-row > label{
  display:grid!important;
  grid-template-rows:18px 44px 34px!important;
  align-content:start!important;
  min-width:0!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-machine-row > label > input,
[data-hpp-universal] .scso-hppu-machine-row > label > select,
[data-hpp-universal] .scso-hppu-machine-row > label > .scso-money-input{
  grid-row:2!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-machine-row > label > small{
  grid-row:3!important;
  min-height:30px!important;
  padding-top:7px!important;
  line-height:1.35!important;
}
[data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-row-result,
[data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{
  margin-top:18px!important;
}

/* Prevent old medium-desktop breakpoint from creating the staggered layout. */
@media (min-width:1201px){
  [data-hpp-universal] .scso-hppu-component-row{
    grid-template-columns:150px minmax(310px,2.25fr) 140px 120px 125px 140px 110px 145px 38px!important;
  }
  [data-hpp-universal] .scso-hppu-component-row label:nth-child(2){grid-column:auto!important}
  [data-hpp-universal] .scso-hppu-machine-row{
    grid-template-columns:minmax(240px,1.45fr) minmax(250px,1.55fr) 150px 150px 145px 150px 38px!important;
  }
}

/* Structured tablet layout, rather than auto-placement. */
@media (min-width:721px) and (max-width:1200px){
  [data-hpp-universal] .scso-hppu-component-row,
  [data-hpp-universal] .scso-hppu-machine-row{
    min-width:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    row-gap:14px!important;
  }
  [data-hpp-universal] .scso-hppu-component-row > label:nth-child(2){grid-column:auto!important}
  [data-hpp-universal] .scso-hppu-row-result,
  [data-hpp-universal] .scso-hppu-remove{margin-top:0!important}
  [data-hpp-universal] .scso-hppu-remove{width:100%!important}
}

@media (max-width:720px){
  [data-hpp-universal] .scso-hppu-component-row,
  [data-hpp-universal] .scso-hppu-machine-row{min-width:0!important}
  [data-hpp-universal] .scso-hppu-row-result,
  [data-hpp-universal] .scso-hppu-remove{margin-top:0!important}
}

/* v0.15.88 — HPP primary-row alignment + Inventory Master edit actions */
[data-hpp-universal] .scso-hppu-component-row{
  align-items:start!important;
}
[data-hpp-universal] .scso-hppu-component-row > label{
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-component-row > label > input,
[data-hpp-universal] .scso-hppu-component-row > label > select,
[data-hpp-universal] .scso-hppu-component-row > label > .scso-money-input,
[data-hpp-universal] .scso-hppu-row-result,
[data-hpp-universal] .scso-hppu-remove{
  margin-top:18px!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
}
/* Component has an optional second control; it must never pull sibling controls down. */
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2){
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > select{
  margin-top:0!important;
}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > input{
  margin-top:0!important;
}
[data-hpp-universal] .scso-hppu-row-result{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-remove{align-self:start!important;display:grid!important;place-items:center!important}
[data-hpp-universal] .scso-hppu-machine-row{align-items:start!important}
[data-hpp-universal] .scso-hppu-machine-row > label{align-self:start!important}
[data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-row-result,
[data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{margin-top:18px!important}
@media (max-width:1200px){
  [data-hpp-universal] .scso-hppu-component-row > label > input,
  [data-hpp-universal] .scso-hppu-component-row > label > select,
  [data-hpp-universal] .scso-hppu-component-row > label > .scso-money-input,
  [data-hpp-universal] .scso-hppu-row-result,
  [data-hpp-universal] .scso-hppu-remove,
  [data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-row-result,
  [data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{margin-top:0!important}
}
.scso-material-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.scso-action-edit{border-color:#cfe0f4!important;background:#f5f9ff!important;color:#175fac!important}
.scso-action-edit:hover{background:#eaf3ff!important}
.scso-material-edit-form small{color:#7a8ca4;line-height:1.45}

/* v0.15.89 — Inventory Master pagination last-page shortcut */
.scso-inventory-master-card .scso-entity-pagination .scso-page-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:34px;color:#7b8aa3;font-weight:700;user-select:none}.scso-inventory-master-card .scso-entity-pagination .scso-page-last{font-variant-numeric:tabular-nums}


/* v0.15.90 — HPP true main-row alignment: output fields use the same label + control anatomy as form fields */
[data-hpp-universal] .scso-hppu-component-row,
[data-hpp-universal] .scso-hppu-machine-row{
  align-items:start!important;
}
[data-hpp-universal] .scso-hppu-output-field{
  min-width:0;
  display:grid!important;
  grid-template-rows:18px 44px;
  gap:7px!important;
  align-self:start!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-output-label{
  display:flex!important;
  align-items:center!important;
  min-height:18px!important;
  margin:0!important;
  font-size:8.5px!important;
  line-height:18px!important;
  font-weight:850!important;
  color:#7e8da2!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
  white-space:nowrap;
}
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result{
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  border:1px solid #cfe0f4!important;
  border-radius:10px!important;
  background:#edf5ff!important;
}
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result strong{
  display:block!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1!important;
  color:#0d4e9c!important;
  font-weight:850!important;
}
/* Neutralize the former margin-based alignment. All primary controls now start after an identical label row. */
[data-hpp-universal] .scso-hppu-component-row > label > input,
[data-hpp-universal] .scso-hppu-component-row > label > select,
[data-hpp-universal] .scso-hppu-component-row > label > .scso-money-input,
[data-hpp-universal] .scso-hppu-machine-row > label > input,
[data-hpp-universal] .scso-hppu-machine-row > label > select,
[data-hpp-universal] .scso-hppu-machine-row > label > .scso-money-input{
  margin-top:0!important;
}
[data-hpp-universal] .scso-hppu-component-row > .scso-hppu-remove,
[data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{
  align-self:start!important;
  margin-top:25px!important;
  height:44px!important;
  min-height:44px!important;
  width:34px!important;
  display:grid!important;
  place-items:center!important;
}
/* The secondary component name and helper stay below the main row and never change sibling alignment. */
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2){
  display:grid!important;
  grid-template-rows:18px 44px 44px auto!important;
  row-gap:7px!important;
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > span{grid-row:1!important}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > select{grid-row:2!important;margin:0!important}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > input{grid-row:3!important;margin:0!important}
[data-hpp-universal] .scso-hppu-component-row > label:nth-child(2) > small{grid-row:4!important;margin:0!important}
/* Machine helper text gets its own slot below the control without shifting output/result columns. */
[data-hpp-universal] .scso-hppu-machine-row > label{
  display:grid!important;
  grid-template-rows:18px 44px auto!important;
  gap:7px!important;
  align-self:start!important;
}
[data-hpp-universal] .scso-hppu-machine-row > label > small{margin:0!important;min-height:0!important}
@media(max-width:1200px){
  [data-hpp-universal] .scso-hppu-component-row > .scso-hppu-remove,
  [data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{margin-top:25px!important;width:34px!important}
}
@media(max-width:720px){
  [data-hpp-universal] .scso-hppu-output-field{grid-template-rows:18px 44px}
  [data-hpp-universal] .scso-hppu-component-row > .scso-hppu-remove,
  [data-hpp-universal] .scso-hppu-machine-row > .scso-hppu-remove{margin-top:0!important;width:100%!important;height:36px!important;min-height:36px!important}
}


/* v0.15.92 — HPP calculated-output field typography normalization */
[data-hpp-universal] .scso-hppu-output-label{
  min-height:18px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  font-size:10px!important;
  line-height:18px!important;
  font-weight:800!important;
  color:#40526d!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result{
  height:44px!important;
  min-height:44px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  border:1px solid #d8e2ee!important;
  border-radius:10px!important;
  background:#f3f7fc!important;
  box-shadow:none!important;
  text-align:left!important;
}
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result strong{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#13294b!important;
  text-align:left!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
/* Keep read-only calculated fields visually distinct without looking like KPI cards. */
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result::after{
  content:'otomatis';
  margin-left:auto;
  font-size:8px;
  line-height:1;
  font-weight:700;
  color:#8a99ac;
  text-transform:uppercase;
  letter-spacing:.035em;
}
@media(max-width:900px){
  [data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result::after{display:none}
}


/* v0.15.93 — calculated outputs are real read-only form fields, identical anatomy to other inputs */
[data-hpp-universal] .scso-hppu-output-field{
  display:grid!important;
  grid-template-rows:18px 44px auto!important;
  gap:7px!important;
  min-width:0!important;
  align-self:start!important;
  margin:0!important;
}
[data-hpp-universal] .scso-hppu-output-field > span{
  display:flex!important;
  align-items:center!important;
  min-height:18px!important;
  margin:0!important;
  font-size:8.5px!important;
  line-height:18px!important;
  font-weight:850!important;
  color:#7e8da2!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
[data-hpp-universal] .scso-hppu-output-field > input[readonly]{
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #d6e1ee!important;
  border-radius:10px!important;
  background:#f3f7fc!important;
  color:#13294b!important;
  font:700 11px/1.2 inherit!important;
  text-align:left!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  cursor:default!important;
}
[data-hpp-universal] .scso-hppu-output-field > small{
  margin:0!important;
  min-height:0!important;
  font-size:9px!important;
  line-height:1.35!important;
  font-weight:600!important;
  color:#8a99ac!important;
}
/* Retire the old KPI-like result box styling completely. */
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result,
[data-hpp-universal] .scso-hppu-output-field > .scso-hppu-row-result::after{display:none!important}

/* v0.15.94 HPP -> Product */
[data-hpp-universal] .scso-hppu-save-product{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:18px 20px;border:1px solid #cfe0f5;border-radius:16px;background:#f7fbff}[data-hpp-universal] .scso-hppu-save-product>div{display:grid;gap:4px}[data-hpp-universal] .scso-hppu-save-product strong{font-size:14px;color:#10284c}[data-hpp-universal] .scso-hppu-save-product span{font-size:11px;color:#6c7f99}@media(max-width:700px){[data-hpp-universal] .scso-hppu-save-product{align-items:stretch;flex-direction:column}}

/* v0.15.96 — order traceability + inventory movement history */
.scso-mini-link{display:inline-flex;margin-top:5px;font-size:11px;font-weight:800;color:#1f66cc;text-decoration:none}.scso-mini-link:hover{text-decoration:underline}
.scso-order-detail-modal{max-width:1040px!important}.scso-order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 18px}.scso-order-detail-grid section,.scso-order-notes{border:1px solid #dfe8f4;background:#f8fbff;border-radius:14px;padding:16px}.scso-order-detail-grid h4,.scso-order-notes h4{margin:0 0 10px;color:#102b53}.scso-order-detail-grid p,.scso-order-notes p{margin:7px 0;color:#667b98;line-height:1.65}.scso-order-doc-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.scso-material-movement-table td{vertical-align:top}.scso-material-movement-table small{display:block;color:#8191a7;margin-top:3px}
@media(max-width:760px){.scso-order-detail-grid{grid-template-columns:1fr}.scso-order-doc-actions .scso-btn{width:100%;justify-content:center}}

/* v0.15.97 — HPP/AI export actions */
.scso-export-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.scso-export-actions .scso-btn{white-space:nowrap}
@media(max-width:900px){.scso-export-actions{width:100%;justify-content:flex-start;margin-top:10px}}

/* v0.15.99 — Inventory reference -> invoice/order traceability */
.scso-trace-reference{display:inline-flex!important;flex-direction:column;align-items:flex-start;gap:2px;text-decoration:none}.scso-trace-reference strong{font-size:12px;color:#0b57d0}.scso-trace-reference small{font-size:10px;color:#71839a}.scso-trace-proof-missing{display:grid;gap:10px;margin-top:10px}.scso-trace-proof-missing form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.scso-trace-proof-missing input[type=file]{max-width:280px;font-size:12px}

/* v0.16.01 — order detail payment card structural fix */
.scso-order-trace-page .scso-trace-payment-card{align-self:start}
.scso-order-trace-page .scso-trace-payment-ledger{margin-top:10px}
.scso-order-trace-page .scso-trace-payment-ledger article{grid-template-columns:10px minmax(0,1fr) auto!important;align-items:start}
.scso-order-trace-page .scso-trace-payment-main{min-width:0}
.scso-order-trace-page .scso-trace-payment-main strong{font-size:13px;line-height:1.3;color:#16365f}
.scso-order-trace-page .scso-trace-payment-main small{display:block;margin-top:4px;font-size:10px;line-height:1.45;color:#75869e}
.scso-order-trace-page .scso-trace-payment-main p{margin:5px 0 0;font-size:10px;line-height:1.45;color:#60748f;overflow-wrap:anywhere}
.scso-order-trace-page .scso-trace-payment-status{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:5px 8px;border-radius:999px;background:#e8f7ef;color:#178050;font-size:9px;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.scso-order-trace-page .scso-trace-proof-actions{margin-top:10px}
.scso-order-trace-page .scso-trace-proof-missing{margin-top:10px;padding-top:10px;border-top:1px solid #e8eef6}
.scso-order-trace-page .scso-trace-proof-missing small{font-size:10px;color:#74869f}
.scso-order-trace-page .scso-trace-proof-missing form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.scso-order-trace-page .scso-trace-proof-missing input[type=file]{width:100%;max-width:none;min-width:0;padding:8px;border:1px solid #dfe7f1;border-radius:9px;background:#fff;font-size:10px}
@media(max-width:720px){.scso-order-trace-page .scso-trace-proof-missing form{grid-template-columns:1fr}.scso-order-trace-page .scso-trace-payment-ledger article{grid-template-columns:10px minmax(0,1fr)}.scso-order-trace-page .scso-trace-payment-status{grid-column:2;justify-self:start}}

/* v0.16.07 Inventory purchase traceability */
.scso-trace-reference--button{appearance:none;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;cursor:pointer;text-align:left}.scso-trace-reference--button:hover strong{text-decoration:underline}.scso-inventory-purchase-trace-modal .scso-modal-dialog{max-width:1180px}
