:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#17202a;background:#f4f6f8}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{min-height:100vh}.card{max-width:440px;margin:9vh auto;background:#fff;padding:32px;border-radius:16px;box-shadow:0 8px 32px #16202a18}.brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.brand h1{margin:0 0 4px}.brand.compact{margin:4px 4px 28px}.mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#1967d2;color:#fff;font-weight:800;font-size:1.25rem}h1{margin:0 0 8px}h2{margin-top:0}label{display:block;margin:18px 0 6px;font-weight:600}input,select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #c8d0d8;border-radius:8px;font:inherit;background:#fff}button{border:0;border-radius:8px;padding:12px 18px;background:#1967d2;color:#fff;font:inherit;cursor:pointer}button:disabled{opacity:.6;cursor:wait}.secondary{background:#e8edf3;color:#17202a}.link-button{background:transparent;color:#1967d2;padding:12px 4px}.wide{width:100%;margin-top:auto}.muted{color:#66737f}.error{color:#b42318;min-height:1.4em}.notice{background:#e9f5ff;border:1px solid #9bc8ee;padding:12px;border-radius:8px;margin-bottom:16px}.eyebrow{font-size:.75rem;letter-spacing:.12em;color:#1967d2;font-weight:700;margin:0 0 6px}.status{min-height:24px;margin-bottom:12px}#shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}aside{display:flex;flex-direction:column;padding:24px 16px;background:#10243e;color:#fff}nav{display:grid;gap:4px}nav button{background:transparent;color:#dce8f6;text-align:left;padding:10px 12px}nav button:hover,nav button.active{background:#24496f;color:#fff}.content{padding:28px;max-width:1400px;width:100%}.content header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.content header select{max-width:300px;margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.tile,.panel{background:#fff;padding:20px;border-radius:12px;border:1px solid #e1e6eb}.tile h2,.panel h2{font-size:1rem}.metric{font-size:2rem;font-weight:700}.table-wrap{overflow:auto;background:#fff;border:1px solid #e1e6eb;border-radius:12px}.data{width:100%;border-collapse:collapse}.data th,.data td{padding:12px 14px;border-bottom:1px solid #edf0f2;text-align:left;white-space:nowrap}.data th{font-size:.78rem;color:#66737f;text-transform:uppercase;letter-spacing:.05em}.empty{padding:32px;text-align:center;color:#66737f;background:#fff;border:1px dashed #c8d0d8;border-radius:12px}.toolbar,.actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar input{max-width:320px;margin:0}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.session{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f2}.badge{display:inline-block;padding:3px 8px;border-radius:999px;background:#e8edf3;font-size:.78rem}.danger{background:#fff0ee;color:#9b1c1c}.denied{background:#fff3f0;border-color:#f3b5aa;color:#8a1c13}@media(max-width:800px){#shell{grid-template-columns:1fr}aside{padding:14px;position:static}nav{display:flex;overflow:auto}nav button{white-space:nowrap}.wide{margin-top:12px}.content{padding:18px}.content header{display:block}.content header select{margin-top:14px;max-width:none}.card{margin:4vh 16px}.session{display:block}.session button{margin-top:10px}}

