.quality-widget h3{color:#13243c;margin:0 0 14px;font-size:18px}.quality-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin:12px 0 20px;display:flex}.quality-toolbar h3{flex:1;margin:0}.quality-toolbar select{width:auto;max-width:100%}.quality-setting{background:#f7f9fc;border:1px solid #e1e7ef;border-radius:8px;margin:20px 0;padding:22px}.quality-setting>strong{font-size:14px}.quality-setting .check{flex-wrap:wrap;align-items:center;gap:9px;font-size:14px;display:flex}.quality-setting small{color:#69788d;font-weight:400}.weekday-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:15px 0 22px;display:grid}.weekday-options button{color:#536176;background:#fff;border:1px solid #cbd4e0;border-radius:7px;min-height:46px;font-weight:700}.weekday-options button.selected{color:#2761df;background:#e9f1ff;border-color:#2761df}.date-chips{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.date-chips button{color:#344963;background:#edf2fa;border:1px solid #dae2ee;border-radius:6px;min-height:40px;padding:8px 12px}.business-calendar{border:1px solid #e1e7ef;border-radius:8px;margin-top:24px;padding:22px}.business-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.business-calendar-grid>div{text-align:center;border-radius:5px;min-height:64px;padding:9px 4px}.business-calendar-grid b{font-size:15px;display:block}.business-calendar-grid small{overflow-wrap:anywhere;margin-top:5px;font-size:10px;line-height:1.4;display:block}.day-label{text-align:center;color:#6b7789;padding:8px 0;font-size:12px}.day-work{color:#2552a8;background:#eaf2ff}.day-off{color:#677185;background:#f0f2f5}.business-calendar .hint{margin:0 0 12px}.investment-intro{border-bottom:1px solid #e3e9f1;align-items:center;gap:18px;margin-bottom:20px;padding:20px 0 28px;display:flex}.investment-intro>span{color:#187a69;white-space:nowrap;background:#e7f4f0;border-radius:10px;padding:17px 10px;font-size:14px;font-weight:800}.investment-intro strong{font-size:17px;line-height:1.6;display:block}.investment-intro p{color:#627087;margin:7px 0 0;font-size:13px;line-height:1.7}.quality-presets{flex-wrap:wrap;gap:8px;margin:-8px 0 26px;display:flex}.quality-presets>span{color:#65748a;flex-basis:100%;margin-bottom:3px;font-size:12px}.quality-presets button{color:#43566f;background:#fff;border:1px solid #d3ddec;border-radius:6px;min-height:38px;padding:8px 13px;font-size:13px}.quality-presets button[aria-pressed=true]{color:#2456b1;background:#edf3ff;border-color:#7298dd}.gain-value{color:#158372}.loss-value{color:#b34949}.scenario-section{margin:32px 0 24px}.scenario-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0;display:grid}.scenario-cards>div{background:#f8fafc;border:1px solid #e1e7ef;border-top:3px solid;border-radius:6px;min-width:0;padding:18px 13px}.scenario-cards>div.current{background:#eef4ff}.scenario-cards span{color:#536176;font-size:12px;display:block}.scenario-cards strong{letter-spacing:-.03em;overflow-wrap:anywhere;margin:13px 0;font-size:21px;display:block}.scenario-cards small{color:#65748a;font-size:12px;line-height:1.5;display:block}.growth-chart{border:1px solid #dce5ee;border-radius:8px;padding:22px 16px}.growth-chart svg{width:100%;height:auto;overflow:visible}.growth-chart svg text{fill:#617189;font-size:11px}.chart-legend{color:#536176;flex-wrap:wrap;justify-content:center;gap:16px;font-size:12px;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{border-radius:3px;width:10px;height:10px;display:block}.year-slider{color:#43566f;margin-top:24px;font-size:13px;line-height:1.8;display:block}.year-slider input{accent-color:#2761df;width:100%;display:block}.pdf-pages{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.pdf-page{color:#536176;cursor:pointer;background:#f7f9fc;border:1px solid #d4ddea;border-radius:8px;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 8px;display:flex;position:relative}.pdf-page[aria-pressed=true]{color:#2456b1;background:#edf4ff;border:2px solid #2761df;padding:11px 7px}.pdf-page canvas{object-fit:contain;background:#fff;max-width:100%;height:120px;display:block;box-shadow:0 2px 7px #15243b15}.pdf-page small{font-size:12px}.pdf-page .page-mark{color:#536176;background:#fff;border:1px solid #c3cede;border-radius:50%;width:22px;height:22px;font-size:12px;line-height:21px;position:absolute;top:6px;right:6px}.pdf-page[aria-pressed=true] .page-mark{color:#fff;background:#2761df;border-color:#2761df}.pdf-pagination{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.pdf-pagination span{font-size:13px}.pdf-pagination button{min-height:44px}.file-options{grid-template-columns:1fr 1fr;gap:0 18px;display:grid}.file-summary{background:#f5f8fc;border-radius:7px;justify-content:space-between;align-items:center;gap:14px;margin:18px 0;padding:16px;display:flex}.file-summary>div{min-width:0}.file-summary strong{overflow-wrap:anywhere;font-size:14px;display:block}.file-summary span{color:#65748a;margin-top:6px;font-size:12px;display:block}.file-summary button{flex-shrink:0}.quality-note{color:#627087;background:#f7f9fc;border-radius:6px;padding:14px;font-size:13px;line-height:1.8}.quality-widget .button{justify-content:center;align-items:center;gap:8px;display:inline-flex}@media (max-width:640px){.quality-setting,.business-calendar{padding:16px 10px}.weekday-options{gap:5px}.scenario-cards{grid-template-columns:1fr}.scenario-cards>div{grid-template-columns:1fr auto;align-items:center;gap:8px 12px;padding:15px;display:grid}.scenario-cards strong{margin:0;font-size:21px}.scenario-cards small{grid-column:1/-1}.investment-intro{gap:12px}.investment-intro strong{font-size:16px}.pdf-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.file-options{grid-template-columns:1fr}.business-calendar-grid{gap:3px}.business-calendar-grid>div{min-height:59px;padding:8px 2px}.business-calendar-grid small{font-size:9px}.quality-toolbar{gap:10px}.quality-toolbar .check{font-size:13px}.growth-chart{padding:18px 10px}}.percent-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.percent-choices button{color:#536176;background:#fff;border:1px solid #d1dbea;border-radius:7px;min-height:52px;padding:14px 10px;font-size:14px;font-weight:700}.percent-choices button.active{color:#2456b1;background:#edf4ff;border-color:#2761df}.quality-note .text-button{min-height:36px;padding:4px 0;display:block}.code-editor{tab-size:2;font-family:ui-monospace,Consolas,monospace;font-size:14px!important}@media (max-width:480px){.tool-page .quality-widget .clear-result>strong{font-size:clamp(22px,7vw,30px)}}.draw-settings{border:0;min-width:0;margin:0;padding:0}.draw-count-row{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.draw-count-row>.simple-field{flex:1;min-width:130px}.draw-count-row .check-label{font-size:12px}.draw-stage{background:#f7f9fc;border:1px solid #dce5ef;border-radius:16px;margin:18px 0;overflow:hidden}.draw-stage-top{color:#6b7890;border-bottom:1px solid #e3e9f1;justify-content:space-between;align-items:center;gap:10px;padding:18px 20px;font-size:11px;display:flex}.draw-stage-top>span{align-items:center;gap:7px;display:flex}.draw-stage-top strong{letter-spacing:.08em;color:#2761df;font-size:10px}.draw-scene{grid-template-columns:1fr 1fr;align-items:center;gap:12px;min-height:290px;padding:16px;display:grid}.draw-machine{text-align:center;width:100%;max-width:260px;margin:auto;position:relative}.draw-globe{aspect-ratio:1;background:#ffffffc9;border:3px solid #c7d6e5;border-radius:50%;width:100%;position:relative;overflow:hidden;box-shadow:inset 0 -10px 22px #d1dfec55}.draw-globe-shine{border-top:5px solid #fff;border-radius:50%;position:absolute;inset:9% 12% 68%;transform:rotate(-25deg)}.draw-mini-ball{left:var(--x);top:var(--y);aspect-ratio:1;background:var(--ball);color:#fff;width:18%;transform:rotate(calc((var(--i) * 13deg) - 60deg));border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid;position:absolute;box-shadow:inset -3px -4px #00000014,0 2px 4px #13243c20}.draw-mini-ball:before{content:"";background:#fff6;border-radius:50%;width:21%;height:10%;position:absolute;top:14%;left:18%;transform:rotate(-30deg)}.draw-machine-base{background:#243b5a;border-radius:12px 12px 7px 7px;width:74%;height:35px;margin:-12px auto 0;position:relative;box-shadow:0 5px #dbe4ef}.draw-machine-base span{background:#6b829f;border-radius:4px;width:34%;height:5px;position:absolute;top:10px;left:14%}.draw-machine-base i{background:#e7ae44;border:3px solid #f4d596;border-radius:50%;width:18px;height:18px;position:absolute;top:7px;right:17%}.draw-machine>small{color:#7b8b9e;margin-top:14px;font-size:10px;display:block}.draw-empty-globe{color:#8a99ab;font-size:12px;position:absolute;inset:45% 0 auto}.draw-winner-zone{text-align:center;min-width:0;padding:14px 4px;position:relative;overflow:hidden}.draw-wait{color:#8392a7;flex-direction:column;align-items:center;gap:15px;display:flex}.draw-wait strong{color:#344b68;font-size:16px;line-height:1.6}.draw-wait span{font-size:11px;line-height:1.6}.draw-kicker{color:#71829b;letter-spacing:.1em;font-size:11px}.draw-hero-balls{flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0;display:flex}.draw-hero{background:var(--ball);color:#fff;width:74px;height:74px;animation:.5s both draw-pop;animation-delay:calc(var(--i)*.12s);border-radius:50%;place-items:center;display:grid;position:relative;box-shadow:inset -5px -8px #00000012,0 9px 18px #13243c15}.draw-hero:before{content:"";background:#fff6;border-radius:50%;width:20px;height:7px;position:absolute;top:12px;left:13px;transform:rotate(-30deg)}.draw-hero span{overflow-wrap:anywhere;padding:8px;font-size:20px;font-weight:800;line-height:1.2}.draw-hero:only-child{width:110px;height:110px}.draw-hero:only-child span{font-size:28px}.draw-winner-names{color:#243b5a;overflow-wrap:anywhere;z-index:1;font-size:17px;line-height:1.6;display:block;position:relative}.draw-reveal>small{color:#7a899d;font-size:11px}.draw-meter{background:#e4eaf2;border-radius:4px;height:5px;margin:0 20px;overflow:hidden}.draw-meter>span{background:#459c83;height:100%;transition:width .4s;display:block}.draw-stats{color:#75849b;justify-content:space-between;gap:8px;padding:15px 20px;font-size:11px;display:flex}.draw-stats b{color:#263d5b;margin-left:5px;font-size:14px}.draw-tool>.button{justify-content:center;align-items:center;gap:8px;min-height:52px;display:flex}.draw-tool .text-button{align-items:center;gap:6px;display:inline-flex}.draw-announcement{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.draw-results{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:18px}.draw-result-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.draw-result-heading h3{margin:0;font-size:15px}.draw-result-heading small{color:#70819b;font-size:11px;font-weight:400}.draw-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:340px;padding:0;list-style:none;display:grid;overflow:auto}.draw-result-grid li{background:#fff;border:1px solid #e1e7ef;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:10px;display:flex}.draw-result-grid li>span{background:var(--ball);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:24px;height:24px;font-size:10px;display:grid}.draw-result-grid strong{overflow-wrap:anywhere;font-size:13px}.draw-pool-list{flex-wrap:wrap;gap:7px;max-height:240px;padding:14px 0;display:flex;overflow:auto}.draw-pool-list span{overflow-wrap:anywhere;background:#fff;border:1px solid;border-radius:7px;max-width:100%;padding:6px 10px;font-size:12px}.is-mixing .draw-mini-ball{animation:.65s ease-in-out infinite alternate draw-mix;animation-delay:calc(var(--i)*-.09s)}.is-mixing .draw-wait svg{animation:1.3s infinite draw-spin}.draw-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.draw-confetti i{top:-10px;left:calc(var(--i)*6%);background:var(--ball);width:5px;height:10px;animation:1.5s both draw-confetti;animation-delay:calc(var(--i)*35ms);position:absolute}@keyframes draw-mix{to{transform:translate(var(--dx),var(--dy)) rotate(160deg)}}@keyframes draw-spin{50%{transform:rotate(20deg)scale(1.1)}}@keyframes draw-pop{0%{opacity:0;transform:translateY(22px)scale(.65)}to{opacity:1;transform:none}}@keyframes draw-confetti{to{opacity:0;transform:translateY(230px)rotate(300deg)}}@media (max-width:600px){.draw-scene{grid-template-columns:1fr;gap:22px;padding:16px 12px 22px}.draw-machine{max-width:210px}.draw-winner-zone{width:100%;min-height:95px}.draw-stage-top{padding:14px}.draw-stage-top>span{font-size:10px}.draw-stats{padding:14px 12px}.draw-meter{margin:0 12px}.draw-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.draw-count-row{gap:10px}.draw-hero:only-child{width:90px;height:90px}.draw-result-heading{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.draw-tool *{transition:none!important;animation:none!important}.draw-confetti{display:none}}.draw-presentation{outline:none;min-width:0}.draw-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-top:20px;display:flex}.draw-presentation-title{color:#2761df;align-items:center;gap:10px;display:flex}.draw-presentation-title strong{color:#13243c;font-size:14px;display:block}.draw-presentation-title span{color:#6b7890;margin-top:4px;font-size:10px;display:block}.draw-view-actions{flex-shrink:0;gap:7px;display:flex}.draw-view-button{color:#344b68;background:#fff;border:1px solid #dce4ef;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 12px;font-size:12px;font-weight:600;display:inline-flex}.draw-view-button:hover{background:#f3f6fc}.draw-view-button.is-on{color:#2761df;background:#edf3ff;border-color:#b9cef7}.draw-sound-controls{color:#6b7890;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:18px;padding:12px 0 0;font-size:11px;display:flex}.draw-sound-controls label{align-items:center;gap:10px;display:flex}.draw-sound-controls input[type=range]{accent-color:#2761df;width:110px;height:24px;box-shadow:none;border:0;margin:0;padding:0}.draw-sound-controls output{font-variant-numeric:tabular-nums;min-width:32px}.draw-sound-controls button{color:#2761df;background:0 0;border:0;align-items:center;gap:5px;min-height:36px;font-size:11px;display:inline-flex}.draw-sound-controls button:disabled{opacity:.4}.draw-audio-notice{color:#87612b;margin:10px 0;font-size:11px;line-height:1.6}.draw-controls>.button{justify-content:center;align-items:center;gap:9px;min-height:54px;display:flex}.draw-screen-help{text-align:center;color:#7a899d;font-size:10px;line-height:1.7;display:block}:is(.draw-presentation button:focus-visible,.draw-presentation input:focus-visible){outline-offset:3px;outline:3px solid #739df3}.draw-presentation.is-fullscreen{z-index:10000;box-sizing:border-box;overscroll-behavior:contain;color:#13243c;background:#edf2f8;flex-direction:column;gap:0;width:100%;max-width:none;height:100dvh;max-height:none;padding:20px clamp(16px,4vw,64px);display:flex;position:fixed;inset:0;overflow:auto}.draw-presentation::backdrop{background:#edf2f8}.is-fullscreen .draw-toolbar{flex-shrink:0;order:0;margin:0;padding-bottom:12px}.is-fullscreen .draw-presentation-title strong{font-size:23px}.is-fullscreen .draw-presentation-title span{font-size:12px}.is-fullscreen .draw-presentation-title>svg{width:28px;height:28px}.is-fullscreen .draw-view-button{min-height:46px;padding:11px 16px;font-size:13px}.is-fullscreen .draw-sound-controls{order:0;padding:0 0 10px}.is-fullscreen .draw-audio-notice{order:0}.is-fullscreen .draw-stage{background:#fff;border-color:#dce5ef;border-radius:18px;flex-direction:column;flex:1;order:1;min-height:350px;margin:8px 0 12px;display:flex;box-shadow:0 8px 32px #13243c05}.is-fullscreen .draw-stage-top{padding:16px 24px;font-size:13px}.is-fullscreen .draw-stage-top strong{font-size:13px}.is-fullscreen .draw-scene{flex:1;grid-template-columns:minmax(180px,1fr) minmax(0,1.6fr);gap:32px;min-height:240px;padding:18px 32px}.is-fullscreen .draw-machine{max-width:min(34vh,340px)}.is-fullscreen .draw-mini-ball{font-size:clamp(13px,1.3vw,22px)}.is-fullscreen .draw-machine>small{font-size:12px}.is-fullscreen .draw-wait strong{font-size:clamp(22px,2.5vw,38px)}.is-fullscreen .draw-wait span{font-size:14px}.is-fullscreen .draw-wait>svg{width:44px;height:44px}.is-fullscreen .draw-kicker{font-size:15px}.is-fullscreen .draw-hero-balls{gap:18px;margin:20px 0}.is-fullscreen .draw-hero{width:clamp(90px,13vw,180px);height:clamp(90px,13vw,180px)}.is-fullscreen .draw-hero span{font-size:clamp(24px,3.2vw,48px)}.is-fullscreen .draw-hero:only-child{width:clamp(140px,23vh,260px);height:clamp(140px,23vh,260px)}.is-fullscreen .draw-hero:only-child span{font-size:clamp(36px,6vh,72px)}.is-fullscreen .draw-hero:before{width:25%;height:9%;top:14%;left:18%}.is-fullscreen .draw-winner-names{font-size:clamp(24px,3vw,44px);line-height:1.4}.is-fullscreen .draw-reveal>small{font-size:13px}.is-fullscreen .draw-confetti i{width:9px;height:16px;animation-name:draw-confetti-large}.is-fullscreen .draw-stats{padding:16px 24px;font-size:13px}.is-fullscreen .draw-stats b{font-size:21px}.is-fullscreen .draw-meter{height:6px;margin:0 24px}.is-fullscreen .draw-controls{z-index:2;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:#edf2f8;border-top:1px solid #dce5ef;flex-shrink:0;order:3;position:sticky;bottom:-20px}.is-fullscreen .draw-controls>.button{max-width:680px;min-height:58px;margin:auto;font-size:18px}.is-fullscreen .draw-controls .quick-actions{justify-content:center;gap:20px;margin:8px 0}.is-fullscreen .draw-controls .text-button{min-height:36px}.is-fullscreen .draw-results{border:0;order:2;margin:0 0 12px;padding:8px 0 0}.is-fullscreen .draw-result-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));max-height:260px;margin-bottom:0}.is-fullscreen .draw-result-grid strong{font-size:20px}.is-fullscreen .draw-result-grid li{padding:14px}.is-fullscreen .draw-result-grid li>span{width:30px;height:30px;font-size:12px}.is-fullscreen .draw-results:has(li:last-child:nth-child(-n+3)){display:none}@keyframes draw-confetti-large{to{opacity:0;transform:translateY(430px)rotate(300deg)}}@media (max-width:600px){.draw-toolbar{flex-wrap:wrap;gap:12px}.draw-view-actions{width:100%}.draw-view-button{flex:1;padding:10px 7px;font-size:11px}.draw-sound-controls{justify-content:space-between;gap:4px}.draw-sound-controls label{gap:6px}.draw-sound-controls input[type=range]{width:90px}.draw-presentation.is-fullscreen{padding:14px 12px}.is-fullscreen .draw-toolbar{gap:10px}.is-fullscreen .draw-presentation-title strong{font-size:17px}.is-fullscreen .draw-presentation-title span{font-size:10px}.is-fullscreen .draw-view-button{min-height:44px;padding:8px;font-size:11px}.is-fullscreen .draw-scene{grid-template-columns:1fr;gap:12px;min-height:310px;padding:14px 12px}.is-fullscreen .draw-machine{max-width:130px}.is-fullscreen .draw-machine>small{display:none}.is-fullscreen .draw-machine-base{height:25px}.is-fullscreen .draw-machine-base i{width:13px;height:13px;top:5px}.is-fullscreen .draw-mini-ball{font-size:9px}.is-fullscreen .draw-stage{flex:none;min-height:420px}.is-fullscreen .draw-stage-top{padding:12px;font-size:10px}.is-fullscreen .draw-stage-top strong{font-size:10px}.is-fullscreen .draw-hero-balls{gap:7px;margin:12px 0}.is-fullscreen .draw-hero{width:68px;height:68px}.is-fullscreen .draw-hero span{font-size:21px}.is-fullscreen .draw-hero:only-child{width:112px;height:112px}.is-fullscreen .draw-hero:only-child span{font-size:34px}.is-fullscreen .draw-winner-names{font-size:23px}.is-fullscreen .draw-kicker{font-size:11px}.is-fullscreen .draw-stats{padding:12px;font-size:11px}.is-fullscreen .draw-stats b{font-size:16px}.is-fullscreen .draw-meter{margin:0 12px}.is-fullscreen .draw-controls{bottom:-14px}.is-fullscreen .draw-controls>.button{min-height:52px;font-size:15px}.is-fullscreen .draw-controls .text-button{font-size:11px}.is-fullscreen .draw-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}.is-fullscreen .draw-result-grid li{gap:6px;padding:10px}.is-fullscreen .draw-result-grid strong{font-size:16px}.is-fullscreen .draw-screen-help{font-size:9px}}@media (prefers-reduced-motion:reduce){.draw-presentation *{transition:none!important;animation:none!important}.draw-confetti{display:none}}.draw-presentation.is-fullscreen .draw-toolbar{z-index:4;background:#edf2f8;padding-top:10px;position:sticky;top:-20px}@media (max-width:600px){.draw-presentation.is-fullscreen .draw-toolbar{padding-top:14px;top:-14px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ladder-step{align-items:center;gap:9px;margin-bottom:10px;display:flex}.ladder-step>span{color:#4163ee;background:#edf1ff;border-radius:50%;flex-shrink:0;place-items:center;width:23px;height:23px;font-size:12px;font-weight:700;display:grid}.ladder-step h2{letter-spacing:-.035em;font-size:17px}.ladder-step small{color:var(--muted);margin-left:auto;font-size:11px}.ladder-count-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:16px 0 30px;display:flex}.ladder-stepper{background:#fff;border:1px solid #dce2ed;border-radius:13px;align-items:center;padding:4px;display:flex}.ladder-stepper>button{color:#52617e;background:#f4f6fb;border:0;border-radius:9px;width:40px;height:40px;font-size:20px}.ladder-stepper>label{margin:0}.ladder-stepper select{width:92px;box-shadow:none;text-align:center;background:0 0;border:0;padding:8px 14px;font-size:18px;font-weight:750}.ladder-quick-count{gap:6px;display:flex}.ladder-quick-count button{color:#738097;background:#fff;border:1px solid #e5e9f1;border-radius:9px;min-height:40px;padding:8px 12px;font-size:12px}.ladder-quick-count button.active{color:#4163ee;background:#f0f3ff;border-color:#adbcf5}.ladder-instruction{margin-bottom:16px;font-size:12px;line-height:1.7}.ladder-board-shell{background:linear-gradient(#fbfcff,#fff);border:1px solid #e4e9f3;border-radius:16px;overflow:hidden}.ladder-board-caption{color:#64718b;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px 5px;font-size:11px;font-weight:700;display:flex}.ladder-board-caption>span+span{color:#8a94a5;text-align:right;font-size:10px;font-weight:400}.ladder-board-caption.bottom{padding-top:5px;padding-bottom:13px}.ladder-widget .ladder-scroll{overscroll-behavior-x:contain;margin:0;padding:10px}.ladder-scroll:focus-visible{outline-offset:-3px;outline:2px solid #9baeff}.ladder-playfield{width:100%}.ladder-lines{position:relative}.ladder-preview-note{white-space:nowrap;color:#79859c;background:#f1f4fb;border-radius:30px;padding:11px 14px;font-size:11px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ladder-cells{align-items:stretch;gap:0;display:grid}.ladder-input{flex-direction:column;align-items:center;gap:5px;min-width:0;margin:0;padding:0 4px;display:flex}.ladder-input>span{color:#8793a6;font-size:10px;font-weight:500}.ladder-input input{text-align:center;border-radius:9px;min-width:0;height:44px;padding:11px 3px;font-size:13px}.ladder-input input::placeholder{color:#929db0;font-size:11px}.ladder-prize-cells .ladder-input input{background:#fffaf1;border-color:#eee1c9}.ladder-person{overflow-wrap:anywhere;color:#42516f;background:#fff;border:1px solid #d9e1f1;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:84px;margin:0 4px;padding:8px 3px;line-height:1.4;display:flex}.ladder-person>span{color:#91a0b8;font-size:9px}.ladder-person strong{font-size:12px}.ladder-person small{color:#7d8daa;font-size:9px}.ladder-person:hover{background:#f2f5ff;border-color:#aebff0}.ladder-person.selected{color:#3159c9;background:#eef2ff;border-color:#7996ee}.ladder-widget svg{width:100%;display:block;overflow:visible}.ladder-prize{text-align:center;overflow-wrap:anywhere;background:#fffaf1;border:1px solid #eee2ce;border-radius:10px;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:66px;margin:0 4px;padding:9px 4px;line-height:1.5;display:flex}.ladder-prize small{color:#a3947c;font-size:9px}.ladder-prize strong{color:#806338;font-size:12px}.ladder-prize.selected{background:#fff0ce;border-color:#dfac4b;box-shadow:0 0 0 2px #dfac4b16}.ladder-main-action{margin-top:18px}.ladder-actions{gap:10px;margin-top:18px;display:flex}.ladder-actions .secondary{white-space:nowrap}.ladder-again{margin:13px auto 0;font-size:12px;display:block}.ladder-widget>.hint{margin-top:16px;line-height:1.7}@media (max-width:640px){.ladder-step h2{font-size:15px}.ladder-count-row{gap:10px;margin-bottom:24px}.ladder-stepper>button{width:36px;height:40px}.ladder-stepper select{width:79px}.ladder-quick-count{gap:4px}.ladder-quick-count button{padding:8px 10px}.ladder-board-caption{padding-left:10px;padding-right:10px}.ladder-board-caption>span+span{max-width:190px}.ladder-widget .ladder-scroll{padding-left:4px;padding-right:4px}.ladder-instruction{font-size:11px}.ladder-actions{flex-direction:column}.ladder-person strong,.ladder-prize strong{font-size:12px}}.practical-widget{color:#13243c;min-width:0}.practical-kicker{color:#2761df;padding:0 0 20px;font-size:12px;font-weight:700;line-height:1.7}.practical-widget h3{margin:0 0 18px;font-size:17px;font-weight:700;line-height:1.6}.practical-actions{flex-wrap:wrap;align-items:center;gap:12px 24px;margin:14px 0;display:flex}.practical-actions>a{color:#2761df;font-size:12px;line-height:1.8;text-decoration:underline}.practical-row-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.practical-row-head h3,.practical-row-head .small-help{margin:0}.practical-row-head>strong{font-size:16px}.practical-pills{flex-wrap:wrap;gap:8px;display:flex}.practical-pills button{color:#536176;background:#fff;border:1px solid #d2dce9;border-radius:4px;min-height:40px;padding:8px 14px;font-size:12px}.practical-pills button[aria-pressed=true]{color:#2761df;background:#f1f6ff;border-color:#2761df}.practical-widget button:disabled{cursor:not-allowed;opacity:.5}.practical-widget input[readonly]{color:#536176;background:#f7f9fc}.practical-widget .check-label{align-items:center;margin:10px 0;line-height:1.65}.practical-widget .check-label input{flex-shrink:0}.practical-widget progress{-webkit-appearance:none;appearance:none;accent-color:#2761df;background:#e3eaf3;border:0;border-radius:3px;width:100%;height:8px;overflow:hidden}.practical-widget progress::-webkit-progress-bar{background:#e3eaf3}.practical-widget progress::-webkit-progress-value{background:#2761df}.practical-widget progress::-moz-progress-bar{background:#2761df}.byte-meter{background:#f3f7fd;border:1px solid #dce6f4;border-top:3px solid #2761df;border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;padding:24px;display:flex}.byte-meter>div>span{color:#536176;margin-bottom:6px;font-size:12px;display:block}.byte-meter strong{font-variant-numeric:tabular-nums;font-size:34px;font-weight:800;display:block}.byte-meter strong small{color:#536176;font-size:14px;font-weight:400}.byte-meter>b{color:#2761df;font-size:14px}.byte-meter>p{color:#536176;width:100%;margin:0;font-size:11px;line-height:1.7}.byte-meter.over{border-top-color:#b73a30}.byte-meter.over>b{color:#b73a30}.byte-meter.over progress::-webkit-progress-value{background:#b73a30}.tool-page .practical-widget .byte-editor{min-height:280px;margin:0;line-height:1.9}.byte-overflow{background:#fffbfa;border:1px solid #efd8d3;border-radius:5px;margin:20px 0;padding:20px}.byte-overflow>strong{font-size:14px}.byte-overflow>p{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:220px;margin:12px 0;font-size:14px;line-height:1.9;overflow:auto}.byte-overflow mark{color:#8e2f27;background:#ffe2dc}.byte-overflow small{color:#6b7789;font-size:11px;line-height:1.7;display:block}.memorial-hero{background:#f3f7fd;border-top:3px solid #2761df;border-radius:5px;margin-top:28px;padding:28px 24px}.memorial-hero>span{color:#536176;font-size:13px}.memorial-hero>strong{letter-spacing:-.035em;margin:9px 0;font-size:28px;font-weight:800;line-height:1.5;display:block}.memorial-hero>p{color:#536176;font-size:12px}.memorial-list{margin:12px 0 22px;padding:0;list-style:none}.memorial-list li{border-bottom:1px solid #e5eaf1;justify-content:space-between;align-items:center;gap:18px;padding:16px 8px;display:flex}.memorial-list li>span{min-width:80px;font-size:14px;font-weight:700}.memorial-list small{color:#6b7789;margin-top:5px;font-size:11px;font-weight:400;display:block}.memorial-list strong{text-align:right;font-size:15px;line-height:1.7}.memorial-list .last{color:#2761df}.anniversary-details{border-top:1px solid #e5eaf1;margin-top:26px;padding-top:22px}.anniversary-details summary,.hours-detail summary,.upscale-options summary{cursor:pointer;min-height:44px;padding:8px 0;font-size:14px;font-weight:700;line-height:1.8}.year-control{align-items:center;gap:8px;max-width:280px;display:flex}.year-control button{color:#2761df;background:#fff;border:1px solid #cbd4e0;border-radius:5px;flex-shrink:0;width:48px;height:52px;font-size:20px}.year-control input{text-align:center;min-width:0}.anniversary-result{background:#f3f7fd;border-left:3px solid #2761df;margin-top:18px;padding:20px}.anniversary-result>span{color:#536176;font-size:12px}.anniversary-result>strong{margin:9px 0;font-size:21px;line-height:1.6;display:block}.work-rows{gap:18px;display:grid}.work-row{background:#f8fafd;border:1px solid #dce3ec;border-radius:6px;padding:22px}.work-row .practical-row-head{flex-wrap:wrap;gap:8px}.work-row .practical-row-head .actions{gap:14px}.work-row .practical-row-head .text-button{font-size:12px}.work-clock{margin-top:20px}.work-break{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.work-break>.simple-field{flex:1;min-width:120px;max-width:180px}.work-break .check-label{font-size:13px}.hours-detail{border-top:1px solid #dce6f4;margin-top:18px;padding-top:12px}.hours-groups{grid-template-columns:1fr 1fr;gap:24px;margin:16px 0;display:grid}.hours-groups h3{margin:0 0 10px;font-size:13px}.hours-groups p{color:#536176;border-top:1px solid #dce6f4;flex-direction:column;gap:6px;margin:0;padding:12px 0;font-size:12px;line-height:1.5;display:flex}.hours-groups strong{color:#13243c;font-size:15px}.purchase-row{background:#f7f9fc;border:1px solid #e1e7ef;border-radius:5px;margin:0 0 16px;padding:22px}.purchase-row .simple-field,.purchase-row .small-help{margin-bottom:0}.currency-picker{color:#536176;align-items:center;gap:10px;font-size:12px;display:flex}.tool-page .currency-picker select{width:100px;min-height:44px;padding:9px 12px;font-size:13px}.average-change{border-top:1px solid #dce6f4;border-bottom:1px solid #dce6f4;justify-content:space-between;align-items:center;gap:12px;margin:25px 0;padding:18px 0;display:flex}.average-change>div{flex:1;min-width:0}.average-change span{color:#536176;font-size:11px;display:block}.average-change strong{word-break:break-word;margin-top:8px;font-size:18px;line-height:1.5;display:block}.average-change>div:last-child strong{color:#2761df}.upscale-benefits{color:#536176;flex-wrap:wrap;gap:8px 16px;margin:0 0 22px;font-size:11px;line-height:1.7;display:flex}.upscale-benefits>span:before{content:"✓";color:#2761df;margin-right:5px}.upscale-drop{text-align:center;cursor:pointer;background:#f7faff;border:1px dashed #99b0d2;border-radius:6px;flex-direction:column;align-items:center;gap:10px;padding:28px 18px;display:flex;position:relative}.upscale-drop svg{color:#2761df}.upscale-drop strong{font-size:16px}.upscale-drop span{color:#6b7789;font-size:12px}.upscale-drop input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upscale-drop:focus-within{outline-offset:3px;outline:3px solid #8ab0fa}.upscale-drop.disabled{opacity:.6;cursor:wait}.upscale-source{align-items:center;gap:16px;min-width:0;padding:18px 0;display:flex}.upscale-source>img{object-fit:contain;background:#f3f5f8;border:1px solid #e5eaf1;border-radius:4px;width:68px;height:68px}.upscale-source>div{min-width:0}.upscale-source strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.upscale-source span{color:#536176;margin-top:7px;font-size:11px;display:block}.upscale-scales{grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 18px;display:grid}.upscale-scales button{text-align:left;color:#536176;background:#fff;border:1px solid #ccd7e6;border-radius:5px;grid-template-columns:28px 1fr;gap:6px 12px;padding:19px;display:grid}.upscale-scales svg{grid-row:span 2;align-self:center}.upscale-scales strong{color:#13243c;font-size:17px}.upscale-scales span{font-size:11px}.upscale-scales .active{color:#2761df;background:#f3f7fd;border:2px solid #2761df;padding:18px}.upscale-scales .active strong{color:#2761df}.upscale-dimensions{background:#f7f9fc;border-radius:4px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:12px;font-size:13px;display:flex}.upscale-dimensions span{color:#6b7789}.upscale-dimensions strong{font-weight:700}.upscale-options{margin-top:8px;padding-top:14px}.upscale-options .tool-fields{padding-top:12px}.upscale-progress{background:#f3f7fd;border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;padding:20px;font-size:13px;display:flex}.upscale-progress>span{color:#536176;max-width:80%;line-height:1.8}.upscale-progress .text-button{margin-left:auto}.upscale-result{border-top:1px solid #e5eaf1;margin-top:28px;padding-top:24px}.upscale-compare{background:repeating-conic-gradient(#e8edf4 0% 25%,#fff 0% 50%) 50%/20px 20px;border:1px solid #dce3ec;border-radius:5px;margin-bottom:18px;position:relative;overflow:hidden}.upscale-compare>img{object-fit:contain;width:100%;height:auto;max-height:650px;display:block}.upscale-compare .compare-original{background:repeating-conic-gradient(#e8edf4 0% 25%,#fff 0% 50%) 50%/20px 20px;height:100%;position:absolute;inset:0}.compare-line{pointer-events:none;background:#2761df;width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.compare-line:after{content:"↔";color:#2761df;background:#fff;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px 8px #13243c33}.compare-label{color:#fff;background:#13243cde;border-radius:3px;padding:6px 10px;font-size:11px;position:absolute;top:12px}.compare-label.before{left:12px}.compare-label.after{right:12px}.upscale-result .simple-field{margin-bottom:0}.upscale-result input[type=range]{accent-color:#2761df;min-height:44px}@media (max-width:640px){.practical-widget .practical-kicker{font-size:11px}.practical-actions{gap:8px 18px}.practical-widget .practical-row-head{flex-wrap:wrap;gap:8px}.byte-meter{gap:14px;padding:20px 16px}.byte-meter strong{font-size:29px}.byte-meter>b,.byte-meter strong small{font-size:12px}.tool-page .practical-widget .byte-editor{min-height:250px}.memorial-hero{padding:22px 17px}.memorial-hero>strong{font-size:23px}.memorial-list li{gap:12px;padding:15px 0}.memorial-list li>span{min-width:70px;font-size:13px}.memorial-list strong{font-size:13px}.work-row,.purchase-row{padding:18px 13px}.practical-row-head>strong{font-size:15px}.work-break{gap:8px}.work-break>.simple-field{min-width:100px;max-width:135px}.work-break .check-label{font-size:12px}.work-row .practical-pills{gap:6px}.work-row .practical-pills button{padding:8px 10px;font-size:11px}.work-row input[type=time]{width:100%;min-width:0;font-size:16px}.hours-groups{grid-template-columns:1fr;gap:18px}.purchase-row .tool-fields{grid-template-columns:1fr;gap:17px}.average-change{flex-wrap:wrap;gap:10px}.average-change strong{font-size:16px}.upscale-scales{gap:10px}.upscale-scales button{grid-template-columns:22px 1fr;column-gap:7px;padding:16px 10px}.upscale-scales .active{padding:15px 9px}.upscale-scales strong{font-size:15px}.upscale-scales span{font-size:10px}.upscale-benefits{gap:5px 12px;font-size:10px}.upscale-options .tool-fields{grid-template-columns:1fr}.upscale-dimensions{gap:8px;font-size:11px}.upscale-result .practical-row-head h3{font-size:16px}.anniversary-result>strong{font-size:19px}.anniversary-details .segment button{font-size:13px}.practical-widget .tool-fields:has(.date-control){grid-template-columns:1fr}}.upscale-source>div{flex:1}.upscale-source>img{flex-shrink:0}.upscale-remove{color:#536176;background:#fff;border:1px solid #ccd7e6;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 12px;display:flex}.upscale-remove span{color:inherit;white-space:nowrap;margin:0}.upscale-remove:hover{color:#2761df;background:#f3f7fd;border-color:#2761df}.upscale-scales .upscale-max{grid-column:1/-1}.upscale-max small{color:#fff;vertical-align:middle;background:#2761df;border-radius:3px;margin-left:6px;padding:4px 6px;font-size:10px;font-weight:600}.upscale-size-plan{margin-bottom:10px}.upscale-size-plan p{text-align:center;color:#536176;margin:10px 0;font-size:11px;line-height:1.7}.upscale-recovery{text-align:left;min-height:44px;margin:12px 0 20px;display:block}.upscale-scales button:focus-visible{outline-offset:3px;outline:3px solid #8ab0fa}.upscale-remove:focus-visible{outline-offset:3px;outline:3px solid #8ab0fa}@media (max-width:640px){.upscale-source{flex-wrap:wrap;gap:10px}.upscale-source>img{width:48px;height:48px}.upscale-source>div{min-width:100px}.upscale-source strong{font-size:12px}.upscale-remove{gap:4px;padding:8px}.upscale-scales .upscale-max{padding:18px 14px}.upscale-scales .upscale-max.active{padding:17px 13px}.upscale-size-plan p{font-size:10px}}
