/* Public browser shell; the companion's compact calculator stays intact. */
.app-downloads{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;background:var(--soft);border-radius:12px}
.app-downloads-copy{margin-right:auto}.app-downloads-copy>span{display:block;font-size:12px;color:var(--muted)}.app-downloads-copy>small{display:block;font-size:10px;color:var(--muted)}
.store-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.app-downloads a{display:flex;align-items:center;justify-content:center;min-height:60px;text-decoration:none;border:0;background:transparent;padding:0}.app-downloads img{display:block;object-fit:contain;max-width:100%;flex-shrink:0}.app-store-badge{width:120px;height:40px}.google-play-badge{width:135px;height:40px}/* Google PNG artwork includes transparent clear space around its 40px badge. */.google-play-badge.google-play-padded,.google-play-badge[data-badge-retried="true"]{width:155px;height:60px}.badge-fallback{font-size:13px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--card)}
.browser-note{max-width:850px;font-size:12px;letter-spacing:0;line-height:1.6;margin:0}.site-notice{border:1px solid var(--line);padding:12px 16px;border-radius:12px;background:var(--soft);font-size:13px;margin-bottom:14px}.site-notice p{margin:0}.site-notice button{margin-top:6px}
#offline-status{font-size:11px;letter-spacing:.2px;color:var(--muted)}.site-dialog h2{padding-right:12px;font-size:28px}.site-dialog p{font-size:15px}.site-dialog .secondary{margin-top:8px;width:100%}
/* Allow text zoom and extremely long labels to reflow instead of widening the page. */
main,.card,.default-group,.load-config,.cost-workspace{min-width:0}.app-downloads a,.field-reset{overflow-wrap:anywhere}.cost-readout:focus-visible,.metric-value:focus-visible{outline:3px solid var(--focus)}
@media(max-width:620px){.app-downloads{gap:6px}.app-downloads-copy{width:100%;margin:0}.store-badges{gap:4px}.app-downloads a{flex:none}#offline-status{display:none}.site-dialog h2{font-size:26px}}
.browser-storage-settings{margin-bottom:16px}.browser-storage-settings p{font-size:13px;color:var(--muted);margin:8px 0 0}.browser-storage-settings .information-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:10px}.information-links a,.legal-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}.footer-links{display:flex;gap:20px;flex-wrap:wrap;width:100%;letter-spacing:0}.legal-page{max-width:800px;margin:0 auto;overflow-wrap:anywhere}.legal-page h1{font:400 36px/1.15 Georgia,serif;letter-spacing:-.6px;margin:12px 0}.legal-page h2{font-size:23px;margin:30px 0 10px}.legal-page p{max-width:75ch}.legal-lead{font-size:17px;color:var(--ink);padding:16px;background:var(--soft);border-radius:12px}.legal-date{font-size:12px;color:var(--muted)}.legal-nav{display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:8px}.legal-nav:last-child{margin-top:30px;border-top:1px solid var(--line);border-bottom:0;padding-top:12px}.legal-standalone main{margin:0 auto;max-width:900px;padding:24px 20px 40px}.legal-standalone .brand{display:flex;margin-bottom:12px}.legal-standalone .brand-icon{display:block}.legal-standalone .brand-name{font-size:22px}.legal-standalone footer{max-width:800px;margin-inline:auto}
@media(prefers-color-scheme:dark){body.legal-standalone{--paper:#14241e;--card:#1e3027;--ink:#f0efe6;--muted:#b6c5b8;--forest:#b0d0b9;--line:#3a4e40;--soft:#304737;--focus:#dfc08c;color-scheme:dark}}
@media(max-width:620px){.legal-page h1{font-size:30px}.legal-page h2{font-size:22px}}
