/* Ceramic design study. Presentation only; the original application owns all data. */
html.ceramic {
  --c-bg: #f5f3ee;
  --c-paper: #faf9f5;
  --c-soft: #eeeee8;
  --c-text: #102237;
  --c-muted: #637586;
  --c-line: #dfe3dd;
  --c-teal: #387e80;
  --c-mint: #c0ebde;
  --c-coral: #ff896e;
  --c-light: rgba(255,255,255,.88);
  --c-surface: linear-gradient(145deg,#fdfcf9,#f1f0ea);
  --c-shadow: 5px 8px 18px #34444112, 1px 2px 3px #34444112, inset 1px 1px 0 #ffffffd9;
  --c-raised: 7px 12px 24px #34444118, 1px 2px 4px #3444410d, inset 1px 1px 0 #ffffffed;
  --c-inset: inset 2px 3px 7px #3e4e4b0b, inset -1px -1px 3px #ffffffb3;
  --c-ease: cubic-bezier(.22,1,.36,1);
  --c-side: 214px;
  --c-gap: 16px;
  --c-header: 76px;
  --c-radius: 24px;
  --sopka-bg: var(--c-bg);
  --sopka-surface: var(--c-paper);
  --sopka-soft: var(--c-soft);
  --sopka-text: var(--c-text);
  --sopka-muted: var(--c-muted);
  --sopka-line: var(--c-line);
  --sopka-border: var(--c-line);
  --sopka-accent: var(--c-teal);
  --sopka-accent-soft: #e0efea;
  --sopka-accent-line: #a0cdca;
  --sopka-success: #28745f;
  --sopka-raised: var(--c-paper);
  --sopka-hover: var(--c-soft);
  --sopka-primary: #ffad8e;
  --sopka-primary-end: #f47c63;
  --sopka-primary-text: #49271f;
  --sopka-shadow: #34444115;
  --sopka-disabled: #9baba6;
  --sopka-error: #a44837;
  --sopka-error-bg: #f9eae3;
  --sopka-warn: #836239;
  --sopka-warn-bg: #f9efdb;
  --sopka-info: #336c82;
  --sopka-info-bg: #e9f2f3;
  --green: var(--c-teal);
  --line: var(--c-line);
  color-scheme: light;
  font: 14px/1.5 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  color: var(--c-text);
  background: #dce4df;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
html.ceramic[data-theme=dark] {
  --c-bg: #202b30; --c-paper: #2a3539; --c-soft: #253135;
  --c-text: #e9efea; --c-muted: #b0c0c4; --c-line: #414f51;
  --c-teal: #8ccdc6; --c-mint: #355c53; --c-light: #52606080;
  --c-surface: linear-gradient(145deg,#303d41,#263135);
  --c-shadow: 5px 8px 18px #07131633, 1px 2px 3px #0713162b, inset 1px 1px 0 #60707440;
  --c-raised: 7px 12px 24px #07131640, 1px 2px 4px #07131633, inset 1px 1px 0 #68797a50;
  --c-inset: inset 2px 3px 7px #07131630, inset -1px -1px 3px #64757615;
  --sopka-accent-soft: #304c4a; --sopka-accent-line: #548e87;
  --sopka-success: #9bd4bc;
  --sopka-error: #efb2a3; --sopka-error-bg: #45332f;
  --sopka-warn: #e8cea4; --sopka-warn-bg: #453e30;
  --sopka-info: #a4cbd8; --sopka-info-bg: #2c3e47;
  color-scheme: dark;
  background: #17272c;
}
html.ceramic body {
  background: radial-gradient(ellipse at 95% 0%,#f4d6bf66,transparent 45%), radial-gradient(ellipse at 5% 100%,#70a9a755,transparent 55%), #dce4df;
  color: var(--c-text);
  height: 100vh; height: 100dvh;
}
html.ceramic[data-theme=dark] body { background: radial-gradient(ellipse at 90% 0%,#48504b,transparent 65%),#17272c; }
/* One continuous surface owns the frame, including the header/content junction. */
html.ceramic body::before {
  content:"";position:fixed;inset:var(--c-gap) var(--c-gap) var(--c-gap) calc(var(--c-side) + 2 * var(--c-gap));
  background:var(--c-bg);border:1px solid var(--c-line);border-radius:var(--c-radius);
  box-shadow:8px 14px 28px #30423e13,inset 1px 1px 0 var(--c-light);pointer-events:none;
}
html.ceramic button, html.ceramic input, html.ceramic select, html.ceramic textarea { font-family: inherit; }
html.ceramic button {
  background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-light); border-radius: 12px;
  box-shadow: var(--c-shadow); padding: 10px 16px; font-weight: 600;
  transition: transform 180ms var(--c-ease), box-shadow 260ms var(--c-ease), background-color 220ms, border-color 220ms, color 220ms;
}
html.ceramic button:not(:disabled):hover { box-shadow: var(--c-raised); border-color: #b7cfca; transform: translateY(-1px); }
html.ceramic button:not(:disabled):active { transform: translateY(1px) scale(.988); box-shadow: var(--c-inset); }
html.ceramic button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
html.ceramic .primary {
  color: #49271f; border-color: #ffd0b9;
  background: linear-gradient(165deg,#ffad8e 0%,#ff8d70 62%,#f47c63 100%);
  box-shadow: 0 5px 10px #b6674524, 0 1px 2px #974e3430, inset 0 1px 1px #ffebd7;
}
html.ceramic .primary:not(:disabled):hover { background: linear-gradient(165deg,#ffb294,#ff9677 62%,#f78369); border-color:#ffe3ce; box-shadow: 0 7px 16px #b6674533, inset 0 1px 1px #fff0df; }
html.ceramic .primary:disabled { color: #775b51; background: linear-gradient(145deg,#efded1,#e6c9ba); border-color:#ead8cd; opacity:.75; }
html.ceramic :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid var(--c-teal); outline-offset: 4px; }
html.ceramic :is(input,select,textarea) { color: var(--c-text); border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); box-shadow: var(--c-inset); padding: 10px 12px; }
html.ceramic :is(input,textarea)::placeholder { color: var(--c-muted); opacity:.75; }
html.ceramic :is(input[type=checkbox],input[type=radio]) { width:16px;height:16px; accent-color: #4a9290; box-shadow:none; flex-shrink:0; }
html.ceramic :is(h1,h2,h3) { color:var(--c-text); letter-spacing:-.025em; }
html.ceramic h1 { font-size:30px; line-height:1.22; font-weight:750; margin:0 0 9px; }
html.ceramic h2 { font-size:18px; line-height:1.35; font-weight:700; }
html.ceramic h3 { font-size:15px; }
html.ceramic :is(.lead,.note,.muted,small,.code) { color:var(--c-muted); }
html.ceramic .lead { font-size:13px;line-height:1.6; margin-bottom:22px; max-width:880px; }
html.ceramic .note { font-size:11px;line-height:1.65; }
html.ceramic .btnsmall { font-size:11px; border-radius:8px; padding:6px 10px; }
html.ceramic body>header {
  position:fixed; top:var(--c-gap); left:calc(var(--c-side) + 2 * var(--c-gap)); right:var(--c-gap);
  height:66px; padding:0 28px; gap:12px; display:flex; flex-wrap:nowrap;
  border:1px solid var(--c-light); border-bottom:0; border-radius:24px 24px 0 0;
  background:var(--c-bg); box-shadow:inset 1px 1px 0 #ffffff40; z-index:12;
}
html.ceramic header>.brand { display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0;max-width:none;font-size:0;line-height:1.3; }
html.ceramic header>.brand small { margin:0;font-size:10px;letter-spacing:.05px;font-weight:400;max-width:none;color:var(--c-muted); }
html.ceramic header #sopkaCurrentProject { margin:0;font-size:15px;line-height:1.35;font-weight:700;color:var(--c-text);max-width:none;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere; }
html.ceramic .topright { display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;width:auto;min-width:0; }
html.ceramic #saveStatus { display:inline-flex;align-items:center;font-size:11px;color:var(--c-muted);white-space:normal;max-width:270px;line-height:1.4; }
html.ceramic #saveStatus::before { content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor;opacity:.65;margin-right:7px; }
html.ceramic #saveStatus[data-save-state=synced]::before { width:8px;height:8px;background:#18c876;opacity:1;box-shadow:0 0 0 3px #18c87622,0 0 10px #18c87655; }
html.ceramic #saveStatus[data-save-state=warning]::before { width:7px;height:7px;background:#e9a649;opacity:1; }
html.ceramic #sopkaHistory { display:flex;gap:3px; }
html.ceramic #sopkaHistory button { padding:6px 9px;border-radius:9px;box-shadow:none;background:transparent;font-size:17px; }
html.ceramic #sopkaProjects { display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;padding:10px 15px;flex:none; }
html.ceramic #sopkaProjects::before { content:none; }
html.ceramic #sopkaProjects .ceramic-nav-icon { width:18px;height:18px;display:flex; }
html.ceramic body>aside {
  top:var(--c-gap);bottom:var(--c-gap);left:var(--c-gap);width:var(--c-side);padding:25px 12px 12px;
  border:1px solid var(--c-light);border-radius:24px;background:var(--c-surface);
  box-shadow:var(--c-raised);gap:5px;z-index:20;isolation:isolate;
}
html.ceramic .ceramic-brand { display:flex;align-items:center;gap:7px;padding:3px 0 22px;color:var(--c-text);font-size:22px;font-weight:800;letter-spacing:-.8px;flex:none; }
html.ceramic .ceramic-brand>.ceramic-brand-mark { width:36px;height:36px;flex:none;object-fit:contain; }
html.ceramic .ceramic-sidebar-toggle { display:grid;place-items:center;flex:none;margin-left:auto;width:30px;min-height:34px;padding:0;border:0;background:transparent;box-shadow:none;color:var(--c-muted);border-radius:8px; }
html.ceramic .ceramic-sidebar-toggle:hover { background:var(--c-soft); }
html.ceramic .ceramic-sidebar-shade { display:none; }
html.ceramic aside .mode-switch { border:0;padding:0;margin:4px 0 0;gap:7px; }
html.ceramic aside :is(.mode-switch button,.global-help) {
  display:flex;align-items:center;gap:11px;min-height:45px;padding:11px 12px;
  border:1px solid transparent;border-radius:12px;background:transparent;box-shadow:none;
  font-size:12px;font-weight:550;line-height:1.45;text-align:left;color:var(--c-muted);
}
html.ceramic aside .mode-switch button:disabled { background:transparent;border-color:transparent;color:var(--c-muted);opacity:.45; }
html.ceramic aside .mode-switch button.active {
  color:#3f3028;background:linear-gradient(150deg,#ffd3b6,#ffb18d);
  border-color:#ffdac1;box-shadow:0 4px 9px #ae745324,inset 0 1px #fff1df;
}
html.ceramic aside .mode-switch button:not(.active):not(:disabled):hover,html.ceramic aside .global-help:hover { background:var(--c-soft);border-color:var(--c-light); }
html.ceramic aside button::before { content:none; }
html.ceramic #modeCost::before { content:none; }
html.ceramic aside button::first-letter { font-size:inherit; }
html.ceramic .ceramic-nav-icon { width:19px;height:19px;flex:none; }
html.ceramic .ceramic-nav-label { min-width:0; }
html.ceramic aside .count { font-size:9px;border-radius:5px;margin-left:auto;background:var(--c-light);color:inherit;padding:2px 5px; }
html.ceramic #createNav { margin:4px 0 4px 17px;padding-left:13px;border-left:1px solid var(--c-line);gap:4px; }
html.ceramic #createNav>button,html.ceramic .ready-nav>button { background:transparent;box-shadow:none;padding:8px 4px;font-size:11px;min-height:32px; }
html.ceramic #createNav button.active { color:var(--c-teal);font-weight:700; }
html.ceramic .ready-nav { grid-template-columns:minmax(0,1fr) 24px; }
html.ceramic .ready-nav #readyInfo { height:22px;width:22px;padding:0;border:1px solid var(--c-line);background:var(--c-paper);font-size:14px;color:var(--c-muted); }
html.ceramic #readyHint { background:var(--c-paper);color:var(--c-text);border:1px solid var(--c-line);border-radius:12px;box-shadow:var(--c-raised);width:290px;max-width:calc(100vw - 65px); }
html.ceramic aside .global-help { margin-top:15px;border-top:1px solid var(--c-line)!important;border-radius:0;padding-top:17px; }
html.ceramic .aside-note { display:block;padding:0;margin-top:auto;order:20;flex:none; }
html.ceramic #sopkaWhatsNew { padding:6px 4px;font-size:10px;box-shadow:none; }
html.ceramic #sopkaWhatsNew span { font-size:9px; }
html.ceramic .ceramic-landscape { position:absolute;left:0;right:0;bottom:130px;height:200px;margin:0;z-index:-1;pointer-events:none;opacity:.55;mask-image:linear-gradient(transparent,#000 18%,#000 65%,transparent); }
html.ceramic .ceramic-landscape svg { display:block;width:100%;height:100%; }
html.ceramic #sopkaAccountDock { position:relative;flex:none;margin-top:0;padding-top:12px;border-top:1px solid var(--c-line);order:30; }
html.ceramic #sopkaAccountDock .sopka-account-row { display:flex;align-items:center;gap:3px; }
html.ceramic #sopkaAccountButton { border:0;box-shadow:none;background:transparent;padding:8px 5px;gap:9px;min-width:0; }
html.ceramic .sopka-avatar { border-radius:50%;background:linear-gradient(145deg,#8dcac4,#4a9292);color:#fff;box-shadow:0 3px 6px #325a5c2b,inset 0 1px 1px #cef0e5; }
html.ceramic .sopka-account-label strong { font-size:12px;color:var(--c-text); }
html.ceramic .sopka-account-label small { font-size:10px;color:var(--c-muted); }
html.ceramic #sopkaNotificationsButton { border:0;background:transparent;box-shadow:none;flex:none;padding:7px;order:initial; }
html.ceramic #sopkaAccountMenu { bottom:calc(100% + 12px);top:auto;left:0;background:var(--c-paper);border:1px solid var(--c-light);border-radius:16px;box-shadow:0 14px 38px #152f332b;padding:8px; }
html.ceramic #sopkaAccountMenu button { background:transparent;box-shadow:none;border:0;padding:10px 12px;font-size:12px;border-radius:8px; }
html.ceramic #sopkaAccountMenu button:hover { background:var(--c-soft); }
html.ceramic #sopkaFeedbackButton { border:0;background:transparent;box-shadow:none;padding:8px;margin:4px 0 0;font-size:11px;color:var(--c-muted); }
html.ceramic body>main {
  top:calc(var(--c-gap) + 66px);left:calc(var(--c-side) + 2 * var(--c-gap));right:var(--c-gap);bottom:var(--c-gap);
  background:var(--c-bg);border:1px solid var(--c-light);border-top:0;border-radius:0 0 24px 24px;
  padding:20px 28px 32px;min-width:0;scrollbar-gutter:stable;box-shadow:8px 14px 28px #30423e13;
  overscroll-behavior:contain;
}
html.ceramic :is(main,.tablewrap,.comparison-scroll,dialog,.inactive-list) { scrollbar-width:thin;scrollbar-color:#aebeb5 transparent; }
html.ceramic :is(.card,.empty) { background:var(--c-surface);border:1px solid var(--c-light);border-radius:20px;box-shadow:var(--c-shadow);padding:22px;margin-bottom:20px; }
html.ceramic .cards { grid-template-columns:repeat(2,minmax(0,1fr));gap:22px; }
html.ceramic .ceramic-overline { color:var(--c-teal);font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;margin:0 0 10px; }
html.ceramic .ceramic-upload-card { margin:0;position:relative;min-width:0;padding:24px;transition:box-shadow 280ms var(--c-ease),transform 280ms var(--c-ease); }
html.ceramic .ceramic-upload-heading { display:flex;align-items:center;gap:15px;margin-bottom:24px; }
html.ceramic .ceramic-document-icon { width:52px;height:56px;display:grid;place-items:center;flex:none;border:1px solid var(--c-light);border-radius:16px;background:linear-gradient(145deg,#e0f2eb,#c6e2dc);box-shadow:4px 6px 10px #376f6920,inset 0 1px 0 #fff; }
html.ceramic .ceramic-upload-card:nth-child(2) .ceramic-document-icon { background:linear-gradient(145deg,#ffead9,#f8d3b8);box-shadow:4px 6px 10px #a5745020,inset 0 1px 0 #fff; }
html.ceramic .ceramic-document-icon svg { width:37px;height:42px;filter:drop-shadow(0 3px 2px #366b6330); }
html.ceramic .ceramic-upload-heading h2 { font-size:19px;line-height:1.3;margin:0 0 6px; }
html.ceramic .ceramic-upload-heading .sopka-estimate-number { display:inline;width:auto;height:auto;background:none;color:inherit;border-radius:0;font:inherit;margin-right:6px; }
html.ceramic .ceramic-upload-heading .sopka-estimate-number::after { content:'.'; }
html.ceramic .ceramic-upload-caption { color:var(--c-muted);font-size:12px;line-height:1.5;margin:0; }
html.ceramic .ceramic-upload-card .upload { border:0;padding:0;background:transparent;border-radius:0; }
html.ceramic .ceramic-upload-card .upload::before { content:none; }
html.ceramic .ceramic-dropzone {
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  min-height:185px;padding:24px 12px;margin:0;border:1px dashed #adbbb7;border-radius:16px;
  background:linear-gradient(145deg,#eeeee860,#f7f7f080);box-shadow:var(--c-inset);
  cursor:pointer;text-align:center;transition:border-color 220ms,background-color 250ms,box-shadow 250ms;
}
html.ceramic .ceramic-dropzone input { position:absolute;width:1px;height:1px;padding:0;opacity:0;overflow:hidden; }
html.ceramic .ceramic-dropzone input.fileinput[type=file] { min-height:0; }
html.ceramic .ceramic-dropzone:focus-within { outline:2px solid var(--c-teal);outline-offset:4px; }
html.ceramic .ceramic-drop-icon { width:42px;height:42px;color:#698e98;transition:transform 280ms var(--c-ease); }
html.ceramic .ceramic-drop-icon svg { width:100%;height:100%; }
html.ceramic .ceramic-drop-copy strong { display:block;color:var(--c-text);font-size:14px;font-weight:600;margin:0 0 5px; }
html.ceramic .ceramic-drop-copy span { display:block;color:var(--c-muted);font-size:12px;font-weight:400; }
html.ceramic .ceramic-dropzone:hover { border-color:#63aaa5;background-color:#d7ebe638; }
html.ceramic .upload.dragover { outline:none;background:transparent; }
html.ceramic .upload.dragover .ceramic-dropzone { border-color:#4a9690;background:#d6eee3;box-shadow:inset 0 0 0 1px #6ab1a5; }
html.ceramic .upload.dragover .ceramic-drop-icon { transform:translateY(-4px); }
html.ceramic .ceramic-file { display:flex;align-items:center;gap:10px;min-height:56px;margin:15px 0 0;padding:12px 13px;border:1px solid var(--c-light);border-radius:13px;background:var(--c-surface);box-shadow:var(--c-shadow);font-size:12px;color:var(--c-text);overflow-wrap:anywhere; }
html.ceramic .ceramic-file-mark { display:grid;place-items:center;width:29px;height:33px;flex:none;background:linear-gradient(145deg,#75b7ac,#458f85);color:white;border-radius:6px;box-shadow:0 2px 4px #28594b25;font-weight:700;font-size:9px;letter-spacing:.03em; }
html.ceramic .ceramic-file.is-empty { color:var(--c-muted);background:transparent;border:0;box-shadow:none;justify-content:center;min-height:30px;padding:2px; }
html.ceramic .ceramic-file.is-empty .ceramic-file-mark { display:none; }
html.ceramic .ceramic-upload-stats { display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--c-surface);padding:13px 14px;border:1px solid var(--c-light);border-radius:13px;box-shadow:var(--c-shadow);margin-top:13px; }
html.ceramic .ceramic-upload-stats .note { font-size:12px;color:var(--c-text);margin:0; }
html.ceramic .ceramic-upload-stats p.note { display:flex;align-items:center;gap:16px;flex-wrap:wrap; }
html.ceramic .ceramic-stat { display:flex;flex-direction:column;gap:1px;line-height:1.4; }
html.ceramic .ceramic-stat strong { font-size:21px;font-weight:700;color:var(--c-text); }
html.ceramic .ceramic-stat>span { font-size:10px;color:var(--c-muted); }
html.ceramic .ceramic-upload-check { display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg,#dbf4e8,#b0dfce);color:#347562;box-shadow:0 2px 4px #427a6224,inset 0 1px #fff;flex:none; }
html.ceramic .ceramic-source-details { border-top:1px solid var(--c-line);margin-top:18px;padding-top:12px; }
html.ceramic .ceramic-source-details summary { font-size:11px;color:var(--c-muted);cursor:pointer; }
html.ceramic .ceramic-source-details p { overflow-wrap:anywhere; }
html.ceramic .ceramic-import-action { display:flex;justify-content:center;margin:26px 0; }
html.ceramic #goTable { min-height:48px;min-width:min(430px,100%);padding:13px 30px;border-radius:14px;font-size:15px; }
html.ceramic .ceramic-import-help { border:0;border-top:1px solid var(--c-line);border-radius:0;box-shadow:none;background:transparent;padding:17px 0;margin-top:20px; }
html.ceramic .ceramic-import-help summary { font-size:12px;color:var(--c-muted);cursor:pointer;font-weight:500; }
html.ceramic .ceramic-import-help p { font-size:12px;color:var(--c-muted);max-width:900px; }
html.ceramic .ceramic-enter>h1,html.ceramic .ceramic-enter>.drawer-head,html.ceramic .ceramic-enter>.ceramic-overline { animation:ceramic-rise 400ms var(--c-ease) both; }
html.ceramic .ceramic-enter .ceramic-upload-card { animation:ceramic-rise 440ms var(--c-ease) both;animation-delay:65ms; }
html.ceramic .ceramic-enter .ceramic-upload-card:nth-child(2) { animation-delay:135ms; }
html.ceramic .ceramic-enter>:is(.summary,.comparison-page,.audit-top,.act-paper) { animation:ceramic-reveal 350ms var(--c-ease) both; }
html.ceramic .ceramic-enter .ceramic-import-action { animation:ceramic-rise 400ms var(--c-ease) 180ms both; }
@keyframes ceramic-rise { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)} }
@keyframes ceramic-reveal { from{opacity:0}to{opacity:1} }
@keyframes ceramic-modal { from{opacity:0;transform:scale(.985) translateY(5px)}to{opacity:1;transform:scale(1) translateY(0)} }
/* Dense work surfaces retain their own scroll containers and semantic tables. */
html.ceramic .drawer-head { gap:18px;margin-bottom:10px; }
html.ceramic .category-cards { display:grid;grid-template-columns:repeat(7,minmax(80px,1fr));gap:10px;margin:18px 0 10px; }
html.ceramic .filter-card { padding:13px 14px;border:1px solid var(--c-light);border-radius:14px;min-width:0;background:var(--c-surface);box-shadow:var(--c-shadow); }
html.ceramic .filter-card b { font-size:24px;line-height:1.2;color:var(--c-text); }
html.ceramic .filter-card span { margin-top:5px;font-size:10px;color:var(--c-muted); }
html.ceramic .filter-card.selected { border-color:#90bbb4;background:linear-gradient(145deg,#d9ebe4,#c7e0d9);box-shadow:inset 0 1px #effff7,0 3px 8px #3e6d6420; }
html.ceramic .filter-card.needs-reasons { background:linear-gradient(145deg,#fff0e7,#f6e2d7);border-color:#edd0bf; }
html.ceramic .filter-card.needs-reasons.selected { border-color:#c7876b; }
html.ceramic .toolbar { padding:10px 12px;background:var(--c-surface);border:1px solid var(--c-light);border-radius:14px;box-shadow:var(--c-shadow);gap:10px;margin:18px 0 12px; }
html.ceramic .toolbar input { flex:1;min-width:180px; }
html.ceramic .toolbar select { max-width:300px!important;font-size:12px; }
html.ceramic .bulk { padding:12px 14px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-soft);gap:8px;font-size:12px; }
html.ceramic .bulk input { min-width:130px; }
html.ceramic .bulk button { font-size:11px;padding:8px 10px; }
html.ceramic :is(.tablewrap,.comparison-scroll) { border:1px solid var(--c-light);border-radius:16px;background:var(--c-paper);box-shadow:var(--c-shadow); }
html.ceramic .tablewrap { max-height:calc(100dvh - 340px);min-height:150px; }
html.ceramic table { color:var(--c-text);font-size:12px; }
html.ceramic th { background:var(--c-soft);color:var(--c-muted);border-bottom:1px solid var(--c-line);font-size:10px;font-weight:650;padding:13px 11px; }
html.ceramic td { border-bottom:1px solid var(--c-line);padding:12px 11px;line-height:1.6; }
html.ceramic tr:hover td { background:#7daf9e0a; }
html.ceramic td.name { max-width:440px; }
html.ceramic .code { font-size:10px;line-height:1.5; }
html.ceramic .badge { background:#e4ece7;color:#4d7068;font-size:9px;border-radius:5px;padding:3px 6px; }
html.ceramic .badge.good { background:#dceee3;color:#346b54; }
html.ceramic .badge.warn { background:#f8e7d5;color:#8c6140; }
html.ceramic .sectionrow td,html.ceramic .comparison-section th { background:var(--c-soft);color:var(--c-text);padding:8px 12px; }
html.ceramic .sectionrow button,html.ceramic .comparison-section button { box-shadow:none;background:transparent;border:0;font-size:11px;padding:5px 0; }
html.ceramic .subsectionrow td { background:var(--c-bg);color:var(--c-muted);padding:8px 18px;font-size:11px; }
html.ceramic .quantity-delta.increase { background:#e5f1e9;color:#307459; }
html.ceramic .quantity-delta.decrease { background:#fae9e2;color:#ab5543; }
html.ceramic .danger { color:#b45240; }
html.ceramic .warning { border:1px solid #e9d9bb;border-radius:13px;background:#f7edda;color:#765e39;padding:14px 18px;font-size:12px;line-height:1.65;box-shadow:none; }
html.ceramic .matching-panel { background:var(--c-paper);border:1px solid var(--c-line);border-radius:13px;padding:8px 14px; }
html.ceramic .act-paper { margin:22px auto;max-width:940px;padding:30px 40px;background:var(--c-paper);border:1px solid var(--c-light);border-radius:20px;box-shadow:var(--c-shadow); }
html.ceramic .act-title { font:700 21px/1.45 Georgia,serif;margin-bottom:24px; }
html.ceramic .act-title span { font-size:17px; }
html.ceramic .act-field { border-radius:10px;padding:9px 12px;margin:6px 0; }
html.ceramic .act-field label { font-size:11px;color:var(--c-muted); }
html.ceramic .act-field input,html.ceramic .act-field textarea { border:0;border-bottom:1px solid var(--c-line);border-radius:0;background:transparent;box-shadow:none;font-size:14px;padding:5px 0; }
html.ceramic .act-field.required-empty { background:#fcebe2;border:1px solid #ebc9b5; }
html.ceramic .act-table-placeholder { border:1px dashed #a9bbb3;background:var(--c-soft);border-radius:12px;padding:18px;font-size:12px; }
html.ceramic .act-signature-preview span { color:var(--c-muted); }
html.ceramic .calendar-trigger { background:var(--c-surface);border:1px solid var(--c-line);border-radius:8px; }
html.ceramic .comparison-heading { gap:20px; }
html.ceramic .comparison-totals { display:flex;align-items:center;gap:28px;padding:20px 24px;border:1px solid var(--c-light);border-radius:18px;background:var(--c-surface);box-shadow:var(--c-shadow); }
html.ceramic .comparison-totals strong { font-size:23px; }
html.ceramic .comparison-filters button { min-width:130px;padding:12px 16px;border-radius:14px; }
html.ceramic .comparison-filters [aria-pressed=true] { border-color:#a0c3b9;background:#d9e9e2;box-shadow:var(--c-inset); }
html.ceramic .comparison-bulk { background:var(--c-soft);border:1px solid var(--c-line);border-radius:12px; }
html.ceramic .comparison-table thead th { background:var(--c-soft); }
html.ceramic .comparison-table textarea { background:transparent;box-shadow:none;border-radius:6px; }
html.ceramic .comparison-table textarea:focus { background:var(--c-paper); }
html.ceramic .comparison-ending { background:var(--c-paper);border-radius:16px;border:1px solid var(--c-light);padding:20px; }
html.ceramic .audit-top { gap:20px; }
html.ceramic .audit-top .card { border:1px solid var(--c-light);border-radius:20px;background:var(--c-surface);box-shadow:var(--c-shadow); }
html.ceramic #auditDrop { padding:22px;border:1px dashed #a9bdb5;background:var(--c-bg);border-radius:16px;box-shadow:var(--c-inset); }
html.ceramic #auditDrop.dragover { border-color:#4b9b90;background:#d8eee3;outline:1px solid #4b9b90; }
html.ceramic input[type=file] { width:100%;padding:10px;font-size:12px; }
html.ceramic input[type=file]::file-selector-button { padding:9px 13px;border:1px solid var(--c-light);border-radius:9px;color:var(--c-text);background:var(--c-surface);box-shadow:var(--c-shadow);font:600 12px inherit;margin-right:12px;cursor:pointer; }
html.ceramic .audit-filter-panel { background:var(--c-surface);border:1px solid var(--c-light);border-radius:18px;box-shadow:var(--c-shadow); }
html.ceramic .audit-results th,html.ceramic .audit-results thead { background:var(--c-soft);color:var(--c-text); }
html.ceramic .audit-results { font-size:12px; }
html.ceramic .audit-results td { line-height:1.6; }
html.ceramic .audit-findings { padding:0; }
html.ceramic .audit-finding { border-radius:10px;box-shadow:none;font-size:11px; }
html.ceramic .audit-stat,.ceramic .audit-filter { border-radius:10px; }
/* Real modal content, project management and profile retain their original controls. */
html.ceramic dialog:not(.hidden) { background:var(--c-paper);color:var(--c-text);border:1px solid var(--c-light);border-radius:24px;box-shadow:0 28px 90px #1d3c3a38,inset 1px 1px 0 var(--c-light);padding:28px;max-width:calc(100vw - 32px); }
html.ceramic dialog[open] { animation:ceramic-modal 260ms var(--c-ease) both; }
html.ceramic dialog::backdrop { background:#263b3d40;backdrop-filter:blur(4px); }
html.ceramic #sopkaWorkspaceDialog { width:min(960px,calc(100vw - 40px)); }
html.ceramic .sopka-dialog-heading h2 { font-size:28px; }
html.ceramic .sopka-eyebrow { color:var(--c-teal);font-size:10px;letter-spacing:.13em; }
html.ceramic .sopka-tabs { border-bottom-color:var(--c-line);gap:24px; }
html.ceramic .sopka-tabs button { background:none;border:0;box-shadow:none;color:var(--c-muted);padding:4px 0 13px;border-radius:0; }
html.ceramic .sopka-tabs button[aria-current] { color:var(--c-teal);border-bottom:2px solid var(--c-teal); }
html.ceramic .sopka-location-summary { border:1px solid var(--c-line);border-radius:13px;background:var(--c-soft);padding:14px 16px; }
html.ceramic .sopka-project-list { gap:11px; }
html.ceramic .sopka-project-row { border:1px solid var(--c-light);border-radius:15px;background:var(--c-surface);box-shadow:var(--c-shadow);padding:18px; }
html.ceramic .sopka-project-row.is-current { border-color:#abc9bd;background:linear-gradient(145deg,#f2f8f0,#e5eee3); }
html.ceramic .sopka-project-row small { color:var(--c-muted); }
html.ceramic .sopka-row-actions { flex-wrap:wrap; }
html.ceramic .sopka-more-menu { background:var(--c-paper);border:1px solid var(--c-line);box-shadow:var(--c-raised);border-radius:12px; }
html.ceramic .sopka-more-menu button { box-shadow:none;background:transparent;border:0; }
html.ceramic :is(#sopkaAccountDialog,#sopkaFeedbackDialog,#sopkaNotificationsDialog,#sopkaReleaseDialog,#sopkaRemovalDialog) { background:var(--c-paper);color:var(--c-text);border-color:var(--c-light); }
html.ceramic .sopka-account-fields input,html.ceramic .sopka-account-fields select { background:var(--c-bg);border-color:var(--c-line); }
html.ceramic .sopka-plan-card { background:var(--c-soft);border-color:var(--c-line);border-radius:15px; }
html.ceramic .overlay { background:#263b3d40;backdrop-filter:blur(4px); }
html.ceramic .drawer { background:var(--c-paper);color:var(--c-text);border-left:1px solid var(--c-light);padding:28px;border-radius:22px 0 0 22px;box-shadow:-12px 0 50px #17353425;animation:ceramic-modal 260ms var(--c-ease); }
html.ceramic .audit { background:var(--c-soft);color:var(--c-text);border:1px solid var(--c-line);border-radius:12px; }
html.ceramic .toast { color:var(--c-text);background:var(--c-paper);border:1px solid var(--c-light);border-left:3px solid var(--c-teal);border-radius:14px;box-shadow:var(--c-raised);font-size:13px;max-width:min(520px,calc(100vw - 32px));animation:ceramic-rise 300ms var(--c-ease); }
html.ceramic .help-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
html.ceramic .help-step { padding-left:66px; }
html.ceramic .step-number { border-radius:10px;background:#d4e9e0;color:#327669;box-shadow:0 3px 6px #3564511c; }
/* Dark is an equivalent material palette, not a light panel inside a dark shell. */
html.ceramic[data-theme=dark] :is(.ceramic-dropzone,.ceramic-file,.sopka-project-row.is-current,.filter-card.selected,.comparison-filters [aria-pressed=true]) { background:var(--c-soft);color:var(--c-text); }
html.ceramic[data-theme=dark] :is(.warning,.filter-card.needs-reasons,.act-field.required-empty) { background:#473c30;border-color:#735e46;color:#efd5ab; }
html.ceramic[data-theme=dark] .quantity-delta.increase { background:#284137;color:#a2d8bb; }
html.ceramic[data-theme=dark] .quantity-delta.decrease { background:#4b3430;color:#f2b7a7; }
html.ceramic[data-theme=dark] .badge { background:#364c49;color:#bfd3ce; }
html.ceramic[data-theme=dark] .badge.warn { background:#574833;color:#e9cd9f; }
html.ceramic[data-theme=dark] .badge.good { background:#324c3e;color:#b1dbbf; }
html.ceramic[data-theme=dark] .ceramic-landscape { opacity:.55; }
/* Requisites are editable screen fields; keep their text legible on dark paper. */
@media screen {
  html.ceramic[data-theme=dark] .act-paper { color:var(--c-text);color-scheme:dark; }
  html.ceramic[data-theme=dark] .act-paper :is(input,textarea,select) { color:var(--c-text); }
  html.ceramic[data-theme=dark] .act-paper :is(label,.note,.act-signature-preview span) { color:var(--c-muted); }
  html.ceramic[data-theme=dark] .act-paper :is(input,textarea)::placeholder { color:var(--c-muted);opacity:1; }
  html.ceramic[data-theme=dark] .act-paper .date-error { color:var(--sopka-error); }
  html.ceramic[data-theme=dark] .act-paper .required-empty :is(input,textarea) { border-color:#c99678; }
  html.ceramic[data-theme=dark] .act-paper .calendar-trigger { color:var(--c-text);background:var(--c-soft);border-color:#819b99; }
  html.ceramic[data-theme=dark] .act-paper .act-table-placeholder { color:var(--c-text);background:var(--c-soft);border-color:#819b99; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html.ceramic .ceramic-upload-card:hover { transform:translateY(-2px);box-shadow:var(--c-raised); }
}
@media (min-width:1650px) {
  html.ceramic { --c-side:234px;--c-gap:20px; }
  html.ceramic body>main { padding:28px 40px 40px; }
  html.ceramic body>header { padding:0 40px; }
  html.ceramic .ceramic-upload-card { padding:30px; }
  html.ceramic .ceramic-dropzone { min-height:220px; }
}
@media (max-width:1200px) {
  html.ceramic { --c-side:194px;--c-gap:12px; }
  html.ceramic body>main { padding:18px 22px 28px; }
  html.ceramic body>header { padding:0 22px; }
  html.ceramic h1 { font-size:27px; }
  html.ceramic .ceramic-upload-card { padding:20px; }
  html.ceramic .ceramic-upload-heading { gap:12px; }
  html.ceramic .ceramic-upload-heading h2 { font-size:16px; }
  html.ceramic .ceramic-document-icon { width:44px;height:49px;border-radius:13px; }
  html.ceramic .ceramic-document-icon svg { width:31px;height:37px; }
  html.ceramic .category-cards { grid-template-columns:repeat(4,minmax(0,1fr)); }
  html.ceramic .filter-card { display:flex;align-items:center;gap:10px;padding:11px 13px; }
  html.ceramic .filter-card b { font-size:21px; }
  html.ceramic .filter-card span { margin:0; }
  html.ceramic .bulk { flex-wrap:wrap; }
  html.ceramic .bulk input { flex:1; }
  html.ceramic .ceramic-landscape { max-height:190px; }
}
@media (max-width:1000px) {
  html.ceramic { --c-side:178px; }
  html.ceramic body>header { display:flex;height:62px; }
  html.ceramic body>main { top:calc(var(--c-gap) + 62px); }
  html.ceramic .topright { width:auto; }
  html.ceramic .topright button { flex:none; }
  html.ceramic #saveStatus { display:none; }
  html.ceramic aside .mode-switch button { padding:11px 8px;font-size:11px;gap:9px; }
  html.ceramic .ceramic-brand { padding-left:5px;font-size:22px;gap:8px; }
  html.ceramic .cards { gap:16px; }
  html.ceramic .ceramic-upload-heading { align-items:flex-start; }
  html.ceramic .ceramic-upload-heading h2 { font-size:15px; }
  html.ceramic .ceramic-upload-caption { font-size:11px; }
  html.ceramic .ceramic-dropzone { min-height:165px; }
  html.ceramic .ceramic-drop-copy strong { font-size:13px; }
  html.ceramic .ceramic-upload-stats { padding:11px 10px; }
  html.ceramic .ceramic-upload-stats .note { font-size:11px; }
  html.ceramic .help-grid { grid-template-columns:1fr; }
  html.ceramic .toolbar { flex-wrap:wrap; }
  html.ceramic .toolbar input { width:100%;min-width:0;flex-basis:100%; }
  html.ceramic .toolbar select { flex:1;max-width:100%!important; }
  html.ceramic .drawer-head { flex-wrap:wrap; }
  html.ceramic .act-paper { padding:22px; }
}
html.ceramic[data-ceramic-sidebar=collapsed] { --c-side:60px; }
html.ceramic[data-ceramic-sidebar=collapsed] body>aside { padding:16px 5px 9px;gap:4px; }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-brand { padding:0 0 12px;flex-direction:column;gap:10px; }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-brand>span { display:none; }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-sidebar-toggle { margin:0; }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-sidebar-toggle svg { transform:scaleX(-1); }
html.ceramic[data-ceramic-sidebar=collapsed] aside .mode-switch { scrollbar-width:none;scrollbar-gutter:auto;width:100%; }
html.ceramic[data-ceramic-sidebar=collapsed] aside .mode-switch::-webkit-scrollbar { display:none; }
html.ceramic[data-ceramic-sidebar=collapsed] aside :is(.mode-switch button,.global-help) { font-size:0;min-height:44px;padding:12px 0;justify-content:center;gap:0;width:100%; }
html.ceramic[data-ceramic-sidebar=collapsed] aside .ceramic-nav-label,html.ceramic[data-ceramic-sidebar=collapsed] aside .count { display:none; }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-nav-icon { width:21px;height:21px; }
html.ceramic[data-ceramic-sidebar=collapsed] aside .mode-switch button::first-letter { font-size:0; }
html.ceramic[data-ceramic-sidebar=collapsed] #createNav { margin:4px 0;padding:8px 0 0;border:0;border-top:1px solid var(--c-line);gap:5px; }
html.ceramic[data-ceramic-sidebar=collapsed] #createNav [data-ceramic-step] { display:grid;place-items:center;width:100%;font-size:0;padding:0;min-height:34px;border-radius:10px; }
html.ceramic[data-ceramic-sidebar=collapsed] #createNav [data-ceramic-step]::before { content:attr(data-ceramic-step);font-size:13px;font-weight:650;line-height:1; }
html.ceramic[data-ceramic-sidebar=collapsed] .ready-nav { display:flex;flex-direction:column;align-items:center;gap:5px; }
html.ceramic[data-ceramic-sidebar=collapsed] #createNav #readyInfo { flex:none;min-height:26px;width:26px;height:26px; }
html.ceramic[data-ceramic-sidebar=collapsed] #readyHint { left:48px;top:0;max-width:calc(100vw - 90px); }
html.ceramic[data-ceramic-sidebar=collapsed] .ceramic-landscape { display:none; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaWhatsNew { justify-content:center;font-size:9px;width:100%; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaWhatsNew span { display:none; }
  /* Keep the account's accessible name when its visual label collapses. */
html.ceramic[data-ceramic-sidebar=collapsed] .sopka-account-label { display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaAccountButton>.sopka-account-dots { display:none; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaAccountDock .sopka-account-row { flex-direction:column;gap:2px; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaAccountButton { justify-content:center;padding:5px 0; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaAccountMenu { left:53px;right:auto;bottom:0;width:235px;max-width:calc(100vw - 85px); }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaNotificationsButton { padding:6px;font-size:16px; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaFeedbackButton { font-size:8px;line-height:1.4;padding:5px 0;margin:0;text-align:center; }
html.ceramic[data-ceramic-sidebar=collapsed] #sopkaFeedbackButton::first-letter { font-size:inherit; }
@media (max-width:780px) {
  html.ceramic { --c-side:60px;--c-gap:9px;--c-radius:18px; }
  html.ceramic body>aside { border-radius:18px; }
  html.ceramic[data-ceramic-sidebar=expanded] body>aside { width:214px;box-shadow:12px 0 40px #10223740; }
  html.ceramic[data-ceramic-sidebar=expanded] .ceramic-sidebar-shade:not([hidden]) { display:block;position:fixed;inset:0;z-index:19;background:#10223755;backdrop-filter:blur(3px);border:0;border-radius:0;box-shadow:none;transform:none;cursor:default; }
  html.ceramic[data-ceramic-sidebar=expanded] #sopkaAccountMenu { left:0;bottom:calc(100% + 8px);max-width:calc(100vw - 45px); }
  html.ceramic[data-ceramic-sidebar=expanded] .sopka-account-label { display:flex;flex-direction:column; }
  html.ceramic body>header { height:58px;padding:0 16px;border-radius:18px 18px 0 0; }
  html.ceramic body>main { top:calc(var(--c-gap) + 58px);padding:16px 18px 26px;border-radius:0 0 18px 18px; }
  html.ceramic .topright { gap:8px; }
  html.ceramic #sopkaProjects { padding:8px 11px;font-size:11px; }
  html.ceramic h1 { font-size:25px; }
  html.ceramic .ceramic-upload-heading h2 { font-size:16px; }
  html.ceramic .cards { grid-template-columns:1fr; }
  html.ceramic .ceramic-upload-card { padding:20px; }
  html.ceramic .ceramic-dropzone { min-height:160px; }
  html.ceramic .ceramic-upload-stats .note { font-size:12px; }
  html.ceramic .category-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.ceramic .tablewrap { max-height:65dvh; }
  html.ceramic .comparison-totals { gap:18px;padding:18px; }
  html.ceramic .comparison-totals strong { font-size:20px; }
  html.ceramic .comparison-reason-tools { flex-wrap:wrap; }
  html.ceramic .comparison-toolbar label { min-width:0; }
  html.ceramic .act-meta,.ceramic .fields { grid-template-columns:1fr; }
  html.ceramic .audit-top { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  html.ceramic { --c-gap:6px; }
  html.ceramic[data-ceramic-sidebar=collapsed] { --c-side:51px; }
  html.ceramic body>aside { border-radius:15px;padding:15px 3px 8px; }
  html.ceramic aside .mode-switch button { padding:11px 9px;min-height:42px; }
  html.ceramic .ceramic-brand { padding:0 3px 22px; }
  html.ceramic .ceramic-brand>.ceramic-brand-mark { width:34px;height:34px; }
  html.ceramic body>header { padding:0 11px;height:54px; }
  html.ceramic body>main { top:calc(var(--c-gap) + 54px);padding:13px 12px 22px;scrollbar-gutter:auto; }
  html.ceramic .topright { gap:4px; }
  html.ceramic #sopkaHistory { gap:0; }
  html.ceramic #sopkaHistory button { padding:5px 6px;font-size:15px; }
  html.ceramic h1 { font-size:23px;letter-spacing:-.04em; }
  html.ceramic .lead { font-size:12px;margin-bottom:18px; }
  html.ceramic .ceramic-overline { font-size:9px;letter-spacing:.09em; }
  html.ceramic .ceramic-upload-card { padding:16px;border-radius:17px; }
  html.ceramic .ceramic-upload-heading { gap:11px;margin-bottom:17px; }
  html.ceramic .ceramic-upload-heading h2 { font-size:14px;letter-spacing:-.025em; }
  html.ceramic .ceramic-upload-caption { font-size:11px; }
  html.ceramic .ceramic-dropzone { min-height:147px;gap:10px; }
  html.ceramic .ceramic-drop-icon { width:36px;height:36px; }
  html.ceramic .ceramic-file { padding:10px;font-size:11px; }
  html.ceramic .ceramic-upload-stats .note { font-size:10px; }
  html.ceramic .ceramic-upload-stats p.note { gap:12px; }
  html.ceramic .ceramic-stat strong { font-size:18px; }
  html.ceramic .ceramic-stat>span { font-size:9px; }
  html.ceramic .ceramic-upload-check { width:25px;height:25px; }
  html.ceramic #goTable { min-width:0;width:100%;font-size:12px;padding:12px; }
  html.ceramic .card { padding:17px; }
  html.ceramic .drawer-head .primary { width:100%;font-size:11px; }
  html.ceramic .filter-card { gap:8px;padding:10px; }
  html.ceramic .filter-card b { font-size:20px; }
  html.ceramic .filter-card span { font-size:9px; }
  html.ceramic .toolbar { padding:10px; }
  html.ceramic .toolbar select { max-width:100%;width:100%;flex-basis:100%; }
  html.ceramic .bulk { gap:8px; }
  html.ceramic .bulk input { min-width:100%; }
  html.ceramic .bulk button { flex:1;padding:8px;font-size:10px; }
  html.ceramic .act-paper { padding:16px 10px;border-radius:15px; }
  html.ceramic .act-field { padding:8px; }
  html.ceramic .act-title { font-size:18px; }
  html.ceramic .act-title span { font-size:15px; }
  html.ceramic .act-field textarea,html.ceramic .act-field input { font-size:13px; }
  html.ceramic .comparison-actions { flex-wrap:wrap; }
  html.ceramic .comparison-actions button { font-size:11px;white-space:normal; }
  html.ceramic .comparison-filters { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%; }
  html.ceramic .comparison-filters button { min-width:0;font-size:11px;padding:10px; }
  html.ceramic .comparison-filters b { font-size:20px; }
  html.ceramic .comparison-totals { display:grid;grid-template-columns:1fr; }
  html.ceramic .help-step { padding-left:56px; }
  html.ceramic .step-number { left:14px; }
  html.ceramic dialog:not(.hidden) { padding:20px 16px;border-radius:20px;max-width:calc(100vw - 20px);max-height:92dvh; }
  html.ceramic #sopkaWorkspaceDialog { width:calc(100vw - 20px); }
  html.ceramic .sopka-dialog-heading h2 { font-size:25px; }
  html.ceramic .sopka-project-row { flex-direction:column;flex-wrap:nowrap;padding:15px;gap:12px; }
  html.ceramic .sopka-project-info { flex-basis:auto;width:100%; }
  html.ceramic .sopka-row-actions { width:100%;justify-content:flex-end; }
  html.ceramic .sopka-location-summary { flex-wrap:wrap;gap:8px; }
  html.ceramic .sopka-list-toolbar { flex-wrap:wrap; }
  html.ceramic .drawer { padding:20px 16px;border-radius:0;width:100%; }
  html.ceramic #sopkaAccountMenu { left:46px;width:min(235px,calc(100vw - 76px)); }
}
@media (max-height:760px) and (min-width:781px) {
  html.ceramic body>aside { padding-top:18px; }
  html.ceramic .ceramic-brand { padding-bottom:17px; }
  html.ceramic aside .mode-switch { gap:4px; }
  html.ceramic aside .mode-switch button { min-height:40px;padding-top:8px;padding-bottom:8px; }
  html.ceramic aside .global-help { margin-top:8px;padding-top:12px; }
  html.ceramic .ceramic-landscape { display:none; }
}
@media (max-height:600px) {
  html.ceramic aside .mode-switch { max-height:calc(100dvh - 250px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;min-height:80px;flex-shrink:1; }
  html.ceramic .ceramic-landscape { display:none; }
  html.ceramic aside .global-help { margin:0;padding-top:8px; }
  html.ceramic .ceramic-brand { padding-bottom:12px; }
  html.ceramic #sopkaAccountDock { padding-top:6px; }
}
/* Override the legacy themed shell without competing header/main borders. */
html.ceramic[data-theme] #ceramicHeader { height:var(--c-header);background:transparent;border:0;box-shadow:none;border-radius:var(--c-radius) var(--c-radius) 0 0; }
html.ceramic[data-theme] body>main { top:calc(var(--c-gap) + var(--c-header));background:transparent;border:0;box-shadow:none;border-radius:0 0 var(--c-radius) var(--c-radius); }
html.ceramic body>header,html.ceramic body>main,html.ceramic body::before { transition:left 260ms var(--c-ease); }
html.ceramic body>aside { transition:width 260ms var(--c-ease); }
html.ceramic aside .mode-switch { overflow-x:hidden;scrollbar-gutter:stable; }
html.ceramic aside .mode-switch button { flex-shrink:0;transition:background-color 180ms,border-color 180ms,color 180ms,box-shadow 180ms; }
html.ceramic aside .mode-switch button:is(:hover,:active) { transform:none; }
html.ceramic aside .mode-switch button.active { font-weight:550; }
html.ceramic .ceramic-nav-label { overflow-wrap:normal;word-break:normal;hyphens:none; }
html.ceramic .ceramic-enter>.comparison-page { animation:ceramic-fade 250ms var(--c-ease) both; }
html.ceramic .comparison-heading :is(.sopka-eyebrow,.note) { display:none; }
@keyframes ceramic-fade { from { opacity:0; } to { opacity:1; } }
@media (max-width:1200px) {
  html.ceramic #saveStatus { display:none; }
  html.ceramic .ceramic-brand { font-size:19px;gap:5px; }
}
@media (max-width:1000px) {
  html.ceramic header>.brand small { font-size:9px; }
  html.ceramic header #sopkaCurrentProject { font-size:13px; }
  html.ceramic .ceramic-brand>.ceramic-brand-mark { width:32px;height:32px; }
}
@media (max-width:780px) {
  html.ceramic { --c-header:136px; }
  html.ceramic[data-theme] #ceramicHeader { display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:38px 1fr;gap:4px;padding:8px 16px 12px; }
  html.ceramic header>.brand { grid-row:2;align-self:start; }
  html.ceramic .topright { grid-row:1;justify-self:end; }
  html.ceramic .ceramic-landscape { display:none; }
  html.ceramic #sopkaHistory button { min-width:30px; }
}
@media (max-width:480px) {
  html.ceramic[data-theme] #ceramicHeader { padding-left:12px;padding-right:12px; }
  html.ceramic[data-ceramic-sidebar=expanded] .ceramic-brand { padding:0 5px 22px; }
  html.ceramic[data-ceramic-sidebar=collapsed] #sopkaAccountMenu { left:46px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ceramic *,html.ceramic *::before,html.ceramic *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
  html.ceramic button:not(:disabled):hover,html.ceramic button:not(:disabled):active,html.ceramic .ceramic-upload-card:hover { transform:none; }
}
@media print {
  html.ceramic body { background:white;color:#102237; }
  html.ceramic :is(.card,.act-paper) { box-shadow:none;background:white; }
}

/* The public pages, sign-in and initial loading share the workspace palette. */
html.ceramic body.sopka-public::before { display:none; }
html.ceramic body.sopka-public>.ceramic-sidebar-shade { display:none!important; }
html.ceramic #sopkaWelcome {
  background:radial-gradient(ellipse at 95% 5%,#ffd5b866,transparent 48%),radial-gradient(ellipse at 5% 75%,#8cc5bf44,transparent 52%),var(--c-bg);
  color:var(--c-text);scrollbar-gutter:stable;
}
html.ceramic #sopkaWelcome :is(.sopka-public-nav,.sopka-hero,.sopka-features,.sopka-public-footer) { max-width:1320px;padding-left:48px;padding-right:48px; }
html.ceramic #sopkaWelcome .sopka-public-nav { height:100px; }
html.ceramic #sopkaWelcome .sopka-wordmark { color:var(--c-text);font-size:27px;font-weight:800;letter-spacing:-.8px;position:relative;padding-left:43px; }
html.ceramic #sopkaWelcome .sopka-wordmark::before { content:none; }
html.ceramic #sopkaWelcome .sopka-wordmark>[data-sopka-brand] { position:absolute;left:0;top:0;width:38px;height:38px;object-fit:contain; }
html.ceramic #sopkaWelcome .sopka-wordmark small { margin-top:4px;font-size:10px;line-height:1.4;letter-spacing:0;color:var(--c-muted); }
html.ceramic #sopkaWelcome .sopka-public-nav nav { gap:12px; }
html.ceramic #sopkaWelcome .sopka-public-nav .ceramic-theme-toggle { display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:1px solid var(--c-line);background:var(--c-surface);border-radius:12px;color:var(--c-text);box-shadow:var(--c-shadow); }
html.ceramic[data-theme=dark] #sopkaWelcome,html.ceramic[data-theme=dark] #sopkaBootSplash { background:radial-gradient(ellipse at 90% 0,#48504b,transparent 65%),var(--c-bg); }
html.ceramic #sopkaWelcome a { color:var(--c-teal);text-underline-offset:4px; }
html.ceramic #sopkaWelcome :is(a[data-enter],a[data-features]) { display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:13px;font-weight:600;border-radius:12px;padding:12px 22px; }
html.ceramic #sopkaWelcome :is(.sopka-entry-button,.primary) { background:linear-gradient(155deg,#ffb18e,#ff8b70);border:1px solid #ffceb6;color:#49271f;box-shadow:0 6px 12px #b6674526,inset 0 1px #fff0dd;border-radius:14px; }
html.ceramic #sopkaWelcome :is(a[data-enter],a[data-features]) { transition:transform 180ms var(--c-ease),box-shadow 220ms; }
html.ceramic #sopkaWelcome a[data-enter]:hover { transform:translateY(-2px);box-shadow:0 9px 16px #b6674533; }
html.ceramic #sopkaWelcome .sopka-hero { padding-top:60px;padding-bottom:60px;gap:40px; }
html.ceramic #sopkaWelcome .sopka-hero-copy { min-width:0; }
html.ceramic #sopkaWelcome h1 { color:var(--c-text);font-size:clamp(32px,3.6vw,52px);font-weight:750;letter-spacing:-1.7px;line-height:1.13;margin-bottom:23px; }
html.ceramic #sopkaWelcome .sopka-hero-description { color:var(--c-muted);font-size:16px;line-height:1.75; }
html.ceramic #sopkaWelcome .sopka-test-banner { background:var(--c-surface);border:1px solid var(--c-light);border-radius:17px;box-shadow:var(--c-shadow);padding:18px 20px; }
html.ceramic #sopkaWelcome .sopka-test-banner strong { color:var(--c-text);font-size:15px; }
html.ceramic #sopkaWelcome .sopka-test-banner span { color:var(--c-muted);font-size:12px; }
html.ceramic #sopkaWelcome .sopka-hero-note { color:var(--c-muted);font-size:11px;line-height:1.6; }
html.ceramic #sopkaWelcome .sopka-hero-visual::before { inset:-15px -12px;background:linear-gradient(140deg,#b9d8cf,#f4e6d3);border-radius:42% 58% 48% 52%;transform:rotate(-6deg);opacity:.7; }
html.ceramic #sopkaWelcome .sopka-demo-window { transform:none;background:var(--c-surface);border:1px solid var(--c-light);border-radius:24px;box-shadow:var(--c-raised); }
html.ceramic #sopkaWelcome .sopka-demo-top { background:transparent;border-color:var(--c-line);color:var(--c-muted);height:58px; }
html.ceramic #sopkaWelcome .sopka-demo-top strong { font-size:14px;color:var(--c-text); }
html.ceramic #sopkaWelcome .sopka-demo-body { padding:22px; }
html.ceramic #sopkaWelcome .sopka-demo-stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
html.ceramic #sopkaWelcome .sopka-demo-stats>div { padding:12px;background:var(--c-paper);border:1px solid var(--c-light);border-radius:12px;box-shadow:var(--c-shadow); }
html.ceramic #sopkaWelcome .sopka-demo-stats strong { color:var(--c-text);font-size:24px; }
html.ceramic #sopkaWelcome .sopka-demo-stats span { font-size:10px;color:var(--c-muted); }
html.ceramic #sopkaWelcome .sopka-preview-scroll { border:1px solid var(--c-line);border-radius:12px;overflow:auto; }
html.ceramic #sopkaWelcome .sopka-hero-visual,html.ceramic #sopkaWelcome .sopka-demo-window { min-width:0; }
html.ceramic #sopkaWelcome .sopka-preview-table :is(th,td) { padding:10px 8px;font-size:10px;border-color:var(--c-line);color:var(--c-text); }
html.ceramic #sopkaWelcome .sopka-preview-table th { background:var(--c-soft); }
html.ceramic #sopkaWelcome .sopka-preview-missing { color:var(--sopka-error); }
html.ceramic #sopkaWelcome .sopka-demo-caption { color:var(--c-muted);font-size:10px;line-height:1.6; }
html.ceramic #sopkaWelcome .sopka-features { padding-top:42px;padding-bottom:48px; }
html.ceramic #sopkaWelcome :is(.sopka-section-caption h2,.sopka-public-start h2) { font-size:29px;font-weight:700;color:var(--c-text);letter-spacing:-.7px; }
html.ceramic #sopkaWelcome .sopka-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
html.ceramic #sopkaWelcome .sopka-feature-grid article { background:var(--c-surface);border:1px solid var(--c-light);border-radius:22px;box-shadow:var(--c-shadow);padding:28px; }
html.ceramic #sopkaWelcome .sopka-feature-grid article>span { color:var(--c-teal);font-size:10px; }
html.ceramic #sopkaWelcome .sopka-feature-grid h3 { margin-top:18px;color:var(--c-text);font-size:21px; }
html.ceramic #sopkaWelcome .sopka-feature-grid p { color:var(--c-muted);font-size:14px; }
html.ceramic #sopkaWelcome .sopka-public-start { width:calc(100% - 96px);max-width:1224px;margin:0 auto 24px;padding:35px 36px;background:var(--c-surface);border:1px solid var(--c-light);border-radius:24px;box-shadow:var(--c-shadow); }
html.ceramic #sopkaWelcome .sopka-public-start :is(p,li) { color:var(--c-muted);font-size:14px;line-height:1.8;max-width:900px; }
html.ceramic #sopkaWelcome .sopka-public-footer { font-size:11px;padding-top:24px;padding-bottom:32px;flex-wrap:wrap;gap:18px;color:var(--c-muted); }
html.ceramic #sopkaAccountDialog { background:var(--c-surface);border:1px solid var(--c-light);border-radius:24px;box-shadow:var(--c-raised); }
html.ceramic #sopkaAccountDialog .sopka-account-heading h2 { color:var(--c-text);font-size:29px; }
html.ceramic #sopkaAccountDialog :is(.sopka-test-entry,.sopka-profile-card,.sopka-plan-card) { background:var(--c-bg);border:1px solid var(--c-line);border-radius:18px;box-shadow:var(--c-inset); }
html.ceramic #sopkaAccountDialog .sopka-test-badge { color:var(--c-teal);background:var(--sopka-accent-soft);border-radius:8px; }
html.ceramic #sopkaAccountDialog::backdrop { background:#10223744;backdrop-filter:blur(6px); }
html.ceramic #sopkaBootSplash { padding:24px;background:radial-gradient(ellipse at 80% 20%,#ffd5b877,transparent 55%),radial-gradient(ellipse at 15% 80%,#8cc5bf66,transparent 55%),var(--c-bg);color:var(--c-text); }
html.ceramic .ceramic-boot-card { display:flex;flex-direction:column;align-items:center;width:min(380px,calc(100vw - 48px));padding:46px 34px;background:var(--c-surface);border:1px solid var(--c-light);border-radius:28px;box-shadow:var(--c-raised); }
html.ceramic #sopkaBootSplash strong { margin-top:14px;font-size:30px;font-weight:800;letter-spacing:-.7px;color:var(--c-text); }
html.ceramic #sopkaBootSplash small { margin-top:10px;color:var(--c-muted);font-size:11px;line-height:1.7; }
html.ceramic #sopkaBootSplash span { color:var(--c-muted);font-size:13px; }
html.ceramic .ceramic-boot-progress { width:150px;height:5px;border-radius:10px;background:var(--c-soft);box-shadow:var(--c-inset);overflow:hidden;margin:30px 0 18px; }
html.ceramic .ceramic-boot-progress::after { content:"";display:block;width:45%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#83bcb5,#ffaf8c);animation:ceramic-loading 1.8s ease-in-out infinite alternate; }
@keyframes ceramic-loading { from { transform:translateX(-20%); } to { transform:translateX(145%); } }
@media (min-width:781px) { html.ceramic[data-ceramic-sidebar=expanded] { --c-side:214px; } }
@media (max-width:900px) {
  html.ceramic #sopkaWelcome .sopka-hero { grid-template-columns:minmax(0,1fr);gap:36px;padding-top:32px; }
  html.ceramic #sopkaWelcome .sopka-hero-copy { max-width:680px; }
  html.ceramic #sopkaWelcome .sopka-hero-visual { max-width:720px;width:100%; }
}
@media (max-width:600px) {
  html.ceramic #sopkaWelcome :is(.sopka-public-nav,.sopka-hero,.sopka-features,.sopka-public-footer) { padding-left:22px;padding-right:22px; }
  html.ceramic #sopkaWelcome .sopka-public-nav { height:auto;min-height:110px;align-items:flex-start;padding-top:22px;gap:16px; }
  html.ceramic #sopkaWelcome .sopka-public-nav nav { flex:none;gap:7px; }
  html.ceramic #sopkaWelcome .sopka-public-nav .ceramic-theme-toggle { width:36px;height:38px; }
  html.ceramic #sopkaWelcome .sopka-wordmark { min-width:0;flex:1; }
  html.ceramic #sopkaWelcome .sopka-wordmark { font-size:23px;padding-left:36px; }
  html.ceramic #sopkaWelcome .sopka-wordmark>[data-sopka-brand] { width:32px;height:32px; }
  html.ceramic #sopkaWelcome .sopka-wordmark small { font-size:9px;max-width:190px; }
  html.ceramic #sopkaWelcome .sopka-public-nav nav a[data-features] { display:none; }
  html.ceramic #sopkaWelcome .sopka-public-nav nav a[data-enter] { padding:10px 14px;font-size:12px; }
  /* The legacy mobile hero fixes 46px with !important. */
  html.ceramic #sopkaWelcome h1 { font-size:32px!important;letter-spacing:-1px;overflow-wrap:anywhere; }
  html.ceramic #sopkaWelcome .sopka-hero-description { font-size:14px; }
  html.ceramic #sopkaWelcome .sopka-hero-visual::before { inset:0;transform:none; }
  html.ceramic #sopkaWelcome .sopka-demo-body { padding:14px; }
  html.ceramic #sopkaWelcome .sopka-demo-top { padding:14px;gap:12px; }
  html.ceramic #sopkaWelcome .sopka-feature-grid { grid-template-columns:1fr; }
  html.ceramic #sopkaWelcome .sopka-public-start { width:calc(100% - 44px);padding:24px;flex-direction:column;align-items:flex-start; }
  html.ceramic #sopkaWelcome .sopka-public-start ol { padding-left:18px; }
  html.ceramic #sopkaWelcome .sopka-feature-grid article { padding:24px; }
  html.ceramic #sopkaWelcome :is(.sopka-section-caption h2,.sopka-public-start h2) { font-size:25px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ceramic #sopkaWelcome a[data-enter]:hover { transform:none; }
  html.ceramic .ceramic-boot-progress::after { animation:none;width:100%;opacity:.65; }
}
@media (max-width:1200px) {
  html.ceramic #saveStatus { display:inline-flex;font-size:0;width:12px;max-width:12px;min-width:12px;overflow:hidden; }
  html.ceramic #saveStatus::before { margin:0 2px; }
}
