/* Hand-written helpers layered on top of the site's own stylesheets.
   The management console is desktop-only, so no mobile breakpoints live here. */
*{box-sizing:border-box}
html,body,#app{height:100%;margin:0}
body{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}


/* Small helpers used by the re-implemented views. */
.chart{height:330px}
.grid{display:grid;gap:20px}
.cal .el-calendar__body{padding:8px}
.cal .event{font-size:12px;color:#409eff;overflow:hidden;white-space:nowrap}
.date-cell{height:100%;min-height:64px}
.el-dialog{max-width:94vw}
.ql-editor{min-height:320px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px;font-size:16px;font-weight:600;color:#243140}
.cal .el-calendar__header{display:none}
.heading{margin:0;font-size:16px;font-weight:600}
.dropzone{display:flex;flex-direction:column;align-items:center;border:1px dashed #d9d9d9;border-radius:6px;padding:24px 12px;color:#606266;cursor:pointer}
.dropzone input{display:none}
.dropzone i{font-size:48px;color:#c0c4cc}
.dropzone em{color:#409eff;font-style:normal}
.hint,.count-line{color:#909399;font-size:13px}
.count-line{margin:-6px 0 16px 90px}
.float-help{position:fixed;right:22px;bottom:22px;z-index:30;width:44px;height:44px;border-radius:50%;border:1px solid #e4e7ed;background:#fff;color:#909399;box-shadow:0 2px 8px #00000014;cursor:pointer;font-size:18px}
.settings-form{max-width:760px;margin:24px auto}
.settings .warn{color:#f56c6c;font-size:13px;line-height:1.4;margin:6px 0 0}
.settings .muted{color:#909399;font-size:13px;margin:8px 0 0}
.uploader{width:148px;height:148px;border:1px dashed #d9d9d9;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#8c939d;font-size:28px;cursor:pointer;position:relative}
.uploader input{display:none}
.uploader img{max-width:100%;max-height:100%}
.uploader.tall{height:180px}
.uploader button{position:absolute;border:0;background:#409eff;color:#fff;border-radius:4px;padding:8px 14px;font-size:14px;pointer-events:none}
.legend{margin-left:auto;color:#606266;font-size:13px;white-space:nowrap}.legend i{display:inline-block;width:12px;height:12px;margin:0 4px 0 12px;vertical-align:-1px;border-radius:2px}
.room-board .bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.room-board .bar .el-input{width:200px}.room-board .note{margin:12px 0 0;color:#909399;font-size:13px;line-height:1.6}
.room-grid{display:grid;margin-top:16px;border:1px solid #ebeef5;border-radius:8px;overflow:auto}
.room-grid .gh,.room-grid .gn,.room-grid button{min-height:48px;margin:0;border:0;border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;background:#fff;font-size:13px;color:#303133}
.room-grid .gh{display:flex;align-items:center;justify-content:center;background:#f7f8fa;color:#606266;font-weight:500}
.room-grid .gh.name,.room-grid .gn{position:sticky;left:0;z-index:1}
.room-grid .gn{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:8px 12px;background:#fff;text-align:left}
.room-grid .gn b{font-weight:600}.room-grid .gn small{margin-top:2px;color:#909399;font-weight:400}
.room-grid button{cursor:pointer;padding:0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-grid button.open:hover{background:#f5f7fa}
.legend .open,.room-grid button.open{background:#fff}.legend i.open{border:1px solid #dcdfe6;box-sizing:border-box}
.room-grid button.soon{background:#67c23a;color:#fff}.room-grid button.live{background:#f56c6c;color:#fff}.room-grid button.done{background:#909399;color:#fff}
.legend .done,.time-row button.done{background:#909399}.legend .live,.time-row button.live{background:#f56c6c;color:#fff}.legend .soon,.time-row button.soon{background:#67c23a;color:#fff}.legend .wait,.time-row button.wait{background:#e6a23c;color:#fff}
.tools,.room-board .bar,.myheader{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px}
.tools{margin-bottom:8px}
.myheader{justify-content:space-between;width:100%}
.tools .el-input,.tools .el-select,.tools .el-date-editor.el-input,.room-board .bar .el-date-editor.el-input{width:220px}
.tools .el-input__inner,.tools .el-range-editor.el-input__inner,.room-board .bar .el-input__inner,.page-container .el-form--inline .el-input__inner,.page-container .el-form--inline .el-range-editor.el-input__inner{height:36px!important;line-height:34px!important;font-size:14px}
.el-radio-button--small .el-radio-button__inner{height:36px!important;line-height:34px!important;padding:0 16px!important;font-size:14px}
.tools .el-button--small,.room-board .bar .el-button--small{height:36px;padding:0 18px;font-size:14px}
.tools .el-radio-group,.room-board .bar .el-radio-group{display:inline-flex}
.tools .el-radio-button__inner,.room-board .bar .el-radio-button__inner{white-space:nowrap}
.page-container .el-form--inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.page-container .el-form--inline .el-form-item{margin:0}
.page-container .el-form--inline .el-select,.page-container .el-form--inline .el-input{width:168px}
.settings-form.el-form--label-top .el-form-item__label{float:none;display:block;width:auto!important;text-align:left;line-height:1.4;padding:0 0 6px;white-space:normal}
.settings-form .el-form-item__content{margin-left:0!important}
.settings-form .el-select,.settings-form .el-input{width:100%;max-width:420px}
.settings .warn{color:#8a6232}
.report_row .ec_box{min-height:380px}
.report_row .ec_wrap,.report_row .myechcart{height:300px}
.board-actions{display:flex;align-items:center;gap:8px}
.kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}
.kpi-row article{background:#fff;border:1px solid #e6e8eb;border-radius:12px;padding:16px 18px}
.kpi-row span,.kpi-row small{display:block;color:#8b93a1;font-size:12px}
.kpi-row b{display:block;margin:6px 0 4px;font-size:28px;line-height:1;font-weight:600;color:#243140;font-variant-numeric:tabular-nums}
.board-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.board-grid .wide{grid-column:1 / -1}
.board .panel{background:#fff;border:1px solid #e6e8eb;border-radius:12px;padding:16px 18px 8px}
.board .panel h3{margin:0 0 4px;font-size:14px;font-weight:600;color:#243140}
.chart-frame{width:100%;height:260px}
.board .quiet{margin:8px 0 16px;color:#8b93a1;font-size:13px}
.rank{list-style:none;margin:0;padding:0}
.rank li{display:grid;grid-template-columns:112px 1fr 28px;align-items:center;gap:10px;margin:0 0 10px}
.rank span{color:#303133;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rank i{display:block;height:8px;background:#f0f2f5;border-radius:99px;overflow:hidden}
.rank b{display:block;height:100%;background:#243140;border-radius:99px;min-width:0}
.rank b.gold{background:#c4a35a}.rank b.muted{background:#8b93a1}.rank b.clay{background:#b86b5a}.rank b.ink{background:#243140}
.rank em{font-style:normal;text-align:right;font-size:13px;color:#303133;font-variant-numeric:tabular-nums}
.agenda{list-style:none;margin:0;padding:0}
.agenda li{display:flex;gap:12px;padding:10px 0;border-top:1px solid #f0f2f5}
.agenda time{width:92px;flex:none;color:#8b93a1;font-size:13px;font-variant-numeric:tabular-nums}
.agenda b{display:block;font-weight:600;color:#243140}
.agenda small{color:#8b93a1}
.notice-line{display:flex;justify-content:space-between;gap:12px;margin:0 0 12px}
.notice-line small{color:#8b93a1}
.stat-pair.slim{min-height:0;padding:0 0 12px}
.stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-height:220px;align-content:center;padding:12px}
.stat-pair div{background:#f6f7f9;border-radius:12px;padding:28px 12px;text-align:center}
.stat-pair b{display:block;font-size:36px;line-height:1;font-weight:600;color:#243140}
.stat-pair span{display:block;margin-top:8px;color:#8b93a1}
.ec_wrap,.myechcart{height:320px}

.room-grid .slot-cell{display:flex;flex-direction:column;min-width:0}
.room-grid .slot-cell button{width:100%;flex:1}
.room-grid .slot-cell button:disabled{background:#f6f7f8;cursor:default}
.meeting-photos{display:flex;gap:8px;flex-wrap:wrap}
.meeting-photos .el-image{width:82px;height:82px;cursor:zoom-in}
.list-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.list-toolbar .el-form{flex:1}.list-toolbar .el-form-item{margin-bottom:8px}
.list-actions{display:flex;gap:8px;flex-shrink:0}.list-actions .el-button+.el-button{margin-left:0}
.list-toolbar .el-button,.list-toolbar .el-input__inner{height:36px;line-height:34px}
.list-toolbar .el-button{padding:0 14px}
