.library-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  margin: 28px 0 0;
  background: #efebf5de;
  border: 1px solid #fffc;
  border-radius: 8px;
}
.library-tabs a {
  padding: 10px 15px;
  color: #42384f;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 5px;
}
.library-tabs a[aria-current] { background: #453853; color: #fff; }
.toolkit-shell { padding-bottom: 54px; color: #332b41; }
.toolkit-shell a:focus-visible,
.toolkit-shell button:focus-visible,
.toolkit-shell :is(select, input, textarea, summary):focus-visible,
.library-tabs a:focus-visible { outline: 3px solid #685286; outline-offset: 3px; }
.tk-hero {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 37%);
  align-items: end;
  gap: clamp(20px,4vw,68px);
  padding: 30px 0 29px;
  border-bottom: 1px solid #5a4b723b;
  margin-bottom: 20px;
}
.tk-hero h1, .tk-work-head h1 {
  font-size: clamp(46px,7.4vw,103px);
  font-weight: 550;
  letter-spacing: -.075em;
  line-height: .99;
  margin: 9px 0 0;
}
.tk-hero > p, .tk-work-head > p:last-child {
  max-width: 44ch;
  font-size: clamp(15px,1.55vw,20px);
  line-height: 1.45;
  margin: 0;
}
.tk-gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(12px,1.65vw,24px);
}
.tk-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #f7f4fbe8;
  border: 1px solid #fffd;
  border-radius: 9px;
  transition: border-color .18s, background-color .18s;
}
.tk-card:hover { border-color: #746389; background: #fff; }
.tk-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 138px;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 14%,#fff8,transparent 65%),var(--tool-color);
  border-bottom: 1px solid #57446925;
  isolation: isolate;
}
.tk-diagram {
  width: min(46%,153px);
  height: 79px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.tk-diagram i {
  display: block;
  flex: 1;
  height: 54%;
  border: 1px solid #51436475;
  background: linear-gradient(138deg,#fffb,#ffffff25);
  border-radius: 5px;
}
.tk-diagram i:nth-child(2) { height: 75%; }
.tk-diagram i:nth-child(3) { height: 48%; }
.tk-diagram i:nth-child(4) { height: 96%; }
.tk-cover-decisions .tk-diagram,
.tk-cover-habits .tk-diagram { display: grid; grid-template:1fr 1fr / 1fr 1fr; width:115px; }
.tk-cover-decisions .tk-diagram i,
.tk-cover-habits .tk-diagram i { height:100%; }
.tk-cover-decisions .tk-diagram i:nth-child(3),
.tk-cover-habits .tk-diagram i:nth-child(2) { background:#54466b32; }
.tk-cover-life-map .tk-diagram { display:grid;place-items:center; }
.tk-cover-life-map .tk-diagram i { grid-area:1/1; width:80px;height:80px;border-radius:50%;background:transparent; }
.tk-cover-life-map .tk-diagram i:nth-child(2) { width:59px;height:59px; }
.tk-cover-life-map .tk-diagram i:nth-child(3) { width:38px;height:38px; }
.tk-cover-life-map .tk-diagram i:nth-child(4) { width:15px;height:15px;background:#fff8; }
.tk-cover-reflection .tk-diagram { flex-direction:column;align-items:flex-start;height:60px; }
.tk-cover-reflection .tk-diagram i { height:auto; width:92%;border-radius:20px; }
.tk-cover-reflection .tk-diagram i:nth-child(2) { width:72%; }
.tk-cover-reflection .tk-diagram i:nth-child(3) { width:84%; }
.tk-cover-reflection .tk-diagram i:nth-child(4) { width:55%; }
.tk-cover-goals .tk-diagram i { height:25%; }
.tk-cover-goals .tk-diagram i:nth-child(2) { height:48%; }
.tk-cover-goals .tk-diagram i:nth-child(3) { height:72%; }
.tk-cover-goals .tk-diagram i:nth-child(4) { height:96%; }
.tk-card-body { padding: 16px 17px 20px; }
.tk-card-body > p {
  display: flex; justify-content: space-between; gap: 8px; margin: 0 0 8px;
  font-size: 11px; letter-spacing: .075em; text-transform: uppercase; color: #574968;
}
.tk-card-body h2 { margin: 0 0 7px; font-size: clamp(20px,2.25vw,32px); font-weight: 550;letter-spacing:-.045em;line-height:1.13; }
.tk-card-caption { display: flex; justify-content: space-between; align-items: end; gap: 10px; font-size: 13px; line-height: 1.5; }
.tk-card-caption span { font-size: 19px; }
.tk-credit,.tk-tool-footer { margin: 25px 0 0; font-size:13px;line-height:1.55; }
.toolkit-shell :is(.tk-credit,.tk-small,.tk-work-head,.tk-tool-footer) a { color:#413451;text-decoration:underline;text-underline-offset:3px; }
.tk-work-head { padding: 24px 0 26px; }
.tk-work-head .eyebrow { margin: 18px 0 0; }
.tk-work-head h1 { font-size:clamp(40px,6vw,77px);margin:9px 0 12px; }
.tk-work-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:16px; align-items:start; }
.tk-panel {
  display:grid; gap:15px; min-width:0;
  padding:clamp(15px,2.3vw,29px);
  background:#faf8fdee;
  border:1px solid #fff;
  border-radius:9px;
  overflow-wrap:anywhere;
}
.tk-panel p { font-size:14px;line-height:1.55;margin:0; }
.tk-panel h2,.tk-panel h3,.tk-panel h4 { line-height:1.22; margin:0 0 6px; }
.tk-panel h2 { font-size:clamp(23px,2.8vw,34px);letter-spacing:-.04em;font-weight:550; }
.tk-panel h3 { font-size:17px; }
.tk-panel h4 { font-size:14px; }
.tk-output { border-top:5px solid var(--tool-color); }
.tk-panel label,.tk-panel legend { font-size:13px;font-weight:650;line-height:1.4;color:#382e48; }
.tk-panel label { display:grid; gap:5px; min-width:0; }
.tk-panel fieldset { min-inline-size:0; padding:12px; display:grid; gap:10px; border:1px solid #cfc4dc; border-radius:6px; margin:0; }
.tk-panel legend { padding:0 6px; }
.tk-panel :is(input:not([type="checkbox"]),select,textarea) {
  width:100%; min-width:0; min-height:42px; padding:8px 9px; font:inherit; font-size:16px; font-weight:400;
  color:#342b42; background:#fff; border:1px solid #b0a3be; border-radius:5px;
}
.tk-panel textarea { resize:vertical; }
.tk-panel input[type="checkbox"] { width:18px;height:18px; }
.tk-panel .tk-check { display:flex;align-items:center;gap:8px; }
.tk-stack { display:grid; gap:9px; }
.tk-inset { display:grid; gap:9px; min-width:0; padding:12px; border-radius:6px; background:#ece6f3; }
.tk-columns,.tk-ratings,.tk-results,.tk-habit-week { display:grid; gap:9px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.tk-columns.tk-three,.tk-habit-week { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tk-inline,.tk-week-control,.tk-step-nav { display:flex; gap:7px; flex-wrap:wrap; align-items:center; }
.tk-inline button[aria-pressed="true"] { background:#504061; color:#fff; border-color:#504061; }
.tk-week-control strong { font-size:12px; }
.tk-panel button {
 font:inherit;font-size:13px;font-weight:600;min-height:40px;max-width:100%;
 padding:8px 12px;border:1px solid #b0a3be;border-radius:6px;background:#f8f5fc;color:#413451;
 cursor:pointer;white-space:normal;
}
.tk-panel button:is(.tk-primary,[aria-current="step"]) { background:#4f3d65;color:white;border-color:#4f3d65; }
.tk-panel button:disabled { opacity:.55;cursor:default; }
.tk-example { border-bottom:1px solid #cfc4dc; padding-bottom:12px; font-size:14px; }
.tk-example summary { cursor:pointer;font-weight:600;line-height:1.6; }
.tk-example p { margin-top:6px; }
.tk-results div,.tk-summary-row { min-width:0;background:#f0ebf6;padding:12px;border-radius:6px; }
.tk-results ul { padding-inline-start:1.25rem; margin:0; overflow-wrap:anywhere; }
.tk-results dl { display:grid;grid-template-columns:auto 1fr;gap:3px 8px;margin:0;font-size:13px; }
.tk-results dd { text-align:right;margin:0;font-variant-numeric:tabular-nums; }
.tk-results .tk-shortfall { background:#f4ddd7; }
#tk-output-body { display:grid;gap:9px; }
.tk-cash-result > p { margin-top:8px; }
.tk-summary-text { white-space:pre-wrap; }
.tk-life-bars { display:grid; gap:5px; margin:0;font-size:12px; }
.tk-life-bars > div { display:grid; grid-template-columns:110px 1fr; gap:5px; align-items:center; }
.tk-life-bars dd { display:flex; gap:6px; align-items:center; margin:0; }
.tk-life-bars dd span { display:block; background:#8871a7;width:var(--rating);height:6px;border-radius:8px;max-width:calc(100% - 50px); }
.tk-life-bars strong { font-weight:550; }
#tk-radar { width:min(100%,280px);aspect-ratio:1;margin:0 auto; }
.tk-panel .tk-small { font-size:12px; }
.tk-tool-footer { display:flex;gap:10px 22px;justify-content:space-between;flex-wrap:wrap; }
.tk-tool-footer p { margin:0; }
@media (max-width: 900px) {
 .tk-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tk-work-grid { grid-template-columns:1fr; }
}
@media (max-width: 500px) {
 .tk-hero { grid-template-columns:1fr; }
 .tk-gallery { grid-template-columns:1fr; }
 .tk-cover { min-height:116px; }
 .tk-columns.tk-three,.tk-habit-week { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 350px) {
 .tk-results { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) { .tk-card { transition:none; } }
@media print {
 body:has(.tk-workspace) .tk-workspace { margin:0;padding:0;max-width:none;color:#000; }
 body:has(.tk-workspace) :is(.sa-global-nav,.review-strip,.education-footer,.library-atmosphere,.library-tabs,.tk-inputs,.tk-tool-footer,.toolkit-summary-actions,#tk-status,.tk-work-head > a,.skip) { display:none!important; }
 .tk-workspace .tk-work-grid { display:block; }
 .tk-workspace .tk-panel { padding:0;background:white;color:black; }
 .tk-workspace .tk-work-head h1 { font-size:34px; }
 .tk-results > div,.tk-summary-row { break-inside:avoid; }
}

.tk-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px; }
.tk-matrix { display:grid; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.tk-zone:last-child { grid-column:1/-1; }
.tk-task,.tk-saved-goals article { background:#fff9; margin:8px 0; padding:8px; border-radius:6px; overflow-wrap:anywhere; }
.tk-task input[type="checkbox"],.tk-day input[type="checkbox"] { width:auto; min-height:0; accent-color:#504061; }
.tk-task [draggable="true"] { cursor:grab; margin-block-end:4px; }
.tk-task [aria-pressed="true"] { background:#504061; color:#fff; }
.tk-task label,.tk-day label { margin-block-end:6px; }
.tk-ratings input[type="range"] { min-height:27px; padding:0; accent-color:#58417a; background:transparent; }
.tk-slider-value { float:right; }
.tk-life-bars progress { width:100%; accent-color:#58417a; }
.tk-allocation-portion { font-size:12px; }
.tk-saved-goals dd { margin:0 0 .5em; white-space:pre-wrap; }
.tk-saved-goals dt { font-weight:700; }
.tk-zone [hidden],.tk-inputs [hidden] { display:none!important; }
@media(max-width:560px){.tk-entry,.tk-matrix { grid-template-columns:1fr; }.tk-zone:last-child { grid-column:auto; }}
@media print{.tk-task button,.tk-zone button,.tk-saved-goals button{display:none!important;}}

/* The working surface stays together inside the Library's cloud backdrop. */
.tk-workspace > .library-tabs { margin-block:13px 12px; }
.tk-desk { display:grid; grid-template-columns:188px minmax(0,1fr); align-items:start; gap:14px; }
.tk-tool-nav { display:grid; gap:3px; padding:10px; background:#322742; border:1px solid #67557e; border-radius:12px; }
.tk-tool-nav-desktop { position:sticky; top:12px; }
.tk-tool-nav a { display:grid; grid-template-columns:9px minmax(0,1fr) auto; align-items:center; gap:8px; padding:12px 8px; border-radius:6px; color:#f9f4ff; font-size:13px; text-decoration:none; }
.tk-tool-nav a:is(:hover,[aria-current]) { background:#eddef6; color:#352744; }
.tk-tool-nav .tk-all-tools { display:block; padding-bottom:11px; margin-bottom:5px; border-bottom:1px solid #bfaed04d; }
.tk-tool-nav i { width:8px; height:8px; border-radius:50%; background:var(--tool-marker); }
.tk-tool-nav span { font-size:12px; }
.tk-tool-switch { display:none; }
.tk-work-deck { min-width:0; border:1px solid #fff; border-radius:15px; background:#f8f5fceF; box-shadow:0 10px 35px #49395620; transition:background-color .32s ease; }
.tk-work-deck[data-outlook="available"] { background:#f1f7f2f5; }
.tk-work-deck[data-outlook="short"] { background:#f9edebf5; }
.tk-work-deck[data-outlook="even"] { background:#f1eefbf5; }
[data-visual-paused] .tk-work-deck { transition:none; }
.tk-work-head { position:relative; display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:14px; padding:clamp(14px,2.5vw,29px) clamp(14px,3vw,33px) 16px; border-bottom:1px solid #67557e33; background:linear-gradient(110deg,var(--tool-color),#ffffff12 75%); border-radius:14px 14px 0 0; }
.tk-work-head h1 { font-size:clamp(30px,4.2vw,56px); line-height:1.06; margin:4px 0 7px; letter-spacing:-.058em; }
.tk-work-head p { margin:0; font-size:15px; }
.tk-work-head .tk-kicker { display:flex; gap:9px 15px; flex-wrap:wrap; align-items:center; color:#524363; font-size:12px; font-weight:750; }
.tk-kicker span { color:#584768; font-weight:550; }
.tk-data { font-size:13px; }
.tk-data summary,.tk-how summary,.tk-work-toolbar button,.toolkit-summary-actions button,.tk-data-panel button { cursor:pointer; font:inherit; min-height:39px; padding:9px 12px; border:1px solid #a998b9; border-radius:7px; background:#fffffff0; color:#483455; }
.tk-data summary { white-space:nowrap; }
.tk-data-panel { position:absolute; z-index:3; right:clamp(10px,3vw,33px); max-width:290px; width:min(calc(100% - 20px),290px); padding:14px; margin-top:5px; border:1px solid #b6a9c5; border-radius:9px; box-shadow:0 12px 28px #32274230; background:#fbf8fe; overflow-wrap:anywhere; }
.tk-data-panel p { font-size:12px; margin:8px 0 10px; }
.tk-data-panel .tk-check { display:flex; gap:7px; align-items:center; font-weight:650; }
.tk-work-inner { padding:14px clamp(12px,2.6vw,30px) 18px; min-width:0; }
.tk-work-toolbar { display:flex; align-items:start; flex-wrap:wrap; gap:8px; margin:0 0 15px; }
.tk-mode-control { margin-right:auto; }
.tk-how { min-width:0; font-size:13px; }
.tk-how[open] { flex:1 1 190px; }
.tk-how p { margin:7px 0 0; font-size:13px; max-width:48ch; }
.tk-work-grid { gap:14px; align-items:start; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.tk-panel { padding:clamp(13px,2vw,22px); gap:13px; border:1px solid #c8bbd5; background:#ffffff94; }
.tk-workspace .toolkit-summary-actions,.tk-workspace .tk-tool-footer { margin-top:13px; }
#tk-status { min-height:20px; margin:8px 0 0; font-size:13px; }
.tk-zone { background:#f4eef9; min-height:107px; border:1px dashed #a996bd; gap:7px; }
.tk-zone:nth-child(2) { background:#eee6fa; }
.tk-zone:nth-child(3) { background:#e6edf8; }
.tk-zone:nth-child(4) { background:#e6f0e9; }
.tk-zone:nth-child(5) { background:#f4e9e8; }
.tk-zone:first-child { grid-column:1/-1; min-height:97px; }
.tk-zone:last-child { grid-column:auto; }
.tk-zone-head { display:flex; justify-content:space-between; gap:8px; align-items:start; }
.tk-zone-head h3 { font-size:19px; }
.tk-zone-count,.tk-zone-empty { color:#5b4d69; font-size:12px!important; }
.tk-zone-count { flex:none; padding:4px 7px; background:#fff9; border-radius:20px; }
.tk-selection[hidden] { display:none; }
.tk-selection { display:flex; gap:8px 12px; align-items:center; justify-content:space-between; flex-wrap:wrap; border:1px solid #c9bbd7; border-radius:8px; background:#f2ecf8; padding:9px 12px; }
.tk-zone[data-drop-ready] { border-color:#775990; border-style:solid; cursor:pointer; }
.tk-zone[data-drag-over] { outline:2px solid #775990; outline-offset:2px; }
.tk-zone [data-tk-action="task-place"] { width:100%; min-height:44px; }
.tk-task-line [data-tk-action="task-pick"] { touch-action:none; cursor:grab; user-select:none; }
.tk-task-line [data-dragging] { cursor:grabbing; }
.tk-task-line { display:grid; grid-template-columns:37px minmax(0,1fr) 34px; align-items:center; gap:6px; }
.tk-task-line label { display:flex; gap:6px; align-items:center; margin:0; }
.tk-task-line button { padding:0; min-height:36px; }
.tk-task details { margin:5px 0 0 43px; font-size:12px; }
.tk-task-done .tk-task-line label span { text-decoration:line-through; }
.tk-workspace[data-tool-mode="tasks"] :is(.tk-inputs,.tk-output),
.tk-workspace[data-tool="habits"] :is(.tk-inputs,.tk-output),
.tk-workspace[data-tool="reflection"] :is(.tk-inputs,.tk-output),
.tk-workspace[data-tool="goals"] .tk-output { grid-column:1/-1; }
.tk-workspace[data-tool-mode="tasks"] :is(.tk-inputs,.tk-output) { padding-block:8px; background:transparent; border-color:transparent; }
.tk-workspace[data-tool-mode="tasks"] .tk-work-grid { gap:7px; }
.tk-workspace[data-tool-mode="tasks"] .tk-output h2 { font-size:17px; letter-spacing:0; }
.tk-month-fields { display:grid; gap:12px; }
.tk-month-signal { background:#eee8f7; border-left:4px solid #8265a0; padding:12px; border-radius:6px; }
.tk-month-signal[data-tone="available"] { background:#e1f1e7; border-color:#4c8066; }
.tk-month-signal:is([data-tone="short"],[data-tone="check"]) { background:#f6e4e0; border-color:#9c543f; }
.tk-month-signal strong { display:block; margin-top:6px; font-size:31px; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.tk-month-signal > span { font-size:12px; }
.tk-breakdown .tk-small { margin:0; }
.tk-breakdown { display:grid; gap:9px; }
.tk-donut { background:conic-gradient(var(--segments)); width:min(51%,152px); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; margin:5px auto; }
.tk-donut > div { width:71%; aspect-ratio:1; display:grid; place-content:center; gap:2px; text-align:center; background:#fdfbff; border-radius:50%; }
.tk-donut span { font-size:11px; }
.tk-donut b { font-size:clamp(12px,1.75vw,19px); }
.tk-allocation { margin:0; font-size:13px; }
.tk-allocation > div { display:flex; align-items:center; justify-content:space-between; gap:5px 9px; padding:6px 0; border-bottom:1px solid #d7cbe1; }
.tk-allocation dt i { display:inline-block; width:8px; height:8px; background:var(--allocation-color); border-radius:50%; }
.tk-allocation dd { display:grid; text-align:right; margin:0; font-variant-numeric:tabular-nums; }
.tk-allocation small { font-size:11px; }
.tk-wheel-stage { margin:0; padding:9px 8px 11px; text-align:center; border:1px solid #d7cbe1; border-radius:12px; background:repeating-radial-gradient(ellipse at 52% 47%,#fcf8ff00 0 calc(var(--wheel-scale) - 1px),#75618b26 var(--wheel-scale) calc(var(--wheel-scale) + 1px)),linear-gradient(var(--wheel-tilt),#d0c3e182,#eff4ff); }
.tk-wheel-stage canvas { display:block; width:min(100%,370px)!important; }
.tk-wheel-stage figcaption,.tk-wheel-note { font-size:12px!important; color:#564368; }
.tk-wheel-key { padding:0 0 0 22px; margin:0; columns:2; column-gap:18px; font-size:12px; }
.tk-wheel-key li { break-inside:avoid; padding:3px 0; }
.tk-wheel-key b { display:inline-block; margin-left:5px; }
.tk-ratings > label { border:1px solid #d6cadd; border-radius:8px; padding:9px; background:#fffc; }
.tk-slider-value { color:#5c4677; }
.tk-ratings label small { color:#56496a; font-weight:450; }
.tk-week-progress { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 10px; padding:10px 13px; background:#e9eef9; border-radius:8px; font-size:13px; }
.tk-week-progress strong { font-size:24px; }
.tk-week-progress progress { width:100%; height:14px; grid-column:1/-1; accent-color:#5c4a78; }
.tk-week-progress span { grid-column:1/-1; }
.tk-checkin-row { display:grid; grid-template-columns:minmax(65px,1.6fr) repeat(7,minmax(23px,1fr)) minmax(34px,.65fr); align-items:center; gap:3px; min-height:39px; border-bottom:1px solid #d6cadd; padding:4px 0; font-size:12px; }
.tk-checkin-row > :not(:first-child) { text-align:center; }
.tk-checkin-header { color:#574865; font-weight:600; }
.tk-checkin-header small { display:block; }
.tk-panel label.tk-checkin-day { position:relative; min-width:0; display:grid; place-items:center; min-height:30px; }
.tk-checkin-day input { width:19px!important; height:19px!important; margin:0; accent-color:#594576; }
.tk-checkin-day span { position:absolute; pointer-events:none; font-size:12px; font-weight:900; color:#554069; }
.tk-habit-details fieldset,.tk-habit-details > label { margin-top:10px; }
.tk-reflection-pair { gap:14px; }
.tk-reflection-pair label { padding:10px; background:#f1eaf4; border-radius:8px; }
.tk-goal-stage { padding:17px; background:#f2eaf8; }
.tk-goal-stage h3 { font-size:clamp(20px,2.5vw,30px); }
.tk-step-nav { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; margin-top:5px; }
.tk-step-nav button { min-height:39px; padding:5px 2px!important; font-size:11px; border-top:4px solid #d2c2e0; border-radius:4px; line-height:1.15; }
.tk-step-nav [data-complete] { border-top-color:#674b8e; }
.tk-goal-art { display:grid; justify-items:center; align-content:center; gap:11px; min-height:270px; margin:0; padding:12px; border:1px solid #d7cbe1; border-radius:12px; background:radial-gradient(ellipse at 55% 70%,#c8b3e1,#eee6f8 70%); }
.tk-goal-art figcaption { font-size:13px; color:#4e3b65; }
.tk-goal-shape { position:relative; isolation:isolate; aspect-ratio:1; width:min(100%,190px); }
.tk-goal-facet { position:absolute; inset:0; background:linear-gradient(119deg,#fff,#8370b4); clip-path:polygon(50% 7%,75% 20%,50% 58%,26% 24%); rotate:calc(var(--facet) * 72deg); opacity:.26; transition:opacity .25s; }
.tk-goal-facet[data-answered] { opacity:.98; }
.tk-saved-goals { display:grid; gap:5px; }
.tk-output[id="tk-output"] .tk-example { border:0; padding:0; }
@media(max-width:940px){
 .tk-desk { grid-template-columns:minmax(0,1fr); }
 .tk-tool-nav-desktop { display:none; }
 .tk-tool-switch { display:block; background:#332843; color:#fff; border:1px solid #514065; border-radius:8px; }
 .tk-tool-switch summary { cursor:pointer; padding:11px 12px; font-size:13px; }
 .tk-tool-switch summary span { margin-left:9px; color:#ead8ff; }
 .tk-tool-switch nav { border:0; padding-top:0; }
 .tk-workspace .tk-work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:660px){
 .tk-workspace .tk-work-grid { grid-template-columns:minmax(0,1fr); }
 .tk-workspace[data-tool="life-map"] .tk-output { order:-1; }
 .tk-workspace[data-tool="life-map"] .tk-wheel-stage canvas { max-width:265px; }
 .tk-workspace[data-tool="goals"] .tk-goal-art { min-height:135px; }
 .tk-goal-shape { width:min(100%,95px); }
 .tk-work-head { gap:10px; }
 .tk-step-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:420px){
 .tk-checkin-row { grid-template-columns:repeat(7,minmax(20px,1fr)) minmax(32px,.8fr); }
 .tk-checkin-row > :first-child { grid-column:1/-1; overflow-wrap:anywhere; }
 .tk-checkin-header > :first-child { display:none; }
 .tk-zone-head { flex-wrap:wrap; }
 .tk-reflection-pair,.tk-ratings { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce){.tk-work-deck,.tk-goal-facet{transition:none!important;}}
@media print {
 .tk-workspace :is(.tk-tool-nav,.tk-tool-switch,.tk-work-toolbar,.tk-data,.tk-goal-art,.tk-inputs,.tk-tool-footer,.tk-selection,#tk-status) { display:none!important; }
 .tk-workspace .tk-desk,.tk-workspace .tk-work-grid { display:block!important; }
 .tk-workspace details:not([open]) > div#tk-output-body { display:grid!important; content-visibility:visible!important; }
 .tk-workspace details::details-content { content-visibility:visible!important; height:auto!important; }
}

.tk-data-panel button:hover,.toolkit-summary-actions button:hover { border-color:#665080; }
.toolkit-summary-actions button:disabled { opacity:.55; cursor:default; }
.tk-workspace[data-tool="life-map"] .tk-output { position:sticky; top:12px; }
@media(max-width:660px){
 .tk-workspace[data-tool="life-map"] .tk-output { position:static; }
}

.tk-workspace.education-shell { padding-top:clamp(8px,1.35vw,18px); }
.tk-work-head { padding-top:clamp(12px,1.65vw,21px); }
.tk-work-head h1 { font-size:clamp(30px,3.9vw,50px); line-height:1.04; }
.tk-habit-end { display:grid; grid-template-columns:1fr; place-items:center; gap:3px; }
.tk-habit-end button { min-height:27px; min-width:27px; padding:0; }
