/* Shared EKOM workspace primitives: approved concept 1, screen only. */
@media screen {
.ui-content .feature-selection-tools button{font:600 13px var(--ui-font);color:var(--ui-blue);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:7px;padding:9px 13px;min-height:44px;cursor:pointer}
.ui-content .feature-selection-tools button:hover{background:var(--ui-soft);border-color:var(--ui-blue)}
.ui-content .enrichment-feature select{font:13px var(--ui-font);color:var(--ui-ink);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:6px;min-height:38px;padding:8px 9px;max-width:100%}
}
@media screen and (max-width:767px){.ui-content .enrichment-feature select{font-size:16px;min-height:44px}}
@media screen {
body.ekom-workspace{--blue:var(--ui-blue);--ink:var(--ui-ink);--muted:var(--ui-muted);--bg:var(--ui-bg);background:var(--bg)}
.ekom-workspace .shell{grid-template-columns:180px minmax(0,1fr)}
.ekom-workspace .sidebar{background:#fff;color:var(--ink);border-right:1px solid #e1e7f0;padding:24px 12px}
.ekom-workspace .sidebar .brand{font-size:24px;letter-spacing:1px;padding:0 10px}
.ekom-workspace .brand small{color:var(--muted);font-size:9px;line-height:1.6}
.ekom-workspace .sidebar nav{margin-top:28px;gap:3px}.ekom-workspace .sidebar a{color:#46546a;padding:10px;font-size:12px;line-height:1.4}
.ekom-workspace .sidebar a:hover{color:#205fc5;background:#edf3ff}
.ekom-workspace .profile{color:var(--muted);margin-top:28px;font-size:12px;padding:0 8px}
.ekom-workspace .main{padding:22px 24px;max-width:1800px;align-self:start;margin:0 auto}
.ekom-workspace .mobile-header{background:#fff;border-bottom:1px solid #e1e7f0}.ekom-workspace .mobile-brand{color:#2869db}
.ekom-workspace h1:not(.paper *){font-size:25px;letter-spacing:-.6px;margin:4px 0}.ekom-workspace h2:not(.paper *){font-size:16px;margin:0 0 16px}
.ekom-workspace .eyebrow:not(.paper *){font-size:10px;letter-spacing:1.4px}.ekom-workspace .toolbar:not(.paper *){margin-bottom:18px}
.ekom-workspace .btn:not(.paper *){font-size:13px;border-radius:7px;padding:9px 13px;min-height:38px;font-weight:600}
.ekom-workspace .btn-secondary:not(.paper *){background:#fff;border-color:#d5dfec;color:#43536b;font-weight:500}
.ekom-workspace .card:not(.paper *){padding:18px;border:1px solid #e0e6ef;border-radius:10px;box-shadow:0 2px 8px #213b5903;margin-bottom:16px}
.ekom-workspace .form-control,.ekom-workspace .form-select:not(.paper *){border-color:#d8e1ec;border-radius:6px;padding:8px 9px;font-size:13px;min-height:36px}
.ekom-workspace .field label:not(.paper *){font-size:11px;color:#5b6b80;font-weight:600;margin:0 0 6px}
.ekom-workspace .form-control:focus,.ekom-workspace .form-select:focus{border-color:#4785e9;outline:2px solid #dce9ff;box-shadow:none}
.ekom-workspace .helper:not(.paper *){font-size:11px;line-height:1.5}.ekom-workspace [hidden]{display:none!important}

.ekom-workspace .sidebar a{display:flex;align-items:center;gap:9px;min-height:38px;font-size:12px;border-radius:6px;line-height:1.45}
.workspace-nav-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.ekom-workspace .sidebar a.workspace-nav-active{color:#fff;background:var(--ui-blue);box-shadow:0 2px 5px #2f78f51a;font-weight:600}
.ekom-workspace .sidebar a.workspace-nav-active:hover{background:var(--ui-blue-hover);color:#fff}
.ekom-workspace .sidebar .brand{font-size:24px;font-weight:800;letter-spacing:-.7px}.ekom-workspace .sidebar .brand small{font-weight:500;letter-spacing:.3px}
.ekom-workspace-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #e1e7f0;margin:-22px -24px 20px;padding:10px 24px;min-height:60px}
.workspace-breadcrumbs{display:flex;align-items:center;gap:10px;font-size:12px;color:#7d8a9e;flex-wrap:wrap}.workspace-breadcrumbs a{color:#526882;text-decoration:none}.workspace-breadcrumbs a:hover{text-decoration:underline}
.workspace-header-actions{display:flex;align-items:center;gap:12px;flex:none}.workspace-catalog-action{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.workspace-catalog-action svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ekom-workspace .field label:not(.paper *){font-size:12px}.ekom-workspace .quote-row-header{font-size:11px;letter-spacing:0}
@media(max-width:1250px){.ekom-workspace-header{margin:-18px -14px 18px;padding:10px 14px}.workspace-breadcrumbs{font-size:11px}}
@media(max-width:767px){.ekom-workspace-header{margin:-16px -10px 16px;padding:8px 10px;gap:8px;flex-wrap:wrap;min-height:0}.workspace-breadcrumbs{font-size:11px;gap:7px}.workspace-header-actions{justify-content:space-between;width:100%;gap:8px}.workspace-catalog-action{flex:1;justify-content:flex-start}.ekom-workspace .workspace-catalog-action{min-height:36px;font-size:12px}.ekom-workspace .quote-language button{min-height:32px}.ekom-workspace .sidebar a{min-height:44px;font-size:13px}}

}
/* All application work screens. The .paper subtree is a protected document. */
@media screen{
body.ekom-workspace{--blue:var(--ui-blue);--ink:var(--ui-ink);--muted:var(--ui-muted);--bg:var(--ui-bg);font-family:var(--ui-font)}
.ekom-workspace .shell{grid-template-columns:180px minmax(0,1fr)}
.ekom-workspace .sidebar{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;max-height:100dvh;padding:20px 12px;z-index:40}
.ekom-workspace .sidebar>a.brand{display:flex;gap:8px;align-items:center;padding:0 7px;text-decoration:none;color:var(--ui-ink);min-height:36px;font-size:24px;line-height:1.2}
.brand-mark{display:inline-grid;place-items:center;flex:none;background:var(--ui-blue);color:#fff;width:28px;height:28px;border-radius:8px;font-size:18px;letter-spacing:0}
.ekom-workspace .sidebar nav{margin-top:20px}.ekom-workspace .profile{margin-top:auto;padding:20px 8px 0}.ekom-workspace .profile form{margin-top:12px}
.ekom-workspace .sidebar nav a{overflow-wrap:anywhere}.ekom-workspace .main{margin:0 auto;padding:22px 24px;align-self:start}.ui-content{min-width:0}
.ui-language{display:inline-flex;border:1px solid var(--ui-border);border-radius:7px;padding:2px;background:#f6f9fd;gap:2px}.ui-language button{font:600 12px var(--ui-font);min-height:30px;border:0;border-radius:5px;padding:5px 9px;background:transparent;color:var(--ui-muted);cursor:pointer}.ui-language button[aria-pressed=true]{background:#fff;color:var(--ui-blue);box-shadow:0 1px 3px #213b5920}.guest-language{display:flex;justify-content:flex-end;padding:18px}.ekom-workspace .login{margin:6vh auto;padding:0 12px}
.ui-content :where(th):not(.paper *){padding:10px;background:#f7f9fc;color:var(--ui-muted);font-size:11px;font-weight:650;letter-spacing:.2px}.ui-content :where(td):not(.paper *){padding:11px 10px;border-color:var(--ui-border);overflow-wrap:anywhere}.ui-content :where(table):not(.paper *){font-size:13px}.ui-content .table-wrap{max-width:100%}.ui-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.ui-content :where(.toolbar,.actions,.filters,.grid,.card,.field):not(.paper *){min-width:0}.ui-content .toolbar{flex-wrap:wrap}.ui-content .toolbar>div:first-child{min-width:0}.ui-content h1:not(.paper *){overflow-wrap:anywhere}.ui-content :where(.actions form):not(.paper *){margin:0}.ui-content .actions>.form-control,.ui-content .actions>.form-select{width:auto;max-width:100%;flex:1 1 150px}.ui-content .actions>button,.ui-content .actions>.btn{flex-shrink:0}
.ui-content :where(input,select,textarea):not(.paper *):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]){max-width:100%;font-family:var(--ui-font)}.ui-content select{min-width:0}.ui-content .field label{line-height:1.5}.ui-content .errorlist{color:var(--ui-danger)}.ui-content .alert{font-size:13px;line-height:1.6;border:1px solid #cde4da}.ui-content .alert.error,.ui-content .alert.danger{border-color:#e8b7bb;background:#fff0f1;color:#8f2930}.ui-content .empty{padding:36px 18px}.ui-content .pagination{flex-wrap:wrap;align-items:center}.ui-content .pim-tabs{gap:6px;border-bottom:1px solid var(--ui-border);padding-bottom:12px;margin-bottom:18px}.ui-content .pim-tabs [aria-selected=true]{background:var(--ui-blue);border-color:var(--ui-blue);color:#fff}.ui-content .pim-image-row{max-width:100%}.ui-content .pim-tab{scroll-margin-top:16px}.ui-content details:not(.paper *){margin-top:12px}.ui-content summary:not(.paper *){cursor:pointer;font-weight:600}
.onboarding{max-width:1080px}.onboarding form p{margin:12px 0}.onboarding input:not([type=checkbox]):not([type=hidden]),.onboarding select{max-width:100%;box-sizing:border-box}.onboarding label{font-weight:600}.onboarding .helptext{display:block;color:var(--ui-muted);font-size:12px}.onboarding .savebar{position:sticky;bottom:0;background:#fff;padding:12px;border:1px solid var(--ui-border);border-radius:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;z-index:20}.onboarding pre{white-space:pre-wrap;overflow-wrap:anywhere}
/* Restore inherited legacy values, not the geometry of the commercial document. */
.ekom-workspace .paper{--blue:#086e91;--ink:#192e43;--muted:#65778a;--bg:#f3f6f9;font-family:Segoe UI,Arial,sans-serif;color:#192e43}
.ekom-workspace .mobile-header{z-index:45;position:sticky;top:0}.ekom-workspace :where(button,a,input,select,textarea):focus-visible{outline:3px solid #aacbff;outline-offset:2px}.ekom-workspace input[readonly],.ekom-workspace textarea[readonly]{background:#f6f8fb}.ekom-workspace :disabled{cursor:not-allowed;opacity:.65}
@media(max-width:1100px){.ekom-workspace .main{padding:18px 14px}.ekom-workspace-header{margin:-18px -14px 18px;padding:10px 14px}}
@media(max-width:767px){.ekom-workspace .shell{display:block}.ekom-workspace .main{padding:16px 10px}.ekom-workspace .sidebar{position:fixed;top:52px;left:0;width:min(280px,88vw);height:calc(100dvh - 52px);max-height:calc(100dvh - 52px);box-shadow:10px 0 35px #213b5920}.ekom-workspace .sidebar:not(.is-open){display:none}.ekom-workspace .sidebar.is-open{display:flex}.ekom-workspace .sidebar nav{display:grid;gap:3px}.ekom-workspace .sidebar nav a{min-height:44px;font-size:13px}.ekom-workspace-header{margin:-16px -10px 16px;padding:8px 10px;min-height:44px;flex-wrap:nowrap}.workspace-header-actions{width:auto;flex:none}.workspace-breadcrumbs{font-size:12px;gap:5px}.ui-content .toolbar{gap:12px;align-items:stretch}.ui-content .actions{gap:7px}.ui-content .card:not(.paper *){padding:14px}.ui-content .grid{grid-template-columns:minmax(0,1fr)}.ui-content .pim-feature-row{grid-template-columns:minmax(0,1fr)}.ui-content .pim-tabs{flex-wrap:nowrap;overflow:auto;max-width:100%;padding:2px 0 10px}.ui-content .pim-tabs button{flex:none;min-height:40px}.ui-content .onboarding table{min-width:560px}.ui-content .onboarding .savebar .btn{flex:1}.ui-content .actions>.form-control,.ui-content .actions>.form-select{flex-basis:100%;width:100%}.ui-content .paper-screen-scroll{max-width:100%}.ui-content .status-control{min-width:0;max-width:100%}}
}

@media screen{.ui-content .card.actions{flex-direction:row;align-items:flex-end}.ui-content .card.actions>.btn{width:auto}.ui-content .card.actions>.form-control{flex-basis:260px}}
@media screen and (max-width:767px){.ekom-workspace-header{flex-wrap:wrap}.workspace-header-actions{flex-wrap:wrap;min-width:0;max-width:100%}.ui-content .card.actions>.btn{width:100%}}

@media screen{.quote-savebar{flex-wrap:wrap}.quote-savebar .actions{max-width:100%;flex-wrap:wrap}}
@media screen{
.ui-content h3:not(.paper *){font-size:15px;font-weight:650;margin:18px 0 12px}
.ui-content h4:not(.paper *){font-size:14px;font-weight:650;margin:14px 0 10px}
.ui-content form:not(#offer-form)>label,.ui-content form>p>label{font-size:13px;line-height:1.5}
.ui-content input[type=file]{max-width:100%;font:13px var(--ui-font);line-height:1.5}
.ui-content input[type=file]::file-selector-button{font:inherit;color:var(--ui-ink);background:#fff;border:1px solid var(--ui-border);border-radius:6px;padding:8px 10px;margin-right:8px;cursor:pointer}
}
@media screen and (max-width:767px){
body.ekom-workspace:not(.quote-prototype) .form-control:not(.paper *),body.ekom-workspace:not(.quote-prototype) .form-select:not(.paper *){font-size:16px;min-height:44px}
body.ekom-workspace:not(.quote-prototype) .field label:not(.paper *),.ui-content form:not(#offer-form)>label,.ui-content form>p>label{font-size:14px}
body.ekom-workspace:not(.quote-prototype) .btn:not(.paper *){font-size:14px;min-height:44px}
}

/* Existing VED forms: one shared action surface, no business writes. */
@media screen{.ui-content .ved-action-bar{position:sticky;bottom:0;z-index:20;display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:var(--ui-surface,#fff);border:1px solid var(--ui-border,#dbe3ee);border-radius:8px;padding:12px;margin-top:12px;box-shadow:0 -3px 12px #233e6510}.ui-content .ved-action-bar .btn{max-width:100%;white-space:normal}@media(max-width:720px){.ui-content .ved-action-bar{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.ui-content .ved-action-bar .btn{flex:1}}}
