.ck { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 20px; align-items: stretch }
.ck-q, .ck-tree-big, .ck-result { border: 1px solid var(--line); border-radius: var(--radius) }
.ck-q { min-width: 0; background: var(--paper); padding: 20px 24px }
.ck-field { margin: 0 0 16px }
.ck-field[hidden] { display: none }
.ck-legend { margin: 0 0 8px; color: var(--pine); font-weight: 700; line-height: 1.35 }
.ck-n { font-size: 12px; margin-right: 8px; color: var(--coral); letter-spacing: .05em; text-transform: uppercase }
.ck-note { font-weight: 500; font-size: 14px; color: var(--soil) }
.ck-years { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px }
.ck-years .ck-wide { grid-column: span 2 }
@media (min-width: 1100px) { .ck-years { grid-template-columns: repeat(11, minmax(0, 1fr)) } }
.ck-row { display: flex; gap: 6px }
.ck-c { flex: 1; min-width: 0; min-height: 44px; padding: 6px 8px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--soil); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer }
.ck-c:hover { border-color: var(--pine); background: color-mix(in srgb, var(--mint) 60%, transparent) }
.ck-c[aria-pressed="true"] { background: var(--pine); color: var(--paper); border-color: var(--pine) }
.ck-c:focus-visible, .ck-cta:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px }
.ck-small .ck-c { font-size: 14px; font-weight: 500 }
.ck-opt .ck-legend { font-weight: 600 }
.ck-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px }
.ck-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 8px 18px; background: var(--pine); color: var(--paper); border: 0; border-radius: var(--radius); font: inherit; font-weight: 700; cursor: pointer }
.ck-cta:hover { background: #0f3a31 }
.ck-cta:disabled { background: color-mix(in srgb, var(--pine) 35%, var(--paper)); cursor: default }
.ck-go small { font-size: 14px; line-height: 1.45 }
.ck-tree-big { display: flex; flex-direction: column; justify-content: center; gap: 8px; margin: 0; padding: 16px; background: color-mix(in srgb, var(--paper) 42%, var(--mint)) }
.ck-tree svg { display: block; width: 100%; height: auto }
.ck-tree figcaption { text-align: center; color: var(--pine); font-size: 14px; line-height: 1.4 }
.ck-tree-mini { display: none; margin: 0 }
.t-shadow { fill: var(--pine); opacity: .09 }
.t-wood path { fill: none; stroke: var(--pine); stroke-width: 4; stroke-linecap: round }
.t-soil { fill: none; stroke: var(--bud); stroke-width: 2; stroke-linecap: round }
.t-leaves { fill: #32775e; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.2) }
.t-bare { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; opacity: 0 }
.t-bud path { fill: #f1d9cf; stroke: var(--bud); stroke-width: 2 }
.t-bud text { fill: var(--soil); font-size: 15px; font-weight: 700; opacity: 0 }
.t-br[data-kind="yes"] .t-leaves { opacity: 1; transform: scale(1); transition: transform .5s ease-out, opacity .3s }
.t-br:not([data-kind="official"]) .t-bud { opacity: 0 }
.t-br[data-kind="no"] .t-bare { opacity: 1 }
.t-br[data-kind="official"] .t-bud path { fill: #d98b74 }
.t-br[data-kind="official"] .t-bud text { opacity: 1 }
.ck-result { margin-top: 32px; overflow: hidden; background: var(--paper) }
.ck-result:focus { outline: none }
.ck-result:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px }
.ck-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--mint); padding: 20px 24px }
.ck-head h2 { margin: 0 }
.ck-head p { margin: 4px 0 0 }
.ck-legend-row { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 24px; border-top: 1px solid var(--line); font-size: 14px }
.ck-legend-row span { display: inline-flex; align-items: center; line-height: 1.3 }
.ck-dot { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 14px; line-height: 1; color: #fff; vertical-align: -5px }
.ck-dot.ck-yes { background: var(--pine) }
.ck-dot.ck-no { background: var(--coral) }
.ck-dot.ck-official { background: var(--paper); color: var(--bud); border: 2px dashed var(--bud) }
.ck-r { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(0, 1.6fr) auto; gap: 24px; align-items: start; padding: 20px 24px; border-top: 1px solid var(--line) }
.ck-r h3 { margin: 0; font-size: 18px }
.ck-r p { margin: 0 }
.ck-placeholder { display: block; color: var(--soil) }
.ck-status { display: flex; align-items: center; margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.3 }
.ck-status.ck-yes { color: var(--pine) }
.ck-status.ck-no { color: var(--coral) }
.ck-status.ck-official { color: var(--bud) }
.ck-src { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-top: -12px }
.ck-urgent { margin: 0; padding: 16px 24px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--coral) 10%, var(--paper)); color: #6e2a20; font-weight: 600 }
.ck-urgent[hidden], .ck-steps-wrap[hidden], [data-stale][hidden] { display: none }
.ck-steps-wrap { padding: 20px 24px; border-top: 1px solid var(--line) }
.ck-steps-wrap h3 { margin: 0 0 12px; font-size: 22px }
.ck-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px }
.ck-steps li { counter-increment: st; position: relative; padding-left: 40px }
.ck-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--pine); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px }
.ck-foot { margin: 0; padding: 12px 24px; border-top: 1px solid var(--line); background: var(--mint); font-size: 14px }
@media (max-width: 800px) {
  .ck { grid-template-columns: minmax(0, 1fr) }
  .ck-tree-big { display: none }
  .ck-tree-mini { display: block; flex: none; width: 84px }
}
@media (max-width: 640px) {
  .ck-q { padding: 10px 12px 14px }
  .ck-field { margin-bottom: 8px }
  .ck-legend { font-size: 15px; margin-bottom: 4px }
  .ck-years { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px }
  .ck-row { gap: 6px }
  .ck-c { padding: 6px 10px; font-size: 14px; line-height: 1.25 }
  .ck-years .ck-c { padding: 4px }
  .ck-row .ck-c { min-height: 48px }
  .ck-small { flex-wrap: wrap }
  .ck-small .ck-c { flex: 1 1 calc(50% - 6px) }
  .ck-cta { width: 100% }
  .ck-go { justify-content: center; gap: 6px }
  .ck-head, .ck-r, .ck-steps-wrap, .ck-urgent { padding: 16px }
  .ck-legend-row, .ck-foot { padding-inline: 16px }
  .ck-r { grid-template-columns: minmax(0, 1fr); gap: 6px }
  .ck-src { justify-self: start; margin-top: -8px }
}
@media (prefers-reduced-motion: reduce) {
  .t-br[data-kind="yes"] .t-leaves { transition: none }
}
