:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#18304b;background:#f3f7fc;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #88baff;outline-offset:2px}.top{background:white;box-shadow:0 2px 18px #1b477012;padding:14px max(22px,calc((100vw - 1250px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:16px;min-width:0}.brand img{width:170px;max-height:62px;object-fit:contain}.brand img.cras{width:72px}.brand-rule{height:43px;border-left:1px solid #d7e3ef}.brand strong{display:block;font-size:18px;color:#164675}.brand small{display:block;color:#63809c;margin-top:3px}.top nav{display:flex;align-items:center;gap:14px}.user{color:#60758a;font-size:12px}.link{background:transparent;border:0;color:#2466a3;font-weight:650}main{max-width:1250px;margin:25px auto;padding:0 20px 50px}.search{display:flex;align-items:end;gap:14px;margin-bottom:14px}.searchbox{flex:1}.searchbox label,.inner label{display:block;font-weight:700;margin-bottom:9px}.searchinput{display:flex;gap:8px}.searchinput input{flex:1;min-width:0}input,select{border:1px solid #d6e1ec;background:#fff;border-radius:10px;padding:12px;color:#173451}.primary{background:#1668b6;border:1px solid #1668b6;color:#fff;border-radius:10px;padding:12px 20px;font-weight:750}.primary:hover{background:#0d518e}.soft,.outline{border:1px solid #d1e3f4;background:#edf5ff;color:#175b98;border-radius:10px;padding:12px 18px;font-weight:700}.outline{background:white}.notice{background:#eaf3ff;color:#285a87;padding:10px 14px;border-radius:10px;font-size:13px;margin:0 0 18px}.card{background:#fff;border:1px solid #e3ebf4;box-shadow:0 6px 22px #2447680a;border-radius:17px;padding:22px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px}.sectionhead h2{margin:0;font-size:18px}.sectionhead small{color:#708398}.pill{font-size:11px;font-weight:750;border-radius:50px;padding:5px 10px;white-space:nowrap}.ok{background:#e1f5e9;color:#247749}.warn{background:#fff1d7;color:#95630c}.familygrid{display:grid;grid-template-columns:1.2fr .85fr 1.05fr;gap:20px;margin-top:22px}.profile{display:grid;grid-template-columns:55px 1fr;align-content:start;gap:0 12px}.avatar{background:#e4effc;color:#1a67a7;border-radius:50%;height:52px;width:52px;display:grid;place-items:center;font-weight:800}.profile h3{margin:4px 0 2px}.profile p{margin:0;color:#74879a;font-size:12px}.profile dl{grid-column:1/-1;display:grid;grid-template-columns:85px 1fr;gap:10px;margin:20px 0 0;font-size:13px}.profile dt{color:#8191a0}.profile dd{margin:0;font-weight:650}.status{display:grid;gap:10px}.metric{padding:15px;background:#f1f6fc;border-radius:11px}.metric.green{background:#e9f7f0}.metric.amber{background:#fff7e8}.metric strong,.metric small{display:block}.metric strong{font-size:13px}.metric small{font-size:12px;color:#6b8192;margin-top:6px}.benefits{border-left:1px solid #e5edf6;padding-left:20px}.benefits h3{margin:0 0 18px;font-size:15px}.benefits h3 small{font-weight:400;color:#7890a4}.benefit{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #edf1f7}.hint{background:#fff8e9;border-radius:10px;color:#94691e;padding:12px;margin-top:15px;font-size:12px}.bottom{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:18px}.tabs{display:flex;gap:8px;border-bottom:1px solid #e5edf4;padding-bottom:12px}.tab{border:0;background:transparent;padding:8px 12px;color:#687d92}.tab.active{color:#1764a8;border-bottom:2px solid #1764a8;font-weight:750}.history h3{font-size:15px;margin-top:22px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{padding:14px 9px;text-align:left;border-bottom:1px solid #edf1f5}th{color:#71869a;font-size:12px}.inner{margin-top:20px}.choices{display:flex;gap:10px;margin-bottom:16px}.choice{flex:1;min-width:0;border:1px solid #dce6f0;background:white;border-radius:11px;padding:12px;text-align:left;color:#2467a0}.choice.selected{border:2px solid #1870bd;background:#edf6ff}.choice b,.choice small{display:block;margin-top:5px}.choice small{font-size:11px;color:#788b9a}.stock{background:#f2f7fc;padding:14px;border-radius:11px;margin-bottom:16px}.stock strong{font-size:13px}.stock p{display:flex;justify-content:space-between;font-size:12px;margin:10px 0 0}.inner input,.inner select{width:100%}.helper{font-size:12px;color:#71869a}.wide{width:100%;margin-top:9px}.delivery .sectionhead{border-bottom:1px solid #edf1f5;padding-bottom:15px}dialog{border:0;border-radius:18px;box-shadow:0 24px 90px #102c4566;width:min(500px,calc(100% - 24px));padding:24px}dialog::backdrop{background:#092b4d77}.modalhead{display:flex;justify-content:space-between;align-items:center}.modalhead h2{margin:0;font-size:19px}.modalhead button{border:0;background:none;font-size:20px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.field{margin:14px 0}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.field input,.field select{width:100%}.warning{color:#915f11;background:#fff6e5;padding:12px;border-radius:10px}.muted{color:#6d8196;font-size:13px}.hidden{display:none!important}@media(max-width:900px){.familygrid{grid-template-columns:1fr 1fr}.benefits{grid-column:1/-1;border-left:0;border-top:1px solid #e5edf6;padding:16px 0 0}.bottom{grid-template-columns:1fr}.top{padding:12px 18px}.brand img{width:110px}.brand img.cras{width:55px}}@media(max-width:560px){.top{align-items:flex-start}.brand{gap:7px;flex-wrap:wrap}.brand img{width:105px;max-height:48px}.brand img.cras{width:45px}.brand-rule{height:35px}.brand strong{font-size:14px}.brand small{font-size:11px}.top nav{align-items:flex-end;flex-direction:column;gap:6px}.user{font-size:10px}.search{align-items:stretch;flex-direction:column}.searchinput{gap:6px}.searchinput .primary{padding:11px}.card{padding:16px}.sectionhead{align-items:flex-start;flex-direction:column}.familygrid{grid-template-columns:1fr}.benefits{grid-column:auto}.choices{gap:7px}.choice{padding:9px}main{padding:0 12px}.profile dl{margin-top:14px}}

