*{box-sizing:border-box;margin:0;padding:0}
body{background:#f5f5f7;font-family:'Noto Sans CJK JP','Hiragino Sans',sans-serif;color:#1d1d1f;padding:40px 24px;max-width:460px;margin:0 auto}
.kick{font-size:15px;color:#86868b;font-weight:600}
h1{font-size:34px;font-weight:800;margin:4px 0 24px}
.top{display:flex;justify-content:space-between;align-items:center}
.card{background:#fff;border-radius:28px;padding:28px;box-shadow:0 2px 12px rgba(0,0,0,.05);margin-bottom:16px}
.lab{font-size:16px;color:#86868b;font-weight:700;display:flex;align-items:center;gap:8px}
.big{font-size:84px;font-weight:800;letter-spacing:-2px;line-height:1.05;margin-top:10px}
.unit{font-size:26px;font-weight:700;margin-left:6px}
.tag{display:inline-block;font-size:13px;font-weight:800;color:#bf5af2;background:#f4e8fd;border-radius:999px;padding:3px 10px}
.dot{width:12px;height:12px;border-radius:50%;background:#c7c7cc;display:inline-block}
.sub{font-size:15px;color:#6e6e73;margin-top:12px}
.warn{font-weight:700;color:#ff453a}
.ghost{opacity:.35}.row{display:flex;gap:16px}.row .card{flex:1}
.mid{font-size:26px;font-weight:800;margin-top:8px}
input{width:100%;font-size:18px;padding:14px 16px;border:1px solid #d2d2d7;border-radius:14px;margin:10px 0 14px}
button{width:100%;font-size:17px;font-weight:700;padding:14px;border:0;border-radius:14px;background:#0071e3;color:#fff;cursor:pointer}
button.link{width:auto;background:none;color:#0071e3;padding:4px 0;font-size:15px}
[hidden]{display:none!important}

.warn2{font-weight:700;color:#c93400}
.foot{text-align:center;margin:4px 0 16px}
.lab .tag{white-space:nowrap}
.climate{gap:20px}.cl{flex:1;min-width:0}.mid2{font-size:44px;font-weight:800;letter-spacing:-1px;line-height:1.1;margin-top:4px}.spark{display:block;margin-top:8px}.small{font-size:13px;margin-top:4px}
.signal{display:flex;align-items:center;gap:10px;margin-top:14px;flex-wrap:wrap}.sig{width:22px;height:22px;border-radius:50%;display:inline-block}.sigtext{font-size:20px;font-weight:800;margin-left:4px}
a.card{display:block;text-decoration:none;color:inherit}.tap{border:2px solid #0071e3}.chip{display:inline-block;margin-top:12px;font-size:14px;font-weight:700;color:#0071e3;background:#e8f1fc;border-radius:999px;padding:6px 12px}.soon{color:#aeaeb2}.nav{display:flex;align-items:center;gap:16px;margin-bottom:20px}.back{color:#0071e3;font-weight:700;font-size:17px;text-decoration:none}.navt{font-size:20px;font-weight:800}
.band{position:relative;height:12px;border-radius:999px;margin-top:18px;background:linear-gradient(90deg,#64d2ff,#30d158 50%,#ffd60a 75%,#ff453a)}.mark{position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#fff;border:4px solid #1d1d1f;box-sizing:border-box}.bandlab{display:flex;justify-content:space-between;font-size:13px;color:#86868b;margin-top:8px}

.mrow{border-top:1px solid #eee;padding:10px 0 4px}
.mrow:first-of-type{border-top:0}
.mhead{display:flex;justify-content:space-between;font-weight:600;margin-bottom:4px}

.mark-approx{display:inline-block;font-size:13px;font-weight:800;color:#c93400;background:#fff3e8;border-radius:999px;padding:3px 10px;margin-left:6px}
.mark-actual{display:inline-block;font-size:13px;font-weight:800;color:#248a3d;background:#e6f7ea;border-radius:999px;padding:3px 10px;margin-left:6px}
#b-setup label,#b-invoice label{display:block;font-size:14px;font-weight:700;color:#6e6e73;margin-top:10px}
#b-setup select,#b-invoice input[type="number"],#b-invoice input[type="month"],#b-invoice input[type="file"]{width:100%;font-size:16px;padding:12px 14px;border:1px solid #d2d2d7;border-radius:14px;margin:6px 0 8px;background:#fff}
#b-setup button,#b-invoice button{margin-top:8px}
#b-invoice button.quiet{background:#e8e8ed;color:#1d1d1f}
#inv-preview{max-width:100%;border-radius:16px;margin-top:8px;display:block}

.plan{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pcell{border-radius:20px;padding:14px 10px;text-align:center;min-height:88px}
.pcell .plab{font-size:13px;font-weight:700}
.pcell .pval{font-size:28px;font-weight:800;letter-spacing:-.5px;margin-top:4px}
.pcell .psub{font-size:13px;margin-top:2px}
.pcell.wide{grid-column:1/-1}

.toplinks{display:flex;gap:14px;align-items:center}
a.link{color:#0071e3;font-size:15px;font-weight:700;text-decoration:none}
.floorwrap{margin-top:12px}.floor{width:100%;height:auto;display:block;max-height:560px}
.legend{margin-top:8px}.legend .small{color:#3a3a3c}
#s label,#admin label{display:block;font-size:14px;font-weight:700;color:#6e6e73;margin-top:10px}
#s select,#admin select,#admin input{width:100%;font-size:16px;padding:12px 14px;border:1px solid #d2d2d7;border-radius:14px;margin:6px 0 8px;background:#fff}
#s input{margin:6px 0 8px;font-size:16px;padding:12px 14px}
#s button,#admin button{margin-top:8px}
#s button.quiet,#admin button.quiet,#login button.quiet{background:#e8e8ed;color:#1d1d1f}
.presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.presets button{width:auto;flex:1 1 auto;font-size:15px;padding:10px 12px}
.row2{display:flex;gap:10px}.row2>*{flex:1;min-width:0}
.lab2{font-size:15px;font-weight:800;color:#1d1d1f;margin-top:18px}
.steps{margin:12px 0 0 22px;font-size:16px;line-height:2}.steps a{color:#0071e3;text-decoration:none;font-weight:700}.steps li.done a{color:#248a3d}
.tapline{cursor:pointer}
.kv{display:grid;grid-template-columns:1fr 1.2fr;gap:6px 12px;margin-top:10px;font-size:14px}.kv .k{color:#6e6e73;font-weight:700}.kv .v{white-space:pre-line;word-break:break-all}
details.fix{margin-top:14px;border-top:1px solid #eee;padding-top:10px}details.fix summary{font-weight:800;color:#0071e3;cursor:pointer}
.plus{color:#248a3d}.minus{color:#d70015}
.huge{font-size:56px;font-weight:800;letter-spacing:-1.5px;line-height:1.1;margin-top:8px;white-space:nowrap}
.bars{width:100%;height:auto;display:block;margin-top:10px}
.drow{display:flex;gap:16px;align-items:center;margin-top:8px}.donut{width:120px;height:120px;flex:none}.dtext{flex:1;min-width:0}.dtext .mid{font-size:22px}
.sbar{height:16px;border-radius:999px;background:#e5e5ea;overflow:hidden;margin-top:12px}.sfill{display:block;height:100%;background:linear-gradient(90deg,#ffd60a,#ff9f0a);border-radius:999px}
.nowrap{white-space:nowrap}.row .card .mid{white-space:nowrap}.row .card .unit{font-size:18px}
.note{color:#86868b}
.card.compact{padding:20px 22px;margin-bottom:12px}
.crow{display:flex;align-items:baseline;gap:10px;padding:6px 0;border-top:1px solid #f0f0f2}.crow:first-of-type{border-top:0}
.cname{flex:1;font-size:15px;font-weight:700;min-width:0}.cval{font-size:28px;font-weight:800}.cval .unit{font-size:16px}.chum{font-size:14px;color:#6e6e73;width:76px;text-align:right}
.calm{color:#0a6b2e;background:#e6f7ea;border-radius:12px;padding:8px 10px;margin-top:8px}
.loginalt{display:flex;justify-content:space-between;margin-top:10px}
button:disabled{opacity:.5;cursor:default}
#home h1{font-size:28px;margin-bottom:14px}
#home .card{padding:20px 22px;margin-bottom:12px}
#home .signal{margin-top:8px}
#home #onboard .card{padding:14px 18px}#home #onboard .mid{font-size:18px;margin-top:2px}#home #onboard .sub{display:none}#home #onboard .chip{margin-top:6px}
#home #exhaust .mid2{font-size:32px}
#home #onboard .card.slim{padding:12px 18px;font-weight:800;color:#0071e3;font-size:16px}
body{padding-top:24px}
#home #exhaust .chip{margin-top:6px}
.fold{margin:8px 0 16px;background:#fff;border-radius:28px;padding:4px 22px 8px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.fold>summary{font-weight:800;color:#0071e3;cursor:pointer;padding:14px 0;list-style:none}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary::after{content:" ›";}
.fold[open]>summary::after{content:" ˄";}
.fold .card{box-shadow:none;padding:16px 0;margin:0}
.fold .card.tap{border:2px solid #0071e3;padding:16px 18px;margin:8px 0 12px;border-radius:22px}
.hero-t{font-size:48px;font-weight:800;letter-spacing:-1px;line-height:1;margin-top:6px}
.hero-t .unit{font-size:22px}
.hero-h{font-size:18px;font-weight:700;color:#6e6e73;margin-top:4px}
.side-room{font-size:15px;font-weight:700;color:#3a3a3c;margin-top:8px}
.exrow{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:4px}
.excmp{font-size:22px;font-weight:800;color:#c93400;white-space:nowrap;padding-bottom:6px}
.kvline{display:flex;justify-content:space-between;font-size:15px;margin-top:6px}
.kvline .k{color:#6e6e73;font-weight:700}
.kvline .v{font-weight:800}
.solrow{display:flex;justify-content:space-between;align-items:baseline}
.solrow .pct{font-size:28px;font-weight:800}
.leg{display:flex;gap:14px;font-size:12px;color:#6e6e73;margin-top:6px}
.leg i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px}
.okutoku-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;flex-wrap:nowrap}
.okutoku-foot .small{margin:0}
#home #okutoku .mid{font-size:40px}
#c .row .card{min-width:0}
#c .row .card .mid{font-size:28px;white-space:nowrap}
#c .row .card .unit{font-size:15px;margin-left:2px}
.sig-on-0{background:#30b158}.sig-on-1{background:#ffcc00}.sig-on-2{background:#ff453a}
.t-hot{color:#5c3a00}.t-cold{color:#0b4a6f}.t-mid,.t-warm{color:#3a2a00}
.sbar-svg{display:block;width:100%;height:16px;margin-top:12px}
.band-svg{display:block;width:100%;height:24px;margin-top:10px}
.lg-rev{background:#0a84ff}.lg-el{background:#c7c7cc}

#code{letter-spacing:.18em;font-size:1.1rem;text-align:center}
.optional-lab{font-weight:400;color:#6e6e73;font-size:.85rem}

#f-code{margin-top:18px;padding-top:16px;border-top:1px solid #e5e5ea}
/* 管理画面 M0〜M6（2026-11-26 段1「写し」） */
.ad-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
#admin .ad-tabs button{width:auto;margin-top:0;border:0;border-radius:999px;padding:9px 14px;font-size:14px;font-weight:700;background:#e8e8ed;color:#1d1d1f;cursor:pointer}
#admin .ad-tabs button.on{background:#1d1d1f;color:#fff}
.bz-head{font-size:13px;color:#6e6e73;margin-top:6px;white-space:pre-line}
.bz-state{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:800;background:#fff4e5;color:#a05a00}
.bz-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:12px}
.bz-num .k{font-size:13px;color:#6e6e73;font-weight:700}
.bz-num .v{font-size:26px;font-weight:800;letter-spacing:-.5px;margin-top:2px}
.bz-num .v.minus{color:#c93400}
.bz-scroll{overflow-x:auto;margin-top:10px;-webkit-overflow-scrolling:touch}
.bz-t{border-collapse:collapse;font-size:13px;min-width:100%}
.bz-t th,.bz-t td{padding:6px 8px;border-bottom:1px solid #ececf0;text-align:right;white-space:nowrap}
.bz-t th{color:#6e6e73;font-weight:700;background:#fafafc}
.bz-t td.l,.bz-t th.l{text-align:left}
.bz-t tr.site td{background:#f3f3f6;font-weight:800;text-align:left}
.bz-lines{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.6}
.bz-p{font-size:14px;line-height:1.6;margin-top:6px;white-space:pre-line;word-break:break-word}
.bz-day{margin-top:10px;font-size:14px}
.bz-day select{font-size:14px;padding:4px 6px;border-radius:8px}
/* 値の出どころの札（2026-11-26）：クラウド由来・機械由来・プールで見た値 */
.tag.src{font-size:11px;font-weight:700;padding:2px 8px;vertical-align:middle}
.tag.src-cloud{color:#0a64c8;background:#e3f0ff}
.tag.src-dev{color:#a05a00;background:#fff1dc}
.tag.src-pool{color:#1f7a3a;background:#e2f6e7}
.srcrow{margin-top:6px;line-height:1.9}
