/* 2Kerf (owner, Nov 20 2026): the new CAD's look, on top of the CAD's own styles. Everything is scoped to html.k2 (set by
   cad/kerf2.js only while a CAD drawing is open with 2Kerf on), so the old CAD and the rest of the app don't change. The colors
   come from the Look panel's template and the person's own picks (--k2-*). */

/* the switch and the Look button (both looks) */
.k2sw{display:inline-flex!important;align-items:center;gap:6px;font-weight:600!important;letter-spacing:-.01em}
.k2sw .k2dot{width:8px;height:8px;border-radius:50%;background:#7a7f86;box-shadow:0 0 0 2px rgba(127,127,127,.25)}
.k2sw[aria-pressed="true"] .k2dot{background:var(--k2-accent,#ff5a1f);box-shadow:0 0 0 3px color-mix(in srgb,var(--k2-accent,#ff5a1f) 30%,transparent)}
.k2lookbtn{display:inline-grid!important;place-items:center;padding:0 8px!important}

/* the colors become the CAD's own variables inside the window */
html.k2,html.k2 .skwin.skcad,html.k2 .k2look{
  --k2-sunk:color-mix(in srgb,var(--k2-text) 4%,var(--k2-panel));
  --k2-ctl:color-mix(in srgb,var(--k2-text) 6%,var(--k2-panel));
  --k2-hover:color-mix(in srgb,var(--k2-text) 11%,var(--k2-panel));
  --k2-field:color-mix(in srgb,var(--k2-text) 3%,var(--k2-bg));
  --k2-soft:color-mix(in srgb,var(--k2-accent) 14%,var(--k2-panel));
  --bg:var(--k2-bg);--surface:var(--k2-panel);--card:var(--k2-panel);--sunk:var(--k2-sunk);--line:var(--k2-line);--ink:var(--k2-text);--text:var(--k2-text);--muted:var(--k2-muted);
  --accent:var(--k2-accent);--accent-ink:var(--k2-on);--body:var(--k2-font);--display:var(--k2-font);--mono:var(--k2-font);
  --t-1:calc(.72rem * var(--k2-scale));--t-2:calc(.8rem * var(--k2-scale));--t-3:calc(.9rem * var(--k2-scale));--t-4:calc(1rem * var(--k2-scale));--t-5:calc(1.15rem * var(--k2-scale));--t-6:calc(1.35rem * var(--k2-scale));
  --r-sm:var(--k2-r);--r:var(--k2-r)}
html.k2 .modal.skwin.skcad{background:var(--k2-bg)!important;color:var(--k2-text)!important;font-family:var(--k2-font)!important}
html.k2 .skwin.skcad :not(svg,svg *,.ic,.ic *){font-family:var(--k2-font)!important}
html.k2 .skwin.skcad *:not(svg *){border-color:var(--k2-line)!important}
html.k2 .skwin.skcad :is(input,select,textarea,button,summary,label,span,b,small,p,div,a,h3,h4,h5,th,td,li){color:inherit}
html.k2 .skwin.skcad :is(.hint,.sktgl,.skhl,.skpgl,.skpgh,small,.skautost,.rbkl){color:var(--k2-muted)!important}

/* panels: the ribbon, Properties, the library, the status line, menus */
html.k2 .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus,.rbbody,.rbpane,.rbtabs button[aria-selected="true"],.skdock,.skqbar,.skpal,.sklibhead,.cadmore > div,.skshowbox,.rbpanesb,.sk3pbox,.skrsetupin,.skedit,.skcmdres,.skmoldpick > div,.skread,.skhint,#sk-pickbar){background:var(--k2-panel)!important;color:var(--k2-text)!important}
html.k2 .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus,#sk-pickbar,.cadmore > div,.skshowbox,.rbpanesb,.sk3pbox){border-radius:var(--k2-r)!important;box-shadow:0 1px 2px rgba(0,0,0,.06),0 6px 22px rgba(0,0,0,.07)!important}
html.k2[data-k2dark="1"] .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus,#sk-pickbar){box-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 8px 26px rgba(0,0,0,.35)!important}
html.k2 .skwin.skcad :is(.skbox,.seg,.skpicked){background:var(--k2-sunk)!important}
html.k2 .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus){zoom:var(--k2-zoom)}

/* typing boxes and menus */
html.k2 .skwin.skcad :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),html.k2 .skwin.skcad option{background:var(--k2-field)!important;color:var(--k2-text)!important;border:1px solid var(--k2-line)!important;border-radius:calc(var(--k2-r) * .75)!important}
html.k2 .skwin.skcad :is(input,select,textarea):focus{outline:2px solid color-mix(in srgb,var(--k2-accent) 45%,transparent)!important;outline-offset:0;border-color:var(--k2-accent)!important}
html.k2 .skwin.skcad input::placeholder{color:var(--k2-muted)!important;opacity:.8}
html.k2 .skwin.skcad :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--k2-accent)}

