
/* Layout: full-bleed paper with a dot grid; ink tools float on the left, away from the drawing hand; board bar across the top; one big snapshot button at the bottom. Single light look on purpose: ink colors are chosen for paper. */
:root {
  --paper: #F3F3F0;
  --dot: #CBCBC5;
  --chrome: #FFFFFF;
  --ink: #1C1C1C;
  --muted: #5B5C5A;
  --line: #DADAD4;
  --olive: #4F5B2D;
  --olive-soft: #E4E8D8;
  --on-olive: #FFFFFF;
  --danger: #9E3626;
  --shadow: 0 6px 22px rgba(28, 28, 28, .13), 0 1px 3px rgba(28, 28, 28, .08);
  --font-ui: "Heebo", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  color-scheme: light;
}
html, body { height: 100%; margin: 0; overscroll-behavior: none; }
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 15px;
  overflow: hidden; overscroll-behavior: none; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#v-canvas { position: absolute; inset: 0; direction: rtl; overflow: hidden; }
#stage {
  position: absolute; inset: 0; touch-action: none; overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.3px);
  background-size: 26px 26px;
}
#stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#stage.pan { cursor: grab; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.panel { background: var(--chrome); border-radius: 14px; box-shadow: var(--shadow); }
.ib {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0;
}
.ib svg { width: 22px; height: 22px; }
.ib[aria-pressed="true"] { background: var(--olive); color: var(--on-olive); }
.ib:disabled { opacity: .35; cursor: default; }
.tb {
  height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent;
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.tb svg { width: 19px; height: 19px; flex-shrink: 0; }
.sep { width: 1px; align-self: stretch; background: var(--line); margin: 8px 2px; }
.hsep { height: 1px; width: 32px; background: var(--line); margin: 4px 0; }

/* top bar */
#top {
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px)); left: calc(10px + env(safe-area-inset-left, 0px));
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none;
}
#top > * { pointer-events: auto; }
.grp { display: flex; align-items: center; gap: 2px; padding: 4px; min-width: 0; }
#boardBtn {
  height: 44px; border: 0; background: transparent; border-radius: 10px; padding: 0 10px;
  display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 46vw;
}
#boardTitle { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#boardClient { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#boardBtn svg { width: 16px; height: 16px; flex-shrink: 0; }
#v-canvas .syncstatus { border: 0; background: transparent; min-height: 36px; border-radius: 8px; font-size: 12px; color: var(--muted); padding: 0 8px 0 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
#v-canvas .syncstatus.ok { color: var(--olive); }
#v-canvas .syncstatus.err { color: var(--danger); font-weight: 700; }
.badge {
  min-width: 20px; height: 20px; border-radius: 10px; background: var(--olive); color: var(--on-olive);
  font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
  font-variant-numeric: tabular-nums;
}

/* tool rail */
#rail {
  position: absolute; left: calc(10px + env(safe-area-inset-left, 0px)); top: calc(70px + env(safe-area-inset-top, 0px));
  max-height: calc(100% - 160px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; width: 56px; box-sizing: border-box;
}
#rail::-webkit-scrollbar { display: none; }
.sw {
  width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--chrome); box-shadow: 0 0 0 1px var(--line);
  padding: 0; flex-shrink: 0; margin: 3px 0;
}
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
#customWrap { display: block; position: relative; width: 30px; height: 30px; margin: 3px 0; flex-shrink: 0; }
#customWrap input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
#customDot {
  display: block; width: 30px; height: 30px; border-radius: 50%; box-sizing: border-box; border: 3px solid var(--chrome); box-shadow: 0 0 0 1px var(--line);
  background: conic-gradient(#A33A2A, #C98A1A, #4F5B2D, #2F5D8A, #6B4C8A, #A33A2A);
}
.szb { width: 44px; height: 36px; border: 0; border-radius: 10px; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.szb span { display: block; border-radius: 50%; background: var(--ink); }
.szb[aria-pressed="true"] { background: var(--olive-soft); }
#fingerBtn { font-size: 10px; flex-direction: column; gap: 0; height: 52px; line-height: 1.1; font-weight: 700; }
#fingerBtn svg { width: 20px; height: 20px; }

/* bottom */
#shoot {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  height: 58px; padding: 0 26px; border: 0; border-radius: 29px; background: var(--olive); color: var(--on-olive);
  font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 22px rgba(79, 91, 45, .34);
}
#shoot svg { width: 24px; height: 24px; }
#shoot:active { transform: translateX(-50%) scale(.97); }
#zoom {
  position: absolute; left: calc(10px + env(safe-area-inset-left, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; padding: 3px; gap: 0;
}
#zoomLbl { min-width: 50px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
#zoom .ib { width: 40px; height: 40px; }
#fitBtn { height: 40px; font-size: 13px; padding: 0 10px; }

/* selection bar */
#selbar {
  position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 4px; max-width: calc(100% - 140px); overflow-x: auto;
}
#selCount { font-size: 13px; color: var(--muted); padding: 0 10px; white-space: nowrap; }
#delSel { color: var(--danger); }

