:root{--bg: #EAF7FD;--card: #FFFFFF;--ink: #1C2030;--sub: #4A5468;--deep: #0A6E99;--aqua: #38B6E8;--aqua-soft: #8FD6F2;--line: #A9D8EA;--line-soft: #D3ECF6;--tint: #E3F5FC;--navy: #0F3B52;--ok: #1F7A4D;--ok-bg: #E6F5EC;--ok-ink: #145234;--ng: #B4232C;--ng-bg: #FDECEC;--ng-ink: #8E1B22}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg);color:var(--ink);font-family:"M PLUS Rounded 1c",-apple-system,Hiragino Maru Gothic ProN,Hiragino Sans,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}button,input{font-family:inherit}button{cursor:pointer}button:disabled{cursor:default}.screen{min-height:100%;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px);gap:16px;max-width:520px;margin:0 auto}.with-tabs{padding-bottom:calc(env(safe-area-inset-bottom) + 96px)}h1,h2,p{margin:0}.sub{color:var(--sub);font-size:14px}.small{font-size:12px;color:var(--sub)}.card{background:var(--card);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:10px}.btn{height:56px;border-radius:16px;border:none;background:var(--aqua);color:#0f2533;font-size:18px;font-weight:800;width:100%}.btn.deep{background:var(--deep);color:#fff}.btn.ghost{background:#fff;color:var(--ink);border:2px solid var(--line)}.btn:disabled{opacity:.5}.row{display:flex;align-items:center;gap:12px}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border-radius:999px;padding:4px;gap:4px}.seg button{height:44px;padding:0 14px;border-radius:999px;border:none;font-size:14px;font-weight:700;background:transparent;color:var(--sub)}.seg button.on{background:var(--deep);color:#fff;font-weight:800}.hero{background:var(--aqua-soft);border-radius:28px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:10px}.ring{width:140px;height:140px;border-radius:999px;background:#fff;border:8px solid var(--aqua);display:flex;flex-direction:column;align-items:center;justify-content:center}.ring b{font-size:60px;line-height:1;color:var(--deep)}.ring span{font-size:16px;font-weight:800;color:var(--navy)}.week{width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.week div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--navy)}.dot{width:30px;height:30px;border-radius:999px;border:2px dashed #3A8FB5;display:flex;align-items:center;justify-content:center}.dot.on{background:#fff;border:2px solid #fff}.menu-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:var(--tint)}.num{width:30px;height:30px;border-radius:10px;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}.mode{text-align:left;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px;min-height:76px;border:none;background:#fff;color:var(--ink)}.mode b{font-size:16px}.mode span{font-size:12px;color:var(--sub)}.mode:disabled{border:2px dashed var(--line);background:#f3fafd}.tabs{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line-soft);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px 0 calc(env(safe-area-inset-bottom) + 6px);z-index:10}.tabs button{border:none;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:700;color:var(--sub);min-height:48px;justify-content:center}.tabs button.on{color:var(--deep)}.topbar{display:flex;align-items:center;gap:12px}.iconbtn{width:44px;height:44px;border-radius:12px;border:none;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;flex:none}.bar{flex:1;height:10px;border-radius:999px;background:var(--line-soft);overflow:hidden}.bar i{display:block;height:10px;background:var(--deep);border-radius:999px;transition:width .3s}.label{font-size:14px;font-weight:700;color:var(--deep)}.qbox{background:#fff;border-radius:20px;padding:22px 18px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.big{font-size:40px;font-weight:800;word-break:break-word}.big.long{font-size:22px;line-height:1.5}.opt{min-height:56px;border-radius:14px;font-size:18px;padding:8px;border:2px solid var(--line);background:#fff;color:var(--ink);font-weight:700}.opt.long{font-size:15px}.opt.ok{border:3px solid var(--ok);background:var(--ok-bg);color:var(--ok-ink);font-weight:800}.opt.ng{border:3px solid var(--ng);background:var(--ng-bg);color:var(--ng-ink);font-weight:800}.opt.dim{border-color:var(--line-soft);color:var(--sub)}.speaker{width:88px;height:88px;border-radius:999px;border:none;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:center}.fb{border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}.fb.ok{background:var(--ok-bg)}.fb.ng{background:var(--ng-bg)}.fb h3{margin:0;font-size:17px}.fb.ok h3{color:var(--ok-ink)}.fb.ng h3{color:var(--ng-ink)}.input{height:56px;border-radius:14px;padding:0 16px;font-size:24px;font-weight:700;color:var(--ink);background:#fff;border:2px solid var(--line);width:100%}.input.ok{border:3px solid var(--ok)}.input.ng{border:3px solid var(--ng)}.tiles{display:flex;flex-wrap:wrap;gap:8px;min-height:56px;padding:10px;border-radius:14px;background:#fff;border:2px dashed var(--line)}.tile{min-height:44px;padding:0 14px;border-radius:12px;border:2px solid var(--line);background:#fff;font-size:17px;font-weight:700;color:var(--ink)}.tile.placed{background:var(--tint);border-color:var(--deep)}.table2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:#fff;border-radius:12px;padding:12px;font-size:14px}.stat{background:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:4px}.stat span{font-size:12px;color:var(--sub)}.stat b{font-size:22px}.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.cal div{height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px}.cal .wk{height:auto;font-size:12px;font-weight:700;color:var(--sub)}.cal .past{background:var(--tint);color:var(--sub)}.cal .stamp{background:var(--deep);color:#fff;font-weight:800}.cal .today{outline:2px solid var(--aqua)}.meter{display:flex;flex-direction:column;gap:6px}.meter .track{height:10px;border-radius:999px;background:var(--line-soft)}.meter .track i{display:block;height:10px;border-radius:999px;background:var(--deep)}.bars{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:3px;align-items:end;height:120px}.bars div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:120px}.bars i{width:70%;border-radius:4px;background:var(--line);display:block}.bars i.on{background:var(--deep)}.bars span{font-size:10px;color:var(--sub)}.list-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--tint);font-size:14px;gap:8px}.err{color:var(--ng-ink);font-size:14px}.center{align-items:center;justify-content:center;text-align:center}label{font-size:14px;font-weight:700}
