:root{color-scheme:light;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;color:#152033;background:#f3f6fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--sidebar: #071d2d;--sidebar-deep: #041421;--sidebar-panel: #0b2a3f;--sidebar-text: #b8c8d6;--sidebar-strong: #ffffff;--primary: #2563eb;--primary-soft: #eaf1ff;--green: #16a163;--green-soft: #e8f8ef;--orange: #f97316;--orange-soft: #fff1e8;--red: #e05252;--red-soft: #fff0f0;--line: #e1e8f2;--muted: #708095;--card: #ffffff;--page: #f3f6fb}*{box-sizing:border-box}html{min-width:1180px;background:var(--page)}body{margin:0;min-height:100vh;background:var(--page)}button,input,select,textarea{font:inherit}button{cursor:pointer}.admin-shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh}.sidebar{min-height:100vh;color:var(--sidebar-text);background:linear-gradient(180deg,#082337,#041421);box-shadow:12px 0 30px #0b20321f}.brand{display:flex;align-items:center;gap:14px;height:78px;padding:0 22px;color:var(--sidebar-strong);position:relative}.brand-logo{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(135deg,#21c76a,#1fa7ff);overflow:hidden}.brand-logo img{width:100%;height:100%;object-fit:cover}.brand strong{min-width:0;font-size:18px;font-weight:700;white-space:nowrap}.version-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;color:#7f8ea4;background:#ffffff1c;white-space:nowrap}.menu{padding:8px 10px 24px}.menu-group{display:grid;gap:4px;margin-bottom:12px}.menu-title,.submenu-item{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;text-align:left}.menu-title{display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:46px;border-radius:8px;padding:0 14px;color:var(--sidebar-text);font-size:14px}.menu-title.active,.menu-title:hover{color:var(--sidebar-strong);background:#ffffff0d}.menu-title strong{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.menu-title svg,.submenu-item svg{color:currentColor}.chevron{transition:transform .16s ease}.chevron.open{transform:rotate(180deg)}.submenu{display:grid;gap:2px;padding:2px 0 8px}.submenu-item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-height:38px;border-radius:8px;padding:0 14px 0 42px;color:#9fb4c5;font-size:14px}.submenu-item:hover{color:#fff;background:#ffffff0f}.submenu-item.selected{color:#fff;background:var(--sidebar-panel);box-shadow:inset 3px 0 #38bdf8}.page{min-width:0;background:var(--page)}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:0 28px;background:#ffffffdb;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar-account{display:flex;align-items:center;gap:12px;color:#526173;font-size:13px}.topbar-version{color:#8492a6;font-size:12px}.environment-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700;white-space:nowrap}.environment-badge.local{color:var(--green);background:var(--green-soft)}.environment-badge.production{color:var(--orange);background:var(--orange-soft)}.topbar-account button{min-height:30px;border:1px solid #d6e1ef;border-radius:6px;padding:0 10px;color:#334155;background:#fff}.local-copy-banner{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:14px 24px 0;border:1px solid #bbf7d0;border-radius:8px;padding:10px 14px;color:#166534;background:#f0fdf4;font-size:13px;font-weight:700}.local-copy-banner span{color:#4d7c0f;font-weight:500}.login-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:#f3f6fb}.login-panel{display:grid;gap:18px;width:min(420px,calc(100vw - 32px));border:1px solid var(--line);border-radius:8px;padding:28px;background:#fff;box-shadow:0 24px 70px #2032501f}.login-brand{display:flex;align-items:center;gap:14px}.login-brand h1{margin:0 0 6px;color:#111827;font-size:22px}.login-brand span,.login-panel>span{color:var(--muted);font-size:14px}.login-panel label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:700}.login-panel input{height:42px;border:1px solid #d5deeb;border-radius:6px;padding:0 12px;color:#1f2937}.login-panel input:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #2563eb1f}.login-notice{margin:0;color:var(--red);font-size:13px}.breadcrumb{display:flex;align-items:center;gap:10px;color:#6b7b90;font-size:14px}.breadcrumb strong{color:#172033;font-weight:700}.content-card{margin:22px 24px;min-height:calc(100vh - 110px);border:1px solid var(--line);border-radius:8px;background:var(--card);box-shadow:0 18px 50px #2032500f;overflow:hidden}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 28px 20px;border-bottom:1px solid var(--line)}.page-heading span{display:block;margin-bottom:6px;color:var(--primary);font-size:13px;font-weight:700}.page-heading h1{margin:0;color:#111827;font-size:24px;line-height:1.2}.page-heading p{max-width:620px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}.api-state{display:inline-flex;align-items:center;margin-left:10px;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700;white-space:nowrap}.api-state.online{color:var(--green);background:var(--green-soft)}.api-state.offline{color:var(--orange);background:var(--orange-soft)}.search-row{display:flex;align-items:center;gap:12px;min-height:76px;padding:0 28px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.search-row label{display:flex;align-items:center;gap:10px;color:#425168;font-size:14px}.search-row select,.search-row input,.form-row select{height:36px;border:1px solid #d5deeb;border-radius:6px;color:#334155;background:#fff;padding:0 12px;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.search-row select{width:170px}.search-row input{width:240px}.search-row select:focus,.search-row input:focus,.form-row select:focus,.textarea-shell textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.btn,.search-button,.reset-button,.cancel-button,.confirm-button,.post-button,.task-action-primary,.task-action-secondary,.task-action-danger,.link-action,.edit-button{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:0 12px;font-family:inherit;font-size:14px;line-height:1;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,opacity .16s ease}.search-button,.reset-button,.cancel-button,.confirm-button{height:36px;padding:0 16px}.search-button,.confirm-button{border:1px solid var(--primary);color:#fff;background:var(--primary)}.search-button:disabled,.confirm-button:disabled,.cancel-button:disabled,.reset-button:disabled{opacity:.48;cursor:not-allowed}.reset-button,.cancel-button{border:1px solid #d5deeb;color:#475569;background:#fff}.action-row{display:flex;align-items:center;gap:12px;min-height:58px;padding:0 28px;border-bottom:1px solid var(--line)}.link-action,.muted-action{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:0;background:transparent;font-size:14px}.link-action{color:var(--primary);font-weight:600}.muted-action{color:#8a98aa}.device-page{padding-bottom:22px}.count-badge{display:inline-flex;align-items:center;min-height:36px;border-radius:6px;padding:0 12px;font-size:14px}button.count-badge{border:0}.count-badge.blue{color:#fff;background:var(--primary)}.count-badge.red{color:#fff;background:var(--red)}.device-summary-row{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:14px;padding:20px 28px}.device-summary-row div{display:grid;gap:6px;min-height:82px;border:1px solid var(--line);border-radius:8px;padding:16px;background:#f8fafc}.device-summary-row strong{color:#111827;font-size:24px;line-height:1}.device-summary-row span{color:var(--muted);font-size:13px}.device-table-wrap{margin:0 28px;border:1px solid var(--line);border-radius:8px;overflow-x:auto}.device-table{width:100%;min-width:1080px;border-collapse:collapse;color:#334155;font-size:13px}.device-table th,.device-table td{padding:14px 12px;border-bottom:1px solid #edf2f7;text-align:left;vertical-align:middle}.device-table th{color:#475569;background:#f8fafc;font-weight:700;white-space:nowrap}.device-table tr:last-child td{border-bottom:0}.device-table tr:hover td{background:#fbfdff}.mono-id{color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.count-link{border:0;background:transparent;font-weight:800;text-decoration:underline;text-underline-offset:3px}.count-link.ok{color:#2f9e44}.count-link.bad{color:#ef4444}.table-actions .task-action-primary,.table-actions .task-action-secondary,.table-actions .task-action-danger{min-height:30px;border-radius:6px;padding:0 10px;font-weight:700}.table-actions .task-action-primary{border:1px solid var(--primary);color:#fff;background:var(--primary)}.table-actions .task-action-secondary{border:1px solid #cfe0ff;color:var(--primary);background:#f8fbff}.table-actions .task-action-danger{border:1px solid #ffd8d8;color:#d64b4b;background:#fff7f7}.device-table tr.device-row-offline td{color:#94a3b8;background:#fbfcfe}.device-table tr.device-row-abnormal td{background:snow}.device-toolbar{margin:0 28px 14px}.status-tag{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:26px;border-radius:999px;font-weight:700}.status-tag.online{color:var(--green);background:var(--green-soft)}.status-tag.running{color:var(--primary);background:var(--primary-soft)}.status-tag.offline{color:#64748b;background:#eef2f7}.status-tag.abnormal{color:var(--red);background:var(--red-soft)}.status-tag.comment-warning{margin-left:6px;color:#ea580c;background:#fff7ed}.task-cell,.executor-info,.wechat-info{display:grid;gap:4px;line-height:1.45}.wechat-status-head{display:flex;align-items:center;gap:8px;min-width:0}.wechat-status-head strong{min-width:0;overflow-wrap:anywhere}.task-cell em,.executor-info span,.wechat-info span{color:var(--muted);font-style:normal;font-size:12px}.permission-list{display:flex;gap:6px;flex-wrap:wrap;max-width:160px}.permission-list span{display:inline-flex;align-items:center;min-height:24px;border-radius:6px;padding:3px 7px;white-space:nowrap}.permission-list .ok{color:var(--green);background:var(--green-soft)}.permission-list .warn{color:var(--orange);background:var(--orange-soft)}.mini-state,.bind-notice{display:inline-flex;align-items:center;width:fit-content;min-height:24px;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700}.mini-state.ok,.bind-notice{color:var(--green);background:var(--green-soft)}.mini-state.warn{color:var(--orange);background:var(--orange-soft)}.mini-action{display:inline-flex;align-items:center;gap:4px;width:fit-content;min-height:26px;border:1px solid #d4def0;border-radius:6px;padding:0 8px;color:#64748b;background:#f8fafc;font-size:12px}.wechat-probe-button{flex:0 0 auto;color:var(--primary);border-color:#cfe0ff;background:#f8fbff}.wechat-probe-button:disabled{cursor:not-allowed;color:#94a3b8;border-color:#e2e8f0;background:#f8fafc}.wechat-probe-state{display:inline-flex;width:fit-content;border-radius:999px;padding:2px 8px;font-weight:700}.wechat-probe-state.queued,.wechat-probe-state.waiting{color:#2563eb;background:#eff6ff}.wechat-probe-state.success{color:var(--green);background:var(--green-soft)}.wechat-probe-state.failed{color:var(--red);background:var(--red-soft)}.task-cell strong,.executor-info strong,.wechat-info strong{color:#111827;font-size:13px}.task-cell span{color:#64748b}.task-cell b{color:var(--red);font-weight:600}.heartbeat-text{color:#526173;white-space:nowrap}.table-actions{display:flex;gap:8px;flex-wrap:wrap}.table-actions button{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:1px solid #cfe0ff;border-radius:6px;color:var(--primary);background:#f8fbff;padding:0 8px;font-size:13px}.device-edit-modal{width:min(480px,calc(100vw - 32px));overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a3d}.device-detail-modal{display:flex;flex-direction:column;width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 90px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a3d}.device-edit-modal .modal-header div{display:grid;gap:4px}.device-edit-modal .modal-header span,.device-detail-modal .modal-header span{color:var(--muted);font-size:12px}.device-detail-body{display:grid;gap:14px;min-height:0;overflow-y:auto;padding:18px 24px 0}.device-detail-section{display:grid;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfdff}.device-detail-section h3{margin:0;color:#1f2a3d;font-size:15px}.device-detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.device-detail-grid{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px 12px;color:#334155;font-size:13px}.device-detail-grid>span{color:var(--muted)}.device-detail-grid>strong{min-width:0;color:#152033;font-weight:700;overflow-wrap:anywhere}.device-detail-footer .cancel-button,.device-detail-footer .delete-button{gap:6px}.device-detail-footer .delete-button{display:inline-flex;align-items:center;justify-content:center;height:36px;border:1px solid var(--red);border-radius:6px;padding:0 16px;color:#fff;background:var(--red)}.device-edit-body{display:grid;gap:18px;padding:24px}.device-edit-body label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:600}.device-edit-body input,.device-edit-body select{width:100%;height:42px;border:1px solid #d5deeb;border-radius:6px;padding:0 12px;color:#1f2937;background:#fff;font:inherit;font-weight:400}.device-edit-body input:focus,.device-edit-body select:focus{border-color:var(--primary);outline:0;box-shadow:0 0 0 3px #2563eb1f}.device-edit-body .inline-switch-row{grid-template-columns:auto 1fr;align-items:center;color:#334155}.device-edit-body .inline-switch-row input{width:18px;height:18px;padding:0}.org-page{padding-bottom:28px}.org-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.1fr);gap:18px;padding:22px 28px 0}.org-panel{border:1px solid var(--line);border-radius:8px;background:#fbfdff;overflow:hidden}.org-panel header{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid var(--line);padding:0 16px;color:#172033}.inline-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 16px}.inline-create-row input,.account-create-form input,.account-create-form select{min-width:0;height:40px;border:1px solid #d5deeb;border-radius:6px;padding:0 10px;color:#1f2937;background:#fff}.org-list{display:grid;gap:8px;padding:0 16px 16px}.org-list-item{display:grid;gap:4px;border:1px solid #e8eef6;border-radius:8px;padding:12px;background:#fff}.org-list-item strong{color:#111827}.org-list-item span,.account-create-form small{color:var(--muted);font-size:12px}.account-create-form{display:grid;gap:12px;padding:16px}.team-checks{display:flex;flex-wrap:wrap;gap:8px}.team-checks label{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #dbe5f1;border-radius:999px;padding:0 10px;color:#334155;background:#fff;font-size:13px;font-weight:500}.team-checks input{width:auto;height:auto}.device-team-checks{padding:8px 0 2px}.org-account-table{margin-top:20px}.placeholder-page{padding-bottom:28px}.placeholder-panel{display:grid;justify-items:center;gap:10px;margin:28px;border:1px dashed #cbd7e6;border-radius:8px;padding:44px 24px;color:#526173;background:#fbfdff;text-align:center}.placeholder-panel strong{color:#111827;font-size:18px}.wecom-settings-page{padding-bottom:28px}.wecom-clock-page{padding-bottom:24px}.wecom-clock-heading{position:relative;padding-right:360px}.wecom-clock-heading-actions{position:absolute;right:28px;top:26px;display:flex;gap:10px}.wecom-clock-heading-actions .post-button,.clock-manager-toolbar .post-button{display:inline-flex;align-items:center;gap:6px;min-height:34px;border:0;border-radius:6px;padding:0 14px;color:#fff;background:var(--primary);font-weight:700}.wecom-clock-summary{grid-template-columns:repeat(5,minmax(120px,1fr))}.wecom-clock-tip{margin:12px 28px 0;color:#8a6d3b;font-size:13px}.wecom-clock-table-wrap,.clock-settings-table-wrap{margin-top:18px}.wecom-clock-table{min-width:1180px}.wecom-clock-table td,.clock-settings-table td{height:58px}.clock-subline{display:block;margin-top:4px;color:#8492a6;font-size:12px;font-weight:500}.clock-action-pill{display:inline-flex;align-items:center;min-height:24px;border:1px solid #bfdbfe;border-radius:999px;padding:0 9px;color:#1d4ed8;background:#eff6ff;font-weight:700}.clock-row-actions{display:flex;flex-wrap:wrap;gap:6px}.clock-settings-overview{margin:0 28px}.clock-settings-inline-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.clock-settings-inline-head p{margin:0;color:#5f6f82}.clock-settings-inline-head div{display:flex;flex:0 0 auto;gap:8px}.clock-settings-mini-list{display:grid;gap:10px;padding:0 18px 18px}.clock-settings-mini-list div{display:grid;grid-template-columns:180px 1fr auto;gap:12px;align-items:center;border:1px solid #e7eef8;border-radius:8px;padding:12px;background:#fbfdff}.clock-settings-mini-list span,.clock-settings-mini-list em{color:#64748b;font-style:normal}.clock-manager-modal,.clock-setting-modal{width:min(1180px,calc(100vw - 96px))}.clock-manager-body,.clock-setting-body{padding:22px 28px}.clock-manager-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.clock-manager-toolbar>div{display:flex;align-items:baseline;gap:8px;color:#64748b}.clock-manager-toolbar strong{color:#111827;font-size:24px}.clock-setting-form-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px}.clock-setting-form-grid label,.clock-setting-section{display:grid;gap:8px}.clock-setting-form-grid span,.clock-setting-section>strong{color:#334155;font-size:13px;font-weight:700}.clock-setting-form-grid input,.clock-setting-form-grid select{height:40px;border:1px solid #d8e0ea;border-radius:6px;padding:0 10px;color:#27364d;background:#fff}.clock-setting-section{border-top:1px solid #edf2f7;padding-top:18px}.clock-day-selector{display:flex;flex-wrap:wrap;gap:8px}.clock-day-selector button{min-height:34px;border:1px solid #d5deeb;border-radius:6px;padding:0 14px;color:#475569;background:#fff}.clock-day-selector button.selected{border-color:var(--primary);color:#fff;background:var(--primary)}.clock-device-toolbar{display:flex;align-items:center;gap:8px;color:#64748b}.clock-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:260px;overflow:auto}.clock-device-grid label{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;border:1px solid #e0e8f3;border-radius:8px;padding:10px;background:#fbfdff}.clock-device-grid label.disabled{opacity:.52}.clock-device-grid span{display:grid;gap:4px}.clock-device-grid em{color:#748295;font-size:12px;font-style:normal}.clock-safety-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.clock-safety-grid label{display:flex;align-items:center;gap:8px;border:1px solid #dbe7f5;border-radius:8px;padding:12px;color:#334155;background:#fbfdff}.clock-safety-grid label.danger{border-color:#ffd4d4;color:#b42318;background:#fff7f7}.settings-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:18px 28px 0}.settings-tabs button{min-height:38px;border:1px solid #d8e0ea;border-radius:999px;padding:0 16px;color:#526173;background:#fff;font-weight:700}.settings-tabs button.active{border-color:var(--primary);color:#fff;background:var(--primary)}.settings-panel{display:grid;gap:18px;margin:20px 28px 0;border:1px solid var(--line);border-radius:10px;padding:20px;background:#fbfdff}.settings-panel header{display:flex;align-items:center;gap:8px;color:#111827;font-size:16px}.settings-form{display:grid;gap:14px;max-width:620px}.settings-form label{display:grid;gap:8px;color:#334155;font-weight:700}.settings-form input{height:42px;border:1px solid #d5deeb;border-radius:8px;padding:0 12px;color:#1f2937;background:#fff;outline:0}.settings-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.settings-form p{margin:0;color:var(--muted);line-height:1.7}.settings-placeholder{margin-top:20px}.local-sync-page{padding-bottom:28px}.local-sync-alert{display:flex;gap:12px;align-items:flex-start;margin:18px 28px 0;border:1px solid #bfd4ff;border-radius:10px;padding:14px 16px;color:#1d4ed8;background:#eef5ff}.local-sync-alert div{display:grid;gap:4px}.local-sync-alert span,.local-sync-card p,.local-sync-last span,.local-sync-env em,.local-sync-preview-meta span,.local-sync-warnings span{color:var(--muted);font-size:13px;line-height:1.6}.local-sync-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:18px;padding:0 28px}.local-sync-card{margin-left:0;margin-right:0}.local-sync-env,.local-sync-last,.local-sync-preview-meta,.local-sync-warnings{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}.local-sync-last{display:grid;align-items:initial}.local-sync-counts{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.local-sync-counts span{display:grid;gap:4px;border:1px solid #e5edf7;border-radius:8px;padding:12px;color:var(--muted);background:#fff;font-size:12px}.local-sync-counts b{color:#111827;font-size:20px}.local-sync-form{max-width:none}.local-sync-preview{margin-top:18px}.local-sync-table{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.local-sync-warnings{align-items:stretch}.local-sync-warnings span{border-radius:8px;padding:8px 10px;color:#9a3412;background:var(--orange-soft)}.dashboard-page{padding-bottom:28px}.dashboard-summary{grid-template-columns:repeat(5,minmax(120px,1fr))}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 28px 28px}.dashboard-panel{border:1px solid var(--line);border-radius:8px;background:#fbfdff;overflow:hidden}.dashboard-panel header{display:flex;align-items:center;justify-content:space-between;min-height:50px;border-bottom:1px solid var(--line);padding:0 16px}.dashboard-panel header strong{color:#111827}.dashboard-panel header button{min-height:30px;border:1px solid #cfe0ff;border-radius:6px;padding:0 10px;color:var(--primary);background:#f8fbff}.dashboard-status-list{display:grid;gap:8px;padding:14px 16px 16px}.dashboard-status-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e8eef6;border-radius:8px;padding:10px;background:#fff}.dashboard-status-item strong{min-width:0;overflow:hidden;color:#111827;text-overflow:ellipsis;white-space:nowrap}.dashboard-status-item em,.empty-line{color:var(--muted);font-size:12px;font-style:normal}.device-edit-error{margin:-4px 0 0;color:var(--red);font-size:13px}.device-edit-footer{border-top:1px solid var(--line);padding:16px 24px}.table-actions button:hover{border-color:var(--primary);background:var(--primary-soft)}.table-actions button.danger{border-color:#ffd0d0;color:var(--red);background:var(--red-soft)}.table-actions button.danger:hover{border-color:var(--red);background:#ffe5e5}.table-actions button:disabled{opacity:.58;cursor:not-allowed}.task-page{padding-bottom:24px}.mobile-task-titlebar,.mobile-task-summary-row,.mobile-task-controls,.mobile-task-filter-layer,.mobile-task-action-layer,.mobile-section-tabs,.mobile-more-menu-mask{display:none}.mobile-task-more-button{display:none!important}.task-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 28px 0;border:1px solid var(--line);border-radius:10px;padding:14px;background:#fbfdff}.task-filter-row label{display:flex;align-items:center;gap:8px;color:#526173;font-size:14px}.task-filter-row select,.task-filter-row input{height:38px;border:1px solid #d8e0ea;border-radius:6px;padding:0 10px;color:#27364d;background:#fff}.task-filter-row input{width:260px}.task-filter-row button{height:38px;border-radius:6px;padding:0 18px}.task-filter-row .post-button{border:0;color:#fff}.task-subsection{margin-top:24px;padding-top:12px;border-top:1px solid var(--line)}.task-subsection .page-heading{padding:18px 28px 12px;border-bottom:none}.task-subsection .page-heading h2{margin:0;color:#111827;font-size:20px;line-height:1.2}.cancel-button.small{min-width:72px;height:38px}.task-table-wrap{margin-top:20px}.task-table{min-width:920px}.task-hint{color:var(--muted);font-size:13px}.job-text{display:-webkit-box;max-width:420px;overflow:hidden;color:#334155;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.job-text-single{display:block;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-text-single span{color:var(--muted)}.task-result{display:grid;max-width:420px;gap:6px;overflow:hidden;color:#475569;line-height:1.45;text-overflow:ellipsis}.task-result.error{color:var(--red)}.task-result span{color:var(--muted);font-size:12px}.flow-timeline{display:grid;gap:4px;border-left:2px solid #dbeafe;padding-left:10px}.flow-timeline-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:baseline;color:#475569;font-size:12px}.flow-timeline-item time{color:var(--muted);white-space:nowrap}.flow-timeline-item span{color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-timeline-item em{grid-column:2;color:var(--muted);font-style:normal}.flow-timeline-item.success span{color:#15803d}.flow-timeline-item.warn span{color:#b45309}.flow-timeline-item.error span{color:var(--red)}.task-record-list{display:grid;gap:14px;margin:20px 28px 0}.task-record-card{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;border:1px solid var(--line);border-radius:8px;padding:18px;background:#fff}.task-record-main{min-width:0}.task-record-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.task-record-head strong{color:#475569;font-size:13px;font-weight:600}.task-record-text{display:-webkit-box;max-width:980px;margin:0 0 12px;overflow:hidden;color:#28384d;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:4}.task-record-images{position:relative;display:grid;width:min(420px,100%);grid-template-columns:repeat(4,minmax(72px,1fr));gap:8px;margin-top:10px}.task-record-images.count-1{grid-template-columns:148px}.task-record-images.count-2{grid-template-columns:repeat(2,128px)}.task-record-images.count-3{grid-template-columns:repeat(3,112px)}.task-image-more{position:absolute;right:8px;bottom:8px;border-radius:999px;padding:3px 8px;color:#fff;background:#0f172ac7;font-size:12px;font-weight:700}.task-image-count{display:inline-flex;border-radius:999px;padding:6px 10px;color:#64748b;background:#f2f6f8;font-size:13px}.task-record-side{display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--line);padding-left:18px}.task-side-section{display:grid;gap:8px;border-bottom:1px solid #edf2f7;padding-bottom:12px}.task-side-section:last-child{margin-top:auto;border-bottom:0;padding-bottom:0}.task-side-title{color:#718096;font-size:12px;font-weight:700;letter-spacing:0}.task-count-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #e8eef6;border-radius:8px}.task-count-grid span{display:grid;gap:2px;min-height:56px;border-top:1px solid #e8eef6;padding:8px 10px;color:#64748b;background:#fff;font-size:12px}.task-count-grid span:nth-child(odd){border-right:1px solid #e8eef6}.task-count-grid span:nth-child(-n+2){border-top:0}.task-count-grid b{color:#111827;font-size:19px;line-height:1.1}.task-count-grid .ok b{color:var(--green)}.task-count-grid .bad b{color:var(--red)}.task-count-grid .warn b{color:#f97316}.task-summary{gap:8px}.task-summary-items{display:flex;flex-wrap:wrap;gap:6px}.task-summary-items span{display:inline-flex;align-items:baseline;gap:4px;min-height:28px;border:1px solid #e8eef6;border-radius:999px;padding:4px 8px;color:#64748b;background:#fff;font-size:12px;line-height:1}.task-summary-items b{color:#111827;font-size:14px;line-height:1}.task-summary-items .ok b{color:var(--green)}.task-summary-items .bad b{color:var(--red)}.task-summary-items .warn{border-color:#fed7aa;color:#c2410c;background:#fff7ed}.task-summary-items .warn b{color:#f97316}.task-record-message{display:-webkit-box;min-height:40px;overflow:hidden;color:#64748b;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.task-record-card:has(.status-tag.abnormal) .task-record-message{color:var(--red)}.task-side-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-side-time-grid span{display:grid;gap:4px;color:#64748b;font-size:12px}.task-side-time-grid b{color:#718096;font-size:12px;font-weight:700}.task-record-actions{display:grid;gap:8px}.task-record-actions button,.task-pagination button{min-height:32px;border:1px solid #cfe0ff;border-radius:6px;color:var(--primary);background:#f8fbff;padding:0 10px}.task-record-actions button{display:inline-flex;align-items:center;width:100%;justify-content:center;font-weight:700}.task-record-actions .task-action-primary{border-color:var(--primary);color:#fff;background:var(--primary)}.task-record-actions .task-action-primary:hover:not(:disabled){border-color:#1d4ed8;background:#1d4ed8}.task-record-actions .task-action-secondary{border-color:#cfe0ff;color:var(--primary);background:#f8fbff}.task-record-actions button:disabled,.task-pagination button:disabled{opacity:.48;cursor:not-allowed}.delete-moments-button,.task-record-actions .task-action-danger{border:1px solid #ffd8d8;border-radius:6px;color:#d64b4b;background:#fff7f7;padding:6px 10px}.delete-moments-button:hover:not(:disabled){border-color:#f3aaaa;background:#fff0f0}.delete-moments-button:disabled{opacity:.55;cursor:progress}.delete-moments-modal{max-width:560px}.delete-mode-options{display:grid;gap:10px}.delete-mode-options label{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;border:1px solid #dbe7f5;border-radius:8px;padding:12px;background:#fbfdff}.delete-mode-options label.selected{border-color:#9cc3ff;background:#f3f8ff}.delete-mode-options label.danger{border-color:#ffd6d6;background:snow}.delete-mode-options label.danger.selected{border-color:#f0a7a7;background:#fff3f3}.delete-mode-options input{margin-top:3px}.delete-mode-options strong,.delete-mode-options small{display:block}.delete-mode-options small,.delete-ordinal-input em{margin-top:4px;color:#64748b;font-size:12px;font-style:normal;line-height:1.5}.delete-ordinal-input input{width:120px}.delete-warning-box{border:1px solid #ffd6d6;border-radius:8px;margin-top:12px;padding:10px 12px;color:#b42318;background:#fff7f7;font-size:13px;line-height:1.5}.delete-submit-status,.delete-submit-error{border:1px solid #cfe0ff;border-radius:8px;margin-top:10px;padding:10px 12px;color:var(--primary);background:#f8fbff;font-size:13px;line-height:1.5}.delete-submit-error{border-color:#ffd6d6;color:#b42318;background:#fff7f7}.delete-moments-modal .modal-close:disabled{opacity:.48;cursor:not-allowed}.material-type-badge.delete{color:#b42318;background:#fff1f1}.material-type-badge.append{color:#0f766e;background:#e8fbf8}.delete-source-line{display:inline-flex;width:fit-content;max-width:100%;border-radius:999px;margin:0 0 10px;padding:5px 9px;color:#64748b;background:#f6f9fc;font-size:12px;font-weight:700;overflow-wrap:anywhere}.task-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 0 4px;color:#64748b;font-size:13px}.task-pagination strong{color:#263646}.task-detail-modal{display:flex;flex-direction:column;width:min(1120px,calc(100vw - 80px));max-height:calc(100vh - 90px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a3d}.task-detail-body{display:grid;gap:16px;min-height:0;overflow-y:auto;padding:18px 24px 8px}.task-detail-summary{display:grid;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;background:#fbfdff}.task-detail-summary>strong{display:-webkit-box;overflow:hidden;color:#27364d;font-size:15px;line-height:1.6;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:3}.task-detail-table-wrap{margin:0}.task-detail-table{min-width:860px}.device-id-line{display:block;margin-top:4px;color:var(--muted);font-size:12px}.failed-device-link{border:0;color:var(--red);background:transparent;padding:0;font:inherit;font-weight:700;cursor:pointer}.failed-device-link:hover{text-decoration:underline}.failure-log-row td{background:#fff7f7!important;padding:0!important}.failure-log-panel{display:grid;gap:8px;border-left:3px solid var(--red);padding:14px 18px}.failure-log-panel>strong{color:var(--red)}.failure-log-item{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;color:#7f1d1d;line-height:1.5}.failure-log-item time{color:var(--muted);white-space:nowrap}.comment-editor-row{align-items:flex-start}.comment-list-editor{display:grid;width:100%;gap:12px}.append-device-select{display:grid;gap:8px;color:#516078;font-size:14px}.append-device-select select{min-height:42px;border:1px solid #d7deea;border-radius:8px;background:#fff;padding:0 12px;color:#27364d}.comment-editor-card{display:grid;gap:8px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fafcff}.comment-editor-card textarea{min-height:76px;resize:vertical}.comment-editor-head{display:flex;align-items:center;justify-content:space-between}.comment-editor-head button,.add-comment-row,.append-comment-button{border:1px solid #cfe0ff;border-radius:6px;color:var(--primary);background:#f8fbff;padding:6px 10px}.comment-image-upload{display:flex;align-items:center;justify-content:center;gap:6px;min-height:54px;border:1px dashed #b8cae6;border-radius:8px;color:var(--primary);background:#fff;cursor:pointer}.comment-image-upload input{display:none}.comment-image-dropzone{display:grid;gap:8px;border:1px dashed transparent;border-radius:8px;padding:4px;outline:none}.comment-image-dropzone:focus,.comment-image-dropzone.drag-active{border-color:var(--primary);background:#eef5ff}.comment-image-previews{display:flex;flex-wrap:wrap;gap:8px}.comment-image-preview{position:relative;width:72px;height:72px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.comment-image-preview img{width:100%;height:100%;object-fit:cover}.comment-image-preview button{position:absolute;top:3px;right:3px;display:grid;width:20px;height:20px;place-items:center;border:0;border-radius:50%;color:#fff;background:#00000094}.comment-image-dropzone small{color:var(--muted)}.task-result.clickable{cursor:pointer}.task-result.clickable:hover{text-decoration:underline}.failed-job-actions{flex-wrap:nowrap}.append-comment-modal{max-width:680px}.muted-text{color:var(--muted)}.material-grid{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:18px;padding:22px 28px 30px}.material-card{position:relative;display:flex;flex-direction:column;min-height:390px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff}.material-type-badge{align-self:flex-start;border-radius:999px;margin-bottom:10px;padding:4px 9px;color:#31506d;background:#edf4f8;font-size:12px;font-weight:700}.material-type-badge.text{color:#6d3ac7;background:#f3edff}.card-tools{display:flex;align-items:center;justify-content:space-between;gap:8px}.check-label{display:flex;align-items:center;gap:8px;flex:0 0 auto;color:#3b4654;font-size:14px}.check-label input{width:14px;height:14px;margin:0;accent-color:var(--primary)}.card-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.card-buttons button{height:30px;border:0;border-radius:6px;color:#fff;padding:0 10px;font-size:13px}.post-button{background:var(--primary)}.post-button:disabled{opacity:.68;cursor:progress}.edit-button,.delete-button{background:var(--red)}.delete-button:disabled,.muted-action:disabled{opacity:.55;cursor:not-allowed}.material-text-block{position:relative;margin:14px 0 12px;min-width:0}.material-text-preview{margin:0;min-height:64px;color:#334155;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.material-text-preview.collapsed{display:-webkit-box;max-height:108px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.material-text-block:has(.material-text-preview.collapsed):after{position:absolute;right:0;bottom:26px;left:0;height:24px;pointer-events:none;background:linear-gradient(180deg,#fff0,#fff);content:""}.material-text-toggle{position:relative;z-index:1;border:0;padding:0;color:var(--primary);background:transparent;font-size:13px;font-weight:700}.material-comment{min-height:34px;margin:-4px 0 12px;border-left:3px solid #d6e4ea;padding-left:9px;color:#657386;font-size:13px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-content:start}.count-1{grid-template-columns:1fr}.count-2{grid-template-columns:repeat(2,1fr)}.mock-image{position:relative;display:grid;aspect-ratio:1;place-items:center;border-radius:6px;padding:8px;border:1px solid #e2e8f0;background:#fff;color:#1f2937;font-size:12px;text-align:center;overflow:hidden}.mock-image img{width:100%;height:100%;object-fit:contain;background:#fff}.mock-image>span:not(.image-order-badge){display:block;margin-top:5px}.tone-1,.tone-2,.tone-3,.tone-4{background:#fff}.material-meta,.material-sync{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;color:#657386;font-size:12px}.material-meta span,.material-sync{border-radius:999px;background:#f2f6f8;padding:5px 8px}.material-sync{display:block;border-radius:6px;color:#126f48;background:#e8f7ef}.material-notice{margin:14px 28px 0;border:1px solid #cfe3ed;border-radius:8px;padding:12px 14px;color:#245165;background:#f3fafc;font-size:14px}.empty-materials{display:grid;min-height:280px;place-items:center;align-content:center;gap:10px;margin:24px 28px 30px;border:1px dashed #c9d7e1;border-radius:8px;color:#657386;background:#fbfdfe;text-align:center}.empty-materials strong{color:#263646;font-size:18px}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:start center;padding-top:80px;background:#0f172a80}.material-modal{width:812px;max-height:calc(100vh - 120px);overflow-y:auto;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a3d}.publish-modal{display:flex;flex-direction:column;width:min(1280px,calc(100vw - 96px));max-height:calc(100vh - 88px);overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a3d}.modal-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;height:68px;padding:0 24px;border-bottom:1px solid var(--line)}.modal-header h2{margin:0;color:#111827;font-size:18px;font-weight:700}.modal-close{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:6px;color:#8a96a5;background:transparent}.modal-close:hover{background:#f1f5f9}.modal-body{display:grid;gap:26px;padding:24px 110px 0 70px}.form-row{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:28px;color:#3d4b5d;font-size:14px}.form-row>span{padding-top:10px;text-align:right}.form-row.compact{grid-template-columns:82px minmax(0,1fr);gap:18px}.form-row select{width:224px}.material-type-switch{display:inline-flex;width:fit-content;padding:3px;border:1px solid #d8e0ea;border-radius:8px;background:#f8fafc}.material-type-switch button{min-width:88px;padding:8px 18px;border:0;border-radius:6px;color:#64748b;background:transparent}.material-type-switch button.active{color:#fff;background:#16a36a}.textarea-shell{position:relative}.textarea-shell textarea{width:100%;height:140px;resize:vertical;border:1px solid #d8e0ea;border-radius:6px;color:#1f2937;outline:none;padding:12px 42px 12px 12px;line-height:1.6}.textarea-icon{position:absolute;right:12px;bottom:10px;color:#64748b}.upload-area{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;border:1px dashed transparent;border-radius:8px;padding:4px;outline:none}.upload-area:focus,.upload-area.drag-active{border-color:var(--primary);background:#f4f8ff}.upload-box,.upload-preview{position:relative;display:grid;width:104px;height:104px;place-items:center;border:1px dashed #bdd0e5;border-radius:8px;color:var(--primary);background:#fff;overflow:hidden}.upload-box input{display:none}.upload-box span{color:#5f6f85;font-size:12px}.upload-preview{border-style:solid;color:#fff}.upload-preview img{width:100%;height:100%;object-fit:cover}.upload-preview button{cursor:pointer}.upload-preview .upload-remove-button{position:absolute;top:4px;right:4px;display:grid;width:20px;height:20px;place-items:center;border:0;border-radius:50%;color:#fff;background:#00000080}.image-order-badge{position:absolute;top:5px;left:5px;z-index:2;display:grid;min-width:24px;height:24px;place-items:center;border-radius:999px;padding:0 6px;color:#fff;background:#0f172ad1;font-size:12px;font-weight:700;line-height:1}.upload-order-actions{position:absolute;right:5px;bottom:5px;left:5px;z-index:2;display:flex;justify-content:center;gap:5px}.upload-order-actions button{display:grid;width:28px;height:24px;place-items:center;border:0;border-radius:6px;color:#fff;background:#0f172ac7}.upload-order-actions button:disabled{opacity:.35;cursor:default}.upload-area p{flex-basis:100%;margin:12px 0 0;color:var(--red);font-size:13px;line-height:1.8}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:42px 24px 22px}.publish-body{flex:1 1 auto;display:grid;grid-template-columns:minmax(520px,1fr) 520px;min-height:0;overflow-y:auto}.publish-editor{display:grid;align-content:start;gap:20px;border-right:1px solid var(--line);padding:24px 28px 20px}.publish-warning{color:#ff2f2f;font-size:16px;font-weight:700}.publish-modal .textarea-shell textarea{height:118px}.publish-images{display:flex;flex-wrap:wrap;gap:10px}.publish-image{position:relative;width:88px;height:88px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#f8fafc}.publish-image img{width:100%;height:100%;object-fit:cover}.radio-line{display:flex;flex-wrap:wrap;gap:18px;min-height:36px;align-items:center;color:#405166}.radio-line label{display:inline-flex;align-items:center;gap:7px}.radio-line input{accent-color:var(--primary)}.radio-line em{color:#64748b;font-size:12px;font-style:normal}.schedule-panel{display:grid;gap:12px}.schedule-input{width:260px;height:36px;border:1px solid #d8e0ea;border-radius:6px;padding:0 10px}.delay-input{width:96px;height:36px;border:1px solid #d8e0ea;border-radius:6px;padding:0 10px}.delay-input:disabled{background:#f3f6fa;color:#96a1af}.thread-input{width:72px;height:32px;border:1px solid #d8e0ea;border-radius:6px;padding:0 8px}.thread-input:disabled{background:#f3f6fa;color:#96a1af}.field-unit{color:#64748b;font-style:normal}.publish-devices{min-height:0;padding:24px 28px;background:#fbfdff}.publish-device-all{display:inline-flex;align-items:center;gap:8px;margin:14px 0 12px;color:#334155;font-weight:700}.publish-device-all input{accent-color:var(--primary)}.device-select-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.device-select-head strong{color:#111827;font-size:16px}.device-select-head span{color:var(--muted);font-size:13px}.device-search-row{display:flex;align-items:center;gap:8px;margin-bottom:14px}.device-search-row input{width:100%;height:38px;border:1px solid #d8e0ea;border-radius:6px;padding:0 12px;color:#334155;background:#fff}.publish-device-list{display:grid;gap:8px;max-height:500px;overflow-y:auto;padding-right:4px}.publish-device-item{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;color:#435168;font-size:14px}.publish-device-item input{accent-color:var(--primary)}.publish-device-item.disabled{opacity:.56}.publish-device-item.disabled input{cursor:not-allowed}.publish-device-identity{display:grid;gap:2px;overflow:hidden}.publish-device-identity strong,.publish-device-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.publish-device-identity strong{color:#1f2937}.publish-device-identity small{color:#64748b}.publish-device-item em{border-radius:6px;padding:3px 6px;font-style:normal;font-size:12px}.publish-device-item em.online{color:#0f7a49;background:var(--green-soft)}.publish-device-item em.offline{color:#d71920;background:var(--red-soft)}.append-target-summary span{display:block;margin-top:6px;color:#64748b;font-size:13px}.publish-footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:14px;border-top:1px solid var(--line);padding:18px 28px}.publish-submit-feedback{flex:0 0 auto;margin:0 28px 14px;border:1px solid #cfe0ff;border-radius:8px;padding:10px 12px;color:var(--primary);background:#f8fbff;font-size:13px;line-height:1.5}.publish-submit-feedback.error{border-color:#ffd6d6;color:#b42318;background:#fff7f7}.publish-modal .modal-close:disabled{opacity:.48;cursor:not-allowed}.cancel-button,.confirm-button{min-width:88px;height:42px}.mobile-material-top,.mobile-material-banner,.mobile-material-summary,.mobile-bottom-nav{display:none}@media(max-width:1500px){.material-grid{grid-template-columns:repeat(3,minmax(230px,1fr))}}@media(max-width:900px){html{min-width:1180px}body{overflow-x:auto}button,input,select,textarea{font-size:16px}.admin-shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh;padding-bottom:0}.sidebar{display:block}.topbar{display:flex}.content-card{margin:22px 24px;min-height:calc(100vh - 110px);border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 50px #2032500f}.material-page-card{background:#f5f6fa}.material-page-card>.page-heading,.material-page-card>.search-row,.material-page-card>.action-row{display:none}.mobile-material-top{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 14px 12px;background:#fff}.mobile-search-box{display:flex;align-items:center;gap:8px;min-width:0;height:44px;border-radius:999px;padding:0 14px;color:#9aa4b2;background:#f1f3f6}.mobile-search-box input{width:100%;min-width:0;border:0;outline:0;color:#1f2937;background:transparent}.mobile-search-box input::placeholder{color:#a5adba}.mobile-add-button{display:inline-flex;align-items:center;gap:4px;height:44px;border:0;border-radius:999px;padding:0 14px;color:#fff;background:#7c3aed;font-weight:700;white-space:nowrap;box-shadow:0 8px 18px #7c3aed38}.mobile-material-banner{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 14px;color:#e85d24;background:#fff7ea;border-top:1px solid #fff1d8;border-bottom:1px solid #ffe8c0}.mobile-material-banner strong{min-width:0;flex:1;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.mobile-material-banner button{min-height:32px;border:1px solid #ffd7b7;border-radius:999px;padding:0 14px;color:#d95516;background:#fff;font-size:14px}.mobile-material-summary{display:flex;align-items:center;gap:28px;overflow-x:auto;min-height:54px;padding:0 14px;color:#30333a;background:#fff;border-bottom:1px solid #eceff4;font-size:17px;font-weight:700;white-space:nowrap}.mobile-material-summary button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:54px;border:0;padding:0 4px;color:inherit;background:transparent;font:inherit}.mobile-material-summary .active{color:#7c3aed}.mobile-material-summary .active:after{position:absolute;right:0;bottom:0;left:0;height:4px;border-radius:999px 999px 0 0;background:#7c3aed;content:""}.page-heading{display:grid;gap:12px;padding:18px 14px 16px}.page-heading h1{font-size:22px}.page-heading p{max-width:none;font-size:13px}.api-state{margin:8px 0 0}.search-row,.action-row{align-items:stretch;min-height:0;padding:12px 14px}.search-row label{width:100%}.search-row label{display:grid;gap:6px}.search-row select,.search-row input{width:100%}.search-button,.reset-button,.link-action,.muted-action{min-height:42px}.action-row{flex-wrap:wrap}.mobile-section-tabs{display:flex;gap:8px;margin:12px 16px 0;border:1px solid var(--line);border-radius:8px;padding:4px;background:#fff}.mobile-section-tabs button{flex:1 1 0;min-height:40px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:14px;font-weight:700}.mobile-section-tabs button.active{color:#fff;background:var(--primary)}.publish-task-page>.page-heading,.publish-task-page>.device-summary-row{display:none}.mobile-task-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 16px 0}.mobile-task-titlebar h1{margin:0;color:#152033;font-size:22px;line-height:1.2}.mobile-task-titlebar .api-state{flex:0 0 auto;margin-left:0}.mobile-task-summary-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:12px 16px 0}.mobile-task-summary-row span{display:inline-flex;align-items:baseline;gap:4px;min-height:24px;color:var(--muted);font-size:11px;line-height:1}.mobile-task-summary-row strong{color:#152033;font-size:20px;line-height:1}.mobile-task-summary-row .ok strong{color:var(--green)}.mobile-task-summary-row .bad strong{color:var(--red)}.mobile-task-summary-row .warn strong{color:var(--orange)}.mobile-task-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 16px 0}.mobile-task-controls input{flex:1 1 100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:0 14px;color:#27364d;background:#fff;font-size:14px}.mobile-task-controls button{min-width:72px;min-height:44px;border:1px solid var(--line);border-radius:6px;color:var(--primary);background:#fff;font-weight:700}.mobile-task-controls .mobile-filter-button{background:var(--primary-soft)}.publish-task-page>.action-row,.publish-task-page>.task-filter-row{display:none}.mobile-task-filter-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:39;display:block}.mobile-task-filter-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a42}.mobile-task-filter-panel{position:absolute;top:74px;right:12px;left:12px;border:1px solid var(--line);border-radius:8px;padding:16px;background:#fff;box-shadow:0 16px 40px #0f172a24}.mobile-task-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.mobile-task-filter-head strong{color:#152033;font-size:18px}.mobile-task-filter-head button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff}.mobile-task-filter-section{display:grid;gap:10px;margin-top:14px;color:var(--muted);font-size:13px;font-weight:700}.mobile-filter-chip-list{display:flex;flex-wrap:wrap;gap:8px}.mobile-filter-chip-list button{min-height:44px;border:1px solid #cfe0ff;border-radius:6px;padding:0 12px;color:var(--primary);background:#fff;font-weight:700}.mobile-filter-chip-list button.active{border-color:var(--primary);color:#fff;background:var(--primary)}.mobile-task-filter-section input{min-height:44px;border:1px solid var(--line);border-radius:6px;padding:0 12px;color:#27364d;background:#fff;font-size:14px;font-weight:400}.mobile-task-filter-actions{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.mobile-task-filter-actions button{flex:1 1 0;min-height:44px;border:1px solid var(--line);border-radius:6px;color:var(--primary);background:#fff;font-weight:700}.mobile-task-filter-actions .primary{border-color:var(--primary);color:#fff;background:var(--primary)}.mobile-task-filter-help{border:1px solid var(--line);border-radius:8px;margin-top:16px;padding:10px 12px;color:var(--muted);background:#fbfdff;font-size:13px;line-height:1.45}.device-summary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.device-summary-row div{min-height:74px;padding:14px}.device-page>.page-heading p{font-size:0}.device-page>.page-heading p .api-state{font-size:12px}.append-task-page>.page-heading p{display:none}.delete-task-page>.page-heading p{font-size:0}.delete-task-page>.page-heading p .api-state{font-size:12px}.device-page>.device-summary-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:12px 16px 0;padding:0}.device-page>.device-summary-row div{display:inline-flex;align-items:baseline;gap:4px;min-height:24px;border:0;padding:0;background:transparent}.device-page>.device-summary-row strong{color:#152033;font-size:20px;line-height:1}.device-page>.device-summary-row span{color:var(--muted);font-size:11px;line-height:1}.device-table-wrap{margin:0 14px;position:relative}.device-table-wrap:after{display:none}.device-table{min-width:0}.device-table tbody tr{cursor:pointer}.device-table .device-table-detail-col{display:none}.task-table{min-width:760px}.task-filter-row{display:grid;margin:14px 16px 0}.task-filter-row label{display:grid;align-items:start}.task-filter-row input,.task-filter-row select{width:100%}.task-record-list{margin:16px}.task-record-card{grid-template-columns:1fr}.task-record-side{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.publish-task-page .desktop-task-action{display:none}.publish-task-page .mobile-task-more-button{display:inline-flex!important}.publish-task-page .task-record-actions{grid-template-columns:minmax(0,1fr) 76px}.append-task-page .task-record-actions,.delete-task-page .task-record-actions{grid-template-columns:1fr}.publish-task-page .task-record-actions button,.append-task-page .task-record-actions button,.delete-task-page .task-record-actions button{min-height:44px}.append-task-page>.device-summary-row,.delete-task-page>.device-summary-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:12px 16px 0;padding:0}.append-task-page>.device-summary-row div,.delete-task-page>.device-summary-row div{display:inline-flex;align-items:baseline;gap:4px;min-height:24px;border:0;padding:0;background:transparent}.append-task-page>.device-summary-row strong,.delete-task-page>.device-summary-row strong{color:#152033;font-size:20px;line-height:1}.append-task-page>.device-summary-row span,.delete-task-page>.device-summary-row span{color:var(--muted);font-size:11px;line-height:1}.delete-task-page .action-row .task-hint,.publish-task-page .task-side-time-grid,.append-task-page .task-side-time-grid,.delete-task-page .task-side-time-grid{display:none}.publish-task-page .task-record-side,.append-task-page .task-record-side,.delete-task-page .task-record-side{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:6px 8px;padding-top:10px}.publish-task-page .task-record-side .task-side-title,.append-task-page .task-record-side .task-side-title,.delete-task-page .task-record-side .task-side-title{display:none}.publish-task-page .task-record-side .task-summary,.publish-task-page .task-record-side .task-summary+.task-side-section,.append-task-page .task-record-side .task-summary,.append-task-page .task-record-side .task-summary+.task-side-section,.delete-task-page .task-record-side .task-summary,.delete-task-page .task-record-side .task-summary+.task-side-section{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;border-bottom:0;padding-bottom:0}.publish-task-page .task-record-side .task-summary,.append-task-page .task-record-side .task-summary,.delete-task-page .task-record-side .task-summary{flex:0 1 auto}.publish-task-page .task-record-side .task-summary+.task-side-section,.append-task-page .task-record-side .task-summary+.task-side-section,.delete-task-page .task-record-side .task-summary+.task-side-section{flex:1 1 150px;min-width:0}.publish-task-page .task-record-side>.task-side-section:last-child,.append-task-page .task-record-side>.task-side-section:last-child,.delete-task-page .task-record-side>.task-side-section:last-child{flex:1 0 100%;margin-top:4px}.publish-task-page .task-record-head strong,.append-task-page .task-record-head strong,.delete-task-page .task-record-head strong{flex:1 1 auto;min-width:0;max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.publish-task-page .task-record-text,.append-task-page .task-record-text,.delete-task-page .task-record-text{margin-bottom:8px;-webkit-line-clamp:1}.publish-task-page .task-record-images,.publish-task-page .task-record-images.count-1,.publish-task-page .task-record-images.count-2,.publish-task-page .task-record-images.count-3,.publish-task-page .task-record-images.count-4,.append-task-page .task-record-images,.append-task-page .task-record-images.count-1,.append-task-page .task-record-images.count-2,.append-task-page .task-record-images.count-3,.append-task-page .task-record-images.count-4,.delete-task-page .task-record-images,.delete-task-page .task-record-images.count-1,.delete-task-page .task-record-images.count-2,.delete-task-page .task-record-images.count-3,.delete-task-page .task-record-images.count-4{width:100%;grid-template-columns:repeat(4,54px);gap:6px;justify-content:start;margin-top:8px}.publish-task-page .task-record-images.count-1,.append-task-page .task-record-images.count-1,.delete-task-page .task-record-images.count-1{grid-template-columns:56px}.publish-task-page .task-record-images.count-2,.append-task-page .task-record-images.count-2,.delete-task-page .task-record-images.count-2{grid-template-columns:repeat(2,54px)}.publish-task-page .task-record-images.count-3,.append-task-page .task-record-images.count-3,.delete-task-page .task-record-images.count-3{grid-template-columns:repeat(3,54px)}.publish-task-page .task-record-images .mock-image,.append-task-page .task-record-images .mock-image,.delete-task-page .task-record-images .mock-image{padding:5px}.publish-task-page .task-record-card .material-comment,.publish-task-page .task-record-card .material-meta-time,.append-task-page .task-record-card .material-comment,.append-task-page .task-record-card .material-meta-time,.delete-task-page .task-record-card .material-comment,.delete-task-page .task-record-card .material-meta-time{display:none}.publish-task-page .task-record-message,.append-task-page .task-record-message,.delete-task-page .task-record-message{min-height:0;-webkit-line-clamp:1}.mobile-task-action-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:block}.mobile-task-action-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a52}.mobile-task-action-sheet{position:absolute;right:0;bottom:0;left:0;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;padding:18px 20px calc(20px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -14px 36px #0f172a29}.mobile-task-action-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.mobile-task-action-head div{display:grid;gap:6px}.mobile-task-action-head strong{color:#152033;font-size:18px}.mobile-task-action-head span{color:var(--muted);font-size:13px;line-height:1.35}.mobile-task-action-head button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff}.mobile-task-action-list{display:grid;gap:10px}.mobile-task-action-list button{justify-content:center;min-height:44px;font-weight:700}.task-detail-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 48px)}.material-grid{grid-template-columns:1fr;gap:10px;padding:10px 0 14px}.material-card{gap:0;border-right:0;border-left:0;min-height:0;border-radius:0;padding:16px 16px 14px}.material-type-badge{margin-bottom:2px;padding:4px 9px;font-size:12px}.card-tools{order:10;align-items:flex-start;flex-direction:column;margin-top:14px}.check-label{display:none}.card-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;justify-content:stretch;gap:8px;margin-top:4px}.card-buttons button{min-height:42px;padding:0 8px;font-size:15px;font-weight:700;flex:initial}.post-button{background:#7c3aed}.edit-button,.delete-button{color:#7c3aed;background:#f3efff}.material-text-preview{margin:10px 0 12px;min-height:0;color:#2b3038;font-size:18px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.material-card .image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.material-card .count-1{grid-template-columns:minmax(0,1fr);max-width:68%}.material-card .mock-image{border-radius:6px;padding:0}.material-card .image-order-badge{top:6px;left:6px}.material-meta{margin-top:12px}.material-meta span:first-child{color:#6d3ac7;background:#f3edff}.empty-materials{min-height:220px;margin:16px 14px 18px;padding:20px 14px}.modal-mask{display:block;overflow-y:auto;padding:0}.material-modal,.publish-modal,.task-detail-modal,.device-detail-modal{width:100vw;min-height:100dvh;max-height:none;border-radius:0;box-shadow:none}.publish-modal{overflow-y:auto}.modal-header{position:sticky;top:0;z-index:2;height:56px;padding:0 14px;background:#fff}.modal-body{gap:18px;padding:18px 14px 0}.material-type-switch button.active{background:#7c3aed}.form-row,.form-row.compact{grid-template-columns:1fr;gap:8px}.form-row>span{padding-top:0;text-align:left;font-weight:700}.form-row select,.schedule-input,.delay-input{width:100%}.textarea-shell textarea,.publish-modal .textarea-shell textarea{min-height:118px;height:118px}.upload-area{gap:10px;padding:0}.upload-box,.upload-preview{width:calc((100vw - 50px) / 3);height:calc((100vw - 50px) / 3);max-width:112px;max-height:112px}.modal-footer,.publish-footer{position:sticky;bottom:0;z-index:2;justify-content:stretch;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:#fff}.publish-footer{position:fixed;right:0;bottom:0;left:0;box-shadow:0 -10px 24px #0f172a14}.modal-footer button,.publish-footer button{flex:1 1 0;min-height:44px}.publish-body{display:block;min-height:auto}.publish-editor{gap:16px;border-right:0;border-bottom:1px solid var(--line);padding:18px 14px}.publish-warning{font-size:14px}.publish-images{gap:8px}.publish-image{width:calc((100vw - 62px)/4);height:calc((100vw - 62px)/4);max-width:82px;max-height:82px}.radio-line{gap:10px}.radio-line label{min-height:34px}.publish-devices{padding:16px 14px calc(96px + env(safe-area-inset-bottom))}.device-select-head{align-items:flex-start;flex-direction:column;gap:4px}.publish-device-list{max-height:none}}@media(max-width:420px){.menu-group{flex-basis:188px}.device-summary-row{grid-template-columns:1fr}.card-buttons button{flex-basis:100%}.upload-box,.upload-preview{width:calc((100vw - 42px)/2);height:calc((100vw - 42px)/2)}}@media(max-width:700px){html{min-width:0}body{overflow-x:hidden}.admin-shell{display:block;min-height:100dvh;padding-bottom:74px}.sidebar,.topbar{display:none}.content-card{margin:0;min-height:calc(100dvh - 74px);border:0;border-radius:0;box-shadow:none}.mobile-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:15;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:64px;padding:6px 0 calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e5e7eb;background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-bottom-nav button{display:grid;place-items:center;gap:2px;min-width:0;border:0;color:#2f343c;background:transparent;font-size:12px}.mobile-bottom-nav button span{white-space:nowrap}.mobile-bottom-nav button.active{color:#7c3aed}.mobile-more-menu-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:16;display:block}.mobile-more-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a3d}.mobile-more-menu{position:absolute;right:12px;bottom:calc(78px + env(safe-area-inset-bottom));left:12px;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff;box-shadow:0 16px 42px #0f172a2e}.mobile-more-menu header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mobile-more-menu header strong{color:#152033;font-size:17px}.mobile-more-menu header button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff}.mobile-more-list{display:grid;gap:8px}.mobile-more-list>button{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;border:1px solid #edf2f7;border-radius:8px;padding:10px 12px;color:#27364d;background:#fbfdff;text-align:left}.mobile-more-list>button>svg{color:var(--primary)}.mobile-more-list>button span{display:grid;gap:2px;min-width:0}.mobile-more-list strong{color:#152033;font-size:14px}.mobile-more-list small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-more-list>button.danger>svg,.mobile-more-list>button.danger strong{color:var(--red)}}
