.kit-history{margin-top:20px;min-width:0}.kit-history *{box-sizing:border-box}.kit-history .hint,.kit-saved-snapshot .hint{font-size:.9rem;color:#c1bdcd;line-height:1.5}.kit-history-record{border-top:1px solid #514b64;padding:16px 0}.kit-history h3{font-size:1rem;margin:8px 0}.kit-history p,.kit-saved-snapshot p{overflow-wrap:anywhere}.kit-history button,.kit-save button{min-height:44px;min-width:44px;border:1px solid #71677f;border-radius:8px;background:#30283f;color:#fff;padding:9px 12px;font:inherit;margin:4px 6px 4px 0;cursor:pointer;max-width:100%}.kit-history button:disabled,.kit-save button:disabled{opacity:.58;cursor:default}.kit-save>button,.kit-response-form button[type=submit]{background:#e84b99;color:#171326;border-color:#e84b99;font-weight:700}.kit-history summary{cursor:pointer;min-height:44px;padding:12px 0;color:#ff93c4;overflow-wrap:anywhere}.kit-history button:focus-visible,.kit-history summary:focus-visible,.kit-history input:focus-visible,.kit-history textarea:focus-visible{outline:3px solid #ff93c4;outline-offset:3px}.kit-snapshot-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.kit-history .kit{padding-left:22px}.kit-history .kit li{margin:8px 0;overflow-wrap:anywhere}.kit-history .kit small{display:block;color:#c1bdcd;line-height:1.5;margin-top:4px}.kit-response-form{border:1px solid #71677f;border-radius:10px;padding:12px;margin-top:12px}.kit-response-form fieldset{border:0;padding:0;margin:0}.kit-rating-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.kit-rating-choices label{display:flex;gap:8px;align-items:center;min-height:44px;cursor:pointer;font-size:.95rem}.kit-rating-choices input{width:20px!important;height:20px!important;min-height:20px!important;min-width:20px;accent-color:#e84b99;margin:0}.kit-response-form textarea{display:block;width:100%;max-width:100%;resize:vertical;background:#18162f;color:#fff;border:1px solid #8c809b;border-radius:6px;padding:10px;font:inherit;margin:8px 0}.kit-feedback-state{font-weight:600}.kit-save{border-top:1px solid #514b64;margin-top:16px;padding-top:12px}@media(max-width:600px){.kit-snapshot-groups{grid-template-columns:1fr;gap:8px}.kit-history-record>button{font-size:.9rem}}

.kit-history .kit-record-link,.account-kit-feedback>p>a{display:inline-flex;align-items:center;min-height:44px;margin:4px 12px 4px 0;max-width:100%;overflow-wrap:anywhere}

.kit-history-record{scroll-margin-top:100px}
/* UX-FINAL: compact shared cards, with all management retained in disclosures. */
.kit-history-record{padding:12px 0}.kit-history-record>h3{font-size:1rem;margin:0 0 4px}.kit-history-record>p{margin:4px 0}.kit-history-record>.kit-feedback-state{font-size:.9rem;margin:6px 0}.kit-history-record>details>summary{padding:10px 0}.kit-history-record>details:first-of-type>summary{font-weight:700;color:#fff}.kit-manage{margin-top:2px}.kit-manage>summary,.kit-history-info>summary{font-size:.9rem}.kit-history-info{margin-top:12px;border-top:1px solid #514b64}.kit-history .kit{padding:0;gap:10px;list-style:none}.kit-history .kit li{margin:0;line-height:1.4;padding-left:22px;position:relative}.kit-history .kit li:before{content:'✓';position:absolute;left:0;color:#ff93c4}.kit-history .kit small{margin-top:3px}.kit-snapshot-groups{gap:16px;margin:6px 0}.kit-history .kit-snapshot-groups h3{margin:8px 0}.kit-history-actions{display:flex;justify-content:flex-end}.kit-history .kit-refresh{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;font-size:.85rem;margin:0}.kit-save>button:disabled{opacity:1;background:#30283f;border-color:#71677f;color:#d6d0e1}.kit-save>button[data-state=saved]{background:#263d37;color:#e5fff4;border-color:#82bfa8}.kit-save>button[data-state=loading]{background:#e84b99;color:#171326}.kit-save #save-kit-note{min-height:1.5em}.cycling-icon{display:inline-block;flex:none;vertical-align:-4px;margin-right:7px;color:inherit}.kit-history li>.cycling-icon{vertical-align:-4px}.kit-history-info>a{display:inline-flex;align-items:center;min-height:44px;margin-right:16px}.kit-history-record>.kit-manage{display:block}
.kit-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.kit-history .kit-history-heading>h2{flex:1;min-width:0;margin:0;font-size:clamp(20px,2.3vw,26px)}
.kit-history .kit-history-heading>.kit-refresh{flex:none;min-width:44px;min-height:44px;padding:7px 8px;gap:5px}
.kit-history .kit-refresh>.cycling-icon{margin:0}
.kit-history-content>p:first-child{margin:0 0 8px}
.kit-feedback-details>summary{font-size:.9rem}
.kit-history .kit-snapshot-groups h3{display:flex;align-items:center;gap:8px}
.kit-history .kit-snapshot-groups h3>.cycling-icon{margin:0;width:20px;height:20px;flex:none}
@media(min-width:1000px){
 .kit-history-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;align-items:start}
 .kit-history-content>*{grid-column:1/-1}
 .kit-history-content>.kit-history-record{grid-column:auto;min-width:0}
 .kit-history-content>.kit-history-record:only-of-type,.kit-history-content>.kit-history-record:has(>details:first-of-type[open]){grid-column:1/-1}
}

@media(max-width:600px){.kit-history .kit-history-heading{gap:8px}.kit-history .kit-history-heading>.kit-refresh{width:44px;padding:0;justify-content:center;gap:0}.kit-history-heading .kit-refresh-label{display:none}}
@media(max-width:350px){.kit-history .kit-history-heading>h2{font-size:18px}}

@media(min-width:1000px){
 .kit-history-content>.kit-history-record,.kit-history-content>.kit-history-record:has(>details:first-of-type[open]){grid-column:auto;width:100%;max-width:none}
 .kit-history-content>.kit-history-record:only-of-type{grid-column:1/-1;max-width:720px}
 .kit-history-content>.kit-history-record .kit-snapshot-groups{grid-template-columns:1fr}
 .kit-history-content>.kit-history-record:only-of-type .kit-snapshot-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kit-history-content>button{justify-self:start}
}

/* ICON-SITE-01: one record, three clear routes; no empty filler cards. */
.kit-history-record{border:1px solid #55516b;border-radius:11px;background:#202136;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto;gap:4px 8px;align-items:start}
.kit-history-record>*{grid-column:1/-1;min-width:0}
.kit-history-record>details:first-of-type{grid-column:1}
.kit-history-record>details:first-of-type[open]{grid-column:1/-1}
.kit-history-record>button{grid-column:2;margin:0;align-self:start}
.kit-history-record>.kit-manage{grid-column:3;margin:0}
.kit-history-record>.kit-manage[open]{grid-column:1/-1}
.kit-history-record>details>summary{font-size:.9rem;min-height:44px;padding:10px 0;line-height:1.4}
.kit-history-content{gap:12px}
.kit-history-content>.kit-history-record{margin-top:10px}
.kit-history-secondary{display:flex;gap:4px 18px;align-items:start;flex-wrap:wrap;border-top:1px solid #514b64;margin-top:12px;padding-top:8px;font-size:.85rem}
.kit-history-secondary>a{display:inline-flex;align-items:center;min-height:44px;color:inherit}
.kit-global-manage>summary{font-size:.85rem;padding:10px 0}
.kit-feedback-comment{white-space:pre-wrap;border-left:2px solid #8c809b;padding-left:10px}
.kit-history-heading h2{display:flex;align-items:center;gap:8px}.kit-history-heading h2>.cycling-icon{margin:0}
@media(min-width:1000px){.kit-history-content>.kit-history-record:only-of-type{max-width:720px}.kit-history-content>.kit-history-record{max-width:none}}

/* POST-LAUNCH-01: feedback editor only; account and planner use the same view. */
.kit-history .kit-response-form{display:grid;gap:14px;min-width:0;background:transparent;border-color:var(--dd-line,#71677f)}
.kit-history .kit-response-form>p{margin:0}
.kit-history .kit-response-form fieldset{min-width:0;margin:0;padding:0;border:0}
.kit-history .kit-response-form legend{padding:0;font-weight:700;line-height:1.5;margin-bottom:8px}
.kit-history .kit-response-form .kit-rating-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.kit-history .kit-response-form .kit-rating-choices label{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;padding:8px 10px;margin:0;line-height:1.4;border:1px solid var(--dd-line,#71677f);border-radius:8px;color:var(--dd-ink,#fff);background:var(--dd-field,#18162f);cursor:pointer;overflow-wrap:anywhere}
.kit-history .kit-response-form .kit-rating-choices input[type=radio]{flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0}
.kit-history .kit-response-form>label{display:block;min-width:0;line-height:1.5;margin:0;color:var(--dd-ink,#fff)}
.kit-history .kit-response-form textarea{width:100%;min-width:0;margin:6px 0 0;min-height:96px;background:var(--dd-field,#18162f);color:var(--dd-ink,#fff);border-color:var(--dd-line,#71677f)}
.kit-history .kit-response-form .kit-response-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.kit-history .kit-response-actions>button{margin:0;min-height:44px;min-width:100px;white-space:normal}
.kit-history .kit-response-actions>button[type=submit]{background:var(--dd-pink,#e6007e);color:#fff;border-color:var(--dd-pink,#e6007e)}
.kit-history .kit-response-actions>button.secondary{background:var(--dd-raised,#39495f);color:var(--dd-ink,#fff);border-color:var(--dd-line,#71677f)}
@media(max-width:600px){.kit-history .kit-history-record{grid-template-columns:repeat(2,minmax(0,1fr))}.kit-history .kit-history-record>details:first-of-type{grid-column:1/-1}.kit-history .kit-history-record>button{grid-column:1;width:100%}.kit-history .kit-history-record>.kit-manage{grid-column:2}.kit-history .kit-history-record>.kit-manage[open]{grid-column:1/-1}}
@media(max-width:350px){.kit-history .kit-response-form .kit-rating-choices{grid-template-columns:1fr}.kit-history .kit-response-actions>button{flex:1 1 100px}}

/* RF-02: opt in only the shared saved-kit view; preserve the alternating cards. */
.kit-history--feedback-first .kit-history-record{display:block}
.kit-history--feedback-first .kit-record-feedback{margin:12px 0}
.kit-history--feedback-first .kit-feedback-state{margin:0 0 8px;font-size:1rem;font-weight:700;color:var(--dd-ink,#fff)}
.kit-history--feedback-first .kit-response-form{border:0;padding:0;margin:0;gap:10px}
.kit-history--feedback-first .kit-response-form .kit-rating-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kit-history--feedback-first .kit-response-form .kit-rating-choices label:has(input:checked){border:2px solid var(--dd-pink,#e6007e);padding:7px 9px;font-weight:700;background:var(--dd-raised,#30465c)}
.kit-history--feedback-first .kit-response-form .kit-rating-choices label:focus-within{outline:2px solid var(--dd-focus,#fff);outline-offset:2px}
.kit-history--feedback-first .kit-response-form .kit-feedback-comment-editor{min-width:0}
.kit-history--feedback-first .kit-feedback-comment-editor>summary{font-size:.85rem;padding:8px 0;min-height:44px}
.kit-history--feedback-first .kit-feedback-comment-editor>label{display:block;font-size:.9rem;line-height:1.5}
.kit-history--feedback-first .kit-response-form>p.hint{font-size:.8rem;line-height:1.45}
.kit-history--feedback-first .kit-response-actions{margin:0 0 4px}
.kit-history--feedback-first .kit-history-record>.kit-manage{margin-top:4px}
.kit-history--feedback-first .kit-snapshot-groups .kit{display:grid;gap:0}
.kit-history--feedback-first .kit-snapshot-groups .kit li{background:transparent;border-radius:0;padding:7px 0;margin:0;border-bottom:1px solid var(--dd-line,#514b64)}
.kit-history--feedback-first .kit-snapshot-groups .kit li::before{content:none}
/* Override earlier high-specificity boxed-list/action rules within this component only. */
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record{display:block}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record>.kit-manage>summary{background:transparent!important;border-color:transparent;text-align:left;font-weight:400;padding:8px 0;color:var(--dd-muted)!important}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record .kit-feedback-comment-editor>summary{background:transparent;border:0;padding:8px 0;text-align:left;font-weight:400;color:var(--dd-muted)}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-snapshot-groups .kit{gap:0}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-snapshot-groups .kit li{background:transparent;border-radius:0;padding:7px 0!important;margin:0;border-bottom:1px solid var(--dd-line)}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-snapshot-groups .kit li small{margin-top:3px}

/* RF-CLOSEOUT-01: modern record layout; legacy feedback keeps its existing view. */
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:16px;align-items:start}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>*{grid-column:1/-1;min-width:0}
.kit-history--feedback-first .kit-history-record--review>.kit-record-feedback{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;min-width:0}
.kit-history--feedback-first .kit-ride-context{display:grid;gap:8px;min-width:0;align-content:start}
.kit-history--feedback-first .kit-ride-context>:is(h3,p){margin:0}
.kit-history--feedback-first .kit-response-overview{display:grid;gap:12px;margin-top:4px;min-width:0}
.kit-history--feedback-first .kit-response-overview>p{margin:0}
.kit-history--feedback-first .kit-response-overview>button{margin:0;justify-self:start}
.kit-history--feedback-first .kit-response-form{gap:12px}
.kit-history--feedback-first .kit-response-form legend{margin-bottom:12px}
.kit-history--feedback-first .kit-response-actions{margin:0}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>.kit-manage{margin:0}
html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>.kit-manage[open]{padding-top:8px}
/* RF-CLOSEOUT-02: desktop geometry only; the accepted mobile rules above are unchanged. */
@media(min-width:821px){
 .kit-history--feedback-first .kit-history-record--review>.kit-record-feedback:has(>form){grid-template-columns:minmax(200px,.8fr) minmax(280px,1.2fr);gap:24px;align-items:start}
 .kit-history--feedback-first .kit-history-record--review>.kit-record-feedback>form{margin:0;min-width:0;max-width:420px}
 .kit-history--feedback-first .kit-response-overview{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px;margin-top:4px}
 .kit-history--feedback-first .kit-response-overview>.kit-feedback-state{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
 .kit-history--feedback-first .kit-response-overview>.kit-feedback-comment{flex-basis:100%;order:1}
 .kit-history--feedback-first .kit-response-overview>button{flex:none;min-width:0}
 .kit-history--feedback-first .kit-rating-value{display:inline-block;padding:4px 10px;border:1px solid var(--dd-line);border-radius:7px;background:var(--dd-raised);color:var(--dd-ink);font-weight:700}
 html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review{max-width:820px;width:100%;grid-template-columns:minmax(0,1fr);gap:8px}
 html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review:not(:has(.kit-response-form)){max-width:560px}
 .kit-history--feedback-first .kit-history-content>.kit-history-record--review:has(.kit-response-form){grid-column:1/-1}
 html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>:is(.kit-view-action,.kit-manage){width:fit-content;max-width:100%;justify-self:start}
 html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>.kit-view-action[open]{width:100%}
 html[data-tgl-design="04"][data-tgl-visual] body main .kit-history--feedback-first .kit-history-record--review>:is(.kit-view-action,.kit-manage)>summary{width:fit-content;min-width:136px;max-width:100%;padding:10px 12px;border:1px solid var(--dd-line);border-radius:9px;text-align:left;font-weight:600;background:var(--kit-control)!important;color:var(--dd-ink)!important}
}

/* RF-02 Stage B: approved component geometry; existing legacy rules remain above. */
html body main .kit-history.kit-history--rf02{--rf-ink:var(--dd-ink,#f5f7fb);--rf-muted:var(--dd-muted,#c7d3e2);--rf-line:var(--dd-line,#52677d);--rf-surface:var(--dd-surface,#24394f);--rf-deep:var(--dd-deep,#172b3d);--rf-raised:var(--dd-raised,#30465c);--rf-field:var(--dd-field,#142437);--rf-teal:var(--dd-teal,#29484e);--rf-pink:#e6007e;--rf-pinktext:#ff93c4;--rf-error:#ffb2c5;font:16px/1.5 Arial,Helvetica,sans-serif;color:var(--rf-ink);width:100%;min-width:0;max-width:1064px;margin-inline:auto}
html[data-tgl-theme="light"] body main .kit-history.kit-history--rf02{--rf-pinktext:#b80064;--rf-error:#8c2340}
html body main .kit-history.kit-history--rf02 *{box-sizing:border-box}
html body main .kit-history.kit-history--rf02 .kit-history-content{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
html body main .kit-history.kit-history--rf02 .kit-history-content>*{grid-column:1/-1;min-width:0}
html body main .kit-history.kit-history--rf02 .kit-history-heading{margin-bottom:20px}
html body main .kit-history.kit-history--rf02 .kit-history-heading h2{margin:0}
html body main .kit-history.kit-history--rf02 :is(button,summary,input,textarea,a):focus-visible{outline:3px solid var(--rf-ink)!important;outline-offset:3px;box-shadow:0 0 0 6px var(--rf-pink)!important}
html body main .kit-history.kit-history--rf02 :is(.rf02-active,.rf02-compact) :is(p,h3){margin:0}
html body main .kit-history.kit-history--rf02 :is(.rf02-active,.rf02-compact) :is(button,summary,fieldset,label,legend){font-family:Arial,Helvetica,sans-serif;line-height:1.5}
html body main .kit-history.kit-history--rf02 button{min-height:44px;min-width:44px;margin:0;border:1px solid var(--rf-line);border-radius:9px;padding:9px 12px;background:var(--rf-raised);color:var(--rf-ink)!important;font-size:16px;cursor:pointer;max-width:100%}
html body main .kit-history.kit-history--rf02 button:disabled{opacity:.65;cursor:default}
html body main .kit-history.kit-history--rf02 button:hover{background:var(--rf-deep)}
html body main .kit-history.kit-history--rf02 :is(.rf02-active,.rf02-compact) summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;min-height:44px;padding:10px 0;font-size:14px;font-weight:600;color:var(--rf-ink)!important;background:transparent!important;border:0;border-radius:0;text-align:left;cursor:pointer}
html body main .kit-history.kit-history--rf02 summary::-webkit-details-marker{display:none}
html body main .kit-history.kit-history--rf02 :is(.rf02-active,.rf02-compact) summary::after{content:'⌄';font-size:18px;font-weight:400}
html body main .kit-history.kit-history--rf02 :is(.rf02-active,.rf02-compact) details[open]>summary::after{content:'⌃'}
html body main .kit-history.kit-history--rf02 .rf02-active{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:0 32px;align-items:start;border:1px solid var(--rf-line);border-radius:16px;background:var(--rf-surface);padding:24px;min-width:0;scroll-margin-top:100px}
html body main .kit-history.kit-history--rf02 .rf02-kit-column{grid-column:1;grid-row:1;min-width:0}
html body main .kit-history.kit-history--rf02 .rf02-date{font-size:17px;line-height:1.5;font-weight:700;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-conditions{font-size:14px;line-height:1.5;color:var(--rf-muted);margin-top:6px;overflow-wrap:anywhere}
html body main .kit-history.kit-history--rf02 .rf02-condition-detail{display:block}
html body main .kit-history.kit-history--rf02 .rf02-kit-details{margin-top:20px;min-width:0}
html body main .kit-history.kit-history--rf02 .rf02-kit-details>summary{display:none}
html body main .kit-history.kit-history--rf02 .rf02-feedback{grid-column:2;grid-row:1;padding-left:28px;border-left:1px solid var(--rf-line);min-width:0}
html body main .kit-history.kit-history--rf02 .rf02-feedback fieldset{border:0;padding:0;margin:0;min-width:0}
html body main .kit-history.kit-history--rf02 .rf02-feedback legend{font-size:19px;font-weight:700;line-height:1.4;padding:0;margin:0 0 16px;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body main .kit-history.kit-history--rf02 .rf02-choice{position:relative;display:flex;align-items:center;gap:10px;min-height:60px;min-width:0;border:1px solid var(--rf-line);border-radius:10px;background:var(--rf-field);padding:12px;margin:0;font-size:15px;font-weight:400;line-height:1.4;cursor:pointer;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-choice:has(:checked){border:2px solid var(--rf-pinktext);padding:11px;background:var(--rf-raised);font-weight:700}
html body main .kit-history.kit-history--rf02 .rf02-choice input{appearance:none;display:block;flex:none;width:20px!important;min-width:20px;max-width:20px;height:20px;min-height:20px!important;border:2px solid var(--rf-muted);border-radius:50%;padding:0;margin:0;position:relative;background:transparent!important}
html body main .kit-history.kit-history--rf02 .rf02-choice input:checked{border-color:var(--rf-pinktext);background:var(--rf-pink)!important}
html body main .kit-history.kit-history--rf02 .rf02-choice input:checked::after{content:'✓';color:#fff;position:absolute;inset:-4px 0 0;text-align:center;font-size:15px;font-weight:700}
html body main .kit-history.kit-history--rf02 .rf02-choice:has(:focus-visible){outline:3px solid var(--rf-ink);outline-offset:3px}
html body main .kit-history.kit-history--rf02 .rf02-save-status{display:flex;align-items:start;gap:9px;margin-top:16px;min-height:24px;font-size:15px;font-weight:700;line-height:1.5;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border:1.5px solid var(--rf-pinktext);border-radius:50%;color:var(--rf-pinktext);font-size:15px}
html body main .kit-history.kit-history--rf02 :is(.rf02-save-status,.rf02-compact-status) small{display:block;font-size:13px;font-weight:400;color:var(--rf-muted);margin-top:4px;line-height:1.5}
html body main .kit-history.kit-history--rf02 .rf02-save-status.rf02-error{color:var(--rf-error)}
html body main .kit-history.kit-history--rf02 .rf02-save-status+button{margin-top:10px}
html body main .kit-history.kit-history--rf02 .rf02-hint{font-size:13px;line-height:1.5;color:var(--rf-muted);margin-top:10px!important}
html body main .kit-history.kit-history--rf02 .rf02-comment{margin-top:10px;border-top:1px solid var(--rf-line);padding-top:4px}
html body main .kit-history.kit-history--rf02 .rf02-comment label{font-size:13px;line-height:1.5;color:var(--rf-muted);display:block;font-weight:400;margin:0}
html body main .kit-history.kit-history--rf02 .rf02-comment textarea{display:block;width:100%;resize:vertical;min-height:96px;border:1px solid var(--rf-line);border-radius:8px;background:var(--rf-field)!important;color:var(--rf-ink)!important;font:16px/1.5 Arial,Helvetica,sans-serif;padding:10px;margin:8px 0}
html body main .kit-history.kit-history--rf02 .rf02-comment-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
html body main .kit-history.kit-history--rf02 button.rf02-primary{background:var(--rf-pink)!important;border-color:var(--rf-pink);color:#fff!important;font-weight:700}
html body main .kit-history.kit-history--rf02 button.rf02-primary:hover{background:#c9006e!important}
html body main .kit-history.kit-history--rf02 .rf02-snapshot{padding:0;line-height:1.5}
html body main .kit-history.kit-history--rf02 .rf02-groups{display:block}
html body main .kit-history.kit-history--rf02 .rf02-groups>section+section{margin-top:16px}
html body main .kit-history.kit-history--rf02 .rf02-groups h3{font-size:16px;margin:0 0 8px;font-weight:700;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-kit{list-style:none;padding:0;margin:0;display:block}
html body main .kit-history.kit-history--rf02 .rf02-kit li{padding:8px 0;margin:0;border-bottom:1px solid var(--rf-line);font-size:15px;line-height:1.5;background:transparent;overflow-wrap:anywhere}
html body main .kit-history.kit-history--rf02 .rf02-kit li>span{font-weight:400;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-kit small{display:block;color:var(--rf-muted);font-size:13px;line-height:1.5;margin-top:3px}
html body main .kit-history.kit-history--rf02 .rf02-snapshot>p{color:var(--rf-muted);font-size:14px;margin-top:12px;max-width:56ch}
html body main .kit-history.kit-history--rf02 .rf02-metadata{margin-top:8px;max-width:100%}
html body main .kit-history.kit-history--rf02 .rf02-metadata p{font-size:13px;color:var(--rf-muted);margin:4px 0 8px}
html body main .kit-history.kit-history--rf02 .rf02-manage{grid-column:1/-1;grid-row:2;margin-top:12px;border-top:1px solid var(--rf-line)}
html body main .kit-history.kit-history--rf02 .rf02-manage>summary{justify-content:flex-start;gap:14px;width:fit-content;color:var(--rf-muted)!important}
html body main .kit-history.kit-history--rf02 .rf02-manage-actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 10px}
html body main .kit-history.kit-history--rf02 button.rf02-danger{color:var(--rf-error)!important;background:transparent}
html body main .kit-history.kit-history--rf02 .rf02-compact{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;align-items:center;gap:12px 24px;border:1px solid var(--rf-line);border-radius:12px;background:var(--rf-deep);padding:14px 20px}
html body main .kit-history.kit-history--rf02 .rf02-compact.rf02-alt{background:var(--rf-teal)}
html body main .kit-history.kit-history--rf02 .rf02-compact .rf02-date{font-size:15px}
html body main .kit-history.kit-history--rf02 .rf02-compact .rf02-conditions{font-size:13px;margin-top:2px}
html body main .kit-history.kit-history--rf02 .rf02-compact-status{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:700;color:var(--rf-ink)}
html body main .kit-history.kit-history--rf02 .rf02-compact-status small{font-size:12px;margin-top:0}
html body main .kit-history.kit-history--rf02 .rf02-compact button{background:transparent;font-size:14px;white-space:nowrap}
html body main .kit-history.kit-history--rf02 .rf02-section-label{font-size:13px;color:var(--rf-muted);margin:8px 0 -4px}
html body main .kit-history.kit-history--rf02 .kit-history-secondary{display:flex;gap:10px 24px;align-items:center;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--rf-line);margin-top:8px;padding-top:14px}
html body main .kit-history.kit-history--rf02 .kit-history-secondary>p{margin:0;font-size:13px}
html body main .kit-history.kit-history--rf02 .kit-history-secondary a{color:var(--rf-muted);font-size:13px;display:inline-flex;align-items:center;min-height:44px}
html body main .kit-history.kit-history--rf02 .kit-history-content>.rf02-feedback{grid-column:1/-1}
html body main .kit-history.kit-history--rf02>.hint:empty{display:none}
@media(min-width:821px){
 html[data-tgl-design="04"] body[data-tgl-calculators].tgl-weather-planner-workspace main .layout:has(>#kit-history.kit-history--rf02){grid-template-areas:"inputs result" "history history";grid-template-rows:auto auto}
 html[data-tgl-design="04"] body[data-tgl-calculators].tgl-weather-planner-workspace main .layout:has(>#result[hidden]):has(>#kit-history.kit-history--rf02){grid-template-columns:minmax(0,1fr);grid-template-areas:"inputs" "history";justify-content:stretch}
 html[data-tgl-design="04"] body[data-tgl-calculators].tgl-weather-planner-workspace main .layout:has(>#result[hidden])>#ride-form{max-width:760px;width:100%;justify-self:center}
}
html body main #kit-history.kit-history--rf02{padding:0!important;border:0!important;background:transparent!important}
html body main .account-kit-feedback:has(>.kit-history--rf02){padding:0!important;border:0!important;background:transparent!important}
@media(max-width:820px){
 html body main .kit-history.kit-history--rf02 .rf02-active{display:flex;flex-direction:column;padding:16px;gap:0}
 html body main .kit-history.kit-history--rf02 .rf02-kit-column{display:contents}
 html body main .kit-history.kit-history--rf02 :is(.rf02-context,.rf02-feedback,.rf02-kit-details,.rf02-manage){width:100%}
 html body main .kit-history.kit-history--rf02 .rf02-context{order:0}
 html body main .kit-history.kit-history--rf02 .rf02-feedback{order:1;margin-top:16px;padding:0;border:0}
 html body main .kit-history.kit-history--rf02 .rf02-feedback legend{font-size:18px;margin-bottom:12px}
 html body main .kit-history.kit-history--rf02 .rf02-choice{min-height:56px}
 html body main .kit-history.kit-history--rf02 .rf02-save-status{margin-top:12px}
 html body main .kit-history.kit-history--rf02 .rf02-kit-details{order:2;margin-top:8px;border-top:1px solid var(--rf-line)}
 html body main .kit-history.kit-history--rf02 .rf02-kit-details>summary{display:flex}
 html body main .kit-history.kit-history--rf02 .rf02-kit-details[open]>.rf02-snapshot{padding-bottom:6px}
 html body main .kit-history.kit-history--rf02 .rf02-manage{order:3;margin-top:0}
 html body main .kit-history.kit-history--rf02 .rf02-manage>summary{width:100%;justify-content:space-between}
 html body main .kit-history.kit-history--rf02 .rf02-compact{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:14px 16px}
 html body main .kit-history.kit-history--rf02 .rf02-compact-context{grid-column:1/-1}
 html body main .kit-history.kit-history--rf02 .rf02-compact-status{grid-column:1}
 html body main .kit-history.kit-history--rf02 .rf02-compact button{grid-column:2;align-self:center;padding:8px 10px}
 html body main .kit-history.kit-history--rf02 .rf02-date{font-size:16px}
 html body main .kit-history.kit-history--rf02 .rf02-compact .rf02-date{font-size:14px}
 html body main .kit-history.kit-history--rf02 .rf02-condition-detail{display:none}
 html body main .kit-history.kit-history--rf02 .rf02-hint{margin-top:8px!important}
}

html body main .kit-history.kit-history--rf02 .rf02-compact-status.rf02-await{color:var(--rf-muted);font-weight:400}
/* Preserve the approved header control and 16px viewport gutter at narrow widths. */
html body main .kit-history.kit-history--rf02 .kit-refresh{width:auto!important;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px;padding:7px 10px}
@media(max-width:820px){
 html body main .kit-history.kit-history--rf02{width:calc(100vw - 32px);max-width:calc(100vw - 32px);margin-inline:calc((100% - (100vw - 32px))/2)}
 html body.tgl-weather-planner-workspace main .layout:has(>#kit-history.kit-history--rf02){grid-template-columns:minmax(0,1fr)}
}
@media(min-width:821px){
 html body main .kit-history.kit-history--rf02{width:min(1064px,calc(100vw - 36px));max-width:min(1064px,calc(100vw - 36px));margin-inline:calc((100% - min(1064px,calc(100vw - 36px)))/2)}
}
/* The approved optional-comment editor inherits its compact 13px label type. */
html body main .kit-history.kit-history--rf02 .rf02-comment textarea{font-size:13px;line-height:1.5}

/* Adjacent disclosure indicators, limited to Kit History. Native details stay native. */
html body main .kit-history.kit-history--rf02 summary{display:flex;align-items:center;justify-content:flex-start!important;gap:8px!important;list-style:none;min-height:44px}
html body main .kit-history.kit-history--rf02 summary::-webkit-details-marker{display:none}
html body main .kit-history.kit-history--rf02 summary::marker{content:""}
html body main .kit-history.kit-history--rf02 summary::after{content:""!important;display:inline-block;flex:none;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:2px}
html body main .kit-history.kit-history--rf02 details[open]>summary::after{transform:translateY(2px) rotate(225deg)}
html body main .kit-history.kit-history--rf02 .rf02-saved-comment{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:14px;line-height:1.5;color:var(--rf-ink)}

/* UI-FINAL-02 B1: original saved conditions, grouped without changing values. */
html body main .kit-history.kit-history--rf02 .rf02-forecast {
 display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px 18px;
 margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--rf-line);
}
html body main .kit-history.kit-history--rf02 .rf02-forecast>div {min-width:0}
html body main .kit-history.kit-history--rf02 .rf02-forecast dt {font-size:12px;line-height:1.5;color:var(--rf-muted);font-weight:400}
html body main .kit-history.kit-history--rf02 .rf02-forecast dd {margin:3px 0 0;font-size:14px;line-height:1.5;color:var(--rf-ink);overflow-wrap:anywhere}
html body main .kit-history.kit-history--rf02 .rf02-comment [data-comment-edit] {display:block;margin-top:16px}
