:root{--bg:#F5F5F7;--ink:#1D1D1F;--muted:#86868B;--blue:#007AFF;--line:#EBEBF0;--green:#34C759;--font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;background:#EBECF0;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.35;cursor:default}button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}button svg{pointer-events:none}h1,h2,p{margin:0}svg{flex-shrink:0}input,select{min-width:0}select{border:0;background:none;color:var(--blue);text-align:right;padding:10px 0;font-size:15px}input{outline-color:var(--blue)}
.viewer{display:grid;grid-template-columns:220px minmax(440px,1fr) 248px;gap:40px;max-width:1400px;margin:0 auto;padding:40px 36px;min-height:100vh}.side,.notes{position:sticky;top:40px;align-self:start}.brand{font-size:12px;letter-spacing:2px;font-weight:600;color:#86868B}.side h1{font-size:30px;line-height:1.4;letter-spacing:-1px;margin:20px 0 12px;font-weight:650}.side>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:26px}.page-link{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;margin:2px 0;border-radius:10px;font-size:12px;text-align:left;color:#75757B}.page-link>span{font-size:10px;opacity:.5;font-variant-numeric:tabular-nums}.page-link.active{background:#fff;color:var(--blue);font-weight:600}.stage{display:flex;flex-direction:column;align-items:center;gap:24px}.stage-label{font-size:10px;color:#86868B;letter-spacing:2px}.phone{width:390px;height:844px;flex-shrink:0;border-radius:42px;overflow:hidden;position:relative;background:var(--bg);box-shadow:0 32px 70px #252b3a14,0 0 0 6px #fff,0 0 0 7px #e0e1e7}.stage-footer{display:flex;align-items:center;gap:28px;font-size:12px;color:#86868B}.stage-footer button{padding:12px}.notes{padding-top:84px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--blue);font-weight:600}.notes h2{font-size:25px;line-height:1.5;margin:16px 0 30px;letter-spacing:-.5px;font-weight:600}.design-note{margin:22px 0}.design-note strong{font-size:12px;font-weight:600}.design-note p{font-size:12px;line-height:1.8;color:#86868B;margin-top:6px}.prototype-note{font-size:10px;color:#98989E;line-height:1.8;margin-top:34px}.screen{position:relative;height:100%;display:flex;flex-direction:column;background:var(--bg)}.status{height:54px;flex:0 0 54px;padding:13px 29px 0;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600;letter-spacing:-.4px}.status-icons{display:flex;align-items:center;gap:5px}.status-icons svg{width:16px;height:16px;stroke-width:2}.status-icons svg:last-child{width:26px}.safe-area{height:24px;flex:0 0 24px;background:var(--bg)}.content{flex:1;min-height:0;overflow:auto;scrollbar-width:none;padding-bottom:14px}.content::-webkit-scrollbar{display:none}.pad{padding:0 24px}.nav{height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:12px}.nav>strong{font-size:17px;font-weight:600;letter-spacing:-.3px}.nav-back,.nav-right{width:44px;min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--blue)}.nav-back svg{width:23px;height:23px}.nav-right button{min-width:44px;height:44px;white-space:nowrap;font-size:14px}.round-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--blue);flex-shrink:0}.round-button svg{width:23px;height:23px}.round-button.plain{background:transparent}.round-button.active{background:#E5F0FF}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:6px 0 24px}.page-heading h1{font-size:34px;letter-spacing:-1.3px;font-weight:700;line-height:1.2}.page-heading>span{color:var(--muted);font-size:13px}.muted{color:var(--muted);font-size:13px}.tiny{font-size:11px}.card{background:#fff;border-radius:24px;padding:20px}.list{background:#fff;border-radius:20px;overflow:hidden}.row{display:flex;align-items:center;gap:12px;min-height:76px;padding:15px 16px;width:100%;text-align:left}.row+.row{border-top:1px solid var(--line)}.row-body{flex:1;min-width:0}.row-body strong{display:block;font-size:16px;font-weight:600;line-height:1.5}.row-body small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}.row>svg:last-child{height:16px;width:16px;color:#C0C0C6}.iconbox{display:inline-flex;width:44px;height:44px;border-radius:12px;background:#EFF5FF;color:var(--blue);align-items:center;justify-content:center;flex-shrink:0}.iconbox svg{width:22px;height:22px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--blue);background:#EAF3FF;padding:5px 8px;border-radius:8px}.pill.green{color:#288C48;background:#EFF9F1}.pill.gray{background:#F2F2F7;color:#86868B}.pill.orange{background:#FFF5E6;color:#AF7200}.dot{display:inline-block;height:5px;width:5px;border-radius:50%;background:currentColor;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 18px;border-radius:15px;font-size:16px;font-weight:500;white-space:nowrap}.button svg{height:20px;width:20px}.button.primary{background:var(--blue);color:#fff}.button.secondary,.button.neutral{background:#E9E9EF;color:var(--ink)}.button.danger{background:#FFF0EF;color:#FF3B30}.button:active{filter:brightness(.96)}.actions-inline{display:flex;gap:12px;margin-top:24px}.actions-inline>*{flex:1}.full{width:100%}.full>.button{width:100%}.segment{display:flex;gap:3px;background:#EDEDF2;border-radius:10px;padding:3px;min-height:36px}.segment button{flex:1;border-radius:8px;font-size:13px;font-weight:500;min-height:30px;color:#717178;padding:4px 8px}.segment button.selected{color:var(--ink);background:#fff;box-shadow:0 2px 5px #00000009}.section-head{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px;gap:10px}.section-head h2{font-size:17px;font-weight:600;letter-spacing:-.3px}.section-head>span{font-size:12px;color:var(--muted)}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{text-align:center;padding:38px 10px 32px}.hero h2,.hero h1{font-size:25px;font-weight:600;letter-spacing:-.6px;margin:22px 0 9px}.hero p{font-size:13px;color:var(--muted);line-height:1.6}.battery-mini{display:inline-flex;align-items:center;gap:2px;width:24px;height:10px}.battery-mini i{display:block;background:#D9D9DF;border-radius:1px;flex:1;height:8px}.battery-mini i.on{background:#8E8E93}
.home-heading{display:flex;align-items:center;justify-content:space-between;margin:16px 0 24px;position:relative;z-index:22}.home-heading small{font-size:11px;color:var(--muted);letter-spacing:1.4px;font-weight:500}.home-heading h1{font-size:34px;line-height:1.25;letter-spacing:-1.2px;margin-top:5px;font-weight:700}.home-heading .menu-toggle{align-self:flex-end;margin-bottom:2px}.home-status{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:0 2px 12px}.home-status>span:last-child{display:flex;align-items:center;gap:6px;font-size:11px}.home-status .dot{color:#34C759}.home-cards{display:flex;flex-direction:column;gap:14px}.home-card{background:white;border-radius:24px;padding:16px 18px 12px;box-shadow:0 2px 12px #30304202}.home-card-top{display:flex;align-items:center;justify-content:space-between;height:32px;gap:12px}.type-label{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;min-height:32px}.card-reading{font-size:25px;line-height:1;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.card-reading small{font-size:11px;color:var(--muted);margin-left:5px;font-weight:400;letter-spacing:0}.home-plots{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:12px}.home-plots button{text-align:left;min-width:0}.home-plots button>span{font-size:9px;letter-spacing:.5px;font-weight:500;color:#86868B}.home-plots svg{display:block;width:100%;height:80px;margin-top:3px}.type-switch{display:flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:#F5F5F7}.type-switch button{font-size:12px;font-weight:600;padding:5px 9px;border-radius:6px;color:var(--muted)}.type-switch button.selected{background:#fff;color:var(--ink);box-shadow:0 1px 3px #00000008}.menu-backdrop{position:absolute;inset:54px 0 0;background:#00000012;z-index:20;width:100%;cursor:default}.home-menu{position:absolute;right:24px;top:145px;width:224px;background:#ffffffed;backdrop-filter:blur(24px);border:1px solid #fff9;border-radius:18px;z-index:24;box-shadow:0 14px 48px #1d1d1f18;overflow:hidden;outline:none}.home-menu button{display:flex;align-items:center;gap:14px;min-height:60px;padding:0 19px;width:100%;text-align:left}.home-menu button+button{border-top:1px solid #1d1d1f0b}.home-menu button>svg:first-child{color:var(--blue);width:21px;height:21px}.home-menu button>span{flex:1;font-size:15px;font-weight:500}.home-menu button>svg:last-child{height:12px;width:12px;color:#AEAEB2}.home-menu button:hover{background:#007aff08}.reading-hero{display:flex;align-items:center;justify-content:space-between;padding:20px 2px 26px}.big-reading{font-size:49px;line-height:1.1;letter-spacing:-2.6px;font-weight:600;font-variant-numeric:tabular-nums;margin-bottom:9px}.big-reading small{font-size:17px;color:var(--muted);margin-left:8px;letter-spacing:0;font-weight:400}.reading-hero .pill{align-self:flex-start;margin-top:10px}.chart-card{background:#fff;border-radius:24px;padding:16px 14px 13px}.chart-card .segment{margin:0 2px 15px}.main-chart{min-height:252px;display:flex;align-items:center;justify-content:center}.main-chart>svg{width:100%;height:auto;display:block}.chart-caption{display:flex;align-items:center;justify-content:space-between;padding:3px 9px 0;color:#AEAEB2;font-size:10px}.metrics{display:grid;grid-template-columns:1fr 1fr 1fr;padding:26px 0}.metrics>div{text-align:center;min-width:0}.metrics>div+div{border-left:1px solid #E4E4EB}.metrics small{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.metrics strong{display:block;font-size:19px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.metrics em{font-size:10px;font-style:normal;color:var(--muted);margin-left:3px;letter-spacing:0}.measure-actions{display:flex;align-items:center;gap:12px}.measure-actions .button{flex:1}.measure-actions .round-button{height:50px;width:50px;border-radius:15px}.empty-chart{min-height:252px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#AEAEB2;font-size:13px}.empty-chart svg{height:35px;width:35px}.sheet-backdrop{position:absolute;inset:0;background:#00000026;z-index:30}.sheet{position:absolute;bottom:0;left:0;right:0;border-radius:28px 28px 0 0;background:#F5F5F7;padding:10px 24px 30px;z-index:31}.grabber{width:32px;height:4px;border-radius:3px;background:#CCCCD2;margin:0 auto 20px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.sheet-heading h2{font-size:22px;letter-spacing:-.5px;font-weight:650}.sheet-heading button{color:var(--blue);font-size:15px;min-height:36px}.setting-row{display:flex;justify-content:space-between;align-items:center;min-height:55px;padding:0 17px;font-size:15px;gap:15px}.setting-row+.setting-row{border-top:1px solid var(--line)}.range-card{padding:22px 4px 0}.range-card>div{display:flex;justify-content:space-between;font-size:14px}.range-card>div>span:last-child{color:var(--muted)}.range-card input{margin:16px 0 0;width:100%;accent-color:var(--blue)}.alert{left:28px;right:28px;bottom:auto;top:34%;border-radius:24px;padding:24px;background:#fff;text-align:center}.alert h2{font-size:19px;margin-bottom:12px;font-weight:600}.alert p{font-size:13px;line-height:1.6;color:var(--muted)}.alert .button{font-size:15px;min-height:44px;padding:10px 16px}.toast{position:absolute;z-index:40;left:24px;right:24px;bottom:32px;background:#fffffff2;box-shadow:0 8px 40px #0000001c;backdrop-filter:blur(20px);border-radius:18px;padding:16px;display:flex;justify-content:center;align-items:center;gap:10px;font-size:14px}.toast svg{height:18px;width:18px;color:var(--green)}
@media(max-width:1150px){.viewer{grid-template-columns:190px minmax(410px,1fr);max-width:900px;gap:24px;padding:30px 24px}.notes{display:none}}@media(max-width:700px){.viewer{display:flex;flex-direction:column;padding:20px 12px;align-items:center}.side{position:static;width:100%;max-width:390px}.side h1,.side>p,.side .prototype-note{display:none}.side .brand{margin-bottom:12px}#page-nav{display:flex;overflow:auto;gap:4px}.page-link{width:auto;white-space:nowrap;padding:10px}.page-link span{display:none}.stage-label{display:none}.phone{max-width:calc(100vw - 24px)}.stage{gap:16px}}
body.export{background:var(--bg)}body.export .viewer{display:block;margin:0;padding:0;min-height:0}body.export .side,body.export .notes,body.export .stage-label,body.export .stage-footer{display:none}body.export .stage{display:block}body.export .phone{width:100vw;height:100vh;max-width:none;border-radius:0;box-shadow:none}body.export .safe-area{height:24px;flex-basis:24px}
@media(max-width:370px){.pad{padding:0 20px}.home-heading{margin-top:12px;margin-bottom:20px}.home-card{padding:14px 16px 10px}.home-plots{gap:12px}.home-plots svg{height:74px}.home-cards{gap:12px}.card-reading{font-size:24px}.button{font-size:15px;padding:12px 14px}.big-reading{font-size:46px}.metrics strong{font-size:18px}.home-menu{right:20px}.main-chart{min-height:232px}.reading-hero{padding-top:16px;padding-bottom:22px}}
