/* Scoped styles for the App Store and its bundled tools. */
.apps-page *{box-sizing:border-box}.apps-page{margin:0;background:#0f212e;color:#b2c3ce;font-family:var(--sc-body,system-ui,sans-serif)}.apps-page button,.apps-page input,.apps-page select{font:inherit}.apps-page button,.apps-page a{-webkit-tap-highlight-color:transparent}.apps-page [hidden]{display:none!important}.app-store{width:min(1120px,calc(100% - 40px));margin:54px auto 0}.store-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:32px}.eyebrow{margin:0 0 12px;font-size:10px;letter-spacing:.15em;font-weight:700;color:#8ca8b9}.store-intro h1{margin:0;font-size:clamp(36px,5vw,56px);line-height:1.08;font-weight:700;letter-spacing:-.045em}.store-intro h1 span{color:#94adbd}.intro-copy{max-width:485px;margin:20px 0 0;font-size:15px;line-height:1.7}.store-note{padding-bottom:4px;font-size:13px;font-weight:700;white-space:nowrap;color:#e1eaf0}.store-note p{margin:8px 0 0;font-size:12px;color:#94a9b8;font-weight:400}.status-dot{display:inline-block;width:7px;height:7px;background:#00e701;border-radius:50%;margin-right:7px}.badge{display:inline-block;padding:3px 7px;margin-left:7px;border:1px solid #446052;border-radius:5px;font-size:9px;letter-spacing:.1em;color:#a0efbe;vertical-align:middle}.featured-app{display:grid;grid-template-columns:1.2fr 1fr;min-height:290px;border:1px solid #356157;border-radius:20px;overflow:hidden;background:linear-gradient(115deg,#163731,#132d31 58%,#172d3a)}.featured-copy{padding:36px}.featured-copy .eyebrow{color:#8bddb1}.featured-copy h2{margin:0 0 10px;font-size:32px;line-height:1.2}.featured-copy>p:not(.eyebrow){max-width:460px;font-size:14px;line-height:1.7;margin:0}.feature-tags{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.feature-tags span{border:1px solid #3e5e58;border-radius:6px;padding:3px 9px;color:#bbd5cc;font-size:10px}.app-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:10px 17px;min-height:44px;border:1px solid #385363;border-radius:9px;background:#233c4d;color:#eef5f8;cursor:pointer;text-decoration:none;font-size:13px;font-weight:700;line-height:1.4;transition:background .15s,border-color .15s}.app-button:hover{background:#2c4b5d;border-color:#69919a}.app-button.accent{background:#00e701;color:#071b13;border-color:#00e701}.app-button.accent:hover{background:#27f127}.featured-copy>small{display:block;font-size:10px;color:#93b5a7;margin-top:10px}.probability-art{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#265b495c,transparent 70%)}.art-orbit{width:160px;height:160px;border:1px solid #73c49e36;border-radius:50%;display:grid;place-items:center;transform:rotate(-13deg)}.art-orbit:before,.art-orbit:after{content:'';position:absolute;border:1px solid #73c49e20;border-radius:50%;inset:-22px}.art-orbit:after{inset:20px;border-style:dashed}.art-symbol{font:600 100px/1 var(--sc-display,system-ui);color:#acfac0;text-shadow:0 0 60px #00e70135}.art-label{margin-top:34px;text-align:center;font-size:9px;letter-spacing:.2em;color:#8eb5a5;line-height:1.6}.art-bars{position:absolute;inset:auto 0 0;display:flex;gap:12px;justify-content:center;align-items:flex-end;opacity:.22;pointer-events:none}.art-bars i{width:26px;height:30px;background:linear-gradient(#8ae5ac,transparent);border-radius:5px 5px 0 0}.art-bars i:nth-child(2n){height:55px}.art-bars i:nth-child(3n){height:85px}.art-bars i:nth-child(5){height:110px}.library{margin-top:38px}.library-top{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #2a414f;padding-bottom:20px}.view-switch{display:flex;gap:6px}.view-switch button{border:0;background:transparent;color:#a7bac8;padding:10px 15px;min-height:44px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}.view-switch button[aria-pressed=true]{background:#244052;color:#fff}.view-switch span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;border-radius:5px;background:#102b3b;font-size:10px}.search-label{width:260px}.search-label input{width:100%;padding:10px 14px;min-height:44px;background:#142633;border:1px solid #2a414f;color:white;border-radius:9px;font-size:13px}.search-label input::placeholder{color:#94a9b8}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 18px}.library-heading h2{font-size:17px;margin:0}.category-filter{display:flex;gap:6px;flex-wrap:wrap}.category-filter button{padding:7px 11px;min-height:36px;background:transparent;border:1px solid transparent;color:#a4bac7;border-radius:7px;cursor:pointer;font-size:11px}.category-filter button[aria-pressed=true]{border-color:#436174;color:#e3eff6;background:#203748}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tool-card{padding:24px;background:#142633;border:1px solid #2a414f;border-radius:14px;display:flex;flex-direction:column;min-width:0}.tool-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.tool-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;font-weight:600;font-size:24px;background:#214138;color:#a6f3bd}.tool-icon.bonus{background:#33324b;color:#c7bbf3}.tool-icon.reload{background:#233e52;color:#97dbfc}.tool-version{color:#94a9b8;font-size:10px}.tool-card h3{font-size:18px;margin:0 0 3px}.tool-category{font-size:10px;color:#93b0c1;letter-spacing:.06em;text-transform:uppercase}.tool-description{font-size:13px;line-height:1.7;margin:14px 0 22px;flex:1}.tool-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:#94a9b8;margin-bottom:16px}.tool-meta span:first-child{color:#a7e8bd}.tool-actions{display:flex;gap:8px}.tool-actions>.app-button{flex:1}.remove-app{padding:9px;background:transparent;border:1px solid #385363;border-radius:9px;color:#b2c3ce;cursor:pointer;font-size:11px;min-height:44px}.remove-app:hover{border-color:#d09393;color:#f5bebe}.library-caption{font-size:11px;line-height:1.7;color:#94a9b8;margin:18px 0 0}.store-bottom{display:flex;align-items:center;gap:18px;margin-top:34px;padding:23px 26px;border:1px dashed #365261;border-radius:13px}.bottom-mark{font-size:29px;color:#7896a9;flex:none}.store-bottom h2{font-size:15px;margin:0 0 4px}.store-bottom p{font-size:12px;margin:0;color:#94a9b8}.store-bottom a{color:#c2d9e5;font-size:12px;margin-left:auto;white-space:nowrap;text-decoration:none}.store-bottom a:hover{text-decoration:underline}.empty-state{text-align:center;padding:45px 20px;border:1px dashed #365261;border-radius:14px}.empty-state h3{margin:0 0 8px}.empty-state p{margin:0 0 20px;font-size:13px}.app-status{min-height:25px;color:#a7e8bd;font-size:13px;margin:18px 0}.storage-notice{padding:12px 16px;background:#3a3220;color:#f1d6a1;border:1px solid #675634;border-radius:9px;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#probability-dialog{width:min(740px,calc(100% - 28px));max-height:90vh;max-height:90dvh;margin:auto;padding:28px;background:#142633;color:#b2c3ce;border:1px solid #456272;border-radius:18px;box-shadow:0 24px 90px #0008;overflow-y:auto}#probability-dialog::backdrop{background:#06131dcc;backdrop-filter:blur(4px)}body:has(#probability-dialog[open]){overflow:hidden}.lab-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.lab-header h2{margin:0;font-size:27px}.lab-header .eyebrow{margin-bottom:5px}.close-dialog{width:44px;height:44px;font-size:28px!important;border:1px solid #3b5667;border-radius:9px;color:#e6f1f7;background:#203949;cursor:pointer}.lab-intro{font-size:13px;line-height:1.7;margin:17px 0 24px}.lab-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 22px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#c5d7e3}.field input,.field select{width:100%;min-height:44px;padding:10px 12px;background:#0f212e;border:1px solid #385363;border-radius:8px;color:#fff}.field small{font-size:10px;line-height:1.5;color:#94a9b8}.lab-error{background:#492c2d;border:1px solid #8d5053;color:#ffd4d2;padding:12px;border-radius:9px;font-size:13px}.lab-results{margin-top:24px;border-top:1px solid #2f4858;padding-top:18px}.result-summary{font-size:12px;color:#c1d5e1;margin:0 0 14px}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.result{background:#0f212e;border:1px solid #2a414f;border-radius:10px;padding:15px 12px;min-width:0}.result>span{display:block;font-size:10px;color:#a7becc;margin-bottom:7px}.result strong{display:block;font-size:20px;color:#e6f1f7;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.result.primary-result{border-color:#386749;background:#15352e}.result.primary-result strong{color:#a6f3bd}.result strong.negative{color:#ffb3ab}.result strong.positive{color:#a6f3bd}.lab-explanation,.lab-method,.lab-assumptions{font-size:12px;line-height:1.7}.lab-explanation{color:#bfd4df}.lab-method{border:1px solid #2a414f;border-radius:9px;padding:11px 14px;margin-top:18px}.lab-method summary{cursor:pointer;color:#d2e2ec}.lab-method p{color:#a4bdcb}.lab-assumptions{margin:22px 0 0;color:#94a9b8}.apps-page :is(button,a,input,select,summary):focus-visible{outline:2px solid #31dbe8;outline-offset:4px}
@media(max-width:800px){.app-grid{grid-template-columns:1fr 1fr}.store-note{display:none}.featured-app{grid-template-columns:1.5fr 1fr}.featured-copy{padding:28px}.art-orbit{width:120px;height:120px}.art-symbol{font-size:80px}.library-heading{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:540px){.app-store{width:calc(100% - 28px);margin-top:30px}.store-intro{margin-bottom:24px}.intro-copy{font-size:14px}.featured-app{grid-template-columns:1fr}.featured-copy{padding:25px}.featured-copy h2{font-size:28px}.probability-art{display:none}.library-top{align-items:stretch;flex-direction:column}.search-label{width:100%}.app-grid{grid-template-columns:1fr}.tool-card{padding:21px}.tool-top{margin-bottom:15px}.store-bottom{padding:18px;flex-wrap:wrap;gap:12px}.store-bottom>div{flex:1}.store-bottom a{margin-left:30px}.lab-fields{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr 1fr}#probability-dialog{padding:21px}.lab-header h2{font-size:24px}.result strong{font-size:18px}.view-switch button{flex:1}.view-switch{width:100%}}
@media(prefers-reduced-motion:reduce){.app-button{transition:none}}
