/* Shared record card: the same identity in the list and inside an open case. */
.record-card{display:block;background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:18px;min-width:0}
.record-summary{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);align-items:center;gap:15px}
.camper-illustration{display:block;width:100%;height:auto;max-height:130px;object-fit:contain}
.record-identity{min-width:0;display:flex;align-items:center;text-align:center;flex-direction:column;gap:9px}
.record-identity .pill{max-width:100%;white-space:normal;font-size:10px;line-height:1.4;padding:5px 8px}
.record-card .record-identity h3,.record-card .record-identity h1{font-size:23px;line-height:1.2;letter-spacing:-.65px;margin:0;overflow-wrap:anywhere}
.vehicle-plate{display:inline-flex;align-items:stretch;border:1px solid #333;border-radius:4px;overflow:hidden;background:#fff;color:#111;max-width:100%;box-shadow:0 1px 2px #2222220a}
.plate-band{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#124fc0;color:#fff;font-family:Arial,sans-serif;width:20px;flex-shrink:0;font-size:10px;font-weight:700;line-height:1.1;gap:2px}
.europe-stars{font-size:11px;line-height:1;color:#ffe75c}
.plate-number{font-family:Consolas,"Courier New",monospace;font-size:21px;font-weight:700;letter-spacing:.2px;padding:1px 6px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plate-pending,.record-customer{font-size:12px;color:#767676}
.record-card .progress-track{margin:18px 0 9px}
.record-progress{font-size:12px;color:#767676;line-height:1.6}
.record-card .case-foot{margin-top:14px;padding-top:11px;font-size:11px}
.case-grid{gap:15px}
.case-card.record-card{padding:18px;max-width:none}
.case-card.record-card:hover{border-color:#e3c6b1;box-shadow:0 8px 24px #2727270a;transform:translateY(-2px)}
.case-back{display:inline-flex;align-items:center;gap:9px;font-size:13px;margin:0 0 18px;color:#393939;border-radius:8px;padding:4px 0}
.record-open{max-width:760px;margin-bottom:25px}
.record-open .record-summary{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr)}
.record-open .camper-illustration{max-height:150px}
.record-open .record-identity{gap:10px}
.client-case-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:26px;align-items:start}
.collection-column{min-width:0}
.collection-column>h2,.collection-section-head{margin:0 0 13px}
.collection-column h2{font-size:22px}
.collection-section-head{display:flex;gap:10px;align-items:center;justify-content:space-between}
.collection-list{display:grid;gap:8px}
.collection-fold{border:1px solid #e6e6e6;border-radius:13px;background:#fff;min-width:0;overflow:clip;transition:border-color .25s,box-shadow .25s}
.collection-fold.is-open{border-color:#dedede;box-shadow:0 3px 12px #20202003}
.fold-heading{margin:0}
.fold-toggle{width:100%;border:0;display:flex;align-items:center;gap:12px;padding:13px 14px;background:transparent;color:#292929;text-align:left;font-size:14px;font-weight:550;border-radius:12px}
.fold-toggle:hover{background:#fafafa}
.fold-toggle>span:not(.fold-state){flex:1;min-width:0}
.fold-toggle>svg:last-child{transition:transform .35s cubic-bezier(.22,1,.36,1);margin-left:auto;color:#737373}
.fold-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}
.fold-state{width:19px;height:19px;flex-shrink:0;border:1.5px solid #c8c8c8;border-radius:50%;display:grid;place-items:center;color:#8a8a8a}
.fold-state.received:after{content:"";width:7px;height:7px;border-radius:50%;background:#ff6702}
.fold-state.checked{color:#386347;border-color:#79967b;background:#eff6ef}
.fold-state.later{border-style:dashed}
.collection-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .38s cubic-bezier(.22,1,.36,1),opacity .3s ease}
.is-open>.collection-panel{grid-template-rows:1fr;opacity:1}
.collection-clip{min-height:0;overflow:hidden}
.collection-content{padding:0 14px 12px;min-width:0}
.collection-content .stage{animation:none}
.collection-content .stage-head{margin:5px 0 18px}
.collection-content .stage-head h2{font-size:19px}
.collection-content .stage-head .eyebrow{display:none}
.collection-content .stage-head p{font-size:12px}
.collection-content .card{padding:16px;border-radius:12px}
.collection-content .form-grid{gap:16px}
.collection-content h4{margin:0;font-size:14px;font-weight:650}
.collection-hint{font-size:12px;color:#767676;margin:0 0 4px 42px;line-height:1.5}
.collection-upload+.collection-upload{border-top:1px solid #ededed;margin-top:18px;padding-top:17px}
.collection-upload>h4{margin-bottom:9px}
.collection-content .help-toggle{font-size:11px;padding:7px 0;margin-bottom:5px}
.collection-content .help-copy{font-size:12px}
.collection-drop{border:1px dashed #dcdcdc;border-radius:10px;background:#fafafa;transition:background .2s,border-color .2s}
.collection-drop.drag{border-color:#ff6702;background:#fff3eb}
.collection-pick{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:89px;width:100%;border:0;background:transparent;color:#727272;font-size:12px;border-radius:10px}
.collection-pick:hover{background:#f4f4f4;color:#373737}
.collection-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.collection-upload-actions .btn{font-size:12px;min-height:37px;padding:7px 9px;border-radius:8px;background:#f2f2f2;font-weight:500}
.collection-upload-actions .btn:hover{background:#e9e9e9}
.collection-elements{margin-top:15px;display:grid;gap:8px}
.collection-upload-foot{margin-top:8px;display:flex;justify-content:flex-end}
.collection-upload-foot .btn{font-size:11px;color:#767676;padding:4px 7px;min-height:28px}
.collection-content .gallery{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;margin-top:10px}
.collection-content .photo-image,.collection-content .photo-doc{height:100px}
@media(max-width:1050px){.client-case-layout{grid-template-columns:1fr}.collection-column{max-width:760px}}
@media(max-width:760px){
 .case-grid{gap:13px}.case-card.record-card,.record-open{padding:15px;border-radius:16px}
 .record-summary,.record-open .record-summary{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:12px}
 .record-card .record-identity h3,.record-card .record-identity h1{font-size:21px}
 .record-identity{gap:8px}.plate-number{font-size:20px;padding:1px 5px}.plate-band{width:18px;font-size:9px}
 .record-card .progress-track{margin-top:17px}.record-card .case-foot{font-size:10px}
 .client-case .case-back{margin-bottom:13px}.record-open{margin-bottom:20px}
 .client-case-layout{gap:26px}.collection-column h2{font-size:21px;letter-spacing:-.6px}
 .collection-section-head{margin-bottom:11px}.fold-toggle{font-size:13px;padding:12px 12px;gap:11px}
 .collection-content{padding:0 12px 11px}.collection-content .card{padding:14px 12px}
 .collection-hint{margin-left:41px;font-size:11px}.collection-content .help-toggle{font-size:10px}
 .collection-upload-actions{gap:8px}.collection-upload-actions .btn{font-size:11px}
 .collection-section-head .save-state{font-size:10px}
}
@media(max-width:360px){.record-summary,.record-open .record-summary{gap:9px}.record-card .record-identity h3,.record-card .record-identity h1{font-size:19px}.record-identity .pill{font-size:9px}.plate-number{font-size:18px;padding:2px 4px}.plate-band{width:16px}.record-progress{font-size:11px}}
@media(prefers-reduced-motion:reduce){.case-card.record-card:hover{transform:none}.collection-panel,.fold-toggle>svg:last-child{transition:none}}
@media print{.collection-panel{grid-template-rows:1fr;opacity:1}.client-case-layout{display:block}.collection-fold{break-inside:avoid}}

.scope-edit{margin:-12px 0 20px;color:#a54100;font-size:13px}
.scope-review .collection-hint{margin:4px 0 14px}
.scope-answer{display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid #eee;background:white;padding:14px 0;text-align:left;font-size:13px;color:#292929;transition:background .2s}
.scope-answer:hover{background:#fff7f0}.scope-answer>span{flex:1}.scope-answer strong{color:#a54100;font-size:12px;white-space:nowrap}
[data-fold-section="questions"]{scroll-margin-top:20px}
/* Three interchangeable menus share the same evidence panels and save path. */
.collection-view-picker{display:flex;gap:4px;padding:4px;background:#eeeee9;border-radius:13px;margin:0 0 22px;max-width:360px;scroll-margin-top:20px}
.collection-view-picker button{flex:1;border:0;background:transparent;color:#666;min-height:40px;padding:8px 14px;border-radius:10px;font:inherit;font-size:13px;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s,transform .2s}
.collection-view-picker button[aria-pressed=true]{background:white;color:#a54100;box-shadow:0 2px 8px #00000008;font-weight:650}
.collection-view-picker button:active,.map-node:active{transform:scale(.97)}
.layout-diagram,.layout-tree{grid-template-columns:1fr}.layout-diagram>.collection-column,.layout-tree>.collection-column{max-width:840px;width:100%}
.collection-map{--branch:#ff6702;animation:map-reveal .4s ease both}
.collection-map h3{font-size:14px;font-weight:650;margin:0 0 14px;color:#86502c}
.map-origin{max-width:470px;margin:0 auto;text-align:center;position:relative;z-index:1}
.map-roots{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.map-node{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:116px;width:100%;padding:17px 12px;border:1px solid #eee5dc;border-radius:19px;background:#fff;box-shadow:0 3px 14px #86502c04;color:#252525;font:inherit;text-align:center;cursor:pointer;transition:transform .25s,box-shadow .25s,border-color .25s,background .25s}
.map-node:hover{border-color:#ffb584;transform:translateY(-2px);box-shadow:0 6px 20px #86502c0b}
.map-node.selected{background:#fff4eb;border-color:#ffad77}
.node-symbol{color:#ed650c;display:grid;place-items:center;width:34px;height:30px}.node-title{font-size:13px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.node-status{font-size:10px;color:#888;font-weight:400}
.node-status.received{color:#a54100}.node-status.checked{color:#386347}
.diagram-branches{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-top:42px;margin-top:0}
.diagram-branches:before{content:"";position:absolute;width:50%;height:23px;top:19px;left:25%;border:2px solid var(--branch);border-bottom:0;border-radius:16px 16px 0 0}
.diagram-branches:after{content:"";position:absolute;height:20px;border-left:2px solid var(--branch);top:0;left:50%}
.map-branch{position:relative;display:flex;flex-direction:column;gap:13px;align-items:center}
.map-branch h3{background:#fff0e5;padding:9px 18px;border-radius:30px;margin:0;z-index:1;color:#a54100}
.map-branch:before{content:"";position:absolute;top:0;bottom:55px;left:50%;border-left:2px solid var(--branch)}
.map-branch .map-node{max-width:310px}
.map-extras{margin-top:30px;border-top:1px solid #eee7df;padding-top:22px}.map-extras>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.map-extras .map-node{min-height:110px}.map-extras h3{text-align:center}
.canopy-labels{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin:28px 0 6px;color:#a54100;font-size:13px;font-weight:600}
.organic-canopy{position:relative;padding:6px 0 60px;isolation:isolate}
.organic-lines{position:absolute;inset:0;width:100%;height:100%;z-index:-1;fill:none;stroke:#ff6702;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.organic-nodes{display:flex;flex-direction:column;gap:12px}.organic-pair{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:start;min-height:122px}
.organic-pair>div:nth-child(2){padding-top:28px}.organic-pair .map-node{border-radius:38% 42% 35% 40% / 30% 36% 32% 38%;min-height:115px;padding:17px 13px;background:#fffdf9}
.organic-pair .map-node.selected{background:#fff0e0}.organic-pair:nth-child(even) .map-node{border-radius:40% 32% 43% 36% / 35% 40% 30% 42%}
#map-detail{scroll-margin-top:20px;margin-top:24px;outline:none}#map-detail:empty{margin:0}#map-detail>.btn{margin-bottom:10px}#map-detail .collection-fold{border-color:#ffc59f}
.map-node:focus-visible,.collection-view-picker button:focus-visible{outline:3px solid #a54100;outline-offset:3px}
@keyframes map-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:760px){.diagram-branches{gap:20px}.map-node{padding:14px 9px;min-height:112px}.map-roots{gap:10px}.node-title{font-size:12px}.map-extras>div{grid-template-columns:repeat(2,minmax(0,1fr))}.map-extras>div>:last-child:nth-child(odd){grid-column:1/-1;max-width:200px;justify-self:center}.organic-pair{gap:30px}.organic-pair .map-node{padding:15px 10px}.collection-view-picker{max-width:none}}
@media(prefers-reduced-motion:reduce){.collection-map{animation:none}.map-node,.collection-view-picker button{transition:none}.map-node:hover,.map-node:active,.collection-view-picker button:active{transform:none}}
/* Dedicated node pages and a branching crown, roots at the bottom. */
.map-origin{max-width:650px}.map-roots{grid-template-columns:repeat(2,minmax(0,1fr))}
.node-page{max-width:760px;margin:0 auto;animation:node-enter .42s cubic-bezier(.22,1,.36,1) both}
.node-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 24px}.node-page h1{font-size:clamp(25px,5vw,36px);margin:7px 0;outline:none}
.node-page-panel.collection-panel{display:block;opacity:1;background:#fff;border:1px solid #eee5dc;border-radius:20px;padding:22px;margin-bottom:22px}
.node-page-panel .collection-content{padding:0}.node-page-panel .collection-hint{margin-left:0}.node-page-panel .collection-pick{min-height:150px}
.client-case{animation:recorrido-enter .38s cubic-bezier(.22,1,.36,1) both}
.tree-pan-hint{display:none;color:#777;font-size:12px;margin:0 0 14px}
.crown-scroll{overflow-x:auto;padding:12px 5px 24px;overscroll-behavior-x:contain;border-radius:22px}
.crown-tree{min-width:850px;padding:12px 12px 0}.crown-tree .map-origin{max-width:560px;padding-top:0}
.crown-limbs{display:grid;grid-template-columns:1.35fr 1fr;gap:34px;position:relative;padding-bottom:55px}
.crown-limbs:after{content:"";position:absolute;left:28%;right:21%;bottom:0;height:52px;border:3px solid #ff6702;border-top:0;border-radius:0 0 90px 90px}
.crown-limb{display:flex;flex-direction:column;justify-content:flex-end;position:relative}
.crown-forks{display:flex;gap:24px;align-items:flex-end;position:relative;padding-bottom:38px}
.crown-forks:after{content:"";position:absolute;left:24%;right:24%;bottom:0;height:40px;border:2px solid #ff6702;border-top:0;border-radius:0 0 50% 50%}
.crown-twig{flex:1;min-width:0;position:relative;padding-bottom:20px}
.crown-twig:after{content:"";height:24px;border-left:2px solid #ff6702;position:absolute;bottom:0;left:50%;transform:rotate(-14deg)}
.crown-twig:nth-child(2):after{transform:rotate(14deg)}
.crown-leaves{display:flex;flex-direction:column;gap:18px;position:relative;padding-left:12px}
.crown-leaves:before{content:"";position:absolute;top:40px;bottom:-18px;left:0;width:50%;border-left:2px solid #ff6702;border-bottom:2px solid #ff6702;border-radius:0 0 0 35px;transform:rotate(-4deg)}
.crown-leaves .map-node{border-radius:40% 35% 40% 32% / 32% 45% 30% 38%;min-height:108px;padding:16px;box-shadow:0 5px 18px #7b502508}
.crown-general{position:relative;max-width:205px;width:100%;align-self:center;padding-top:22px}.crown-general:before{content:"";height:22px;border-left:3px solid #ff6702;position:absolute;top:0;left:50%}
.crown-general h3{text-align:center}.crown-general .map-node{background:#fff0e5;border-color:#ffd3b5;border-radius:30px}
.crown-trunk{height:65px;width:40px;margin:0 auto;border-left:6px solid #ff6702;border-radius:60% 0 0 0;transform:translateX(19px)}
@keyframes node-enter{from{opacity:0;transform:translateX(32px)}to{opacity:1;transform:none}}
@keyframes recorrido-enter{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
@media(max-width:900px){.tree-pan-hint{display:block}}
@media(max-width:760px){.node-page-panel.collection-panel{padding:17px}.node-page-heading{align-items:flex-start}.node-page-heading .save-state{font-size:10px;margin-top:17px}}
@media(prefers-reduced-motion:reduce){.node-page,.client-case{animation:none}}

/* Both plate variants are retained. Orange is the current brand choice.
   Add data-band="blue" to .vehicle-plate to restore the Spanish blue variant. */
.vehicle-plate{--plate-band-blue:#003399;--plate-band-orange:#ff6702;--plate-band-color:var(--plate-band-orange)}
.vehicle-plate[data-band="blue"]{--plate-band-color:var(--plate-band-blue)}
/* Twelve upright five-pointed stars, with E below. */
.vehicle-plate{border-color:#252525;border-radius:3px;box-shadow:inset 0 0 0 1px #fff,0 1px 3px #0000000d}
.plate-band{background:var(--plate-band-color,#003399);width:21px;gap:0;padding:0;align-self:stretch}
.plate-country{display:block;width:100%;height:32px;object-fit:contain}
.plate-number{font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;font-stretch:condensed;font-weight:750;letter-spacing:.65px;line-height:1.4;padding:1px 6px}
@media(max-width:760px){.plate-band{width:20px}.plate-country{height:30px}.plate-number{font-size:19px}}
@media(max-width:360px){.plate-band{width:18px}.plate-country{height:28px}.plate-number{font-size:17px;padding:2px 4px;letter-spacing:.2px}}
/* The diagram expands with the available workspace, not the device name. */
.page:has(.client-case){max-width:none}
.client-case{container-type:inline-size;container-name:intake;min-width:0}
.layout-diagram>.collection-column,.layout-tree>.collection-column{max-width:none}
.client-case .record-open{max-width:none}
.client-case .record-open .record-summary{max-width:780px;margin-inline:auto}
.diagram .map-branch:before{display:none}
.diagram .branch-overview{position:relative;width:100%;max-width:310px;padding-bottom:17px}
.diagram .branch-overview:after{content:"";position:absolute;bottom:0;height:17px;left:50%;border-left:2px solid var(--branch)}
.diagram .branch-details{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;width:100%;position:relative}
.diagram .branch-leaf{position:relative;padding-top:16px;display:flex;justify-content:center;min-width:0}
.diagram .branch-leaf:before{content:"";position:absolute;top:0;height:16px;left:50%;border-left:2px solid var(--branch)}
.diagram .branch-leaf .map-node{width:100%;max-width:310px}
.diagram .branch-details:before{content:"";position:absolute;left:50%;top:0;bottom:55px;border-left:2px solid var(--branch)}
@container intake (min-width:1000px){
 .diagram .map-origin{max-width:800px}.diagram .map-roots{grid-template-columns:repeat(4,minmax(0,1fr))}
 .diagram-branches{gap:48px}
 .diagram .branch-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;padding-top:0}
 .diagram .branch-details:before{left:25%;right:25%;height:0;bottom:auto;border-left:0;border-top:2px solid var(--branch)}
 .diagram .branch-leaf:before{height:18px;top:-1px}
 .diagram .branch-leaf{padding-top:17px}
 .diagram .branch-leaf:nth-child(n+3):after{content:"";position:absolute;left:50%;height:19px;top:-19px;border-left:2px solid var(--branch)}
 .diagram .branch-details .map-node{max-width:none;min-height:128px}
 .layout-diagram>.collection-column:last-child>.collection-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
 .layout-diagram>.collection-column:last-child .collection-fold.is-open{grid-column:1/-1;grid-row:1}
}
@container intake (min-width:1450px){
 .diagram .branch-details{grid-template-columns:repeat(3,minmax(0,1fr))}
 .diagram .branch-details:before{left:16.666%;right:16.666%}
 .diagram .branch-leaf:nth-child(3):after{display:none}
 .diagram .branch-leaf:nth-child(n+4):after{display:block}
}
/* One measured SVG replaces all decorative pseudo-element connectors. */
.diagram{position:relative;isolation:isolate}
.diagram-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1;fill:none;stroke:#ff6702;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.diagram-branches:before,.diagram-branches:after,
.diagram .map-branch:before,.diagram .branch-overview:after,
.diagram .branch-details:before,.diagram .branch-leaf:before,
.diagram .branch-leaf:after{display:none!important}
.diagram .map-node:hover,.diagram .map-node:active{transform:none}
.diagram .map-branch{gap:12px}
.diagram .branch-overview{padding-bottom:0}
.diagram .branch-details{gap:16px 18px;padding-top:16px}
.diagram .branch-leaf{padding-top:0}
.diagram-branches{padding-top:30px}
@container intake (min-width:1000px){
 .diagram .map-node,.diagram .branch-details .map-node{min-height:76px;padding:10px 12px;gap:4px;border-radius:14px}
 .diagram .node-symbol{height:23px;width:28px}.diagram .node-symbol svg{width:21px;height:21px}
 .diagram .node-title{font-size:12px;line-height:1.25}.diagram .node-status{font-size:10px;line-height:1.2}
 .diagram .map-origin h3{margin-bottom:10px}
 .diagram .map-branch>h3{padding:6px 16px;line-height:1.3}
 .diagram .branch-overview{max-width:280px}
 .diagram .branch-details{gap:16px 18px;padding-top:16px}
 .diagram .map-branch{gap:12px}
 .diagram-branches{padding-top:28px}
 .layout-diagram{gap:20px}
}
@media(max-width:760px){
 .diagram .branch-details{gap:16px;padding-top:16px}
 .diagram .map-node{min-height:104px;padding:12px 9px}
}

/* Case summary and scope precede every collection layout, in DOM and visual order. */
.case-intro-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:28px;align-items:start}
.case-intro-card,.case-intro-reform{min-width:0}.case-intro-card .record-open{margin-bottom:12px}
.case-intro-card .scope-edit{margin:0}.case-intro-reform>h2{font-size:22px;margin:0 0 13px}
.client-case-layout{grid-template-columns:minmax(0,1fr)}
.client-case-layout>.collection-column{max-width:none;width:100%}
@container intake (min-width:850px){
 .case-intro-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-bottom:28px}
 .case-intro-reform{padding-top:2px}
 .case-intro-reform .collection-list{display:grid;grid-template-columns:1fr;gap:8px}
}

/* The case card owns the three scope destinations; editing has its own page. */
.record-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #eee8e1;margin-top:18px;padding-top:16px}
.record-actions button{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 15px;border:1px solid #eee5dc;border-radius:12px;background:#fffaf5;color:#393939;font:inherit;text-align:left;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.record-actions button>svg:first-child{color:#df640e;flex-shrink:0}.record-actions button>span{flex:1}.record-actions button>svg:last-child{color:#8c8076;flex-shrink:0}
.record-actions button:hover{background:#fff0e3;border-color:#ffcfac}.record-actions button:active{transform:scale(.98)}
.record-actions button:focus-visible{outline:2px solid #a54100;outline-offset:3px}
@container intake (max-width:650px){.record-actions{grid-template-columns:1fr;gap:8px}.record-actions button{min-height:48px;padding:11px 13px}}
@media(prefers-reduced-motion:reduce){.record-actions button{transition:none}.record-actions button:active{transform:none}}
/* One compact vertical form; the optional dialog shares its answer model. */
.page:has(.scope-page){max-width:none}.node-page.scope-page{max-width:1200px;container-type:inline-size;container-name:scope}
.scope-page .node-page-panel{padding:0;border:0;background:transparent}
.scope-toolbar{display:flex;justify-content:flex-end;margin-bottom:20px}
.scope-toolbar .btn{background:#fff0e5;color:#a54100;font-size:13px}
.scope-sections{display:grid;gap:24px}.scope-branch{min-width:0}
.scope-branch>h2{font-size:16px;color:#86502c;margin:0 0 10px;padding-left:2px}
.scope-cards{background:white;border:1px solid #eee5dc;border-radius:15px;overflow:hidden}
.scope-question{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:center;gap:20px;padding:14px 18px}
.scope-question+.scope-question{border-top:1px solid #f0eae4}
.scope-question h3{font-size:13px;font-weight:550;line-height:1.5;margin:0}
.scope-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.scope-choices button{min-height:40px;padding:6px 5px;border:1px solid #e6e3df;border-radius:9px;background:#faf9f7;color:#555;font:inherit;font-size:12px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.scope-choices button[aria-pressed=true]{background:#ff6702;border-color:#ff6702;color:#fff;font-weight:700}
.scope-choices button:hover:not([aria-pressed=true]){background:#fff0e5;border-color:#ffbe90}.scope-choices button:active{transform:scale(.97)}
.scope-choices button:focus-visible{outline:2px solid #a54100;outline-offset:2px}.scope-choices button:disabled{cursor:progress;opacity:.7}
.guide-step{animation:node-enter .3s ease both}.guide-step h3{font-size:22px;line-height:1.4;margin:12px 0 22px;outline:none}
.guide-progress{font-size:12px;color:#777}.guide-controls{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.guide-error{font-size:13px;color:#a13d27;margin-top:12px}.guide-step .scope-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-step .scope-choices button{min-height:48px}
@container scope (max-width:700px){.scope-question{grid-template-columns:1fr;gap:12px;padding:15px}.scope-choices button{min-height:44px}.scope-toolbar{justify-content:stretch}.scope-toolbar .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.scope-choices button{transition:none}.scope-choices button:active{transform:none}.guide-step{animation:none}}
/* Preserve the camper illustration and make the card controls visually balanced. */
.record-actions button{position:relative;justify-content:center;text-align:center;padding-inline:48px;min-height:56px}
.record-actions button>span{flex:initial}
.record-actions button>svg:first-child{position:absolute;left:16px;width:25px;height:25px}
.record-actions button>svg:last-child{position:absolute;right:16px}
.document-progress{margin-top:18px;border-top:1px solid #f1ece6;padding-top:13px;min-width:0}
.document-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px;font-size:11px;color:#777}
.document-progress-head p{margin:0}.document-progress-key{display:flex;gap:13px;font-size:10px}
.document-progress-key span{display:inline-flex;align-items:center;gap:5px}
.document-progress-key span:before{content:"";width:7px;height:7px;border-radius:50%;border:1px solid #c6c1bc;background:white}
.document-progress-key .key-received:before{background:#ffd1b2;border-color:#ff9b57}
.document-progress-key .key-checked:before{background:#ff6702;border-color:#ff6702}
.document-milestones{display:flex;align-items:stretch;overflow-x:auto;gap:0;padding:5px 2px 10px;scrollbar-width:thin;scrollbar-color:#e2d6cc transparent;scroll-snap-type:x proximity}
.document-milestone{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:8px;flex:1 0 72px;min-width:0;border:0;background:transparent;color:#8a8580;padding:4px 3px;cursor:pointer;scroll-snap-align:center;font:inherit}
.document-milestone:before{content:"";position:absolute;left:0;right:0;top:26px;height:2px;background:#e9e4df;z-index:-1}
.document-milestone:first-child:before{left:50%}.document-milestone:last-child:before{right:50%}
.milestone-orb{position:relative;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid #ddd5ce;border-radius:50%;background:#fff;transition:background .2s,border-color .2s,transform .2s}
.milestone-orb>svg{width:21px;height:21px}.milestone-label{font-size:10px;line-height:1.3;max-width:74px;text-align:center;overflow-wrap:anywhere}
.document-milestone.received .milestone-orb{background:#fff1e7;border-color:#ffac74;color:#d45600}
.document-milestone.checked .milestone-orb{background:#ff6702;border-color:#ff6702;color:white}
.document-milestone.later .milestone-orb{border-style:dashed}
.milestone-badge{position:absolute;bottom:-2px;right:-2px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#fff;color:#a54100;box-shadow:0 0 0 2px #fff}
.received-dot{width:9px;height:9px;bottom:1px;right:0;background:#ff6702}
.document-milestone:hover .milestone-orb{transform:translateY(-2px);border-color:#ff6702}.document-milestone:active .milestone-orb{transform:scale(.95)}
.document-milestone:focus-visible{outline:2px solid #a54100;outline-offset:-2px;border-radius:10px}
@container intake (max-width:650px){.document-progress-head{gap:8px}.document-milestone{flex-basis:74px}.record-actions button{padding-inline:46px;min-height:52px}}
@media(prefers-reduced-motion:reduce){.milestone-orb{transition:none}.document-milestone:hover .milestone-orb,.document-milestone:active .milestone-orb{transform:none}.document-milestones{scroll-snap-type:none}}

/* Stable editorial grouping at each width, without repacking missing topics. */
@container intake (min-width:1000px){
 .diagram .branch-leaf[data-c2="1"]{grid-column:1}.diagram .branch-leaf[data-c2="2"]{grid-column:2}
 .diagram .branch-leaf[data-r2="1"]{grid-row:1}.diagram .branch-leaf[data-r2="2"]{grid-row:2}.diagram .branch-leaf[data-r2="3"]{grid-row:3}
}
@container intake (min-width:1450px){
 .diagram .branch-leaf[data-c3="1"]{grid-column:1}.diagram .branch-leaf[data-c3="2"]{grid-column:2}.diagram .branch-leaf[data-c3="3"]{grid-column:3}
 .diagram .branch-leaf[data-r3="1"]{grid-row:1}.diagram .branch-leaf[data-r3="2"]{grid-row:2}
}
.record-open .progress-alive{height:9px;position:relative;overflow:hidden;background:#f1ece7;border-radius:20px}
.record-open .progress-alive>span{position:relative;background:#ff6702;border-radius:20px}
.progress-alive:after{content:"";position:absolute;inset:-3px auto -3px -35%;width:32%;border-radius:50%;background:linear-gradient(90deg,transparent,#ffad6a40,transparent);animation:progress-ripple 5s ease-in-out infinite;pointer-events:none}
@keyframes progress-ripple{0%,15%{transform:translateX(0) scaleY(.65);opacity:0}35%{opacity:.65}70%{opacity:.45}85%,100%{transform:translateX(440%) scaleY(1.15);opacity:0}}
.legacy-bodywork{margin-top:24px;padding-top:20px;border-top:1px solid #eee5dc}.legacy-bodywork h3{font-size:14px;margin-bottom:12px}
@media(prefers-reduced-motion:reduce){.progress-alive:after{animation:none;display:none}}

/* Open case: registration, camper and identity share a balanced header. */
.client-case .record-open .record-summary{max-width:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3cqw,48px);padding:16px 0 22px}
.record-registration{display:flex;justify-content:center;align-items:center;min-width:0}
.record-registration .vehicle-plate{align-items:center;max-width:100%;border-width:2px;border-radius:6px}
.record-registration .plate-number{font-size:clamp(26px,4.5cqw,78px);line-height:1.35;padding:5px 10px;letter-spacing:.02em}
.record-registration .plate-band{width:clamp(27px,3.3cqw,54px)}
.record-registration .plate-country{height:100%;min-height:48px;max-height:110px}
.client-case .record-open .camper-illustration{max-height:150px;justify-self:center}
.client-case .record-open .record-identity h1{font-size:clamp(26px,2.8cqw,44px)}
.client-case .record-open .record-identity .pill{font-size:12px;padding:6px 12px}
@container intake (max-width:650px){
 .client-case .record-open .record-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 12px;padding:4px 0 14px}
 .client-case .record-open .camper-illustration{grid-column:1 / -1;grid-row:1;width:min(100%,280px);max-height:150px}
 .record-registration{grid-column:1;grid-row:2}
 .client-case .record-open .record-identity{grid-column:2;grid-row:2}
 .record-registration .plate-number{font-size:clamp(18px,4.7cqw,30px);padding:4px 5px}
 .record-registration .plate-band{width:22px}.record-registration .plate-country{min-height:36px;max-height:48px}
 .client-case .record-open .record-identity h1{font-size:24px}
 .client-case .record-open .record-identity .pill{font-size:10px;padding:5px 8px}
}

/* Received means no further client action until the team requests it. */
.map-node.status-received,.map-node.status-checked{background:#eef8f0;border-color:#b9d9c1}
.map-node.status-received .node-symbol,.map-node.status-checked .node-symbol,.node-status.received,.node-status.checked{color:#287343}
.map-node.status-received:hover,.map-node.status-checked:hover{border-color:#72ae83;background:#e5f3e9}
.map-node.status-attention{background:#fff;border-color:#dfb686}
.map-node.status-attention .node-status{color:#925414;font-weight:600}
.map-node.status-attention .node-status:before{content:'!';display:inline-grid;place-items:center;width:13px;height:13px;border:1px solid currentColor;border-radius:50%;margin-right:5px}

.case-journey{list-style:none;padding:0;margin:0;display:grid;gap:0;text-align:left;width:100%;max-width:280px}
.case-journey li{position:relative;display:flex;gap:10px;align-items:center;min-height:29px;font-size:12px;line-height:1.3;color:#929292}
.journey-dot{position:relative;flex:0 0 14px;height:14px;border:1px solid #d9d9d9;border-radius:50%;background:white;display:grid;place-items:center;font-size:10px;z-index:1}
.case-journey li:not(:last-child):after{content:'';position:absolute;left:6px;top:20px;bottom:-9px;width:1px;background:#e3e3e3}
.case-journey .current{color:#b34800;font-weight:650}.case-journey .current .journey-dot{background:#ff6702;border-color:#ff6702;box-shadow:0 0 0 4px #fff0e5}
.case-journey .complete{color:#54725c}.case-journey .complete .journey-dot{color:#287343;border-color:#a9c8b2;background:#eef8f0}
.journey-loop{font-size:12px;line-height:1.5;color:#925414;text-align:left;margin:6px 0 0;max-width:280px}
.collection-section-head{flex-wrap:wrap}.collection-section-head h2{margin-right:auto}
.photo-guide-intro{font-size:17px;line-height:1.8;margin:0}.photo-guide-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.photo-guide .node-page-panel{animation:map-reveal .35s ease both}
@container intake (max-width:650px){.case-journey li{font-size:11px;min-height:29px}.case-journey{max-width:240px}.client-case .record-open .record-summary{align-items:center}}
@media(prefers-reduced-motion:reduce){.photo-guide .node-page-panel{animation:none}}

/* The journey uses the same connected cards as the document diagram. */
.client-case .record-open .record-summary{grid-template-columns:1fr 1fr;max-width:1000px;gap:32px;padding:12px 0 24px}
.client-case .record-open .record-summary .record-identity:empty{display:none}
.client-case .record-open .record-summary .camper-illustration{grid-column:2;grid-row:1;width:100%;max-height:150px}
.client-case .record-open .record-summary .record-registration{grid-column:1;grid-row:1}
/* Compact steps; 3px SVG connectors with a solid arrowhead. */
.case-journey{max-width:none;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px;margin:8px 0 16px}
.case-journey li{min-width:0;min-height:48px;padding:7px 8px;display:flex;flex-direction:row;justify-content:flex-start;gap:7px;text-align:left;border:1px solid #e9e5df;border-radius:10px;background:#fafaf8;font-size:12px;line-height:1.3;color:#797974}
.case-journey .journey-dot{flex:0 0 16px;width:16px;height:16px;font-size:9px;border-color:#e0ddd6;background:#fff}
.case-journey li.current{background:#fff0e5;border-color:#ff9d5c;color:#a54100}
.case-journey li.complete{background:#eef8f0;border-color:#bfd8c5}
.case-journey li:not(:last-child):before{display:none}
.case-journey li:not(:last-child):after{content:'';position:absolute;left:100%;right:auto;top:calc(50% - 6px);bottom:auto;width:24px;height:12px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6H17' fill='none' stroke='%23ff6702' stroke-width='3'/%3E%3Cpath d='M15 1L23 6L15 11Z' fill='%23ff6702'/%3E%3C/svg%3E") center/100% 100% no-repeat;transform:none;pointer-events:none}
.stage-progress-notice{padding:12px 0;color:#a54100;font-size:13px;border-top:4px solid #ffe2cd;margin-top:12px}
@container intake (min-width:701px) and (max-width:1250px){
 .case-journey{grid-template-columns:repeat(4,minmax(0,1fr))}
 .case-journey li:nth-child(5){grid-column:4;grid-row:2}.case-journey li:nth-child(6){grid-column:3;grid-row:2}.case-journey li:nth-child(7){grid-column:2;grid-row:2}.case-journey li:nth-child(8){grid-column:1;grid-row:2}
 .case-journey li:nth-child(4):after{left:calc(50% - 12px);top:calc(100% + 6px);transform:rotate(90deg)}
 .case-journey li:nth-child(n+5):not(:last-child):after{left:auto;right:100%;transform:rotate(180deg)}
}
@container intake (max-width:700px){
 .client-case .record-open .record-summary{gap:16px;padding-bottom:16px}
 .case-journey{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
 .case-journey li{min-height:44px;padding:6px 8px;font-size:11px;gap:6px}
 .case-journey li:nth-child(3){grid-column:2;grid-row:2}.case-journey li:nth-child(4){grid-column:1;grid-row:2}
 .case-journey li:nth-child(7){grid-column:2;grid-row:4}.case-journey li:nth-child(8){grid-column:1;grid-row:4}
 .case-journey li:not(:last-child):after{width:16px}
 .case-journey li:nth-child(2n):not(:last-child):after{left:calc(50% - 8px);top:calc(100% + 2px);transform:rotate(90deg)}
 .case-journey li:nth-child(4n+3):after{left:auto;right:100%;transform:rotate(180deg)}
 .record-registration .plate-number{font-size:clamp(18px,4.7cqw,30px)}
}

/* The active-stage detail belongs to the journey, never to the whole case. */
.journey-panel{border:1px solid #eee7df;border-radius:14px;padding:16px;background:#fffdfb;margin:6px 0 20px;min-width:0}
.journey-panel .case-journey{margin:0 0 18px}
.journey-panel .case-journey li.current{background:#ff6702;border-color:#ff6702;color:#fff}
.journey-panel .case-journey .current .journey-dot{background:#fff;color:#a54100;border-color:#fff;box-shadow:none}
.journey-detail{background:#fff1e6;border-radius:10px;padding:12px 16px;border-left:3px solid #ff6702}
.journey-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px}
.journey-current-label{display:flex;align-items:center;gap:8px;font-weight:650;color:#944000}
.journey-step{display:grid;place-items:center;width:20px;height:20px;background:#ff6702;color:white;border-radius:50%;font-size:10px}
.journey-count{color:#805c42;font-variant-numeric:tabular-nums}
.record-open .journey-detail .progress-track{margin:10px 0 7px;height:7px;background:#f1dfd0}
.journey-detail-note{margin:0;font-size:11px;line-height:1.5;color:#806955}
.case-deliveries{border-top:1px solid #eee8e1;margin-top:16px;padding-top:16px}
.case-deliveries h2{font-size:13px;font-weight:600;margin:0 0 10px;color:#5d5b56}
.case-delivery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.case-delivery{display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px 12px;background:#fff;border:1px solid #eee9e3;border-radius:10px;text-align:left;color:#88857f;font:inherit}
.case-delivery>span{flex:1;min-width:0}.case-delivery strong{display:block;font-size:12px;font-weight:600;line-height:1.4}.case-delivery small{display:block;font-size:10px;margin-top:3px;color:#8a8680}
.case-delivery:disabled{opacity:1;background:#f7f7f4;cursor:default}.case-delivery>svg{flex-shrink:0}
.case-delivery.available{color:#a54100;border-color:#f2ba94;background:#fff5ed;cursor:pointer;transition:background .2s,transform .2s}
.case-delivery.available:hover{background:#ffe9d8}.case-delivery.available:active{transform:scale(.98)}
@container intake (max-width:700px){.journey-panel{padding:12px;margin-bottom:16px}.journey-panel .case-journey{gap:16px}.journey-detail{padding:10px}.journey-detail-heading{gap:6px}.journey-count{padding-left:28px}.case-delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-delivery{padding:10px 8px;gap:7px}.case-delivery strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.case-delivery.available{transition:none}.case-delivery.available:active{transform:none}}

.case-delivery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.delivery-intro{font-size:14px;color:#74716b;margin:0 0 22px}
.delivery-empty{padding:32px 24px;border:1px solid #eae5df;background:#fff;border-radius:14px;margin-bottom:20px;text-align:center;color:#8b8176}
.delivery-empty>svg{color:#c3ad99}.delivery-empty h2{font-size:17px;color:#55514c;margin:15px 0 8px}.delivery-empty p{font-size:13px;line-height:1.6;max-width:420px;margin:0 auto}
@container intake (max-width:700px){.case-delivery-grid{grid-template-columns:1fr}.case-delivery{min-height:52px}}

/* One identity layout and a shared active stage across both card sizes. */
.case-card .record-summary{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.case-card .record-registration{grid-column:1;grid-row:1}.case-card .camper-illustration{grid-column:2;grid-row:1}
.case-card .record-registration .plate-number{font-size:clamp(18px,2vw,28px);padding:3px 5px}
.case-card .record-registration .plate-band{width:22px}.case-card .record-registration .plate-country{min-height:35px;max-height:45px}
.record-active-status,.journey-mobile-trigger{background:#ff6702;color:#fff;font-size:12px;font-weight:650;border:0;border-radius:9px;padding:9px 12px;line-height:1.4}
.record-active-status{display:inline-block}.case-card .record-identity{grid-column:1/-1}
.case-card .record-progress{font-size:11px}.case-card .progress-track{margin-top:10px}
.journey-mobile-trigger{display:none}
.journey-popup{position:fixed;inset:0;margin:auto;width:min(90vw,480px);max-height:85dvh;overflow:auto;border:1px solid #eee2d7;border-radius:18px;padding:18px;background:#fffdfb;color:#252525;box-shadow:0 18px 70px #22160b33}
.journey-popup::backdrop{background:#21170f45;backdrop-filter:blur(3px)}
.journey-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:15px}
/* Keep the top-layer popover rendered throughout its exit transition. */
.journey-popup{opacity:0;transform:translateY(22px) scale(.97);transform-origin:50% 60%;transition:opacity .28s ease,transform .38s cubic-bezier(.22,1,.36,1),display .38s allow-discrete,overlay .38s allow-discrete}
.journey-popup:popover-open{opacity:1;transform:translateY(0) scale(1)}
.journey-popup::backdrop{opacity:0;transition:opacity .3s ease,display .38s allow-discrete,overlay .38s allow-discrete}
.journey-popup:popover-open::backdrop{opacity:1}
@starting-style{
 .journey-popup:popover-open{opacity:0;transform:translateY(22px) scale(.97)}
 .journey-popup:popover-open::backdrop{opacity:0}
}
.journey-popup .case-journey{margin:0}
@container intake (max-width:700px){
 .journey-desktop{display:none}.journey-mobile-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;text-align:left}
 .journey-panel{padding:0;border:0;background:transparent}.journey-panel>.journey-detail{margin-top:8px;border:0;padding:10px 12px}
 .journey-panel>.journey-detail .journey-current-label{display:none}.journey-panel>.journey-detail .journey-count{padding:0}
}
@media(prefers-reduced-motion:reduce){.journey-popup,.journey-popup::backdrop{transition:none}.journey-popup:popover-open{transform:none}}

.journey-step-count{flex-shrink:0;font-size:11px;font-weight:500;padding:4px 7px;border-radius:6px;background:#ffffff24;white-space:nowrap}
.case-delivery{position:relative;justify-content:center;text-align:center;padding:12px 48px;min-height:56px;border-radius:12px;font-size:13px;font-weight:400}
.case-delivery>span{flex:initial}.case-delivery>svg:first-child{position:absolute;left:16px;width:25px;height:25px}.case-delivery>svg:last-child:not(:first-child){position:absolute;right:16px}
@container intake (max-width:650px){.case-delivery{min-height:52px;padding:11px 46px;font-size:13px}.case-delivery-grid{gap:8px}}
@media(max-width:700px){.page-header:has([data-action="new-case"]){align-items:stretch}.page-header>[data-action="new-case"]{width:100%;justify-content:center;align-self:stretch}.empty>[data-action="new-case"]{width:100%;justify-content:center}}

.scope-welcome h3{font-size:22px;line-height:1.3;margin:0 0 16px}.scope-welcome p{font-size:14px;line-height:1.7;color:#686059;margin:0 0 16px}
.welcome-link{display:inline;padding:0;border:0;background:none;color:#a54100;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.welcome-routes{display:grid;gap:12px}.welcome-routes>button{display:flex;gap:12px;align-items:center;border:1px solid #ecd6c4;background:#fff8f1;border-radius:12px;padding:16px;text-align:left;color:#a54100;cursor:pointer;transition:background .2s,transform .2s}
.welcome-routes>button:hover{background:#ffeddd}.welcome-routes>button:active{transform:scale(.98)}.welcome-routes svg{flex-shrink:0}.welcome-routes span{flex:1}.welcome-routes strong{display:block;font-size:14px;margin-bottom:6px}.welcome-routes small{display:block;font-size:12px;line-height:1.6;color:#776b60;font-weight:400}
@media(prefers-reduced-motion:reduce){.welcome-routes>button{transition:none}.welcome-routes>button:active{transform:none}}

.weight-entry{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #eee5dc}.weight-entry h2{font-size:18px;margin:0 0 8px}.weight-entry p{font-size:13px;line-height:1.6;color:#756b62;margin:8px 0 14px}.weight-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.weight-input{display:flex;align-items:center;gap:8px}.weight-input input{min-width:0;width:100%}.weight-input>span{font-size:13px;color:#86796e}