/* Unified base editor — bounded private member interface */
.workspace-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 14px}
.workspace-head h2{margin:0}.base-cards,.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.base-card{min-height:100px;background:#fff;color:#17202a;text-align:left;border:1px solid #d5dee7;font-weight:700}
.workspace-tabs{display:flex;align-items:center;gap:5px;overflow:auto;border-bottom:1px solid #d5dee7;padding:3px 0 10px;margin:8px 0 14px}
.workspace-tabs button{white-space:nowrap;background:#e8edf3;color:#10243e}
.workspace-tabs button.active{background:#1967d2;color:#fff}
.view-tabs{margin-top:0}.workspace-controls{margin:12px 0}.workspace-controls button{padding:9px 12px}
.grid-scroll{overflow:auto;max-height:65vh;border:1px solid #d5dee7;border-radius:10px;background:#fff}
.member-grid{border-collapse:collapse;min-width:100%;width:max-content}
.member-grid th,.member-grid td{min-width:130px;max-width:360px;border-bottom:1px solid #e5e9ee;border-right:1px solid #edf0f3;padding:7px 10px;text-align:left}
.member-grid thead th{position:sticky;top:0;background:#f0f4f9;z-index:1;color:#475569}
.member-grid tbody th{position:sticky;left:0;background:#fff;z-index:1;min-width:52px}
.member-grid .group-header th{position:static;background:#e8f1ff;font-weight:700}
.member-grid[data-density=DOUBLE] td{height:72px}.member-grid[data-density=TRIPLE] td{height:105px}.member-grid[data-density=QUADRUPLE] td{height:140px}
.member-grid tr.deleted{opacity:.55;text-decoration:line-through}
.cell{min-width:100px;cursor:text}.cell:focus-visible{outline:2px solid #1967d2}.cell-value{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cell-actions{display:flex;gap:4px;margin-top:5px}.cell-actions button{padding:5px 8px}
.subtle{padding:3px 7px;background:transparent;color:#1967d2}.inline-check{display:inline-flex;align-items:center;gap:8px;margin:0 10px 0 0}
.inline-check input{width:auto;margin:0}.choice-list{display:grid;gap:8px}.coord-fields{display:flex;gap:8px}
.kanban-board{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;min-width:0;max-width:100%;overscroll-behavior-x:contain;scroll-snap-type:x proximity;touch-action:pan-x pan-y} .kanban-lane{flex:0 0 clamp(210px,72vw,280px);scroll-snap-align:start;background:#f3f6fb;border:1px solid #dbe3ed;border-radius:12px;padding:12px}
.kanban-lane h3{margin:2px 0 14px}.kanban-card{display:block;width:100%;margin:8px 0;background:#fff;color:#17202a;text-align:left;box-shadow:0 1px 4px #10243e18}
.gallery-card{min-height:180px}.gallery-card p{overflow:hidden;text-overflow:ellipsis}.timeline-item{display:flex;align-items:center;gap:12px;border-left:3px solid #1967d2;padding:10px;margin:8px 0}.timeline-item time{min-width:220px}
.tree{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.tree button{text-align:left}
.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;z-index:20;background:#10243e99;display:flex;justify-content:center;align-items:center;padding:20px}
.dialog{max-width:700px;width:100%;max-height:85vh;overflow:auto}.dialog .toolbar input,.dialog .toolbar select{max-width:190px}
 .record-drawer{width:min(560px,100%);max-width:100%;min-width:0;max-height:100dvh;overflow:auto;overscroll-behavior:contain;padding-bottom:calc(24px + env(safe-area-inset-bottom));align-self:stretch;margin-left:auto;background:#fff;padding:24px;box-shadow:-10px 0 30px #10243e33}
.drawer-backdrop{padding:0;justify-content:flex-end}.detail-field{padding:12px 0;border-bottom:1px solid #e5e9ee}.detail-field strong{display:block;margin-bottom:7px}
textarea{display:block;width:100%;min-height:90px;padding:10px;border:1px solid #c8d0d8;border-radius:8px;font:inherit}
@media(max-width:800px){.workspace-head{gap:10px}.grid-scroll{max-height:55vh}.member-grid td{min-width:120px}.kanban-board{margin-right:0;max-width:100%;}.record-drawer{width:100%}.timeline-item{display:block}.timeline-item time{display:block;min-width:0}}

/* v10 product surfaces */
.product-panel{min-width:0}.asset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.builder{display:grid;gap:.85rem}.field-row{display:grid;gap:.35rem}.field-row>span{font-weight:700}.result-list{display:grid;gap:.6rem}.result-card{display:grid;text-align:left;gap:.25rem;width:100%;padding:1rem}.activity-list{display:grid;gap:.8rem;padding-left:1.4rem}.activity-list li{display:grid;grid-template-columns:minmax(10rem,1fr) auto;gap:.25rem 1rem;border-bottom:1px solid var(--line,#d8dde8);padding:.7rem 0}.activity-list time,.activity-list small{grid-column:1/-1}@media(max-width:700px){.activity-list li{grid-template-columns:1fr}.toolbar input[type=file]{max-width:100%}}


/* v13 spreadsheet-first workspace */
.kt-spreadsheet-workspace{margin:-8px -14px 0;min-height:calc(100vh - 150px);display:flex;flex-direction:column}
.kt-spreadsheet-workspace .workspace-head{padding:14px 18px 6px;background:#fff;border-bottom:1px solid #d5dee7}
.kt-spreadsheet-workspace .workspace-tabs{padding:8px 18px;margin:0;background:#fff}
.kt-spreadsheet-workspace .workspace-controls{padding:10px 18px;margin:0;background:#f7f9fc;border-bottom:1px solid #d5dee7;align-items:center}
.kt-grid-search{display:flex;align-items:center;gap:8px;margin-right:auto}.kt-grid-search .muted{font-size:.78rem;font-weight:700}
.kt-grid-search input{width:260px;max-width:32vw;margin:0;padding:9px 11px}
.kt-grid-scroll{flex:1;max-height:calc(100vh - 310px);border-radius:0;border-left:0;border-right:0;border-bottom:0}
.kt-grid-scroll .member-grid{font-size:.9rem}
.kt-grid-scroll .member-grid th,.kt-grid-scroll .member-grid td{height:42px}
.kt-grid-scroll .member-grid thead th{height:44px;user-select:none}
.kt-grid-scroll .member-grid .field-header{position:sticky;top:0;min-width:150px;max-width:520px}
.kt-grid-scroll .member-grid .field-header.selected{background:#dceaff;color:#0f4c9a}
.kt-grid-scroll .member-grid .row-select-head{position:sticky;left:0;top:0;z-index:3;min-width:76px;background:#f0f4f9}
.kt-grid-scroll .member-grid .row-header{position:sticky;left:0;z-index:2;min-width:76px;background:#fff;white-space:nowrap}
.kt-grid-scroll .member-grid .selected-row .row-header,.kt-grid-scroll .member-grid .selected-row td{background:#edf4ff}
.kt-grid-scroll .grid-cell{min-width:150px;outline:none}
.kt-grid-scroll .grid-cell.selected-range{background:#eaf3ff;box-shadow:inset 0 0 0 1px #91b8e8}
.kt-grid-scroll .grid-cell.active-cell{box-shadow:inset 0 0 0 2px #1967d2;background:#f7fbff}
.kt-grid-scroll .grid-cell:focus-visible{outline:2px solid #1967d2;outline-offset:-2px}
.kt-resize-handle{float:right;display:inline-block;width:6px;height:24px;margin:-2px -7px 0 8px;cursor:col-resize;border-right:2px solid #b7c8dc}
.kt-resize-handle:hover{border-right-color:#1967d2}
.kt-spreadsheet-workspace .empty{margin:18px}
@media(max-width:800px){.kt-spreadsheet-workspace{margin:0 -18px}.kt-grid-search{width:100%;margin-bottom:8px}.kt-grid-search input{max-width:none;width:100%}.kt-grid-scroll{max-height:calc(100vh - 390px)}}

/* v17 spreadsheet-dominant product composition */
#shell.spreadsheet-mode{grid-template-columns:184px minmax(0,1fr)}
#shell.spreadsheet-mode aside{padding:16px 10px}
#shell.spreadsheet-mode aside .brand.compact{margin:2px 4px 16px}
#shell.spreadsheet-mode aside nav button{padding:8px 10px;font-size:.9rem}
#shell.spreadsheet-mode .content{max-width:none;padding:0;min-width:0;overflow:hidden}
#shell.spreadsheet-mode .content>header{margin:0;padding:10px 18px;background:#fff;border-bottom:1px solid #d5dee7;align-items:center}
#shell.spreadsheet-mode .content>header h1{font-size:1rem;margin:0}
#shell.spreadsheet-mode .content>header .eyebrow{display:none}
#shell.spreadsheet-mode .content>header #member-email{margin:3px 0 0;font-size:.78rem}
#shell.spreadsheet-mode .content>header #workspace-select{max-width:260px;padding:8px 10px}
#shell.spreadsheet-mode .status{margin:0;padding:5px 18px;min-height:28px;background:#f7f9fc;border-bottom:1px solid #e5e9ee;font-size:.78rem}
#shell.spreadsheet-mode #content-view{min-width:0}
#shell.spreadsheet-mode .kt-spreadsheet-workspace{margin:0;min-height:calc(100vh - 92px)}
#shell.spreadsheet-mode .kt-grid-scroll{max-height:calc(100vh - 270px)}
.kt-spreadsheet-workspace .workspace-head h2{font-size:1.05rem}
.kt-spreadsheet-workspace .workspace-tabs button,.kt-spreadsheet-workspace .workspace-controls button{border-radius:6px}
.kt-spreadsheet-workspace .workspace-controls{gap:6px}
.kt-spreadsheet-workspace .workspace-controls button{background:#fff;color:#24364b;border:1px solid #d5dee7}
.kt-spreadsheet-workspace .workspace-controls button:hover{background:#edf4ff;border-color:#9ebce0}
.kt-spreadsheet-workspace .member-grid th,.kt-spreadsheet-workspace .member-grid td{padding:6px 9px}
.kt-spreadsheet-workspace .member-grid thead th{background:#f5f7fa;color:#435266;font-weight:600;text-transform:none;letter-spacing:0}
.kt-spreadsheet-workspace .member-grid tbody tr:hover td{background:#f8fbff}
.dialog{box-shadow:0 24px 70px #10243e40}
.dialog>h2{padding-right:72px}
@media(max-width:800px){#shell.spreadsheet-mode{grid-template-columns:1fr}#shell.spreadsheet-mode aside{padding:10px}#shell.spreadsheet-mode .content>header{padding:10px 14px}#shell.spreadsheet-mode .kt-grid-scroll{max-height:calc(100vh - 340px)}}


/* v41 top-bar spreadsheet-first member shell */
#shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:100vh;background:#f5f7fa}
#shell aside{position:sticky;top:0;z-index:15;display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;min-height:56px;padding:8px 14px;background:#10243e}
#shell aside .brand.compact{flex:0 0 auto;margin:0 14px 0 0;gap:9px;white-space:nowrap}
#shell aside .brand.compact .mark{width:32px;height:32px;border-radius:8px;font-size:1rem}
#shell aside nav{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:thin}
#shell aside nav button{flex:0 0 auto;padding:8px 10px;text-align:center;font-size:.88rem;white-space:nowrap}
#shell aside .wide{flex:0 0 auto;width:auto;margin:0 0 0 auto;padding:8px 14px}
#shell .content{display:flex;flex-direction:column;min-width:0;width:100%;max-width:none;min-height:0;height:100%;padding:0;overflow:hidden}
#shell .content>header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;margin:0;padding:8px 18px;background:#fff;border-bottom:1px solid #d5dee7}
#shell .content>header h1{font-size:1.05rem;margin:0}
#shell .content>header .eyebrow{display:none}
#shell .content>header #member-email{margin:2px 0 0;font-size:.78rem}
#shell .content>header #workspace-select{width:min(310px,35vw);margin:0;padding:8px 10px}
#shell .status{min-height:28px;margin:0;padding:5px 18px;background:#f7f9fc;border-bottom:1px solid #e5e9ee;font-size:.78rem}
#shell #content-view{flex:1;min-height:0;min-width:0;overflow:auto;padding:18px}
#shell.spreadsheet-mode{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
#shell.spreadsheet-mode aside{padding:8px 14px}
#shell.spreadsheet-mode aside .brand.compact{margin:0 14px 0 0}
#shell.spreadsheet-mode aside nav button{padding:8px 10px;font-size:.88rem}
#shell.spreadsheet-mode .content{min-height:0;height:100%}
#shell.spreadsheet-mode .content>header{min-height:52px;margin:0;padding:8px 18px}
#shell.spreadsheet-mode .status{min-height:28px;margin:0;padding:5px 18px}
#shell.spreadsheet-mode #content-view{padding:0;overflow:hidden}
#shell.spreadsheet-mode .kt-spreadsheet-workspace{min-height:0;height:100%;margin:0}
#shell.spreadsheet-mode .kt-spreadsheet-workspace .workspace-head{flex:0 0 auto;padding:9px 18px 7px}
#shell.spreadsheet-mode .kt-spreadsheet-workspace .workspace-tabs{flex:0 0 auto;padding:7px 18px}
#shell.spreadsheet-mode .kt-spreadsheet-workspace .workspace-controls{flex:0 0 auto;padding:8px 18px}
#shell.spreadsheet-mode .kt-grid-scroll{flex:1;min-height:0;max-height:none;border-radius:0}
#shell.spreadsheet-mode .member-grid th,
#shell.spreadsheet-mode .member-grid td{height:38px;padding:5px 9px}
#shell.spreadsheet-mode .member-grid thead th{height:40px}
@media(max-width:800px){
 #shell{grid-template-rows:auto minmax(0,1fr)}
 #shell aside,#shell.spreadsheet-mode aside{position:static;flex-wrap:wrap;padding:8px 10px}
 #shell aside .brand.compact{margin-right:4px}
 #shell aside .brand.compact strong{display:none}
 #shell aside nav{order:3;width:100%}
 #shell aside .wide{margin-left:auto}
 #shell .content,#shell.spreadsheet-mode .content{min-height:0}
 #shell .content>header{padding:8px 12px}
 #shell .content>header #workspace-select{width:min(52vw,280px)}
 #shell.spreadsheet-mode .kt-spreadsheet-workspace{min-height:0}
}

/* v42 accessibility and resilient sizing */
#shell aside nav button:focus-visible,#shell aside .wide:focus-visible{outline:3px solid #8fc2ff;outline-offset:2px}
#shell aside nav button[aria-current=page]{background:#2c5d8c;color:#fff}
#shell.spreadsheet-mode .kt-spreadsheet-workspace .workspace-controls{max-width:100%}


/* v51 — product flow: public landing → projects hub → spreadsheet project */
:root{--kt-ink:#162033;--kt-muted:#66758a;--kt-line:#dfe5ec;--kt-soft:#f6f8fb;--kt-brand:#0b7f86;--kt-brand-2:#135fc7;--kt-dark:#10223c;--kt-accent:#e8f6f5}
.kt-landing{min-height:100vh;background:linear-gradient(180deg,#fff 0%,#f7fafc 68%,#eef5f7 100%);color:var(--kt-ink)}
.kt-site-header{height:72px;display:flex;align-items:center;gap:34px;padding:0 clamp(24px,6vw,92px);border-bottom:1px solid #eef1f4;background:#ffffffea;backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}
.kt-site-brand{display:flex;align-items:center;gap:10px;color:var(--kt-ink);text-decoration:none;font-size:1.05rem}.kt-site-brand .mark{background:linear-gradient(135deg,var(--kt-brand),var(--kt-brand-2))}
.kt-site-nav{display:flex;gap:28px;margin-right:auto}.kt-site-nav a{color:#415066;text-decoration:none;font-weight:600;font-size:.93rem}.kt-site-nav a:hover{color:var(--kt-brand-2)}
.kt-site-actions{display:flex;align-items:center;gap:10px}.kt-site-actions button{padding:9px 16px;border-radius:9px}
.kt-hero{max-width:1280px;margin:auto;min-height:610px;padding:90px 44px 70px;display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,.95fr);gap:70px;align-items:center}
.kt-kicker,.kt-hub-kicker{display:block;font-size:.74rem;letter-spacing:.14em;font-weight:800;color:var(--kt-brand);margin-bottom:14px}
.kt-hero-copy h1{font-size:clamp(2.7rem,5vw,4.7rem);line-height:1.02;letter-spacing:-.045em;margin:0 0 24px;max-width:780px}.kt-hero-copy p{font-size:1.12rem;line-height:1.75;color:#5a687b;max-width:690px}
.kt-hero-actions{display:flex;gap:12px;margin-top:30px}.kt-hero-actions button{padding:13px 20px;border-radius:10px;font-weight:700}
.kt-hero-preview{background:#fff;border:1px solid #dce4ec;border-radius:16px;box-shadow:0 34px 80px #18334d20;overflow:hidden;transform:perspective(1200px) rotateY(-2deg)}
.preview-bar{height:38px;background:#f2f5f8;border-bottom:1px solid #dde4eb;display:flex;gap:6px;align-items:center;padding:0 14px}.preview-bar span{width:9px;height:9px;border-radius:50%;background:#bcc7d3}
.preview-tabs{display:flex;align-items:center;gap:22px;padding:14px 18px;background:linear-gradient(90deg,#0b7f86,#1669b6);color:#fff;font-size:.8rem}.preview-tabs span{opacity:.85}
.preview-grid{display:grid;grid-template-columns:1.5fr 1.1fr .9fr .8fr;font-size:.78rem}.preview-grid>div{padding:12px 14px;border-right:1px solid #e7ecf1;border-bottom:1px solid #e7ecf1}.preview-head{font-weight:700;background:#f7f9fb;color:#59687a}.preview-grid em{font-style:normal;background:#dff4f0;color:#0a6e6b;padding:3px 8px;border-radius:999px}
.kt-feature-strip{max-width:1180px;margin:0 auto 64px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0 44px}.kt-feature-strip article{background:#fff;border:1px solid #e3e9ef;border-radius:14px;padding:22px}.kt-feature-strip strong{display:block;margin-bottom:8px}.kt-feature-strip span{color:#66758a;line-height:1.55;font-size:.9rem}
.kt-trust{max-width:1092px;margin:0 auto 50px;padding:14px 18px;border-radius:12px;background:#edf7f6;color:#49616b;display:flex;gap:10px;justify-content:center;font-size:.9rem}

/* Member global chrome */
#shell.hub-mode,#shell.project-mode{background:#f7f9fb}
#shell .kt-member-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;flex-direction:row;gap:8px;height:58px;min-height:58px;padding:0 16px;background:#fff;color:var(--kt-ink);border-bottom:1px solid var(--kt-line);box-shadow:0 1px 6px #14243a0a}
.kt-brand-button{display:flex;align-items:center;gap:9px;padding:0 8px 0 0;background:transparent;color:var(--kt-ink);font-weight:750;white-space:nowrap}.kt-brand-button .mark{width:32px;height:32px;background:linear-gradient(135deg,var(--kt-brand),var(--kt-brand-2));font-size:.95rem}
#shell .kt-member-topbar nav{display:flex;gap:3px;overflow:visible}#shell .kt-member-topbar nav button{color:#4a596c;background:transparent;padding:8px 10px;border-radius:7px;font-weight:600}#shell .kt-member-topbar nav button[aria-current=page]{background:#edf5f7;color:#0b6f78}
.kt-topbar-spacer{flex:1}
#shell .kt-member-topbar #workspace-select{width:auto;min-width:170px;max-width:260px;margin:0;padding:7px 30px 7px 10px;border-color:#d7dfe7}
#shell .kt-member-topbar #account-shortcut,#shell .kt-member-topbar #logout{padding:8px 11px;margin:0;background:#f0f3f6;color:#344256}
#shell .content{height:auto;min-height:calc(100vh - 58px);overflow:hidden}
#shell .kt-member-context{min-height:74px;padding:16px clamp(24px,4vw,54px);background:#fff;border-bottom:1px solid #edf0f3}.kt-member-context h1{font-size:1.35rem!important}.kt-member-context #member-email{font-size:.78rem!important}
#shell .kt-member-context.project-context-hidden{display:none}
#shell .status{min-height:0;padding:0;background:transparent;border:0;margin:0}
#shell .status:empty{display:none}
#shell.hub-mode #content-view{padding:0;overflow:auto;background:#f7f9fb}
#shell.project-mode #content-view{padding:0;overflow:hidden;height:calc(100vh - 58px)}
#shell.project-mode .content{height:calc(100vh - 58px);min-height:0}

/* Projects hub */
.kt-project-hub{max-width:1180px;margin:0 auto;padding:42px clamp(24px,5vw,56px) 80px}
.kt-project-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:38px}.kt-project-hub-head h2{font-size:1.8rem;margin:0 0 8px}.kt-project-hub-head p{margin:0}.kt-project-hub-head>button{margin-top:10px}
.kt-project-section>h3{font-size:.88rem;text-transform:uppercase;letter-spacing:.08em;color:#748195;margin:0 0 14px}
.kt-project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.kt-project-card{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:13px;min-height:88px;padding:16px!important;border:1px solid #dde5ec!important;border-radius:12px!important;background:#fff!important;color:var(--kt-ink)!important;box-shadow:0 4px 16px #1c365208;text-align:left}
.kt-project-card:hover{border-color:#9bc8d1!important;box-shadow:0 10px 26px #1c365214;transform:translateY(-1px)}
.kt-project-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:linear-gradient(135deg,#0f9b91,#1f72c8);color:#fff;font-weight:800}
.kt-project-card-copy{display:grid;gap:4px}.kt-project-card-copy strong{font-size:.95rem}.kt-project-card-copy small{font-size:.77rem}.kt-project-open{font-size:1.15rem;color:#8390a0}
.kt-project-add{border-style:dashed!important;background:#fbfcfd!important}.kt-project-add-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#eef3f7;color:#5d6d80;font-size:1.5rem}

/* Project workspace */
#shell.project-mode .kt-spreadsheet-workspace{height:100%;min-height:0;display:flex;flex-direction:column;margin:0}
#shell.project-mode .kt-project-head{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;padding:8px 12px;background:linear-gradient(90deg,#0b7f86,#1567b7);color:#fff;border:0}
#shell.project-mode .kt-project-head>button{flex:0 0 auto;background:#ffffff20;color:#fff;border:1px solid #ffffff32}
.kt-project-title{display:flex;align-items:center;gap:9px;min-width:0}.kt-project-title h2{color:#fff;font-size:1rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.kt-project-title .kt-project-icon{background:#fff;color:#0b7f86;width:30px;height:30px;font-size:.8rem}
.kt-project-tools{display:flex;align-items:center;gap:4px;margin-left:auto;overflow-x:auto;min-width:0}.kt-project-tools button{flex:0 0 auto;padding:7px 9px;background:transparent!important;color:#fff!important;border:0!important;font-size:.78rem}.kt-project-tools button:hover{background:#ffffff1f!important}
#shell.project-mode .workspace-tabs{background:#fff;border-bottom:1px solid #d7dfe6;padding:0 12px;margin:0;min-height:40px;gap:0}
#shell.project-mode .workspace-tabs>button{border-radius:0!important;background:transparent!important;color:#405065!important;border:0;border-bottom:2px solid transparent;padding:10px 14px!important}
#shell.project-mode .workspace-tabs>button.active{color:#0a7180!important;border-bottom-color:#0a8892!important;font-weight:700}
#shell.project-mode .view-tabs{background:#f8fafc;min-height:38px}
#shell.project-mode .view-folder-group{display:flex;align-items:center}.view-folder-label{padding:0 8px;color:#8a96a4;font-size:.72rem}
#shell.project-mode .workspace-controls{background:#fff;padding:7px 10px!important;border-bottom:1px solid #dde4ea;min-height:44px;gap:5px}
#shell.project-mode .workspace-controls button{padding:7px 10px;border-radius:5px!important;font-size:.8rem}
#shell.project-mode .kt-grid-scroll{flex:1;min-height:0;max-height:none;border:0;border-radius:0;background:#fff}
#shell.project-mode .member-grid{font-size:.84rem}
#shell.project-mode .member-grid thead th{background:#f3f6f8;color:#526174;height:36px!important}
#shell.project-mode .member-grid th,#shell.project-mode .member-grid td{height:36px!important;padding:4px 8px!important}
#shell.project-mode .member-grid td{background:#fff}
#shell.project-mode .member-grid tbody tr:hover td{background:#f8fbfd}
#shell.project-mode .row-header{background:#f8fafb!important}
.builder-context-nav{position:sticky;top:0;z-index:5;border-radius:0!important;margin:0!important;padding:8px 12px!important;border-left:0!important;border-right:0!important}

@media(max-width:900px){
 .kt-site-nav{display:none}.kt-hero{grid-template-columns:1fr;padding:58px 24px}.kt-hero-preview{transform:none}.kt-feature-strip{grid-template-columns:1fr;padding:0 24px}
 .kt-site-header{padding:0 18px}.kt-site-brand strong{display:none}
 #shell .kt-member-topbar{flex-wrap:nowrap;padding:0 8px}.kt-brand-button strong{display:none}#shell .kt-member-topbar #workspace-select{min-width:0;width:34vw}
 .kt-project-hub{padding:28px 18px}.kt-project-hub-head{display:block}.kt-project-hub-head>button{margin-top:18px}
 #shell.project-mode .kt-project-head{overflow-x:auto}.kt-project-tools{overflow:visible}
}
@media(max-width:600px){
 .kt-site-actions #landing-register{display:none}.kt-hero-copy h1{font-size:2.35rem}.kt-hero{gap:36px}.kt-hero-preview{font-size:.85rem}.preview-grid{grid-template-columns:1.25fr 1fr}.preview-grid>div:nth-child(4n+3),.preview-grid>div:nth-child(4n+4){display:none}
 .kt-project-cards{grid-template-columns:1fr}#shell .kt-member-topbar #account-shortcut{display:none}
 .kt-project-tools button{font-size:.72rem}.kt-project-title .kt-project-icon{display:none}
}


/* v52 — professional member workspace hub */
.kt-workspace-hub{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:none!important;margin:0!important;padding:0!important;min-height:calc(100vh - 132px);background:#fff}
.kt-workspace-sidebar{border-right:1px solid #e3e8ee;background:#f8fafc;padding:22px 12px 16px;display:flex;flex-direction:column;gap:4px}
.kt-workspace-sidebar-label{padding:0 10px 8px;color:#8793a2;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.kt-workspace-nav{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px;border-radius:7px;border:0;background:transparent;color:#425166;text-decoration:none;font-size:.86rem;font-weight:600;text-align:left}
.kt-workspace-nav:hover{background:#eef3f7}.kt-workspace-nav.active{background:#e7f3f3;color:#0b737c}
.kt-nav-icon{width:18px;height:18px;display:grid;place-items:center;color:#718094;font-size:.9rem}
.kt-workspace-nav.active .kt-nav-icon{color:#0b7f86}.kt-sidebar-spacer{flex:1}
.kt-workspace-main{min-width:0;padding:38px clamp(34px,5vw,72px) 72px;background:#fff}
.kt-workspace-main-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding-bottom:28px;border-bottom:1px solid #edf0f3}
.kt-workspace-main-head h2{font-size:1.75rem;margin:0 0 6px;color:#192438}.kt-workspace-main-head p{margin:0}
.kt-hub-actions{display:flex;align-items:center;gap:10px}.kt-project-search{width:260px!important;min-width:200px;border-radius:8px!important;background:#f7f9fb!important;border-color:#dfe5eb!important;padding:9px 12px!important}
.kt-project-section{padding-top:26px}.kt-project-section>h3{font-size:.77rem;letter-spacing:.06em;color:#7d8999;margin-bottom:12px}
.kt-project-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:10px!important}
.kt-project-card{min-height:74px!important;border-radius:9px!important;border:1px solid #e1e6eb!important;padding:13px 14px!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.kt-project-card:hover{border-color:#b8c6d4!important;box-shadow:0 6px 18px rgba(28,47,70,.08)!important;transform:translateY(-1px)}
.kt-project-icon{width:36px!important;height:36px!important;border-radius:8px!important;background:linear-gradient(135deg,#0b8e90,#1b76b9)!important}
.kt-project-card-copy strong{font-size:.92rem!important;color:#263246}.kt-project-card-copy small{font-size:.74rem!important;color:#8994a2!important}
.kt-project-open{color:#9aa5b2!important;font-size:1rem!important}
#shell.hub-mode .kt-member-context{padding:14px 22px!important;min-height:62px!important}
#shell.hub-mode .kt-member-context h1{font-size:1.05rem!important;margin:0}.kt-hub-kicker{font-size:.67rem!important;margin-bottom:7px!important}
#workspace-select{font-weight:650;color:#344256}
#account-shortcut{width:34px!important;min-width:34px!important;height:34px!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;overflow:hidden;font-size:.78rem!important;font-weight:800!important;color:#35506c!important;background:#eef3f7!important;border:1px solid #dbe3ea!important}
#account-shortcut::before{content:none}
#logout{white-space:nowrap}

/* account becomes compact secondary surface */
.account-grid{display:grid!important;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr)!important;gap:16px!important;max-width:1060px;margin:26px auto;padding:0 24px 50px}
.account-grid .panel{border-radius:10px!important;border:1px solid #e2e7ec!important;box-shadow:none!important;padding:18px!important}
.account-grid .panel h2{font-size:1rem!important;margin-bottom:14px!important}.account-grid .session{padding:10px 0!important;border-bottom:1px solid #edf0f3}.account-grid .session:last-child{border-bottom:0}

/* project application density */
#shell.project-mode .kt-project-head{min-height:54px!important;padding:7px 12px!important}
#shell.project-mode .workspace-tabs{min-height:36px!important}
#shell.project-mode .workspace-controls{min-height:40px!important}
#shell.project-mode .member-grid thead th{height:34px!important}
#shell.project-mode .member-grid th,#shell.project-mode .member-grid td{height:34px!important;padding:3px 7px!important}
#shell.project-mode .kt-grid-scroll{background:#fff!important}

@media(max-width:900px){
 .kt-workspace-hub{grid-template-columns:1fr}.kt-workspace-sidebar{display:none}.kt-workspace-main{padding:28px 18px 60px}.kt-workspace-main-head{align-items:flex-start}.kt-hub-actions{width:100%;margin-top:16px}.kt-project-search{flex:1;width:auto!important}.account-grid{grid-template-columns:1fr!important}
}
@media(max-width:640px){
 .kt-workspace-main-head{display:block}.kt-hub-actions{display:grid;grid-template-columns:1fr auto}.kt-project-cards{grid-template-columns:1fr!important}
 #logout{display:none}
}


/* KT row color palette */
.kt-color-dialog{display:grid;gap:14px;min-width:min(520px,82vw)}
.kt-color-mode-select{width:100%}
.kt-color-label{display:block;font-size:.78rem;font-weight:700;color:#475569;margin-bottom:7px}
.kt-color-field{display:grid;gap:6px}
.kt-color-palette-wrap{display:grid;gap:6px}
.kt-color-swatches{display:grid;grid-template-columns:repeat(6,36px);gap:9px;align-items:center}
.kt-color-swatch{width:36px;height:36px;min-width:36px;padding:0;border-radius:9px;border:1px solid rgba(15,23,42,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);display:grid;place-items:center;cursor:pointer;transition:transform .12s,border-color .12s,box-shadow .12s}
.kt-color-swatch:hover{transform:translateY(-1px);border-color:#64748b}
.kt-color-swatch.active{border-color:#0f766e;box-shadow:0 0 0 2px rgba(15,118,110,.18),inset 0 0 0 1px rgba(255,255,255,.65)}
.kt-color-swatch-check{opacity:0;font-weight:900;color:#0f172a;text-shadow:0 1px 0 rgba(255,255,255,.9)}
.kt-color-swatch.active .kt-color-swatch-check{opacity:1}
.kt-color-auto-palette{display:grid;gap:7px}
.kt-color-auto-strip{display:flex;gap:5px;flex-wrap:wrap}
.kt-color-auto-chip{width:28px;height:20px;border-radius:6px;border:1px solid rgba(15,23,42,.1)}
.kt-color-actions{display:flex;justify-content:flex-end;padding-top:4px}


/* v55 genuine spreadsheet surface */
#shell.project-mode.spreadsheet-mode #content-view{padding:0!important;overflow:hidden!important;background:#fff}
#shell.project-mode.spreadsheet-mode .kt-spreadsheet-workspace{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
#shell.project-mode.spreadsheet-mode .kt-view-surface{flex:1!important;min-height:0!important;display:flex!important;overflow:hidden!important}
#shell.project-mode.spreadsheet-mode .kt-grid-scroll{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important;border-top:1px solid #dfe5ec!important;background:#fff!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid{border-collapse:separate!important;border-spacing:0!important;min-width:100%!important;width:max-content!important;background:#fff!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid th,
#shell.project-mode.spreadsheet-mode .kt-sheet-grid td{height:32px!important;min-height:32px!important;padding:0!important;border-right:1px solid #dfe4ea!important;border-bottom:1px solid #e5e9ee!important;background:#fff!important;vertical-align:middle!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid thead th{height:34px!important;background:#f5f7f9!important;font-size:.78rem!important;font-weight:650!important;color:#46566a!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .row-select-head,
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .row-header{min-width:58px!important;width:58px!important;max-width:58px!important;background:#f7f9fb!important;text-align:center!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .field-header{min-width:140px!important;padding:0 8px!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .grid-cell{min-width:140px!important;padding:0!important;cursor:cell!important;position:relative!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell{height:31px!important;min-height:31px!important;display:flex!important;align-items:center!important;padding:0 8px!important;overflow:hidden!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell-value{width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:31px!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell.editing{padding:0!important;background:#fff!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell.editing>input,
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell.editing>select,
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell.editing>textarea{width:100%!important;height:31px!important;min-height:31px!important;margin:0!important;padding:4px 7px!important;border:0!important;border-radius:0!important;outline:2px solid #1373e6!important;outline-offset:-2px!important;background:#fff!important;font:inherit!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .cell.editing>textarea{resize:none!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .grid-cell.selected-range{background:#eaf3ff!important;box-shadow:inset 0 0 0 1px #9bc0ec!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid .grid-cell.active-cell{background:#fff!important;box-shadow:inset 0 0 0 2px #1373e6!important;z-index:1!important}
#shell.project-mode.spreadsheet-mode .kt-sheet-grid tbody tr:hover td{background:#fbfdff!important}
#shell.project-mode.spreadsheet-mode .kt-grid-toolbar{flex:0 0 auto!important;margin:0!important;border-radius:0!important}
#shell.project-mode.spreadsheet-mode .workspace-tabs{flex:0 0 auto!important;margin:0!important}
@media(max-width:800px){
 #shell.project-mode.spreadsheet-mode .kt-sheet-grid .field-header,
 #shell.project-mode.spreadsheet-mode .kt-sheet-grid .grid-cell{min-width:128px!important}
 #shell.project-mode.spreadsheet-mode .kt-sheet-grid .row-select-head,
 #shell.project-mode.spreadsheet-mode .kt-sheet-grid .row-header{min-width:52px!important;width:52px!important}
}


/* v56 visual parity */
:root{--kt-ref:#10c5c5;--kt-line:#d8dde3;--kt-head:#f5f6f7}
#shell{height:100dvh;min-height:100vh;background:#fff;grid-template-rows:58px minmax(0,1fr)!important}
#shell .kt-member-topbar{height:58px;min-height:58px;padding:0 16px!important;background:#fff!important;color:#243243!important;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 4px #0f17210d;display:flex!important;align-items:center!important;gap:12px!important;z-index:30}
#shell .kt-brand-button{background:transparent!important;border:0!important;color:#173253!important;padding:0!important;display:flex!important;align-items:center!important;gap:9px!important}
#shell .kt-brand-button .mark{background:linear-gradient(135deg,#f59b23,#f26a21)!important;color:#fff!important;border-radius:4px!important;width:25px!important;height:25px!important}
#shell .kt-brand-button strong{font-size:1.08rem!important}#shell #nav{display:none!important}
.kt-global-search{width:260px;height:36px;border:1px solid #d8dee7;border-radius:4px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px;margin:0}.kt-global-search span{color:#98a3b1}.kt-global-search input{border:0!important;outline:0!important;background:transparent!important;padding:0!important;width:100%;height:100%;box-shadow:none!important}
#workspace-select{max-width:180px!important;border:0!important;background:transparent!important;font-size:.82rem!important;color:#657184!important;padding:6px!important}
.kt-ui-icon{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;flex:0 0 auto;line-height:1}.kt-ui-icon svg{display:block;width:100%;height:100%}.kt-icon-button{width:34px;height:34px;border:0;background:transparent;color:#8793a1;padding:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.kt-icon-button:hover{background:#f0f3f6}
.kt-account-anchor{position:relative}.kt-account-menu{position:absolute;right:0;top:43px;width:260px;background:#fff;border:1px solid #d5d9de;box-shadow:0 10px 28px #0f172229;z-index:60;border-radius:2px;padding:0;overflow:hidden}
.kt-account-menu-head{display:flex;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid #e5e7eb}.kt-account-menu-head div{min-width:0;display:grid;gap:2px}.kt-account-menu-head small{color:#7b8795;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-account-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e8edf2;color:#64748b;font-weight:800}.kt-account-menu-meta{padding:12px 16px;display:grid;gap:3px;border-bottom:1px solid #e5e7eb}.kt-account-menu-meta span{font-size:.75rem;color:#8b96a3}.kt-account-menu-meta strong{font-size:.84rem}
.kt-account-menu>button{width:100%;border:0;border-radius:0;background:#fff;color:#263445;text-align:left;padding:11px 16px}.kt-account-menu>button:hover{background:#f5f7f9}
#account-shortcut{width:36px!important;min-width:36px!important;height:36px!important;border-radius:50%!important;background:#e9edf1!important;border:1px solid #d7dde3!important;color:#667384!important;padding:0!important}
#shell .content{height:100%;min-height:0;overflow:hidden;background:#fff}
#shell.hub-mode .kt-member-context,#shell.hub-mode .status{display:none!important}#shell.hub-mode #content-view{padding:0!important;overflow:hidden!important}
.kt-workspace-hub{height:100%;min-height:0!important;grid-template-columns:350px minmax(0,1fr)!important}.kt-workspace-sidebar{padding:18px 12px!important;background:#fff!important;border-right:1px solid #e5e7eb!important}
.kt-workspace-sidebar-label{font-size:.95rem!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;color:#4b5563!important;padding:0 8px 10px!important}
.kt-workspace-nav{height:39px!important;border-radius:3px!important;font-size:.94rem!important;font-weight:400!important;padding:8px 10px!important;color:#39475a!important}.kt-workspace-nav.active{background:#0f8f96!important;color:#fff!important}.kt-workspace-nav.active .kt-nav-icon{color:#fff!important}
.kt-workspace-main{padding:42px 18px 72px!important;background:#fff!important;overflow:auto}.kt-workspace-title-row,.kt-project-section,.kt-shared-section{max-width:980px;margin:0}
.kt-workspace-title{display:flex;align-items:center;gap:12px;margin:0 0 54px}.kt-workspace-building{color:#85919e;font-size:1.35rem}.kt-workspace-title h2{font-size:1.55rem;margin:0;color:#28384e;font-weight:500}
.kt-project-section{padding:0!important}.kt-section-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px}.kt-section-heading h3{font-size:1rem;margin:0;font-weight:500;color:#34465c}.kt-section-icon{color:#8794a2}
.kt-project-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 26px}.kt-project-list-item{min-height:46px!important;background:#fff!important;border:0!important;border-radius:2px!important;box-shadow:none!important;padding:5px 8px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important;color:#26384d!important}
.kt-project-list-item:hover{background:#f6f8fa!important}.kt-project-square{width:38px;height:38px;border-radius:6px;background:var(--kt-ref);color:#fff;display:grid;place-items:center;font-weight:800}.kt-project-list-name{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-project-open{margin-left:auto;color:#a4adb8}
.kt-project-add-icon{width:38px;height:38px;border-radius:6px;background:#f1f3f5;color:#98a2ad;display:grid;place-items:center;font-size:1.8rem}.kt-project-add .kt-project-list-name{color:#49586b}.kt-shared-section{margin-top:44px}.kt-shared-empty{height:48px;background:#f6f7f8;color:#929ca8;display:flex;align-items:center;padding:0 14px;font-size:.9rem}
body.kt-project-active #shell{grid-template-rows:minmax(0,1fr)!important}body.kt-project-active #shell>.kt-member-topbar{display:none!important}body.kt-project-active #shell .content{grid-row:1!important}body.kt-project-active #shell .kt-member-context,body.kt-project-active #shell .status{display:none!important}
#shell.project-mode #content-view{padding:0!important;overflow:hidden!important}#shell.project-mode .kt-spreadsheet-workspace{height:100%;display:flex;flex-direction:column;min-height:0}
#shell.project-mode .kt-project-head{height:52px!important;min-height:52px!important;background:var(--kt-ref)!important;padding:0 16px!important;border:0!important;display:grid!important;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;color:#fff}
#shell.project-mode .kt-project-head>button{justify-self:start;width:34px;height:34px;padding:0!important;background:transparent!important;border:0!important;color:#fff!important;font-size:1.25rem}.kt-project-title{justify-self:center;display:flex;align-items:center;gap:8px;min-width:0}.kt-project-title h2{font-size:1.05rem!important;color:#fff!important;font-weight:700!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-project-info{width:16px;height:16px;border-radius:50%;background:#ffffff62;display:grid;place-items:center;font-size:.67rem;font-weight:800}
.kt-project-tools{display:flex;align-items:center;gap:3px;margin:0!important;overflow:visible!important}.kt-project-tool{height:34px!important;padding:0 8px!important;background:transparent!important;border:0!important;color:#fff!important;font-size:.82rem!important;display:flex!important;align-items:center!important;gap:5px}.kt-project-tool:hover{background:#ffffff20!important}.kt-project-tool-icon{width:32px!important;padding:0!important;justify-content:center!important}
#shell.project-mode .kt-table-tabs-bar{height:43px!important;min-height:43px!important;background:var(--kt-ref)!important;border:0!important;padding:0 14px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important}.kt-table-tabs{display:flex;align-items:flex-end;height:100%;overflow-x:auto}.kt-table-tabs>button{height:38px!important;min-width:132px;padding:0 18px!important;border:0!important;border-radius:3px 3px 0 0!important;background:#0faeb1!important;color:#eaffff!important;font-size:.88rem!important}.kt-table-tabs>button.active{background:#fff!important;color:#243243!important}.kt-table-tabs>.kt-table-add{min-width:42px!important;width:42px!important;background:transparent!important;font-size:1.25rem!important}
.kt-table-ops{display:flex;align-items:center;height:100%;padding-bottom:3px}.kt-table-op{height:34px!important;padding:0 8px!important;border:0!important;background:transparent!important;color:#fff!important;display:flex!important;align-items:center!important;gap:4px;font-size:.78rem!important}.kt-table-op:hover{background:#ffffff20!important}
#shell.project-mode .kt-grid-toolbar{height:43px!important;min-height:43px!important;background:#fff!important;padding:0 9px!important;border-bottom:1px solid #d9dde3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;overflow:hidden}.kt-grid-toolbar-left,.kt-grid-toolbar-right{display:flex;align-items:center;gap:4px;min-width:0}.kt-grid-toolbar-left{overflow-x:auto;scrollbar-width:none}.kt-grid-toolbar-left::-webkit-scrollbar{display:none}
.kt-grid-toolbar button{height:32px!important;padding:0 8px!important;border:0!important;background:#fff!important;color:#2f3e51!important;border-radius:2px!important;font-size:.82rem!important;white-space:nowrap}.kt-grid-toolbar button:hover{background:#f1f4f6!important}.kt-view-control{display:flex;align-items:center;gap:4px;min-width:150px}.kt-view-chooser{border:0!important;background:transparent!important;height:32px!important;padding:0 22px 0 4px!important;max-width:180px}.kt-grid-search{height:32px;display:flex!important;align-items:center!important;gap:5px!important;margin:0!important}.kt-grid-search input{width:165px!important;height:30px!important;border:0!important;background:transparent!important;padding:0 5px!important;box-shadow:none!important}
#shell.project-mode .kt-view-surface{flex:1!important;min-height:0!important;display:flex!important;overflow:hidden!important;background:#f5f5f5!important}#shell.project-mode .kt-grid-scroll{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#f5f5f5!important;position:relative}
#shell.project-mode .kt-sheet-grid{border-collapse:separate!important;border-spacing:0!important;min-width:100%!important;width:max-content!important;background:#f5f5f5!important}#shell.project-mode .kt-sheet-grid th,#shell.project-mode .kt-sheet-grid td{padding:0!important;border-right:1px solid var(--kt-line)!important;border-bottom:1px solid var(--kt-line)!important;vertical-align:middle!important;background:var(--kt-row-color,#fff)}
#shell.project-mode .kt-sheet-grid[data-density=DEFAULT] tbody tr:not(.kt-add-record-row)>th,#shell.project-mode .kt-sheet-grid[data-density=DEFAULT] tbody tr:not(.kt-add-record-row)>td{height:32px!important}#shell.project-mode .kt-sheet-grid[data-density=DOUBLE] tbody tr:not(.kt-add-record-row)>th,#shell.project-mode .kt-sheet-grid[data-density=DOUBLE] tbody tr:not(.kt-add-record-row)>td{height:64px!important}#shell.project-mode .kt-sheet-grid[data-density=TRIPLE] tbody tr:not(.kt-add-record-row)>th,#shell.project-mode .kt-sheet-grid[data-density=TRIPLE] tbody tr:not(.kt-add-record-row)>td{height:96px!important}#shell.project-mode .kt-sheet-grid[data-density=QUADRUPLE] tbody tr:not(.kt-add-record-row)>th,#shell.project-mode .kt-sheet-grid[data-density=QUADRUPLE] tbody tr:not(.kt-add-record-row)>td{height:128px!important}
#shell.project-mode .kt-sheet-grid thead th{height:32px!important;background:var(--kt-head)!important;color:#405064!important;font-size:.82rem!important;font-weight:500!important;position:sticky;top:0;z-index:3}#shell.project-mode .kt-sheet-grid .row-select-head,#shell.project-mode .kt-sheet-grid .row-header{width:80px!important;min-width:80px!important;max-width:80px!important;background:#f7f7f7!important;position:sticky;left:0;z-index:4}
#shell.project-mode .kt-sheet-grid .field-header{min-width:145px!important;padding:0 8px!important;white-space:nowrap}.kt-field-type-icon{display:inline-flex;width:20px;justify-content:center;color:#6d7885;margin-right:4px;font-size:.8rem}.kt-field-name{vertical-align:middle}#shell.project-mode .kt-sheet-grid .field-header>.subtle{float:right!important;width:24px!important;height:24px!important;padding:0!important;background:transparent!important;border:0!important}
.kt-add-field-head{width:80px!important;min-width:80px!important;text-align:center!important}.kt-add-field-head button{width:32px;height:28px;border:0!important;background:transparent!important;font-size:1.25rem;color:#566476}#shell.project-mode .kt-sheet-grid .grid-cell{min-width:145px!important;cursor:cell!important;position:relative!important}#shell.project-mode .kt-sheet-grid .cell{min-height:31px!important;height:100%!important;display:flex!important;align-items:center!important;padding:0 8px!important;overflow:hidden!important}
#shell.project-mode .kt-sheet-grid .cell-value{width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.kt-select-pill,.kt-relation-pill{display:inline-flex;align-items:center;max-width:100%;height:20px;line-height:20px;border-radius:10px;padding:0 10px;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-relation-pill{background:#e8f0f7;color:#42617d}.kt-multi-pills{display:flex;gap:4px;align-items:center;overflow:hidden}.kt-boolean-cell{font-weight:800;color:#1f7a55}
#shell.project-mode .kt-sheet-grid .grid-cell.selected-range{background:#eaf3ff!important;box-shadow:inset 0 0 0 1px #8fb9e6!important}#shell.project-mode .kt-sheet-grid .grid-cell.active-cell{background:#fff!important;box-shadow:inset 0 0 0 2px #1a73e8!important;z-index:2!important}.kt-add-record-row td{height:34px!important;background:#fff!important}.kt-add-record-row button{width:42px;height:32px;border:0;background:transparent;font-size:1.35rem;color:#657486}.kt-grid-footer{position:sticky;left:0;bottom:0;z-index:5;height:28px;background:#fafafa;border-top:1px solid #dedede;color:#3e4c5d;display:flex;align-items:center;padding:0 8px;font-size:.78rem}
#shell.project-mode .cell.editing>input,#shell.project-mode .cell.editing>select,#shell.project-mode .cell.editing>textarea{width:100%!important;height:100%!important;min-height:31px!important;border:0!important;border-radius:0!important;outline:2px solid #1a73e8!important;outline-offset:-2px!important;padding:3px 7px!important;background:#fff!important;margin:0!important;font:inherit!important}
@media(max-width:900px){.kt-workspace-hub{grid-template-columns:1fr!important}.kt-workspace-sidebar{display:none!important}.kt-project-list{grid-template-columns:1fr!important}.kt-workspace-main{padding:28px 18px!important}.kt-workspace-title{margin-bottom:28px}.kt-project-title{justify-self:start}.kt-project-head{grid-template-columns:44px minmax(0,1fr) auto!important}.kt-project-tool span:not(.kt-tool-icon){display:none}.kt-op-label{display:none}.kt-global-search{width:min(48vw,260px)}}@media(max-width:620px){#shell .kt-member-topbar{padding:0 8px!important}.kt-brand-button strong{display:none}.kt-global-search{width:48vw}.kt-table-ops{display:none}.kt-table-tabs>button{min-width:110px}.kt-grid-toolbar-left .kt-view-type-shortcut{display:none}.kt-grid-search input{width:95px!important}}


/* v58 builder edit and design controls */
.kt-builder-component-list{display:grid;gap:8px;margin-top:12px}
.kt-builder-component{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
.kt-builder-component-meta{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:8px;row-gap:2px}
.kt-builder-component-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-builder-component-meta small{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-builder-type{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:24px;padding:0 8px;border-radius:999px;background:#eef2f7;color:#475569;font-size:.7rem;font-weight:700;letter-spacing:.02em}
.kt-builder-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.kt-builder-actions button{min-height:32px;padding:5px 9px}
.kt-design-colors{display:grid;gap:14px;margin:14px 0;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
.kt-design-color-field{display:grid;gap:8px}
.kt-design-color-head{display:grid;grid-template-columns:minmax(90px,1fr) 42px 92px;align-items:center;gap:8px}
.kt-design-color-head>span{font-size:.84rem;font-weight:650;color:#334155}
.kt-design-color-head input[type=color]{width:42px;height:32px;padding:2px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
.kt-design-color-head input[type=text]{height:32px;padding:5px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}
.kt-design-swatches{display:grid;grid-template-columns:repeat(14,minmax(22px,1fr));gap:5px}
.kt-design-swatch{aspect-ratio:1;border:1px solid #cbd5e1!important;border-radius:5px!important;padding:0!important;min-height:0!important;position:relative;box-shadow:inset 0 0 0 1px #ffffff88}
.kt-design-swatch.active{outline:2px solid #0f766e!important;outline-offset:1px}
.kt-design-swatch.active::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font-size:.72rem;font-weight:900;color:#111827;text-shadow:0 1px #fff,1px 0 #fff,-1px 0 #fff,0 -1px #fff}
.preview-card{border:1px solid #e2e8f0;border-radius:10px;padding:14px;background:#fff}
@media(max-width:760px){.kt-builder-component{align-items:flex-start;flex-direction:column}.kt-builder-actions{width:100%;justify-content:flex-start}.kt-design-swatches{grid-template-columns:repeat(7,1fr)}}


/* v59 live member capability repair */
.kt-row-drag-handle{display:inline-grid;place-items:center;width:18px;height:26px;margin-right:3px;cursor:grab;color:#94a3b8;font-size:.75rem;letter-spacing:-2px;user-select:none}
.kt-row-drag-handle:active{cursor:grabbing}.kt-sheet-grid tr.drag-source{opacity:.5}.kt-sheet-grid tr.drag-over>td,.kt-sheet-grid tr.drag-over>th{box-shadow:inset 0 2px 0 #0f8f96}
.kt-config-menu{display:grid;gap:12px;min-width:min(520px,78vw)}.kt-config-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) auto;gap:8px;align-items:center}.kt-column-visibility-list{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:6px;max-height:360px;overflow:auto;padding:6px}
.kt-calendar-view,.kt-timeline-view,.kt-tree-view{width:100%;height:100%;min-height:0;overflow:auto;background:#fff}
.kt-calendar-head,.kt-view-config-head{min-height:48px;padding:8px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e2e8f0;background:#fff}.kt-calendar-title,.kt-view-config-head h3{margin:0 12px 0 0;font-size:1rem;color:#334155}.kt-calendar-title{margin-left:6px}
.kt-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px;background:#e5e7eb;gap:1px}.kt-calendar-weekday{height:32px;display:flex;align-items:center;padding:0 8px;background:#f8fafc;color:#64748b;font-size:.76rem;font-weight:700}.kt-calendar-day{min-height:118px;background:#fff;padding:6px;display:flex;flex-direction:column;gap:4px}.kt-calendar-day.outside{background:#f8fafc;color:#94a3b8}.kt-calendar-day-number{font-size:.75rem;font-weight:700;color:#64748b}.kt-calendar-event{height:auto!important;min-height:23px!important;width:100%;padding:3px 6px!important;text-align:left;border:0!important;border-radius:4px!important;background:#dff7f6!important;color:#0f6267!important;font-size:.74rem!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-timeline-scale{display:grid;grid-template-columns:repeat(5,1fr);padding:8px 12px 8px 230px;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:.72rem}.kt-timeline-body{display:grid}.kt-timeline-row{display:grid;grid-template-columns:220px minmax(620px,1fr);min-height:42px;border-bottom:1px solid #edf0f3}.kt-timeline-label{border:0!important;border-right:1px solid #e2e8f0!important;border-radius:0!important;background:#fff!important;color:#334155!important;text-align:left!important;padding:0 12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-timeline-track{position:relative;margin:8px 12px;background:repeating-linear-gradient(90deg,#f8fafc 0,#f8fafc calc(25% - 1px),#e2e8f0 calc(25% - 1px),#e2e8f0 25%);border-radius:5px}.kt-timeline-bar{position:absolute;top:4px;bottom:4px;min-width:8px;border:0!important;border-radius:5px!important;background:#16b9bb!important;box-shadow:0 1px 2px #0f172220}
.kt-tree-view{padding-bottom:24px}.kt-tree-list{list-style:none;margin:0;padding:8px 0 8px 18px}.kt-tree-list.nested{padding:0 0 0 26px}.kt-tree-node{position:relative}.kt-tree-node:before{content:'';position:absolute;left:10px;top:0;bottom:0;border-left:1px solid #dbe1e8}.kt-tree-line{display:flex;align-items:center;min-height:34px;position:relative}.kt-tree-toggle{width:24px!important;height:24px!important;padding:0!important;border:0!important;background:#fff!important;z-index:1}.kt-tree-record{height:30px!important;border:0!important;background:#fff!important;color:#334155!important;text-align:left!important;padding:0 8px!important}.kt-tree-record:hover{background:#f5f7f9!important}
.kt-option-config{display:grid;gap:8px}.kt-option-config-title{font-size:.85rem;font-weight:650;color:#334155}.kt-option-editor{display:grid;gap:8px}.kt-option-list{display:grid;gap:6px}.kt-option-row{display:grid;grid-template-columns:38px minmax(160px,1fr) 36px 36px auto;gap:6px;align-items:center}.kt-option-row input[type=color]{width:36px;height:32px;padding:2px;border:1px solid #cbd5e1;border-radius:5px}.kt-option-row button{min-width:34px;padding:4px 7px}
.kt-color-custom{display:flex;gap:8px;align-items:center;margin:6px 0 9px}.kt-color-custom input[type=color]{width:42px;height:34px;padding:2px;border:1px solid #cbd5e1;border-radius:5px}.kt-color-custom input[type=text]{width:100px;height:34px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}
.kt-template-library{margin-bottom:14px}.kt-template-library>h2{margin-bottom:3px}.kt-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:10px}.kt-template-card{min-height:108px;border:1px solid #e2e8f0;border-radius:9px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:6px}.kt-template-card strong{color:#26364b}.kt-template-card small{min-height:30px}.kt-template-card button{margin-top:auto;align-self:flex-start}
.kt-share-rights{display:flex;gap:14px;flex-wrap:wrap;padding:8px 0}.kt-share-created{display:grid;gap:10px}.kt-share-created input{width:100%}
.kt-history-panel{display:grid;gap:0}.kt-history-event{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;min-height:58px}.kt-history-marker{position:relative}.kt-history-marker:before{content:'';position:absolute;left:9px;top:0;bottom:0;width:1px;background:#dbe2e8}.kt-history-marker:after{content:'';position:absolute;left:5px;top:16px;width:9px;height:9px;border-radius:50%;background:#0f8f96;border:2px solid #fff;box-shadow:0 0 0 1px #93c5c7}.kt-history-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:9px 0;border-bottom:1px solid #f0f2f4}.kt-history-body time,.kt-history-body small{grid-column:1/-1}
.kt-form-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.kt-form-card-head h2,.kt-form-card-head h3{margin:0}.kt-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:2px 9px;border-radius:999px;background:#eef2f7;color:#475569;font-size:.72rem;font-weight:700}.kt-status-badge.published{background:#dcfce7;color:#166534}.kt-status-badge.draft{background:#f1f5f9;color:#64748b}.kt-form-submissions{display:grid;gap:8px}.kt-submission-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px 0;border-bottom:1px solid #e5e7eb}.kt-submission-values{grid-column:1/-1;color:#475569;font-size:.82rem}
@media(max-width:720px){.kt-config-row{grid-template-columns:1fr}.kt-column-visibility-list{grid-template-columns:1fr}.kt-option-row{grid-template-columns:36px minmax(130px,1fr) 34px 34px}.kt-option-row button:last-child{grid-column:2/-1}.kt-calendar-grid{min-width:760px}.kt-timeline-row{grid-template-columns:150px minmax(500px,1fr)}.kt-timeline-scale{padding-left:160px}}

.kt-filter-row{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(150px,1fr) auto}.kt-filter-value{min-width:0}.kt-filter-value>*{width:100%}@media(max-width:720px){.kt-filter-row{grid-template-columns:1fr}}


/* v61 project/table rename controls */
.kt-project-title-button{display:flex!important;align-items:center!important;gap:6px!important;background:transparent!important;border:0!important;color:#fff!important;padding:4px 7px!important;border-radius:4px!important;min-width:0!important}
.kt-project-title-button:hover{background:#ffffff1f!important}
.kt-project-title-button h2{pointer-events:none}.kt-project-caret{font-size:.72rem;opacity:.9}
.kt-context-menu{display:grid;gap:4px;min-width:220px}.kt-context-menu button{width:100%;justify-content:flex-start;text-align:left}
.kt-table-tabs>.kt-table-tab-item{height:38px;min-width:132px;display:flex;align-items:stretch;background:#0faeb1;border-radius:3px 3px 0 0;overflow:hidden;margin-right:1px}
.kt-table-tabs>.kt-table-tab-item.active{background:#fff}
.kt-table-tab-main{flex:1;min-width:0!important;height:38px!important;padding:0 8px 0 16px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#eaffff!important;font-size:.88rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important}
.kt-table-tab-item.active .kt-table-tab-main{color:#243243!important}
.kt-table-tab-menu{width:30px!important;min-width:30px!important;height:38px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#eaffff!important}
.kt-table-tab-item.active .kt-table-tab-menu{color:#475569!important}
.kt-table-tab-menu:hover,.kt-table-tab-main:hover{background:#ffffff18!important}.kt-table-tab-item.active .kt-table-tab-menu:hover,.kt-table-tab-item.active .kt-table-tab-main:hover{background:#f1f5f9!important}
@media(max-width:620px){.kt-table-tabs>.kt-table-tab-item{min-width:110px}}


/* v63 SeaTable-class column dropdown interaction */
.kt-field-header-main{display:flex;align-items:center;gap:7px;min-width:0;flex:1;overflow:hidden}
.field-header{position:relative;padding-right:30px!important}
.kt-column-menu-trigger{position:absolute!important;right:5px;top:50%;transform:translateY(-50%);width:22px!important;min-width:22px!important;height:24px!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#64748b!important;font-size:15px!important;line-height:1!important;display:grid!important;place-items:center!important;opacity:.78}
.field-header:hover .kt-column-menu-trigger,.field-header.selected .kt-column-menu-trigger,.kt-column-menu-trigger:focus-visible{opacity:1;background:#e9eef3!important;color:#334155!important}
.kt-column-menu-popover{position:fixed;z-index:6500;width:300px;max-height:min(620px,calc(100vh - 16px));overflow:auto;padding:6px;background:#fff;border:1px solid #d8dee6;border-radius:5px;box-shadow:0 10px 30px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.08);font-size:13px}
.kt-column-menu-item{width:100%!important;min-height:34px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:6px 9px!important;border:0!important;border-radius:3px!important;background:#fff!important;color:#334155!important;text-align:left!important;justify-content:stretch!important;font-weight:450!important}
.kt-column-menu-item:hover:not(:disabled),.kt-column-menu-item:focus-visible{background:#f1f5f9!important;color:#0f172a!important}
.kt-column-menu-item:disabled{opacity:.42;cursor:not-allowed}
.kt-column-menu-item.danger{color:#b42318!important}.kt-column-menu-icon{display:grid;place-items:center;color:#718096;font-size:14px}.kt-column-menu-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-column-menu-separator{height:1px;background:#e7ebf0;margin:5px -1px}
.kt-column-setting-form{display:grid;gap:12px;min-width:min(460px,76vw)}.kt-column-setting-form textarea{min-height:110px;resize:vertical}
.kt-column-permissions{display:grid;gap:10px;min-width:min(430px,75vw)}.kt-permission-summary{display:grid;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc}
.kt-frozen-column{position:sticky!important;background-clip:padding-box!important;z-index:8!important;box-shadow:1px 0 0 #dce2e8}
thead .kt-frozen-column{z-index:16!important}.row-select-head{z-index:20!important}
.dialog[aria-label="Configure field"]{width:min(520px,92vw);padding:0!important;overflow:hidden}
.dialog[aria-label="Configure field"]>h2{margin:0;padding:17px 20px 12px;border-bottom:1px solid #edf0f3;font-size:15px;font-weight:700;color:#26364b}
.dialog[aria-label="Configure field"]>button{position:absolute;right:12px;top:10px;border:0!important;background:transparent!important;color:#64748b!important}
.dialog[aria-label="Configure field"]>form{padding:16px 20px 18px;display:grid;gap:14px}
.kt-option-config{border-top:1px solid #eef1f4;padding-top:10px}.kt-option-config-title{font-size:12px;color:#64748b;margin-bottom:4px}
.kt-option-row{grid-template-columns:28px minmax(180px,1fr) 28px 28px auto!important;gap:6px!important}
.kt-option-row input[type=color]{width:26px!important;height:26px!important;border-radius:4px!important;padding:1px!important;border:1px solid #d7dde5!important}
.kt-option-row input[type=text]{height:32px!important;border-radius:4px!important}
.kt-option-row button{height:30px!important;min-width:28px!important;padding:0 6px!important;border-color:#e2e8f0!important;background:#f8fafc!important;color:#64748b!important}
.kt-option-editor>button{justify-self:start!important;margin-top:4px;background:transparent!important;border:0!important;color:#607087!important;padding-left:0!important}
@media(max-width:720px){.kt-column-menu-popover{width:min(300px,calc(100vw - 16px))}.field-header{padding-right:26px!important}}


/* v65 project menu and 1GB upload */
.kt-project-main-menu{position:fixed;z-index:7000;max-height:min(720px,calc(100vh - 18px));overflow:auto;padding:6px;background:#fff;border:1px solid #d8dee6;border-radius:7px;box-shadow:0 16px 38px rgba(15,23,42,.20),0 3px 9px rgba(15,23,42,.10);color:#1f2937}
.kt-project-menu-group{padding:5px 0}.kt-project-menu-group+.kt-project-menu-group{border-top:1px solid #e7ebf0}
.kt-project-menu-heading{padding:5px 10px 4px;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}
.kt-project-menu-item{width:100%!important;min-height:46px!important;display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;padding:6px 10px!important;border:0!important;border-radius:5px!important;background:#fff!important;color:#334155!important;text-align:left!important;justify-content:stretch!important}
.kt-project-menu-item:hover,.kt-project-menu-item:focus-visible{background:#f1f5f9!important;color:#0f172a!important}
.kt-project-menu-icon{display:grid;place-items:center;font-size:15px;color:#64748b}.kt-project-menu-copy{display:grid;gap:1px;min-width:0}.kt-project-menu-copy strong{font-size:.83rem;font-weight:620}.kt-project-menu-copy small{font-size:.7rem}
.kt-file-toolbar{align-items:center;flex-wrap:wrap}.kt-upload-progress{position:relative;min-width:210px;height:30px;border:1px solid #d7dee7;border-radius:5px;overflow:hidden;background:#f8fafc}
.kt-upload-progress[hidden]{display:none}.kt-upload-progress-bar{position:absolute;inset:0 auto 0 0;width:0;background:#cff4ef;transition:width .12s linear}.kt-upload-progress-text{position:relative;z-index:1;height:100%;display:flex;align-items:center;padding:0 8px;font-size:.72rem;color:#334155}
a.button-like{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:32px;padding:5px 11px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#334155;font-size:.8rem}
a.button-like:hover{background:#f8fafc}


/* v65 interactive statistics surface */
.kt-statistics-root{padding:0!important;background:#f5f6f8!important;min-height:100%}
.kt-statistics-head{position:sticky;top:0;z-index:120;min-height:52px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 12px;border-bottom:1px solid #dfe4ea;background:#fff}
.kt-statistics-brand{display:flex;align-items:center;gap:8px;white-space:nowrap}.kt-statistics-icon{display:grid;place-items:center;width:28px;height:28px;padding:5px;border-radius:5px;background:#eaf3ff;color:#2563eb}.kt-statistics-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.kt-dashboard-picker{min-width:210px;height:34px;border:0;border-bottom:2px solid #4f7cff;border-radius:0;background:#fff;font-weight:650;color:#334155}
.kt-statistics-head .kt-icon-button{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border:0!important;background:#fff!important;font-size:18px!important;color:#64748b!important}
.kt-statistics-head .kt-icon-button:hover{background:#f1f5f9!important;color:#0f172a!important}
.kt-cross-filter-chip{margin-left:auto!important;background:#eaf3ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;border-radius:999px!important;font-size:.72rem!important}
.kt-dashboard-canvas{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;padding:16px;align-items:start;min-height:calc(100vh - 105px);background:#f5f6f8;color:#1f2937}
.kt-dashboard-canvas.dark{background:#111827;color:#e5e7eb}.kt-dashboard-canvas.dark .kt-dashboard-card{background:#1f2937;border-color:#374151;color:#f9fafb}.kt-dashboard-canvas.dark .muted{color:#9ca3af!important}
.kt-dashboard-card{grid-column:span 6;min-height:260px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:0;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.035)}
.kt-chart-kpi,.kt-chart-metric,.kt-chart-score,.kt-chart-gauge,.kt-chart-rag{grid-column:span 3;min-height:190px}.kt-chart-table{grid-column:span 12}.kt-chart-map{grid-column:span 6}
.kt-dashboard-card-head{min-height:46px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f3}.kt-dashboard-card-head strong{font-size:.88rem;color:inherit}
.kt-dashboard-visual{padding:14px;min-height:190px}.kt-number-card{font-size:2.45rem;font-weight:760;line-height:1.1;margin:24px 0 8px;color:inherit}
.kt-bar-chart{display:grid;gap:8px}.kt-bar-row{display:grid!important;grid-template-columns:minmax(85px,150px) minmax(120px,1fr) 58px!important;align-items:center!important;gap:8px!important;border:0!important;background:transparent!important;color:inherit!important;padding:0!important;text-align:left!important}.kt-bar-row:hover{background:#f8fafc!important}.dark .kt-bar-row:hover{background:#253246!important}
.kt-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}.kt-bar-track{height:18px;background:#eef1f5;border-radius:3px;overflow:hidden}.kt-bar-fill{display:block;height:100%;border-radius:3px;min-width:2px}.kt-bar-value{text-align:right;font-size:.72rem;font-variant-numeric:tabular-nums}
.kt-bar-chart.histogram{gap:3px}.kt-bar-chart.histogram .kt-bar-track{height:24px;border-radius:1px}
.kt-pie-layout{display:grid;grid-template-columns:minmax(150px,230px) minmax(160px,1fr);gap:18px;align-items:center}.kt-pie-chart{width:min(210px,100%);aspect-ratio:1;border-radius:50%;margin:auto;box-shadow:inset 0 0 0 28px #fff}.dark .kt-pie-chart{box-shadow:inset 0 0 0 28px #1f2937}
.kt-chart-legend{display:grid;gap:5px;max-height:205px;overflow:auto}.kt-legend-item{display:flex!important;align-items:center!important;gap:7px!important;border:0!important;background:transparent!important;color:inherit!important;padding:3px!important;text-align:left!important;justify-content:flex-start!important;font-size:.7rem!important}.kt-legend-dot{width:9px;height:9px;border-radius:2px;flex:0 0 auto}
.kt-line-chart{width:100%;height:230px;overflow:visible}.kt-gauge{--pct:0%;--accent:#0e7490;width:170px;height:85px;margin:18px auto 0;border-radius:170px 170px 0 0;background:conic-gradient(from 270deg at 50% 100%,var(--accent) 0 var(--pct),#e5e7eb var(--pct) 50%,transparent 50% 100%);position:relative}.kt-gauge:after{content:'';position:absolute;left:28px;right:28px;bottom:0;height:57px;background:#fff;border-radius:120px 120px 0 0}.dark .kt-gauge:after{background:#1f2937}.kt-gauge-value{position:absolute;z-index:2;left:0;right:0;bottom:7px;text-align:center;font-size:1.45rem;font-weight:760}.kt-gauge-scale{text-align:center;color:#64748b;font-size:.72rem}
.kt-map-plot{position:relative;height:230px;border-radius:6px;background:linear-gradient(#f8fafc,#eef5f7);overflow:hidden;border:1px solid #e2e8f0}.kt-map-plot:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#dbe4ea 1px,transparent 1px),linear-gradient(90deg,#dbe4ea 1px,transparent 1px);background-size:10% 20%;opacity:.6}.kt-map-dot{position:absolute!important;width:10px!important;min-width:10px!important;height:10px!important;border-radius:50%!important;border:2px solid #fff!important;padding:0!important;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0003}
.kt-heatmap{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:5px}.kt-heat-cell{min-height:64px!important;white-space:pre-line!important;border:0!important;color:#0f172a!important;font-size:.68rem!important}
.kt-treemap{display:flex;flex-wrap:wrap;min-height:220px;gap:3px}.kt-tree-cell{min-width:100px!important;min-height:82px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;border:0!important;color:#fff!important;text-shadow:0 1px 1px #0003!important;padding:10px!important}
.kt-funnel{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px}.kt-funnel-step{height:34px!important;border:0!important;color:#fff!important;border-radius:3px!important;min-width:90px}
.kt-mini-table{width:100%;border-collapse:collapse;font-size:.72rem}.kt-mini-table th,.kt-mini-table td{border:1px solid #e5e7eb;padding:6px 8px;text-align:left;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-mini-table th{background:#f8fafc;font-weight:650}.dark .kt-mini-table th{background:#273449}.dark .kt-mini-table th,.dark .kt-mini-table td{border-color:#374151}
.kt-dashboard-timeline{display:grid;gap:0}.kt-dashboard-timeline-item{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid #e5e7eb}.kt-dashboard-timeline-item time{color:#64748b;font-size:.7rem}
.kt-rag-card{display:inline-flex;padding:6px 12px;border-radius:999px;font-weight:750}.kt-rag-card.red{background:#fee2e2;color:#991b1b}.kt-rag-card.amber{background:#fef3c7;color:#92400e}.kt-rag-card.green{background:#dcfce7;color:#166534}
.kt-stats-templates{padding:18px}.kt-stats-template-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.kt-stats-template-head h2{margin:0 0 3px;font-size:1.05rem}.kt-stats-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.kt-stats-template-card{display:grid;gap:8px;padding:12px;border:1px solid #dfe4ea;border-radius:8px;background:#fff}.kt-template-preview{height:104px;border-radius:5px;background:#f8fafc;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-items:end;padding:14px}.kt-template-preview span{display:block;border-radius:4px;background:#5b8ff9}.kt-template-preview span:nth-child(1){height:42%}.kt-template-preview span:nth-child(2){height:78%;background:#61ddaa}.kt-template-preview span:nth-child(3){height:60%;background:#65789b}
.kt-chart-gallery-dialog{width:min(1180px,94vw)!important;max-height:82vh!important}.kt-chart-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;max-height:65vh;overflow:auto;padding:10px}.kt-chart-choice{min-height:150px!important;display:grid!important;grid-template-rows:90px auto auto!important;gap:5px!important;align-items:start!important;text-align:left!important;background:#fff!important;border:1px solid #dfe4ea!important;border-radius:7px!important;color:#334155!important;padding:10px!important}.kt-chart-choice:hover{border-color:#8db4ff!important;box-shadow:0 2px 8px #1d4ed81a}.kt-chart-choice-preview{border-radius:4px;background:linear-gradient(180deg,#f8fafc,#fff);position:relative;overflow:hidden}.kt-chart-choice-preview:before{content:'';position:absolute;inset:18px 15px;background:repeating-linear-gradient(90deg,#5b8ff9 0 16px,transparent 16px 27px);transform-origin:bottom}.kind-pie:before{inset:13px 45px;border-radius:50%;background:conic-gradient(#5b8ff9 0 30%,#61ddaa 30% 58%,#f6bd16 58% 78%,#7262fd 78%)}.kind-line:before,.kind-trend:before{inset:18px;background:none;border-bottom:3px solid #5b8ff9;border-radius:50%;transform:skewY(-10deg)}.kind-gauge:before{inset:25px 45px 0;border-radius:80px 80px 0 0;background:conic-gradient(from 270deg at 50% 100%,#5b8ff9 0 38%,#e5e7eb 38% 50%,transparent 50%)}.kind-map:before{inset:10px;background:radial-gradient(circle at 25% 35%,#5b8ff9 0 3px,transparent 4px),radial-gradient(circle at 62% 55%,#61ddaa 0 3px,transparent 4px),linear-gradient(#eef5f7,#f8fafc)}
.kt-dashboard-settings{display:grid;gap:10px;min-width:min(570px,80vw)}.kt-palette-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}.kt-palette-choice{height:42px!important;display:grid!important;grid-template-columns:repeat(10,1fr)!important;gap:0!important;padding:0!important;border:2px solid transparent!important;border-radius:5px!important;overflow:hidden}.kt-palette-choice.active{border-color:#22c55e!important}.kt-palette-color{display:block;height:100%}
.kt-chart-builder-dialog{width:min(720px,94vw)!important;max-height:88vh!important;overflow:auto}.kt-chart-builder{display:grid;gap:10px}
@media(max-width:900px){.kt-dashboard-card,.kt-chart-kpi,.kt-chart-metric,.kt-chart-score,.kt-chart-gauge,.kt-chart-rag,.kt-chart-map{grid-column:span 12}.kt-pie-layout{grid-template-columns:1fr}.kt-statistics-head{overflow-x:auto}.kt-stats-template-head{align-items:stretch;flex-direction:column}.kt-palette-grid{grid-template-columns:1fr}}


/* v66 project designer interaction parity */
.kt-relation-cell-add{width:22px!important;min-width:22px!important;height:22px!important;padding:0!important;margin-left:4px!important;border:0!important;border-radius:4px!important;background:#e8eef7!important;color:#334155!important;font-weight:800!important;opacity:0;transition:opacity .12s ease,background .12s ease}.grid-cell:hover .kt-relation-cell-add,.grid-cell.active-cell .kt-relation-cell-add{opacity:1}.kt-relation-cell-add:hover{background:#dbeafe!important;color:#1d4ed8!important}
.kt-relation-dialog{width:min(980px,92vw)!important;max-height:86vh!important;padding:0!important;overflow:hidden!important}.kt-relation-dialog>h2{margin:0;padding:16px 20px;border-bottom:1px solid #e2e8f0;font-size:1.05rem}.kt-relation-dialog>button:first-of-type{position:absolute;right:14px;top:10px;z-index:2}
.kt-relation-linker{display:grid;grid-template-rows:auto auto auto auto minmax(240px,1fr) auto;max-height:76vh}.kt-relation-search-row{display:flex;gap:10px;padding:14px 20px 8px}.kt-relation-search{flex:1;display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:5px;padding:0 10px;background:#fff}.kt-relation-search input{border:0!important;outline:0!important;box-shadow:none!important;flex:1;height:38px}
.kt-relation-search-options{display:flex;align-items:center;justify-content:space-between;padding:0 20px 10px}.kt-relation-columns-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;padding:10px 20px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;background:#f8fafc}.kt-relation-result-head{display:flex;justify-content:space-between;align-items:center;padding:9px 20px;border-bottom:1px solid #e5e7eb}
.kt-relation-records{overflow:auto;padding:10px 18px 14px;display:grid;gap:8px}.kt-relation-record-card{display:grid!important;gap:8px!important;width:100%!important;min-height:90px!important;padding:13px 15px!important;border:1px solid #d9dee7!important;border-radius:5px!important;background:#fff!important;color:#1f2937!important;text-align:left!important;justify-content:stretch!important}.kt-relation-record-card:hover{border-color:#93c5fd!important;background:#f8fbff!important}.kt-relation-record-card.selected{border-color:#3b82f6!important;box-shadow:inset 3px 0 #3b82f6!important;background:#eff6ff!important}.kt-relation-record-card strong{font-size:.9rem}
.kt-relation-record-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px 14px}.kt-relation-record-meta>span{display:grid;gap:3px;min-width:0}.kt-relation-record-meta>span>span:last-child{font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-relation-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:11px 18px;border-top:1px solid #e5e7eb;background:#fff}.kt-relation-selected{display:flex;gap:5px;flex-wrap:wrap;min-height:30px;align-items:center}.kt-relation-detail-control{display:grid;gap:7px}.kt-relation-detail-actions{display:flex;gap:6px}.kt-relation-chip-remove{width:18px!important;min-width:18px!important;height:18px!important;padding:0!important;margin-left:5px!important;border:0!important;border-radius:50%!important;background:#cbd5e1!important;color:#334155!important}
.kt-grid-summary-foot{position:sticky;bottom:0;z-index:15;background:#fff}.kt-grid-summary-foot th,.kt-grid-summary-foot td{height:34px!important;border-top:1px solid #d8dee6!important;border-right:1px solid #edf0f3!important;padding:0!important;background:#fff!important}.kt-grid-record-count{position:sticky;left:0;z-index:18;min-width:54px;width:54px;padding:0 7px!important;text-align:left;font-size:.68rem;font-weight:500;color:#64748b;white-space:nowrap}.kt-grid-summary-button{width:100%!important;height:33px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;padding:0 8px!important;border:0!important;background:#fff!important;color:#64748b!important;font-size:.68rem!important;border-radius:0!important;white-space:nowrap}.kt-grid-summary-button.active{color:#475569!important}.kt-grid-summary-button:hover{background:#f8fafc!important}.kt-grid-summary-caret{opacity:.55}
.kt-footer-calc-menu{position:fixed;z-index:7200;width:220px;padding:6px;background:#fff;border:1px solid #d6dde6;border-radius:6px;box-shadow:0 14px 32px rgba(15,23,42,.18)}.kt-footer-calc-item{width:100%!important;min-height:36px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border:0!important;background:#fff!important;color:#334155!important;border-radius:4px!important;padding:6px 10px!important;font-size:.78rem!important}.kt-footer-calc-item:hover,.kt-footer-calc-item.active{background:#f1f5f9!important}.kt-footer-calc-item.active:before{content:'✓';margin-right:8px;color:#2563eb}
.kt-record-backdrop{align-items:center!important;justify-content:center!important;background:rgba(15,23,42,.38)!important}.kt-record-detail{width:min(1260px,94vw)!important;height:min(780px,88vh)!important;max-width:none!important;padding:0!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.25)!important}.kt-record-detail-head{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #e5e7eb;background:#fff}.kt-record-detail-title{display:flex;align-items:center;gap:10px;min-width:0}.kt-record-detail-title h2{margin:0;font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-record-detail-nav{font-size:.75rem;color:#64748b;letter-spacing:3px}.kt-record-head-actions{display:flex;align-items:center;gap:4px}.kt-record-icon-button{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border:0!important;background:#fff!important;color:#475569!important;font-size:18px!important}.kt-record-icon-button:hover{background:#f1f5f9!important}
.kt-record-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.72fr);height:calc(100% - 52px)}.kt-record-main{overflow:auto;padding:18px 24px 80px}.kt-record-field-row{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;padding:8px 0!important;border:0!important}.kt-record-field-label{display:flex;align-items:center;gap:8px;min-height:34px;color:#475569}.kt-record-field-label strong{font-size:.78rem;font-weight:600}.kt-record-field-value{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0}.kt-record-field-value>input,.kt-record-field-value>select,.kt-record-field-value>textarea,.kt-record-field-value>.choice-list,.kt-record-field-value>.coord-fields,.kt-record-field-value>.kt-relation-detail-control{width:100%;min-height:36px}.kt-record-field-value input,.kt-record-field-value select,.kt-record-field-value textarea{border:1px solid #dbe1e8;border-radius:4px;background:#fff;padding:7px 9px}.kt-record-field-value input:focus,.kt-record-field-value select:focus,.kt-record-field-value textarea:focus{outline:2px solid #bfdbfe;border-color:#60a5fa}.kt-autosave-state{font-size:.62rem;color:#94a3b8;min-width:42px;text-align:right}
.kt-record-activity{display:grid;grid-template-rows:48px minmax(0,1fr);border-left:1px solid #e5e7eb;background:#fbfcfd;min-width:0}.kt-record-activity-tabs{display:flex;gap:18px;align-items:end;padding:0 18px;border-bottom:1px solid #e5e7eb;background:#fff}.kt-record-activity-tabs button{height:48px!important;padding:0 2px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:#fff!important;color:#64748b!important}.kt-record-activity-tabs button.active{border-bottom-color:#ef4444!important;color:#1f2937!important}.kt-record-activity-content{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;overflow:hidden}.kt-record-comments,.kt-record-logs{overflow:auto;padding:18px}.kt-record-comment-empty{min-height:240px;display:grid;place-content:center;text-align:center;color:#64748b}.kt-record-comment-icon{font-size:30px;color:#cbd5e1}.kt-record-comment{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;padding:8px 0}.kt-record-comment-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;color:#475569;font-size:.72rem;font-weight:700}.kt-record-comment-body{display:grid;gap:4px}.kt-record-comment-body>div{display:flex;justify-content:space-between;gap:10px}.kt-record-comment-body strong{font-size:.72rem}.kt-record-comment-body time{font-size:.62rem}.kt-record-comment-body p{margin:0;font-size:.76rem;line-height:1.45}.kt-record-comment-composer{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px;padding:12px;border-top:1px solid #e5e7eb;background:#fff}.kt-record-comment-composer textarea{min-height:74px;resize:none;border:1px solid #dbe1e8;border-radius:5px;padding:8px}.kt-record-send{align-self:end;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;border-radius:50%!important;background:#f59e0b!important;border-color:#f59e0b!important;color:#fff!important}.kt-record-log{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid #edf0f3}.kt-record-log-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;margin-top:5px}.kt-record-log>div{display:grid;gap:3px}.kt-record-log strong{font-size:.75rem}.kt-record-log .muted{font-size:.65rem}
@media(max-width:900px){.kt-record-detail{width:96vw!important;height:92vh!important}.kt-record-detail-layout{grid-template-columns:1fr}.kt-record-activity{display:none}.kt-record-field-row{grid-template-columns:1fr!important;gap:5px!important}.kt-relation-dialog{width:96vw!important}.kt-relation-record-meta{grid-template-columns:1fr 1fr}}


/* v68 workspace entry architecture */
#shell.hub-mode .kt-member-context{display:none}
#shell.hub-mode .content{padding:0!important;overflow:hidden}
#shell.hub-mode #content-view{height:100%;min-height:0}
.kt-entry-workspace{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:calc(100vh - 58px)!important;background:#fff!important}
.kt-workspace-sidebar{border-right:1px solid #e5e7eb!important;background:#fff!important;padding:12px 8px!important;overflow:auto!important}
.kt-workspace-brand{display:flex;align-items:center;gap:9px;padding:8px 10px 15px;font-size:.9rem;color:#0f172a}.kt-brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;background:#0f766e;color:#fff;font-size:16px}
.kt-workspace-sidebar-label{padding:7px 10px 5px!important;font-size:.7rem!important;color:#94a3b8!important;text-transform:none!important;letter-spacing:0!important}
.kt-workspace-nav{width:100%!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:0 10px!important;border:0!important;border-radius:4px!important;background:#fff!important;color:#475569!important;font-size:.8rem!important;font-weight:500!important;text-align:left!important}
.kt-workspace-nav:hover,.kt-workspace-nav.active{background:#f1f5f9!important;color:#0f172a!important}.kt-workspace-nav.active{font-weight:650!important}
.kt-nav-icon{width:19px;text-align:center;color:#64748b}
.kt-workspace-subnav{display:grid;padding:0 0 4px 26px}.kt-workspace-subnav button{height:31px!important;border:0!important;background:#fff!important;color:#64748b!important;border-radius:4px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:0 8px!important;font-size:.74rem!important}.kt-workspace-subnav button:hover,.kt-workspace-subnav button.active{background:#f8fafc!important;color:#0f172a!important}.kt-workspace-subnav button.active{font-weight:650!important}
.kt-entry-main{position:relative!important;padding:28px 34px 70px!important;overflow:auto!important;background:#fff!important}
.kt-workspace-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 24px!important}.kt-workspace-title{display:flex!important;align-items:center!important;gap:10px!important}.kt-workspace-title h2{margin:0!important;font-size:1.22rem!important;font-weight:620!important;color:#1f2937!important}.kt-workspace-building{font-size:20px;color:#64748b}
.kt-add-base-button{display:flex!important;align-items:center!important;gap:10px!important;width:min(690px,100%)!important;min-height:48px!important;margin:0 0 20px!important;padding:0 14px!important;border:0!important;border-radius:5px!important;background:#f1f5f9!important;color:#475569!important;font-size:.82rem!important;justify-content:flex-start!important}.kt-add-base-button:hover{background:#e9eef5!important;color:#0f172a!important}.kt-project-add-icon{font-size:22px!important;color:#64748b}
.kt-base-section{margin:0 0 28px}.kt-section-heading{display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:10px!important}.kt-section-heading h3,.kt-base-section>h3{margin:0!important;font-size:.88rem!important;font-weight:620!important;color:#475569!important}.kt-section-icon{color:#64748b}
.kt-base-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:8px 18px!important;max-width:1100px}.kt-base-card{min-height:48px;display:flex;align-items:center;justify-content:space-between;border:1px solid transparent;border-radius:6px;padding:4px 6px;background:#fff}.kt-base-card:hover{border-color:#e2e8f0;background:#fbfdff}.kt-base-card.compact{min-height:40px;border-color:#eef2f7}
.kt-base-open{min-width:0!important;flex:1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;border:0!important;background:transparent!important;color:#334155!important;padding:3px!important;text-align:left!important}.kt-base-open:hover{background:transparent!important}.kt-base-square{width:39px;height:39px;flex:0 0 39px;border-radius:7px;display:grid;place-items:center;color:#fff;font-size:17px;font-weight:700;box-shadow:0 1px 2px #0001}.compact .kt-base-square{width:30px;height:30px;flex-basis:30px;font-size:13px}.kt-base-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;font-weight:520}
.kt-base-card-actions{display:flex;align-items:center;opacity:0;transition:opacity .12s}.kt-base-card:hover .kt-base-card-actions{opacity:1}.kt-base-favorite,.kt-base-more{width:29px!important;min-width:29px!important;height:29px!important;padding:0!important;border:0!important;border-radius:4px!important;background:#fff!important;color:#94a3b8!important}.kt-base-favorite.active{color:#f59e0b!important}.kt-base-favorite:hover,.kt-base-more:hover{background:#f1f5f9!important;color:#475569!important}
.kt-entry-menu{position:fixed;z-index:7600;padding:6px;background:#fff;border:1px solid #d7dee7;border-radius:6px;box-shadow:0 14px 34px rgba(15,23,42,.18);max-height:min(560px,calc(100vh - 16px));overflow:auto}.kt-entry-menu-item{width:100%!important;min-height:43px!important;display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;padding:6px 9px!important;border:0!important;border-radius:4px!important;background:#fff!important;color:#334155!important;text-align:left!important}.kt-entry-menu-item:hover{background:#f1f5f9!important}.kt-entry-menu-item.danger{color:#b91c1c!important}.kt-entry-menu-icon{display:grid;place-items:center;color:#64748b}.kt-entry-menu-copy{display:grid;gap:1px}.kt-entry-menu-copy strong{font-size:.79rem}.kt-entry-menu-copy small{font-size:.66rem}
.kt-base-appearance{display:grid;gap:13px;min-width:min(600px,80vw)}.kt-base-appearance-preview{display:flex;align-items:center;gap:9px}.kt-base-appearance-preview input{flex:1;height:40px}.kt-base-palette{display:flex;gap:6px;flex-wrap:wrap}.kt-base-color{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border:2px solid transparent!important;border-radius:6px!important}.kt-base-color.active{outline:2px solid #0f172a;outline-offset:1px}.kt-base-icons{display:grid;grid-template-columns:repeat(8,42px);gap:6px}.kt-base-icon{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#64748b!important;font-size:18px!important}.kt-base-icon.active{border-color:#0ea5e9!important;background:#ecfeff!important;color:#0f766e!important}
.kt-folder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;max-width:1100px}.kt-folder-card{padding:11px;border:1px solid #e5e7eb;border-radius:7px;background:#fafafa}.kt-folder-title{font-size:.8rem;font-weight:650;color:#475569;margin-bottom:7px}.kt-folder-bases{display:grid;gap:4px}.kt-group-row{display:flex;align-items:center;gap:10px;max-width:760px;padding:7px 0;border-bottom:1px solid #eef2f7}.kt-group-row>strong{min-width:180px}.kt-group-row>button{margin-left:auto!important}
.kt-template-library-head{margin-bottom:14px}.kt-template-library-head h2{margin:0 0 4px;font-size:1.15rem}.kt-template-categories{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.kt-template-categories button{height:32px!important;padding:0 10px!important;border:0!important;background:#fff!important;color:#64748b!important;border-radius:0!important;border-bottom:2px solid transparent!important;font-size:.72rem!important}.kt-template-categories button.active{color:#b45309!important;border-bottom-color:#f59e0b!important;font-weight:650!important}.kt-template-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;align-items:stretch}.kt-template-library-card{display:grid;grid-template-rows:150px minmax(96px,1fr) auto;border:1px solid #e5e7eb;border-radius:7px;overflow:hidden;background:#fff}.kt-template-card-visual{position:relative!important;width:100%!important;border:0!important;border-radius:0!important;background:linear-gradient(135deg,color-mix(in srgb,var(--template-color) 18%,#fff),#f8fafc)!important;display:grid!important;place-items:center!important}.kt-template-card-visual:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#fff6 1px,transparent 1px),linear-gradient(90deg,#fff6 1px,transparent 1px);background-size:28px 28px}.kt-template-card-icon{position:relative;z-index:1;width:60px;height:60px;border-radius:15px;background:var(--template-color);display:grid;place-items:center;color:#fff;font-size:28px;box-shadow:0 10px 28px #0f172a1c}.kt-template-card-copy{padding:12px}.kt-template-card-copy strong{font-size:.86rem}.kt-template-card-copy p{font-size:.7rem;line-height:1.45;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kt-template-card-actions{display:flex;justify-content:flex-end;gap:6px;padding:9px 12px;border-top:1px solid #eef2f7}
.kt-template-detail{display:grid;gap:13px;width:min(950px,82vw)}.kt-template-hero{height:210px;border-radius:7px;background:linear-gradient(135deg,color-mix(in srgb,var(--template-color) 24%,#fff),#e2e8f0);display:grid;place-items:center;align-content:center;gap:8px;color:#475569}.kt-template-hero-icon{width:88px;height:88px;border-radius:22px;display:grid;place-items:center;background:var(--template-color);color:#fff;font-size:38px;box-shadow:0 14px 30px #0f172a22}.kt-template-detail h2{margin:0;font-size:1.4rem}.kt-template-detail p{margin:0;line-height:1.5}.kt-template-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px}.kt-template-table-summary{display:grid;gap:3px;padding:9px;border:1px solid #e5e7eb;border-radius:5px}.kt-template-table-summary strong{font-size:.75rem}.kt-template-table-summary small{font-size:.65rem}
.kt-manual-head{max-width:920px;margin:15px auto 30px;text-align:center}.kt-manual-head h2{font-size:2.1rem;margin:0 0 22px;color:#111827}.kt-manual-head input{width:min(800px,100%);height:50px;border:1px solid #cbd5e1;border-radius:8px;padding:0 16px;font-size:.9rem}.kt-manual-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;max-width:1100px;margin:auto}.kt-manual-card{min-height:180px!important;display:grid!important;grid-template-rows:68px auto 1fr!important;gap:8px!important;text-align:center!important;border:1px solid #e5e7eb!important;border-radius:9px!important;background:#fff!important;color:#334155!important;padding:0 14px 14px!important;overflow:hidden!important}.kt-manual-card:hover{border-color:#bae6fd!important;box-shadow:0 7px 20px #0f172a10}.kt-manual-icon{display:grid;place-items:center;margin:0 -14px;background:#eef6ff;font-size:24px}.kt-manual-card p{margin:0;font-size:.7rem;line-height:1.45}.kt-manual-article{max-width:680px;line-height:1.6}
.kt-apps-home-section{margin:18px 0 32px}.kt-apps-home-section h3{font-size:.88rem;color:#475569}.kt-apps-home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.kt-app-home-card{min-height:90px!important;display:grid!important;grid-template-columns:45px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 10px!important;align-items:center!important;text-align:left!important;border:1px solid #e5e7eb!important;background:#fff!important;color:#334155!important;padding:12px!important}.kt-app-home-icon{grid-row:1/3;width:42px;height:42px;border-radius:7px;background:#e8f1ff;display:grid;place-items:center;color:#2563eb}.kt-apps-empty{grid-column:1/-1;min-height:160px;display:grid;place-items:center;align-content:center;color:#94a3b8}.kt-app-empty-icon{font-size:34px}
.kt-activity-feed{max-width:900px;display:grid}.kt-activity-item{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:12px 2px;border-bottom:1px solid #eef2f7}.kt-activity-dot{width:8px;height:8px;border-radius:50%;background:#60a5fa;margin-top:6px}.kt-activity-item>div{display:grid;gap:3px}.kt-activity-item strong{font-size:.78rem}.kt-activity-item small{font-size:.65rem}.kt-activity-item p{margin:0;font-size:.72rem}
.kt-entry-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.kt-entry-section-head h2{margin:0}.kt-entry-section-head p{margin:4px 0 0}.kt-dataset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.kt-dataset-card{display:grid;gap:6px;padding:13px;border:1px solid #e5e7eb;border-radius:7px}.kt-dataset-card strong{font-size:.83rem}.kt-dataset-card p{margin:0;font-size:.72rem;line-height:1.4}.kt-dataset-card button{justify-self:start!important}
.kt-trash-list{display:grid;max-width:900px}.kt-trash-row{display:grid;grid-template-columns:42px minmax(0,1fr) 90px auto;gap:10px;align-items:center;padding:8px;border-bottom:1px solid #eef2f7}.kt-trash-row strong{font-size:.8rem}.kt-folder-icon{width:36px;height:36px;border-radius:6px;background:#f1f5f9;display:grid;place-items:center;color:#64748b}
.kt-import-wizard{display:grid;gap:12px;min-width:min(620px,80vw)}.kt-import-wizard input[type=file]{padding:18px;border:1px dashed #94a3b8;border-radius:7px;background:#f8fafc}.kt-import-status{min-height:28px;padding:7px 0;font-size:.72rem;color:#475569}
@media(max-width:820px){.kt-entry-workspace{grid-template-columns:74px minmax(0,1fr)!important}.kt-workspace-brand strong,.kt-workspace-nav>span:last-child,.kt-workspace-sidebar-label,.kt-workspace-subnav{display:none}.kt-workspace-brand{justify-content:center}.kt-workspace-nav{justify-content:center!important}.kt-entry-main{padding:18px 14px 60px!important}.kt-template-library-grid{grid-template-columns:1fr}.kt-base-grid{grid-template-columns:1fr}.kt-template-detail{width:86vw}.kt-base-icons{grid-template-columns:repeat(6,42px)}}


/* v69 physical product surfaces */
#shell.app-runtime-mode{grid-template-columns:1fr!important;background:#f7f8fa}
#shell.app-runtime-mode>#nav{display:none!important}
#shell.app-runtime-mode .kt-member-context{display:none!important}
#shell.app-runtime-mode .content{padding:0!important;max-width:none!important}
#shell.app-runtime-mode #state{display:none!important}
#shell.app-runtime-mode #content-view{min-height:100vh;padding:22px 28px 64px;background:#f7f8fa}
#shell.app-runtime-mode .builder-context-nav,
#shell.app-runtime-mode .builder,
#shell.app-runtime-mode .kt-template-library{display:none!important}
#shell.app-runtime-mode .panel:first-child{position:sticky;top:0;z-index:50;margin:-22px -28px 18px;padding:12px 22px;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;background:#fff;box-shadow:none}
#shell.app-runtime-mode .preview-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px;margin:8px 0}
#shell.project-mode{grid-template-columns:1fr!important}
#shell.project-mode>#nav{display:none!important}
#shell.project-mode .content{max-width:none!important}


/* v73 project tool full-scroll acceptance repair */
body.kt-project-active #shell.project-mode{height:100dvh!important;min-height:100dvh!important}
body.kt-project-active #shell.project-mode .content{height:100dvh!important;min-height:0!important;overflow:hidden!important}
#shell.project-mode.project-tool-mode #content-view{
  min-height:0!important;
  height:100%!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding-bottom:max(32px,env(safe-area-inset-bottom))!important;
}
#shell.project-mode.project-tool-mode .kt-statistics-root{
  min-height:100%!important;
  overflow:visible!important;
}
#shell.project-mode.project-tool-mode .builder-context-nav{
  position:sticky;
  top:0;
  z-index:12;
}
#shell.hub-mode .content{height:auto!important;min-height:calc(100dvh - 58px)!important}
#shell.hub-mode #content-view{
  height:auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  padding-bottom:max(32px,env(safe-area-inset-bottom))!important;
}


/* v75 OWNER-APPROVED VISUAL SYSTEM — Workspace / shared chrome */
:root{
  --kt-v75-navy:#101b2c;--kt-v75-navy-2:#17263a;--kt-v75-blue:#1473e6;--kt-v75-blue-2:#0f5fcc;
  --kt-v75-ink:#142033;--kt-v75-muted:#66758a;--kt-v75-canvas:#f6f8fb;--kt-v75-surface:#fff;
  --kt-v75-line:#e2e8f0;--kt-v75-success:#16a36a;--kt-v75-warning:#f59e0b;--kt-v75-danger:#ef476f;
  --kt-v75-violet:#7c3aed;--kt-v75-cyan:#0ea5b7;
}
#shell.hub-mode{background:var(--kt-v75-canvas)!important}
#shell.hub-mode #content-view{background:var(--kt-v75-canvas)!important}
.kt-v75-workspace{grid-template-columns:244px minmax(0,1fr)!important;background:var(--kt-v75-canvas)!important;min-height:100%!important}
.kt-v75-sidebar{position:relative!important;background:linear-gradient(180deg,#111d2e 0%,#0d1827 100%)!important;border-right:0!important;padding:14px 12px!important;color:#dbe7f5!important;overflow-y:auto!important}
.kt-v75-side-brand{height:48px!important;margin:0 0 8px!important;padding:0 10px!important;color:#fff!important;font-size:1rem!important;letter-spacing:-.01em}
.kt-v75-side-crown{font-size:25px;color:#f3bd3f;filter:drop-shadow(0 2px 4px #0004)}
.kt-v75-sidebar .kt-workspace-nav{height:42px!important;margin:2px 0!important;padding:0 11px!important;border-radius:8px!important;background:transparent!important;color:#d7e1ed!important;font-size:.84rem!important}
.kt-v75-sidebar .kt-workspace-nav .kt-nav-icon{color:#b9c6d6!important;font-size:15px}
.kt-v75-sidebar .kt-workspace-nav:hover{background:#17283d!important;color:#fff!important}
.kt-v75-sidebar .kt-workspace-nav.active{background:linear-gradient(135deg,#1677ed,#1268d8)!important;color:#fff!important;box-shadow:0 7px 16px #0065d53d}
.kt-v75-sidebar .kt-workspace-nav.active .kt-nav-icon{color:#fff!important}
.kt-v75-side-separator{height:1px;background:#ffffff16;margin:12px 4px}
.kt-v75-side-caption{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#77889e;margin:16px 11px 6px}
.kt-v75-side-create{width:100%!important;min-height:40px!important;border-radius:8px!important;background:#ffffff0a!important;color:#e9f1fb!important;border:1px solid #ffffff12!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;padding:0 12px!important}
.kt-v75-side-create:hover{background:#ffffff12!important}
.kt-v75-settings-link{margin-top:6px!important}
.kt-v75-side-footer{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;margin:10px 0 2px;padding:10px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff08}
.kt-v75-side-footer>div{display:grid;gap:2px;min-width:0}.kt-v75-side-footer strong{color:#fff;font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-v75-side-footer small{color:#8fa0b5;font-size:.65rem}.kt-v75-side-workspace-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#fff;color:#1e2d41}
.kt-v75-main{padding:0 24px 56px!important;background:var(--kt-v75-canvas)!important;overflow-y:auto!important}
.kt-v75-hero{min-height:128px;margin:0 -24px 18px;padding:22px 26px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;background:
 radial-gradient(circle at 82% 22%,#e4edff 0 4%,transparent 5%),
 linear-gradient(120deg,#fff 0%,#fbfdff 58%,#edf4ff 100%);border-bottom:1px solid #e8edf4}
.kt-v75-hero-copy h1{margin:2px 0 5px!important;font-size:1.65rem!important;line-height:1.15!important;letter-spacing:-.035em;color:#111827}.kt-v75-hero-copy p{margin:0;color:#5f6f84;font-size:.84rem}
.kt-v75-eyebrow{display:block;font-size:.64rem;font-weight:800;letter-spacing:.12em;color:#1473e6;margin-bottom:4px}
.kt-v75-hero-mark{display:grid;grid-template-columns:38px minmax(0,260px);column-gap:9px;align-items:center}.kt-v75-crown{grid-row:1/3;font-size:34px;color:#dba72e}.kt-v75-hero-mark strong{font-family:Georgia,serif;font-style:italic;color:#34435a;font-size:.9rem}.kt-v75-hero-mark small{color:#7b899b;font-size:.63rem}
.kt-v75-stats{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;margin-bottom:14px}
.kt-v75-stat{min-height:92px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:13px;border:1px solid var(--kt-v75-line);border-radius:11px;background:#fff;box-shadow:0 4px 12px #0f17210a}
.kt-v75-stat-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:18px}.kt-v75-stat>div{display:grid}.kt-v75-stat small{font-size:.68rem;color:#607086}.kt-v75-stat strong{font-size:1.3rem;color:#101827;line-height:1.1}.kt-v75-stat>div>span{font-size:.62rem;color:#7d8998;margin-top:4px}
.kt-v75-stat.tone-blue{background:linear-gradient(135deg,#fff,#f0f6ff)}.tone-blue .kt-v75-stat-icon{background:#1473e6}.tone-green .kt-v75-stat-icon{background:#16a36a}.tone-violet .kt-v75-stat-icon{background:#7c3aed}.tone-orange .kt-v75-stat-icon{background:#f97316}.tone-pink .kt-v75-stat-icon{background:#ef476f}.tone-cyan .kt-v75-stat-icon{background:#0ea5b7}
.kt-v75-card{background:#fff;border:1px solid var(--kt-v75-line);border-radius:12px;box-shadow:0 5px 18px #0f172108}
.kt-v75-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px 10px}.kt-v75-card-head h2{margin:0!important;font-size:.93rem!important;color:#172033}.kt-v75-card-head p{margin:3px 0 0;font-size:.68rem}.kt-v75-card-head .link-button{font-size:.69rem;padding:5px 7px!important}
.kt-v75-upper-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;margin-bottom:14px}
.kt-v75-activity-list{padding:0 12px 10px}.kt-v75-activity-row{min-height:52px;display:grid;grid-template-columns:32px minmax(0,1fr) 20px;gap:8px;align-items:center;border-top:1px solid #edf1f5;padding:7px 4px}.kt-v75-activity-row:first-child{border-top:0}.kt-v75-activity-icon{width:29px;height:29px;border-radius:7px;background:#eef5ff;color:#1473e6;display:grid;place-items:center}.kt-v75-activity-row>div{display:grid;gap:1px;min-width:0}.kt-v75-activity-row strong{font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-v75-activity-row small,.kt-v75-activity-row time{font-size:.62rem;color:#7d8998;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kt-v75-row-arrow{color:#96a2b0}
.kt-v75-live{font-size:.64rem;color:#16a36a;font-weight:700}.kt-v75-pulse>p{margin:0 15px 9px!important;font-size:.68rem}.kt-v75-pulse-bars{padding:4px 15px 16px;display:grid;gap:11px}.kt-v75-pulse-row{display:grid;grid-template-columns:86px minmax(0,1fr) 28px;gap:9px;align-items:center;font-size:.68rem}.kt-v75-pulse-track{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}.kt-v75-pulse-fill{display:block;height:100%;border-radius:inherit}.kt-v75-pulse-row strong{text-align:right}
.kt-v75-base-quick-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;margin-bottom:14px}.kt-v75-bases{padding-bottom:14px}.kt-v75-base-head{align-items:flex-end}.kt-v75-base-head button.primary{padding:8px 13px!important;border-radius:7px!important}
.kt-v75-tabs{display:flex;gap:18px;padding:0 15px 7px;border-bottom:1px solid #edf1f5}.kt-v75-tabs button{border:0!important;border-radius:0!important;background:transparent!important;color:#607086!important;padding:7px 2px!important;font-size:.68rem!important}.kt-v75-tabs button.active{color:#1473e6!important;border-bottom:2px solid #1473e6!important}
.kt-v75-base-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;padding:12px 14px 2px!important;max-width:none!important}
.kt-v75-base-grid .kt-base-card{min-height:86px!important;border:1px solid #e5eaf0!important;border-radius:9px!important;padding:6px!important;background:#fff!important}.kt-v75-base-grid .kt-base-card:hover{border-color:#bcd3f2!important;box-shadow:0 7px 17px #0f17210d!important;transform:translateY(-1px)}
.kt-v75-base-grid .kt-base-open{align-items:flex-start!important;padding:7px!important}.kt-v75-base-grid .kt-base-square{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:9px!important}.kt-base-card-copy{display:grid;gap:4px;min-width:0}.kt-base-card-copy strong{font-size:.74rem}.kt-base-meta{font-size:.61rem;color:#8994a3;font-weight:500}
.kt-v75-base-grid .kt-base-card-actions{align-self:flex-start!important;margin-top:4px}
.kt-v75-quick{padding-bottom:9px}.kt-v75-quick-action{width:calc(100% - 18px)!important;margin:0 9px 7px!important;min-height:52px!important;padding:7px 8px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 16px!important;gap:8px!important;align-items:center!important;background:#fff!important;border:1px solid #e7ebf0!important;border-radius:8px!important;color:#263445!important;text-align:left!important}.kt-v75-quick-action:hover{background:#f8fbff!important;border-color:#cfdcf0!important}.kt-v75-quick-icon{width:32px;height:32px;border-radius:8px;background:#eef5ff;color:#1473e6;display:grid;place-items:center;font-size:15px}.kt-v75-quick-action>span:nth-child(2){display:grid;gap:2px}.kt-v75-quick-action strong{font-size:.7rem}.kt-v75-quick-action small{font-size:.59rem;color:#8390a0}
.kt-v75-template-strip{padding-bottom:13px}.kt-v75-template-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:2px 14px}.kt-v75-template-mini{border:1px solid #e5eaf0;border-radius:8px;padding:6px;display:grid;grid-template-rows:62px auto auto;gap:6px;min-width:0}.kt-v75-template-art{border:0!important;border-radius:6px!important;background:linear-gradient(135deg,var(--template-color),#fff)!important;color:#fff!important;font-size:21px!important;padding:0!important}.kt-v75-template-mini>div{display:grid;min-width:0}.kt-v75-template-mini strong{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-v75-template-mini small{font-size:.58rem;color:#8994a3}.kt-v75-template-mini button.secondary{padding:6px!important;font-size:.62rem!important;background:#f4f7fb!important;color:#1473e6!important}
.kt-v75-organize{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.kt-v75-organize>.kt-v75-card{padding:14px}.kt-v75-organize h2{font-size:.9rem;margin:0 0 10px}
.kt-v75-focused{padding:26px}.kt-v75-page-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.kt-v75-page-heading h1{margin:3px 0;font-size:1.55rem}.kt-v75-page-heading p{margin:0}
#shell.hub-mode .kt-member-topbar{background:#fff!important;border-bottom:1px solid #e6ebf1!important}
#shell.hub-mode .kt-brand-button .mark{background:linear-gradient(135deg,#f2b437,#e8a11e)!important;color:#fff!important}
#shell.hub-mode .kt-global-search{width:min(520px,42vw)!important;background:#f8fafc!important;border-radius:8px!important;border-color:#dde4ec!important}
#shell.hub-mode #account-shortcut{background:#eef2f7!important}
@media(max-width:1280px){.kt-v75-stats{grid-template-columns:repeat(3,1fr)}.kt-v75-template-grid{grid-template-columns:repeat(3,1fr)}.kt-v75-base-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:960px){.kt-v75-workspace{grid-template-columns:78px minmax(0,1fr)!important}.kt-v75-sidebar .kt-workspace-nav span:not(.kt-nav-icon),.kt-v75-side-brand strong,.kt-v75-side-caption,.kt-v75-side-create span:last-child,.kt-v75-side-footer>div{display:none!important}.kt-v75-side-brand{justify-content:center!important}.kt-v75-sidebar .kt-workspace-nav{justify-content:center!important}.kt-v75-side-create{justify-content:center!important}.kt-v75-side-footer{grid-template-columns:1fr}.kt-v75-side-workspace-icon{margin:auto}.kt-v75-upper-grid,.kt-v75-base-quick-layout{grid-template-columns:1fr}.kt-v75-base-grid{grid-template-columns:repeat(2,1fr)!important}.kt-v75-hero-mark{display:none}.kt-v75-template-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.kt-v75-workspace{grid-template-columns:1fr!important}.kt-v75-sidebar{display:none!important}.kt-v75-main{padding:0 12px 42px!important}.kt-v75-hero{margin:0 -12px 12px;padding:18px 16px}.kt-v75-hero-copy h1{font-size:1.35rem!important}.kt-v75-stats{grid-template-columns:repeat(2,1fr)}.kt-v75-base-grid{grid-template-columns:1fr!important}.kt-v75-template-grid{grid-template-columns:1fr 1fr}.kt-v75-organize{grid-template-columns:1fr}}


/* v76 SINGLE-SHELL STRUCTURAL REPAIR — owner acceptance */
/* Workspace Hub owns the application shell. The legacy member topbar becomes
   a utility strip for the main column only, never a second branded shell. */
#shell.hub-mode{
  position:relative!important;
  display:block!important;
  height:100dvh!important;
  min-height:100vh!important;
  overflow:hidden!important;
  background:var(--kt-v75-canvas,#f6f8fb)!important;
}
#shell.hub-mode .kt-member-topbar{
  position:absolute!important;
  top:0!important;
  left:244px!important;
  right:0!important;
  width:auto!important;
  height:58px!important;
  min-height:58px!important;
  z-index:45!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding:0 18px!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e5eaf0!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px);
}
#shell.hub-mode .kt-member-topbar .kt-brand-button,
#shell.hub-mode .kt-member-topbar #nav,
#shell.hub-mode .kt-member-topbar #logout{
  display:none!important;
}
#shell.hub-mode .kt-member-topbar .kt-topbar-spacer{
  display:block!important;
  flex:1 1 auto!important;
}
#shell.hub-mode .kt-member-topbar .kt-global-search{
  margin-left:auto!important;
  width:min(520px,45vw)!important;
}
#shell.hub-mode .content{
  display:block!important;
  width:100%!important;
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
  background:var(--kt-v75-canvas,#f6f8fb)!important;
}
#shell.hub-mode .content>.kt-member-context,
#shell.hub-mode .content>#state{
  display:none!important;
}
#shell.hub-mode #content-view{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#shell.hub-mode .kt-v75-workspace{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  grid-template-columns:244px minmax(0,1fr)!important;
}
#shell.hub-mode .kt-v75-sidebar{
  min-height:100%!important;
  height:100%!important;
  padding-top:14px!important;
  border-right:0!important;
}
#shell.hub-mode .kt-v75-main{
  min-height:0!important;
  height:100%!important;
  padding-top:58px!important;
  overflow-y:auto!important;
}
#shell.hub-mode .kt-v75-main>.kt-v75-hero{
  margin-top:0!important;
}
@media(max-width:960px){
  #shell.hub-mode .kt-member-topbar{left:78px!important}
  #shell.hub-mode .kt-v75-workspace{grid-template-columns:78px minmax(0,1fr)!important}
}
@media(max-width:620px){
  #shell.hub-mode .kt-member-topbar{
    left:0!important;
    padding:0 10px!important;
  }
  #shell.hub-mode .kt-member-topbar #workspace-select{display:none!important}
  #shell.hub-mode .kt-member-topbar .kt-global-search{
    width:auto!important;
    flex:1 1 auto!important;
  }
  #shell.hub-mode .kt-v75-workspace{grid-template-columns:1fr!important}
  #shell.hub-mode .kt-v75-main{padding-top:58px!important}
}

/* v79 professional form device preview */
.kt-form-preview-devices{align-items:center;margin-bottom:14px}
.kt-form-preview-frame{width:100%;margin:0 auto 16px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);transition:max-width .2s ease}
.kt-form-preview-frame.is-desktop{max-width:960px}
.kt-form-preview-frame.is-mobile{max-width:390px}
.kt-form-preview-body{display:grid;gap:14px;padding:20px;border-radius:12px;background:var(--surface)}
.kt-form-preview-body>label{display:grid;gap:7px}
.kt-form-preview-body input,.kt-form-preview-body select,.kt-form-preview-body textarea{width:100%}

/* v82 responsive app preview */
.kt-app-preview-devices{align-items:center;margin:12px 0}
.kt-app-preview-frame{width:100%;margin:0 auto;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);transition:max-width .2s ease}
.kt-app-preview-frame.is-desktop{max-width:1100px}
.kt-app-preview-frame.is-mobile{max-width:390px}
.kt-app-preview-canvas{display:grid;gap:16px}
.kt-app-preview-frame.is-mobile .product-panel{padding:14px}

/* v83 workspace administration */
.workspace-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.workspace-admin-grid .panel:last-child{grid-column:1/-1}
.permission-matrix{display:grid;gap:10px}
.permission-matrix>div,.integration-row{display:flex;justify-content:space-between;gap:16px;padding:10px;border:1px solid var(--line);border-radius:10px}
.permission-matrix span{color:var(--muted);text-align:right}
.admin-template-list{display:flex;flex-wrap:wrap;gap:7px}
@media(max-width:760px){.workspace-admin-grid{grid-template-columns:1fr}.workspace-admin-grid .panel:last-child{grid-column:auto}.permission-matrix>div,.integration-row{align-items:flex-start;flex-direction:column}}


/* v84 complete product states */
.kt-surface-state{min-height:220px;display:grid;place-content:center;justify-items:start;gap:10px;padding:32px;border:1px solid var(--line,#2f3542);border-radius:16px;background:var(--panel,#171a21);color:var(--text,#f4f6fb)}
.kt-surface-state h2,.kt-surface-state p{margin:0}.kt-surface-state p{color:var(--muted,#aab2c0);max-width:58ch}.kt-surface-state[data-state="permission_denied"],.kt-surface-state[data-state="session_expired"]{border-color:#72553a}.kt-surface-state[data-state="offline"],.kt-surface-state[data-state="degraded"],.kt-surface-state[data-state="maintenance"]{border-color:#556179}
.kt-state-skeleton{width:min(560px,72vw);display:grid;gap:12px}.kt-state-skeleton span{display:block;height:18px;border-radius:999px;background:linear-gradient(90deg,#252a35 25%,#353d4b 50%,#252a35 75%);background-size:200% 100%;animation:kt-state-shimmer 1.25s ease-in-out infinite}.kt-state-skeleton span:nth-child(2){width:78%}.kt-state-skeleton span:nth-child(3){width:52%}
@keyframes kt-state-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.kt-state-skeleton span{animation:none}}


/* v85 persistent routing, mobile dashboard and deterministic App Brand System */
.kt-app-runtime-nav{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:10px 0;scrollbar-width:thin}
.kt-app-preview-frame{background:var(--brand-bg,#f8fafc)!important;color:var(--brand-text,#0f172a)!important;border-radius:var(--brand-radius,12px)!important}
.kt-app-preview-canvas{background:var(--brand-bg,#f8fafc)!important;color:var(--brand-text,#0f172a)!important}
.kt-app-preview-canvas .panel,.kt-app-preview-canvas .preview-card{background:var(--brand-surface,#fff)!important;color:var(--brand-text,#0f172a)!important;border-radius:var(--brand-radius,12px)!important}
.kt-app-preview-canvas button,.kt-app-runtime-nav .primary{background:var(--brand-primary,#0e7490)!important;border-color:var(--brand-primary,#0e7490)!important;color:#fff!important}
.kt-app-preview-canvas .muted{color:var(--brand-muted,#64748b)!important}
.kt-brand-editor{grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(72vh,760px);overflow:auto}
.kt-brand-editor>p,.kt-brand-editor>button{grid-column:1/-1}
@media(max-width:900px){
  .kt-statistics-root{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .kt-statistics-head{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;overflow:visible!important;padding:10px!important}
  .kt-statistics-brand{min-width:0!important}.kt-statistics-actions{display:flex!important;justify-content:flex-end!important;gap:4px!important;min-width:0!important}.kt-statistics-actions .secondary{min-height:40px!important;white-space:nowrap!important}.kt-dashboard-picker{grid-column:1/-1;width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important}
  .kt-cross-filter-chip{grid-column:1/-1;margin:0!important;width:100%!important;min-height:44px!important;white-space:normal!important}
  .kt-dashboard-canvas{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
  .kt-dashboard-card,.kt-chart-kpi,.kt-chart-metric,.kt-chart-score,.kt-chart-gauge,.kt-chart-rag,.kt-chart-map,.kt-chart-table{grid-column:1/-1!important;width:100%!important;min-width:0!important;min-height:0!important}
  .kt-dashboard-card-head{gap:8px!important;align-items:flex-start!important}.kt-dashboard-card-head strong{overflow-wrap:anywhere}
  .kt-dashboard-visual{min-width:0!important;min-height:170px!important;overflow-x:auto!important}
  .kt-bar-row{grid-template-columns:minmax(64px,32%) minmax(76px,1fr) 42px!important;min-width:0!important}.kt-bar-label{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important}
  .kt-chart-builder-dialog,.kt-dashboard-settings{width:min(100%,calc(100vw - 20px))!important;max-width:none!important;min-width:0!important;max-height:calc(100dvh - 20px)!important}
  .kt-chart-builder select,.kt-chart-builder input,.kt-dashboard-settings select,.kt-dashboard-settings input{width:100%!important;max-width:100%!important;min-height:44px!important;font-size:16px!important}
  .kt-palette-grid{grid-template-columns:minmax(0,1fr)!important}.kt-palette-choice{min-width:0!important}
}
@media(max-width:600px){
  .kt-statistics-head{grid-template-columns:minmax(0,1fr)!important}.kt-statistics-head>*{max-width:100%!important}
  .kt-statistics-actions{width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:2px!important}.kt-statistics-actions .kt-icon-button{min-width:44px!important;min-height:44px!important;flex:0 0 44px!important}.kt-statistics-actions .secondary{flex:0 0 auto!important;min-height:44px!important}.kt-statistics-head button{min-height:44px!important}.kt-dashboard-canvas{padding:8px!important;gap:10px!important}
  .kt-dashboard-card-head{padding:10px!important;flex-wrap:wrap!important}.kt-dashboard-card-head .toolbar{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kt-dashboard-card-head button{min-height:44px!important;min-width:44px!important}
  .kt-dashboard-visual{padding:10px!important}.kt-number-card{font-size:2rem!important}
  .kt-brand-editor{grid-template-columns:minmax(0,1fr)!important}.kt-app-preview-devices{display:grid!important;grid-template-columns:1fr 1fr!important}.kt-app-preview-devices>span{grid-column:1/-1}
  .kt-app-runtime-nav button{min-height:44px!important;white-space:nowrap!important}
}

/* v89 HORIZONTAL APPLICATION SHELL — FINAL OWNER BLOCKER 01 */
#shell.hub-mode{position:relative!important;display:block!important;height:100dvh!important;overflow:hidden!important;background:var(--kt-v75-canvas,#f6f8fb)!important}
#shell.hub-mode #content-view{position:relative!important;width:100%!important;height:100%!important;overflow:hidden!important;padding:0!important}
#shell.hub-mode .kt-v89-workspace{display:block!important;width:100%!important;height:100%!important;min-height:0!important}
#shell.hub-mode .kt-v89-app-shell{position:absolute!important;inset:0 0 auto 0!important;width:100%!important;height:64px!important;min-height:64px!important;z-index:80!important;display:flex!important;align-items:center!important;gap:3px!important;padding:0 14px!important;background:linear-gradient(90deg,#0d1827 0%,#111f33 58%,#142842 100%)!important;color:#dbe7f5!important;border:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;box-shadow:0 8px 24px #0b15251c!important}
#shell.hub-mode .kt-v89-app-shell::-webkit-scrollbar{display:none!important}
#shell.hub-mode .kt-v89-app-shell .kt-v75-side-brand{display:flex!important;flex:0 0 auto!important;height:50px!important;margin:0 12px 0 0!important;padding:0 10px 0 4px!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
#shell.hub-mode .kt-v89-app-shell .kt-v75-side-brand strong{display:inline!important;color:#fff!important;font-size:.95rem!important}
#shell.hub-mode .kt-v89-app-shell .kt-workspace-nav{display:flex!important;flex:0 0 auto!important;width:auto!important;height:38px!important;margin:0!important;padding:0 9px!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:8px!important;white-space:nowrap!important;color:#d8e4f1!important}
#shell.hub-mode .kt-v89-app-shell .kt-workspace-nav span{display:inline!important}
#shell.hub-mode .kt-v89-app-shell .kt-workspace-nav.active{background:#1677ed!important;color:#fff!important;box-shadow:0 5px 14px #0065d53d!important}
#shell.hub-mode .kt-v89-app-shell .kt-v75-side-separator,#shell.hub-mode .kt-v89-app-shell .kt-v75-side-caption,#shell.hub-mode .kt-v89-app-shell .kt-v75-side-footer{display:none!important}
#shell.hub-mode .kt-v89-app-shell .kt-sidebar-spacer{display:block!important;flex:1 0 12px!important;min-width:12px!important}
#shell.hub-mode .kt-v89-app-shell .kt-v75-side-create{display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:96px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0 11px!important;justify-content:center!important;border-color:#ffffff28!important;background:#ffffff12!important;white-space:nowrap!important}
#shell.hub-mode .kt-member-topbar{position:absolute!important;top:64px!important;left:0!important;right:0!important;width:100%!important;height:54px!important;min-height:54px!important;z-index:70!important;padding:0 16px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e2e8f0!important;box-shadow:0 4px 16px #1420330b!important}
#shell.hub-mode .kt-member-topbar .kt-brand-button,#shell.hub-mode .kt-member-topbar #nav,#shell.hub-mode .kt-member-topbar #logout{display:none!important}
#shell.hub-mode .kt-member-topbar .kt-global-search{width:min(620px,54vw)!important;margin-left:auto!important}
#shell.hub-mode .kt-v75-main{display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:118px 24px 56px!important;overflow-y:auto!important;background:var(--kt-v75-canvas,#f6f8fb)!important}
#shell.hub-mode .kt-v75-main>.kt-v75-hero{margin-top:0!important}
.kt-v89-nav-toggle{display:none!important;flex:0 0 auto;width:40px;height:40px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff0d;color:#fff;font-size:20px;line-height:1}
@media(max-width:1120px){#shell.hub-mode .kt-v89-app-shell{padding:0 10px!important}.kt-v89-app-shell .kt-workspace-nav{padding:0 7px!important;font-size:.78rem!important}.kt-v89-app-shell .kt-workspace-nav[data-nav="favorites"],.kt-v89-app-shell .kt-workspace-nav[data-nav="shared"],.kt-v89-app-shell .kt-workspace-nav[data-nav="trash"]{opacity:.88}.kt-v89-app-shell .kt-v75-side-create{min-width:88px!important}}
@media(max-width:700px){#shell.hub-mode .kt-v89-app-shell{height:58px!important;min-height:58px!important;overflow:visible!important;justify-content:space-between!important;padding:0 10px!important}.kt-v89-nav-toggle{display:grid!important;place-items:center!important;margin-left:auto!important}.kt-v89-app-shell>.kt-workspace-nav,.kt-v89-app-shell>.kt-v75-side-create,.kt-v89-app-shell>.kt-sidebar-spacer{display:none!important}.kt-v89-app-shell.is-open{height:auto!important;max-height:min(78dvh,620px)!important;display:grid!important;grid-template-columns:1fr auto!important;align-content:start!important;padding:7px 10px 12px!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:0 18px 42px #07111f66!important}.kt-v89-app-shell.is-open .kt-v75-side-brand{grid-column:1!important}.kt-v89-app-shell.is-open .kt-v89-nav-toggle{grid-column:2!important;grid-row:1!important}.kt-v89-app-shell.is-open>.kt-workspace-nav{display:flex!important;grid-column:1/-1!important;width:100%!important;justify-content:flex-start!important;margin:1px 0!important}.kt-v89-app-shell.is-open>.kt-v75-side-create{display:flex!important;grid-column:1/-1!important;width:100%!important;margin-top:5px!important}.kt-v89-app-shell.is-open>.kt-sidebar-spacer{display:none!important}#shell.hub-mode .kt-member-topbar{top:58px!important;height:52px!important;min-height:52px!important;padding:0 8px!important}#shell.hub-mode .kt-member-topbar #workspace-select{display:none!important}#shell.hub-mode .kt-member-topbar .kt-global-search{width:auto!important;min-width:0!important;flex:1 1 auto!important}#shell.hub-mode .kt-v75-main{padding:110px 12px 42px!important}.kt-v75-hero{margin-left:-12px!important;margin-right:-12px!important}}

/* Private candidate navigation recovery: retain product exit controls on builder surfaces. */
body.kt-project-active #shell.project-mode.project-tool-mode{grid-template-rows:58px minmax(0,1fr)!important}
body.kt-project-active #shell.project-mode.project-tool-mode>.kt-member-topbar{display:flex!important;grid-row:1!important;position:relative!important;top:auto!important;z-index:45!important}
body.kt-project-active #shell.project-mode.project-tool-mode>.content{grid-row:2!important;height:calc(100dvh - 58px)!important;min-height:0!important}
#shell.project-mode.project-tool-mode .kt-brand-button{display:flex!important}
.kt-global-back{display:none;flex:0 0 auto;min-height:38px;padding:7px 12px;border:1px solid #d7e1eb;border-radius:8px;background:#f8fafc;color:#173253;font-weight:650}
#shell.project-mode.project-tool-mode .kt-global-back{display:inline-flex;align-items:center}
@media(max-width:700px){
 body.kt-project-active #shell.project-mode.project-tool-mode>.kt-member-topbar{padding:0 8px!important;gap:7px!important}
 #shell.project-mode.project-tool-mode .kt-brand-button{min-width:40px;max-width:44px}
 #shell.project-mode.project-tool-mode .kt-brand-button strong{display:none!important}
 #shell.project-mode.project-tool-mode .kt-global-back{min-height:44px;padding:6px 9px}
 #shell.project-mode.project-tool-mode .kt-global-search,#shell.project-mode.project-tool-mode #workspace-select,#shell.project-mode.project-tool-mode #notifications-shortcut{display:none!important}
 #shell.project-mode.project-tool-mode .kt-topbar-spacer{flex:1}
}

/* Tool routes have their own reserved application header, including direct links. */
#shell.hub-mode.kt-global-tool{display:grid!important;grid-template-rows:58px minmax(0,1fr)!important;min-height:0!important}
#shell.hub-mode.kt-global-tool>.kt-member-topbar{display:flex!important;grid-row:1!important;position:relative!important;top:auto!important;height:58px!important;min-height:58px!important}
#shell.hub-mode.kt-global-tool>.content{grid-row:2!important;height:calc(100dvh - 58px)!important;min-height:0!important;overflow:hidden!important}
#shell.hub-mode.kt-global-tool .kt-member-topbar .kt-brand-button{display:flex!important}
#shell.hub-mode.kt-global-tool .kt-member-topbar .kt-global-back{display:inline-flex!important;align-items:center}
@media(max-width:700px){
 #shell.hub-mode.kt-global-tool>.kt-member-topbar{padding:0 8px!important;gap:7px!important}
 #shell.hub-mode.kt-global-tool .kt-brand-button{min-width:40px;max-width:44px}
 #shell.hub-mode.kt-global-tool .kt-brand-button strong{display:none!important}
 #shell.hub-mode.kt-global-tool .kt-global-back{min-height:44px;padding:6px 9px}
 #shell.hub-mode.kt-global-tool .kt-global-search,#shell.hub-mode.kt-global-tool #workspace-select,#shell.hub-mode.kt-global-tool #notifications-shortcut{display:none!important}
 #shell.hub-mode.kt-global-tool .kt-topbar-spacer{flex:1}
}


/* v94 MOBILE SHELL AND DASHBOARD MODAL REPAIR */
@media(max-width:700px){
  #shell.hub-mode .kt-v89-app-shell:not(.is-open)>.kt-workspace-nav,
  #shell.hub-mode .kt-v89-app-shell:not(.is-open)>.kt-v75-side-create,
  #shell.hub-mode .kt-v89-app-shell:not(.is-open)>.kt-sidebar-spacer{display:none!important}
  #shell.hub-mode .kt-v89-app-shell.is-open{
    height:auto!important;
    max-height:min(78dvh,620px)!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-content:start!important;
    padding:7px 10px 12px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-shadow:0 18px 42px #07111f66!important
  }
  #shell.hub-mode .kt-v89-app-shell.is-open>.kt-v75-side-brand{grid-column:1!important;grid-row:1!important}
  #shell.hub-mode .kt-v89-app-shell.is-open>.kt-v89-nav-toggle{grid-column:2!important;grid-row:1!important;margin-left:0!important}
  #shell.hub-mode .kt-v89-app-shell.is-open>.kt-workspace-nav{display:flex!important;grid-column:1/-1!important;width:100%!important;justify-content:flex-start!important;margin:1px 0!important}
  #shell.hub-mode .kt-v89-app-shell.is-open>.kt-v75-side-create{display:flex!important;grid-column:1/-1!important;width:100%!important;margin-top:5px!important}
  #shell.hub-mode .kt-v89-app-shell.is-open>.kt-sidebar-spacer{display:none!important}
  .kt-statistics-root{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
  .modal-backdrop{padding:10px!important;overflow:hidden!important}
  .modal-backdrop>.dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 20px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
  .kt-chart-builder-dialog>button:last-child{position:sticky!important;bottom:0!important;z-index:3!important;width:100%!important;min-height:44px!important;margin-top:12px!important}
}

/* v96 dashboard scroll specificity correction */
@media(max-width:700px){
  body.kt-project-active #shell.project-mode.project-tool-mode #content-view>.kt-statistics-root{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important
  }
}

/* v97 actual hub-tool dashboard scroll owner */
@media(max-width:700px){
  #shell.hub-mode.kt-global-tool #content-view.kt-statistics-root{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important
  }
}

/* v98 tablet dialog close affordance */
@media(min-width:701px) and (max-width:900px){
  .kt-chart-builder-dialog>button:last-child{
    position:sticky!important;
    bottom:0!important;
    z-index:3!important;
    width:100%!important;
    min-height:44px!important;
    margin-top:12px!important
  }
}

/* v99 desktop chart builder close affordance */
@media(min-width:901px){
  .kt-chart-builder-dialog>button:last-child{
    position:sticky!important;
    bottom:0!important;
    z-index:3!important;
    width:100%!important;
    min-height:44px!important;
    margin-top:12px!important
  }
}

/* v5 shared SVG icon normalization */
.kt-entry-menu-icon.kt-ui-icon,.kt-project-menu-icon.kt-ui-icon,.kt-tool-icon.kt-ui-icon,.kt-nav-icon.kt-ui-icon{font-size:1rem!important}.kt-record-detail-nav{display:inline-flex;align-items:center;gap:1px}.kt-record-detail-nav .kt-ui-icon{width:14px;height:14px}.kt-record-icon-button{display:inline-flex!important;align-items:center!important;justify-content:center!important}.kt-v75-side-crown.kt-ui-icon{width:25px!important;height:25px!important}.kt-v75-side-workspace-icon.kt-ui-icon{width:18px!important;height:18px!important}


/* v5 owner live-review negative evidence — root responsive/modal/kanban repair */
.kt-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px}.kt-dialog-head h2{margin:0!important;min-width:0}.kt-dialog-close{width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#eef2f7!important;color:#334155!important;display:grid!important;place-items:center!important}.kt-dialog-close:hover{background:#e2e8f0!important;color:#0f172a!important}.kt-toolbar-icon{width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;display:inline-grid!important;place-items:center!important}.kt-ui-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:0 0 auto}.kt-ui-icon svg{display:block}
@media(max-width:700px){
  html,body,#app{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  #shell.hub-mode,#shell.hub-mode>.content,#shell.hub-mode #content-view,#shell.hub-mode .kt-v89-workspace,#shell.hub-mode .kt-v75-main{width:100%!important;max-width:100%!important;min-width:0!important;left:0!important;right:0!important;transform:none!important;box-sizing:border-box!important}
  #shell.hub-mode .kt-v89-app-shell{left:0!important;right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
  #shell.hub-mode .kt-v89-app-shell .kt-v75-side-brand{min-width:0!important;max-width:calc(100vw - 70px)!important;overflow:hidden!important;margin-right:0!important}.kt-v89-app-shell .kt-v75-side-brand strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  #shell.hub-mode .kt-member-topbar{left:0!important;right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}
  #shell.hub-mode .kt-v75-main{padding-left:12px!important;padding-right:12px!important;overflow-x:hidden!important}
  #shell.hub-mode .kt-v75-main>*{min-width:0!important;max-width:100%!important}
  .kt-v75-hero{width:auto!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important}.kt-v75-hero-copy{min-width:0!important}.kt-v75-hero-copy h1,.kt-v75-hero-copy p{overflow-wrap:anywhere}
  .kt-grid-toolbar{max-width:100%!important;min-width:0!important;overflow:hidden!important}.kt-grid-toolbar-left{max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch}.kt-grid-toolbar-left>*{flex:0 0 auto!important}.kt-grid-toolbar-right{min-width:0!important;max-width:100%!important}
  .kanban-board{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(250px,82vw)!important;gap:12px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 12px 16px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;box-sizing:border-box!important}.kanban-lane{width:auto!important;min-width:0!important;max-width:none!important;scroll-snap-align:start!important}
  .modal-backdrop{align-items:flex-start!important;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))!important;overflow-y:auto!important;box-sizing:border-box!important}.modal-backdrop>.dialog{width:min(560px,100%)!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important;margin:clamp(8px,5dvh,44px) auto 0!important;padding:18px!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important}.modal-backdrop>.dialog input,.modal-backdrop>.dialog select,.modal-backdrop>.dialog textarea{max-width:100%!important;width:100%!important;font-size:16px!important;box-sizing:border-box!important}.modal-backdrop>.dialog .toolbar{margin-bottom:0!important}.kt-dialog-head{position:sticky;top:-18px;z-index:3;background:inherit;padding:2px 0 10px}
}
@media(max-width:430px){.kt-v75-stats{grid-template-columns:minmax(0,1fr)!important}.kt-v75-template-grid{grid-template-columns:minmax(0,1fr)!important}.kt-v75-upper-grid,.kt-v75-base-quick-layout,.kt-v75-organize{grid-template-columns:minmax(0,1fr)!important}}

/* KT v5 coherent responsive root contract */
html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
#root,#app,#shell{width:100%;max-width:100%;min-width:0;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
.kt-ui-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}
.kt-ui-icon svg{display:block;width:1.15em;height:1.15em}
.kt-icon-button,.kt-toolbar-icon,.kt-dialog-close,.kt-base-more,.kt-table-add{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:8px;border-radius:8px}
.kt-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.kt-dialog-head h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dialog{width:min(700px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 24px);min-width:0;overflow:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}
.dialog form,.dialog .toolbar{min-width:0;max-width:100%}
.kt-grid-toolbar{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;overflow:visible}
.kt-grid-toolbar-left{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%}
.kt-view-chooser{min-width:0;max-width:42vw}
@media(max-width:700px){.kt-grid-toolbar{align-items:stretch}.kt-grid-toolbar-left{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px;width:100%}.kt-grid-toolbar-left>.kt-view-control{grid-column:1/-1;min-width:0}.kt-view-chooser{max-width:none;width:100%}.kt-view-type-shortcut{display:none!important}.kt-op-label{display:none}.kt-table-ops{display:flex;flex-wrap:wrap;min-width:0}.workspace-head,.kt-project-head,.kt-workspace-main-head{min-width:0;max-width:100%;overflow:hidden}.workspace-head input,.kt-project-head input,#global-search{min-width:0;max-width:100%}.modal-backdrop{padding:12px max(12px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right));align-items:flex-start;overflow-y:auto}.dialog{width:100%;max-height:calc(100dvh - 24px);margin-top:env(safe-area-inset-top)}.dialog input,.dialog select,.dialog textarea{max-width:100%;min-width:0}.dialog .toolbar{display:flex;gap:8px;position:sticky;bottom:0;background:inherit;padding-top:10px;z-index:2}.dialog .toolbar button{flex:1;min-height:44px}.record-drawer{padding:16px}.kt-workspace-hub,.kt-entry-workspace,.kt-v75-workspace{min-width:0;max-width:100%;overflow-x:hidden}.kt-project-cards,.asset-grid,.kt-base-grid{grid-template-columns:minmax(0,1fr)!important}.kt-project-tools{min-width:0;max-width:100%;overflow:hidden}.kt-project-tool{min-width:40px}.kt-project-tool span{display:none}.kt-table-tabs-bar,.kt-table-tabs{min-width:0;max-width:100%;overflow-x:auto}.kt-table-ops{overflow-x:a
/* KT_MEMBER_NAV_RESPONSIVE_ACCESSIBILITY_20261016 */
:root{--kt-focus-ring:#2976d3}
#shell{min-width:0}
#shell .content{min-width:0}
#shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--kt-focus-ring);outline-offset:2px}
#shell nav button{min-height:44px;line-height:1.5}
#shell nav button.active{font-weight:700}
#shell :is(.panel,.tile,.table-wrap){min-width:0}
#shell .table-wrap{overscroll-behavior-inline:contain}
#shell .data{min-width:max-content}
#shell .content header{min-width:0}
#shell .content header h1{overflow-wrap:anywhere}
#shell :is(.kt-import-wizard,.dialog){max-width:min(100%,900px)}
#shell input[type=file]{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:800px){
 #shell{width:100%}
 #shell .content{padding:16px}
 #shell nav{scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 #shell nav button{white-space:nowrap;flex:0 0 auto}
 #shell .toolbar{gap:8px}
 #shell .toolbar button{max-width:100%;min-height:44px}
 #shell .dialog{max-height:calc(100dvh - 32px);overflow:auto}
}
@media(prefers-reduced-motion:reduce){#shell *,#shell *::before,#shell *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
