:root{--bg:#f7f5f0;--card:#fff;--text:#1f1f1f;--muted:#6b675f;--line:#ddd8cd;--accent:#0b6e4f;--accent-text:#fff;--error:#b42318;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button,input{font:inherit}button{cursor:pointer}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--error)}.page{max-width:720px;margin:0 auto;padding:16px}.page-header h1{margin:8px 0 4px;font-size:1.6rem}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:16px}.card h2{margin:0 0 12px;font-size:1.15rem}.import-form{flex-direction:column;gap:8px;display:flex}.import-form label{font-size:.9rem;font-weight:600}.import-form input{border:1px solid var(--line);border-radius:8px;width:100%;padding:12px;font-size:16px}button.primary{background:var(--accent);color:var(--accent-text);border:0;border-radius:8px;margin-top:4px;padding:12px 16px;font-weight:600}button.primary:disabled{opacity:.6}.help summary{cursor:pointer;color:var(--accent)}.help p{color:var(--muted);font-size:.9rem}.homes{margin:0;padding:0;list-style:none}.homes li{border-top:1px solid var(--line);align-items:center;display:flex}.homes li:first-child{border-top:0}.home-open{text-align:left;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;gap:2px;min-height:48px;padding:12px 4px;display:flex}.home-name{font-weight:600}button.icon{min-width:44px;min-height:44px;color:inherit;background:0 0;border:0;border-radius:8px;font-size:1.2rem}button.icon:hover{background:#0000000d}.shell{flex-direction:column;height:100dvh;display:flex}.shell-header{background:var(--card);border-bottom:1px solid var(--line);align-items:center;gap:4px;padding:4px 8px;display:flex}.shell-title{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:1.05rem;overflow:hidden}.menu{position:relative}.menu-list{z-index:20;background:var(--card);border:1px solid var(--line);border-radius:10px;min-width:200px;margin:4px 0 0;padding:4px;list-style:none;position:absolute;top:100%;right:0;box-shadow:0 6px 20px #0000001f}.menu-list button,.menu-list a{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:6px;padding:10px 12px;text-decoration:none;display:block}.menu-list button:hover,.menu-list a:hover{background:#0000000d}.shell-toolbar{background:var(--card);border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:6px 8px;display:flex}.floor-tabs{scrollbar-width:none;flex:1;gap:4px;display:flex;overflow-x:auto}.floor-tabs button{white-space:nowrap;border:1px solid var(--line);background:var(--card);border-radius:999px;min-height:40px;padding:8px 12px}.floor-tabs button.active{background:var(--text);color:#fff;border-color:var(--text)}.segmented{border:1px solid var(--line);border-radius:8px;flex-shrink:0;display:flex;overflow:hidden}.segmented button{background:var(--card);border:0;min-height:40px;padding:8px 14px;font-weight:600}.segmented button.active{background:var(--accent);color:var(--accent-text)}.shell-body{flex:1;min-height:0;display:flex;position:relative}.shell-main{flex:1;min-width:0;position:relative}.shell-panel{border-left:1px solid var(--line);background:var(--card);width:300px;padding:12px 16px;position:relative;overflow:auto}.panel-close{position:absolute;top:4px;right:4px}.placeholder{text-align:center;justify-content:center;align-items:center;height:100%;padding:24px;display:flex}@media (width<=899px){.shell-panel{border-left:0;border-top:1px solid var(--line);z-index:10;width:auto;max-height:50%;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -6px 20px #0000001a}}.overview h2{margin:4px 0 12px;font-size:1.05rem}.overview table{border-collapse:collapse;width:100%}.overview td{border-bottom:1px solid var(--line);padding:6px 0}.overview tfoot td{border-bottom:0;font-weight:600}.overview .num{text-align:right;white-space:nowrap}
