/* ============================================================
   TB ADVISORY — Command Center · Planejamento Estratégico
   Estilos do bloco: chrome compartilhado + HUB + ferramentas novas.
   Premium escuro + dourado. Depende dos tokens de styles/app.css.
   ============================================================ */

/* ============================================================
   Shared top chrome (reused by every tool of the block)
   ============================================================ */
.tb-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 26px; min-height: 64px;
  background: rgba(19,18,17,0.9); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.tb-top .back { display: inline-flex; align-items: center; gap: 7px; color: var(--txt-2); text-decoration: none; font-size: 13px; padding: 7px 12px; border-radius: 100px; transition: all .15s; }
.tb-top .back:hover { color: var(--gold); background: rgba(201,163,71,0.08); }
.tb-top .back svg { width: 15px; height: 15px; }
.tb-brand { display: flex; flex-direction: row; align-items: center; gap: 11px; }
.tb-brand .tb-ico { height: 30px; width: auto; display: block; }
.tb-brand .tb-wm-txt { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.tb-brand .tb-wm-txt b { font-family: "TatianaB Logo", var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0.04em; color: var(--gold); text-transform: uppercase; }
.tb-brand .sub { font-size: 9px; letter-spacing: 0.34em; color: var(--txt-3); text-transform: uppercase; }
.tb-sep { width: 1px; height: 26px; background: var(--line); }
.tb-top .spacer { flex: 1; }

.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; flex-shrink: 0; }
.lang-toggle button { background: transparent; border: 0; color: var(--txt-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 7px 13px; cursor: pointer; transition: all .15s; }
.lang-toggle button.on { background: var(--gold); color: var(--ink); }

.btn-ghost-sm { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--line); color: var(--txt-2); font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 100px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.btn-ghost-sm:hover { border-color: rgba(201,163,71,0.5); color: var(--gold); }
.btn-ghost-sm svg { width: 14px; height: 14px; }
.btn-ai { color: var(--gold-bright); border-color: rgba(201,163,71,0.32); }
.btn-ai:hover { background: rgba(201,163,71,0.1); }

/* ============================================================
   Board scaffold (tools)
   ============================================================ */
.board-wrap { padding: 26px; max-width: 1240px; margin: 0 auto; }
.board-head { margin: 0 auto 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.board-head .bh-l { display: flex; flex-direction: column; gap: 5px; }
.board-head .bh-kicker { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.board-head h1 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0; color: var(--txt); letter-spacing: 0.01em; }
.board-head .bh-foot { font-size: 12.5px; color: var(--txt-3); max-width: 460px; text-align: right; line-height: 1.5; }

/* bridge note: links one tool to another (→ gerar OKRs) */
.bridge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 auto 22px; padding: 13px 18px; border: 1px solid rgba(201,163,71,0.22); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(201,163,71,0.05), transparent); }
.bridge svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.bridge .bridge-txt { font-size: 13px; color: var(--txt-2); flex: 1; line-height: 1.5; }
.bridge .bridge-txt b { color: var(--gold-bright); font-weight: 600; }
.bridge a, .bridge button.bridge-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gold); text-decoration: none; background: transparent; border: 1px solid rgba(201,163,71,0.4); border-radius: 100px; padding: 7px 14px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.bridge a:hover, .bridge button.bridge-cta:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.bridge a svg, .bridge button.bridge-cta svg { width: 14px; height: 14px; color: inherit; }

/* ============================================================
   Dark editable block (PESTEL / generic)
   ============================================================ */
.dblk { background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 17px 14px; display: flex; flex-direction: column; min-height: 200px; border-top: 2px solid var(--gold-deep); }
.dblk-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
.dblk-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: rgba(201,163,71,0.1); color: var(--gold); }
.dblk-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dblk-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.dblk-title { font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--txt); }
.dblk-hint { font-size: 10.5px; color: var(--txt-3); line-height: 1.35; }

