/* Interix workspace design tokens: white surfaces, brand actions, semantic data. */
:root{--ux-text:#252b32;--ux-muted:#606974;--ux-line:#e4e8ed;--ux-blue:#3867b4;--ux-teal:#168175;--ux-violet:#7560ac;--ux-amber:#ae711d;--ux-rose:#b94d60;--ux-radius:16px;--ux-shadow:0 3px 18px #202b3c05}
.workspace{--ink:var(--ux-text);--muted:var(--ux-muted);background:#fff!important;color:var(--ux-text)}
.workspace .workspace-main,.workspace .content,.workspace .topbar,.workspace .sidebar{background:#fff!important}
.workspace .content{max-width:1600px;padding:32px 36px 64px;line-height:1.55}
.workspace .page-head{margin-bottom:26px;gap:20px;align-items:center}
.workspace .page-head h1{font-size:clamp(27px,2.5vw,36px);font-weight:650;letter-spacing:-.045em;line-height:1.18;color:var(--ux-text)}
.workspace .page-head p{font-size:15px;max-width:70ch;color:var(--ux-muted);line-height:1.6}
.workspace .eyebrow{font-size:11px;letter-spacing:.09em;color:var(--ux-muted)}
.workspace h2{font-size:19px;letter-spacing:-.025em;line-height:1.35;font-weight:620}
.workspace h3{font-size:16px;line-height:1.45;font-weight:600}
.workspace .muted,.workspace :is(.small,small){color:var(--ux-muted)}
.workspace .small{font-size:13px;line-height:1.6}
.workspace :is(.card,.op-kpi){border:1px solid var(--brand-line,var(--ux-line));border-radius:var(--ux-radius);box-shadow:var(--ux-shadow);background:#fff}
.workspace .padded{padding:24px}.workspace .section-head.flush{padding:0;margin:0 0 20px;align-items:center;gap:16px}
.workspace .btn,dialog .btn{min-height:40px;border-radius:10px;font-size:13px;line-height:1.4;font-weight:600;padding:10px 15px;transition:background .16s,box-shadow .16s,border-color .16s}
.workspace .btn.primary{box-shadow:0 3px 8px #202b3c0d}
.workspace .btn:not(.primary):hover,dialog .btn:not(.primary):hover{box-shadow:0 2px 8px #202b3c08}
.workspace :is(button,a,summary,input,select,textarea):focus-visible,dialog :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--brand-focus,#3867b4);outline-offset:3px}
.workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){font-size:14px;min-height:42px;background:#fff;color:var(--ux-text);border-radius:9px}
.workspace :is(label,.field){font-size:13px;color:var(--ux-muted);line-height:1.5}
.workspace .sidebar{border-right:1px solid var(--ux-line);box-shadow:none}
.workspace .sidebar .nav-link{min-height:43px;font-size:14px;border-radius:9px;transition:background .16s}
.workspace .op-nav-group>summary{min-height:40px;font-size:11px;letter-spacing:.075em;color:var(--ux-muted)}
.workspace .topbar{border-bottom:1px solid var(--brand-line,var(--ux-line));min-height:68px}
.workspace .breadcrumb{font-size:13px;color:var(--ux-muted)}
.workspace .op-filters{background:#fff;border:1px solid var(--ux-line);border-radius:12px;padding:16px;gap:12px}
.workspace .op-kpi{padding:22px;gap:10px;position:relative;overflow:hidden}
.workspace .op-kpi>span{font-size:13px;font-weight:500;color:var(--ux-muted)}
.workspace .op-kpi>strong{font-size:clamp(25px,2.5vw,34px);font-weight:620;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:var(--ux-text)}
.workspace .op-kpi small{font-size:12px;line-height:1.5;color:var(--ux-muted)}
.workspace .op-kpi:before{width:24px;height:3px;top:0;left:22px;border-radius:0 0 3px 3px}
.workspace .op-kpi-link:hover{transform:none;border-color:var(--brand-primary);box-shadow:0 5px 20px #202b3c0b}
.workspace .op-kpi-link[data-stage="Won"]:before{background:var(--ux-teal)}
.workspace .op-kpi-link[data-stage="Lost"]:before{background:var(--ux-rose)}
.workspace .op-next-action{background:#fff;border:1px solid var(--brand-line);box-shadow:none;border-radius:14px}
.workspace .op-next-action p{font-size:13px;line-height:1.6;color:var(--ux-muted)}
.workspace .op-next-action .op-module-icon{background:#f4f6f8;color:var(--ux-text)}
.workspace .op-status{padding:6px 10px;border-radius:7px;font-size:12px;background:#eef2f8;color:#3f587d}
.workspace .op-status.positive{background:#eaf5ef;color:#216347}.workspace .op-status.negative{background:#fbeef1;color:#963a4f}.workspace .op-status.warning{background:#fbf2df;color:#805910}
.workspace .op-table th{background:#f7f8fa;color:#59616c;font-size:11px;font-weight:650;text-transform:none;letter-spacing:.025em;padding:13px 14px;border-bottom:1px solid var(--ux-line)}
.workspace .op-table td{font-size:14px;padding:16px 14px;border-bottom:1px solid #edf0f3;vertical-align:middle;line-height:1.55}
.workspace .op-table td small{font-size:12px;color:var(--ux-muted)}
.workspace .op-table tbody tr:hover{background:#fafbfc}.workspace .op-table tbody tr:has(.ux-empty):hover{background:#fff}
.workspace .table-wrap{border-radius:12px;scrollbar-width:thin;scrollbar-color:#c8cdd4 #fff}
.workspace .table-wrap table{font-size:14px;line-height:1.55}.workspace .table-wrap th{color:#59616c}.workspace .table-wrap td small{font-size:12px;color:var(--ux-muted)}
.workspace .page-head{flex-wrap:wrap}.workspace .page-head>div:first-child{min-width:0;flex:1}.workspace .plan-title{gap:20px;flex-wrap:wrap}.workspace .plan-title h1{font-size:32px;font-weight:650;letter-spacing:-.04em}
.workspace .op-tabs{gap:6px;padding-bottom:12px;border-bottom:1px solid var(--ux-line);scrollbar-width:thin}
.workspace .op-module.btn{min-height:92px;transition:box-shadow .18s,border-color .18s}
.workspace .op-module.btn:hover{background:#fff;border-color:var(--brand-primary);box-shadow:0 5px 20px #202b3c0b}
.workspace .op-module:nth-child(4n+1) .op-module-icon{background:#edf2fb;color:var(--ux-blue)}
.workspace .op-module:nth-child(4n+2) .op-module-icon{background:#f1edf8;color:var(--ux-violet)}
.workspace .op-module:nth-child(4n+3) .op-module-icon{background:#eaf5f2;color:var(--ux-teal)}
.workspace .op-module:nth-child(4n) .op-module-icon{background:#fbf3e7;color:var(--ux-amber)}
.workspace .op-project-strip{background:#fff;border-color:var(--ux-line);font-size:13px}
.workspace .op-progress{height:8px;background:#edf0f3}.workspace .op-progress i{background:var(--ux-teal)}
.workspace .op-gantt-track{height:22px;background:#f1f3f6;border-radius:6px}.workspace .op-gantt-track i{background:var(--ux-blue);border-radius:5px}.workspace .op-gantt-track i.positive{background:var(--ux-teal)}.workspace .op-gantt-track i.negative{background:var(--ux-rose)}
.ux-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0}
.ux-guide-button{display:flex;gap:7px;align-items:center;background:#fff;color:var(--ux-muted)}.ux-guide-button svg{width:16px;height:16px}
.ux-pulse{margin:26px 0 32px}.ux-kicker{font-size:10px!important;letter-spacing:.12em;font-weight:700;color:var(--ux-muted);margin:0 0 7px}
.ux-donut-layout{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:26px;margin:26px 0}
.ux-donut{height:166px;width:166px;border-radius:50%;background:var(--chart-fill);display:grid;place-items:center;position:relative}
.ux-donut>div{width:126px;height:126px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.ux-donut strong{font-size:32px;font-weight:620;letter-spacing:-.04em;color:var(--ux-text)}.ux-donut span{font-size:11px;color:var(--ux-muted);max-width:90px;line-height:1.4}
.ux-legend{display:grid;gap:6px;min-width:0}.ux-legend>div,.ux-legend>button{display:grid;grid-template-columns:9px minmax(0,1fr) auto 36px;gap:10px;align-items:center;text-align:left;font:inherit;font-size:13px;background:transparent;border:0;padding:9px 5px;min-height:40px;border-radius:7px;color:var(--ux-text)}
.ux-legend>button{cursor:pointer}.ux-legend>button:hover{background:#f6f8fa}.ux-legend small{font-size:11px;text-align:right;font-variant-numeric:tabular-nums}
.ux-dot,.ux-bar-label>i{width:8px;height:8px;border-radius:3px;background:var(--chart-colour);display:inline-block;flex-shrink:0}
.ux-chart-note{font-size:12px;line-height:1.6;color:var(--ux-muted);margin:14px 0 0}
.ux-bars{display:grid;gap:10px;margin:22px 0}.ux-bar-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(45px,1fr) minmax(30px,auto);align-items:center;gap:14px;padding:9px 0;min-height:42px}
button.ux-bar-row{font:inherit;width:100%;background:none;border:0;text-align:left;cursor:pointer;border-radius:7px;color:var(--ux-text)}button.ux-bar-row:hover{background:#f6f8fa}
.ux-bar-label{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.5}.ux-bar-row>strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.ux-bar-track{height:10px;border-radius:5px;background:#f0f2f5;overflow:hidden}.ux-bar-track>i{height:100%;display:block;background:var(--chart-colour);border-radius:5px;animation:ux-grow .5s ease-out;transform-origin:left}
.ux-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:28px 16px;color:var(--ux-muted)}
.ux-empty-art{display:grid;place-items:center;width:46px;height:46px;border:1px solid #dce4ec;border-radius:14px;color:#607591;background:#f4f7fa;transform:rotate(-5deg);margin-bottom:4px}
.ux-empty-art svg{height:22px;width:22px}.ux-empty strong{font-size:15px!important;font-weight:600;color:var(--ux-text)}.ux-empty p{font-size:13px;max-width:42ch;line-height:1.65;margin:0}.ux-empty .btn{margin-top:6px}
.ux-guide{line-height:1.7;color:var(--ux-text)}.ux-guide>h3{font-size:22px;margin:0 0 12px}.ux-guide>p{font-size:15px;color:var(--ux-muted)}.ux-guide-note{background:#f5f7fa;border-left:3px solid var(--ux-blue);border-radius:8px;padding:16px;margin:22px 0}.ux-guide-note p{font-size:14px;margin:8px 0 0}.ux-journey{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 24px}.ux-journey>a{display:flex;align-items:center;gap:10px;border:1px solid var(--ux-line);border-radius:10px;min-height:48px;padding:12px;font-size:14px}.ux-journey small{color:var(--ux-muted)}.ux-journey span{margin-left:auto}.ux-journey>a:hover{background:#f5f7fa}
.ux-filter-scope{padding:10px 14px;border:1px solid var(--ux-line);border-radius:9px;font-size:13px;margin:-8px 0 20px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.account-card,.signin-card{box-shadow:0 12px 40px #26344808}.account-card :is(.account-note,.account-subtitle,.account-status),.signin-card :is(.signin-intro,.signin-legal){color:#606974;line-height:1.7}.signin-card .signin-legal{font-size:13px}.account-card .btn,.signin-card .btn{min-height:46px}.account-card .account-status:empty{display:none}
.ix-home .ix-screen-kpis>div:nth-child(1){border-top:3px solid var(--ux-blue)}.ix-home .ix-screen-kpis>div:nth-child(2){border-top:3px solid var(--ux-teal)}.ix-home .ix-screen-kpis>div:nth-child(3){border-top:3px solid var(--ux-amber)}.ix-home .ix-progress>i{background:var(--ux-teal)}.ix-home .ix-example-timeline i{background:var(--ux-blue)}.ix-home .ix-example-timeline i.complete{background:var(--ux-teal)}
@keyframes ux-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:1100px){.ux-page-actions{flex-shrink:1}.workspace .content{padding:28px 24px 52px}.ux-donut-layout{grid-template-columns:150px minmax(0,1fr);gap:20px}.ux-donut{height:146px;width:146px}.ux-donut>div{width:110px;height:110px}}
@media(max-width:700px){.workspace .content{padding:24px 16px 90px}.workspace .page-head{flex-direction:column;align-items:stretch;gap:16px}.ux-page-actions{justify-content:flex-start}.workspace .padded{padding:19px}.workspace .btn,dialog .btn,.workspace .op-tabs .btn{min-height:44px}.workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}.workspace .op-kpi{padding:18px}.workspace .op-kpi>strong{font-size:26px}.ux-donut-layout{grid-template-columns:130px minmax(0,1fr);gap:15px}.ux-donut{width:126px;height:126px}.ux-donut>div{width:94px;height:94px}.ux-donut strong{font-size:26px}.ux-legend>button,.ux-legend>div{grid-template-columns:8px minmax(0,1fr) auto;gap:7px;min-height:44px;font-size:12px}.ux-legend small{display:none}.ux-bar-row{grid-template-columns:minmax(110px,1fr) minmax(24px,.6fr) auto;gap:10px}.ux-bar-label{font-size:12px}.ux-bar-row>strong{font-size:12px}.ux-guide>h3{font-size:21px}.workspace .op-filters input[type=date]{min-width:0;width:100%}.ux-page-actions>.btn{flex:1 1 auto}.workspace .section-head.flush{flex-wrap:wrap}.ux-pulse .section-head.flush{align-items:start}.ux-pulse .section-head .btn{min-height:36px}.workspace .op-modules{gap:10px}.workspace .op-module.btn{min-height:110px}}
@media(prefers-reduced-motion:reduce){.ux-bar-track>i{animation:none}.workspace *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){.ux-pulse .section-head .btn,.ux-bar-row,.workspace .nav-link{min-height:44px}.workspace .page-head>div:first-child{width:100%}.workspace .plan-title{flex-direction:column;align-items:stretch}.workspace .plan-title h1{font-size:28px}}
@media print{.ux-guide-button,.ux-page-actions,.ux-filter-scope{display:none!important}.ux-bar-track>i{animation:none}}
/* Company identity is the workspace anchor; navigation stays compact. */
.workspace .sidebar .company-badge{display:none}
.workspace .topbar{min-height:88px;height:auto;padding-top:12px;padding-bottom:12px;gap:18px}
.workspace-context{display:flex;align-items:center;gap:24px;min-width:0;flex:1}
.workspace-identity{display:flex;align-items:center;gap:12px;min-width:0;max-width:65%;text-decoration:none;color:var(--ux-text)}
.workspace-identity>span:last-child{display:flex;flex-direction:column;min-width:0;gap:3px}
.workspace-identity small{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ux-muted)}
.workspace-identity strong{font-size:17px;line-height:1.35;overflow-wrap:anywhere}
.workspace-identity .company-logo,.workspace-identity .avatar{width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:10px;background:#fff}
.workspace-context .breadcrumb{border-left:1px solid var(--ux-line);padding-left:22px;font-size:13px;min-width:0}
.workspace .topbar>.row{flex-shrink:0}
.workspace .settings-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible}
.workspace .settings-tabs button{min-height:44px;white-space:normal;text-align:left;line-height:1.4}
#company-bank-details{margin:24px 0;padding:24px;border:1px solid var(--brand-line,var(--ux-line));border-radius:14px;background:#fff}
#company-bank-details>p{max-width:70ch;line-height:1.65}
.workspace .sidebar-bottom .nav-link{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:11px 12px;min-height:44px;line-height:1.5;text-align:left;font-weight:400}
.workspace .sidebar-bottom .nav-link .icon{width:18px;height:18px;flex:0 0 18px}
@media(max-width:700px){.workspace .topbar{padding:12px 16px;gap:10px}.workspace-context{flex-direction:column;align-items:flex-start;gap:6px}.workspace-identity{max-width:100%;gap:9px}.workspace-identity strong{font-size:14px}.workspace-identity .company-logo,.workspace-identity .avatar{height:36px;width:36px}.workspace-identity small{font-size:9px}.workspace-context .breadcrumb{padding-left:0;border:0;font-size:11px}.workspace .topbar>.row{gap:6px}.workspace .topbar .icon-button{width:40px;min-width:40px;height:44px}#company-bank-details{padding:18px}.workspace .settings-tabs button{flex:1 1 130px}}

/* Keep important numbers and touch actions usable on narrow screens. */
.op-kpi{min-width:0}.op-kpi strong{font-variant-numeric:tabular-nums}.op-overview-kpis .op-kpi strong{white-space:nowrap;font-size:clamp(1.25rem,2vw,2rem)}
@media(max-width:600px){.op-overview-kpis{grid-template-columns:1fr 1fr}.op-overview-kpis .op-kpi{padding:16px 12px}.op-overview-kpis .op-kpi strong{font-size:clamp(1rem,4.4vw,1.5rem)}.op-overview-kpis .op-kpi:last-child{grid-column:1 / -1}.btn:not(.text-link),.op-tabs a,.op-tabs button{min-height:44px}.form-grid{grid-template-columns:1fr}.op-filters{grid-template-columns:1fr}.op-filters input,.op-filters select{font-size:16px}.op-filters button{width:100%}.document-row{gap:12px;flex-wrap:wrap}.document-row>div{min-width:0;overflow-wrap:anywhere}}

/* Preserve the quotation snapshot palette over general table styling. */
.workspace .table-proposal .table-wrap thead th{color:var(--quote-on-primary)}
