/* Task-first Toolkit preview. Existing brand, data and print engine remain authoritative. */
@media screen {
  .toolkit-page #main{display:block}
  .toolkit-page .tk-hero{grid-template-columns:minmax(0,1fr) 176px;align-items:center;gap:32px;padding-block:32px 28px}
  .toolkit-page .tk-hero h1{font-size:clamp(32px,3.7vw,46px);max-width:800px;line-height:1.12}
  .toolkit-page .tk-hero-copy>p:last-child{font-size:15px;line-height:1.65;max-width:76ch;margin-top:16px}
  .toolkit-page .tk-clipboard{display:none}
  .tk-hero-mark{display:block;width:160px;height:160px;object-fit:contain;justify-self:end}
  .toolkit-page .tk-workspace{margin-bottom:40px;padding:0}
  .tk-tool-stage{display:grid;grid-template-columns:196px minmax(0,1fr);gap:24px;align-items:start}
  .tk-tool-nav{position:sticky;top:108px;min-width:0;padding:8px 4px 4px;max-height:calc(100dvh - 124px);overflow-y:auto}
  .tk-nav-label{margin:0 0 12px 12px;font-size:13px;font-weight:650;color:var(--muted)}
  .toolkit-page .tk-tabs{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0;border:0;background:transparent;border-radius:0}
  .toolkit-page .tk-tabs button{position:relative;flex-direction:row;align-items:center;justify-content:start;gap:12px;min-height:68px;padding:10px 8px;border:1px solid transparent;border-radius:12px;text-align:left;font-size:15px;line-height:1.3;color:var(--ink);transition:background .16s ease,border-color .16s ease}
  .toolkit-page .tk-tabs button img{width:44px;height:44px;flex:0 0 44px;object-fit:contain}
  .tk-tab-copy{min-width:0;display:block}
  .tk-tab-label{display:block;font-weight:700}
  .tk-tab-copy small{display:block;font-size:12px;line-height:1.5;font-weight:400;color:var(--muted);margin-top:4px}
  #tab-sitter,#panel-sitter{--tk-category-accent:#d59b16;--tk-category-ink:#7d5708}
  .toolkit-page .tk-tabs button[aria-selected=true]{background:white;border-color:#c7d4db;box-shadow:inset 4px 0 var(--tk-category-accent);color:var(--tk-category-ink)}
  .toolkit-page .tk-tabs button:hover{background:#fffdf8;border-color:#c7d4db}
  .toolkit-page .tk-tabs button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
  .tk-linked-tools{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #d7dfdf}
  .tk-tool-link{display:flex;align-items:center;gap:8px;min-width:0;min-height:68px;padding:10px 8px;border:1px solid #d7dfdf;border-radius:12px;background:#fffdf9;color:var(--blue);font-size:14px;font-weight:650;line-height:1.4;text-decoration:none;transition:background .16s ease,border-color .16s ease}
  .tk-tool-link>img{width:36px;height:36px;object-fit:contain;flex:0 0 36px}
  .tk-tool-link>span:not(.tk-tool-link-arrow){min-width:0;flex:1}
  .tk-tool-link-arrow{font-size:18px;flex:none}
  .tk-tool-link:hover{background:white;border-color:#99b6c9}
  .tk-tool-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
  .tk-active-workspace{min-width:0}
  .toolkit-page .tk-panel{position:relative;padding:28px;border:1px solid #ccd8db;border-top:4px solid var(--tk-category-accent);border-radius:16px;background:#fff;box-shadow:0 6px 24px #19304a06;scroll-margin-top:112px}
  .toolkit-page .tk-panel-heading{gap:16px;margin-bottom:24px;padding-bottom:0;border-bottom:0}
  .toolkit-page .tk-panel-heading h2{font-size:clamp(27px,2.6vw,34px);line-height:1.2}
  .toolkit-page .brand-tool-heading{grid-template-columns:72px minmax(0,1fr);gap:16px}
  .toolkit-page .brand-tool-heading>img{width:72px;height:72px}
  .toolkit-page .brand-tool-copy>p:last-child{font-size:14px;line-height:1.65;margin-top:12px;max-width:64ch}
  .toolkit-page #panel-seasonal .brand-tool-heading{grid-template-columns:100px minmax(0,1fr)}
  .toolkit-page #panel-seasonal .brand-tool-heading>.ck-scene--splash{width:100px}
  .toolkit-page #panel-seasonal .brand-tool-heading:has(>.ck-scene--splash[hidden]){grid-template-columns:minmax(0,1fr)}
  .toolkit-page #panel-seasonal .brand-tool-heading:has(>.ck-scene--splash[hidden])>.brand-tool-copy{display:block;grid-column:1/-1}
  .toolkit-page .tk-card{border-radius:0;border:0;padding:0;background:transparent}
  .toolkit-page .tk-daily-layout{display:block}
  #panel-daily>.tk-panel-heading{padding-right:104px;min-height:96px}
  #panel-daily .brand-tool-heading{display:block}
  #panel-daily .brand-tool-heading>img{display:none}
  #panel-daily .tk-care-card>.tk-card-heading{position:absolute;right:24px;top:20px;margin:0;width:88px;justify-content:center}
  #panel-daily .tk-care-card>.tk-card-heading h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #panel-daily .tk-care-card>.tk-card-heading .ck-scene{width:88px}
  #daily-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
  #daily-checklist>.tk-progress{grid-column:1/-1;margin:0;padding:12px 0;border-block:1px solid #dfe5e6;font-size:13px}
  #daily-checklist .tk-checklist-group{margin:0;min-width:0}
  #daily-checklist .tk-checklist-group>h3{font:700 21px/1.2 var(--display);color:var(--blue);margin:0 0 12px}
  #daily-checklist .tk-check-row{padding:12px 8px;min-height:76px;border-radius:8px;border-bottom:1px solid #edf0ef}
  #daily-checklist .tk-check-row strong{font-size:14px;line-height:1.5}
  #daily-checklist .tk-check-row small{font-size:12px;line-height:1.65;margin-top:4px}
  .tk-sitter-entry{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin-top:24px;padding:20px;background:#fff7df;border-left:4px solid #d59b16;border-radius:0 10px 10px 0}
  .tk-sitter-entry h3{font-size:16px;margin:0;line-height:1.5}
  .tk-sitter-entry p{font-size:13px;line-height:1.65;margin:4px 0 0;color:var(--muted);max-width:58ch}
  .tk-sitter-entry a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px;color:var(--blue)}
  .toolkit-page .tk-panel-foot{border-top:1px solid #e0e5e6;padding-top:16px;margin-top:24px}
  .tk-reference{font-size:12px;color:var(--muted)}
  .tk-reference[open]{flex-basis:100%}
  .tk-reference>summary{width:fit-content;min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--blue)}
  .tk-reference>summary::before{content:'+';font-size:18px}
  .tk-reference[open]>summary::before{content:'−'}
  .toolkit-page .tf-saved-details{margin:16px 0 0;border-radius:10px;background:transparent;border-color:#d9dfe0}
  .toolkit-page .tf-saved-details>summary{padding:12px 16px;font-size:13px;min-height:48px}
  .toolkit-page #toolkit-status{font-size:12px;line-height:1.6;color:var(--muted);padding-inline:4px;margin:12px 0 0}
  #panel-sitter .tk-sitter-toggle{display:none!important}
  #panel-sitter .tk-sitter-heading h2{font:700 clamp(28px,2.6vw,34px)/1.2 var(--display);margin:0;color:#7d5708}
  #panel-sitter .tk-sitter-steps{gap:0;margin-bottom:28px}
  #panel-sitter .tk-sitter-steps li{flex-direction:row;align-items:center;font-size:13px;gap:8px;padding:12px 8px}
  #panel-sitter .tk-sitter-section{margin-top:24px;padding-top:24px;border-top:1px solid #dfe5e6}
  #panel-sitter .tk-sitter-section:first-child{margin-top:0;padding-top:0;border-top:0}
  #panel-sitter .tk-sitter-section legend{margin-bottom:16px;font-size:16px}
  #panel-sitter .tk-sitter-section>.tk-sitter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  #panel-sitter #sitter-task-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  #panel-sitter .tk-sitter-task{border-radius:8px;background:#fbfcfa}
  #panel-sitter .tk-sitter-finish{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}
  #panel-sitter .tk-sitter-finish .button{width:auto;flex-shrink:0}
  .toolkit-page .tk-coop-layout,.toolkit-page .tk-egg-layout{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:28px}
  /* Wrapped labels must not stagger the paired measurement controls. */
  #coop-form .tk-field-pair{align-items:end}
  .toolkit-page .tk-egg-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toolkit-page .tk-plan-placeholder{padding:24px;background:#fcf8f1;border:1px dashed #bacac9;border-radius:12px}
  .toolkit-page .tk-egg-placeholder{background:#fff5ed;border-color:#dcc0ad}
  .toolkit-page .tk-season-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px}
  .toolkit-page .tk-season-choice,.toolkit-page .tk-egg-form{border-top:0}
  .toolkit-page .tk-season-layout>section.tk-card{padding-left:24px;border-left:1px solid #dfe5e6}
  .tk-further{margin-bottom:56px;padding-top:28px;border-top:1px solid #d9dfe0}
  .tk-further>h2{font-size:28px;margin:0 0 8px;color:var(--blue)}
  .tk-further>p{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 20px}
  .tk-further-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  .tk-further-links a{display:flex;align-items:start;gap:12px;border-top:2px solid #d8e4e1;padding:20px 0;color:var(--ink);text-decoration:none}
  .tk-further-links a>img{width:52px;height:52px;object-fit:contain;flex:none}
  .tk-further-links strong{font-size:15px;line-height:1.5;display:block;color:var(--blue)}
  .tk-further-links small{font-size:13px;line-height:1.6;display:block;color:var(--muted);margin-top:4px}
  .tk-further-links a:hover strong{text-decoration:underline;text-underline-offset:4px}
  .tk-further-links a:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:4px}
}
@media screen and (max-width:1100px){
  .tk-tool-stage{grid-template-columns:172px minmax(0,1fr);gap:20px}
  .toolkit-page .tk-tabs button{gap:8px;padding-inline:8px}
  .toolkit-page .tk-tabs button img{width:36px;height:36px;flex-basis:36px}
  .toolkit-page .tk-panel{padding:24px}
  .toolkit-page .tk-coop-layout,.toolkit-page .tk-egg-layout,.toolkit-page .tk-season-layout{grid-template-columns:1fr}
  .toolkit-page .tk-season-layout>section.tk-card{padding:24px 0 0;border-left:0;border-top:1px solid #dfe5e6}
  .tk-further-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:780px){
  .toolkit-page .tk-hero{grid-template-columns:minmax(0,1fr) 64px;gap:12px;padding-block:24px 20px;align-items:start}
  .toolkit-page .tk-hero-copy{display:contents}
  .toolkit-page .tk-hero .eyebrow{grid-row:1;grid-column:1;margin:0;align-self:center}
  .toolkit-page .tk-hero h1{grid-column:1/-1;grid-row:2;font-size:34px;line-height:1.12}
  .toolkit-page .tk-hero h1 br{display:none}
  .toolkit-page .tk-hero-copy>p:last-child{grid-column:1/-1;grid-row:3;font-size:14px;line-height:1.65;margin:0}
  .tk-hero-mark{grid-column:2;grid-row:1;width:56px;height:56px}
  .tk-tool-stage{display:block}
  .tk-tool-nav{position:static;padding:0;margin-bottom:16px;max-height:none;overflow:visible}
  .tk-nav-label{margin:0 0 8px;font-size:12px}
  .toolkit-page .tk-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
  .toolkit-page .tk-tabs button{grid-column:span 2;min-height:64px;padding:8px 4px;gap:4px;flex-direction:column;justify-content:center;text-align:center;border:1px solid #d7dfdf;background:#fffdf9;font-size:13px}
  .toolkit-page .tk-tabs button img{width:28px;height:28px;flex-basis:28px}
  .toolkit-page #tab-daily,.toolkit-page #tab-sitter{grid-column:span 3;min-height:52px;flex-direction:row;gap:8px;font-size:14px}
  .tk-tab-copy small{display:none}
  .tk-linked-tools{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;padding-top:0;border:0}
  .tk-tool-link{gap:6px;min-height:68px;padding:8px;font-size:13px;line-height:1.4}
  .tk-tool-link>img{width:28px;height:28px;flex-basis:28px}
  .tk-tool-link-arrow{display:none}
  .toolkit-page .tk-panel{padding:20px 16px;border-radius:12px;scroll-margin-top:100px}
  .toolkit-page .tk-panel-heading{margin-bottom:20px;gap:12px}
  .toolkit-page .tk-panel-heading h2{font-size:29px}
  .toolkit-page .brand-tool-heading{grid-template-columns:minmax(0,1fr) 56px;gap:8px 12px}
  .toolkit-page .brand-tool-heading>img{width:56px;height:56px;grid-column:2;grid-row:1}
  .toolkit-page .brand-tool-copy{display:contents}
  .toolkit-page .brand-tool-copy>.tk-kicker{grid-column:1;grid-row:1;align-self:center}
  .toolkit-page .brand-tool-copy>h2{grid-column:1/-1;grid-row:2}
  .toolkit-page .brand-tool-copy>p:last-child{grid-column:1/-1;grid-row:3;margin:4px 0 0}
  .toolkit-page #panel-seasonal .brand-tool-heading{grid-template-columns:minmax(0,1fr) 80px;gap:12px}
  .toolkit-page #panel-seasonal .brand-tool-heading>.ck-scene--splash{width:80px;grid-column:2;grid-row:1}
  #panel-daily>.tk-panel-heading{padding-right:72px;min-height:80px}
  #panel-daily .tk-care-card>.tk-card-heading{right:12px;top:16px;width:64px}
  #panel-daily .tk-care-card>.tk-card-heading .ck-scene{width:64px}
  #daily-checklist{grid-template-columns:1fr;gap:20px}
  #daily-checklist .tk-check-row{padding:12px 4px;min-height:76px}
  #daily-checklist .tk-check-row small{font-size:13px;line-height:1.6}
  .tk-sitter-entry{padding:16px;margin-top:20px;gap:8px}
  .tk-sitter-entry h3{font-size:16px}
  #panel-sitter .tk-sitter-section>.tk-sitter-fields,#panel-sitter #sitter-task-editor{grid-template-columns:1fr}
  #panel-sitter .tk-sitter-steps li{flex-direction:column;align-items:start;font-size:12px}
  #panel-sitter .tk-sitter-heading>img{width:44px;height:44px}
  #panel-sitter:not([hidden]) #sitter-customization:not([hidden]) .tk-sitter-finish{position:fixed;z-index:35;bottom:0;left:0;right:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));margin:0;background:#fff;border-top:1px solid #dce4e8;box-shadow:0 -4px 18px #19304a0a;display:flex;justify-content:flex-end}
  #panel-sitter .tk-sitter-finish .button{width:100%;justify-content:center}
  .toolkit-page:has(#panel-sitter:not([hidden]) #sitter-customization:not([hidden])){padding-bottom:88px}
  .toolkit-page .tk-egg-fields{gap:16px 12px}
  .toolkit-page .tk-plan-placeholder{padding:20px}
  .tk-further{padding-top:24px;margin-bottom:32px}
  .tk-further>h2{font-size:26px}
  .tk-further-links{grid-template-columns:1fr;gap:0}
  .tk-further-links a{padding:16px 0;gap:16px}
  .tk-further-links a>img{width:44px;height:44px}
}
@media print{.tk-tool-nav,.tk-further,.tk-sitter-entry{display:none!important}}

@media screen{.tk-hero-mark>img{width:100%;height:100%;object-fit:contain}}

@media screen and (min-width:1101px){
  #sitter-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  #panel-sitter #sitter-form>.tk-sitter-section{margin:0}
  #panel-sitter #sitter-form>.tk-sitter-section:nth-child(2){padding-top:0;border-top:0}
  #sitter-form>.tk-sitter-section:nth-child(n+3),#sitter-form>.tk-error,#sitter-form>.tk-sitter-finish{grid-column:1/-1}
  #panel-sitter .tk-sitter-section>.tk-contact-fields{grid-template-columns:1fr}
  #panel-sitter #sitter-form>.tk-sitter-finish{margin-top:0}
}