/* V1.1 — marcas legíveis e prontuário consultável */
.top{padding-top:18px;padding-bottom:18px}.brand{gap:19px}.brand img{width:255px;max-height:95px}.brand img.cras{width:126px;max-height:105px}.brand-rule{height:68px}.brand strong{font-size:20px}.benefit-emoji{font-size:24px;vertical-align:middle;margin-right:5px}.choice-icon{display:block;font-size:34px;line-height:1.1}.history-tools{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap}.history-tools h3{margin-bottom:5px}.history-tools label{font-weight:700;font-size:12px;color:#55728d}.history-tools select{display:block;margin-top:5px;min-width:170px;padding:9px}.history-summary{margin:14px 0;background:#edf6ff;border:1px solid #d7e9fa;padding:11px 13px;border-radius:10px;color:#1d5d96;font-size:13px;font-weight:700}.history{min-width:0}.history .tablewrap{max-height:410px;overflow:auto}.history thead{position:sticky;top:0;background:white}.profile dd{overflow-wrap:anywhere}
@media(max-width:900px){.brand img{width:205px;max-height:80px}.brand img.cras{width:100px;max-height:85px}}
@media(max-width:560px){.top{display:block;padding:12px 14px}.brand{display:grid;grid-template-columns:minmax(0,1.5fr) 1px minmax(0,1fr);gap:10px;align-items:center}.brand img{width:100%;max-height:85px}.brand img.cras{width:100%;max-height:85px}.brand-rule{height:55px}.brand>div{grid-column:1/-1}.brand strong{font-size:19px}.brand small{font-size:12px}.top nav{flex-direction:row;align-items:center;justify-content:space-between;margin-top:10px}.history-tools{align-items:stretch}.history-tools label,.history-tools select{width:100%}.history .tablewrap{max-height:360px}}

/* V1.2 — ícones Flaticon em preto e branco */
.benefit-icon{width:30px;height:30px;object-fit:contain;vertical-align:middle;filter:grayscale(1) brightness(0);opacity:.86;display:inline-block}
.choice-icon .benefit-icon{width:45px;height:45px;margin:0 auto 7px}
.benefit-emoji .benefit-icon{width:27px;height:27px}
.icon-credit{text-align:center;font-size:11px;color:#64748b;padding:16px 10px 26px}.icon-credit a{color:#386b9b}