/* hint, toast, flash */
#hint {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 140px));
  text-align: center; color: var(--muted); pointer-events: none; display: flex; flex-direction: column; gap: 8px;
}
#hint strong { color: var(--ink); font-size: 22px; font-weight: 800; text-wrap: balance; }
#hint p { margin: 0; line-height: 1.6; font-size: 15px; }
#toast {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: #F4F2EA; border-radius: 12px; padding: 10px 14px; font-size: 14px;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 40px); box-shadow: var(--shadow);
}
#toast button { background: transparent; border: 0; color: #CFE0A8; font-weight: 700; text-decoration: underline; padding: 4px; min-height: 32px; }
#flash { position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; }
#flash.on { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
#notice {
  position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px));
  background: #FFF4E0; color: #6A4210; border-radius: 10px; padding: 8px 12px; font-size: 13px; max-width: 320px; box-shadow: var(--shadow);
}

/* text editor */
.ted {
  position: absolute; margin: 0; padding: 2px 4px; border: 1.5px dashed var(--olive); border-radius: 4px;
  background: rgba(255, 255, 255, .7); resize: none; overflow: hidden; direction: rtl; text-align: right;
  font-family: var(--font-ui); font-weight: 500; line-height: 1.3; min-width: 140px; white-space: pre; outline: none;
  -webkit-user-select: text; user-select: text; box-sizing: content-box;
}