/* buttons: soft fills, the accent when on */
html.k2 .skwin.skcad :is(button,summary,label.chip,label.btn,details.chip):not(.sk3sw):not(.k2sw){background:var(--k2-ctl)!important;color:var(--k2-text)!important;border-radius:calc(var(--k2-r) * .75)!important;box-shadow:none!important}
html.k2 .skwin.skcad .skribbon :is(.rbpane,.rbpin) button:not([aria-pressed="true"]){background:transparent!important}
html.k2 .skwin.skcad :is(button,summary,label.chip):not(.sk3sw):hover{background:var(--k2-hover)!important}
html.k2 .skwin.skcad :is(button[aria-pressed="true"],button.primary,.seg button[aria-pressed="true"],#sk-save){background:var(--k2-accent)!important;color:var(--k2-on)!important;border-color:var(--k2-accent)!important}
html.k2 .skwin.skcad .skribbon .rbpane button[aria-pressed="true"]{background:var(--k2-soft)!important;color:var(--k2-text)!important;box-shadow:inset 0 0 0 1px var(--k2-accent)!important}
html.k2 .skwin.skcad button.danger{color:#e5484d!important}
/* the ribbon's tabs: plain words, the picked one underlined in the accent */
html.k2 .skwin.skcad .skribbon .rbtabs button{background:transparent!important;color:var(--k2-muted)!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;font-weight:500}
html.k2 .skwin.skcad .skribbon .rbtabs button[aria-selected="true"]{color:var(--k2-text)!important;border-bottom-color:var(--k2-accent)!important;font-weight:600;background:transparent!important}
html.k2 .skwin.skcad .skribbon .rbtabs button.rbctx{color:var(--k2-accent)!important}
html.k2 .skwin.skcad .cadbrand{color:var(--k2-accent)!important}
html.k2 .skwin.skcad .k2sw{background:var(--k2-ctl)!important;color:var(--k2-text)!important;border:1px solid var(--k2-line)!important;border-radius:999px!important}
html.k2 .skwin.skcad #sk-price{background:var(--k2-soft)!important;color:var(--k2-text)!important;border-radius:var(--k2-r)!important}

/* the drawing paper: any color; dark or blueprint lines are the drawing turned around */
html.k2 .skwin.skcad #sk-views,html.k2 .skwin.skcad #sk-views [id^="sk-stage"],html.k2 .skwin.skcad .skpane,html.k2 .skwin.skcad #sk-views > div{background:var(--k2-paper)!important}
html.k2 .skwin.skcad #sk-views{border-radius:var(--k2-r);overflow:hidden}
:is(html.k2,html.kstdcol)[data-k2ink="light"] .skwin.skcad #sk-views svg{filter:none!important}
:is(html.k2,html.kstdcol)[data-k2ink="dark"] .skwin.skcad #sk-views svg:not(.k2rul){filter:invert(1) hue-rotate(180deg)!important}
:is(html.k2,html.kstdcol)[data-k2ink="blue"] .skwin.skcad #sk-views svg:not(.k2rul){filter:invert(1) sepia(1) saturate(2.2) hue-rotate(170deg) brightness(1.05)!important}
@media print{html.k2 .skwin.skcad #sk-views svg{filter:none!important}html.k2 .skwin.skcad #sk-views [id^="sk-stage"]{background:#fff!important}}

/* the Look panel */
.k2look{position:fixed;right:14px;top:52px;z-index:3000;width:min(380px,calc(100vw - 28px));max-height:calc(100vh - 70px);overflow:auto;background:var(--k2-panel,#fff);color:var(--k2-text,#18181b);
  border:1px solid var(--k2-line,#ddd);border-radius:calc(var(--k2-r,8px) + 6px);box-shadow:0 24px 70px rgba(0,0,0,.35);padding:12px 14px 14px;font:13px/1.4 var(--k2-font,system-ui)}
.k2look .k2lh{display:flex;align-items:center;gap:8px;margin-bottom:4px}.k2look .k2lh b{font-size:15px}.k2look .k2lh span{color:var(--k2-muted);font-size:12px;margin-right:auto}
.k2look .k2x{border:0;background:none;color:var(--k2-muted);font-size:15px;cursor:pointer;width:28px;height:28px;border-radius:8px}.k2look .k2x:hover{background:var(--k2-hover)}
.k2look h5{display:flex;justify-content:space-between;align-items:center;margin:12px 0 6px;font:600 10.5px var(--k2-font);letter-spacing:.08em;text-transform:uppercase;color:var(--k2-muted)}
.k2look .k2tpls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.k2look .k2tpl{border:1px solid var(--k2-line);background:var(--k2-sunk);border-radius:calc(var(--k2-r) + 2px);padding:4px 4px 3px;cursor:pointer;display:grid;gap:3px;color:var(--k2-text);width:100%}
.k2look .k2tpl[aria-pressed="true"]{border-color:var(--k2-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--k2-accent) 35%,transparent)}
.k2look .k2sw4{position:relative;display:block;height:38px;border-radius:5px;overflow:hidden}
.k2look .k2sw4 i{position:absolute;top:5px;bottom:5px;border:1px solid;border-radius:3px}.k2look .k2sw4 i:first-child{left:4px;width:22%}.k2look .k2sw4 i:nth-child(2){left:31%;right:4px}
.k2look .k2sw4 i b{position:absolute;left:18%;right:18%;top:40%;height:2px;border-radius:1px}
.k2look .k2sw4 em{position:absolute;right:7px;bottom:8px;width:10px;height:10px;border-radius:50%}
.k2look .k2tn{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.k2look .k2mine{position:relative}.k2look .k2del{position:absolute;top:-5px;right:-5px;width:18px;height:18px;border-radius:50%;border:1px solid var(--k2-line);background:var(--k2-panel);color:var(--k2-muted);font-size:10px;cursor:pointer;line-height:1}
.k2look .k2cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.k2look .k2col{display:flex;align-items:center;gap:8px;border:1px solid var(--k2-line);border-radius:calc(var(--k2-r) * .75);padding:4px 8px 4px 4px;background:var(--k2-sunk);cursor:pointer;font-size:12.5px}
.k2look .k2col input{width:26px;height:22px;border:0;padding:0;background:none;cursor:pointer}.k2look .k2col i{color:var(--k2-accent);font-style:normal;margin-left:auto;font-size:9px}
.k2look .k2row{display:flex;align-items:center;gap:10px;min-height:34px}.k2look .k2row > span{color:var(--k2-muted);width:86px;flex:none}.k2look .k2row input[type=range]{flex:1;accent-color:var(--k2-accent)}.k2look .k2row b{width:40px;text-align:right;font-weight:500;font-variant-numeric:tabular-nums}
.k2look select,.k2look #k2-name{flex:1;height:30px;border:1px solid var(--k2-line);border-radius:calc(var(--k2-r) * .75);background:var(--k2-field);color:var(--k2-text);padding:0 8px;font:inherit;min-width:0}
.k2look .k2seg{display:flex;flex:1;background:var(--k2-sunk);border:1px solid var(--k2-line);border-radius:calc(var(--k2-r) * .75);padding:2px;gap:2px}
.k2look .k2seg button{flex:1;border:0;background:none;color:var(--k2-muted);border-radius:calc(var(--k2-r) * .6);padding:4px 6px;cursor:pointer;font:inherit;font-size:12px;white-space:nowrap}
.k2look .k2seg button[aria-pressed="true"]{background:var(--k2-panel);color:var(--k2-text);box-shadow:0 1px 2px rgba(0,0,0,.15)}
.k2look .k2link{border:0;background:none;color:var(--k2-accent);cursor:pointer;font:inherit;text-transform:none;letter-spacing:0;font-weight:500}
.k2look .k2save{display:flex;gap:6px;margin-top:12px}
.k2look .k2pri{border:0;background:var(--k2-accent);color:var(--k2-on);border-radius:calc(var(--k2-r) * .75);padding:0 12px;height:30px;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
@media (max-width:600px){.k2look .k2tpls{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- stage 2: the layout (html.k2new; Look → Layout → Ribbon on top puts the ribbon back) ----
   one grid for the window: a top bar; the tool strip down the left with its tools panel beside it; Edit / View / Panes over
   the drawing; the drawing with Properties and the library on its right; the tray; the status line */
html.k2.k2new{--k2-flyw:0px}   /* the tools panel floats over the drawing (owner's rule: no jumping): the drawing keeps its size when it opens or folds */
html.k2.k2new .modal.skwin.skcad.skfull{grid-template-columns:62px var(--k2-flyw) minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:6px 6px!important;padding:6px 8px 4px!important}
html.k2.k2new .skwin.skcad.skfull > *{grid-column:1 / -1}
html.k2.k2new .skwin.skcad.skfull > .mfoot > div:first-child{grid-column:1 / -1!important;grid-row:1!important;justify-self:start;z-index:2}
html.k2.k2new .skwin.skcad.skfull > .mfoot > div:last-child{grid-column:1 / -1!important;grid-row:1!important;justify-self:end;z-index:2}
html.k2.k2new .skwin.skcad.skfull > .skhead{grid-column:1 / -1!important;grid-row:1!important;justify-self:start;margin-left:calc(var(--k2-bw,110px) + 14px)!important;max-width:calc(100% - var(--k2-bw,110px) - var(--k2-rw,480px) - 28px);min-width:0}
html.k2.k2new .skwin.skcad.skfull > :is(.softwarn,.skpal,.sksteps){grid-column:3!important;grid-row:2!important}
/* the ribbon comes apart: its tabs are the tool strip, its panes the tools panel, its pinned groups the bar over the drawing */
html.k2.k2new .skwin.skcad #sk-ribbon,html.k2.k2new .skwin.skcad #sk-ribbon > .rbbody{display:contents!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs{grid-column:1;grid-row:2 / 4;display:flex!important;flex-direction:column;align-items:stretch;gap:2px;padding:6px 5px;margin:0!important;overflow:hidden auto;scrollbar-width:none;
  background:var(--k2-panel)!important;border:1px solid var(--k2-line)!important;border-radius:var(--k2-r)!important;zoom:var(--k2-zoom)}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs button[data-rbtab]{display:flex!important;flex-direction:column;align-items:center;gap:4px;padding:9px 2px 7px!important;margin:0!important;min-height:0!important;height:auto!important;
  font-size:10.5px!important;line-height:1.1!important;white-space:normal!important;text-align:center;border:0!important;border-radius:calc(var(--k2-r) * .8)!important;color:var(--k2-muted)!important;background:transparent!important;font-weight:500}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs button[data-rbtab]::before{content:'';width:22px;height:22px;flex:none;background:currentColor;-webkit-mask:var(--k2i) center / contain no-repeat;mask:var(--k2i) center / contain no-repeat}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs button[data-rbtab]:hover{background:var(--k2-hover)!important;color:var(--k2-text)!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs button[aria-selected="true"]{color:var(--k2-accent)!important;background:var(--k2-soft)!important;font-weight:600}
html.k2.k2new:not(.k2fly) .skwin.skcad #sk-ribbon .rbtabs button[aria-selected="true"]{background:transparent!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs :is(.rbsimple,.rbkind){margin-top:auto!important;font-size:10px!important;padding:6px 2px!important;flex-direction:column}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs .rbkind ~ .rbsimple{margin-top:4px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs .rbkind .rbkl{display:none}
html.k2.k2new [data-rbtab="tools"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 3l14 8-6.5 1.5L9 19z'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab="cab"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M12 3v18M9.5 11v2M14.5 11v2'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab="job"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 11l9-7 9 7M5 9.5V20h14V9.5M10 20v-6h4v6'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab="cat"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4 5.5C6.5 4 9.5 4 12 5.5v14C9.5 18 6.5 18 4 19.5zM12 5.5C14.5 4 17.5 4 20 5.5v14c-2.5-1.5-5.5-1.5-8 0'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab="out"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 3h8.5L19 7.5V21H6zM14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab="sd"]{--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='7' y='7' width='13' height='14' rx='1'/%3E%3Cpath d='M4 17V4h12'/%3E%3C/svg%3E")}
html.k2.k2new [data-rbtab]:not([data-rbtab="tools"],[data-rbtab="cab"],[data-rbtab="job"],[data-rbtab="cat"],[data-rbtab="out"],[data-rbtab="sd"]){--k2i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E")}
/* the tools panel beside the strip: the picked tab's groups stacked, each group's buttons in a grid of three */
html.k2.k2new .skwin.skcad #sk-ribbon .rbpanes{grid-column:3;grid-row:3;justify-self:start;align-self:stretch;width:244px;z-index:20;box-shadow:0 14px 40px rgba(0,0,0,.18)!important;min-width:0;overflow:hidden auto;scrollbar-width:thin;background:var(--k2-panel)!important;border:1px solid var(--k2-line)!important;border-radius:var(--k2-r)!important;zoom:var(--k2-zoom)}
html.k2.k2new:not(.k2fly) .skwin.skcad #sk-ribbon .rbpanes{display:none!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane:not([hidden]){display:flex!important;flex-direction:column;gap:8px;padding:8px!important;min-height:0!important;overflow:visible!important;background:transparent!important;border-radius:0!important;-webkit-mask-image:none!important;mask-image:none!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane > .rbrow{display:flex!important;flex-direction:column;gap:8px;width:100%}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .seg.sktg{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;grid-auto-flow:row!important;align-items:stretch!important;gap:3px!important;padding:8px 6px 6px!important;margin:0!important;border:1px solid var(--k2-line)!important;border-radius:calc(var(--k2-r) * .9)!important;background:var(--k2-sunk)!important;width:auto!important;min-width:0}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .sktgl{position:static!important;grid-column:1 / -1;order:-9!important;display:block!important;text-align:left!important;margin:0 0 3px 2px!important;padding:0!important;font:600 9.5px/1.2 var(--k2-font)!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:1!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:58px!important;
  padding:7px 2px 5px!important;margin:0!important;flex:none!important;white-space:normal!important;text-align:center;line-height:1.1!important;font-size:10.5px!important;border-radius:calc(var(--k2-r) * .7)!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig :is(svg,.rbi){width:22px!important;height:22px!important;flex:none}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane :is(.rbstack,details,.seg:not(.sktg)){grid-column:1 / -1;min-width:0}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbstack{display:flex!important;flex-direction:column;gap:1px}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbsm{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:7px!important;width:100%!important;height:auto!important;min-height:26px!important;padding:3px 6px!important;font-size:11.5px!important;white-space:nowrap;text-align:left}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbsm :is(svg,.rbi){width:15px!important;height:15px!important;flex:none}
/* the bar over the drawing: Edit, View, Panes */
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin{grid-column:3;grid-row:2;display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap;overflow:auto hidden;scrollbar-width:none;min-width:0;padding:3px 6px!important;margin:0!important;position:static!important;
  background:var(--k2-panel)!important;border:1px solid var(--k2-line)!important;border-radius:var(--k2-r)!important;box-shadow:none!important;zoom:var(--k2-zoom)}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin > *{flex:none;margin:0!important;border:0!important;padding:0 6px 0 0!important;background:transparent!important;display:flex!important;align-items:center;gap:2px}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin > * + *{border-left:1px solid var(--k2-line)!important;padding-left:8px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .sktgl{position:static!important;display:inline!important;margin:0 4px 0 0!important;font:600 9.5px var(--k2-font)!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:1!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin :is(button,summary){min-height:28px!important;height:28px!important;padding:0 8px!important;font-size:12px!important;flex-direction:row!important;gap:5px!important;width:auto!important;min-width:0!important;white-space:nowrap}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin :is(button,summary) :is(svg,.rbi){width:16px!important;height:16px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .rbl{display:inline!important;font-size:12px!important}
/* the drawing, with Properties over the library on its right */
html.k2.k2new .skwin.skcad.skfull > .skbody{grid-column:3!important;grid-row:3!important;grid-template-columns:auto minmax(0,1fr) 272px!important;grid-template-rows:minmax(0,max-content) minmax(190px,1fr)!important;gap:6px!important;min-height:0}
html.k2.k2new .skwin.skcad .skbody > .skchat{grid-column:1!important;grid-row:1 / -1!important;width:300px}
html.k2.k2new .skwin.skcad .skbody > #sk-views,html.k2.k2new .skwin.skcad .skbody > #sk-stage{grid-column:2!important;grid-row:1 / -1!important;min-width:0;margin:0!important;width:auto!important}
html.k2.k2new .skwin.skcad .skbody > .skleft{grid-column:3!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;max-height:58vh;overflow:auto;width:auto!important;min-width:0}
html.k2.k2new .skwin.skcad .skbody > .skpalette{grid-column:3!important;grid-row:2!important;width:auto!important;min-width:0;min-height:0}
html.k2.k2new .skwin.skcad .skbody:not(:has(> .skleft:not([hidden]))) > .skpalette,html.k2.k2new .skwin.skcad .skbody:has(> .skleft[style*="none"]) > .skpalette{grid-row:1 / -1!important}
html.k2.k2new .skwin.skcad .skbody > .skgrip{display:none!important}
/* the tray: the room's cabinets, the checks and the history, folded to one line until a tab is picked */
html.k2.k2new .skwin.skcad.skfull > #k2-tray{grid-column:2 / -1;grid-row:4}
html:not(.k2new) #k2-tray,html:not(.k2) #k2-tray{display:none}
:is(html.k2,html.kstd) .skwin.skcad .k2tray{background:var(--k2-panel);border:1px solid var(--k2-line);border-radius:var(--k2-r);min-width:0;zoom:var(--k2-zoom);font-size:12px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trh{display:flex;align-items:center;gap:2px;padding:3px 6px;min-height:32px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trh button[data-k2tray]{border:0!important;background:transparent!important;color:var(--k2-muted)!important;font:500 12px var(--k2-font)!important;padding:4px 10px!important;min-height:26px!important;border-radius:calc(var(--k2-r) * .7)!important;box-shadow:none!important}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trh button[data-k2tray]:hover{background:var(--k2-hover)!important;color:var(--k2-text)!important}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trh button[aria-selected="true"]{color:var(--k2-text)!important;background:var(--k2-sunk)!important;font-weight:600!important;box-shadow:inset 0 -2px 0 var(--k2-accent)!important}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trh i{font-style:normal;font-size:10.5px;color:var(--k2-muted);background:var(--k2-sunk);border-radius:999px;padding:0 6px;margin-left:3px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trs{margin-left:auto;color:var(--k2-muted)!important;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trx{margin-left:8px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2trb{border-top:1px solid var(--k2-line);height:132px;overflow:auto;padding:6px 8px;scrollbar-width:thin}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs button{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;text-align:left;padding:5px 8px!important;min-height:0!important;height:auto!important;border:1px solid var(--k2-line)!important;background:var(--k2-sunk)!important}
html.k2 .skwin.skcad #k2-tray .k2cabs button[aria-pressed="true"]{background:var(--k2-soft)!important;color:var(--k2-text)!important;border-color:var(--k2-accent)!important}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs b{grid-row:1 / 3;min-width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:var(--k2-panel);border:1px solid var(--k2-line);font-size:11px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs span{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs i{grid-column:2;font-style:normal;color:var(--k2-muted);font-size:11px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2cabs em{grid-column:3;grid-row:1 / 3;font-style:normal;font-variant-numeric:tabular-nums;color:var(--k2-muted)}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2checks{display:flex;gap:6px;flex-wrap:wrap}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2checks button{display:grid!important;text-align:left;gap:2px;max-width:280px;padding:7px 10px!important;height:auto!important;border:1px solid var(--k2-line)!important}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2checks span{color:var(--k2-muted);font-size:11px;white-space:normal}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist{list-style:none;margin:0;padding:0;display:grid}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li{display:flex;align-items:center;gap:10px;padding:3px 4px;border-radius:6px;position:relative;padding-left:18px}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li::before{content:'';position:absolute;left:5px;top:50%;width:7px;height:7px;margin-top:-4px;border-radius:50%;background:var(--k2-line)}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li.k2now::before{background:var(--k2-accent)}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li:hover{background:var(--k2-sunk)}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.k2tray .k2hist li i{font-style:normal;color:var(--k2-muted);font-size:11px;white-space:nowrap}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li button{min-height:22px!important;height:22px!important;padding:0 8px!important;font-size:11px!important;opacity:0}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li:hover button,:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2hist li button:focus-visible{opacity:1}
:is(html.k2,html.kstd) .skwin.skcad .k2tray .k2none{margin:6px 2px;color:var(--k2-muted)}
html.k2.k2new .skwin.skcad.skfull > #sk-status{grid-row:4!important;grid-column:1 / -1!important}

/* ---- stage 3: the drawings ---- */
html.k2 .skwin.skcad #sk-svg{position:relative}
html.k2 .skwin.skcad :has(> #sk-svg){position:relative}
.k2rul{position:absolute;pointer-events:none;z-index:4;background:color-mix(in srgb,var(--k2-panel) 92%,transparent);font:600 9.5px var(--k2-font);overflow:hidden}
.k2rul line{stroke:var(--k2-muted);stroke-width:1;shape-rendering:crispEdges}.k2rul text{fill:var(--k2-muted)}
.k2rx{left:0;top:0;width:100%;height:18px;border-bottom:1px solid var(--k2-line)}
.k2ry{left:0;top:0;width:18px;height:100%;border-right:1px solid var(--k2-line)}
.k2rc{left:0;top:0;width:18px;height:18px;z-index:5;border-right:1px solid var(--k2-line);border-bottom:1px solid var(--k2-line)}
/* the drawing's own marks in the template's colors: sizes in the accent, a picked cabinet in the accent */
:is(html.k2,html.kstdcol)[data-k2ink="light"] .skwin.skcad #sk-svg :is(.sk-dim,.sk-adim){stroke:color-mix(in srgb,var(--k2-accent) 75%,#000)!important}
:is(html.k2,html.kstdcol)[data-k2ink="light"] .skwin.skcad #sk-svg :is(.sk-dlbl,.sk-adiml){fill:color-mix(in srgb,var(--k2-accent) 70%,#000)!important;font-weight:600}
:is(html.k2,html.kstdcol)[data-k2ink="light"] .skwin.skcad #sk-svg .sk-cab.sel{stroke:var(--k2-accent)!important;fill:color-mix(in srgb,var(--k2-accent) 12%,#fff)!important}
:is(html.k2,html.kstdcol)[data-k2ink="light"] .skwin.skcad #sk-svg .sk-cab:not(.sel):not(.wall){fill:#fbfaf7}
/* the views side by side: each pane's title bar in the template's colors */
html.k2 .skwin.skcad .skpane > header{background:var(--k2-panel)!important;color:var(--k2-text)!important;border-bottom:1px solid var(--k2-line)!important}
html.k2 .skwin.skcad .skpane > header b{color:var(--k2-muted)!important;font:600 10.5px var(--k2-font)!important;letter-spacing:.06em;text-transform:uppercase}
html.k2 .skwin.skcad .skpane{border:1px solid var(--k2-line)!important;border-radius:var(--k2-r);overflow:hidden}
:is(html.k2,html.kstdcol)[data-k2ink="dark"] .skwin.skcad .skpane > svg{filter:invert(1) hue-rotate(180deg)}
:is(html.k2,html.kstdcol)[data-k2ink="blue"] .skwin.skcad .skpane > svg{filter:invert(1) sepia(1) saturate(2.2) hue-rotate(170deg) brightness(1.05)}
/* Views 1 2 3 4 in the bar over the drawing */
html.k2 .skwin.skcad #k2-views{display:flex!important;align-items:center;gap:2px}
html.k2 .skwin.skcad #k2-views button{min-width:30px;padding:0 6px!important;font-variant-numeric:tabular-nums}
html:not(.k2) #k2-views{display:none!important}

/* ---- stage 4: behaviors ---- */
/* the price: a chip in the top bar; pressing it opens the live breakdown as a card under it (the chip keeps its place) */
html.k2 .skwin.skcad .mfoot > div:last-child{position:relative}
html.k2 .skwin.skcad #sk-price.open{position:absolute!important;top:0;left:var(--k2-pl,0px);z-index:3000;width:340px!important;max-width:340px!important;padding:10px 12px!important;line-height:1.35!important;
  background:var(--k2-panel)!important;border:1px solid var(--k2-line)!important;box-shadow:0 18px 50px rgba(0,0,0,.25)!important;border-radius:calc(var(--k2-r) + 4px)!important}
html.k2 .skwin.skcad #sk-price.open > b{font-size:22px;color:var(--k2-text)}
html.k2 .skwin.skcad #sk-price.open .sknums{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}
html.k2 .skwin.skcad #sk-price.open .sknums > span{background:var(--k2-sunk);border:1px solid var(--k2-line);border-radius:calc(var(--k2-r) * .75);padding:6px 8px;display:grid;font-size:11px;color:var(--k2-muted)}
html.k2 .skwin.skcad #sk-price.open .sknums > span b{font-size:15px;color:var(--k2-text)}
html.k2 .skwin.skcad #sk-price.open .sknums > span.late b{color:#e5484d}html.k2 .skwin.skcad #sk-price.open .sknums > span.ok b{color:#2f9e5b}
html.k2 .skwin.skcad #sk-price.open .skbidrow{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.k2pspace{display:inline-block;flex:none;height:30px}
/* ⌘K / Ctrl+K: the find box, with the shortcut shown in it */
html.k2 .skwin.skcad .skcmd{position:relative}
html.k2 .skwin.skcad .skcmd::after{content:'Ctrl K';position:absolute;right:8px;top:50%;transform:translateY(-50%);font:600 10px var(--k2-font);color:var(--k2-muted);border:1px solid var(--k2-line);border-radius:4px;padding:1px 5px;pointer-events:none}
html.k2.k2mac .skwin.skcad .skcmd::after{content:'⌘K'}
html.k2 .skwin.skcad #sk-price.open{display:block!important;white-space:normal!important}
html.k2 .skwin.skcad #sk-price.open .sknums{width:100%}html.k2 .skwin.skcad #sk-price.open #sk-numsdif{display:block!important;margin-top:2px}
html.k2 .skwin.skcad #k2-tray .k2cabs button.k2dropon{outline:2px dashed var(--k2-accent);outline-offset:1px}
html.k2 .skwin.skcad #k2-tray .k2cabs button.k2dragging{opacity:.45}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .seg.sktg > *{grid-row:auto!important}

/* ---- tidy-up (owner, Nov 20: "tidy up the buttons, bars, sliders, boxes... the drawing area to take up the majority of the screen") ----
   one slim bar over the drawing (group names off, Undo/Redo and Zoom as icons side by side); the tray's tabs sit in the status
   line and open as a card over the drawing (no row of their own, no jumping); smaller tool buttons without boxes in boxes */
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin{padding:2px 4px!important;gap:4px}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .sktgl{display:none!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin > *{padding-right:4px!important}html.k2.k2new .skwin.skcad #sk-ribbon .rbpin > * + *{padding-left:5px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .rbstack{display:flex!important;flex-direction:row!important;gap:2px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin :is(button,summary){min-height:26px!important;height:26px!important;padding:0 7px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .rbsm{width:28px!important;padding:0!important;justify-content:center!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin .rbsm .rbl{display:none!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpin :is(button,summary) :is(svg,.rbi){width:15px!important;height:15px!important}
/* the tray: its tabs in the middle of the status line; an open tab is a card over the bottom of the drawing */
html.k2.k2new .skwin.skcad.skfull > #k2-tray{grid-column:1 / -1;grid-row:4;justify-self:center;align-self:center;position:relative;z-index:60;background:transparent;border:0}
html.k2.k2new .skwin.skcad #k2-tray .k2trh{min-height:28px;padding:0}
html.k2.k2new .skwin.skcad #k2-tray .k2trh button[data-k2tray]{min-height:24px!important;padding:2px 9px!important}
html.k2.k2new .skwin.skcad #k2-tray .k2trs{margin-left:10px}
html.k2.k2new .skwin.skcad #k2-tray .k2trb{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:min(900px,calc(100vw - 120px));height:170px;
  background:var(--k2-panel);border:1px solid var(--k2-line);border-radius:var(--k2-r);box-shadow:0 14px 40px rgba(0,0,0,.2)}
@media (max-width:1500px){html.k2.k2new .skwin.skcad #k2-tray .k2trs{display:none}}
/* the tools panel: smaller buttons, groups split by a line instead of boxes */
html.k2.k2new .skwin.skcad #sk-ribbon .rbpanes{width:228px}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane:not([hidden]){gap:2px;padding:6px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane > .rbrow{gap:2px}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .seg.sktg{border:0!important;border-top:1px solid var(--k2-line)!important;border-radius:0!important;background:transparent!important;padding:7px 0 5px!important;gap:2px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane > .rbrow > .seg.sktg:first-child{border-top:0!important;padding-top:2px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig{min-height:48px!important;padding:6px 2px 4px!important;gap:3px!important;font-size:10.5px!important;border:0!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig:not([aria-pressed="true"]):not(.on){background:transparent!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig:hover{background:var(--k2-hover)!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbbig :is(svg,.rbi){width:19px!important;height:19px!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbsm{min-height:24px!important;border:0!important;background:transparent!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbpane .rbsm:hover{background:var(--k2-hover)!important}
/* the Look panel: plain color names, slim sliders */
.k2look .k2col{padding:3px 8px 3px 3px;min-height:30px}.k2look .k2col span{letter-spacing:0!important;text-transform:none!important;font:500 12.5px var(--k2-font)!important;color:var(--k2-text)}
.k2look .k2col input{width:22px;height:20px;border-radius:5px;overflow:hidden}
.k2look .k2row input[type=range]{-webkit-appearance:none;appearance:none;height:4px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:2px;background:var(--k2-line);outline:none}
.k2look .k2row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--k2-accent);border:2px solid var(--k2-panel);box-shadow:0 0 0 1px var(--k2-line);cursor:pointer}
.k2look .k2row input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--k2-accent);border:2px solid var(--k2-panel)}
.k2look .k2row{min-height:30px}
/* menus (right-click, the cabinet menu) in the 2Kerf colors (owner, Nov 20: the menu "doesnt match the selected color scheme") */
html.k2 .skctx{--k2-hover:color-mix(in srgb,var(--k2-text) 11%,var(--k2-panel));--k2-soft:color-mix(in srgb,var(--k2-accent) 14%,var(--k2-panel));
  background:var(--k2-panel)!important;color:var(--k2-text)!important;border:1px solid var(--k2-line)!important;border-radius:calc(var(--k2-r) + 2px)!important;font-family:var(--k2-font)!important;box-shadow:0 14px 40px rgba(0,0,0,.25)!important}
html.k2 .skctx button{color:var(--k2-text)!important;background:transparent!important;font-family:var(--k2-font)!important;border-radius:calc(var(--k2-r) * .7)!important}
html.k2 .skctx button:is(:hover,:focus-visible){background:var(--k2-soft)!important;color:var(--k2-text)!important;outline:none}
html.k2 .skctx :is(.skctxh,.hint,.skcmg > span){color:var(--k2-muted)!important}
html.k2 .skctx button.del{color:#e5484d!important}
:is(html.k2,html.kstd) .skwin.skcad svg.k2rul{filter:none!important}
/* Blueprint drawings: cabinets filled a soft navy, not black */
:is(html.k2,html.kstdcol)[data-k2ink="blue"] .skwin.skcad :is(#sk-views,.skpane) svg:not(.k2rul) :is(.sk-cab:not(.sel),.sk-pp){fill:#d6d6d6!important}   /* comes out a soft navy, a shade off the paper */
:is(html.k2,html.kstdcol)[data-k2ink="blue"] .skwin.skcad :is(#sk-views,.skpane) svg:not(.k2rul) .sk-wallt{fill:#b4b4b4!important}
html.k2.k2new .skwin.skcad #sk-ribbon .rbtabs button[data-rbtab] small{display:none!important}

/* everything opened while 2Kerf is on follows the template (owner, Nov 20: "make sure anything that can be opened or viewed in 2kerf
   follows the selected color template"): the app's own colors are swapped for the template's at the top of the page, so Chip's
   chat, menus, windows, pop-ups and messages opened from the drawing all take them (html.k2 is only on while a drawing is open) */
html.k2:root{
  --bg:var(--k2-bg)!important;--surface:var(--k2-panel)!important;--card:var(--k2-panel)!important;--sunk:var(--k2-sunk)!important;
  --line:var(--k2-line)!important;--line-hi:color-mix(in srgb,var(--k2-text) 22%,var(--k2-panel))!important;--ink:var(--k2-text)!important;--text:var(--k2-text)!important;--muted:var(--k2-muted)!important;
  --accent:var(--k2-accent)!important;--accent-ink:var(--k2-on)!important;--glow:var(--k2-accent)!important;--accent-2:var(--k2-accent)!important;
  --mint:color-mix(in srgb,var(--k2-accent) 40%,var(--k2-text))!important;--accent-hi:color-mix(in srgb,var(--k2-accent) 80%,var(--k2-text))!important;--accent-lo:color-mix(in srgb,var(--k2-accent) 75%,var(--k2-bg))!important;
  --ok-bg:color-mix(in srgb,#2f9e5b 14%,var(--k2-panel))!important;--warn-bg:color-mix(in srgb,#e5484d 12%,var(--k2-panel))!important;
  --body:var(--k2-font)!important;--display:var(--k2-font)!important;--mono:var(--k2-font)!important}
html.k2[data-k2dark="0"]:root{color-scheme:light!important;--shadow-sm:0 1px 2px rgba(0,0,0,.08)!important;--shadow:0 2px 10px rgba(0,0,0,.1),0 10px 30px rgba(0,0,0,.08)!important;--shadow-lg:0 16px 50px rgba(0,0,0,.18)!important;
  --raise:0 1px 2px rgba(0,0,0,.08)!important;--raise-hover:0 3px 8px rgba(0,0,0,.1)!important}
html.k2[data-k2dark="1"]:root{color-scheme:dark!important}
html.k2 body{background:var(--k2-bg);color:var(--k2-text);font-family:var(--k2-font)}
/* parts of the app with their own fixed dark colors, in the template's colors while 2Kerf is on */
html.k2 :is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select,textarea){background:var(--k2-field)!important;color:var(--k2-text)!important;border-color:var(--k2-line)!important;box-shadow:none!important}
html.k2 :is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select,textarea):focus{border-color:var(--k2-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--k2-accent) 30%,transparent)!important}
html.k2 :is(input,textarea)::placeholder{color:var(--k2-muted)!important;opacity:.8}
html.k2 input:is([type=checkbox],[type=radio]){accent-color:var(--k2-accent);background:var(--k2-field)!important;border-color:var(--k2-line)!important;box-shadow:none!important}
html.k2 :is(button:not([class]),.btn,button.danger:not(.armed),button.big:not(.primary),button.add,button.ghost,button.esfold){background:var(--k2-ctl)!important;color:var(--k2-text)!important;border-color:var(--k2-line)!important;box-shadow:none!important;text-shadow:none!important}
html.k2 :is(button:not([class]),.btn,button.danger:not(.armed),button.big:not(.primary),button.add,button.ghost,button.esfold):hover{background:var(--k2-hover)!important}
html.k2 :is(button:not([class]),button.ghost)[aria-pressed="true"]{background:var(--k2-soft)!important;border-color:var(--k2-accent)!important}
html.k2 button.primary{background:var(--k2-accent)!important;color:var(--k2-on)!important;border-color:var(--k2-accent)!important;box-shadow:none!important;text-shadow:none!important}
html.k2 .seg{background:var(--k2-sunk)!important;border-color:var(--k2-line)!important}
html.k2 :is(.skpal,.skdock,.skpane > header,.sklibhead,.skrsetupin,.skrsetupin > header,.cfpedit,.skwayq,.skfull .cadmore > div,.sktoolrail,.gsearch,.modal:not(.skwin),.modal:not(.skwin) :is(.mhead,.mfoot),.skjtree,.skchat,.toast,#toast){background:var(--k2-panel)!important;color:var(--k2-text)!important;border-color:var(--k2-line)!important}
html.k2 :is(.modal:not(.skwin),.skrsetupin,.skjtree,.skwayq){box-shadow:0 18px 50px rgba(0,0,0,.22)!important;border-radius:calc(var(--k2-r) + 4px)!important}
html.k2 .scrim:not(#scrim){background:color-mix(in srgb,var(--k2-bg) 55%,rgba(0,0,0,.35))!important}
html.k2 :is(.modal,.skrsetupin,.skjtree,.skwayq,.skchat) :is(.hint,small){color:var(--k2-muted)!important}
html.k2 :is(.modal,.skrsetupin,.skjtree,.skchat) :is(h2,h3,h4,b,label,p,td,th,li,summary){color:inherit}
/* Chip's chat beside the drawing: the floating tools panel moves over so it doesn't cover the chat */
html.k2.k2new .skwin.skcad:has(.skbody > .skchat:not([hidden])) #sk-ribbon .rbpanes{margin-left:306px}
html.k2 .cftip{background:var(--k2-sunk)!important;color:var(--k2-muted)!important;border-color:var(--k2-line)!important}
/* the cabinet editor's drawing (drawn light on dark): flipped to dark lines on white for light drawing lines, on the blue paper for Blueprint */
:is(html.k2,html.kstdcol)[data-k2ink="light"] .cfsvg{filter:invert(1) hue-rotate(180deg)}
:is(html.k2,html.kstdcol)[data-k2ink="blue"] .cfsvg{background:var(--k2-paper)!important}
html.k2 .cfmodal{background:var(--k2-bg)!important;color:var(--k2-text)!important}
/* the Library's category strip down its right edge: plain labels, the picked one in the accent (no old green boxes) */
html.k2 .skwin.skcad .skvtabs{gap:1px;padding:4px 2px;background:var(--k2-sunk)}
html.k2 .skwin.skcad .skvtabs button{border:0!important;border-radius:calc(var(--k2-r) * .6)!important;color:var(--k2-muted)!important;padding:8px 3px!important;max-height:150px;font:500 10.5px var(--k2-font)!important}
html.k2 .skwin.skcad .skvtabs button:hover{background:var(--k2-hover)!important;color:var(--k2-text)!important}
html.k2 .skwin.skcad .skvtabs button[aria-pressed=true]{background:var(--k2-soft)!important;color:var(--k2-accent)!important;font-weight:600!important;box-shadow:inset -2px 0 0 var(--k2-accent)}
html.k2 .modal.skwin.skcad{border-color:var(--k2-line)!important;box-shadow:none!important}
html.k2 #scrim{background:var(--k2-bg)!important}

/* the standard Kerf's Look (owner, Nov 26 2026: "give the standard kerf the same options that 2kerf has"): only what the person
   changed, on the standard layout; nothing picked leaves Kerf's own look */
html.kstdcol .skwin.skcad,html.kstdcol .k2look{
  --k2-sunk:color-mix(in srgb,var(--k2-text) 4%,var(--k2-panel));
  --bg:var(--k2-bg);--surface:var(--k2-panel);--card:var(--k2-panel);--sunk:var(--k2-sunk);--line:var(--k2-line);--ink:var(--k2-text);--text:var(--k2-text);--muted:var(--k2-muted);
  --accent:var(--k2-accent);--accent-ink:var(--k2-on)}
html.kstdcol .modal.skwin.skcad{background:var(--k2-bg)!important;color:var(--k2-text)!important}
html.kstdcol .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus,.rbbody,.rbpane,.skdock,.skqbar,.skpal,.cadmore > div,.skedit,.skcmdres,.cfmodal,.cfside){background:var(--k2-panel)!important;color:var(--k2-text)!important}
html.kstdcol .skwin.skcad :is(.hint,.sktgl,.skhl){color:var(--k2-muted)!important}
html.kstdcol .skwin.skcad #sk-views,html.kstdcol .skwin.skcad .cfdraw{background:var(--k2-paper)!important}
html.kstdfont .skwin.skcad{--body:var(--k2-font);--display:var(--k2-font)}
html.kstdfont .skwin.skcad :not(svg,svg *,.ic,.ic *){font-family:var(--k2-font)!important}
html.kstdsize .skwin.skcad{--t-1:calc(.72rem * var(--k2-scale));--t-2:calc(.8rem * var(--k2-scale));--t-3:calc(.9rem * var(--k2-scale));--t-4:calc(1rem * var(--k2-scale));--t-5:calc(1.15rem * var(--k2-scale));--t-6:calc(1.35rem * var(--k2-scale))}
html.kstdrad .skwin.skcad{--r-sm:var(--k2-r);--r:var(--k2-r);--r-xs:var(--k2-r)}
html.kstdrad .skwin.skcad :is(button,input,select,summary,.skribbon,.skleft,.skpalette,.cadmore > div,.chip){border-radius:var(--k2-r)!important}
html.kstdden .skwin.skcad :is(.skribbon,.skleft,.skpalette,.skstatus,.k2tray){zoom:var(--k2-zoom)}
html.kstd .skwin.skcad .k2tray{grid-column:1 / -1}

/* the pointer on the drawing (owner, Nov 26 2026): never a hand; each person picks it in View → Look */
html{--sk-ret:crosshair}html[data-reticle=big]{--sk-ret:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33'%3E%3Cpath d='M16.5 0v13M16.5 20v13M0 16.5h13M20 16.5h13' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M16.5 0v13M16.5 20v13M0 16.5h13M20 16.5h13' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 16 16,crosshair}html[data-reticle=dot]{--sk-ret:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23000' stroke-width='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.6' fill='%23fff' stroke='%23000' stroke-width='.8'/%3E%3C/svg%3E") 8 8,crosshair}html[data-reticle=arrow]{--sk-ret:default}
:is(.skwin.skcad,.cfmodal,.cfdock) :is(svg,canvas):not(button *,summary *,a *,label *,.skctx *),:is(.skwin.skcad,.cfmodal,.cfdock) :is(svg,canvas):not(button *,summary *,a *,label *,.skctx *) *,body.skpanning,.skpanning,.skpanning *{cursor:var(--sk-ret)!important}

/* CAD baseline (owner, Nov 26 2026): the toolbar holds drawing tools only and changes with the view. Stairs, shapes, paneling,
   fixtures, outlets and water, Fill the room and Templates are in the Insert menu; 3D shows only the view tools (no width box);
   elevations have no dimension tools */
.skwin.skcad #sk-ribbon#sk-ribbon .rbins,.skwin.skcad #sk-ribbon#sk-ribbon [data-rbgo="#sk-fillroom"],.skwin.skcad #sk-ribbon#sk-ribbon [data-rbgo="#sk-tpl"]{display:none!important}
.skwin.skcad.v3d #sk-ribbon#sk-ribbon #sk-rail,.skwin.skcad.v3d #sk-ribbon .rbslide,.skwin.skcad.v3d #sk-ribbon .rbpin > .seg:not([aria-label="View"]),.skwin.skcad.v3d #sk-ribbon #sk-unitflip{display:none!important}
.skwin.skcad.v3d #sk-qbar label:has(> [data-qb]){display:none!important}
.skwin.skcad.skvelev #sk-ribbon#sk-ribbon [data-sktool="dim"],.skwin.skcad.skvelev #sk-ribbon#sk-ribbon [data-rbgo='[data-skshow="autodims"]']{display:none!important}
.skwin.skcad.v3d #sk-ribbon .rbpanes{display:none!important}.skwin.skcad.v3d #sk-ribbon .rbpin{margin-left:0!important}
/* the toolbar as a CAD ribbon (CAD baseline, owner Nov 26 2026: "all small icons"): small icons beside their names, stacked three
   high in columns, the group's name under each group, a thin line between groups */
html.kstd .skwin.skcad #sk-ribbon .rbbody{align-items:stretch!important}
html.kstd .skwin.skcad #sk-ribbon :is(#sk-rail > .seg:not(.rbins),.rbpin > .seg){display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(3,21px) auto!important;grid-template-columns:none!important;grid-auto-columns:max-content!important;align-items:center;justify-items:start;gap:1px 4px;padding:3px 8px 1px!important;border-right:1px solid color-mix(in srgb,currentColor 14%,transparent)!important;border-left:0!important;margin:0!important;height:auto!important;min-height:0!important;align-self:stretch}
html.kstd .skwin.skcad #sk-ribbon :is(#sk-rail > .seg,.rbpin > .seg) > .sktgl{display:block!important;grid-row:4!important;grid-column:1 / -1!important;justify-self:center;font-size:10.5px;opacity:.55;text-transform:none;letter-spacing:.02em;padding:1px 0 0;margin:0;position:static!important;white-space:nowrap}
html.kstd .skwin.skcad #sk-ribbon :is(.rbstack,.skviews){display:contents!important}
html.kstd .skwin.skcad #sk-ribbon :is(.rbbig,.rbsm,.skviews > button,.rbpin details > summary){display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;width:auto!important;min-width:0!important;height:21px!important;min-height:0!important;padding:0 6px!important;font-size:11.5px!important;line-height:1!important;white-space:nowrap!important}
html.kstd .skwin.skcad #sk-ribbon :is(.rbbig,.rbsm,.skviews > button) .rbi{width:16px!important;height:16px!important;margin:0!important;flex:none}
html.kstd .skwin.skcad #sk-ribbon,html.kstd .skwin.skcad #sk-ribbon :is(.rbbody,.rbpanes,.rbpane,#sk-rail,.rbpin){height:auto!important;max-height:none!important;min-height:0;overflow:visible!important;align-items:stretch!important}
html.kstd .skwin.skcad #sk-ribbon #sk-rail,html.kstd .skwin.skcad #sk-ribbon .rbpin{display:flex!important;flex-wrap:nowrap!important}
html.kstd .skwin.skcad #sk-ribbon .rbslide{display:none!important}
html.kstd .modal.skwin.skcad.skfull{grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto)!important}   /* the window's own width, never its widest row: a tablet wraps the ribbon instead of scrolling sideways */
html.kstd .skwin.skcad #sk-ribbon .rbbody.rbfit3,html.kstd .skwin.skcad #sk-ribbon .rbfit3 :is(#sk-rail,.rbpin){flex-wrap:wrap!important;min-width:0!important;max-width:100%}
html.kstd .skwin.skcad.v3d #sk-ribbon#sk-ribbon .rbpin > .seg:not([aria-label="View"]){display:none!important}
/* compact CAD (owner, Nov 26 2026: "text, value entry fields, everything needs to stay small so that the drawing area can be the
   primary focus"): the menu bar, toolbar, side panels and status bar stay small; the drawing gets the room */
html.kstd .modal.skwin.skcad.skfull{gap:2px 6px!important;padding:2px 6px!important}
html.kstd .skwin.skcad .mfoot .cadmore > summary{padding:2px 8px!important;font-size:12px!important;min-height:0!important;height:24px;display:flex;align-items:center}
html.kstd .skwin.skcad :is(.skhead,.mfoot) :is(input,select,button){height:24px!important;min-height:0!important;font-size:12px!important;padding-top:0!important;padding-bottom:0!important}
html.kstd .skwin.skcad #sk-price{height:24px!important;min-height:0!important;padding:0 8px!important;font-size:12px!important}
html.kstd .skwin.skcad #sk-price b,html.kstd .skwin.skcad #sk-price strong{font-size:13px!important}
html.kstd .skwin.skcad #sk-ribbon :is(#sk-rail > .seg:not(.rbins),.rbpin > .seg){grid-template-rows:repeat(3,19px) auto!important;padding:2px 6px 0!important}
html.kstd .skwin.skcad #sk-ribbon :is(.rbbig,.rbsm,.skviews > button,.rbpin details > summary){height:19px!important;font-size:11px!important;padding:0 5px!important}
html.kstd .skwin.skcad #sk-ribbon :is(#sk-rail > .seg,.rbpin > .seg) > .sktgl{font-size:10px!important}
html.kstd .skwin.skcad :is(#sk-palette,#sk-left,#sk-panel,.skpalette){font-size:12px}
html.kstd .skwin.skcad :is(#sk-palette,#sk-left,#sk-panel) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){height:22px!important;min-height:0!important;font-size:12px!important;padding:1px 6px!important}
html.kstd .skwin.skcad :is(#sk-palette,#sk-left,#sk-panel) button:not(.rbi){min-height:0!important;font-size:12px}
html.kstd .skwin.skcad :is(#sk-palette,#sk-left,#sk-panel) :is(h2,h3){font-size:13px!important;margin:4px 0!important}
html.kstd .skwin.skcad #sk-status{min-height:0!important;height:22px!important;padding:0 4px!important;font-size:11px!important}
html.kstd .skwin.skcad #sk-status :is(input,button,summary){height:20px!important;min-height:0!important;font-size:11px!important;padding-top:0!important;padding-bottom:0!important}
/* the right side (CAD baseline, owner Nov 26 2026): one fixed column, Properties on top and the Library under it, so the drawing
   never moves when something is picked */
html.kstd .skwin.skcad > .skbody{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;grid-template-rows:auto minmax(0,1fr)!important;gap:4px!important;min-height:0}
html.kstd .skwin.skcad > .skbody > #sk-views{grid-column:1!important;grid-row:1 / span 2!important;min-width:0;width:auto!important;max-width:none!important;justify-self:stretch!important;margin:0!important}
html.kstd .skwin.skcad > .skbody > #sk-left{grid-column:2!important;grid-row:1!important;display:block!important;position:static!important;width:auto!important;max-width:none!important;max-height:52vh;overflow:auto;transform:none!important;margin:0!important;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:4px}
html.kstd .skwin.skcad > .skbody > #sk-palette{grid-column:2!important;grid-row:2!important;width:auto!important;min-height:0;overflow:auto;margin:0!important;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:4px}
html.kstd .skwin.skcad > .skbody > .skgrip{display:none!important}
html.kstd .skwin.skcad > .skbody > #sk-left:empty{display:none!important}
html.kstd .skwin.skcad :is(#sk-left .skphead,#sk-libside > h3){font-size:11px!important;text-transform:uppercase;letter-spacing:.06em;opacity:.8;margin:0!important;padding:4px 8px!important;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}
/* the room's tree docked on the left (CAD baseline, Nov 26 2026) */
html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock){grid-template-columns:210px minmax(0,1fr) 260px!important}
html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock) > #sk-views{grid-column:2!important}
html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock) > :is(#sk-left,#sk-palette){grid-column:3!important}
html.kstd .skwin.skcad > .skbody > .skjtree.jtdock{grid-column:1!important;grid-row:1 / span 2!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0;margin:0!important;box-shadow:none!important;transform:none!important;display:flex;flex-direction:column;overflow:hidden;font-size:12px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:4px;background:transparent}
html.kstd .skjtree.jtdock .jthead{font-size:11px;text-transform:uppercase;letter-spacing:.06em;padding:4px 8px;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);display:flex;gap:6px;align-items:baseline}
html.kstd .skjtree.jtdock .jthead b{font-weight:600;opacity:.8}html.kstd .skjtree.jtdock .jthead .hint{text-transform:none;letter-spacing:0;font-size:10.5px}

html.kstd .skjtree.jtdock .jtbody{overflow:auto;flex:1;min-height:0;padding:2px 4px 6px;max-height:none!important}
html.kstd .skjtree.jtdock details{margin:0;padding-left:10px}html.kstd .skjtree.jtdock .jtroom{padding-left:0}
html.kstd .skjtree.jtdock summary{padding:1px 0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.kstd .skjtree.jtdock .linkbtn{font-size:12px;color:inherit}html.kstd .skjtree.jtdock .linkbtn.on{color:var(--accent,#3ddc84);font-weight:700}
html.kstd .skjtree.jtdock .hint{font-size:10.5px}html.kstd .skjtree.jtdock .jtt{font-size:11px}
html.kstd .skjtree.jtdock .jthead .hint{display:none}
.skwin.skcad #sk-xy{font:11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;opacity:.75;white-space:pre;margin:0 10px;align-self:center}

/* the cabinet window's left panel, compact and even (owner, Nov 26 2026: "Condense the left menu ... Make the text smaller, squeeze
   things together, make it look uniform"): one small text size, one field height, label left and box right, thin section lines;
   the side picker (back, ends, top) right under the size and the ends, not at the bottom */
#cf-side#cf-side{font-size:11px;line-height:1.3;padding:6px 8px!important;gap:4px!important}
#cf-side#cf-side>.cfsidepick{order:0!important;margin:0!important;padding:2px 0 4px!important}
#cf-side#cf-side :is(label,th,td,summary,p,span,b,small,h3,h4,.hint,button,div){font-size:11px!important}
#cf-side#cf-side :is(input:not([type=checkbox]):not([type=radio]),select){height:22px!important;min-height:22px!important;padding:1px 5px!important;border-radius:3px!important;font-size:11px!important;line-height:18px}
#cf-side#cf-side :is(button,.chip){min-height:22px!important;padding:1px 7px!important;border-radius:3px!important}
#cf-side#cf-side textarea{font-size:11px!important;padding:4px 6px!important}
#cf-side#cf-side :is(h3,h4,.cfpsec th){margin:6px 0 2px!important;padding:2px 0!important;font-weight:600;color:var(--muted)!important;text-transform:uppercase;letter-spacing:.05em;font-size:10px!important;border-bottom:1px solid var(--line)}
#cf-side#cf-side .cfprops{border-collapse:collapse;margin:0!important}
#cf-side#cf-side .cfprops :is(th,td){padding:1px 3px!important;height:24px;font-weight:400;border:0!important}
#cf-side#cf-side .cfprops th{width:46%;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cf-side#cf-side .cfprops input,#cf-side#cf-side .cfprops select{max-width:none!important;width:100%!important}
#cf-side#cf-side label:has(> :is(input:not([type=checkbox]):not([type=radio]),select)):not(.chip):not(.cfov5 label):not(.cfszrow label){display:grid!important;grid-template-columns:46% minmax(0,1fr)!important;align-items:center!important;gap:4px!important;margin:1px 0!important;padding:0!important;color:var(--muted)}
#cf-side#cf-side :is(details,.cfends,.cfendcard,.cfprice,.cfwarn,.cfgrps,.cfptabs,.skop,.skmore,.cffront){margin:2px 0!important;padding:3px 4px!important;border-radius:4px!important}
#cf-side#cf-side details>summary{padding:3px 2px!important;min-height:0!important}
#cf-side#cf-side :is(.cfgrps,.cfptabs) button{padding:2px 5px!important;min-height:20px!important}
#cf-side#cf-side .cfszrow input{height:24px!important}
#cf-side#cf-side .hint{line-height:1.3}
#cf-side#cf-side .cftip{display:none}
#cf-side#cf-side :is(#cf-morep,.cfmorep2) :is(.skmore,.skop),#cf-side#cf-side :is(#cf-morep,.cfmorep2).skmore,#cf-side#cf-side .cffront .skop{display:block!important;columns:auto!important}
#cf-side#cf-side :is(#cf-morep,.cfmorep2,.cffront) label:not(.chip){display:grid!important;grid-template-columns:46% minmax(0,1fr)!important;align-items:center!important;gap:4px!important;margin:1px 0!important;width:100%!important}
#cf-side#cf-side .cfendcard .cfer2{display:block!important}
#cf-side#cf-side .cfendcard label.cfer{display:grid!important;grid-template-columns:46% minmax(0,1fr)!important;align-items:center!important;gap:4px!important;margin:1px 0!important}
#cf-side#cf-side .cfendcard .cfech span{font-size:10px!important;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600}
#cf-side#cf-side .cfendcard .sklbl b{font-weight:400;color:var(--muted)}
#cf-side#cf-side .cfarchrow{padding:0!important;margin:0!important;border:0!important;background:none!important}
#cf-side#cf-side .cfarchrow>*{padding:0!important;border:0!important;background:none!important}
/* tighter still (owner, Nov 26 2026: "still not small enough and has too much empty space"): 20px rows, no empty gaps, the long hints
   off the headings, the size boxes on one short line */
#cf-side#cf-side{gap:2px!important;padding:4px 6px!important}
#cf-side#cf-side :is(input:not([type=checkbox]):not([type=radio]),select){height:20px!important;min-height:20px!important;padding:0 4px!important;line-height:18px!important}
#cf-side#cf-side :is(button,.chip){min-height:20px!important;padding:0 6px!important;line-height:18px}
#cf-side#cf-side .cfprops :is(th,td){height:21px!important;padding:0 3px!important}
#cf-side#cf-side label:not(.chip){margin:0!important;min-height:21px}
#cf-side#cf-side :is(.skop,.skmore,.skscr,.cfer2,.cfarchrow,.cfends,.cfendcard,.cfsdunder){margin:0!important;gap:0!important}
#cf-side#cf-side :is(details,.cfends,.cfendcard,.cfprice,.cfwarn,.cfgrps,.cfptabs,.cffront){padding:2px 3px!important;margin:1px 0!important}
#cf-side#cf-side details>summary{padding:2px!important;line-height:16px}
#cf-side#cf-side details>summary .hint,#cf-side#cf-side .cfok{display:none!important}
#cf-side#cf-side .cfsdunder>.hint{font-size:10px!important;line-height:1.25}
#cf-side#cf-side :is(h3,h4,.cfpsec th){margin:4px 0 1px!important;padding:1px 0!important}
#cf-side#cf-side .cfsidepick{justify-content:center}
#cf-side#cf-side .cfsidepick>svg{width:120px!important;height:auto!important;max-height:64px}
#cf-side#cf-side .cfarchm{display:grid!important;grid-template-columns:46% minmax(0,1fr)!important;align-items:center;gap:4px!important}
#cf-side#cf-side .cfszrow{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
#cf-side#cf-side .cfszrow label{display:grid!important;grid-template-columns:12px minmax(0,1fr)!important;align-items:center;gap:2px!important}
#cf-side#cf-side .cfszrow input{height:20px!important}
#cf-side#cf-side .cfgrps button,#cf-side#cf-side .cfptabs button{min-height:18px!important;padding:0 4px!important;line-height:18px}
#cf-side#cf-side .cfendcard .cfech{display:none}
#cf-side#cf-side .cfprice{padding:1px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#cf-side#cf-side .cfarchrow,#cf-side#cf-side .cfarchrow *:not(option){min-height:0!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
#cf-side#cf-side .cfarchrow .cfarchm{height:21px!important;flex:1 1 100%!important;width:100%!important}
#cf-side#cf-side .cfarchrow b{display:block;font-size:10px!important;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:3px 0 1px!important}
#cf-side#cf-side #cf-morep,#cf-side#cf-side #cf-morep>*{margin:0!important;padding-top:0!important;padding-bottom:0!important;min-height:0!important}
#cf-side#cf-side .cfarchrow .skop{display:block!important}
#cf-side#cf-side .cfarchrow .cfarchm{height:auto!important;min-height:21px!important}
#cf-side#cf-side .cfarchrow .cfck{display:flex!important;flex-wrap:nowrap;gap:2px 8px!important;height:auto!important}
/* no empty space beside things (owner, Nov 27 2026, circled: "All of this is still unused space"): the side picker beside the ends,
   the rail heading folded into its rows, labels just as wide as they need, Finish, Furniture and Front layout side by side */
#cf-side#cf-side{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;column-gap:4px!important}
#cf-side#cf-side>*{grid-column:1/-1;min-width:0}
#cf-side#cf-side>.cfendcard{grid-column:1/5}
/* the side picker on its own line, big enough to read, a picked side's settings beside it (owner's screenshot review, Nov 29 2026) */
#cf-side#cf-side>.cfsidepick{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;padding:2px 0 4px!important;border:0!important}
#cf-side#cf-side>.cfsidepick>svg{width:100%!important;max-height:96px}
#cf-side#cf-side>.cfsidepick .cfsdunder{display:flex;flex-direction:column;gap:4px}
#cf-side#cf-side>.cfsidepick .cfsdunder:empty{display:none}#cf-side#cf-side>.cfsidepick:has(.cfsdunder:empty){grid-template-columns:minmax(0,1fr);justify-items:center}#cf-side#cf-side>.cfsidepick:has(.cfsdunder:empty)>svg{width:60%!important}
#cf-side#cf-side#cf-side .cfsidepick .cfsdunder label.cfsdfin{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;align-items:stretch}
#cf-side#cf-side .cfsidepick .cfsdunder select{width:100%!important}
#cf-side#cf-side>details:not([open]){grid-column:span 2;margin:0!important;padding:0!important;border:1px solid var(--line)!important;border-radius:3px!important}
#cf-side#cf-side>details:not([open])>summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:1px 4px!important;text-align:center;list-style:none}
#cf-side#cf-side>details:not([open])>summary::-webkit-details-marker{display:none}
#cf-side#cf-side .cfarchrow>b{display:none!important}
#cf-side#cf-side :is(label:not(.chip):not(.cfov5 label):not(.cfszrow label),.cfendcard label.cfer,.cfarchrow .cfarchm,#cf-morep label:not(.chip),.cffront label:not(.chip)){grid-template-columns:86px minmax(0,1fr)!important}
#cf-side#cf-side .cfprops th{width:86px!important}
#cf-side#cf-side .cfendcard label.cfer{grid-template-columns:34px minmax(0,1fr)!important}
#cf-side#cf-side>.cfendcard{grid-column:1/-1}
/* the tab row: tabs sit next to each other, no stretched gaps (owner, Nov 27 2026, circled) */
#cf-side#cf-side .cfgrps{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:1px!important;grid-template-columns:none!important}
#cf-side#cf-side .cfgrps button{flex:0 0 auto!important;width:auto!important}
/* one line for every box (owner, Nov 27 2026: "Fix the alignment"): the same label width everywhere and no extra inset on the groups */
#cf-side#cf-side{--cfl:86px}
#cf-side#cf-side :is(.cfendcard,.cfarchrow,.skmore,.skop,.skscr,#cf-morep,.cfmorep2,.cffront){padding-left:0!important;padding-right:0!important;border-left:0!important;border-right:0!important;margin-left:0!important}
#cf-side#cf-side .cfendcard{border:0!important;background:none!important;padding:0!important}
#cf-side#cf-side .cfendcard label.cfer,#cf-side#cf-side #cf-morep :is(.skmore,.skop)>label:not(.chip),#cf-side#cf-side .cfmorep2 label:not(.chip){grid-template-columns:86px minmax(0,1fr)!important}
#cf-side#cf-side#cf-side #cf-morep :is(.skmore,.skop)>label:not(.chip){grid-template-columns:86px minmax(0,1fr)!important;gap:4px!important}
#cf-side#cf-side>details:not([open]):not(.cffin):not(.cffurn):not(.skface){grid-column:1/-1!important}
#cf-side#cf-side>details:not([open]):not(.cffin):not(.cffurn):not(.skface)>summary{text-align:left}
#cf-side#cf-side .cfck{display:flex!important;flex-wrap:nowrap!important;gap:2px 8px!important;height:auto!important;align-items:center;justify-content:flex-start!important}
#cf-side#cf-side .cfck .cfckb{display:inline-flex!important;align-items:center;gap:3px;margin:0!important;white-space:nowrap}
#cf-side#cf-side input:is([type=checkbox],[type=radio]){width:13px!important;height:13px!important;min-height:0!important;flex:none!important;margin:0!important}
#cf-side#cf-side .cfck{flex-wrap:wrap!important}
#cf-side#cf-side table.cfprops{table-layout:fixed!important;width:100%!important}#cf-side#cf-side .cfprops th{width:90px!important;padding:0 4px 0 0!important}#cf-side#cf-side .cfprops td{padding:0!important}
#cf-side#cf-side table.cfprops,#cf-side#cf-side table.cfprops>tbody{display:block!important;width:100%!important}#cf-side#cf-side table.cfprops tr{display:grid!important;grid-template-columns:86px minmax(0,1fr);column-gap:4px;align-items:center;min-height:21px}#cf-side#cf-side table.cfprops tr>:is(th,td){width:auto!important;padding:0!important;height:auto!important;min-height:21px;display:flex;align-items:center}#cf-side#cf-side table.cfprops tr>[colspan]{grid-column:1/-1}
#cf-side#cf-side table.cfprops tr>th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important;line-height:21px}

/* every CAD window the same compact way (owner, Nov 27 2026: "go through the rest of the cad pages and do the same"): Materials & styles,
   door styles, catalogs, construction, reports and the rest opened over the drawing, and the Properties and Library panels: one small
   text size, 20-22px boxes and buttons, tight rows and tables, labels muted, no big padding */
:is(:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal):not(.skwin),.scrim .modal.cnmodal,.skcad #sk-left:not(:has(.cfmodal)),.skcad #sk-palette){font-size:11px!important;line-height:1.35}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal){padding:10px 14px!important;gap:6px!important;border-radius:6px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) :is(p,span,label,td,th,li,div,summary,small,b,a,legend,dt,dd){font-size:11px}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) .mhead{margin:0 0 6px!important;padding:0!important;min-height:0!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) .mhead h2{font-size:15px!important;margin:0!important;line-height:1.2}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) .mhead h2 .hint{font-size:11px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) :is(h3,h4){font-size:12px!important;margin:8px 0 3px!important}
:is(:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal):not(.skwin),.scrim .modal.cnmodal,.skcad #sk-left:not(:has(.cfmodal)),.skcad #sk-palette) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){height:22px!important;min-height:22px!important;padding:0 6px!important;font-size:11px!important;border-radius:3px!important;line-height:20px}
:is(:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal):not(.skwin),.scrim .modal.cnmodal,.skcad #sk-left:not(:has(.cfmodal)),.skcad #sk-palette) textarea{font-size:11px!important;padding:4px 6px!important}
:is(:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal):not(.skwin),.scrim .modal.cnmodal,.skcad #sk-left:not(:has(.cfmodal)),.skcad #sk-palette) :is(button,.btnlike,.chip):not(.ghost[aria-label=Close]){min-height:22px!important;padding:1px 8px!important;font-size:11px!important;border-radius:3px!important;line-height:18px}
:is(:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal):not(.skwin),.scrim .modal.cnmodal,.skcad #sk-left:not(:has(.cfmodal)),.skcad #sk-palette) input:is([type=checkbox],[type=radio]){width:13px!important;height:13px!important;min-height:0!important;margin:0 4px 0 0!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) table :is(th,td){padding:2px 6px!important;height:auto!important;line-height:18px}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) table th{font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:600}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) .hint{font-size:10.5px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) .mfoot{margin-top:6px!important;padding-top:6px!important;gap:6px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) :is(.drow,.seg){gap:4px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) :is(nav,.rcnav,.schscope) button{min-height:22px!important;padding:1px 8px!important;text-align:left}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) :is(.rcnav,.schscope){gap:2px!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) label:has(> :is(input:not([type=checkbox]):not([type=radio]),select)){gap:2px!important;margin:0!important}
:is(body:has(.skcad) .scrim .modal:not(.cfmodal):not(.skwin),.scrim .modal.cnmodal) details>summary{padding:3px 0!important}
/* the Properties panel: label left and box right on one line, small and tight */
.skcad #sk-left:not(:has(.cfmodal)) :is(label,.sklbl,th,td,span,b,div,p,summary){font-size:11px}
.skcad #sk-left:not(:has(.cfmodal)) :is(h2,h3,h4){font-size:11px!important;margin:4px 0 2px!important;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.skcad #sk-left:not(:has(.cfmodal)) label:has(> input:is([type=checkbox],[type=radio])){display:flex!important;align-items:center;gap:4px;flex-direction:row!important}
.skcad #sk-left:not(:has(.cfmodal)) table :is(th,td){padding:1px 3px!important}
.skcad #sk-palette .hint{font-size:10.5px!important}
/* Cabinet construction: its own rows down to the same small size (they carried their own bigger size) */
.scrim .modal.cnmodal.cnmodal>p,.scrim .modal.cnmodal.cnmodal .form :is(h3,p,label,input,select,th,td,span,small,button,.hint,summary,div){font-size:11px!important}
.scrim .modal.cnmodal.cnmodal .form :is(.hint,small){font-size:10.5px!important}
.scrim .modal.cnmodal.cnmodal #cnform>*{min-height:0!important;padding-top:1px!important;padding-bottom:1px!important}
.scrim .modal.cnmodal.cnmodal #cnform#cnform :is(label,label .hint,h3,th,td,.hint,input,select,button,p,small,span){font-size:11px!important;line-height:1.25}
.scrim .modal.cnmodal.cnmodal #cnform#cnform :is(input:not([type=checkbox]):not([type=radio]),select){height:22px!important;min-height:22px!important}
.scrim .modal.cnmodal.cnmodal #cnform#cnform>h3.gsub{margin:6px 0 2px!important;padding:2px 6px}
body:has(.skcad) .scrim .modal.schedm label.chip:has(> select){white-space:nowrap!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;width:max-content!important;max-width:none!important}
/* Library categories in one row across the top, flat words (owner, Nov 27 2026: "is there a better way to do these headers?" — the
   tabs down the edge cut "Cabinets", "Plumbing" and "Walls & openings" off) */
.skcad #sk-palette#sk-palette{display:flex!important;flex-direction:column!important}
.skcad #sk-palette>.skvtabs.skvtabs{width:100%;box-sizing:border-box;flex-direction:row!important;flex-wrap:nowrap;gap:1px!important;padding:3px!important;min-width:0;border-left:0!important;border-bottom:1px solid var(--line);overflow:visible;background:none}
.skcad #sk-palette#sk-palette>.skvtabs.skvtabs button{writing-mode:horizontal-tb!important;transform:none!important;padding:1px 3px!important;flex:1 1 auto;min-width:0;text-align:center;min-height:20px!important;max-height:none!important;font-size:10.5px!important;line-height:16px;white-space:nowrap;box-shadow:none!important}
.skcad #sk-palette>.skvtabs.skvtabs button[aria-pressed=true]{box-shadow:inset 0 -2px 0 var(--k2-accent,#14b894)!important}
.skcad #sk-palette>#sk-libside{flex:1;min-height:0}
/* the room tabs never squeezed to nothing (owner, Nov 27 2026: "Whole plan" cut off "and there's plenty of room on that bar") */
.skcad #sk-rooms{flex:none!important;overflow:visible!important}
/* the price on the top bar just as wide as the number, so the room tabs fit beside it */
.skcad #sk-price:not(.open){max-width:120px!important;overflow:hidden}
.skcad .skhead > .f{flex:0 1 auto!important;min-width:0}
.skcad .skhead > .f :is(input,select){width:130px!important;min-width:80px}
/* the material library's looks: a small swatch per face, faded until it's set */
.cattab input[type=color]{width:34px!important;min-width:34px;height:22px!important;padding:1px 2px!important;border-radius:3px;cursor:pointer}
.cattab input[type=color].catnone{opacity:.35}
.cattab input[type=checkbox]{width:14px!important;height:14px!important}
.catm .catfind.catfind{display:flex!important;flex-direction:row!important;align-items:center}
.catm .catfind select{width:auto!important;flex:none}
.catm .cattab :is([data-catf$="|t"],[data-catf$="|sw"],[data-catf$="|sl"],[data-catf$="|price"]){width:62px!important}
.catm .cattab [data-catf$="|name"]{width:170px!important}
.catm .cattab [data-catf$="|folder"]{width:90px!important}
.catm .cattab select[data-catf]{width:auto!important;max-width:130px}
.scrim .modal.catm.catm{width:min(1400px,96vw)!important;max-width:none!important}
.catm .cattab.cattab{width:max-content;min-width:100%}
/* 80% of the screen for the drawing (owner, Nov 27 2026: "I want 80% of the screen to be drawing area"): the room tree narrower
   and folding to a strip, the right panel narrower, the ribbon two short rows with no group names, no wall bar under the
   elevation (the tree and the Room menu pick walls), and the room tabs off the top line (Room is a menu now) */
html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock){grid-template-columns:160px minmax(0,1fr) 220px!important}
html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock.jtmin){grid-template-columns:22px minmax(0,1fr) 220px!important}
html.kstd .skwin.skcad > .skbody:not(:has(> .skjtree.jtdock)){grid-template-columns:minmax(0,1fr) 220px!important}
html.kstd .skjtree.jtdock .jtfold{padding:0 4px!important;min-height:0!important;height:18px;font-size:14px;line-height:1;border:0!important;background:none!important}
html.kstd .skjtree.jtdock .jthead [data-jtx]{display:none!important}
html.kstd .skjtree.jtdock.jtmin .jthead{padding:4px 2px;border:0}
html.kstd .skjtree.jtdock.jtmin :is(.jthead b,.jtbody){display:none!important}
html.kstd .skwin.skcad #sk-ribbon#sk-ribbon :is(#sk-rail > .seg:not(.rbins),.rbpin > .seg){grid-template-rows:repeat(2,18px)!important;padding:2px 6px!important}
html.kstd .skwin.skcad #sk-ribbon#sk-ribbon :is(#sk-rail > .seg,.rbpin > .seg) > .sktgl{display:none!important}
html.kstd .skwin.skcad #sk-ribbon#sk-ribbon :is(.rbbig,.rbsm,.skviews > button,.rbpin details > summary){height:18px!important}
html.kstd .skwin.skcad #sk-pal .skpal-row[aria-label="Which wall"]{display:none!important}
html.kstd .skwin.skcad .skhead :is(#sk-rooms,.skhl:has(+ #sk-rooms)){display:none!important}
html.kstd .skwin.skcad .skhead > .f{flex:none!important;width:auto!important;min-width:max-content!important;display:flex!important;align-items:center;gap:4px}
.cfbar > [hidden]{display:none!important}
/* the bays, one line each (owner, Nov 27 2026) */
.cfmodal .cfqsplit{display:flex;gap:4px;align-items:center;margin:2px 0}.cfmodal .cfqsplit::before{content:'Split';color:var(--muted);margin-right:4px}
.cfmodal .cfqsplit button{min-width:28px;height:22px;padding:0 6px!important;font-size:13px;line-height:1}
.cfmodal .cfsplits{flex-wrap:nowrap!important;min-width:0}.cfmodal .cfsplits > button{white-space:nowrap}.cfmodal .cfsplits > button{flex:1 1 0;min-width:0;padding-left:4px;padding-right:4px}
html.kstd .skwin.skcad #sk-ribbon#sk-ribbon .rbpin > .seg :is(.skviews,.rbstack,#sk-unitflip,.seg){grid-row:auto!important}
html.kstd .skwin.skcad #sk-views{position:relative}
html.kstd .skwin.skcad #sk-views > .skrfold{position:absolute!important;right:4px;top:3px;z-index:6;padding:0 5px!important;min-height:0!important;height:18px;font-size:14px;line-height:1;border:0!important;background:none!important}
html.kstd .skwin.skcad > .skbody.skrmin:has(> .skjtree.jtdock){grid-template-columns:160px minmax(0,1fr) 0!important}
html.kstd .skwin.skcad > .skbody.skrmin:has(> .skjtree.jtdock.jtmin){grid-template-columns:22px minmax(0,1fr) 0!important}
html.kstd .skwin.skcad > .skbody.skrmin:not(:has(> .skjtree.jtdock)){grid-template-columns:minmax(0,1fr) 0!important}
html.kstd .skwin.skcad > .skbody.skrmin > :is(#sk-left,#sk-palette){display:none!important}
html.kstd .skjtree.jtdock .jtparts{overflow-x:auto}html.kstd .skjtree.jtdock .jtt td{white-space:nowrap;font-size:10.5px;padding:0 3px}
.skjtree .jtparts{display:flex;flex-direction:column;padding-left:10px}
.skjtree .jtparts .jtpart{display:block;width:100%;text-align:left;background:none!important;border:0!important;padding:0 2px!important;min-height:0!important;height:auto;font-size:11.5px;line-height:1.5;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.skjtree .jtparts .jtpart:hover{text-decoration:underline}
/* Properties scroll as one; the picked thing's box is never squeezed to a sliver under the sizes (owner, Nov 28 2026: "what's overlapping here") */
html.kstd .skwin.skcad > .skbody > #sk-left{overflow:auto!important;max-height:58vh}
html.kstd .skwin.skcad > .skbody > #sk-left #sk-panel{flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;min-height:0}
/* the picked cabinet's name box under its sizes only repeats the name: not in the standard Kerf (owner, Nov 28 2026: "what's overlapping here") */
html.kstd .skwin.skcad #sk-left #sk-panel > .skpicked:has(> .skcabbox):not(:has(.skchg, .sksmart, #sk-mods, .drow > :not([hidden]), .skop > :not([hidden]))){display:none!important}
html.kstd .skwin.skcad #sk-left #sk-qbar{border-bottom:1px solid rgb(47,143,95)!important;border-radius:10px!important;padding-bottom:8px!important}
.skjtree.jtdock .jtrow{padding:1px 0 1px 12px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the drawing screen: the look's paper; a dark paper is true black (kerf2.js k2Vars, owner Nov 28 2026) */
html.k2 .skwin.skcad #sk-views [id^="sk-stage"],html.k2 .skwin.skcad #sk-views > div{background:var(--k2-paper,#000)!important}
/* Standard Kerf menus look like the classic ones (owner, Nov 28 2026): a dark panel, each item its own rounded row */
html.kstd .cadmenu > div,html.kstd .cadmore > div[role=menu]{background:var(--k2-panel)!important;border:1px solid var(--k2-line)!important;border-radius:10px!important;padding:6px!important;gap:3px!important;box-shadow:0 10px 30px rgba(0,0,0,.45)!important}
html.kstd .cadmenu [role=menuitem]{background:color-mix(in srgb,var(--k2-text) 7%,transparent)!important;border-radius:6px!important;padding:7px 12px!important;color:var(--k2-text)!important}
html.kstd .cadmenu [role=menuitem]:hover,html.kstd .cadmenu [role=menuitem]:focus{background:color-mix(in srgb,var(--k2-accent) 28%,transparent)!important}
html.kstd .cadmenu hr{border-top-color:var(--k2-line)!important;margin:4px 0!important}

/* template colors everywhere (owner, Nov 28 2026: "Everything should be yellow or black in every menu") */
html.k2 .cadmenu [role=menuitem]:hover,html.k2 .cadmenu [role=menuitem]:focus{background:color-mix(in srgb,var(--k2-accent) 28%,transparent)!important}
/* nothing over the drawing or the library list (owner, Nov 28 2026: "this is overlapping") */
.skvlabel{display:none!important}
html.k2 .sklibhead{position:static!important;box-shadow:none!important}html.k2 .sklibhead > .hint{display:none!important}
/* Standard Kerf with a template look: nothing stays green (owner, Nov 28 2026: "Everything should be yellow or black in every menu"; the sweep found these) */
html.kstdcol :is(.skwin.skcad,.skctx,.cfmodal) :is(button[aria-pressed="true"],button.primary,.seg button[aria-pressed="true"],#sk-save){background:var(--k2-accent)!important;color:var(--k2-on)!important;border-color:var(--k2-accent)!important;box-shadow:none!important;text-shadow:none!important}
/* the cabinet window's picked part and picked opening in the template's color, not green (owner, Dec 1 2026: "i have the black and yellow format selected and my openings are still showing green") */
:is(html.k2,html.kstdcol) .cfmodal.cfmodal.cfmodal.cfmodal #cf-svg .cfsel{fill:color-mix(in srgb,var(--k2-accent) 38%,transparent)!important;stroke:var(--k2-accent)!important}
:is(html.k2,html.kstdcol) .cfmodal.cfmodal.cfmodal.cfmodal #cf-svg .cf-opsel{fill:color-mix(in srgb,var(--k2-accent) 24%,transparent)!important;stroke:var(--k2-accent)!important}
:is(html.k2,html.kstdcol) .cfmodal.cfmodal.cfmodal.cfmodal #cf-svg :is(.cf-mkghost,.cf-mkh rect){stroke:var(--k2-accent)!important}
html.kstdcol #sk-fsx{background:var(--k2-accent)!important;color:var(--k2-on)!important;border-color:var(--k2-accent)!important}
html.kstdcol .skwin.skcad .rbbig:not([aria-pressed=true]):not(.on){background:transparent!important;border-color:transparent!important}
html.kstdcol .skwin.skcad :is(.rbbig[aria-pressed=true],.rbbig.on,.skribbon [aria-pressed=true].rbsm,.skribbon .skmoldpick[open] > summary){background:color-mix(in srgb,var(--k2-accent) 20%,transparent)!important;border-color:var(--k2-accent)!important}
html.kstdcol .skwin.skcad .skissues .skfix{border-color:var(--k2-accent)!important}
html.kstdcol .skwin.skcad .skwalk{background:var(--k2-panel)!important;border-color:var(--k2-accent)!important}
html.kstdcol .skwin.skcad .skwalk li.done{color:var(--k2-accent)!important}
html.kstdcol :is(.skwin.skcad,.cadmenu) [role=menuitem]:is(:hover,:focus){background:color-mix(in srgb,var(--k2-accent) 18%,transparent)!important}
/* the hood's Round ends: one end per line, its buttons never squeezed (found by the CAD sweep, Nov 28 2026) */
#cf-side#cf-side .cfszrow.cfrnd{display:block!important}
#cf-side#cf-side .cfrnd .cfer.cfcurve{display:block!important;margin:4px 0!important}
#cf-side#cf-side .cfrnd .cfer.cfcurve > b{display:block;margin:0 0 2px}
#cf-side#cf-side .cfrnd .cfesh{display:flex!important;flex-wrap:wrap;gap:4px;align-items:center;width:100%}
#cf-side#cf-side .cfrnd .cfrndc{display:flex!important;flex-wrap:wrap;gap:4px}
#cf-side#cf-side .cfrnd .cfrndc button{flex:none!important;white-space:nowrap;width:auto!important;min-width:0}
#cf-side#cf-side .cfrnd .cfesh input{width:70px}
/* Chip's chat in the CAD: its own panel on the right, over Properties while it's on (it was laid out behind the drawing; Nov 28 2026) */
.skwin.skcad .skbody.skchaton > .skchat{display:flex!important;flex-direction:column;position:fixed!important;top:84px;right:8px;bottom:30px;left:auto!important;width:340px!important;max-width:calc(100vw - 16px);z-index:60;background:var(--k2-panel,var(--panel,#121212));border:1px solid var(--k2-line,var(--line,#333));border-radius:8px;box-shadow:0 10px 28px rgba(0,0,0,.45);overflow:auto}
.skchat .skclog .linkbtn + .linkbtn{margin-left:12px}
/* the hardware library window (owner, Nov 28 2026) */
.hwlwin{max-width:min(1100px,96vw);width:96vw;display:flex;flex-direction:column;max-height:90vh}
.hwlwin .hwlbar{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 8px}
.hwlwin .hwlbar label{display:flex;gap:6px;align-items:center}
.hwlwin .hwlbar input{width:min(320px,60vw)}
.hwlwin .hwlbody{display:flex;gap:10px;min-height:0;flex:1;overflow:hidden}
.hwlwin .hwltree{display:flex;flex-direction:column;gap:2px;flex:0 0 190px;overflow:auto}
.hwlwin .hwltree button{text-align:left;justify-content:space-between;display:flex;gap:6px;background:transparent;border:1px solid transparent;padding:5px 8px}
.hwlwin .hwltree button[aria-pressed="true"]{border-color:var(--accent,#22e6b8);font-weight:600}
.hwlwin .hwlcards{flex:1;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;align-content:start;padding:2px}
.hwlwin .hwlcard{border:1px solid var(--line,#333);border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px}
.hwlwin .hwlcard.on{border-color:var(--accent,#22e6b8)}
.hwlwin .hwlcab{display:flex;gap:4px;align-items:center}.hwlwin .hwlcab button:first-child{flex:1}.hwlwin .hwlcab b{min-width:18px;text-align:center}
.hwlwin .hwlcard svg{width:100%;height:64px;background:var(--panel2,rgba(127,127,127,.08));border-radius:6px;opacity:.85}
.hwlwin .hwlname{flex:1;font-size:.9em;line-height:1.25}
.hwlwin .hwlname small{display:block;opacity:.7}
.hwlwin .hwlname small.hwlmine{display:inline;color:var(--accent,#22e6b8)}
@media (max-width:640px){.hwlwin .hwlbody{flex-direction:column}.hwlwin .hwltree{flex:none;flex-direction:row;flex-wrap:wrap}}

/* something picked: Properties only, the library comes back when nothing is picked (owner's screenshot review, Nov 29 2026) */
.skbody.skrbody.skSelOn > .skpalette,.skbody.skrbody.skSelOn > .skgripR{display:none!important}
.skaccq{display:inline-flex;gap:3px;align-items:center;margin:0 4px}.skaccq b{min-width:1.4em;text-align:center}.skaccq button{padding:0 6px;min-height:22px}
.hwlwin .hwlfav{display:block;color:var(--accent,#0f766e)}.hwlwin .hwlqty{display:flex;gap:4px;align-items:center;font-size:12px}.hwlwin .hwlqty input{width:4.5em}
.hwlwin .hwlfaved{display:flex;flex-wrap:wrap;gap:4px}.hwlwin .hwlfaved input{width:6.5em;min-width:0}
.cfacc1{display:flex;align-items:center;gap:4px}.cfacc1 .cfaccn{flex:1;min-width:0}.cfacc1 .skaccq{margin-left:auto}
/* the elevation on the full-screen grid, no paper sheet in CAD (owner's screenshot review, Nov 29 2026) */
#sk-svg > .sk-epaper{display:none}
.hwlwin .hwlname small.hwllist{display:block;opacity:.8}
.cfacc1 .cfaccpn{display:block;opacity:.75}
.toowin .toonums{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.toowin .toonums b{font-size:1.05em}.toowin .toostock{opacity:.7}.toowin .toofoot{margin-top:8px}
/* Construction: the picked cabinets' settings, laid out like the hardware library (owner, Nov 29 2026) */
.cpwin .hwlbody{flex-direction:row!important}.cpwin .hwltree{flex:0 0 160px!important;flex-direction:column!important;flex-wrap:nowrap!important}
.cpwin .cpbody{flex:1;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:2px 4px}
.cpwin .cpset{border:1px solid var(--line,#333);border-radius:8px;padding:6px 10px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0}
.cpwin .cpset legend{padding:0 6px;font-weight:600}
.cpwin .cpf{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;align-items:center;margin:0}
.cpwin .cpf>span{color:var(--muted)}.cpwin .cpf :is(input,select){width:100%;min-width:0}
.cpwin .cpf.cpown :is(input,select){border-color:var(--accent,#22e6b8)}
.cpwin .mfoot{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
@media (max-width:700px){.cpwin .hwlbody{flex-direction:column!important}.cpwin .hwltree{flex:none!important;flex-direction:row!important;flex-wrap:wrap!important}.cpwin .cpset{grid-template-columns:minmax(0,1fr)}}

/* the door and part editor in the Kerf Standard Menu look (owner, Nov 29 2026) */
/* the door editor (owner, Nov 29 2026 on #1252: "it can still be bigger ... Put it under"): the menu and its fields in one column on the left, the picture takes the rest */
.cfpedit.kmenu{display:grid!important;grid-template-columns:minmax(280px,340px) minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr);gap:10px;align-items:start}
.cfpedit.kmenu>header{grid-column:1/-1}.cfpedit.kmenu>.kmnav{grid-column:1;grid-row:2}.cfpedit.kmenu>.kmpane{grid-column:1;grid-row:3}.cfpedit.kmenu>.cfpesvg{grid-column:2;grid-row:2/4}
.cfpedit.kmenu .kmnav{flex-direction:row!important;flex-wrap:wrap}
.cfpedit.kmenu .kmnav{display:flex;flex-direction:column;gap:2px}
.cfpedit.kmenu .kmnav button{text-align:left;background:transparent;border:1px solid transparent;padding:5px 8px;border-radius:6px}
.cfpedit.kmenu .kmnav button[aria-pressed="true"]{border-color:var(--accent,#22e6b8);font-weight:600}
.cfpedit.kmenu .kmpane{display:flex;flex-direction:column;gap:10px;min-width:0}
.cfpedit.kmenu .kmset{border:1px solid var(--line,#333);border-radius:8px;padding:6px 10px 10px;margin:0;display:flex;flex-direction:column;gap:6px}
.cfpedit.kmenu .kmset legend{padding:0 6px;font-weight:600}
.cfpedit.kmenu .kmset .skop{border:0!important;padding:0!important;background:none!important;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.cfpedit.kmenu .kmset label{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:center;margin:0}
.cfpedit.kmenu .kmset label :is(input,select){width:100%;min-width:0}
/* the door picture big enough to see each change (owner, Nov 29 2026 on #1189: "make this section bigger please") */
.cfpedit.kmenu .cfpesvg{width:100%;height:calc(100vh - 230px)!important;min-height:420px;max-height:none!important;background:var(--panel,#0e1a17);border:1px solid var(--line,#333);border-radius:8px}

/* Materials & styles in the Kerf Standard Menu look (owner, Nov 29 2026): every group down the left, the cabinet groups under Cabinets */
.schedm .schbody{display:flex;gap:10px;align-items:flex-start}
.schedm .schscope.kmnav{display:flex!important;flex-direction:column;gap:2px;flex:0 0 170px}
.schedm .schscope.kmnav button{text-align:left;background:transparent;border:1px solid transparent;padding:5px 8px;border-radius:6px}
.schedm .schscope.kmnav button.kmsub{padding-left:24px!important;font-size:.92em}.schedm .schscope.kmnav button[data-schs="cab"]{font-weight:600}
.schedm .schscope.kmnav button[aria-pressed="true"]{border-color:var(--accent,#22e6b8);font-weight:600}
.schedm .schmain{flex:1;min-width:0;border:1px solid var(--line,#333);border-radius:8px;padding:8px 10px}

/* Cabinet construction in the Kerf Standard Menu look (owner, Nov 29 2026): categories down the left, the building methods first */
.cnmodal .kmbody{display:flex;gap:12px;align-items:flex-start;min-height:0}
.cnmodal .cncats.kmnav{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:2px;flex:0 0 180px;border:0!important;padding:0!important;background:none!important;position:sticky;top:0}
.cnmodal .cncats.kmnav button{text-align:left;justify-content:flex-start;background:transparent!important;border:1px solid transparent!important;padding:5px 8px;border-radius:6px;width:100%}
.cnmodal .cncats.kmnav button[aria-pressed="true"]{border-color:var(--accent,#22e6b8)!important;font-weight:600;color:inherit!important}
.cnmodal .cnmethods .drow select{width:auto;max-width:260px}.cnmodal .cncats.kmnav .cnunit{text-align:left;align-self:flex-start;margin-top:8px;color:var(--muted);font-size:.85em;padding:0 8px}
.cnmodal .kmpane{flex:1;min-width:0;border:1px solid var(--line,#333);border-radius:8px;padding:8px 12px;display:flex;flex-direction:column;gap:10px}

/* the Keyboard window in the Kerf Standard Menu look (owner, Nov 29 2026) */
.kzwin .kzpane{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;overflow:auto}
.kzwin #kz-q{max-width:320px}
.kzwin .kzgrid{display:block!important}
.kzwin .kztab td:first-child{width:150px}.kzwin .kztab td:last-child{width:32px}.kzwin .kztab{width:100%;border:1px solid var(--line,#333);border-radius:8px}
/* cabinet part layers in the Layers window (owner, Nov 29 2026) */
#sk-lywin .lyparts{margin-top:14px;width:auto;min-width:340px}#sk-lywin .lyparts td,#sk-lywin .lyparts th{padding:3px 14px 3px 0;text-align:left}#sk-lywin .lyparts .lpon{min-height:26px;padding:0 12px}#sk-lywin .lyparts .lpon.on{border-color:var(--accent)}#sk-lywin .lyparts tr.off td:first-child{opacity:.5}#sk-lywin .lyparts input[type=color]{width:44px;height:26px;padding:0 2px}
/* a picked choice is outlined in the template's color, not filled (owner, Nov 29 2026: "just outline the selection with the color associated with the template here. Dont completely fill them") */
html :is(.skwin.skcad,.skctx,.cfmodal) .seg.cfcells:not(.cfgrps):not(.cfkinds) button[aria-pressed="true"]{background:transparent!important;color:var(--k2-accent,var(--accent))!important;border:1px solid var(--k2-accent,var(--accent))!important;box-shadow:inset 0 0 0 1px var(--k2-accent,var(--accent))!important}
/* the hinge catalog (owner, Nov 29 2026): the drilling as short label / value lines on each card */
.hcwin .hcwspec{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;margin:4px 0 6px;font-size:var(--t-2,.8rem)}.hcwin .hcwspec dt{color:var(--muted)}.hcwin .hcwspec dd{margin:0;font-variant-numeric:tabular-nums}
.hcwin .hcwcard.on{border-color:var(--k2-accent,var(--accent))}

/* Layers in the Kerf Standard Menu look (notebook #1194) */
.lywin .hwlbody{flex-direction:row}.lywin .lypane{flex:1;min-width:0;overflow:auto}.lywin .hwltree small{opacity:.7;font-weight:400}
.lywin .lytab{width:100%}.lywin .lytab th,.lywin .lytab td{font-size:inherit}.lywin .mfoot{margin-top:10px}
.lywin .lytab select{min-width:7em}
.modal.lywin{max-width:min(1080px,96vw)!important;width:min(1080px,96vw)}.lywin .hwltree{flex:0 0 150px!important}
/* no tick boxes in the CAD (owner, Nov 29 2026: "clean, sleek, minimal ... no check boxes. Use another method"): every on/off in the CAD's
   windows reads No | Yes, the picked side outlined in the template color, like the other choices */
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]{-webkit-appearance:none!important;appearance:none!important;position:relative!important;display:inline-block!important;vertical-align:middle;box-sizing:border-box!important;width:64px!important;min-width:64px!important;max-width:none!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border:1px solid var(--line,#3a403d)!important;border-radius:var(--k2-r,4px)!important;background:transparent!important;cursor:pointer;font:500 11px/1 var(--k2-font,system-ui,sans-serif)!important;flex:none!important;overflow:visible!important}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]::before,body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]::after{position:absolute;top:-1px;width:33px;height:22px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--k2-r,4px);color:var(--muted,#8b938f)}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]::before{content:"No";left:-1px;border-color:var(--k2-accent,var(--accent,#22e6b8));color:var(--text,#e6e9e7)}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]::after{content:"Yes";right:-1px}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]:checked::before{border-color:transparent;color:var(--muted,#8b938f)}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]:checked::after{border-color:var(--k2-accent,var(--accent,#22e6b8));color:var(--text,#e6e9e7)}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]:lang(es)::after{content:"Sí"}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]:focus-visible{outline:2px solid var(--k2-accent,var(--accent,#22e6b8));outline-offset:2px}
/* the parts list's Build column holds that No | Yes switch (it was 20px for a tick box, so the switch lay over the part's name and a
   click on the name flipped it, Dec 5 2026) */
body:has(.skwin) .cfparts th.cfpu,body:has(.skwin) .cfparts td.cfpu{width:46px;padding:0 3px 0 0}
body:has(.skwin) :is(#kcb#kcb#kcb,*) .cfparts td.cfpu input[type=checkbox]{width:42px!important;min-width:42px!important;height:18px!important;min-height:18px!important;font-size:10px}
body:has(.skwin) :is(#kcb#kcb#kcb,*) .cfparts td.cfpu input[type=checkbox]::before,body:has(.skwin) :is(#kcb#kcb#kcb,*) .cfparts td.cfpu input[type=checkbox]::after{width:22px;height:18px}
body:has(.skwin) :is(#kcb#kcb#kcb,*) input[type=checkbox]:disabled{opacity:.45;cursor:default}

/* Show is a setting opened from View, not a button on the drawing screen (owner, Nov 29 2026 on #1187) */
.skshowhd{display:none}.skstatus #sk-show > summary{display:none}
.skstatus #sk-show[open] > .skshowbox{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);z-index:1400;max-height:80vh;overflow:auto;min-width:300px}
.skstatus #sk-show .skshowhd{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.skshowx{padding:0 8px;font-size:18px;line-height:1;background:none;border:0;cursor:pointer;color:inherit}
.skshowbox .skshowtab{width:320px!important;max-width:320px}.skshowbox .skshowtab th{width:auto!important;white-space:normal!important;padding:2px 8px 2px 0!important}.skshowbox .skshowtab td{width:80px!important}.skstatus #sk-show[open] > .skshowbox{width:auto!important;max-width:min(700px,calc(100vw - 24px))}.skshowtab input[type=color]{width:34px!important;height:20px!important;padding:0!important;vertical-align:middle}.skshowbox .skdetail{margin-bottom:4px}
/* the room tree, docked on the left (owner, Dec 5 2026: "The room tree just doesn't look good"): a CAD model tree, one quiet line
   per wall and cabinet, the cabinet's code in a small tag, sizes at the right, the picked cabinet lit; no links, no underlines */
html.kstd .skjtree.jtdock .jtbody{padding:4px 0 8px}
html.kstd .skjtree.jtdock details{padding-left:0}
html.kstd .skjtree.jtdock details>summary{list-style:none;display:flex;align-items:center;gap:2px;padding:0 6px 0 4px;min-height:24px}
html.kstd .skjtree.jtdock details>summary::-webkit-details-marker{display:none}
html.kstd .skjtree.jtdock details>summary::before{content:"";flex:none;width:0;height:0;border-left:4px solid currentColor;border-top:3.5px solid transparent;border-bottom:3.5px solid transparent;opacity:.45;margin:0 6px 0 2px;transition:transform .12s}
html.kstd .skjtree.jtdock details[open]>summary::before{transform:rotate(90deg)}
html.kstd .skjtree.jtdock .jtroom>summary b{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;opacity:.7}
html.kstd .skjtree.jtdock .jtwall{margin:0}
html.kstd .skjtree.jtdock .jtcab{margin:0}
html.kstd .skjtree.jtdock .jtline{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:6px;width:100%;min-width:0;padding:3px 6px;border-radius:4px;font-size:12px;line-height:1.25;cursor:pointer;color:inherit}
html.kstd .skjtree.jtdock .jtcab .jtline{padding-left:22px}
html.kstd .skjtree.jtdock .jtline:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
html.kstd .skjtree.jtdock .jtline:focus-visible{outline:1px solid var(--accent,#3ddc84);outline-offset:-1px}
html.kstd .skjtree.jtdock .jtline.on{background:color-mix(in srgb,var(--accent,#3ddc84) 18%,transparent);color:var(--accent,#3ddc84)}
html.kstd .skjtree.jtdock .jtk{flex:none;min-width:22px;padding:0 3px;border-radius:3px;text-align:center;font:600 9.5px/15px var(--mono,monospace);background:color-mix(in srgb,currentColor 10%,transparent)}
html.kstd .skjtree.jtdock .jtn{flex:none;min-width:12px;font-variant-numeric:tabular-nums;opacity:.6;font-size:11px}
html.kstd .skjtree.jtdock .jtl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.kstd .skjtree.jtdock .jtw{flex:none;font-variant-numeric:tabular-nums;font-size:11px;opacity:.55}
html.kstd .skjtree.jtdock .jtwall>summary .jtline{padding-left:0}
html.kstd .skjtree.jtdock .jtwall>summary{padding-left:14px}
/* CAD on a phone: fits the width (owner, Dec 5 2026: "this should all fit the screen ... every page and menu"): the window is the
   screen's width, its bars wrap, and the room tree, drawing and properties stack one over the other */
@media (max-width:700px){
html.kstd .skwin.skcad{width:100vw!important;max-width:100vw!important;min-width:0!important;box-sizing:border-box;overflow-x:hidden!important}
html.kstd .modal.skwin.skcad.skfull{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;grid-template-rows:none!important;grid-auto-rows:auto!important}
html.kstd .modal.skwin.skcad.skfull > *,html.kstd .modal.skwin.skcad.skfull > .mfoot > *{grid-column:1!important;order:0!important;position:relative!important;inset:auto!important;transform:none!important;grid-row:auto!important;min-width:0!important;max-width:100%!important}
html.kstd .modal.skwin.skcad.skfull > .skbody{min-height:0}
html.kstd .modal.skwin.skcad.skfull > .mfoot > *{order:-1!important}
html.kstd .skwin.skcad :is(.skhead,#sk-ribbon,.rbbody,.rbpin,#sk-rail,.rbrow,.sksteps,.skstmode,.skstatus,.mfoot > *){flex-wrap:wrap!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
html.kstd .skwin.skcad .skhead > .f :is(input,select){width:110px!important;min-width:0}
html.kstd .skwin.skcad.skcad.skcad #sk-ribbon .rbpin{flex-wrap:wrap!important;overflow:visible!important;max-width:100%!important}
html.kstd .skwin.skcad > .skbody,html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock),html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock.jtmin),html.kstd .skwin.skcad > .skbody:not(:has(> .skjtree.jtdock)),html.kstd .skwin.skcad > .skbody.skrmin:has(> .skjtree.jtdock){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:max-content minmax(52vh,1fr) max-content max-content!important;overflow:hidden auto}
html.kstd .skwin.skcad > .skbody > .skjtree.jtdock{grid-column:1!important;grid-row:1!important;max-height:24vh!important;min-height:0!important;overflow:auto!important}html.kstd .skwin.skcad > .skbody > .skjtree.jtdock .jtbody{flex:none!important;overflow:visible!important}
html.kstd .skwin.skcad > .skbody > #sk-views,html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock) > #sk-views{grid-column:1!important;grid-row:2!important}
html.kstd .skwin.skcad > .skbody > #sk-left,html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock) > #sk-left{grid-column:1!important;grid-row:3!important;max-height:none!important}
html.kstd .skwin.skcad > .skbody > #sk-palette,html.kstd .skwin.skcad > .skbody:has(> .skjtree.jtdock) > #sk-palette{grid-column:1!important;grid-row:4!important}
}