.dblk-items { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ditem { display: flex; align-items: flex-start; gap: 8px; border-radius: 7px; padding: 8px 9px; background: #0F0F10; border: 1px solid var(--line-soft); }
.ditem .dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--gold); }
.ditem .it-txt { flex: 1; font-size: 12.5px; line-height: 1.45; color: var(--txt); outline: none; border-radius: 3px; min-width: 0; word-break: break-word; }
.ditem .it-txt:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.5); background: rgba(201,163,71,0.05); }
.ditem .it-del { opacity: 0; background: none; border: 0; color: #d9745f; cursor: pointer; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; transition: opacity .12s, background .12s; padding: 0; }
.ditem:hover .it-del { opacity: 0.85; }
.ditem .it-del:hover { background: rgba(179,64,47,0.16); }
.ditem .it-del svg { width: 13px; height: 13px; }
.dblk-empty { font-size: 11px; color: var(--txt-3); font-style: italic; padding: 4px 2px 6px; }
.dblk-add { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: transparent; border: 1px dashed var(--line); color: var(--gold); font-size: 11.5px; font-weight: 500; padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: all .14s; }
.dblk-add:hover { border-style: solid; border-color: rgba(201,163,71,0.5); }
.dblk-add svg { width: 12px; height: 12px; }

/* impact / intensity chips (PESTEL, Porter-style) */
.chips-row { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.chips-cap { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-3); font-weight: 600; }
.chips-seg { display: flex; gap: 4px; flex: 1; }
.chips-seg button { flex: 1; background: #0F0F10; border: 1px solid var(--line); color: var(--txt-3); font-size: 11px; font-weight: 600; padding: 5px 6px; border-radius: 6px; cursor: pointer; transition: all .14s; }
.chips-seg button:hover { color: var(--txt-2); border-color: rgba(201,163,71,0.4); }
.chips-seg button.on { color: var(--ink); border-color: transparent; }
.chips-seg button.on[data-l="1"] { background: #2f6b46; color: #eafff1; }
.chips-seg button.on[data-l="2"] { background: #b8902f; }
.chips-seg button.on[data-l="3"] { background: #b3402f; color: #fff; }

/* ============================================================
   Status pills (shared by Metas, OKR, Roadmap, Trimestral)
   ============================================================ */
.spill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; border-radius: 100px; padding: 4px 11px; border: 1px solid; white-space: nowrap; }
.spill .sdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.spill.ontrack { color: #6fcf97; border-color: rgba(111,207,151,0.3); background: rgba(111,207,151,0.1); }
.spill.attention { color: #e6c879; border-color: rgba(230,200,121,0.3); background: rgba(230,200,121,0.1); }
.spill.risk { color: #e8a99c; border-color: rgba(232,169,156,0.3); background: rgba(232,169,156,0.1); }
.spill.done { color: #8fb8e0; border-color: rgba(143,184,224,0.3); background: rgba(143,184,224,0.1); }

/* progress bar */
.pbar { height: 7px; border-radius: 100px; background: rgba(255,255,255,0.07); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 100px; transition: width .5s cubic-bezier(.2,.7,.3,1); background: var(--gold-grad); }
.pbar-fill.ontrack { background: linear-gradient(90deg,#2f8a57,#6fcf97); }
.pbar-fill.attention { background: linear-gradient(90deg,#b8902f,#e6c879); }
.pbar-fill.risk { background: linear-gradient(90deg,#b3402f,#e8a99c); }
.pbar-fill.done { background: linear-gradient(90deg,#2a6fb0,#8fb8e0); }

/* ============================================================
   Goal / Meta cards
   ============================================================ */
.goal-list { display: flex; flex-direction: column; gap: 14px; max-width: 980px; margin: 0 auto; }
.goal { background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.goal-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.goal-name { flex: 1; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--txt); outline: none; line-height: 1.2; min-width: 0; }
.goal-name:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.goal-ind { font-size: 12px; color: var(--txt-3); outline: none; margin-bottom: 14px; }
.goal-ind:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.goal-metrics { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; }
.gm { display: flex; flex-direction: column; gap: 4px; }
.gm label { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-3); font-weight: 600; }
.gm .gm-val { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--txt); outline: none; min-width: 30px; }
.gm .gm-val:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.gm .gm-val.cur { color: var(--gold-bright); }
.goal-prog { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.goal-prog .pbar { flex: 1; }
.goal-prog .gp-pct { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--txt); min-width: 48px; text-align: right; }
.goal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.goal-del { background: none; border: 0; color: var(--txt-3); cursor: pointer; padding: 6px; border-radius: 6px; display: inline-flex; transition: all .14s; }
.goal-del:hover { color: #e8a99c; background: rgba(179,64,47,0.12); }
.goal-del svg { width: 16px; height: 16px; }

.add-row { display: flex; justify-content: center; margin: 20px auto 0; max-width: 980px; }
.add-big { width: 100%; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-md); background: transparent; color: var(--txt-2); font-size: 13.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; transition: all .16s; }
.add-big:hover { border-style: solid; border-color: rgba(201,163,71,0.5); color: var(--gold); }
.add-big svg { width: 16px; height: 16px; }

/* status picker (segmented) */
.stpick { display: flex; gap: 4px; }
.stpick button { background: #0F0F10; border: 1px solid var(--line); color: var(--txt-3); font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 100px; cursor: pointer; transition: all .14s; }
.stpick button.on.ontrack { color: #6fcf97; border-color: rgba(111,207,151,0.45); background: rgba(111,207,151,0.12); }
.stpick button.on.attention { color: #e6c879; border-color: rgba(230,200,121,0.45); background: rgba(230,200,121,0.12); }
.stpick button.on.risk { color: #e8a99c; border-color: rgba(232,169,156,0.45); background: rgba(232,169,156,0.12); }

/* ============================================================
   OKR — objectives + key results
   ============================================================ */
.okr-groups { display: flex; flex-direction: column; gap: 28px; max-width: 1040px; margin: 0 auto; }
.okr-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.okr-group-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--txt); margin: 0; outline: none; }
.okr-group-head h2:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.okr-group-head .line { flex: 1; height: 1px; background: var(--line); }
.okr-group-head .gp-avg { font-size: 12px; color: var(--txt-3); }
.okr-list { display: flex; flex-direction: column; gap: 14px; }
.okr { background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; border-left: 3px solid var(--gold); }
.okr-top { display: flex; align-items: flex-start; gap: 12px; }
.okr-obj { flex: 1; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--txt); outline: none; line-height: 1.25; min-width: 0; }
.okr-obj:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.okr-obj-pct { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--gold-bright); min-width: 46px; text-align: right; }
.kr-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.kr { display: grid; grid-template-columns: 1fr 120px 96px auto; gap: 12px; align-items: center; background: #0F0F10; border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 12px; }
.kr .kr-txt { font-size: 13px; color: var(--txt); outline: none; line-height: 1.4; min-width: 0; }
.kr .kr-txt:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.kr .kr-prog { display: flex; align-items: center; gap: 8px; }
.kr .kr-prog .pbar { flex: 1; height: 6px; }
.kr .kr-prog .kr-pct { font-size: 12px; color: var(--txt-2); min-width: 34px; text-align: right; outline: none; }
.kr .kr-owner { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--txt-3); }
.kr .kr-owner .ow-av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(150deg, rgba(201,163,71,0.9), rgba(201,163,71,0.45)); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 10px; flex-shrink: 0; }
.kr .kr-owner .ow-name { outline: none; }
.kr .kr-del { background: none; border: 0; color: var(--txt-3); cursor: pointer; padding: 5px; border-radius: 5px; display: inline-flex; transition: all .14s; }
.kr .kr-del:hover { color: #e8a99c; background: rgba(179,64,47,0.12); }
.kr .kr-del svg { width: 14px; height: 14px; }
.kr-add { margin-top: 10px; }
.okr-foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 10px; }

/* ============================================================
   Roadmap — horizon columns
   ============================================================ */
.road-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.road-col { background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; min-height: 320px; }
.road-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.road-col-head .rc-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.road-col-head h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--txt); margin: 0; outline: none; }
.road-col-head h3:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.road-col-sub { font-size: 11px; color: var(--txt-3); margin: 0 0 14px 19px; }
.road-items { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rcard { background: #0F0F10; border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px 13px; position: relative; }
.rcard-title { font-size: 13.5px; font-weight: 600; color: var(--txt); outline: none; line-height: 1.35; margin-bottom: 8px; padding-right: 18px; }
.rcard-title:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.rcard-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rcard-owner { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--txt-3); outline: none; }
.rcard-owner .ow-av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(150deg, rgba(201,163,71,0.9), rgba(201,163,71,0.45)); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 9px; }
.rcard-mile { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gold-bright); outline: none; }
.rcard-mile svg { width: 12px; height: 12px; }
.rcard-del { position: absolute; top: 8px; right: 8px; opacity: 0; background: none; border: 0; color: var(--txt-3); cursor: pointer; padding: 3px; border-radius: 5px; transition: all .14s; }
.rcard:hover .rcard-del { opacity: 0.8; }
.rcard-del:hover { color: #e8a99c; background: rgba(179,64,47,0.12); }
.rcard-del svg { width: 14px; height: 14px; }

/* ============================================================
   Anual / Trimestral — themes & rocks
   ============================================================ */
.year-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; max-width: 1140px; margin: 0 auto; align-items: start; }
.panel { background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.panel-head .ph-ico { width: 32px; height: 32px; border-radius: 9px; background: rgba(201,163,71,0.1); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.panel-head .ph-ico svg { width: 18px; height: 18px; }
.panel-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--txt); margin: 0; }
.panel-head .ph-sub { font-size: 11.5px; color: var(--txt-3); }

.bet { background: #0F0F10; border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; border-left: 3px solid var(--gold-deep); position: relative; }
.bet-title { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--txt); outline: none; margin-bottom: 5px; padding-right: 20px; }
.bet-title:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.bet-desc { font-size: 12.5px; color: var(--txt-2); line-height: 1.5; outline: none; }
.bet-desc:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.bet-del { position: absolute; top: 12px; right: 12px; opacity: 0; background: none; border: 0; color: var(--txt-3); cursor: pointer; padding: 4px; border-radius: 5px; transition: all .14s; }
.bet:hover .bet-del { opacity: 0.8; }
.bet-del:hover { color: #e8a99c; background: rgba(179,64,47,0.12); }
.bet-del svg { width: 14px; height: 14px; }

/* rocks (trimestral) */
.rock-list { display: flex; flex-direction: column; gap: 10px; max-width: 920px; margin: 0 auto; }
.rock { display: flex; align-items: center; gap: 14px; background: #141414; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.rock-n { width: 34px; height: 34px; border-radius: 9px; background: rgba(201,163,71,0.12); border: 1px solid rgba(201,163,71,0.25); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.rock-body { flex: 1; min-width: 0; }
.rock-title { font-size: 14.5px; font-weight: 600; color: var(--txt); outline: none; line-height: 1.3; }
.rock-title:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.rock-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--txt-3); margin-top: 4px; outline: none; }
.rock-link svg { width: 11px; height: 11px; color: var(--gold); }
.rock-del { background: none; border: 0; color: var(--txt-3); cursor: pointer; padding: 6px; border-radius: 6px; display: inline-flex; transition: all .14s; flex-shrink: 0; }
.rock-del:hover { color: #e8a99c; background: rgba(179,64,47,0.12); }
.rock-del svg { width: 15px; height: 15px; }

/* ============================================================
   AI modal — result rows (extends app.css .ai-*)
   ============================================================ */
.ai-rlist { display: flex; flex-direction: column; gap: 10px; }
.ai-rrow { display: flex; align-items: flex-start; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; cursor: default; transition: border-color .15s; }
.ai-rrow:hover { border-color: rgba(201,163,71,0.35); }
.ai-rchk { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.ai-rmain { flex: 1; min-width: 0; }
.ai-rtop { display: flex; align-items: flex-start; gap: 9px; }
.ai-rtag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; border-radius: 100px; padding: 3px 9px; flex-shrink: 0; margin-top: 1px; }
.ai-rtext { flex: 1; font-size: 14px; font-weight: 500; color: var(--txt); line-height: 1.45; outline: none; }
.ai-rtext:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }
.ai-rsub { font-size: 12.5px; color: var(--txt-2); line-height: 1.55; margin-top: 7px; outline: none; }
.ai-rsub:focus { box-shadow: 0 0 0 2px rgba(201,163,71,0.45); border-radius: 4px; }

/* ============================================================
   Toast (dark, same as app)
   ============================================================ */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: #1c1b18; color: #f3ead3; font-size: 13px; padding: 12px 20px; border-radius: 100px; border: 1px solid rgba(201,163,71,0.4); box-shadow: 0 18px 50px -16px rgba(0,0,0,0.7); opacity: 0; pointer-events: none; transition: all .25s; z-index: 220; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* empty contenteditable placeholder */
[data-ph]:empty::before { content: attr(data-ph); color: var(--txt-3); font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .road-grid { grid-template-columns: 1fr; }
  .year-grid { grid-template-columns: 1fr; }
  .kr { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .board-head .bh-foot { display: none; }
  .goal-metrics { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .tb-top, .dblk-add, .it-del, .goal-del, .kr-del, .rcard-del, .bet-del, .rock-del,
  .add-big, .add-row, .bridge a, .bridge button, .chips-seg, .stpick, .kr-add { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .board-wrap { padding: 0; max-width: none; }
  .dblk, .goal, .okr, .road-col, .panel, .rock, .bet, .rcard { break-inside: avoid; background: #fff !important; border-color: #ddd !important; color: #111 !important; }
  .dblk-title, .goal-name, .okr-obj, .gm-val, .road-col-head h3, .panel-head h2, .rock-title, .bet-title, .it-txt, .kr-txt { color: #111 !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@page { size: A4 landscape; margin: 12mm; }
