﻿/* Redemption Calculator: compact reference layout, scoped to section 01. */
#sec-01 { padding:20px 12px; background:#f8f7f4; color:#171513; font-family:'DM Sans',Arial,sans-serif; scroll-margin-top:90px; }
#sec-01 > div { max-width:1152px; margin:auto; }
#sec-01 .ec-shell { padding:16px; border:2px solid #b38e46; border-radius:25px; background:white; box-shadow:0 1px 2px #00000008; }
#sec-01 .ec-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; margin:0 0 16px; background:#fbf7ee; border:1px solid #e8dcc0; border-left:4px solid #b38e46; border-radius:12px; }
#sec-01 .ec-heading-title { display:flex; align-items:center; gap:10px; }
#sec-01 .ec-heading-icon { display:grid; place-items:center; width:40px; height:42px; flex-shrink:0; margin:0; border-radius:10px; background:#f0e4cd; color:#95601f; }
#sec-01 .ec-heading-icon svg { width:24px; height:24px; }
#sec-01 h2 { font-family:inherit; font-size:22px; font-weight:700; line-height:1.2; letter-spacing:-.4px; color:#62401f; }
#sec-01 .ec-heading p { font-size:12px; color:#7a6a54; margin-top:4px; }
#sec-01 .ec-heading > span { font-size:9px; letter-spacing:2px; color:#95601f; white-space:normal; text-align:right; }
#sec-01 .ec-columns { display:grid; grid-template-columns:1.08fr .97fr; gap:12px; align-items:stretch; }
#sec-01 .ec-purchase { display:flex; flex-direction:column; gap:0; min-width:0; padding:16px; border:1px solid #e7ded2; border-radius:14px; background:#fcfaf7; }
#sec-01 .ec-panel-heading,#sec-01 .ec-reward-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:12px; border-bottom:1px solid #e8dccb; }
#sec-01 .ec-panel-heading > span { font-size:12px; letter-spacing:1.6px; color:#57351e; }
#sec-01 .ec-field { display:grid; grid-template-columns:40px 116px minmax(0,1fr); gap:10px; padding:16px 0; border-bottom:1px solid #eee4d7; align-items:start; }
#sec-01 .ec-field:after { content:none; }
#sec-01 .ec-field:last-of-type { border-bottom:0; }
#sec-01 .ec-field-icon { display:grid; place-items:center; float:none; width:40px; height:44px; margin:0; border:0; border-radius:10px; background:#f3e8d7; color:#955918; }
#sec-01 .ec-field-icon svg { width:25px; height:25px; color:inherit; }
#sec-01 .ec-field-label { padding-top:3px; }
#sec-01 .ec-field-label label { font-size:12px; margin:0 0 4px; line-height:1.3; color:#111827; }
#sec-01 .ec-field-label p { font-size:11px; line-height:1.5; color:#565b65; }
#sec-01 .ec-field-control { min-width:0; }
#sec-01 .ec-field-control select,#sec-01 #calc-spend-input { width:100%; height:42px; border:1px solid #dfd1be; background:#fff; border-radius:9px; padding:0 10px; font:500 12px 'DM Sans',Arial,sans-serif; color:#111827; }
#sec-01 #calc-spend-input { padding-left:30px; font-size:22px; font-weight:700; }
#sec-01 #calc-category-hint,#sec-01 .ec-field-control > div:last-child { font-size:10px; color:#565b65; line-height:1.45; margin-top:5px; font-family:inherit; }
#sec-01 #calc-accelerator-badge { display:none; }
#sec-01 #calc-bank-badge { display:table; margin:5px 0 0 auto; padding:1px 8px; border-radius:20px; background:#f1e7d9; color:#674020; font:10px/1.5 inherit; }
#sec-01 .calc-preset-btn { flex:1; min-width:0; min-height:30px; padding:4px 2px; border:1px solid #dfd1be; border-radius:8px; font:11px 'DM Sans',Arial,sans-serif; }
#sec-01 .calc-preset-btn.text-white { background:#4e2d18; border-color:#4e2d18; color:white; }
#sec-01 .ec-milestone { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding:12px; border:1px solid #eddfcb; border-radius:10px; background:#f5ecdf; }
#sec-01 .ec-milestone > div { display:flex; gap:10px; }
#sec-01 .ec-milestone svg { width:24px; height:24px; flex-shrink:0; color:#94591d; }
#sec-01 #bottom-strip-text { font-size:10px; line-height:1.5; color:#565b65; }
#sec-01 .ec-milestone button { font-size:10px; white-space:normal; color:#784519; }
#sec-01 .ec-milestone button svg { width:14px; }
#sec-01 .ec-reward { display:flex; flex-direction:column; min-width:0; padding:16px; overflow:hidden; border:1px solid #352419; border-radius:14px; color:#fffaf1; background:linear-gradient(120deg,#20170e,#160f08); }
#sec-01 .ec-reward-heading { border-color:#96713d; }
#sec-01 .ec-reward-heading > span:first-child { font-size:13px; letter-spacing:2px; color:#f7bd65; }
#sec-01 #trace-card-name { max-width:57%; font:12px 'DM Sans',Arial,sans-serif; color:#fff8eb; }
#sec-01 .ec-reward-hero { position:relative; isolation:isolate; padding:30px 0 16px; text-align:center; }
#sec-01 .ec-reward-hero:before { content:''; position:absolute; z-index:-1; top:0; right:-16px; width:70%; height:175px; background:linear-gradient(90deg,#1c140c,transparent),linear-gradient(0deg,#1c140c,transparent),url('../assets/redemption-flight.jpg') center/cover; opacity:.32; filter:sepia(.7); }
#sec-01 .ec-result-pair { display:grid; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr); align-items:center; }
#sec-01 .ec-result-label { display:flex; align-items:center; justify-content:center; gap:8px; font-size:12px; color:#fffaf1; }
#sec-01 .ec-result-label svg { width:21px; height:21px; color:#f7bd65; }
#sec-01 .ec-result-label > span { color:#f7bd65; font-size:24px; line-height:1; }
#sec-01 #result-hero-points,#sec-01 #result-loyalty-pts { display:block; margin:12px 0 8px; font:800 clamp(30px,3.4vw,48px)/1.1 'DM Sans',Arial,sans-serif; letter-spacing:-1.5px; color:#ffda78; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#sec-01 #result-hero-currency,#sec-01 #result-currency-name { display:inline; font-size:12px; color:#fffaf1; text-transform:none; letter-spacing:0; font-weight:500; }
#sec-01 .ec-conversion { padding:0; margin:0; border:0; border-radius:0; background:none; min-width:0; }
#sec-01 .ec-result-arrow { font-size:28px; color:white; }
#sec-01 .ec-currency-line { display:flex; align-items:center; justify-content:center; gap:6px; }
#sec-01 .ec-info { width:18px; height:18px; border:1px solid #efb552; border-radius:50%; color:#efb552; font:700 12px Georgia,serif; }
#sec-01 #result-partner-details { margin-top:12px; font-size:11px; color:#e6cda5; }
#sec-01 .ec-reward-hero p { margin-top:25px; font-size:12px; font-style:italic; }
#sec-01 .ec-breakdown { display:flex; flex-direction:column; gap:0; padding-top:12px; margin-bottom:12px; border-top:1px solid #96713d; }
#sec-01 .ec-breakdown > div { padding:10px 0; border-bottom:1px solid #ffffff20; font-size:12px; }
#sec-01 .ec-breakdown > div:first-child { padding:0 0 9px; margin:0; }
#sec-01 .ec-breakdown > div:first-child > span:first-child { color:#ffda78; font-size:11px; letter-spacing:2px; }
#sec-01 #trace-route-line { display:none; }
#sec-01 .ec-breakdown .hidden { display:none; }
#sec-01 .ec-breakdown > div:last-child { border:0; border-top:1px solid #96713d; margin:0; padding-top:12px; font-size:13px; }
#sec-01 #trace-total-points { font-size:17px; color:#ffda78; }
#sec-01 .ec-breakdown .font-mono { font-family:inherit; }
#sec-01 .ec-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 12px; }
#sec-01 .ec-metrics > div { padding:12px 5px; border:1px solid #ffffff25; border-radius:10px; text-align:center; background:#ffffff02; }
#sec-01 .ec-metrics span { display:block; font-size:10px; color:#fff8eb; text-transform:none; letter-spacing:0; }
#sec-01 .ec-metrics strong { display:block; margin-top:7px; font:700 20px 'DM Sans',Arial,sans-serif; color:#ffda78; }
#sec-01 .ec-reverse { margin-top:auto; padding:10px 12px; border:1px solid #ffffff25; border-radius:10px; }
#sec-01 .ec-reverse button { font-size:11px; color:#fff8eb; }
#sec-01 .ec-reverse svg { color:#f7bd65; }
#sec-01 button,#sec-01 select { cursor:pointer; }
#sec-01 :is(button,input,select):focus-visible { outline:2px solid #c58f3d; outline-offset:3px; }
@media(min-width:640px) { #sec-01 { padding:28px 24px; } #sec-01 .ec-shell { padding:24px; } }
@media(min-width:768px) { #sec-01 .ec-shell { padding:28px; } }
@media(max-width:1000px) { #sec-01 .ec-columns { grid-template-columns:1fr; } #sec-01 .ec-field { grid-template-columns:40px 150px minmax(0,1fr); } #sec-01 .ec-heading > span { display:none; } #sec-01 .ec-reward-hero { padding-top:24px; } }
@media(max-width:600px) { #sec-01 h2 { font-size:18px; } #sec-01 .ec-heading { padding:10px; } #sec-01 .ec-heading p { font-size:10px; } #sec-01 .ec-purchase,#sec-01 .ec-reward { padding:12px; } #sec-01 .ec-field { grid-template-columns:34px minmax(0,1fr); padding:12px 0; } #sec-01 .ec-field-control { grid-column:1/-1; } #sec-01 .ec-field-icon { width:34px; height:38px; } #sec-01 .ec-field-control select,#sec-01 #calc-spend-input { height:44px; } #sec-01 .ec-milestone { flex-wrap:wrap; } #sec-01 .ec-result-label { font-size:10px; gap:4px; } #sec-01 #result-hero-currency,#sec-01 #result-currency-name { font-size:10px; } #sec-01 .ec-metrics { gap:5px; } #sec-01 .ec-metrics span { font-size:9px; } #sec-01 .ec-metrics strong { font-size:17px; } #sec-01 .ec-reverse { padding:8px; } }
@media(prefers-reduced-motion:reduce) { #sec-01 * { transition:none!important; } }
#sec-01 .ec-metrics span { display:flex; justify-content:center; align-items:center; gap:5px; } #sec-01 .ec-metrics svg { width:18px; height:18px; flex-shrink:0; color:#f7bd65; } @media(max-width:600px) { #sec-01 .ec-metrics span { flex-direction:column; } }

/* Keep result geometry independent of changing left-panel hints. */
#sec-01 .ec-reward { align-self:start; }
#sec-01 .ec-reward * { animation:none!important; transition:none!important; }
#sec-01 #result-hero-points,#sec-01 #result-loyalty-pts { white-space:nowrap; overflow-wrap:normal; }
#sec-01 .ec-currency-line { height:36px; }
#sec-01 #result-hero-currency { display:flex; align-items:center; justify-content:center; height:36px; }
#sec-01 #result-currency-name { line-height:18px; max-height:36px; overflow:hidden; }
#sec-01 .ec-metrics strong { min-height:48px; display:flex; align-items:center; justify-content:center; font-variant-numeric:tabular-nums; }
