:root{font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;color:#263730;background:#f6f8f7;font-size:13px;font-synthesis:none;--green:#26766a;--muted:#8b9691;--line:#e9eeeb}
*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e1e7e3;background:#fff;color:#4b5a53;border-radius:6px;padding:9px 13px;white-space:nowrap;transition:background .15s}button:hover{background:#f1f5f2}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid #26766a;outline-offset:3px}svg{width:17px;height:17px;stroke-width:1.7;flex-shrink:0}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#1b6257}.danger{color:#c25c50;border-color:#efd5d1}.icon-button{width:33px;height:33px;padding:7px}.muted{color:var(--muted)}.sidebar{width:220px;background:white;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:32px 20px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 32px}.brand-mark{width:38px;height:38px;background:var(--green);color:white;display:flex;align-items:center;justify-content:center;border-radius:10px}.brand-mark svg{width:24px;height:24px}.brand strong{font-size:22px;font-weight:650}.brand small{display:block;color:#91a099;font-size:10px;margin-top:3px}.nav-caption{font-size:10px;color:#a1aaa5;padding:15px 14px 9px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{border:0;justify-content:flex-start;height:44px;padding:0 14px;gap:12px;color:#718078;background:transparent}.nav button.active{background:#eaf3ef;color:var(--green);font-weight:600}.nav button.active:after{content:"";width:5px;height:5px;background:var(--green);border-radius:50%;margin-left:auto}.nav button:hover{background:#f3f6f4}.nav .badge{margin-left:auto;background:#f0f3f1;border-radius:4px;padding:1px 6px;font-size:10px}.sidebar-bottom{margin-top:auto}.sync{margin:20px 10px;display:flex;gap:8px;align-items:center;font-size:11px;color:#89988f}.dot{width:6px;height:6px;border-radius:50%;background:#75a88c;display:inline-block}.user{width:100%;padding:15px 4px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:white;justify-content:flex-start;text-align:left;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#edf1e8;color:#7b8966;display:grid;place-items:center;font-weight:600}.user b{font-size:12px;font-weight:500}.user small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.user svg{margin-left:auto}.main{margin-left:220px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:11px;color:#a2aaa6;font-size:12px}.breadcrumb b{color:#536359;font-weight:500}.top-actions{display:flex;align-items:center;gap:18px;color:#8b9690;font-size:11px}.top-actions button{border:0}.content{padding:30px 34px 24px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page-heading h1{font-size:25px;font-weight:600;margin:0 0 8px}.page-heading p{font-size:12px;margin:0;color:var(--muted)}.heading-actions{display:flex;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:26px}.stat{border:1px solid var(--line);background:white;border-radius:8px;padding:19px 21px;position:relative;min-height:126px}.stat-label{color:#839087;display:flex;align-items:center;gap:7px;font-size:12px}.stat-symbol{position:absolute;right:18px;top:17px;width:31px;height:31px;border-radius:7px;display:grid;place-items:center;background:#edf5f1;color:#5e9782}.stat:nth-child(2) .stat-symbol{background:#f0f3fc;color:#7e90c1}.stat:nth-child(3) .stat-symbol{background:#fff5e9;color:#caa16a}.stat:nth-child(4) .stat-symbol{background:#fbefed;color:#cb9387}.stat-number{font-size:30px;line-height:1.1;font-weight:600;margin:15px 0 10px;display:flex;align-items:baseline;gap:7px}.stat-number small{font-size:11px;color:#9aa59e;font-weight:400}.stat-foot{font-size:10px;color:#a1aaa4}.stat-foot strong{font-weight:500;color:#609782}.section-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.section-title{font-weight:600;font-size:15px;display:flex;gap:10px;align-items:center}.section-title small{font-size:11px;font-weight:400;color:var(--muted)}.calendar-section{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.calendar-tools{padding:19px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.date-tools,.filters{display:flex;gap:8px;align-items:center}.date-tools .month{font-size:14px;font-weight:600;margin-right:12px}.date-tools input{width:133px;min-height:32px;padding:5px 7px}.date-tools .icon-button{width:29px;height:30px}.calendar-tools select{min-height:33px;font-size:11px;padding:6px 26px 6px 10px;width:111px}.legend{display:flex;gap:19px;align-items:center;padding:0 20px 17px;font-size:10px;color:#839087}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:2px;background:#dbe9ff}.legend .in{background:#b9dfcc}.legend .out{background:#e0e5e2}.legend .empty{background:white;border:1px solid #dfe5e1}.legend .dirty{background:#efd4b9}.legend .hint{margin-left:auto;color:#a1aaa4;font-size:10px}.calendar-scroll{overflow:auto;max-height:610px}.calendar{position:relative;min-width:1010px}.cal-header,.cal-row{display:grid;grid-template-columns:175px repeat(14,minmax(58px,1fr))}.cal-header{position:sticky;top:0;z-index:5;background:#fafcfb;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cal-header>div{height:64px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#a0aaa4}.cal-header .room-heading{align-items:flex-start;padding-left:21px;color:#718278;position:sticky;left:0;background:#fafcfb;z-index:6}.cal-header strong{color:#53625a;font-size:15px;font-weight:500}.cal-header .today{background:#ecf5f0;color:#48816e}.cal-header .today strong{background:var(--green);color:white;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.cal-header .weekend{background:#faf8f4}.cal-row{position:relative;min-height:82px;border-bottom:1px solid var(--line)}.cal-row:last-child{border-bottom:0}.room-cell{position:sticky;left:0;z-index:4;background:white;border-right:1px solid var(--line);padding:16px 15px;display:flex;gap:10px;align-items:flex-start}.room-number{font-size:14px;font-weight:600;min-width:28px;padding-top:2px}.room-details{min-width:0}.room-details strong{font-size:11px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:103px}.clean-label{border:0;background:#eff6f0;padding:3px 5px;color:#83a08a;font-size:9px;margin-top:8px;border-radius:3px;gap:3px}.clean-label svg{width:10px;height:10px}.clean-label.dirty{background:#fbf0e5;color:#be9b73}.cal-slot{border:0;border-right:1px solid var(--line);border-radius:0;padding:0;background:#fff;position:relative;min-width:0}.cal-slot.today{background:#f5faf7}.cal-slot.weekend{background:#fdfcf9}.cal-slot:hover{background:#eef5f1}.cal-slot:hover:after{content:"+";font-size:21px;color:#79a38d}.booking{position:absolute;top:17px;height:47px;border:1px solid #dce7fb;background:#eef3fd;color:#607eae;border-radius:5px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:7px 10px;gap:5px;z-index:2;text-align:left;overflow:hidden;min-width:0;white-space:normal}.booking:hover{background:#e2ebfa;filter:brightness(.99)}.booking.checked_in{background:#e7f3eb;border-color:#cde5d7;color:#4b8769}.booking.checked_out{background:#f0f2f1;border-color:#e4e8e5;color:#99a39d}.booking strong{font-size:11px;font-weight:550;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.booking small{font-size:9px;opacity:.8;display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.booking .status-dot{display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:5px}.calendar-footer{display:flex;justify-content:space-between;padding:13px 20px;font-size:10px;color:#98a39b;border-top:1px solid var(--line)}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:25px;margin-top:27px}.plain-section{min-width:0}.plain-section .section-bar{margin-bottom:13px}.text-button{padding:3px 0;border:0;background:transparent;color:#8b9890;font-size:10px;gap:4px}.text-button svg{width:13px;height:13px}.arrivals{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{background:#fafcfb;color:#97a29b;font-weight:400;font-size:10px;padding:14px 18px}td{padding:15px 18px;border-top:1px solid #f0f3f1;color:#607168}td strong{color:#3d5044;font-weight:500}.channel{font-size:10px;background:#f0f4fd;color:#8295ba;padding:3px 6px;border-radius:3px;display:inline-block}.channel[data-channel="美团"]{background:#fcf4da;color:#ae943c}.channel[data-channel="抖音"]{background:#f2eef7;color:#8d7ba1}.channel[data-channel="同程旅行"]{background:#ecf5eb;color:#7e9c70}.status-pill{padding:4px 7px;border-radius:4px;font-size:10px;color:#7192b9;background:#edf3fc}.status-pill.checked_in{background:#e9f4ed;color:#6a977f}.status-pill.checked_out{background:#f0f2f1;color:#939f97}.small-button{font-size:10px;padding:5px 9px;color:#628a75}.memo-preview{background:white;border:1px solid var(--line);border-radius:7px;padding:3px 17px}.memo-item{display:flex;align-items:flex-start;gap:10px;padding:15px 0;border-bottom:1px solid #edf1ee}.memo-item:last-child{border:0}.memo-item input{accent-color:var(--green);width:14px;height:14px;margin-top:3px;flex-shrink:0}.memo-item p{margin:0;font-size:11px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.memo-item small{display:block;font-size:9px;color:#a4ada7;margin-top:5px}.memo-item.done p{text-decoration:line-through;color:#a0aaa4}.memo-item .memo-body{flex:1;min-width:0}.memo-item button{border:0;padding:4px;color:#a1aaa4}.memo-item button svg{width:13px;height:13px}.footer{font-size:10px;color:#adb6af;text-align:center;margin-top:27px;display:flex;justify-content:center;gap:15px}.empty-state{text-align:center;color:#8a9a8f;padding:40px 15px;line-height:2}.empty-state svg{display:block;width:28px;height:28px;margin:0 auto 10px;color:#a7b9ae}.toolbar{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.toolbar input{width:260px}.toolbar select{width:145px}.toolbar .search{position:relative}.search svg{position:absolute;left:12px;top:11px;color:#a0aaa4}.search input{padding-left:38px}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.room-card{background:white;border:1px solid var(--line);border-radius:8px;padding:23px}.room-card .room-card-top{display:flex;justify-content:space-between;align-items:center}.room-card .big-room{font-size:30px;font-weight:550}.room-card h3{margin:14px 0 6px;font-size:15px;font-weight:500}.room-card p{font-size:11px;color:#97a39b}.room-card-bottom{margin-top:22px;display:flex;justify-content:space-between;align-items:center}.memo-page{max-width:950px}.memo-compose{background:white;border:1px solid var(--line);border-radius:7px;padding:17px;margin-bottom:20px}.memo-compose textarea{border:0;padding:0;min-height:80px;resize:vertical}.memo-compose button{margin-top:10px}.memo-page .memo-preview{padding:0 23px}.memo-page .memo-item p{font-size:13px}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-panel{border-top:1px solid #dce5df;padding-top:22px}.settings-panel h2{font-size:16px;font-weight:550;margin:0 0 22px}.settings-panel form{max-width:450px}.settings-panel button{margin-top:8px}.log-list{background:white;border:1px solid var(--line);border-radius:7px}.log-item{padding:21px 24px;border-bottom:1px solid var(--line)}.log-item:last-child{border:0}.log-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.log-top b{font-weight:500}.log-top time{margin-left:auto;font-size:11px;color:var(--muted)}.log-detail{font-size:12px;color:#85958b;line-height:2;margin-top:12px;overflow-wrap:anywhere}.log-detail span{display:inline-block;background:#f4f7f5;border-radius:4px;padding:3px 8px;margin:2px 4px 2px 0;white-space:pre-wrap}.overlay{position:fixed;inset:0;background:#1d332b66;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:600px;max-width:100%;background:white;border-radius:10px;box-shadow:0 20px 80px #16372926;max-height:92vh;display:flex;flex-direction:column}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px;font-weight:550;margin:0}.modal-head small{font-size:11px;color:#9aa69e;display:block;margin-top:7px}.modal-head .icon-button{border:0}.modal-body{padding:24px 27px;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.form-grid .field{margin:0}.full{grid-column:1/-1}label{font-size:12px;color:#6d7f72}input,select,textarea{border:1px solid #dfe7e1;background:white;border-radius:5px;padding:10px 11px;min-height:38px;width:100%;color:#364d3e;outline:none}input:focus,select:focus,textarea:focus{border-color:#6eaa8d;box-shadow:0 0 0 3px #eaf5ef}input::placeholder,textarea::placeholder{color:#b1bbb4}textarea{resize:vertical;min-height:85px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}.modal-actions .danger{margin-right:auto}.form-error{color:#bb6559;background:#fdf1ee;border-radius:5px;padding:10px;margin-top:15px;font-size:12px;display:none}.form-error:not(:empty){display:block}.order-summary{background:#f5f8f6;border-radius:6px;padding:14px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7b8c80}.order-summary strong{color:#395b46;font-size:16px}.order-status-actions{display:flex;gap:10px;margin-top:20px}.order-status-actions button{flex:1}.check-label{display:flex;gap:9px;align-items:center;font-size:12px;color:#7a8f80}.check-label input{width:15px;height:15px;min-height:0;accent-color:var(--green)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-art{background:#e9f0eb;display:flex;justify-content:center;align-items:center;padding:60px;position:relative;overflow:hidden}.auth-art-inner{max-width:440px}.auth-art h1{font-size:40px;font-weight:550;line-height:1.5;margin:26px 0 18px}.auth-art p{color:#819389;line-height:2}.auth-art .brand{padding:0}.mini-board{margin-top:40px;display:grid;grid-template-columns:60px repeat(4,1fr);border:1px solid #d8e5dc;background:#f8fbf8;border-radius:7px;overflow:hidden;transform:rotate(-3deg);box-shadow:0 20px 50px #6c927a18}.mini-board span{height:54px;border-bottom:1px solid #e2eae4;border-right:1px solid #e2eae4;display:flex;align-items:center;justify-content:center;font-size:11px;color:#93a198}.mini-board .mini-book{margin:10px 3px;height:34px;border:0;border-radius:4px;background:#d8eadd;color:#5b8869}.mini-board .mini-blue{background:#e0e8f5;color:#8296b7}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:360px;max-width:100%}.auth-box h2{font-size:25px;font-weight:550;margin:0 0 9px}.auth-box>p{color:#95a399;line-height:1.8;margin-bottom:27px;font-size:12px}.auth-box .primary{width:100%;margin-top:14px;height:43px}.auth-footer{color:#a7b2aa;font-size:10px;margin-top:27px;text-align:center}.mobile-menu{display:none}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,15px);background:#294e3c;color:#fff;border-radius:7px;padding:12px 20px;z-index:200;opacity:0;pointer-events:none;transition:.2s;font-size:12px;max-width:90vw;box-shadow:0 5px 20px #1f3d2520}#toast.show{opacity:1;transform:translate(-50%,0)}.notice{padding:12px 15px;background:#f0f5ef;color:#759078;border:1px solid #dfeadc;border-radius:5px;line-height:1.8;font-size:11px;margin-bottom:20px}
@media(min-width:1550px){.content{padding:35px 45px}.cal-row{min-height:92px}.booking{top:21px;height:50px}.stats{gap:24px}.bottom-grid{gap:28px}}
@media(max-width:1200px){.sidebar{width:185px;padding-left:13px;padding-right:13px}.main{margin-left:185px}.content{padding:24px}.topbar{padding:0 24px}.bottom-grid{grid-template-columns:1fr}.room-grid{grid-template-columns:repeat(2,1fr)}.stats{gap:12px}.stat{padding:17px}.stat-symbol{right:12px}.legend .hint{display:none}.date-tools .month{margin-right:3px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:220px;transition:.2s;box-shadow:10px 0 50px #203b2c22}.sidebar.open{transform:translateX(0)}.main{margin:0}.mobile-menu{display:inline-flex}.topbar{height:61px;padding:0 16px}.top-actions .current-date{display:none}.top-actions{gap:6px}.breadcrumb{gap:7px}.content{padding:23px 16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:22px}.page-heading p{font-size:10px;max-width:210px;line-height:1.8}.heading-actions>button:not(.primary){display:none}.heading-actions button{padding:9px 11px;font-size:11px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.stat{min-height:116px;padding:16px}.stat-number{font-size:27px}.stat-symbol{width:27px;height:27px;top:12px}.stat-foot{font-size:9px}.calendar-tools{padding:15px 12px;gap:12px}.date-tools{gap:5px;flex-wrap:wrap}.date-tools .month{font-size:12px}.date-tools input{width:120px;font-size:11px}.filters{width:100%}.filters select{flex:1}.legend{gap:11px;padding:0 12px 14px;flex-wrap:wrap;font-size:9px}.calendar-footer{padding:12px;font-size:9px}.bottom-grid{margin-top:23px;gap:22px}.section-title{font-size:14px}.room-grid,.settings-layout{grid-template-columns:1fr}.auth-page{display:block}.auth-art{padding:30px;min-height:230px}.auth-art h1{font-size:27px;margin:20px 0 0}.auth-art p,.mini-board{display:none}.auth-art-inner{width:100%;max-width:360px}.auth-main{padding:32px 25px}.auth-art .brand strong{font-size:20px}.overlay{padding:12px}.modal-head{padding:18px}.modal-body{padding:19px}.form-grid{gap:15px 10px}.field label{font-size:11px}.modal{max-height:94vh}.footer{font-size:9px;gap:8px}.log-item{padding:18px}.log-top time{margin-left:0;width:100%}.toolbar input{width:100%}.toolbar .search{width:100%}.toolbar select{flex:1}.memo-preview{padding:3px 12px}.room-card{padding:20px}.order-status-actions{flex-wrap:wrap}}