/* drawers */
#scrim { position: absolute; inset: 0; background: rgba(28, 28, 28, .18); }
.drawer {
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px)); width: min(380px, calc(100% - 20px));
  display: flex; flex-direction: column; overflow: hidden;
}
.dhead { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.dhead h2 { margin: 0; font-size: 18px; font-weight: 800; flex-grow: 1; }
.dbody { overflow-y: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 16px; -webkit-user-select: text; user-select: text; }
.fs { display: flex; flex-direction: column; gap: 8px; }
.fs h3 { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.fld input {
  height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--chrome);
}
.row2 { display: flex; gap: 8px; }
.row2 > * { flex: 1 1 0; min-width: 0; }
.pbtn {
  height: 44px; border: 0; border-radius: 10px; background: var(--olive); color: var(--on-olive); font-weight: 700; font-size: 15px; padding: 0 16px;
}
.obtn { height: 40px; border: 1px solid var(--ink); border-radius: 10px; background: transparent; font-weight: 700; font-size: 14px; padding: 0 14px; }
.blist { display: flex; flex-direction: column; }
.brow {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: right; width: 100%;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 8px; border-radius: 0;
}
.brow[aria-current="true"] { background: var(--olive-soft); border-radius: 8px; }
.brow .t { font-weight: 700; font-size: 15px; }
.brow .m { font-size: 12px; color: var(--muted); }
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.snap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); display: block; }
.snap .m { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.snap .acts { display: flex; gap: 4px; }
.snap .acts button { flex: 1 1 0; height: 34px; border: 1px solid var(--line); background: var(--chrome); border-radius: 8px; font-size: 12px; font-weight: 700; }
.snap .acts .del { color: var(--danger); }
.snap .acts .del.arm { background: var(--danger); color: #FFFFFF; border-color: var(--danger); }
.fgrp { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fhead { display: flex; align-items: center; gap: 8px; }
.fhead .n { font-weight: 700; font-size: 15px; flex-grow: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fhead .m { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fhead button { height: 34px; border: 1px solid var(--ink); border-radius: 8px; background: transparent; font-size: 12px; font-weight: 700; padding: 0 10px; white-space: nowrap; }
.fthumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fthumb { border: 1px solid var(--line); background: var(--chrome); border-radius: 8px; padding: 4px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.fthumb[aria-current="true"] { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
.fthumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--paper); border-radius: 4px; display: block; }
.empty { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.big-preview { position: absolute; inset: 0; background: rgba(28, 28, 28, .82); display: flex; align-items: center; justify-content: center; padding: 24px; }
.big-preview img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: var(--shadow); }

@media (max-width: 640px) {
  .lbl { display: none; }
  #boardBtn { max-width: 38vw; }
  #boardClient { display: none; }
  #shoot { height: 52px; padding: 0 20px; font-size: 16px; }
  #fitBtn { display: none; }
}
@media (prefers-reduced-motion: reduce) { #flash.on { animation: none; } }

.col { display: flex; flex-direction: column; align-items: center; }
#v-canvas .syncstatus.warn { color: #8A5A12; font-weight: 700; }
.acct { border-top: 1px solid var(--line); padding-top: 14px; }
.obtn, .pbtn { align-self: flex-start; }
.fld textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13px; color: var(--ink);
  background: var(--chrome); resize: vertical; font-family: ui-monospace, Menlo, Consolas, monospace;
}
#gate {
  position: fixed; inset: 0; background: var(--paper); display: flex; align-items: center; justify-content: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  direction: rtl; -webkit-user-select: text; user-select: text;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.3px); background-size: 26px 26px;
}
.gate-card {
  width: min(440px, 100%); background: var(--chrome); border-radius: 18px; box-shadow: var(--shadow);
  padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.gate-card .brand { font-weight: 800; font-size: 18px; }
.gate-card h1 { margin: 0; font-size: 24px; font-weight: 800; text-wrap: balance; }
.gate-text { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.gate-err { margin: 0; color: var(--danger); font-size: 14px; font-weight: 700; min-height: 1em; }
.linkbtn { border: 0; background: transparent; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 8px 0; align-self: flex-start; }
.snap .acts .shr { }

/* ================= shell ================= */
:root { --page: #E8E8E6; --card: #F6F6F4; --late: #A33A2A; --bar: #DEDEDB; --nav: #1C1C1C; }
body { background: var(--page); }
#shell { position: fixed; inset: 0; display: flex; direction: rtl; }
#nav {
  width: 76px; flex-shrink: 0; background: var(--nav); display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 6px calc(12px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; overflow-y: auto; scrollbar-width: none;
  padding-right: max(6px, env(safe-area-inset-right, 0px));
}
#nav .brand { color: #F1EEE5; font-weight: 800; font-size: 13px; line-height: 1.15; text-align: center; margin-bottom: 12px; }
#nav a { width: 64px; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 12px; color: #C9C9C5; font-size: 12px; font-weight: 500; text-decoration: none; }
#nav a[aria-current] { background: var(--olive); color: #FFFFFF; font-weight: 700; }
#nav a:focus-visible { outline: 2px solid #B8C49A; }
#nav .navgrow { flex-grow: 1; }
#nav .navsmall { min-height: 48px; font-size: 11px; }
#main { position: relative; flex-grow: 1; min-width: 0; height: 100%; }
.view.page { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-left, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) 22px;
  box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; -webkit-user-select: text; user-select: text; }
body[data-view="canvas"] #nav .brand { display: none; }

/* headers */
.vhead { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.vtitle { flex-grow: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.vtitle h1 { margin: 0; font-size: 28px; font-weight: 800; text-wrap: balance; }
.vsub, .crumb { font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.vact { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vhead .syncstatus { border: 0; background: transparent; font: inherit; font-size: 12px; color: var(--muted); min-height: 36px; padding: 0 6px; }
.syncstatus.ok { color: var(--olive); } .syncstatus.err { color: var(--danger); font-weight: 700; } .syncstatus.warn { color: #8A5A12; font-weight: 700; }
.titlein { font: inherit; font-size: 26px; font-weight: 800; border: 0; border-bottom: 1px dashed transparent; background: transparent; padding: 2px 0; color: var(--ink); width: 100%; }
.titlein.small { font-size: 18px; }
.titlein:hover, .titlein:focus { border-bottom-color: var(--line); outline: none; }
.subin { font: inherit; font-size: 15px; border: 0; background: transparent; color: var(--muted); padding: 2px 0; width: 100%; }
.subin:focus { outline: none; border-bottom: 1px dashed var(--line); }
h2.grouph { margin: 10px 0 0; font-size: 16px; font-weight: 800; color: var(--muted); }

/* buttons & inputs */
.pbtn, .obtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; min-height: 44px; box-sizing: border-box; font: inherit; font-weight: 700; font-size: 14px; }
.pbtn { color: var(--on-olive); } .obtn { color: var(--ink); }
.obtn.small, .pbtn.small { min-height: 36px; height: 36px; font-size: 13px; padding: 0 10px; }
a.pbtn { background: var(--olive); border-radius: 10px; padding: 0 16px; }
a.obtn { border: 1px solid var(--ink); border-radius: 10px; padding: 0 14px; }
.linkbtn { color: var(--ink); text-decoration: underline; }
.linkbtn.danger, .danger { color: var(--danger); }
.arm { background: var(--danger) !important; color: #FFFFFF !important; text-decoration: none; border-radius: 8px; padding: 6px 10px; }
.ib.wa { color: #1F7A4A; }
input, select, textarea { font: inherit; color: var(--ink); }
.view.page input:not([type=checkbox]):not([type=radio]):not(.titlein):not(.subin), .view.page select, .view.page textarea, .sheet input:not([type=checkbox]), .sheet select, .sheet textarea {
  min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; background: var(--chrome); font-size: 15px; box-sizing: border-box; min-width: 0;
}
.view.page textarea, .sheet textarea { resize: vertical; line-height: 1.5; width: 100%; }
textarea.big { width: 100%; font-size: 15px; }
input.late { border-color: var(--late) !important; color: var(--late); font-weight: 700; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; flex: 1 1 0; }
.fld > input, .fld > select, .fld > textarea { width: 100%; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > input:not([type=checkbox]) { flex: 1 1 140px; }
.row2 { display: flex; gap: 10px; flex-wrap: wrap; }
.row2 > * { flex: 1 1 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips.filters { font-size: 13px; }
.chips .lab, .lab { font-size: 13px; color: var(--muted); }
.chips .grow { flex-grow: 1; }
.chip { font: inherit; font-size: 13px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #BDBDB8; background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: var(--chrome); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 44px; color: var(--muted); min-width: 200px; box-sizing: border-box; }
.search input { border: 0 !important; background: transparent !important; outline: none; min-height: 40px !important; padding: 0 !important; width: 100%; font-size: 15px; }
.search.wide { width: 100%; }
.hint, p.hint { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.empty { color: var(--muted); font-size: 14px; margin: 4px 0; line-height: 1.5; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--olive); letter-spacing: .02em; }
.pill { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--olive-soft); color: #3B4422; font-weight: 700; white-space: nowrap; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.badge.weak { background: #F3DCD6; color: var(--late); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--olive); }
.pre { white-space: pre-wrap; margin: 4px 0 0; line-height: 1.6; font-size: 14px; }
pre.code { background: #1C1C1C; color: #E8E8E6; padding: 12px; border-radius: 10px; overflow-x: auto; font-size: 12px; line-height: 1.5; margin: 0; }
.foot { display: flex; justify-content: flex-start; padding: 8px 2px; }

/* cards */
.card { background: var(--card); border: 1px solid #D3D3CF; border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; box-sizing: border-box; }
.chead { display: flex; align-items: baseline; gap: 8px; }
.chead h2 { margin: 0; font-size: 17px; font-weight: 800; flex-grow: 1; }
.chead .count { font-size: 13px; color: var(--muted); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.ogrid .card.wide { grid-column: 1 / -1; }
.hintcard .big { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.trow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #E2E2DE; }
.trow:last-child { border-bottom: 0; }
.tmain { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.tmain.chk { flex-direction: row; align-items: flex-start; }
.tmain b { font-size: 15px; }
.tsub { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.when { font-size: 12.5px; color: #3E3F3F; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.when.late { color: var(--late); font-weight: 700; }
.when.today { color: var(--olive); font-weight: 700; }
.nrow { display: flex; flex-direction: column; gap: 4px; }
.nlab { display: flex; justify-content: space-between; font-size: 14px; }
.nbar { height: 10px; background: var(--bar); border-radius: 5px; overflow: hidden; }
.nbar i { display: block; height: 100%; background: var(--olive); border-radius: 5px; }

/* growth bars */
.gbars { display: flex; flex-direction: column; gap: 6px; }
.gbar { display: grid; grid-template-columns: 112px 1fr 26px; align-items: center; gap: 8px; font-size: 13px; }
.gbar .tr { height: 8px; background: var(--bar); border-radius: 4px; overflow: hidden; }
.gbar .tr i { display: block; height: 100%; background: #5F6060; border-radius: 4px; }
.gbar.weak .n { font-weight: 700; color: var(--late); }
.gbar.weak .tr i { background: var(--late); }
.gbar .v { font-variant-numeric: tabular-nums; color: var(--muted); text-align: left; }
.gtot { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* leads */
.lwrap { display: flex; gap: 14px; align-items: flex-start; min-height: 0; }
.kanban { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; align-items: flex-start; }
.kcol { flex: 0 0 210px; background: var(--bar); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.khead { display: flex; align-items: baseline; gap: 8px; padding: 0 4px 2px; }
.khead h2 { margin: 0; font-size: 14px; font-weight: 800; }
.khead span { font-size: 13px; color: var(--muted); }
.kcard { background: var(--card); border: 1px solid #D3D3CF; border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; gap: 5px; color: inherit; text-decoration: none; }
.kcard[aria-current] { border-color: var(--olive); box-shadow: 0 0 0 2px var(--olive); }
.kcard b { font-size: 15px; line-height: 1.25; }
.kempty { font-size: 12.5px; color: var(--muted); margin: 2px 4px; }
.wchips { display: flex; flex-wrap: wrap; gap: 4px; }
.wchip { font-size: 12px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--olive); color: var(--olive); }
.lpanel { flex: 0 0 360px; background: var(--card); border: 1px solid #D3D3CF; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; max-height: calc(100vh - 140px); overflow-y: auto; box-sizing: border-box; }
.lphead { display: flex; align-items: center; gap: 8px; }
.lphead .ib { order: 2; margin-inline-start: auto; }
.sec { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #DDDDD8; padding-top: 10px; }
.sec h3 { margin: 0; font-size: 14px; font-weight: 800; }
.hist { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.hrow { display: flex; gap: 8px; } .hrow .d { color: var(--muted); width: 36px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.utm { font-size: 12px; color: var(--muted); background: var(--page); border-radius: 6px; padding: 3px 8px; align-self: flex-start; }
.lpacts { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #DDDDD8; padding-top: 12px; }
.fitset { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.fitset input { flex: 1 1 120px; }

/* clients */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ccard { background: var(--card); border: 1px solid #D3D3CF; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.ccard b { font-size: 17px; }
.prog { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.prog .tr { height: 6px; background: var(--bar); border-radius: 3px; overflow: hidden; } .prog .tr i { display: block; height: 100%; background: var(--olive); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid #CFCFCA; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.tab { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
.tab[aria-current] { color: var(--ink); font-weight: 800; border-bottom-color: var(--olive); }
.cbody { display: flex; flex-direction: column; gap: 14px; }
.nextm { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.topics { display: flex; flex-direction: column; gap: 8px; }
.topic { display: flex; flex-direction: column; }
.plist { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; }
.docbtns, .tchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tchip { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12.5px; padding: 5px 9px; min-height: 32px; border-radius: 8px; border: 1px solid #BDBDB8; background: #FFFFFF; color: var(--ink); cursor: pointer; text-decoration: none; box-sizing: border-box; }
.tchip.doc { border-color: var(--ink); font-weight: 700; }
.tchip.add { border-style: dashed; color: var(--olive); border-color: var(--olive); }
.tw { display: inline-flex; flex-direction: column; gap: 1px; } .tw small { font-size: 11px; color: var(--muted); padding-inline-start: 4px; }
.fit { gap: 0; padding-top: 4px; padding-bottom: 4px; }
.frow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid #E2E2DE; }
.frow:last-child { border-bottom: 0; }
.fname { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fq p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; } .fq .sign { color: var(--muted); font-size: 12.5px; }
.score { display: flex; gap: 4px; }
.score button { width: 44px; height: 40px; border-radius: 9px; border: 1px solid #BDBDB8; background: transparent; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.score button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.decide { border: 2px solid var(--olive); }
.krow { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E2E2DE; align-items: flex-start; flex-wrap: wrap; }
.krow:last-child { border-bottom: 0; }
.krow.done .ktitle b { text-decoration: line-through; color: var(--muted); }
.kmain { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ktitle { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .ktitle b { font-size: 15px; }
.kside { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 170px; }
.ftable { display: flex; flex-direction: column; gap: 6px; }
.fth, .ftr { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 6px; align-items: center; }
.fth { font-size: 12px; color: var(--muted); font-weight: 700; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); }
.analysis .pat { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; background: #FFFFFF; }
.analysis .pat.top { border: 2px solid var(--olive); }
.pathead { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pat p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.pair { margin: 0; font-size: 13px; background: #FFF4E0; color: #6A4210; border-radius: 8px; padding: 7px 10px; }
.nums { display: flex; flex-direction: column; gap: 6px; }
.num { display: grid; grid-template-columns: 1fr 140px 40px; gap: 6px; }
.prow { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid #E2E2DE; }
.ptitle { font-weight: 700; }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lanesWrap { display: flex; gap: 14px; align-items: flex-start; }
.lanes { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 10px; overflow-x: auto; }
.lane { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lhead { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.lhead .num { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lhead h3 { margin: 0; font-size: 14px; font-weight: 800; }
.step { background: var(--card); border: 1px solid #D3D3CF; border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.step.sel { border-color: var(--olive); box-shadow: 0 0 0 2px var(--olive); }
.step.done b { color: var(--muted); }
.step b { font-size: 14px; line-height: 1.3; }
.stat { align-self: flex-start; font: inherit; font-size: 11px; font-weight: 700; border: 0; border-radius: 6px; padding: 3px 7px; background: var(--page); color: var(--muted); cursor: pointer; min-height: 26px; }
.step.doing .stat { background: #F6E3C7; color: #7A4510; } .step.done .stat { background: var(--olive-soft); color: #3B4422; }
.addstep { font: inherit; font-size: 13px; color: var(--muted); border: 1.5px dashed #BDBDB8; border-radius: 12px; background: transparent; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.rec { flex: 0 0 320px; background: var(--card); border: 1px solid #D3D3CF; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; box-sizing: border-box; }
.fw { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-bottom: 1px solid #E2E2DE; font-size: 13px; }
.fw b { font-size: 13.5px; } .fw span { color: var(--muted); line-height: 1.4; }
.root { font-weight: 700; }
.branches { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 14px; border-inline-start: 2px solid #BDBDB8; margin-inline-start: 8px; }
.branch { display: flex; gap: 6px; align-items: center; } .branch input { flex-grow: 1; }
.ib.mini { width: 30px; height: 30px; }
.meet .mhead { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; cursor: pointer; }
.meet.done .mhead b { color: var(--muted); }
.agenda { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #DDDDD8; padding-top: 10px; }
.agenda h3, .summary h3 { margin: 0; font-size: 14px; font-weight: 800; }
.ag { display: flex; gap: 10px; font-size: 13.5px; } .ag .min { width: 26px; color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ag ul { margin: 4px 0 0; padding-inline-start: 18px; } .ag li.done { text-decoration: line-through; color: var(--muted); }
.ag > div { display: flex; flex-direction: column; }
.summary { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #DDDDD8; padding-top: 10px; }
.tasks { display: flex; flex-direction: column; gap: 6px; }
.task { display: grid; grid-template-columns: 24px 1fr 110px 110px 40px; gap: 6px; align-items: center; }
.task input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--olive); }
.kgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.kshot { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.kimg { border: 1px solid var(--line); border-radius: 10px; padding: 0; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.kimg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kshot figcaption { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; } .kshot figcaption span { color: var(--muted); }
.kdoc { border-top: 1px solid #E2E2DE; padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }

/* tools */
.tgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tcard { font: inherit; text-align: right; display: flex; gap: 12px; padding: 10px; background: var(--card); border: 1px solid #D3D3CF; border-radius: 12px; cursor: pointer; align-items: flex-start; color: var(--ink); }
.tcard img { width: 72px; height: 100px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0; background: #FFFFFF; }
.tcard > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tcard b { font-size: 15px; line-height: 1.3; }
.tnum { font-size: 12px; font-weight: 800; color: var(--olive); }
.tmeta { font-size: 11.5px; color: var(--muted); }
.plist2 { display: flex; flex-direction: column; gap: 4px; }
.prow2 { font: inherit; text-align: right; display: flex; gap: 10px; align-items: center; padding: 6px; border: 0; border-bottom: 1px solid #E2E2DE; background: transparent; cursor: pointer; color: var(--ink); }
.prow2 img { width: 40px; height: 56px; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid var(--line); }
.prow2 > span { display: flex; flex-direction: column; }

/* sheet */
.sscrim { position: fixed; inset: 0; background: rgba(28, 28, 28, .22); z-index: 40; }
.sheet { position: fixed; z-index: 41; top: calc(10px + env(safe-area-inset-top, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: calc(10px + env(safe-area-inset-left, 0px)); width: min(440px, calc(100% - 20px)); display: flex; flex-direction: column; overflow: hidden; direction: rtl; }
.sheet.wide { width: min(720px, calc(100% - 20px)); }
.shead { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.shead h2 { margin: 0; font-size: 18px; font-weight: 800; flex-grow: 1; }
.sbody { overflow-y: auto; padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 12px; -webkit-user-select: text; user-select: text; }
.docmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.docmeta span:first-child { color: var(--ink); font-weight: 500; }
.docacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.docpages { display: flex; flex-direction: column; gap: 12px; }
.docpages img { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #FFFFFF; }

/* canvas client link */
.cvclient { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border-radius: 8px; background: var(--olive-soft); color: #3B4422; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; }
.cvclient svg { width: 14px; height: 14px; flex-shrink: 0; }
#toast { position: fixed; z-index: 60; }
.big-preview { position: fixed; z-index: 70; }
#newClient { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--chrome); }

@media (max-width: 900px) {
  .lwrap { flex-direction: column; } .lwrap.has-sel .kanban { display: none; } .lpanel { position: static; flex-basis: auto; width: 100%; max-height: none; }
  .lanesWrap { flex-direction: column; } .rec { position: static; width: 100%; flex-basis: auto; }
  .frow { grid-template-columns: 1fr; }
  .fth { display: none; } .ftr { grid-template-columns: 1fr 1fr; } .ftr button { justify-self: start; }
  .task { grid-template-columns: 24px 1fr 40px; } .task .who, .task .due { grid-column: 2; }
}
@media (max-width: 600px) {
  #nav { width: 60px; } #nav a { width: 52px; font-size: 10.5px; }
  .view.page { padding-left: 12px; padding-right: 12px; }
  .vtitle h1, .titlein { font-size: 22px; }
}

/* ================= calendar ================= */
#v-cal { gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { font: inherit; font-size: 13px; border: 0; background: var(--chrome); min-height: 36px; padding: 0 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gstate { font-size: 12.5px; } .gstate.ok { color: var(--olive); } .gstate.err { color: var(--danger); font-weight: 700; }
a.chip { display: inline-flex; align-items: center; text-decoration: none; gap: 4px; }
.wk { display: flex; flex-direction: column; background: var(--card); border: 1px solid #D3D3CF; border-radius: 14px; overflow: hidden; flex: 1 1 auto; min-height: 420px; }
.wkhead, .wkall, .wkgrid { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
.wkhead { border-bottom: 1px solid #DDDDD8; }
.wkday { padding: 6px 4px; text-align: center; display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.wkday b { font-size: 18px; color: var(--ink); }
.wkday.today b { background: var(--olive); color: #fff; border-radius: 50%; width: 30px; height: 30px; line-height: 30px; margin: 0 auto; }
.wkall { border-bottom: 1px solid #DDDDD8; min-height: 30px; }
.wkgut { font-size: 11px; color: var(--muted); padding: 4px; text-align: center; }
.wkcell { border-inline-start: 1px solid #E6E6E2; padding: 3px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wkbody { overflow-y: auto; flex: 1 1 auto; max-height: calc(100vh - 260px); }
.wkgrid { position: relative; }
.hours .hr { font-size: 11px; color: var(--muted); text-align: center; border-top: 1px solid transparent; box-sizing: border-box; padding-top: 2px; }
.wkcol { position: relative; border-inline-start: 1px solid #E6E6E2; cursor: copy; }
.wkcol.today { background: rgba(79, 91, 45, .045); }
.wkcol .line { position: absolute; left: 0; right: 0; border-top: 1px solid #ECECE8; pointer-events: none; }
.now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--danger); pointer-events: none; }
.blk, .ev, .mev { font: inherit; text-align: right; display: flex; flex-direction: column; gap: 1px; border-radius: 7px; padding: 3px 6px; font-size: 11.5px; overflow: hidden; text-decoration: none; border: 0; cursor: pointer; box-sizing: border-box; color: inherit; }
.blk { position: absolute; }
.blk b, .ev b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk span, .ev span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.blk.m, .ev.m, .mev.m { background: var(--olive); color: #fff; }
.blk.m.done { background: #8F977A; }
.blk.g, .ev.g, .mev.g { background: #DCE3EC; color: #22364E; }
.ev.l, .mev.l { background: #F6E3C7; color: #6A4210; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12.5px; }
.legend .k::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }
.legend .k.m::before { background: var(--olive); } .legend .k.l::before { background: #F6E3C7; border: 1px solid #C9A46A; } .legend .k.g::before { background: #DCE3EC; border: 1px solid #93A6BE; }
.mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: #DDDDD8; border: 1px solid #D3D3CF; border-radius: 14px; overflow: hidden; }
.mhd { background: var(--card); text-align: center; font-size: 12px; color: var(--muted); padding: 6px; }
.mcell { background: var(--card); min-height: 96px; padding: 4px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; min-width: 0; }
.mcell.out { background: #EFEFEC; } .mcell.out .mnum { color: #A0A09C; }
.mcell.today .mnum { background: var(--olive); color: #fff; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.mnum { font-size: 13px; font-weight: 700; align-self: flex-start; }
.mev { font-size: 11px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.more { font-size: 11px; color: var(--muted); }

/* ================= library ================= */
.crumbs { font-size: 14px; color: var(--muted); } .crumbs a { color: var(--ink); }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.lcard { font: inherit; text-align: right; background: var(--card); border: 1px solid #D3D3CF; border-radius: 12px; padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; text-decoration: none; color: var(--ink); }
.lthumb { position: relative; aspect-ratio: 4 / 3; background: #FFFFFF; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #E2E2DE; color: var(--muted); overflow: hidden; }
.lthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lcard.folder .lthumb { background: var(--olive-soft); }
.lcard.folder .lthumb img { opacity: .9; }
.fold { position: absolute; bottom: 6px; left: 6px; background: rgba(28, 28, 28, .75); color: #fff; font-size: 11px; border-radius: 6px; padding: 1px 6px; display: inline-flex; gap: 3px; align-items: center; }
.ext { font-size: 14px; font-weight: 800; color: var(--muted); }
.lname { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.lname b { font-size: 13.5px; line-height: 1.3; }
.lcard.folder .lname b { font-size: 14.5px; }
.htmlview { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
ul.gone { margin: 0; padding-inline-start: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .wkhead, .wkall, .wkgrid { grid-template-columns: 38px repeat(7, minmax(0, 1fr)); } .blk span { display: none; } }
