/* Page-specific recovered structures. Data, mutations and revision checks remain in owning modules. */
html[data-wz-module] .restored-date-strip{display:flex;gap:6px;overflow-x:auto;margin:12px 0;padding:3px 1px 9px;scrollbar-width:thin}
html[data-wz-module] .restored-date-strip button{flex:0 0 43px;min-width:43px;min-height:59px;padding:7px 2px!important;margin:0!important;display:flex;flex-direction:column;gap:5px;border:1px solid var(--app-line);border-radius:13px;background:var(--app-input);color:var(--app-text);align-items:center;justify-content:center}
html[data-wz-module] .restored-date-strip button[aria-pressed=true]{background:var(--app-button);color:white;border-color:var(--app-accent);box-shadow:0 0 12px #24bbff44}
html[data-wz-module] .restored-date-strip strong{font-size:18px}html[data-wz-module] .restored-date-strip small{font-size:10px}
html[data-wz-module=nutrition] .restored-meal-day>.restored-meal-row{display:grid;grid-template-columns:1fr;position:relative;padding:12px;border-radius:16px;background:linear-gradient(130deg,#163954ed,#071c2ee6)}
html[data-wz-module=nutrition] .restored-meal-row .wz-inventory-header{display:flex;align-items:center;gap:10px}
html[data-wz-module=nutrition] .restored-meal-row .wz-inventory-thumb{width:75px;height:75px;border-radius:13px;overflow:hidden;flex:none}
html[data-wz-module=nutrition] .restored-recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
html[data-wz-module=nutrition] .restored-recipe-grid>.nc-card{padding:10px;margin:0;min-width:0}
html[data-wz-module=nutrition] .restored-recipe-grid .wz-inventory-header{display:block}
html[data-wz-module=nutrition] .restored-recipe-grid .wz-inventory-thumb{width:100%;height:100px;overflow:hidden;border-radius:12px}
html[data-wz-module=nutrition] .restored-recipe-grid h2{font-size:14px;margin-top:9px}
html[data-wz-module=nutrition] .restored-recipe-detail{overflow:hidden}
html[data-wz-module=nutrition] .restored-recipe-sections{border-top:1px solid var(--app-line);margin-top:12px;padding-top:15px}
html[data-wz-module=nutrition] .restored-recipe-sections p{padding:9px 0;border-bottom:1px solid #80c4e522}
html[data-wz-module=nutrition] [data-nutrition-page=nutrition-settings] .nc-card>a{display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:48px;border:0;border-bottom:1px solid #639bb544;border-radius:0;margin:0;padding:10px 0}
html[data-wz-module=nutrition] [data-nutrition-page=nutrition-settings] .nc-card>a:after{content:'›';color:var(--app-accent)}
html[data-wz-module] .restored-summary-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
html[data-wz-module] .restored-summary-pair>section{margin:0!important;padding:13px!important;min-width:0}
html[data-wz-module] .restored-summary-pair h2{font-size:16px}
html[data-wz-module] .restored-summary-pair strong{display:block;font-size:25px;line-height:1.2;margin:8px 0}
html[data-wz-module] .restored-summary-pair a{font-size:11px!important}
html[data-wz-module] .restored-workout-feature{display:grid;grid-template-columns:minmax(0,1fr) 42%;position:relative;border-radius:22px;overflow:hidden;border:1px solid var(--app-line);background:var(--app-card);box-shadow:var(--app-shadow);margin:12px 0}
html[data-wz-module] .restored-workout-feature>img{width:100%;height:190px;object-fit:cover}
html[data-wz-module] .restored-workout-feature>.restored-feature-copy{padding:17px 12px}
html[data-wz-module] .restored-workout-feature h2{font-size:21px;margin:5px 0 10px}
html[data-wz-module] .restored-workout-feature>.restored-feature-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}
html[data-wz-module] .restored-workout-feature .restored-feature-actions>a{margin:0!important;width:100%;text-align:center;box-sizing:border-box}
html[data-wz-module=education] .restored-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-wz-module=education] .restored-subject-grid>.wz-workspace-card{margin:0!important;overflow:hidden}
html[data-wz-module=education] .restored-subject-grid .wz-workspace-link{display:flex;text-align:left;justify-content:space-between;border:0;border-bottom:1px solid var(--app-line);border-radius:0;margin:0;padding:10px 0!important}
html[data-wz-module=education] .restored-create-panel{border:1px solid var(--app-line);border-radius:15px;background:var(--app-card);padding:12px;margin:12px 0}
html[data-wz-module=education] .restored-create-panel>summary{min-height:30px;align-content:center;color:var(--app-accent);cursor:pointer;font-weight:600}
html[data-wz-module=education] .restored-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}
html[data-wz-module=education] .restored-mode-grid>a{margin:0;min-height:72px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;font-size:13px!important;border:1px solid var(--app-line);border-radius:16px;background:linear-gradient(#fff,#dfedfc);box-shadow:var(--app-shadow)}
html[data-wz-module=education] .restored-mode-grid>a:before{content:'◇';font-size:23px;color:#208bd3;margin-bottom:4px}
html[data-wz-module=education] .restored-answer-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
html[data-wz-module=education] .restored-answer-options>button{min-height:62px!important;margin:0!important;background:var(--app-card);color:var(--app-text);border:1px solid var(--app-line)}
html[data-wz-module=education] .restored-answer-options>button[aria-pressed=true]{background:#d2eafa;border-color:#078bdb;box-shadow:0 0 0 1px #078bdb}
html[data-wz-module=lifestyle] .restored-balance-sides{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:center;padding:14px 0}
html[data-wz-module=lifestyle] .restored-balance-sides strong{display:block;font-size:32px;line-height:1.1;color:#7eebfb}
html[data-wz-module=lifestyle] .restored-balance-sides>div+div strong{color:#ff9c98}
html[data-wz-module=lifestyle] .restored-balance-bar{display:flex;height:7px;border-radius:8px;overflow:hidden;background:#253e57;margin:12px 0}
html[data-wz-module=lifestyle] .restored-balance-bar span:first-child{background:#19d0f6}html[data-wz-module=lifestyle] .restored-balance-bar span:last-child{background:#f35d62}
html[data-wz-module=lifestyle] .restored-comparison-art{display:block;width:100%;height:125px;object-fit:contain;margin:5px 0}
html[data-wz-module=lifestyle] .restored-area-row{display:flex!important;overflow:auto;gap:9px!important;padding:5px 0 10px}
html[data-wz-module=lifestyle] .restored-area-row>a{min-width:66px;flex:0 0 66px;min-height:76px;display:flex!important;flex-direction:column;justify-content:center;text-align:center!important;font-size:10px!important}
html[data-wz-module=lifestyle] .restored-area-row .app-chevron{display:none}
html[data-wz-module=travel] .restored-flight-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
html[data-wz-module=travel] .restored-flight-fields>h2,html[data-wz-module=travel] .restored-flight-fields>label:last-of-type,html[data-wz-module=travel] .restored-flight-fields>button{grid-column:1/-1}
html[data-wz-module=travel] .restored-flight-fields input{min-width:0;width:100%;box-sizing:border-box}
html[data-wz-module=travel] .restored-flight-segment{position:relative;padding:15px 12px 15px 24px;margin:9px 0;border-left:2px solid var(--app-accent);background:var(--app-card);border-radius:0 13px 13px 0}
html[data-wz-module=travel] .restored-flight-segment:before{content:'';position:absolute;left:-5px;top:20px;width:8px;height:8px;border-radius:50%;background:var(--app-accent)}
html[data-wz-module=travel] .restored-flight-segment>strong{font-size:21px;letter-spacing:1px}
html[data-wz-screen=calisthenics-settings] #calisthenics-connected .cali-card>a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:8px 0;text-decoration:none;border-bottom:1px solid var(--app-line);color:var(--app-text)}
html[data-wz-screen=calisthenics-settings] #calisthenics-connected .cali-card>a:after{content:'›';color:var(--app-accent)}
.recovered-recipe-image{margin:0 0 15px}.recovered-recipe-image img{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:15px}.recovered-recipe-image figcaption{font-size:10px;color:#aac8da;margin-top:5px}

.restored-yoga-image{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:16px;background:#dceef4;margin-bottom:14px}

/* Recovered Travel search structure; account planning uses existing draft RPC. */
.restored-travel-search-hero{padding:24px 16px 32px;border-radius:20px;background:linear-gradient(0deg,#061426ed,#06142622),url(assets/travel/istanbul-blue-hour-v1.webp) center/cover;margin-bottom:12px;color:#fff}
.restored-travel-search-hero h1{font-size:27px;line-height:1.15;margin:0 0 8px}.restored-travel-search-hero p{font-size:13px;max-width:30ch}
.restored-trip-modes{display:flex;gap:7px;margin:12px 0}.restored-trip-modes button{flex:1;min-width:0;min-height:44px;width:auto!important;padding:8px 5px!important;border-radius:24px;font-size:12px!important;background:linear-gradient(#173755,#071c30);border:1px solid #7da4c9;color:#fff}
@media(max-width:350px){.restored-trip-modes{gap:4px}.restored-trip-modes button{font-size:11px!important}.restored-travel-search-hero{padding:18px 12px}}

html[data-wz-module=travel] .restored-flight-fields>label{grid-column:1/-1}

/* Saved traveler fields retain alignment at narrow mobile widths. */
#flight-dialog-body .saved-traveler-editor label{display:grid;gap:6px}
#flight-dialog-body .saved-traveler-editor input:not([type=checkbox]),#flight-dialog-body .saved-traveler-editor select{display:block;width:100%;min-width:0;box-sizing:border-box}
#flight-dialog-body .saved-traveler-editor label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:44px}
#flight-dialog-body .saved-traveler-editor input[type=checkbox]{width:22px;height:22px;min-height:22px;margin:0}

/* Account trip lists: readable cards and reachable status navigation. */
.travel-trip-status{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.travel-trip-status a.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex:1;min-width:80px;padding:8px;box-sizing:border-box}
.travel-trip-status a[aria-current=page]{background:linear-gradient(#08cfff,#0076fa 60%,#004cc4);color:white;border-color:#9cefff}
.travel-trip-record{padding:14px;margin:12px 0;overflow-wrap:anywhere}
.travel-trip-record h2{margin:0 0 10px}
.travel-trip-record p{margin:8px 0;line-height:1.5}
.travel-trip-record a.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:5px 6px 0 0;padding:8px 12px;box-sizing:border-box}

#review-root .travel-preferences-editor{display:grid;gap:12px}
#review-root .travel-preferences-editor label{display:grid;gap:6px}
#review-root .travel-preferences-editor input:not([type=checkbox]),#review-root .travel-preferences-editor select,#review-root .travel-preferences-editor textarea{display:block;width:100%;min-width:0;box-sizing:border-box}
#review-root .travel-preferences-editor label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:44px}
#review-root .travel-preferences-editor input[type=checkbox]{width:22px;height:22px;min-height:22px;margin:0}
#review-root .travel-preferences-editor fieldset{min-width:0}
