*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:#202a35;background:#f4f6f8;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}button,input{font:inherit}.screen-loading{min-height:100vh;display:grid;place-items:center;color:#697583}.admin-shell{min-height:100vh}.app-sider{background:#fff!important;border-right:1px solid #e7ebef;position:relative}.brand{height:64px;display:flex;align-items:center;gap:11px;padding:0 20px;font-size:16px;font-weight:650;color:#1e2935;border-bottom:1px solid #edf0f3;white-space:nowrap;overflow:hidden}.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;color:#1677ff;background:#e9f2ff;border-radius:7px;flex:0 0 auto}.app-sider .ant-menu{border-inline-end:0!important;padding:10px 9px}.app-sider .ant-menu-item{margin:3px 0;width:100%;height:42px;line-height:42px}.sider-footer{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;color:#8a95a2;font-size:10px}.app-header{background:#fff;border-bottom:1px solid #e7ebef;height:64px;line-height:normal;padding:0 24px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5}.header-path{color:#8893a0}.path-divider{color:#c4cbd2}.user-menu{display:inline-flex;align-items:center;gap:8px;height:44px}.app-content{padding:22px 24px 44px;overflow:auto}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.page-title-row .ant-typography{margin:0}.page-title-row h4{font-size:19px;font-weight:650;margin-bottom:4px}.page-title-row>div{display:flex;flex-direction:column;gap:4px}.stats-row{margin-bottom:20px}.stat-block{background:#fff;border:1px solid #e6eaee;border-radius:7px;padding:18px 19px;min-height:112px;display:flex;align-items:center;gap:15px}.stat-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;font-size:19px}.stat-block .ant-statistic-title{margin-bottom:6px;color:#697583}.stat-block .ant-statistic-content{font-size:26px;font-weight:650}.stat-block.green .stat-icon{background:#e9f7ef;color:#27a269}.stat-block.blue .stat-icon{background:#eaf2ff;color:#3478df}.stat-block.cyan .stat-icon{background:#e8f8f7;color:#159b97}.stat-block.amber .stat-icon{background:#fff4e4;color:#d99328}.overview-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.overview-section{background:#fff;border:1px solid #e6eaee;border-radius:7px;padding:20px;min-height:180px}.overview-section .page-title-row{margin-bottom:22px}.overview-section .page-title-row h4{font-size:16px}.table-surface{background:#fff;border:1px solid #e6eaee;border-radius:7px;padding:8px 14px;margin-bottom:18px}.table-surface .ant-table{background:transparent}.active-edit-page{background:#fff;border:1px solid #e6eaee;border-radius:7px;padding:22px 24px 28px}.active-edit-form-surface{padding:4px 8px 12px;border-bottom:1px solid #e6eaee}.active-edit-form-surface .ant-form-item{margin-bottom:13px}.active-edit-form-surface .ant-form-item-label{padding-bottom:0}.active-edit-form-surface .readonly-strong input{color:#18212b;font-weight:650}.active-edit-page .ant-divider{margin:18px 0 10px}.active-detail-list{display:flex;flex-direction:column;gap:20px}.active-detail-section{min-width:0}.detail-section-title{border-left:3px solid #1677ff;padding-left:9px;margin:2px 0 7px;font-weight:650;color:#1d2834}.active-detail-section .ant-table-wrapper{border:1px solid #edf0f3}.filters{display:flex;gap:10px;max-width:780px;margin:0 0 14px}.filters .ant-input-affix-wrapper{max-width:520px}.filters .ant-select{min-width:160px}.active-toolbar{display:grid;grid-template-columns:138px minmax(220px,1fr) auto auto 160px auto;gap:8px;align-items:center;margin:0 0 10px}.active-toolbar>.ant-input-affix-wrapper,.active-toolbar>.ant-input{min-width:0}.active-toolbar>.ant-select{width:100%;min-width:0}.batch-toolbar{display:grid;grid-template-columns:150px minmax(220px,1fr);gap:9px;margin-bottom:10px}.batch-selection-actions{display:flex;align-items:center;margin-bottom:10px}.batch-active-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-height:410px;min-height:150px;overflow-y:auto;padding:6px;border:1px solid #e4e9ee;border-radius:5px;background:#fafbfc}.batch-active-item{display:flex;min-height:62px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:8px 9px;text-align:left;border:1px solid #d8e0e7;border-radius:4px;background:#fff;color:#26323d;cursor:pointer}.batch-active-item:hover{border-color:#7aaef2;background:#f4f8ff}.batch-active-item.selected{border-color:#1677ff;background:#eaf3ff;box-shadow:inset 0 0 0 1px #1677ff}.batch-active-item strong{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.batch-active-item span,.batch-active-item small{color:#7d8995;font-size:11px}.batch-action-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px;padding:10px;border:1px solid #e5ebef;border-radius:5px;background:#f8fafb}.batch-action-grid .ant-btn{width:100%;min-width:0;padding-inline:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-card-mode{display:flex;flex-direction:column;gap:14px;margin-top:18px}.active-info-summary{margin-bottom:12px;padding:10px 12px;background:#fafbfc;border:1px solid #edf0f3;border-radius:4px}.room-log-message{display:block;min-width:220px;max-width:520px;white-space:pre-wrap;overflow-wrap:anywhere;color:#465260;line-height:1.55}.room-log-workspace{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);height:calc(100vh - 190px);min-height:500px;background:#fff;border:1px solid #e2e7ec;border-radius:7px;overflow:hidden}.room-log-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid #e5e9ed}.room-log-search{padding:12px;border-bottom:1px solid #edf0f3}.room-log-room-list{flex:1;min-height:0;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:#9ca6b0 #f2f4f6}.room-log-room{display:flex;width:100%;min-height:91px;flex-direction:column;justify-content:center;gap:7px;padding:11px 13px;text-align:left;color:#202a35;background:#fff;border:0;border-bottom:1px solid #edf0f3;cursor:pointer}.room-log-room:hover{background:#f7f9fb}.room-log-room.selected{background:#f0f7ff;box-shadow:inset 3px 0 #1677ff}.room-log-room-top,.room-log-room-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.room-log-room-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.room-log-room-top time{flex:0 0 auto;color:#8a95a2;font-size:11px}.room-log-room-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c8794;font-size:11px}.room-log-room-meta .ant-tag{margin:0;flex:0 0 auto;font-size:11px;line-height:19px}.room-log-room-preview{overflow:hidden;color:#7b8794;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.room-log-chat{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.room-log-chat-header{min-height:66px;display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e5e9ed}.room-log-avatar{color:#fff;background:#7892aa}.room-log-chat-title{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.room-log-chat-title strong{overflow:hidden;color:#2875c7;text-overflow:ellipsis;white-space:nowrap}.room-log-chat-title span{overflow:hidden;color:#86919d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.room-log-header-status{display:flex;align-items:center;gap:10px;color:#8a95a2;font-size:12px}.room-log-header-status .ant-tag{margin:0}.room-log-events{flex:1;min-height:0;overflow-y:scroll;padding:8px 20px 22px;background:#fff;scrollbar-width:thin;scrollbar-color:#7e8994 #f2f4f6}.room-log-room-list::-webkit-scrollbar,.room-log-events::-webkit-scrollbar{width:12px}.room-log-room-list::-webkit-scrollbar-track,.room-log-events::-webkit-scrollbar-track{background:#f2f4f6;border-left:1px solid #e8ebee}.room-log-room-list::-webkit-scrollbar-thumb,.room-log-events::-webkit-scrollbar-thumb{min-height:32px;background:#9ca6b0;border:3px solid #f2f4f6;border-radius:8px}.room-log-room-list::-webkit-scrollbar-thumb:hover,.room-log-events::-webkit-scrollbar-thumb:hover{background:#707b86}.room-log-event{display:flex;align-items:flex-start;gap:9px;margin:16px 0 20px}.room-log-system-avatar{flex:0 0 auto;color:#fff;background:#97a2ab;font-weight:650}.room-log-event-body{min-width:0;max-width:min(100%,920px)}.room-log-event-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0 0 5px;color:#8090a0;font-size:11px}.room-log-bubble{min-width:180px;padding:10px 13px;border:1px solid #edf0f3;border-radius:4px 8px 8px;background:#fff;box-shadow:0 4px 14px #1f314312}.room-log-bubble-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;color:#475565;font-size:12px}.room-log-bubble-title .ant-tag{margin:0}.room-log-message-text{color:#303b47;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.room-log-image{margin-top:10px;width:190px;max-width:100%}.room-log-image .ant-image-img{display:block;max-width:100%;max-height:250px;object-fit:contain;border:1px solid #e4e9ee;border-radius:4px}.room-log-order{margin-top:7px;color:#8b96a2;font-size:11px}.room-log-date{display:flex;justify-content:center;margin:12px 0 4px}.room-log-date span{padding:3px 9px;border-radius:3px;color:#7d8996;background:#f1f3f5;font-size:11px}.room-log-chat-footer{display:flex;justify-content:space-between;padding:9px 16px;border-top:1px solid #edf0f3;color:#8b96a2;font-size:11px}.room-log-empty{margin:auto}.room-log-state{padding:30px 12px;text-align:center;color:#8a95a2;font-size:13px}.card-modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.card-modal-toolbar .ant-space{margin-left:auto}.card-modal-toolbar .ant-btn-group{display:inline-flex}.generate-room-modal{max-width:calc(100vw - 24px)}.generate-room-modal .ant-modal{width:520px!important;max-width:calc(100vw - 24px)}.generate-room-modal .ant-modal-body{padding:8px 20px 4px}.generate-form-body{display:flex;flex-direction:column}.generate-form-row{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;min-height:48px;border-bottom:1px solid #e8edf2}.generate-form-label{color:#7a8591}.generate-form-body>.ant-form-item{align-items:center;margin:0;padding:9px 0;border-bottom:1px solid #e8edf2}.generate-form-body>.ant-form-item>.ant-form-item-label{flex:0 0 60px!important;max-width:60px;padding:0;text-align:left}.generate-form-body>.ant-form-item>.ant-form-item-label>label{color:#7a8591}.generate-form-body>.ant-form-item>.ant-form-item-control{flex:1 1 auto;min-width:0;max-width:calc(100% - 60px)}.generate-form-body .ant-select{width:min(100%,260px);max-width:100%}.generate-quantity{width:132px}.generate-days{width:112px}.generate-expiry-item .ant-form-item-control-input-content{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.generate-expiry-line{display:flex;align-items:center;gap:8px}.generate-expiry-presets{display:flex;flex-wrap:wrap;gap:6px}.remaining-days-button{color:#d78322;border-color:#f0c891;background:#fff9ef}.generate-advanced-toggle{display:flex;justify-content:space-between;align-items:center;min-height:42px;margin:8px 0;padding:0 11px;border:1px solid #d4e7de;border-radius:6px;background:#f5fbf8;color:#267c5b;cursor:pointer}.generate-advanced-toggle>span{color:#6d9d87}.generate-feature-settings{display:flex;flex-direction:column;gap:7px;padding:9px 10px;border:1px dashed #d9e4e8;border-radius:6px}.generate-feature-group{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:5px}.feature-group-label{font-weight:600}.feature-group-label.enabled{color:#2d9a69}.feature-group-label.disabled{color:#d65359}.generate-feature-options{display:flex;flex-wrap:wrap;gap:5px}.generate-feature-chip{margin-inline-end:0!important}.feature-chip .ant-checkbox{display:none}.feature-chip>span:last-child{margin:0;padding:2px 8px;border:1px solid #d5dce3;border-radius:14px;color:#687583;background:#fff;line-height:1.4}.feature-chip.enabled.ant-checkbox-wrapper-checked>span:last-child{border-color:#a9e3c5;color:#278b5b;background:#effcf5}.feature-chip.disabled>span:last-child{border-color:#f3c3c5;color:#c95158;background:#fff5f5}.generate-post-action{border-bottom:0!important}.generate-post-action .ant-radio-group{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:3px 10px}.generate-room-modal .ant-modal-footer{margin-top:8px}.full-width{width:100%}.product-row{margin-bottom:24px}.product-line{min-height:104px;background:#fff;border:1px solid #e6eaee;border-radius:7px;padding:16px;display:flex;align-items:center;gap:14px}.product-icon{width:45px;height:45px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#1677ff;background:#edf4ff;font-size:21px}.product-info{display:flex;flex:1;min-width:90px;flex-direction:column;gap:5px}.product-price{color:#d94a3a;font-size:17px;font-weight:700}.modal-alert{margin-bottom:18px}.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:14px}.page-tabs{display:flex;gap:8px;margin-bottom:14px}.page-alert{margin-bottom:14px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f6f8}.login-panel{width:min(100%,420px);background:#fff;border:1px solid #e6eaee;border-radius:8px;padding:34px 34px 30px;box-shadow:0 12px 40px #192d460f}.login-logo{display:flex;align-items:center;gap:10px;font-weight:650;font-size:16px}.login-copy{margin:12px 0 24px}.login-panel h3{margin-bottom:22px}.login-error{margin-bottom:16px}.customer-page{min-height:100vh;max-width:980px;margin:0 auto;padding:22px 18px 32px;background:#f5f7f9}.tv-customer-page{min-height:100vh;max-width:980px;margin:0 auto;padding:22px 18px 32px;background:#f5f8f7;color:#193332}.tv-customer-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 2px 17px;border-bottom:1px solid #dbe7e3}.tv-customer-brand{display:flex;align-items:center;gap:9px;margin-bottom:6px;color:#123d3b;font-size:23px;font-weight:700}.tv-room-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 12px}.tv-room-summary>div{display:flex;min-height:68px;flex-direction:column;justify-content:center;gap:5px;padding:12px 14px;border:1px solid #d7e7e1;border-radius:8px;background:#edf6f2}.tv-room-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.tv-login-panel{padding:20px;border:1px solid #d6e2de;border-radius:9px;background:#fff;box-shadow:0 8px 24px #1f4b450f}.tv-login-panel h4{margin:0 0 5px!important}.tv-qr-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.tv-login-state{display:flex;align-items:center;gap:10px;min-height:68px;margin-top:14px;padding:12px 14px;border:1px solid #d7e7e1;border-radius:7px;background:#fbfdfc}.tv-login-state .ant-typography-secondary{flex:1}.tv-camera-panel{margin-top:16px}.customer-header{display:flex;align-items:center;justify-content:space-between;padding:0 2px 17px;border-bottom:1px solid #e3e8ed}.customer-brand{font-size:19px;font-weight:650;display:flex;align-items:center;gap:10px;margin-bottom:3px}.customer-notice{margin:20px 0 14px;padding:16px;border:1px solid #e6eaee;background:#fff;border-radius:8px;display:flex;align-items:center;gap:14px}.notice-symbol{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;background:#fff6e8;color:#d38b28;border-radius:7px;font-size:18px}.customer-state{display:flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap;font-size:13px}.customer-tabs{display:grid;grid-template-columns:1fr 1fr;background:#e9edf1;border-radius:7px;padding:3px;margin-bottom:14px}.customer-tabs button{border:0;border-radius:5px;min-height:42px;color:#596572;background:transparent;cursor:pointer;font-weight:600}.customer-tabs button.selected{background:#fff;color:#1677ff;box-shadow:0 1px 3px #00000012}.customer-auth-section{background:#fff;border:1px solid #e6eaee;border-radius:8px;padding:20px}.tutorial-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f3;padding:0 0 16px;margin-bottom:17px}.tutorial-strip>div{display:flex;flex-direction:column;gap:4px}.qr-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.login-help{margin-top:20px;padding:15px 17px;background:#f6f8fa;border-radius:6px}.login-help ul{margin:8px 0 0;padding-left:19px;color:#697583;line-height:1.9}.content-feed{width:100%;border-top:1px solid #edf0f3;padding-top:15px;display:flex;flex-direction:column;gap:12px}.content-feed article{border-left:3px solid #1677ff;padding:2px 0 2px 12px}.content-body{margin-top:5px;color:#626f7d;white-space:pre-wrap;line-height:1.7}.tutorial-panel{display:flex;flex-wrap:wrap;align-items:center;gap:9px;width:100%;padding:14px 15px;border:1px solid #f1d8d4;border-radius:7px;background:#fff8f6}.tutorial-panel>.ant-typography{width:100%;color:#5d4b4a}.tutorial-buttons{display:flex;flex-wrap:wrap;gap:8px}.tutorial-buttons .ant-btn{color:#c9453d;border-color:#edb1aa;background:#fff}.tutorial-buttons .ant-btn:hover{color:#a52f29;border-color:#c9453d}.tutorial-video{display:block;width:100%;max-height:70vh;background:#111;border-radius:6px}.content-read{margin-bottom:12px;min-height:0}.camera-panel{max-width:600px;margin:0 auto}.camera-panel video{display:block;width:100%;max-height:55vh;object-fit:cover;background:#111;border-radius:7px}.camera-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.sms-section{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.sms-section .ant-descriptions{width:100%}.sms-result{width:100%;border:1px solid #e6eaee;border-radius:7px;overflow:hidden}.sms-meta{padding:10px 14px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f3;color:#697583;font-size:13px}.sms-meta span:nth-child(2){margin-left:auto}.sms-result pre{white-space:pre-wrap;word-break:break-word;margin:0;padding:16px;font:inherit;line-height:1.7}.customer-footer{margin-top:15px;padding:10px 2px;text-align:center}@media(max-width:760px){.app-header{padding:0 13px}.app-content{padding:16px 12px 30px}.overview-bottom,.profile-grid{grid-template-columns:1fr}.customer-page,.tv-customer-page{padding:14px 10px 26px}.tv-customer-header{align-items:flex-start;flex-direction:column}.tv-customer-header .ant-space{width:100%}.tv-customer-header .ant-space .ant-btn{flex:1}.tv-room-summary,.tv-qr-actions{grid-template-columns:1fr}.room-log-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,34%) minmax(320px,1fr);height:calc(100vh - 205px);min-height:560px}.room-log-sidebar{border-right:0;border-bottom:1px solid #e5e9ed}.room-log-room{min-height:72px;padding:8px 11px;gap:4px}.room-log-chat-header{padding-inline:12px}.room-log-events{padding:8px 11px 18px}.room-log-header-status>span:last-child{display:none}.customer-notice{flex-wrap:wrap}.customer-state{margin-left:0}.customer-notice>.ant-btn{margin-left:auto}.customer-auth-section{padding:15px 12px}.tutorial-strip{align-items:flex-start;flex-direction:column}.qr-actions{display:grid;grid-template-columns:1fr;width:100%}.product-line{flex-wrap:wrap}.product-line .ant-btn{width:100%}.active-edit-page{padding:16px 12px}.active-edit-form-surface .ant-form-item{display:block}.active-edit-form-surface .ant-form-item-label{text-align:left;padding:0 0 5px}.active-toolbar{grid-template-columns:minmax(110px,1fr) minmax(110px,1.4fr)}.active-toolbar>.ant-input{grid-column:1 / -1}.active-toolbar>.ant-btn{min-width:0;padding-inline:8px}.batch-active-grid,.batch-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-modal-toolbar{align-items:flex-start;flex-direction:column}.card-modal-toolbar .ant-space{margin-left:0;flex-wrap:wrap}.generate-room-modal .ant-modal{width:min(520px,calc(100vw - 20px))!important}.generate-room-modal .ant-modal-body{padding:6px 14px 2px}.generate-form-body>.ant-form-item>.ant-form-item-label{flex-basis:60px!important;max-width:60px}.generate-form-body>.ant-form-item>.ant-form-item-control{max-width:calc(100% - 60px)}.generate-post-action .ant-radio-group{flex-direction:row;align-items:center;gap:2px 6px}}
