/* Tile stories (scripts/tile_story.py, quote_story.py, round2_stories.py): original Planar tiles,
   Plancraft motion, existing palette only. Shared blocks first, then each section. */
/* Kept from card-films.css (cursor) and feature-gallery.css (Features 3 tabs) after the 22 October cleanup. */
/* Original Planar surfaces; one persistent workspace per product story. */
.kv-film{--kv-film-ink:#252521;--kv-film-muted:#777770;--kv-film-surface:#f5f5f1;--kv-film-border:#e7e7e2;--_colors--text---text-heading:#252521;--_colors--text---text-body:#252521;--_colors--text---text-body-muted:#777770;color:var(--kv-film-ink);width:100%;min-width:0}
.kv-film [hidden]{display:none!important}
.kv-film :is(h3,strong){color:var(--kv-film-ink)}
.kv-film h3{font-family:inherit;font-size:20px;line-height:1.25;font-weight:500;letter-spacing:-.015em;margin:0}
.kv-film strong{font-weight:500}.kv-film p{margin:0}

/* Visibility preserves layout. The controller animates only local layers. */
.kv-film-layer{position:relative;min-width:0}
.kv-film:not([data-film-ready=true]) .kv-film-layer[data-exit-ms],
.kv-film[data-film-ready=true] .kv-film-layer[data-visible=false]{visibility:hidden;opacity:0;pointer-events:none}
.kv-film[data-film-ready=true] .kv-film-layer[data-visible=true]{visibility:visible}
.kv-film[data-film-ready=true] .kv-film-layer[data-visible=false] .kv-film-layer{visibility:hidden!important}
@keyframes kv-film-wave{from{transform:scaleY(.45)}to{transform:scaleY(1)}}
.kv-film-cursor{position:absolute;left:0;top:0;width:22px;height:22px;z-index:4;opacity:0;visibility:hidden;pointer-events:none}.kv-film-cursor[data-visible=true]{opacity:1;visibility:visible}

/* Retire obsolete static visual dimensions, only on the film hosts. */
body[data-landing-composition=focused] #feature-portal .feature-box-square:has(.kv-film),body[data-landing-composition=focused] #feature-quotes .bento-tile-box:has(.kv-film){height:auto;min-height:0;width:100%;max-width:none;aspect-ratio:auto;padding:0}
body[data-landing-composition=focused] #feature-automation>.main-container>.feature-snapshot>.kv-film{background:var(--_colors--surface---surface-2);border-radius:var(--_border-radius---radius-medium)}

@media(max-width:600px){
 .kv-film-stage{padding:18px}
 .kv-film .tile.kv-film-card{padding:18px;height:420px}
 .kv-film[data-film-kind=followup] .tile.kv-film-card{height:410px}
 .kv-film[data-film-kind=portal] .tile.kv-film-card{height:510px}
 .kv-film-context-right{width:92px;font-size:10px}.kv-film h3{font-size:18px}
 .kv-film-layer.kv-record-panel{inset:auto 14px 20px;height:214px;padding:16px}.kv-record-transcript{font-size:16px;min-height:82px}.kv-record-heading{gap:6px;font-size:10px}.kv-film-wave{gap:2px}
 .kv-film-action{padding-inline:13px;font-size:11px}
 .kv-film[data-film-kind=quote]>.kv-film-card>.kv-document-total{left:18px;right:18px}.kv-quote-footer{left:18px;right:18px;bottom:20px}
 .kv-workflow{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 14px auto 14px auto;margin-top:2px}
 .kv-workflow-node{height:78px;padding:10px 12px;display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;column-gap:10px;row-gap:1px}
 .kv-workflow-node>.kv-film-icon{grid-column:1;grid-row:1 / 4;margin:0}.kv-workflow-node>:not(.kv-film-icon){grid-column:2}.kv-workflow-node>strong{font-size:12px}.kv-workflow-node>span,.kv-workflow-node>small{font-size:10px;line-height:1.3}.kv-workflow-node>small{margin-top:0}
 .kv-condition-slot{height:13px;margin-top:0;font-size:10px;line-height:1.3}.kv-condition-slot>.kv-film-layer{align-items:center}.kv-workflow-task-slot{height:78px}
 .kv-workflow-line::before,.kv-workflow-line>.kv-film-layer{left:24px;top:0;width:1px;height:100%}.kv-workflow-line i{width:1px;height:100%;transform-origin:top}
 .kv-portal-layout{grid-template-columns:minmax(0,1fr);gap:12px}.kv-portal-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0}.kv-portal-documents>.kv-message-label{grid-column:1 / -1;margin:0}
 .kv-portal-file{position:relative;flex-direction:column;justify-content:center;gap:4px;min-height:57px;padding:6px 4px;border-radius:6px;background:var(--kv-film-surface);text-align:center;font-size:10px;line-height:1.25}.kv-portal-file>.kv-film-icon{width:14px;height:14px}.kv-portal-file>.kv-film-icon:last-child{position:absolute;top:5px;right:4px;width:9px;height:9px;margin:0}.kv-portal-file>span{max-width:100%}
 .kv-portal-main{gap:10px}.kv-portal-offer{padding:12px;gap:10px}.kv-portal-work{gap:8px;font-size:11px}.kv-portal-work>span{font-size:10px}.kv-portal-chat{height:122px}.kv-film-message-input{font-size:12px}.kv-film-message p{font-size:13px}
 body[data-landing-composition=focused] #feature-portal .wide-feature-box:has(.kv-film){padding-inline:12px}
 body[data-landing-composition=focused] #feature-portal .kv-film-stage{padding-inline:12px}
}
@media(prefers-reduced-motion:reduce){.kv-film .kv-film-wave i{animation:none!important}.kv-film-action[data-pressed=true]{transform:none}}
/* Features 3's native tab/bento structure, with readable product compositions. */
body[data-landing-composition=focused] #feature-result .section-content{gap:32px}
#feature-result .kv-feature-gallery{width:100%;min-width:0;--_tiles--surface---tile-surface-1:#fff;--_tiles--surface---tile-surface-2:#f5f5f1;--_tiles--color---tile-text:#252521;--_tiles--color---tile-text-muted:#777770;color:#252521}
#feature-result .kv-feature-gallery .tabs-menu.boxed.centered{box-sizing:border-box;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;max-width:100%;padding:6px;gap:4px;margin:0 0 28px;background:#f5f5f1;border-radius:12px;align-self:stretch}
#feature-result .kv-feature-gallery .tab-link{display:flex;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:52px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#777770;font:inherit;font-size:14px;line-height:1.3;text-align:left;text-decoration:none;cursor:pointer}
#feature-result .kv-feature-gallery .tab-link.w--current,#feature-result .kv-feature-gallery .tab-link[aria-selected=true]{background:#fff;color:#252521;box-shadow:0 1px 4px #25252108}
#feature-result .kv-feature-gallery .tab-link:hover{color:#252521}
#feature-result .kv-feature-gallery .tab-link:focus-visible{outline:2px solid #777770;outline-offset:2px}
#feature-result .kv-feature-gallery .tab-link .kv-gallery-icon{width:18px;height:18px}
#feature-result .kv-feature-gallery .tabs-content,#feature-result .kv-feature-gallery .w-tab-pane{width:100%;min-width:0;max-width:100%}
#feature-result .kv-feature-gallery .w-tab-pane[hidden]{display:none!important}
#feature-result .kv-feature-gallery .w-tab-pane.w--tab-active{animation:kv-gallery-enter 220ms ease-out both}
#feature-result .kv-gallery-icon{display:block;width:21px;height:21px;flex:none;color:#777770}
@keyframes kv-gallery-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){
 #feature-result .kv-feature-gallery .tabs-menu.boxed.centered{grid-template-columns:repeat(3,minmax(0,1fr))}
 #feature-result .kv-feature-gallery .tab-link{min-height:44px;justify-content:flex-start;padding-inline:14px}
}
@media(max-width:991px){
 #feature-result .kv-feature-gallery .bento-layout._5.kv-gallery-layout{grid-template-columns:minmax(0,1fr);min-height:0;height:auto;gap:4px}
 #feature-result .kv-gallery-layout>.bento-tile-box,#feature-result .kv-gallery-layout>.kv-gallery-primary{padding:24px}
 #feature-result .kv-gallery-layout .tile.kv-gallery-side{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;align-items:start;width:100%}
 #feature-result .kv-gallery-side>.kv-gallery-title{grid-column:1 / -1}
 #feature-result .kv-gallery-side>.kv-gallery-mini-flow,#feature-result .kv-gallery-side>.kv-gallery-costbars{grid-column:1 / -1}
 #feature-result .kv-gallery-side .kv-gallery-row{border-top:0;padding-top:0}
 #feature-result .kv-gallery-side>.kv-gallery-badge{align-self:start}
 #feature-result .kv-gallery-layout .tile.kv-gallery-workspace{min-height:0}
 #feature-result .kv-gallery-mini-flow{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);align-items:center}
 #feature-result .kv-gallery-mini-flow .kv-gallery-flow-line{width:100%;height:1px;margin:0}
 #feature-result .kv-gallery-mini-flow .kv-gallery-row{align-items:center;gap:8px}
}
@media(max-width:600px){
 #feature-result .kv-feature-gallery .tabs-menu.boxed.centered{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px}
 #feature-result .kv-feature-gallery .tab-link{font-size:14px;padding:10px 9px;gap:7px;min-height:52px}
 #feature-result .kv-feature-gallery .tab-link .kv-gallery-icon{width:17px;height:17px}
 #feature-result .kv-feature-gallery .bento-layout._5.kv-gallery-layout{border-radius:12px;overflow:visible;gap:12px}
 #feature-result .kv-gallery-layout>.bento-tile-box,#feature-result .kv-gallery-layout>.kv-gallery-primary{padding:14px;border-radius:12px}
 #feature-result .kv-gallery-layout>.kv-gallery-primary{order:-1}
 #feature-result .kv-gallery-layout .motif-bg{display:none}
 #feature-result .kv-gallery-layout .tile.kv-gallery-side{display:flex;gap:16px;padding:18px}
 #feature-result .kv-gallery-layout .tile.kv-gallery-workspace{padding:16px;gap:14px}
 #feature-result .kv-gallery-title h3,#feature-result .kv-gallery-workspace .kv-gallery-title h3{font-size:22px}
 #feature-result .kv-gallery-toolbar{flex-wrap:wrap;gap:6px;padding-bottom:11px}
 #feature-result .kv-gallery-toolbar>small{margin-left:28px;text-align:left}
 #feature-result .kv-gallery-row{align-items:flex-start;gap:9px;flex-wrap:wrap}
 #feature-result .kv-gallery-row>div{min-width:120px}
 #feature-result .kv-gallery-row-end{margin-left:30px}
 #feature-result .kv-gallery-side .kv-gallery-row{padding-top:12px;border-top:1px solid #e7e7e2}
 #feature-result .kv-gallery-subnav{gap:14px;font-size:12px;flex-wrap:wrap}
 #feature-result .kv-gallery-dossier-grid{grid-template-columns:minmax(0,1fr)}
 #feature-result .kv-gallery-dossier-grid .tile-content-boxed{padding:13px}
 #feature-result .kv-gallery-appointment{display:grid!important;grid-template-columns:22px minmax(0,1fr);column-gap:8px!important;row-gap:3px!important}
 #feature-result .kv-gallery-appointment>.kv-gallery-icon{grid-column:1;grid-row:1 / 4}
 #feature-result .kv-gallery-appointment>:not(.kv-gallery-icon){grid-column:2}
 #feature-result .kv-gallery-price{gap:7px 10px}
 #feature-result .kv-gallery-price .kv-gallery-badge{margin-left:0}
 #feature-result .kv-gallery-document{padding:12px}
 #feature-result .kv-gallery-document-head{align-items:flex-start;flex-wrap:wrap}
 #feature-result .kv-gallery-mini-flow{display:flex;flex-direction:column;align-items:stretch}
 #feature-result .kv-gallery-mini-flow .kv-gallery-row{border:0;padding:5px 0}
 #feature-result .kv-gallery-mini-flow .kv-gallery-flow-line{height:14px;width:1px;margin-left:10px}
 #feature-result .kv-gallery-rule-fields{grid-template-columns:minmax(0,1fr);gap:8px}
 #feature-result .kv-gallery-rule-fields>div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:9px;align-items:start;padding:11px}
 #feature-result .kv-gallery-rule-fields>div>span{font-size:14px}
 #feature-result .kv-gallery-rule-fields .kv-gallery-icon{display:none}
 #feature-result .kv-gallery-bubble{max-width:94%;padding:11px 12px}
 #feature-result .kv-gallery-agreement{flex-wrap:wrap;padding:12px;gap:9px}
 #feature-result .kv-gallery-agreement>div{min-width:135px}
 #feature-result .kv-gallery-agreement>.kv-gallery-badge{margin-left:30px}
 #feature-result .kv-gallery-calendar-head,#feature-result .kv-gallery-calendar-grid{grid-template-columns:minmax(0,1fr)}
 #feature-result .kv-gallery-calendar-head span:not(:first-child),#feature-result .kv-gallery-calendar-empty{display:none}
 #feature-result .kv-gallery-calendar-head span{text-align:left;padding:9px 12px}
 #feature-result .kv-gallery-calendar-grid{min-height:0}
 #feature-result .kv-gallery-calendar-slot{margin:10px;padding:13px;gap:6px}
 #feature-result .kv-gallery-work-bottom{grid-template-columns:minmax(0,1fr);gap:9px}
 #feature-result .kv-gallery-work-bottom>.tile-content-boxed{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 9px;padding:13px}
 #feature-result .kv-gallery-work-bottom>.tile-content-boxed>.kv-gallery-icon{grid-column:1;grid-row:1 / 4}
 #feature-result .kv-gallery-work-bottom>.tile-content-boxed>:not(.kv-gallery-icon){grid-column:2}
 #feature-result .kv-gallery-ledger{font-size:14px;gap:13px}
 #feature-result .kv-gallery-ledger>div{gap:10px}
 #feature-result .kv-gallery-invoice-total{align-items:flex-start!important}
 #feature-result .kv-gallery-invoice-total strong:last-child{font-size:20px}
 #feature-result .kv-gallery-handoff{padding:12px;gap:9px}
 #feature-result .kv-gallery-handoff>.kv-gallery-icon{display:none}
 #feature-result .kv-gallery-caption{font-size:14px;margin-top:18px;padding-inline:4px;text-align:left}
}
@media(prefers-reduced-motion:reduce){#feature-result .kv-feature-gallery .w-tab-pane.w--tab-active{animation:none}}
@media(max-width:600px){
 #feature-result .kv-gallery-motion .kv-gallery-compose :is(.kv-gallery-message-input,.kv-film-message-input){padding:11px 12px;min-height:78px;font-size:14px}
 #feature-result .kv-gallery-motion .kv-gallery-action{padding-inline:12px;font-size:13px}
 #feature-result .kv-gallery-motion .kv-gallery-select-row{gap:8px;padding:10px}
 #feature-result .kv-gallery-motion .kv-gallery-pending{padding:11px;font-size:14px}
 #feature-result .kv-gallery-motion .kv-gallery-drag-source{padding:12px}
}
@media(prefers-reduced-motion:reduce){
 #feature-result .kv-gallery-motion .kv-film-layer{animation:none!important;transition:none!important}
 #feature-result .kv-gallery-motion .kv-gallery-action[data-pressed=true]{transform:none}
 #feature-result .kv-gallery-motion .kv-film-cursor{display:none!important}
}
@media(max-width:600px){
 #feature-result .kv-gallery-motion .kv-gallery-phase{flex-wrap:wrap;gap:9px;padding:11px}
 #feature-result .kv-gallery-motion .kv-gallery-phase>.kv-gallery-state-slot{margin-left:auto}
 #feature-result .kv-gallery-motion .kv-gallery-hours{gap:10px;padding:12px;flex-wrap:wrap}
 #feature-result .kv-gallery-motion .kv-gallery-hours>.kv-gallery-action{margin-left:auto}
 #feature-result .kv-gallery-motion .kv-gallery-drag-source{column-gap:8px;padding:10px}
 #feature-result .kv-gallery-motion .kv-gallery-drag-source>.kv-gallery-action{padding-inline:10px;font-size:12px}
 #feature-result .kv-gallery-motion .kv-gallery-calendar-target{min-height:105px;margin:10px}
 #feature-result .kv-gallery-motion .kv-gallery-ledger-row{gap:10px}
 #feature-result .kv-gallery-motion .kv-gallery-agreement>.kv-gallery-state-slot{margin-left:30px}
}

body[data-landing-composition=focused] #feature-quotes .bento-tile-box{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;aspect-ratio:auto;min-height:560px;padding:0}
.kv-q-film{position:relative;z-index:1;box-sizing:border-box;width:100%;color:#252521}
#feature-quotes .kv-q-film{max-width:480px;padding:32px}
.kv-q-canvas{position:relative}
.kv-q-film .kv-film-layer{position:relative;min-width:0}
.kv-q-film:not([data-film-ready=true]) .kv-film-layer[data-exit-ms],
.kv-q-film[data-film-ready=true] .kv-film-layer[data-visible=false]{visibility:hidden;opacity:0;pointer-events:none}
.kv-q-stack{display:grid;min-width:0}
.kv-q-stack>*{grid-area:1/1;min-width:0}
/* Later states cover the first one completely. */
.kv-q-dialog .tile-title .kv-q-stack>.kv-film-layer>*{background:#fff}
.kv-q-record .kv-q-stack{place-items:center;width:48px;height:48px}
.kv-q-icon{display:block;width:20px;height:20px;flex:none}

/* The offer: one original tile, every moment in a fixed place. */
.kv-q-film .tile.kv-q-offer{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:100%;min-height:0;padding:20px;box-shadow:0 18px 44px #2525211a}
.kv-q-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:4px}
.kv-q-head .tile-title{min-width:0}
.kv-q-status-slot{justify-items:end;flex:none}
.kv-q-status{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:#f5f5f1;font-size:12.5px;line-height:1.2;white-space:nowrap}
.kv-q-status.is-done{background:#e4f222;font-weight:500}
.kv-q-status .kv-q-icon,.kv-q-chip .kv-q-icon{width:13px;height:13px}
.kv-q-line,.kv-q-skeleton{box-sizing:border-box;min-height:64px}
.kv-q-line{display:flex;justify-content:space-between;align-items:center;gap:12px}
.kv-q-line-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.kv-q-line-text strong{font-size:14.5px;font-weight:500;line-height:1.3}
.kv-q-line-text small{font-size:12.5px;line-height:1.35;color:#65655e}
.kv-q-line-end{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none}
.kv-q-amount{font-size:15px;font-weight:500;white-space:nowrap}
.kv-q-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:#e4f222;font-size:11.5px;font-weight:500;white-space:nowrap}
.kv-q-skeleton{display:flex;flex-direction:column;justify-content:center;gap:8px}
.kv-q-skeleton i{display:block;width:62%;height:8px;border-radius:4px;background:#e7e7e2}.kv-q-skeleton i+i{width:34%}
.kv-q-totals{display:flex;flex-direction:column;gap:6px;padding-top:12px;border-top:1px solid #e7e7e2}
.kv-q-totals>.kv-film-layer{display:flex;flex-direction:column;gap:6px}
.kv-q-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#65655e}
.kv-q-row.kv-q-total{color:#252521;font-size:14px}
.kv-q-total-slot{justify-items:end}
.kv-q-total strong{padding-left:12px;background:#fff;font-family:Urbanist,sans-serif;font-size:24px;font-weight:500;line-height:1.2}
.kv-q-total .kv-q-total-empty{color:#b6b6ae}
.kv-q-actions{display:grid;justify-items:end;align-items:center;min-height:40px}
.kv-q-actions>*{grid-area:1/1}
.kv-q-ready{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:#65655e}
.kv-q-ready .kv-q-icon{width:15px;height:15px;color:#252521}
.kv-q-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;cursor:default;transition:transform .15s}
.kv-q-button.is-dark,.kv-q-actions .kv-q-button{background:#252521;border-color:#252521;color:#fff}
.kv-q-button[data-pressed=true],.kv-q-record[data-pressed=true]{transform:scale(.94)}

/* Dialogs over the offer; like Plancraft's scrim, the offer underneath recedes. */
.kv-q-offer{transition:opacity .45s cubic-bezier(.167,.167,.833,.833),filter .45s cubic-bezier(.167,.167,.833,.833)}
.kv-q-canvas:has(.kv-q-overlay[data-visible=true]) .kv-q-offer{opacity:.55;filter:saturate(.6)}
.kv-q-film .kv-film-layer.kv-q-overlay{position:absolute;inset:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;pointer-events:none}
.kv-q-film .tile.kv-q-dialog{box-sizing:border-box;display:flex;flex-direction:column;gap:14px;width:calc(100% - 24px);max-width:min(400px,calc(100% - 24px));min-width:0;min-height:0;padding:20px;box-shadow:0 24px 60px #25252133}
.kv-q-transcript{min-height:76px;margin:0;font-size:18px;line-height:1.45}
.kv-q-dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.kv-q-dialog .tile-transport-controls{flex:1 1 0;align-items:center;gap:10px;min-width:0;padding-right:14px;overflow:hidden}
.kv-q-dialog-foot .kv-q-button{flex:none}
.kv-q-record{transition:transform .15s}
.kv-q-rec-on{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#252521;color:#fff}
.kv-q-rec-on .kv-q-icon{width:16px;height:16px}
.kv-q-wave{display:flex;align-items:center;gap:3px;min-width:0;height:22px;overflow:hidden}
.kv-q-wave i{display:block;width:3px;height:6px;border-radius:2px;background:#9a9a92}
.kv-q-film[data-running=true] .kv-q-dialog:has(.kv-film-layer[data-visible=true] .kv-q-live) .kv-q-wave i{animation:kv-q-wave .8s ease-in-out infinite alternate}
.kv-q-wave i:nth-child(3n){animation-delay:-.3s}.kv-q-wave i:nth-child(3n+1){animation-delay:-.55s}
@keyframes kv-q-wave{to{height:20px;background:#252521}}
.kv-q-film .tile.kv-q-ai{width:auto;min-height:0;padding:26px 32px;box-shadow:0 24px 60px #25252133}
.kv-q-ai .ai-orb-logo{width:30px;height:30px}
.kv-q-film[data-running=true] .kv-q-ai .tile-ai-orb-bg{animation:kv-q-spin 5s linear infinite}
@keyframes kv-q-spin{to{transform:rotate(1turn)}}

/* Steps beside the film: jump to a moment. */
.kv-q-steps{box-sizing:border-box;width:100%;max-width:440px;min-height:0}
.kv-q-steps .tile-tab-item{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;background:transparent;font:inherit;font-size:14px;color:inherit;cursor:pointer;transition:background-color .25s,color .25s}
.kv-q-steps .tile-tab-item:focus-visible{outline:2px solid #252521;outline-offset:2px}
.kv-q-step-no{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#efefeb;color:#252521;font-size:11.5px}
.kv-q-steps .tile-tab-item.active .kv-q-step-no{background:#e4f222}

@media (max-width:767px){
body[data-landing-composition=focused] #feature-quotes .bento-tile-box{min-height:0}
#feature-quotes .kv-q-film{max-width:none;padding:20px 14px 24px}
.kv-q-steps{max-width:none}
.kv-q-transcript{font-size:16px}
}
@media (max-width:479px){
.kv-q-film .tile.kv-q-offer{padding:16px}
.kv-q-line-text strong{font-size:13.5px}
.kv-q-steps .tile-tab-item{gap:6px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){.kv-q-wave i,.kv-q-ai .tile-ai-orb-bg,.kv-r-clock .tile-clock-minute-hand,.kv-r-clock .tile-clock-hour-hand{animation:none!important}}

/* Round 2 shared rows and covers. A later state's layer covers the first state in the
   colour of the surface it sits on. */
.kv-r-film{--kv-cover:#fff}
.kv-r-film .tile-content-boxed{--kv-cover:#f5f5f1}
.kv-r-film .kv-q-stack>.kv-film-layer{background:var(--kv-cover)}
.kv-r-row{display:flex;align-items:center;gap:10px;min-width:0}
.kv-r-row>.kv-q-icon{color:#65655e}
.kv-r-row-text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.kv-r-row-text strong{font-size:14px;font-weight:500;line-height:1.3;color:#252521}
.kv-r-row-text small{font-size:12.5px;line-height:1.35;color:#65655e}
.kv-r-row-end{display:flex;flex:none;justify-content:flex-end}
.kv-r-end{justify-items:end;align-items:center}
.kv-r-muted{font-size:12.5px;color:#65655e}
.kv-r-placeholder{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:40px}
.kv-r-placeholder i{display:block;width:62%;height:7px;border-radius:4px;background:#e7e7e2}.kv-r-placeholder i+i{width:36%}
.kv-r-actions{justify-items:start;align-items:center;min-height:40px}
.kv-r-film .tile-check-cricle .kv-q-icon{width:13px;height:13px}
.kv-r-film .tile-checkbox{flex:none}

/* Sections 1 and 3: the original Home 2 connected cards. */
.kv-r-film .tile-pair-box.kv-r-pair{box-sizing:border-box;width:100%;justify-content:center;align-items:center}
.kv-r-film .tile.kv-r-tile{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:288px;height:auto;min-height:0}
.kv-r-film .tile-group.kv-r-group{width:288px;flex:none}
.kv-r-film .kv-r-group>.tile{box-sizing:border-box;width:100%;min-height:0}
.kv-r-person{display:flex;align-items:center;gap:10px}
.kv-r-wish{margin:0;font-size:15px;line-height:1.45}
.kv-r-film .tile.kv-r-head{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px}
.kv-r-rule{display:flex;flex-direction:column;gap:10px}
.kv-r-switch-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}
.kv-r-switch{transition:transform .15s}.kv-r-switch[data-pressed=true]{transform:scale(.92)}
.kv-r-film .tile-switch.active.kv-r-switch-on{background:#e4f222}
.kv-r-film .tile-switch.active.kv-r-switch-on .tile-switch-indicator{background:#252521}
.kv-r-event{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#252521;color:#fff;font-size:13px;line-height:1.35}
.kv-r-event .kv-q-icon{width:16px;height:16px}
.kv-r-clock-row{display:flex;align-items:center;gap:14px}
.kv-r-film .kv-r-clock .tile-clock{width:56px;height:56px;flex:none}
.kv-r-film .kv-r-clock .tile-clock-minute-hand{height:22px}
.kv-r-film .kv-r-clock .tile-clock-hour-hand{height:13px}
.kv-r-tick{display:none}
.kv-q-film[data-running=true] .kv-r-clock:has(.kv-film-layer[data-visible=true]>.kv-r-tick) .tile-clock-minute-hand{animation:kv-r-turn .5s linear infinite}
.kv-q-film[data-running=true] .kv-r-clock:has(.kv-film-layer[data-visible=true]>.kv-r-tick) .tile-clock-hour-hand{animation:kv-r-turn 6s linear infinite}
@keyframes kv-r-turn{from{transform:rotate(0)}to{transform:rotate(1turn)}}
.kv-overview-heading .kv-q-steps{margin:22px auto 0}
#feature-automation .title .kv-q-steps{margin-top:22px}

/* Section 4: two screens side by side; the track pans between them. */
body[data-landing-composition=focused] #feature-portal .feature-box-square:has(.kv-q-film){height:auto;min-height:0;aspect-ratio:auto;padding:36px 24px}
.kv-r-portal{max-width:560px;margin:0 auto}
.kv-r-whose-slot{justify-items:center;margin-bottom:14px}
.kv-r-film .kv-q-stack.kv-r-whose-slot>.kv-film-layer{background:transparent}
.kv-q-chip.kv-r-whose{padding:6px 12px;background:#fff;color:#252521;font-size:13px}
.kv-q-chip.kv-r-whose.is-client{background:#e4f222}
.kv-r-frame{overflow:hidden;border-radius:14px}
.kv-r-track{display:flex;width:200%;will-change:transform}
body[data-landing-composition=focused] #feature-portal .kv-r-film .tile.kv-r-screen{box-sizing:border-box;display:flex;flex:none;flex-direction:column;justify-content:flex-start;gap:12px;width:50%;min-height:0;height:auto;padding:20px;background:#fff;color:#252521}
.kv-r-docs{display:flex;flex-direction:column;gap:8px}
.kv-r-doc{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:#f5f5f1;font-size:14px;--kv-cover:#f5f5f1}
.kv-r-doc>span{flex:1;min-width:0}
.kv-r-doc>.kv-q-icon{color:#65655e}
.kv-r-doc .kv-q-stack{place-items:center}
.kv-r-news{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #e7e7e2}
.kv-r-compose{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.kv-r-input{box-sizing:border-box;width:100%;min-height:44px;padding:11px 12px;border:1px solid #e7e7e2;border-radius:8px;background:#fff;font-size:14px;line-height:1.4}
.kv-r-bubble{padding:12px 14px;border-radius:10px;background:#f5f5f1}
.kv-r-bubble small{font-size:12px;color:#65655e}.kv-r-bubble p{margin:4px 0 0;font-size:14.5px;line-height:1.45}
#feature-portal .feature-box-wide-bottom .kv-q-steps{margin-top:18px}

@media (max-width:767px){
body[data-landing-composition=focused] #feature-portal .feature-box-square:has(.kv-q-film){padding:20px 10px}
body[data-landing-composition=focused] #feature-portal .kv-r-film .tile.kv-r-screen{padding:16px}
.kv-overview-heading .kv-q-steps{max-width:none}
}

/* Round 3: planning and result use the original Home 4 wide feature grid, like the proof section. */
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid{background:var(--_colors--surface---surface-2);overflow:hidden;border-radius:16px}
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid-body{padding:48px}
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid-content{gap:24px}
body[data-landing-composition=focused] .kv-grid-story .heading-h3{font-size:36px;line-height:1.15;letter-spacing:-.025em;margin-bottom:20px}
body[data-landing-composition=focused] .kv-grid-story .motif-image{filter:grayscale(1);opacity:.28}
body[data-landing-composition=focused] .kv-grid-story .bento-tile-box{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;aspect-ratio:auto;min-height:580px;padding:0}
.kv-grid-story .kv-q-film{max-width:500px;padding:28px}
.kv-grid-story .tile{--_tiles--surface---tile-surface-1:#fff}

/* Screens on a pan track, shared by the portal and planning films. */
.kv-q-film.kv-p5-film .tile.kv-r-screen{box-sizing:border-box;display:flex;flex:none;flex-direction:column;justify-content:flex-start;gap:12px;width:50%;min-height:0;height:auto;padding:18px;background:#fff;color:#252521}

/* Problem: loose notes gather into one job. */
.kv-problem-stage.bento-tile-box{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);padding:32px 24px;border-radius:16px}
.kv-p0-film{max-width:960px;margin:0 auto}
.kv-p0-canvas{position:relative;height:430px}
.kv-q-film .kv-film-layer.kv-p0-loose{position:absolute;width:214px}
.kv-p0-at-0{left:2%;top:4%}.kv-p0-at-1{left:39%;top:0}.kv-p0-at-2{right:2%;top:12%}.kv-p0-at-3{left:9%;bottom:4%}.kv-p0-at-4{right:9%;bottom:2%}.kv-p0-at-5{left:0;top:40%}.kv-p0-at-6{right:0;top:44%}.kv-p0-at-7{left:36%;top:36%}
.kv-p0-film .tile.kv-p0-note{box-sizing:border-box;width:100%;min-height:0;padding:12px 14px;background:#fff;box-shadow:0 14px 34px #25252114}
.kv-p0-at-0 .kv-p0-note{rotate:-4deg}.kv-p0-at-1 .kv-p0-note{rotate:3deg}.kv-p0-at-2 .kv-p0-note{rotate:5deg}.kv-p0-at-3 .kv-p0-note{rotate:3deg}.kv-p0-at-4 .kv-p0-note{rotate:-3deg}.kv-p0-at-5 .kv-p0-note{rotate:2deg}.kv-p0-at-6 .kv-p0-note{rotate:-5deg}.kv-p0-at-7 .kv-p0-note{rotate:-2deg}
.kv-q-film .kv-film-layer.kv-p0-dossier-layer{position:absolute;left:3%;top:12px;width:min(370px,46%)}
.kv-q-film .kv-film-layer.kv-p0-strike-layer{position:absolute;right:3%;top:56px;width:min(350px,44%)}
.kv-p0-film .tile.kv-p0-dossier,.kv-p0-film .tile.kv-p0-strike-tile{box-sizing:border-box;display:flex;flex-direction:column;gap:10px;width:100%;min-height:0;padding:18px;box-shadow:0 22px 50px #2525211f}
.kv-p0-rows{display:flex;flex-direction:column;gap:6px}
.kv-p0-row{padding:6px 10px;border-radius:8px;background:#f5f5f1}
/* In the dossier each source is one line, so eight fit. */
.kv-p0-row .kv-r-row-text{flex-direction:row;align-items:baseline;gap:8px}
.kv-p0-row .kv-r-row-text strong{flex:none}
.kv-p0-row .kv-r-row-text small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.kv-p0-gone{padding:7px 0;font-size:15px;line-height:1.35}
.kv-p0-text{position:relative;display:inline-block}
.kv-q-film .kv-film-layer.kv-p0-strike{position:absolute;left:-3px;right:-3px;top:calc(50% - 1px);height:2px;transform-origin:left center}
.kv-p0-strike i{display:block;height:2px;border-radius:2px;background:#252521}
.kv-problem .kv-q-steps{margin:22px auto 0}

/* Planning board: original gantt items as bars. */
.kv-p5-board{display:flex;flex-direction:column;gap:6px}
.kv-p5-days,.kv-p5-line{display:grid;grid-template-columns:62px repeat(3,minmax(0,1fr));gap:6px;align-items:center}
.kv-p5-days span{font-size:12px;color:#65655e;text-align:center}
.kv-p5-cells{display:contents}
.kv-p5-cell{box-sizing:border-box;display:flex;align-items:center;min-width:0;min-height:40px;padding:4px;border-radius:8px;background:#f5f5f1}
.kv-p5-cell>.kv-film-layer{width:100%}
.kv-p5-span{grid-column:span 2}
.kv-p5-person{display:flex;align-items:center;gap:6px;font-size:13px}
.kv-p5-person .tile-company-logo{width:24px;height:24px;font-size:11px}
.kv-p5-film .tile-gant-item.kv-p5-bar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;max-width:none;height:30px;margin:0;padding:0 8px;border-radius:6px;background:#e4f222;color:#252521;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden}
.kv-p5-film .tile-gant-item.kv-p5-bar.is-other{background:#252521;color:#fff}
.kv-p5-bar-done .kv-q-icon{width:14px;height:14px}
.kv-r-film .kv-q-stack.kv-p5-bar-done>.kv-film-layer{background:transparent}
.kv-p5-job{display:flex;flex-direction:column;gap:2px;padding:10px 12px}
.kv-p5-job strong,.kv-p5-today strong{font-size:14px;font-weight:500}.kv-p5-job small,.kv-p5-today small{font-size:12.5px;color:#65655e}
.kv-p5-job[data-pressed=true]{transform:scale(.97)}
.kv-p5-queue{justify-items:start;align-items:center;min-height:56px}
.kv-p5-foot{margin-top:auto;padding-top:10px;border-top:1px solid #e7e7e2}
.kv-p5-today{display:flex;flex-direction:column;gap:2px}
.kv-p5-photo{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;padding:12px;border-radius:10px;background:linear-gradient(135deg,#e8eddd,#efefeb)}
.kv-p5-photo small{font-size:13px;color:#3d3d37}
.kv-p5-hours{display:flex;flex-direction:column;gap:10px;padding-top:10px;border-top:1px solid #e7e7e2}

/* Result: original contained bars; the invoice opens as a dialog. */
.kv-p6-film .kv-q-canvas{display:grid;align-items:center;min-height:420px}
.kv-p6-bars{display:flex;flex-direction:column;gap:8px}
.kv-p6-film .tile-contained-bar.kv-p6-bar{box-sizing:border-box;display:flex;justify-content:space-between;gap:10px;width:var(--kv-w);min-width:max-content;max-width:100%;padding:8px 10px;font-size:13px;line-height:1.3}
.kv-p6-film .tile-contained-bar.kv-p6-bar.is-dark{background:#252521;color:#fff}
.kv-p6-film .tile-contained-bar.kv-p6-bar.is-lime{background:#e4f222;color:#252521;font-weight:500}
.kv-p6-order{display:flex;gap:3px;width:100%}
.kv-p6-order>.kv-p6-bar{flex:none}
.kv-q-film .kv-film-layer.kv-p6-seg-layer{flex:1 0 auto;min-width:max-content}
.kv-p6-film .tile-contained-bar.kv-p6-seg{box-sizing:border-box;display:flex;justify-content:center;height:100%;padding:8px 6px;background:#e4f222;color:#252521;font-size:12.5px;font-weight:500;white-space:nowrap}
.kv-p6-extra{min-height:28px}
.kv-p6-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;border-top:1px solid #e7e7e2;font-size:14px}
.kv-p6-result strong{padding-left:12px;background:#fff;font-family:Urbanist,sans-serif;font-size:26px;font-weight:500;line-height:1.2}
.kv-p6-result .kv-q-total-empty{color:#b6b6ae}
.kv-q-film .tile.kv-p6-incoming{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:calc(100% - 24px);max-width:340px;min-width:0;min-height:0;padding:18px;box-shadow:0 24px 60px #25252133}
.kv-p6-incoming-foot{display:flex;justify-content:flex-end}
.kv-p6-invoice .kv-r-actions{justify-items:end}

@media (max-width:991px){
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid{grid-template-columns:1fr 1fr}
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid-body{padding:28px}
}
@media (max-width:767px){
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid{grid-template-columns:1fr;gap:0}
body[data-landing-composition=focused] .kv-grid-story .wide-feature-grid-body{order:-1;padding:28px 24px}
body[data-landing-composition=focused] .kv-grid-story .bento-tile-box{min-height:0}
body[data-landing-composition=focused] .kv-grid-story .heading-h3{font-size:28px}
.kv-grid-story .kv-q-film{max-width:none;padding:20px 12px 24px}
.kv-problem-stage.bento-tile-box{padding:20px 12px}
.kv-p0-canvas{height:700px}
.kv-q-film .kv-film-layer.kv-p0-loose{width:168px}
.kv-p0-at-0{left:0;top:0}.kv-p0-at-1{left:auto;right:0;top:80px}.kv-p0-at-2{right:auto;left:3%;top:160px}.kv-p0-at-3{left:auto;right:2%;bottom:auto;top:240px}.kv-p0-at-4{right:auto;left:8%;bottom:auto;top:320px}.kv-p0-at-5{left:auto;right:0;top:400px}.kv-p0-at-6{right:auto;left:2%;top:480px}.kv-p0-at-7{left:auto;right:4%;bottom:auto;top:560px}
.kv-q-film .kv-film-layer.kv-p0-dossier-layer{left:0;right:0;top:0;width:auto}
.kv-q-film .kv-film-layer.kv-p0-strike-layer{left:0;right:0;top:auto;bottom:0;width:auto}
.kv-q-film.kv-p5-film .tile.kv-r-screen{padding:14px}
.kv-p5-days,.kv-p5-line{grid-template-columns:50px repeat(3,minmax(0,1fr))}
}

/* Round 4: paperwork in the original Home 4 grid. */
.kv-p7-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.kv-p7-logo{display:grid;place-items:center;width:96px;height:40px;border-radius:8px;background:#252521;color:#fff;font-size:12.5px;font-weight:500}
.kv-p7-logo.is-empty{background:#efefeb}
.kv-p7-number{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.kv-p7-number .kv-q-stack{justify-items:end}
.kv-p7-number strong{font-size:15px;font-weight:500}
.kv-r-film .kv-q-stack.kv-p7-logo-slot>.kv-film-layer{background:transparent}
.kv-p7-attach{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f5f5f1;font-size:13px}
.kv-p7-file{display:flex;align-items:center;gap:8px;min-height:20px;padding:10px 12px;border:1px dashed #d5d5cf;border-radius:10px;font-size:13px}
.kv-p7-file span{min-width:0;overflow-wrap:anywhere}
.kv-p7-search{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #e7e7e2;border-radius:10px;background:#fff;font-size:15px}
.kv-p7-hits{display:flex;flex-direction:column;gap:8px;min-height:128px}
.kv-p7-find .kv-r-actions{justify-items:end}

/* Round 4: extras in the original Features 3 tabs, one film per tab. */
#feature-result .kv-feature-gallery .tabs-menu.boxed.centered{grid-template-columns:repeat(5,minmax(0,1fr))}
.kv-tab-stage.bento-tile-box{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:520px;padding:32px 20px;border-radius:16px}
.kv-p8-film{max-width:460px}
.kv-p8-list{display:flex;flex-direction:column;gap:8px}
.kv-p8-tick{transition:transform .15s}.kv-p8-tick[data-pressed=true]{transform:scale(.9)}
.kv-p8-price{font-size:15px;font-weight:500}
.kv-p8-bars.tile-bar-group-wrap{align-items:flex-end;gap:10px}
.kv-p8-bars .kv-q-stack{align-items:end;height:68px}
.kv-r-film .kv-p8-bars .kv-q-stack>.kv-film-layer{background:transparent}
.kv-p8-film .tile-bar-graph.kv-p8-bar{height:var(--kv-h,8px);min-height:8px;border-radius:8px;background:#dcdcd5}
.kv-p8-film .tile-bar-graph.kv-p8-bar.is-off,.kv-p8-film .tile-bar-graph.kv-p8-bar.is-empty{height:8px;background:#e7e7e2}
.kv-p8-hours{font-size:12px;color:#65655e}
@media (max-width:767px){
#feature-result .kv-feature-gallery .tabs-menu.boxed.centered{grid-template-columns:repeat(2,minmax(0,1fr))}
#feature-result .kv-feature-gallery .tab-link:last-child:nth-child(odd){grid-column:1/-1}
.kv-tab-stage.bento-tile-box{min-height:0;padding:20px 12px}
}

/* P1 22 October: one heading style, one step style and one rhythm for every homepage section. */
body[data-landing-composition=focused] :is(#probleem,#product-preview,#feature-quotes,#feature-automation,#feature-portal,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result,#vakwerk,#veelgestelde-vragen) :is(h2.heading-h2,h2.heading-h3){margin:0;font-family:Urbanist,sans-serif;font-size:36px;font-weight:400;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
body[data-landing-composition=focused] :is(#probleem,#product-preview,#feature-quotes,#feature-automation,#feature-portal,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result,#vakwerk,#veelgestelde-vragen) :is(h2.heading-h2,h2.heading-h3)+:is(p,div){max-width:560px;margin:14px 0 0;font-size:18px;line-height:1.55}
body[data-landing-composition=focused] :is(#probleem,#product-preview) .kv-overview-heading{display:flex;flex-direction:column;align-items:flex-start;max-width:none;margin:0 0 40px;text-align:left}
body[data-landing-composition=focused] #feature-portal .kv-chapter-title{max-width:640px;margin:0 0 40px}
body[data-landing-composition=focused] #feature-automation .feature-snapshot{row-gap:40px}
body[data-landing-composition=focused] #feature-automation .title.narrow{max-width:640px}
body[data-landing-composition=focused] .kv-q-steps.tile-tabs{box-sizing:border-box;width:100%;max-width:440px;margin:24px 0 0;padding:4px;border:1px solid #e7e7e2;border-radius:12px;background:#fff;color:#252521}
body[data-landing-composition=focused] .wide-feature-grid-content>.kv-q-steps.tile-tabs{margin-top:0}
.kv-q-steps .tile-tab-item{white-space:nowrap}
body[data-landing-composition=focused] section:has(#probleem){padding-bottom:64px}
body[data-landing-composition=focused] section:has(#probleem) .section-content{row-gap:112px}
body[data-landing-composition=focused] :is(#feature-quotes,#feature-automation,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result){padding-top:64px;padding-bottom:64px}
body[data-landing-composition=focused] :is(#feature-portal,#vakwerk){padding-top:88px;padding-bottom:88px}
body[data-landing-composition=focused] #vakwerk .muted-text{color:#5f5a53}
body[data-landing-composition=focused] :is(#feature-portal,#vakwerk)+section{padding-top:88px}
@media (max-width:767px){
body[data-landing-composition=focused] :is(#probleem,#product-preview,#feature-quotes,#feature-automation,#feature-portal,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result,#vakwerk,#veelgestelde-vragen) :is(h2.heading-h2,h2.heading-h3){font-size:28px}
body[data-landing-composition=focused] :is(#probleem,#product-preview,#feature-quotes,#feature-automation,#feature-portal,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result,#vakwerk,#veelgestelde-vragen) :is(h2.heading-h2,h2.heading-h3)+:is(p,div){font-size:17px}
body[data-landing-composition=focused] .kv-q-steps.tile-tabs{max-width:none}
body[data-landing-composition=focused] :is(#probleem,#product-preview) .kv-overview-heading,body[data-landing-composition=focused] #feature-portal .kv-chapter-title{margin-bottom:28px}
body[data-landing-composition=focused] #feature-automation .feature-snapshot{row-gap:28px}
body[data-landing-composition=focused] section:has(#probleem){padding-bottom:44px}
body[data-landing-composition=focused] section:has(#probleem) .section-content{row-gap:88px}
body[data-landing-composition=focused] :is(#feature-quotes,#feature-automation,#feature-planning,#feature-afrekenen,#feature-papierwerk,#feature-result){padding-top:44px;padding-bottom:44px}
body[data-landing-composition=focused] :is(#feature-portal,#vakwerk),body[data-landing-composition=focused] :is(#feature-portal,#vakwerk)+section{padding-top:64px;padding-bottom:64px}
}
@media (max-width:479px){
.kv-q-steps .tile-tab-item{gap:5px;font-size:13px}
.kv-q-steps .kv-q-step-no{width:18px;height:18px;font-size:11px}
}
body[data-landing-composition=focused] #vakwerk .kv-section-link{align-self:flex-start}
body[data-landing-composition=focused] #feature-portal .kv-q-steps.tile-tabs{width:100%!important;max-width:440px!important;background:#fff}
@media (max-width:767px){body[data-landing-composition=focused] #feature-portal .kv-q-steps.tile-tabs{max-width:none!important}}

/* P2 22 October: inactive tab labels readable (5.9:1 on the tab bar). */
#feature-result .kv-feature-gallery .tab-link:not(.w--current):not([aria-selected=true]){color:#5f5f58}

/* Copy 22 October: one job as six chapters; the number matches the step-number style. */
.kv-chapter-kicker{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:14px;font-weight:500;line-height:1.3;color:#5f5f58}
.kv-chapter-kicker span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4f222;color:#252521;font-size:12px}
.kv-follow-line{margin:12px 0 0;font-weight:500;color:#252521}
.kv-overview-heading .kv-chapter-kicker{margin:0 0 12px}
body[data-landing-composition=focused] #product-preview{margin-top:56px}
body[data-landing-composition=focused] #feature-portal .kv-chapter-kicker{color:#c6c6bc}
/* The paperwork film moved into the tabs: keep its document at a readable width. */
.kv-tab-stage .kv-p7-film{width:100%;max-width:620px}
@media (max-width:767px){body[data-landing-composition=focused] #product-preview{margin-top:40px}}

/* 22 October: the active step shows the film's progress through that part. */
.kv-q-steps .tile-tab-item{position:relative}
.kv-q-steps .tile-tab-item::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:3px;border-radius:2px;background:#e4f222;transform-origin:left center;transform:scaleX(var(--kv-step-progress,0));opacity:0;transition:opacity .2s}
.kv-q-steps .tile-tab-item.active::after{opacity:1}
#feature-portal .kv-q-steps .tile-tab-item::after{background:#c9d41c}
@media (prefers-reduced-motion:reduce){.kv-q-steps .tile-tab-item::after{transition:none}}
