:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#203439;background:#f5f6f3;font-synthesis:none;--ink:#203439;--muted:#71807e;--line:#e2e7e2;--green:#215b4e;--accent:#dcf3a6;--nav:#172d30;--red:#b14b40;--orange:#966526}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}a{color:var(--green)}button{border:1px solid var(--line);border-radius:9px;background:white;padding:10px 14px;font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:8px;justify-content:center}button:hover{background:#f1f5ed}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#164638}button.danger{color:var(--red);border-color:#efcfc9}button.quiet{background:transparent;border-color:transparent}button.small{padding:7px 10px;font-size:12px}svg{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.loading{padding:80px;text-align:center;color:var(--muted)}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#e6eeea;padding:30px 18px;position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 30px;font-weight:650;font-size:22px;letter-spacing:-.8px}.brand-mark{width:36px;height:36px;background:var(--accent);color:var(--nav);border-radius:10px;display:grid;place-items:center;font-size:22px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#a8bbb2;margin-top:4px;font-weight:500}.nav-group{font-size:10px;letter-spacing:1.8px;color:#91a6a0;margin:24px 12px 9px}.nav-link{border:0;background:transparent;color:#bccac5;width:100%;justify-content:flex-start;padding:12px 14px;font-size:13px;margin:2px 0;font-weight:500}.nav-link:hover{background:#264044;color:white}.nav-link.active{background:var(--accent);color:#1d3d32;font-weight:650}.sidebar-bottom{margin-top:auto;padding:26px 10px 0}.server-status{font-size:11px;color:#b1c5bb;display:flex;align-items:center;gap:7px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a2cb7e}.sidebar-note{font-size:10px;line-height:1.6;color:#879d96;margin-top:12px}.main{grid-column:2;min-width:0}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:14px}.avatar{width:35px;height:35px;background:#edf2e9;border:1px solid #dce5d6;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}.user-chip{display:flex;align-items:center;gap:10px}.user-chip strong{display:block;font-size:12px}.user-chip small{display:block;font-size:10px;color:var(--muted);margin-top:3px;text-transform:capitalize}.content{padding:34px 36px 40px;max-width:1600px;margin:auto}.eyebrow{color:var(--green);font-size:10px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:10px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.page-head h1{font-weight:550;font-size:29px;letter-spacing:-1px;margin:0 0 9px}.page-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.period{width:auto!important;padding:9px 11px!important;background:white!important}.notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #e7dfc5;background:#fbf8ef;border-radius:10px;padding:13px 16px;font-size:11px;line-height:1.65;color:#79633d;margin-bottom:24px}.notice a{color:inherit;font-weight:600}.notice.neutral{background:#eef3ed;border-color:#dbe5d6;color:#50654a}.notice strong{display:block;font-size:12px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);background:white;border-radius:13px;padding:19px 21px;min-width:0}.stat.emphasis{background:var(--nav);color:white;border-color:var(--nav)}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:17px;gap:10px}.stat.emphasis .stat-top{color:#c1d5c9}.stat-icon{width:30px;height:30px;border-radius:9px;background:#f2f5ef;display:grid;place-items:center;color:var(--green)}.stat.emphasis .stat-icon{background:#344b47;color:var(--accent)}.stat-value{font-size:26px;font-weight:600;letter-spacing:-1px;white-space:nowrap}.currency{font-size:12px;font-weight:500;letter-spacing:0;margin-right:5px;opacity:.7}.stat-foot{font-size:10px;color:var(--muted);margin-top:11px;line-height:1.4}.stat.emphasis .stat-foot{color:#bacbbf}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:22px}.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:14px;font-weight:650;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.panel-body{padding:0 22px 22px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.grid-two .panel{height:calc(100% - 22px)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;font-weight:600;letter-spacing:.4px;color:var(--muted);background:#fafbf8;padding:12px 22px;border-bottom:1px solid var(--line)}td{padding:15px 22px;border-bottom:1px solid #edf0eb}tbody tr:last-child td{border-bottom:0}td strong{font-size:12px;font-weight:600}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.right{text-align:right}.amount{font-variant-numeric:tabular-nums;font-weight:600}.positive{color:var(--green)}.negative{color:#a65c45}.pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;border-radius:6px;padding:5px 8px;background:#edf1ea;color:#5d6f58}.pill.posted,.pill.ready,.pill.resolved{background:#e8f2e6;color:#3d7042}.pill.draft,.pill.inspection{background:#fbf0d9;color:#926d2d}.pill.void,.pill.rework{background:#f9e7e2;color:#a05746}.pill.cleaning{background:#e8eff9;color:#4b73a2}.pill.dirty{background:#edf0ed;color:#707c74}.pill.blocked{background:#f9e2df;color:#a14c45}.legend{display:flex;gap:17px;color:var(--muted);font-size:10px}.legend span{display:flex;align-items:center;gap:6px}.swatch{height:7px;width:7px;border-radius:2px;background:#427b5c}.swatch.alt{background:#c3d0b5}.bars{padding:12px 0 4px}.bar-row{margin:0 0 20px}.bar-meta{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px;gap:12px}.bar-track{height:10px;background:#f0f3ed;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#507e60;border-radius:4px}.bar-fill.expense{background:#bdcbaa}.mini-list{display:flex;flex-direction:column}.mini-row{padding:13px 0;border-bottom:1px solid #edf0eb;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.mini-row:last-child{border-bottom:0}.mini-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.mini-row strong{font-weight:600}.empty{padding:45px 25px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty svg{width:30px;height:30px;margin-bottom:10px;color:#a5b79d}.empty strong{display:block;font-size:14px;color:var(--ink);font-weight:550}.empty p{margin:6px 0 15px}.footnote{font-size:10px;color:var(--muted);line-height:1.7}.toolbar{display:flex;gap:10px;padding:0 22px 20px;align-items:center;flex-wrap:wrap}.search{max-width:300px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.filters button{font-size:11px;padding:8px 13px}.filters button.selected{background:var(--nav);color:white;border-color:var(--nav)}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.room-card{border:1px solid var(--line);background:white;border-radius:12px;padding:20px;text-align:left;display:block;font-weight:400;min-height:180px}.room-card:hover{border-color:#94b38b;background:white;box-shadow:0 4px 18px #20343907}.room-card .top{display:flex;justify-content:space-between;align-items:center}.room-number{font-size:26px;font-weight:550;letter-spacing:-1px}.room-card p{font-size:11px;color:var(--muted);margin:8px 0 25px}.room-bottom{display:flex;align-items:center;gap:7px;font-size:11px;color:#64756c;border-top:1px solid #edf0eb;padding-top:12px}.room-bottom svg{width:14px;height:14px}.badge-count{font-size:10px;color:var(--muted);margin-left:6px}.stock-level{width:100px;height:5px;background:#eef2eb;border-radius:5px;margin-top:7px;overflow:hidden}.stock-level span{height:5px;display:block;background:#77a068}.stock-level.low span{background:#d2a157}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}label{font-size:11px;font-weight:600;color:#52615c}input,select,textarea{width:100%;border:1px solid #dce3da;border-radius:7px;padding:11px 12px;background:#fff;color:var(--ink);font-size:13px}input:focus,select:focus,textarea:focus{border-color:#7d9f72;outline:2px solid #dceccf}textarea{resize:vertical;min-height:82px}.help{font-size:10px;color:var(--muted);line-height:1.5}.checkbox{display:flex;align-items:center;gap:10px;font-size:12px;padding:10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.checkbox input{width:16px;height:16px;accent-color:var(--green)}.checkbox span{font-weight:400;line-height:1.5}.checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-section{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.form-section h3{font-size:12px;margin:0 0 13px}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:22px}.dialog-header h2{font-size:21px;letter-spacing:-.5px;margin:0 0 6px;font-weight:550}.dialog-header p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.dialog-header .close{padding:5px;border:0;background:transparent;font-size:22px;font-weight:400}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:15px;padding:26px;width:min(650px,calc(100vw - 28px));max-height:90vh;box-shadow:0 24px 100px #142d3033;color:var(--ink)}dialog::backdrop{background:#172d3066;backdrop-filter:blur(3px)}.inline-error{color:#a7493b;background:#fbede9;border-radius:7px;font-size:12px;padding:12px;margin:15px 0;line-height:1.5}.inline-error:empty{display:none}.calc{display:flex;justify-content:space-between;background:#f1f5ec;padding:13px;border-radius:8px;font-size:12px;margin-top:17px;gap:10px}.timeline{max-height:270px;overflow:auto;margin-top:12px}.event{border-left:2px solid #dce7d4;padding:0 0 20px 15px;margin-left:5px;font-size:12px}.event small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.event p{font-size:11px;color:#607268;line-height:1.6;margin:6px 0 0;white-space:pre-wrap;word-break:break-word}.consumption-row{display:grid;grid-template-columns:1fr 80px;align-items:center;gap:14px;font-size:12px;margin:10px 0}.consumption-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);background:#203b31;color:#fff;border-radius:10px;box-shadow:0 5px 30px #0002;padding:13px 21px;font-size:12px;max-width:min(540px,90vw);z-index:20;transition:transform .2s}#toast.show{transform:translateX(-50%) translateY(0)}#toast.error{background:#913e34}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-story{background:var(--nav);color:white;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:'';position:absolute;width:450px;height:450px;border:1px solid #ffffff10;border-radius:50%;bottom:-130px;right:-130px;box-shadow:0 0 0 60px #ffffff03,0 0 0 120px #ffffff03}.auth-story .brand{padding:0}.auth-story h1{font-size:46px;letter-spacing:-2px;line-height:1.14;font-weight:500;max-width:400px;margin:50px 0 22px}.auth-story h1 em{font-style:normal;color:var(--accent)}.auth-story p{font-size:14px;color:#b3c6bd;line-height:1.8;max-width:350px}.auth-story footer{font-size:11px;color:#90a99d;margin-top:50px}.auth-content{padding:40px;display:flex;align-items:center;justify-content:center}.auth-box{width:100%;max-width:365px}.auth-box h2{font-size:25px;font-weight:550;letter-spacing:-.5px;margin-bottom:8px}.auth-box>p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:26px}.auth-box form{display:flex;flex-direction:column;gap:17px}.auth-box button.primary{padding:13px}.auth-detail{border:1px solid var(--line);padding:13px 15px;border-radius:9px;font-size:11px;color:var(--muted);line-height:1.7;margin-top:25px}.auth-detail strong{color:var(--ink)}.settings-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px}.mobile-menu{display:none}.lang{width:auto;font-size:11px;padding:7px}.source-list{padding-left:17px;line-height:2.1;font-size:12px}.capsule{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:5px 9px;color:var(--muted)}.room-detail-meta{display:flex;gap:10px;align-items:center;margin-bottom:18px}.issue-card{border:1px solid var(--line);background:white;border-radius:11px;padding:20px;margin-bottom:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.issue-card h3{font-size:13px;margin:0 0 8px}.issue-card p{font-size:12px;color:#596c61;margin:0 0 9px;line-height:1.6;white-space:pre-wrap}.issue-card small{font-size:10px;color:var(--muted)}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8a968d;margin-top:16px;padding-top:20px;border-top:1px solid var(--line)}.mono{font-family:ui-monospace,Consolas,monospace;font-size:10px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0}.subtle{color:var(--muted)}
@media(min-width:1600px){.content{padding-top:45px}.stat-value{font-size:32px}.room-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:205px}.layout{grid-template-columns:205px minmax(0,1fr)}.topbar{padding:0 24px}.content{padding:25px 24px}.cards{gap:10px}.stat{padding:16px}.stat-value{font-size:22px}.grid-two{grid-template-columns:1fr}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.user-chip .user-name{display:none}.auth-story{padding:38px}.auth-story h1{font-size:39px}}
@media(max-width:760px){.layout{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 50px #0003;width:230px}.main{width:100%}.topbar{height:65px;padding:0 16px}.content{padding:24px 16px}.mobile-menu{display:inline-flex;padding:6px}.breadcrumb{font-size:11px;gap:8px}.breadcrumb>span{display:none}.top-actions{gap:5px}.top-actions>button{padding:7px}.page-head{align-items:flex-start;flex-wrap:wrap}.page-head h1{font-size:25px}.page-head .actions{width:100%}.cards{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px 14px}.stat-value{font-size:24px}.stat-top{font-size:10px}.stat-icon{width:25px;height:25px}.stat-foot{font-size:9px}.grid-two{gap:0}.room-grid{gap:10px}.room-card{padding:15px;min-height:168px}.room-number{font-size:24px}.pill{font-size:9px}.panel-head{padding:18px 16px}.panel-body{padding:0 16px 18px}th,td{padding:12px 16px}.toolbar{padding:0 16px 15px}.page-footer{font-size:9px}.auth{grid-template-columns:1fr}.auth-story{padding:26px;min-height:180px}.auth-story h1{font-size:28px;margin:25px 0 10px;max-width:none}.auth-story p,.auth-story footer{display:none}.auth-story .brand{font-size:19px}.auth-story .brand-mark{width:30px;height:30px}.auth-content{padding:30px 24px}.auth-box{max-width:430px}.auth-box h2{font-size:23px}.form-grid{gap:13px}dialog{padding:22px}.notice{font-size:10px}.checks{grid-template-columns:1fr 1fr}.issue-card{flex-wrap:wrap}}
@media(max-width:390px){.room-grid{grid-template-columns:1fr}.stat-value{font-size:21px}.form-grid{grid-template-columns:1fr}.checks{grid-template-columns:1fr}.topbar .avatar{display:none}}
.template-row{border:1px solid var(--line);border-radius:9px;padding:13px;margin-bottom:12px;background:#fafbf8}.template-row .toggle-row{padding:12px 0 0}.template-row .checkbox{border:0;padding:0;margin-right:auto}.source-text{white-space:pre-wrap;word-break:break-word;background:#f5f7f2;padding:15px;border-radius:8px;font-size:11px;line-height:1.6;max-height:55vh;overflow:auto}.source-text.compact{max-height:160px}details summary{font-size:12px;cursor:pointer;color:var(--green)}[hidden]{display:none!important}.shared-note-section{margin:12px 0 20px;padding:15px;border:1px solid #dbe5d6;border-radius:9px;background:#f8faf4}.shared-note{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line)}.shared-note p{white-space:pre-wrap;line-height:1.6;font-size:12px;margin:6px 0}.shared-note strong{font-size:11px}.shared-note small{font-size:10px;color:var(--muted)}.shared-note.urgent strong{color:var(--red)}.shared-note button{flex-shrink:0}.live-state{background:#edf5e7;color:#46723b;border-color:#cde0c3;font-size:10px}.live-state.offline{background:#fff1e7;color:#9f582e;border-color:#e8ccb6}.live-room-warning:not(:empty){background:#fff1e7;padding:10px;border-radius:7px}.sidebar nav{overflow:auto;min-height:0}.sidebar .nav-group{margin-top:17px}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{.sidebar,.topbar,.actions,.notice button,.page-footer{display:none}.layout{display:block}.content{padding:0}.main{width:100%}.panel,.stat{break-inside:avoid}body{background:white}}

.brand{font-size:20px;gap:9px;letter-spacing:-.7px;padding-left:3px;padding-right:0}.brand-mark{flex-shrink:0;width:32px;height:36px}.brand-name{min-width:0}.brand-by{display:block;font-size:13px;font-weight:500;letter-spacing:.5px;margin-top:1px;color:#d4e4d9}.brand small{font-size:8px;letter-spacing:1.3px;margin-top:8px}.room-number{overflow-wrap:anywhere}.room-card .top{gap:10px;flex-wrap:wrap}.room-description{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}
