:root {
  --bg: #f1f5fa;
  --panel: #ffffff;
  --line: #dbe6f3;
  --text: #071b3a;
  --muted: #718198;
  --blue: #1677ff;
  --blue-soft: #e8f2ff;
  --green: #14b86a;
  --shadow: 0 12px 32px rgba(23, 43, 77, .08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button, .nav-button { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 13px; color: #143052; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease; }
button:hover, .nav-button:hover, .tool:hover, .command-list a:hover, .command-list button:hover { border-color: #9fc3f8; box-shadow: 0 6px 18px rgba(22, 119, 255, .12); }
.primary, .nav-button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.danger { color: #b42318; border-color: #f1b8b2; background: #fff8f7; }
.danger:hover { border-color: #e26b5f; background: #fff1ef; box-shadow: 0 6px 18px rgba(180, 35, 24, .12); }
.muted { color: var(--muted); font-size: 13px; }
a { color: var(--blue); text-decoration: none; }
.app-shell { padding: 28px 28px 36px; }
.hero-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hero-bar.compact { min-height: 58px; }
.hero-bar h1 { margin: 0 0 9px; font-size: 30px; line-height: 1.05; letter-spacing: 0; }
.hero-bar p { margin: 0; color: #52647c; font-size: 14px; }
.hero-bar nav { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tools { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.form-switcher { display: grid; gap: 5px; min-width: 205px; color: #52647c; font-size: 12px; }
.form-switcher select, .page-form-switcher select { min-width: 0; border: 1px solid #d1deed; border-radius: 7px; padding: 9px 30px 9px 10px; background: #fff; color: #143052; }
.page-form-switcher { display: inline-flex; align-items: center; gap: 7px; color: #52647c; font-size: 12px; }
.page-form-switcher select { padding-top: 7px; padding-bottom: 7px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.home-main { min-width: 0; display: grid; gap: 16px; }
.home-sidebar { min-width: 0; display: grid; gap: 16px; align-content: start; position: sticky; top: 20px; }
.home-main .overview-card.wide { grid-column: auto; }
.overview-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 8px 24px rgba(23, 43, 77, .045); }
.overview-card.wide { grid-column: 1 / -1; }
.home-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.home-actions .quick-action { min-width: 0; min-height: 76px; padding: 13px 15px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; text-align: left; border: 1px solid #d4e1ef; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(23, 43, 77, .045); }
.home-actions .quick-action:hover { transform: translateY(-1px); border-color: #8cb8f3; background: #f7fbff; box-shadow: 0 7px 18px rgba(22, 119, 255, .12); }
.home-actions .quick-action span { display: block; font-size: 15px; font-weight: 700; color: #143052; line-height: 1.2; }
.home-actions .quick-action small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.quick-action-with-badge > span { display: inline-flex !important; align-items: center; gap: 7px; max-width: 100%; }
.quick-action-badge { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 2px 7px rgba(180, 35, 24, .22); }
.quick-action-badge[hidden] { display: none; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title span { display: block; color: #7890ad; font-size: 12px; margin-bottom: 5px; }
.section-title h2 { margin: 0; font-size: 20px; }
.section-hint { color: var(--muted); font-size: 12px; }
.form-list { display: grid; gap: 10px; }
.list-loading { padding: 20px; border: 1px dashed #c8d9eb; border-radius: 8px; color: var(--muted); text-align: center; background: #fbfdff; font-size: 13px; }
.form-entry { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(230px, 1.35fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }
.form-entry.is-current { border-color: #a8c8f3; background: #f7fbff; }
.form-entry-main, .form-entry-link { min-width: 0; }
.form-entry-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.form-entry-title i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #91a4bc; }
.form-entry.is-current .form-entry-title i { background: var(--blue); }
.form-entry-title b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.current-badge { padding: 3px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 11px; white-space: nowrap; }
.form-entry-main p { margin: 7px 0 0 16px; color: var(--muted); font-size: 12px; }
.form-entry-link { display: grid; gap: 5px; }
.form-entry-link > span { color: var(--muted); font-size: 11px; }
.form-entry-link a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--blue); font-size: 12px; }
.form-entry-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.form-entry-actions a, .form-entry-actions button { padding: 7px 9px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 12px; }
.stats article { border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; padding: 17px; box-shadow: 0 3px 12px rgba(23, 43, 77, .035); }
.stats small { color: var(--muted); display: block; }
.stats b { display: block; font-size: 32px; margin: 8px 0 4px; color: #0b2d5f; }
.stats em { font-style: normal; color: var(--muted); font-size: 12px; }
.status-heading { align-items: flex-start; }
.status-heading .status-live { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 8px; border: 1px solid #bfe8cf; border-radius: 999px; background: #effaf3; color: #0f7a48; font-size: 12px; white-space: nowrap; }
.status-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.status-list { border-top: 1px solid #edf2f8; }
.status-item { border-bottom: 1px solid #edf2f8; }
.status-item:last-child { border-bottom: 0; }
.status-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 16px; gap: 8px; align-items: center; padding: 14px 0; }
.status-item summary::-webkit-details-marker { display: none; }
.status-item summary::after { content: "+"; color: #7890ad; font-size: 18px; line-height: 1; text-align: right; }
.status-item[open] summary::after { content: "−"; }
.status-mark { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: 14px; }
.status-label { min-width: 0; display: grid; gap: 4px; }
.status-label b { font-size: 14px; }
.status-label small { color: var(--muted); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.status-state { color: #0f7a48; font-size: 12px; white-space: nowrap; }
.status-detail { padding: 0 0 15px 34px; }
.status-value { display: block; padding: 10px 11px; border: 1px solid #d6e3f1; border-radius: 6px; background: #f8fbff; color: #40536e; font-size: 12px; line-height: 1.4; }
.status-url { color: var(--blue); word-break: break-all; }
.status-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.status-actions a, .status-actions button { padding: 7px 9px; border-radius: 6px; font-size: 12px; }
.form-summary-card > b { display: block; margin-bottom: 8px; font-size: 16px; }
.form-summary-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.summary-link { font-size: 13px; }
.command-list { display: grid; gap: 10px; }
.command-list a, .command-list button { width: 100%; min-height: 58px; justify-content: space-between; text-align: left; border-color: var(--line); background: #fbfdff; }
.command-list small { display: block; max-width: 250px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.management-actions button span { font-weight: 700; }
.workbook-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); gap: 14px; }
.workbook-primary { min-width: 0; min-height: 116px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 18px; border: 1px solid #b8d4f4; border-radius: 10px; background: #eef6ff; color: #143052; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.workbook-primary:hover { border-color: #7daeea; box-shadow: 0 9px 22px rgba(22, 119, 255, .13); transform: translateY(-1px); }
.workbook-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #1677ff; color: #fff; font-size: 22px; box-shadow: 0 7px 14px rgba(22, 119, 255, .2); }
.workbook-primary-copy { min-width: 0; display: grid; gap: 5px; }
.workbook-primary-copy small { color: #557293; font-size: 12px; }
.workbook-primary-copy strong { color: #0b2d5f; font-size: 21px; line-height: 1.1; }
.workbook-primary-copy em { min-width: 0; overflow: hidden; color: #6d829d; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.workbook-arrow { color: #1677ff; font-size: 25px; }
.workbook-secondary { display: grid; gap: 10px; }
.workbook-action { width: 100%; min-width: 0; min-height: 53px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; text-align: left; border-color: var(--line); background: #fbfdff; }
.workbook-action:hover { background: #f7fbff; }
.workbook-action-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e8f2ff; color: #1677ff; font-size: 17px; }
.workbook-action-icon.folder { color: #0f7a48; background: #eaf8ef; }
.workbook-action-copy { min-width: 0; display: grid; gap: 4px; }
.workbook-action-copy b { color: #143052; font-size: 14px; }
.workbook-action-copy small { min-width: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.workbook-action em { color: #7890ad; font-size: 12px; font-style: normal; white-space: nowrap; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 12px 14px; border-bottom: 1px solid #edf2f8; text-align: left; font-size: 13px; white-space: nowrap; }
th { color: #52647c; background: #f8fbff; }
.empty-cell { text-align: center; color: var(--muted); height: 92px; }
.topbar { min-height: 64px; background: #f8fbff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.topbar h1 { margin: 0 0 4px; font-size: 24px; }
.topbar small { display: block; color: #40536e; }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.layout { display: grid; grid-template-columns: 260px minmax(520px, 1fr) 320px; height: calc(100vh - 64px); border-top: 1px solid #fff; }
.panel { background: #fff; border-right: 1px solid var(--line); padding: 16px; overflow: auto; }
.right { border-right: 0; border-left: 1px solid var(--line); }
.panel h2 { font-size: 15px; margin: 8px 0 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #edf2f8; }
.badge { display: inline-flex; min-width: 24px; height: 24px; border-radius: 999px; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.tool { width: 100%; min-height: 54px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; text-align: left; background: #fff; }
.tool b { font-size: 14px; }
.tool small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; }
.tool span:last-child { color: #7c91ad; font-size: 18px; }
.canvas { padding: 22px; overflow: auto; background: #edf4fb; }
.sheet { max-width: 950px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sheet-head { padding: 18px; border-bottom: 1px solid var(--line); }
.design-kicker { color: #7d91ab; font-size: 12px; margin-bottom: 8px; }
.sheet-body { padding: 16px 18px 20px; }
.sheet input, .sheet textarea, .right input, .right textarea, .right select, .form-page input, .form-page textarea, .form-page select { width: 100%; border: 1px solid #d3dfef; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--text); }
.sheet input:focus, .sheet textarea:focus, .right input:focus, .right textarea:focus, .right select:focus, .form-page input:focus, .form-page textarea:focus, .form-page select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.sheet textarea, .right textarea, .form-page textarea { resize: vertical; }
.field-card { border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; background: #fbfdff; display: grid; grid-template-columns: 28px 1fr 36px; align-items: stretch; overflow: hidden; }
.field-card.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.drag { color: #91a4bc; background: #f8fbff; border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.field-content { padding: 14px; }
.field-content b { display: block; font-size: 14px; margin-bottom: 7px; }
.field-content b em { color: #e54040; font-style: normal; }
.field-meta { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.field-actions { border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }
.field-actions button { width: 100%; flex: 1; border: 0; border-bottom: 1px solid #edf2f8; border-radius: 0; padding: 4px; color: #6f839f; }
.field-actions button:last-child { border-bottom: 0; }
.prop { margin-bottom: 12px; }
.prop label { display: block; font-size: 13px; color: #47566e; margin-bottom: 6px; }
.checks { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }
.checks label { display: flex; gap: 8px; align-items: center; margin: 8px 0; color: #263a56; }
.checks input { width: auto; }
.links { display: grid; gap: 10px; margin-top: 18px; }
.publish-box { margin-top: 18px; padding: 14px; border-radius: 8px; background: #eaf8ef; border: 1px solid #cbeed8; color: #0f7a48; }
.dropbox { border: 1px dashed #9ab8de; border-radius: 8px; padding: 14px; background: #fff; color: #52647c; }
.form-page { max-width: 1120px; margin: 0 auto; padding: 30px 24px 48px; min-height: 100vh; }
.form-nav { display: flex; justify-content: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.public-form-brand { display: inline-flex; align-items: center; min-height: 36px; color: #315579; font-size: 13px; font-weight: 700; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 30px; }
.form-header { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid #edf2f8; }
.form-eyebrow, .help-kicker { color: #7890ad; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.form-page h1 { margin: 9px 0 10px; font-size: 32px; line-height: 1.15; }
.form-header p { margin: 0; line-height: 1.7; }
.form-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 17px; color: #52647c; font-size: 12px; }
.form-meta span { display: inline-flex; align-items: center; gap: 6px; }
.form-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.form-meta em { color: #d93025; font-style: normal; }
.form-page form { display: grid; gap: 18px; }
.control { display: block; margin: 0; }
.control span { display: block; color: #1c3557; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.control em { color: #d93025; font-style: normal; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-row label { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 10px 12px; border: 1px solid #d6e3f1; border-radius: 7px; background: #fbfdff; color: #40536e; font-size: 13px; cursor: pointer; }
.choice-row label:hover { border-color: #8cb8f3; background: #f7fbff; }
.choice-row input { width: auto; accent-color: var(--blue); }
.form-page input, .form-page textarea, .form-page select { min-height: 46px; border-radius: 8px; border-color: #d1deed; background: #fbfdff; }
.form-page textarea { min-height: 112px; }
.form-page input[type="file"] { height: auto; padding: 8px 10px; }
.form-page input[type="file"]::file-selector-button { cursor: pointer; margin-right: 10px; padding: 8px 12px; border: 1px solid #bdd2ec; border-radius: 6px; background: #edf5ff; color: #1557a6; font: inherit; }
.dropbox { border: 1px dashed #91b4dc; border-radius: 8px; padding: 15px; background: #f7fbff; color: #52647c; line-height: 1.6; }
.dropbox input[type="file"] { display: block; width: 100%; margin-top: 10px; border: 0; padding: 0; background: transparent; }
.form-actions { display: flex; justify-content: flex-end; padding-top: 8px; border-top: 1px solid #edf2f8; }
.submit-button { min-width: 140px; min-height: 46px; font-weight: 700; }
.form-help { display: grid; gap: 14px; position: sticky; top: 20px; }
.help-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: 0 8px 24px rgba(23, 43, 77, .045); }
.help-card h2 { margin: 8px 0 18px; font-size: 18px; }
.help-card-soft { background: #f7fbff; }
.help-card p { margin: 0 0 14px; color: #52647c; font-size: 13px; line-height: 1.7; }
.help-card a { font-size: 13px; font-weight: 700; }
.help-stat { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-top: 1px solid #edf2f8; }
.help-stat b { color: #0b2d5f; font-size: 24px; }
.help-stat span { color: var(--muted); font-size: 12px; }
.success { display: flex; gap: 14px; margin-top: 24px; padding: 18px; background: #effaf3; border: 1px solid #bfe8cf; border-radius: 8px; }
.success-mark { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; background: #20a464; color: #fff; font-weight: 700; }
.success-body { min-width: 0; }
.success h2 { margin: 1px 0 5px; font-size: 18px; color: #0f7a48; }
.success p { margin: 0 0 14px; color: #3d6f53; font-size: 13px; }
.success-details { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin-bottom: 14px; font-size: 12px; }
.success-details span { color: #5d806a; }
.success-details b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #23633e; }
.people-list { display: grid; gap: 12px; }
.person-card { border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; padding: 14px; display: grid; grid-template-columns: 230px 1fr auto; gap: 12px; align-items: center; }
.person-card b { font-size: 18px; }
.person-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.file-chips span { border: 1px solid #d6e2f0; border-radius: 999px; padding: 5px 9px; background: #fff; color: #52647c; font-size: 12px; }
.person-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.person-actions button { padding: 8px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.empty-state { text-align: center; color: var(--muted); padding: 72px 20px; }
.office-page { height: 100vh; display: grid; grid-template-rows: auto 1fr; background: var(--bg); }
.office-top { background: #f8fbff; border-bottom: 1px solid var(--line); padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.office-top h1 { margin: 0 0 5px; font-size: 22px; }
.office-top p { margin: 0; color: #40536e; font-size: 13px; }
.office-top nav { display: flex; gap: 10px; }
#officeHost, #onlyofficeEditor { width: 100%; height: 100%; }
.office-loading { display: grid; place-items: center; height: 100%; min-height: 220px; padding: 30px; text-align: center; color: var(--muted); }
.office-loading b { color: var(--text); font-size: 16px; }
.office-loading p { margin: 8px 0 0; font-size: 13px; }
.office-fallback { padding: 18px; height: 100%; overflow: auto; }
.fallback-note { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; color: #40536e; }
.fallback-note b { color: var(--text); }
.fallback-note span { font-size: 13px; text-align: right; }
.task-page { padding-bottom: 46px; }
.task-hero nav { align-items: center; }
.user-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 10px; border: 1px solid #cfe0f3; border-radius: 999px; background: #f7fbff; color: #315579; font-size: 12px; white-space: nowrap; }
.sms-card { background: #fbfdff; }
.sms-rule { margin: -5px 0 15px; color: #52647c; font-size: 13px; line-height: 1.6; }
.sms-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border: 1px solid #f3d69a; border-radius: 999px; background: #fff6df; color: #9a5a00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sms-badge.ready { border-color: #bfe8cf; background: #effaf3; color: #0f7a48; }
.sms-badge.off { border-color: #dbe6f3; background: #f4f7fb; color: #718198; }
.sms-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sms-settings label { display: grid; gap: 6px; color: #52647c; font-size: 12px; }
.sms-settings input { width: 100%; min-height: 40px; border: 1px solid #d1deed; border-radius: 8px; padding: 9px 11px; background: #fff; color: #143052; }
.sms-settings input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.sms-enabled { display: flex !important; align-items: center; grid-column: 1 / -1; }
.sms-enabled input { width: auto; min-height: 0; accent-color: var(--blue); }
.sms-actions { display: flex; gap: 8px; grid-column: 1 / -1; }
.sms-hint { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.task-layout { display: grid; gap: 16px; }
.task-command-card { padding-bottom: 18px; }
.task-section-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.section-toggle { min-height: 34px; padding: 7px 11px; border-radius: 7px; color: #1557a6; background: #f7fbff; border-color: #c9ddf6; font-size: 12px; font-weight: 700; white-space: nowrap; }
.section-toggle:disabled { cursor: default; opacity: .55; box-shadow: none; }
.task-source-note { margin: -5px 0 16px; padding: 9px 11px; border-left: 3px solid #78aef1; background: #f7fbff; color: #52647c; font-size: 12px; line-height: 1.5; }
.task-toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.task-toolbar label { display: grid; gap: 6px; min-width: 0; color: #52647c; font-size: 12px; }
.task-toolbar select, .task-toolbar input { width: 100%; min-height: 42px; border: 1px solid #d1deed; border-radius: 8px; padding: 9px 11px; background: #fff; color: #143052; }
.task-toolbar select:focus, .task-toolbar input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.task-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.task-stats article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 17px; box-shadow: 0 5px 16px rgba(23, 43, 77, .04); }
.task-stats small { display: block; color: var(--muted); }
.task-stats b { display: block; margin: 8px 0 4px; color: #0b2d5f; font-size: 30px; line-height: 1; }
.task-stats em { color: var(--muted); font-size: 12px; font-style: normal; }
.task-stats .warning-stat { border-color: #f2d2cc; background: #fffaf9; }
.task-stats .warning-stat b { color: #b42318; }
.task-board { display: grid; gap: 12px; }
.admin-task-board { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.employee-task-board { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.task-card { min-width: 0; border: 1px solid #d9e5f2; border-radius: 8px; background: #fff; padding: 18px; box-shadow: 0 7px 20px rgba(23, 43, 77, .05); }
.admin-task-card { position: relative; overflow: hidden; }
.admin-task-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #f3b640; }
.admin-task-card.status-progressing::before { background: #1677ff; }
.admin-task-card.status-done::before { background: #14b86a; }
.task-card.is-focused { border-color: #78aef1; box-shadow: 0 0 0 3px #e8f2ff, 0 8px 22px rgba(22, 119, 255, .12); }
.task-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.task-card-head > div { min-width: 0; }
.task-card-head-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.task-card-adjust { display: inline-flex; min-height: 30px; align-items: center; padding: 5px 10px; border: 1px solid #b9d5f8; border-radius: 7px; background: #eef6ff; color: #1557a6; font-size: 12px; font-weight: 700; white-space: nowrap; }
.task-card-adjust:hover { border-color: #78aef1; background: #e8f2ff; }
.task-card-toggle { min-height: 30px; padding: 5px 8px; border: 1px solid #dbe8f5; border-radius: 7px; background: #f7fbff; color: #1557a6; font-size: 12px; }
.task-card-toggle:hover { background: #e8f2ff; box-shadow: none; }
.task-card-toggle b { margin-left: 3px; font-size: 16px; font-weight: 500; line-height: .8; }
.task-form-name { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #718198; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-form-name i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #9cb1c8; }
.status-progressing .task-form-name i { background: #1677ff; }
.status-done .task-form-name i { background: #14b86a; }
.task-card h3 { margin: 0; color: #0b2d5f; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.task-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.status-pill { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 28px; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pill.pending { color: #9a5a00; background: #fff6df; border: 1px solid #f3d69a; }
.status-pill.progressing { color: #1557a6; background: #e8f2ff; border: 1px solid #b9d5f8; }
.status-pill.done { color: #0f7a48; background: #effaf3; border: 1px solid #bfe8cf; }
.task-progress-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; align-items: center; margin: 18px 0 12px; }
.task-card-collapsible { display: none; }
.task-card.is-expanded .task-card-collapsible { display: block; }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #ecf1f7; }
.progress-track i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #1677ff, #14b86a); }
.task-progress-row b { text-align: right; color: #143052; font-size: 13px; }
.task-card-glance { display: grid; grid-template-columns: 1.25fr 1fr 1fr .75fr 1fr; gap: 8px; padding: 10px 0 2px; border-top: 1px solid #edf2f8; }
.employee-task-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.task-card-glance span { min-width: 0; display: flex; align-items: center; gap: 6px; }
.task-card-glance small { color: var(--muted); font-size: 11px; }
.task-card-glance b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #143052; font-size: 12px; }
.task-card-glance .glance-reminder { color: #718198; }
.task-card-glance .glance-reminder.sent, .task-card-glance .glance-reminder.not_needed { color: #0f7a48; }
.task-card-glance .glance-reminder.due { color: #1557a6; }
.task-card-glance .glance-reminder.failed, .task-card-glance .glance-reminder.missing_phone { color: #9a5a00; }
.priority-text.urgent { color: #b42318 !important; }
.priority-text.high { color: #9a5a00 !important; }
.priority-text.low { color: #718198 !important; }
.due-text.overdue { color: #b42318 !important; }
.due-text.due_today, .due-text.due_soon { color: #9a5a00 !important; }
.employee-next-step { display: grid; gap: 7px; margin: 12px 0; padding: 10px 11px; border-left: 3px solid #9fc3f8; background: #f7fbff; color: #52647c; font-size: 12px; line-height: 1.5; }
.employee-next-step span { display: block; min-width: 0; overflow-wrap: anywhere; }
.employee-next-step b { margin-right: 7px; color: #315579; }
.task-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 12px; padding-top: 14px; border-top: 1px solid #edf2f8; }
.task-meta-grid span { min-width: 0; border: 0; border-radius: 6px; padding: 0 8px; background: transparent; }
.task-meta-grid small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.task-meta-grid b { display: block; color: #143052; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-feedback-preview { min-height: 42px; margin-bottom: 12px; border: 1px solid #edf2f8; border-radius: 6px; padding: 11px; background: #fbfdff; color: #52647c; font-size: 13px; line-height: 1.5; }
.task-reminder-line { display: flex; align-items: center; gap: 8px; margin: 1px 0 11px; color: var(--muted); font-size: 12px; }
.task-reminder-line b { display: inline-flex; padding: 4px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.task-reminder-line small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b42318; }
.sms-task-state.unassigned, .sms-task-state.waiting { background: #f4f7fb; color: #718198; }
.sms-task-state.not_configured, .sms-task-state.missing_phone { background: #fff6df; color: #9a5a00; }
.sms-task-state.due { background: #e8f2ff; color: #1557a6; }
.sms-task-state.sent { background: #effaf3; color: #0f7a48; }
.sms-task-state.failed { background: #fff1ef; color: #b42318; }
.sms-task-state.not_needed { background: #f4f7fb; color: #52647c; }
.task-details { border-top: 1px solid #edf2f8; border-bottom: 1px solid #edf2f8; margin: 12px 0; }
.task-details summary { cursor: pointer; list-style: none; padding: 12px 0; color: #1557a6; font-size: 13px; font-weight: 700; }
.task-details summary::-webkit-details-marker { display: none; }
.task-details summary::after { content: "+"; float: right; color: #7890ad; font-size: 18px; line-height: .8; }
.task-details[open] summary::after { content: "−"; }
.task-detail-grid { display: grid; gap: 8px; padding-bottom: 12px; }
.task-detail-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; }
.task-detail-item span { color: var(--muted); font-size: 12px; }
.task-detail-item b { color: #143052; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.task-detail-empty, .task-empty { color: var(--muted); font-size: 13px; }
.task-empty { min-height: 180px; display: grid; place-items: center; text-align: center; border: 1px dashed #c8d9eb; border-radius: 8px; background: #fbfdff; padding: 30px; }
.task-empty b { display: block; margin-bottom: 7px; color: #143052; font-size: 16px; }
.task-empty p { margin: 0; }
.task-card-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.task-card-actions a, .task-card-actions button { min-height: 36px; border-radius: 6px; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
.table-action { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; border: 1px solid #b9d5f8; border-radius: 6px; background: #eef6ff; color: #1557a6; font-size: 12px; font-weight: 700; white-space: nowrap; }
.table-action:hover { border-color: #78aef1; background: #e8f2ff; }
.task-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.task-editor label { display: grid; gap: 6px; min-width: 0; color: #52647c; font-size: 12px; }
.task-editor input, .task-editor select, .task-editor textarea { width: 100%; border: 1px solid #d1deed; border-radius: 8px; background: #fbfdff; color: #143052; padding: 10px 11px; }
.task-editor textarea { resize: vertical; min-height: 92px; }
.task-editor input:focus, .task-editor select:focus, .task-editor textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.progress-editor { grid-template-columns: 1fr auto; align-items: center; }
.task-assignment { display: flex; align-items: end; gap: 8px; margin: 14px 0 2px; padding: 12px; border: 1px solid #dbe8f5; border-radius: 7px; background: #f7fbff; }
.task-assignment label { display: grid; flex: 1; gap: 6px; color: #52647c; font-size: 12px; }
.task-assignment select { width: 100%; min-height: 38px; border: 1px solid #d1deed; border-radius: 7px; padding: 8px 10px; background: #fff; color: #143052; }
.task-assignment button { min-height: 38px; padding: 8px 13px; background: #e8f2ff; border-color: #b9d5f8; color: #1557a6; font-weight: 700; }
.progress-editor span { grid-column: 1 / -1; }
.progress-editor input { padding-left: 0; padding-right: 0; accent-color: var(--blue); }
.progress-editor b { color: #143052; font-size: 13px; }
.feedback-editor { grid-column: 1 / -1; }
.admin-task-editor { margin-top: 10px; padding-top: 12px; border-top: 1px solid #edf2f8; }
.admin-task-editor input, .admin-task-editor select, .admin-task-editor textarea { background: #fff; }
.adjust-page { min-height: 100vh; }
.adjust-hero { align-items: flex-start; }
.adjust-kicker { display: block; margin-bottom: 7px; color: #7890ad; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.adjust-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.adjust-main-card, .adjust-files-card, .adjust-task-card { min-width: 0; }
.adjust-sidebar { display: grid; gap: 16px; align-content: start; position: sticky; top: 20px; }
.adjust-save-state { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; border: 1px solid #dbe6f3; border-radius: 999px; background: #f4f7fb; color: #718198; font-size: 12px; font-weight: 700; white-space: nowrap; }
.adjust-note { margin: -5px 0 17px; padding: 10px 12px; border-left: 3px solid #78aef1; background: #f7fbff; color: #52647c; font-size: 12px; line-height: 1.6; }
.adjust-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adjust-field { min-width: 0; display: grid; gap: 6px; color: #52647c; font-size: 12px; }
.adjust-field > span { color: #1c3557; font-size: 13px; font-weight: 700; }
.adjust-field > span em { margin-left: 3px; color: #d93025; font-style: normal; }
.adjust-field > small { color: #9aabc0; font-size: 11px; }
.adjust-field.is-hidden { padding: 10px; border: 1px dashed #d6e2f0; border-radius: 8px; background: #fbfdff; }
.adjust-field input, .adjust-field select, .adjust-field textarea { width: 100%; min-height: 42px; border: 1px solid #d1deed; border-radius: 8px; padding: 9px 11px; background: #fbfdff; color: #143052; }
.adjust-field textarea { min-height: 112px; resize: vertical; }
.adjust-field input:focus, .adjust-field select:focus, .adjust-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.adjust-choice-row { display: flex; gap: 8px; flex-wrap: wrap; min-height: 42px; align-items: center; }
.adjust-choice-row label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 10px; border: 1px solid #d6e3f1; border-radius: 7px; background: #fbfdff; color: #40536e; cursor: pointer; }
.adjust-choice-row label:hover { border-color: #8cb8f3; background: #f7fbff; }
.adjust-choice-row input { width: auto; min-height: 0; accent-color: var(--blue); }
.adjust-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf2f8; }
.adjust-footer > span { min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.adjust-footer button { flex: 0 0 auto; min-height: 42px; }
.adjust-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.adjust-files { display: grid; gap: 9px; }
.adjust-file-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 11px 12px; border: 1px solid #dbe6f3; border-radius: 7px; background: #fbfdff; }
.adjust-file-copy { min-width: 0; display: grid; gap: 5px; }
.adjust-file-copy b { min-width: 0; overflow: hidden; color: #143052; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.adjust-file-copy small { color: var(--muted); font-size: 11px; }
.adjust-file-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.adjust-file-actions button { min-height: 30px; padding: 6px 8px; border-radius: 6px; font-size: 11px; }
.adjust-upload { display: grid; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf2f8; }
.adjust-upload label { display: grid; gap: 6px; color: #52647c; font-size: 12px; }
.adjust-upload input { width: 100%; min-height: 38px; border: 1px dashed #9ab8de; border-radius: 7px; padding: 8px; background: #f7fbff; color: #52647c; }
.adjust-upload input::file-selector-button { cursor: pointer; margin-right: 8px; padding: 6px 9px; border: 1px solid #bdd2ec; border-radius: 6px; background: #edf5ff; color: #1557a6; font: inherit; }
.adjust-upload button { min-height: 38px; }
.adjust-empty { padding: 20px 12px; border: 1px dashed #c8d9eb; border-radius: 7px; background: #fbfdff; color: var(--muted); font-size: 12px; text-align: center; }
.adjust-task-summary { display: grid; gap: 12px; }
.adjust-task-status, .adjust-task-progress { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.adjust-task-progress b { color: #143052; font-size: 13px; }
.adjust-task-summary .progress-track { margin-top: -4px; }
.adjust-task-grid { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid #edf2f8; }
.adjust-task-grid span { min-width: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; }
.adjust-task-grid small { color: var(--muted); font-size: 11px; }
.adjust-task-grid b { min-width: 0; overflow-wrap: anywhere; color: #143052; font-size: 12px; font-weight: 500; }
.adjust-task-link { display: inline-flex; margin-top: 16px; color: #1557a6; font-size: 12px; font-weight: 700; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #edf4fb; }
.login-shell { width: min(100%, 430px); }
.login-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: 0 18px 45px rgba(23, 43, 77, .1); }
.login-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 8px 18px rgba(22, 119, 255, .2); }
.login-kicker { color: #7890ad; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.login-panel h1 { margin: 9px 0 8px; color: #0b2d5f; font-size: 25px; }
.login-intro { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.login-form { display: grid; gap: 15px; }
.login-form label { display: grid; gap: 7px; color: #52647c; font-size: 13px; }
.login-form input { width: 100%; min-height: 46px; border: 1px solid #d1deed; border-radius: 8px; padding: 10px 12px; background: #fbfdff; color: var(--text); }
.login-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.login-submit { width: 100%; min-height: 46px; margin-top: 3px; font-weight: 700; }
.login-error { min-height: 18px; margin: 0; color: #b42318; font-size: 13px; }
.login-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 17px; border-top: 1px solid #edf2f8; color: var(--muted); font-size: 12px; }
.login-note a { font-weight: 700; }
.dashboard-page { background: #edf4fb; }
.dashboard-page .app-shell { max-width: 1600px; margin: 0 auto; }
.dashboard-header { min-height: 78px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.dashboard-kicker { display: block; margin-bottom: 8px; color: #7890ad; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.dashboard-header h1 { margin: 0 0 8px; color: #0b2d5f; font-size: 32px; line-height: 1.05; }
.dashboard-header p { margin: 0; color: #52647c; font-size: 14px; }
.dashboard-header-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-header-tools nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dashboard-live { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 10px; border: 1px solid #cfe0f3; border-radius: 999px; background: #f8fbff; color: #52647c; font-size: 12px; white-space: nowrap; }
.dashboard-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e1f5e9; }
.dashboard-live b { color: #1557a6; font-weight: 700; }
.dashboard-content { display: grid; gap: 16px; }
.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-kpi { min-width: 0; padding: 16px 18px 15px; border: 1px solid var(--line); border-top: 3px solid #8ebcf0; border-radius: 8px; background: #fff; box-shadow: 0 7px 20px rgba(23, 43, 77, .045); }
.dashboard-kpi span { display: block; color: var(--muted); font-size: 12px; }
.dashboard-kpi strong { display: block; margin: 9px 0 5px; color: #0b2d5f; font-size: 31px; line-height: 1; }
.dashboard-kpi small { display: block; color: #718198; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-kpi small b { color: #1557a6; font-weight: 700; }
.dashboard-kpi-warning { border-top-color: #f3b640; }
.dashboard-kpi-warning strong, .dashboard-kpi-danger strong { color: #a94732; }
.dashboard-kpi-progress { border-top-color: #1677ff; }
.dashboard-kpi-success { border-top-color: #14b86a; }
.dashboard-kpi-success strong { color: #0f7a48; }
.dashboard-kpi-danger { border-top-color: #e26b5f; }
.dashboard-grid { display: grid; gap: 16px; }
.dashboard-top-grid { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .78fr) minmax(260px, .78fr); }
.dashboard-bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(23, 43, 77, .045); }
.dashboard-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 42px; margin-bottom: 14px; }
.dashboard-panel-heading > div > span { display: block; margin-bottom: 5px; color: #7890ad; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.dashboard-panel-heading h2 { margin: 0; color: #143052; font-size: 19px; }
.dashboard-panel-heading > b { flex: 0 0 auto; padding-top: 4px; color: #718198; font-size: 12px; font-weight: 500; }
.dashboard-heading-alert { color: #b42318 !important; }
.dashboard-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.dashboard-table { min-width: 620px; }
.dashboard-table th, .dashboard-table td { padding: 11px 12px; font-size: 12px; }
.dashboard-table th { background: #f8fbff; color: #52647c; font-weight: 700; }
.dashboard-table td:first-child { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.dashboard-table td:first-child a { color: #1557a6; font-weight: 700; }
.dashboard-number { color: #143052; font-weight: 700; }
.dashboard-alert-number { color: #b42318; font-weight: 800; }
.dashboard-status-overview { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 166px; }
.dashboard-status-ring { --status-ring: conic-gradient(#dbe6f3 0deg 360deg); position: relative; width: 142px; height: 142px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--status-ring); }
.dashboard-status-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.dashboard-status-ring strong, .dashboard-status-ring small { position: relative; z-index: 1; text-align: center; }
.dashboard-status-ring strong { margin-top: 21px; color: #0b2d5f; font-size: 29px; line-height: 1; }
.dashboard-status-ring small { margin-top: -20px; color: var(--muted); font-size: 11px; }
.dashboard-status-legend { display: grid; gap: 13px; min-width: 96px; }
.dashboard-status-legend span { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 7px; align-items: center; color: #52647c; font-size: 12px; }
.dashboard-status-legend i { width: 8px; height: 8px; border-radius: 50%; background: #f3b640; }
.dashboard-status-legend i.progressing { background: #1677ff; }
.dashboard-status-legend i.done { background: #14b86a; }
.dashboard-status-legend b { color: #143052; font-size: 14px; }
.dashboard-status-note { margin-top: 8px; padding: 10px 11px; border-left: 3px solid #9fc3f8; background: #f7fbff; color: #52647c; font-size: 12px; line-height: 1.5; }
.dashboard-employee-list { display: grid; gap: 17px; }
.dashboard-employee-row { display: grid; gap: 7px; }
.dashboard-employee-head, .dashboard-employee-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dashboard-employee-head b { color: #143052; font-size: 13px; }
.dashboard-employee-head span, .dashboard-employee-meta span { color: var(--muted); font-size: 11px; }
.dashboard-employee-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #ecf1f7; }
.dashboard-employee-progress i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #1677ff, #14b86a); }
.dashboard-employee-meta b { color: #1557a6; font-size: 12px; }
.dashboard-alert-list, .dashboard-recent-list { display: grid; gap: 8px; }
.dashboard-alert-row, .dashboard-recent-row { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #edf2f8; border-radius: 7px; background: #fbfdff; text-decoration: none; }
.dashboard-alert-row:hover, .dashboard-recent-row:hover { border-color: #b9d5f8; background: #f7fbff; }
.dashboard-alert-icon { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #fff1ef; color: #b42318; font-size: 13px; font-weight: 800; }
.dashboard-alert-copy, .dashboard-recent-copy { min-width: 0; display: grid; gap: 4px; flex: 1; }
.dashboard-alert-copy b, .dashboard-recent-copy b { min-width: 0; overflow: hidden; color: #143052; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-alert-copy small, .dashboard-recent-copy small { min-width: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-alert-row > strong { flex: 0 0 auto; color: #b42318; font-size: 13px; }
.dashboard-recent-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #1677ff; }
.dashboard-recent-row time { flex: 0 0 auto; max-width: 142px; overflow: hidden; color: #718198; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-empty, .dashboard-empty-cell { color: var(--muted); font-size: 12px; }
.dashboard-empty { display: grid; gap: 5px; min-height: 100px; place-items: center; align-content: center; border: 1px dashed #c8d9eb; border-radius: 7px; text-align: center; }
.dashboard-empty b { color: #143052; font-size: 13px; }
.dashboard-empty-success { border-color: #bfe8cf; background: #fbfffc; }
@media (max-width: 980px) {
  .layout, .home-grid, .stats, .workbook-layout, .person-card, .form-layout { grid-template-columns: 1fr; height: auto; }
  .home-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-sidebar { position: static; }
  .form-help { position: static; }
  .form-entry { grid-template-columns: 1fr; gap: 11px; }
  .form-entry-actions { justify-content: flex-start; }
  .panel, .right { border: 0; border-bottom: 1px solid var(--line); }
  .hero-bar, .topbar { align-items: flex-start; flex-direction: column; height: auto; padding: 16px; }
  .hero-tools { width: 100%; align-items: stretch; }
  .form-switcher { flex: 1; }
  .overview-card.wide { grid-column: auto; }
  .task-toolbar, .task-meta-grid, .task-editor, .sms-settings, .task-card-glance { grid-template-columns: 1fr; }
  .admin-task-board, .employee-task-board { grid-template-columns: 1fr; }
  .task-section-tools { align-items: flex-end; flex-direction: column; gap: 6px; }
  .adjust-layout { grid-template-columns: 1fr; }
  .adjust-sidebar { position: static; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .dashboard-header-tools { width: 100%; justify-content: flex-start; }
  .dashboard-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-employee-panel { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .login-page { padding: 14px; }
  .login-panel { padding: 28px 22px; }
  .login-note { align-items: flex-start; flex-direction: column; }
  .home-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-page { padding: 18px 12px 32px; }
  .form-nav { justify-content: flex-start; }
  .form-card { padding: 20px 16px; }
  .form-page h1 { font-size: 27px; }
  .form-actions { justify-content: stretch; }
  .submit-button { width: 100%; }
  .adjust-fields { grid-template-columns: 1fr; }
  .adjust-footer { align-items: stretch; flex-direction: column; }
  .adjust-footer button { width: 100%; }
  .adjust-file-row { align-items: flex-start; flex-direction: column; }
  .adjust-file-actions { width: 100%; }
  .adjust-file-actions button { flex: 1; }
  .dashboard-page .app-shell { padding: 20px 14px 30px; }
  .dashboard-header h1 { font-size: 28px; }
  .dashboard-header-tools { align-items: stretch; flex-direction: column; }
  .dashboard-header-tools nav { width: 100%; }
  .dashboard-header-tools nav .nav-button { flex: 1; }
  .dashboard-kpi-grid, .dashboard-top-grid, .dashboard-bottom-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dashboard-kpi { padding: 13px 12px; }
  .dashboard-kpi strong { font-size: 26px; }
  .dashboard-panel { padding: 16px 13px; }
  .dashboard-status-panel, .dashboard-employee-panel, .dashboard-bottom-grid > article { grid-column: 1 / -1; }
  .dashboard-status-overview { gap: 14px; }
  .dashboard-status-ring { width: 128px; height: 128px; }
  .dashboard-recent-row time { max-width: 100px; }
}
.dashboard-page {
  min-height: 100vh;
  color: #e8f6ff;
  background-color: #07131f;
  background-image:
    linear-gradient(rgba(67, 184, 224, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 184, 224, .055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(4, 17, 29, .9), rgba(7, 24, 37, .58) 50%, rgba(5, 14, 25, .92));
}
.dashboard-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .035;
  background: repeating-linear-gradient(0deg, transparent 0 4px, #8feaff 4px 5px);
  animation: dashboard-scan 10s linear infinite;
}
@keyframes dashboard-scan {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}
.dashboard-page .app-shell {
  position: relative;
  z-index: 1;
  max-width: 1680px;
  padding: 28px 34px 42px;
}
.dashboard-header {
  min-height: 82px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.dashboard-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.dashboard-kicker {
  margin: 0;
  color: #64ddff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.dashboard-date {
  color: #7897aa;
  font-size: 11px;
}
.dashboard-header h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  color: #effbff;
  font-size: 33px;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(61, 214, 255, .18);
}
.dashboard-header h1 b {
  color: #607f93;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.dashboard-header p {
  color: #91aebe;
}
.dashboard-header-tools {
  align-items: center;
}
.dashboard-header-tools nav {
  gap: 8px;
}
.dashboard-page .nav-button {
  min-height: 34px;
  border-color: #29465b;
  border-radius: 6px;
  background: #0c1c2b;
  color: #b9d7e7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.dashboard-page .nav-button:hover {
  border-color: #42d9ff;
  background: #10283b;
  color: #ecfbff;
  box-shadow: 0 0 18px rgba(49, 205, 244, .14);
}
.dashboard-live {
  min-height: 34px;
  border-color: #285a62;
  background: #09252c;
  color: #8fc5cc;
}
.dashboard-live i {
  background: #54e3b0;
  box-shadow: 0 0 0 4px rgba(84, 227, 176, .1), 0 0 14px rgba(84, 227, 176, .7);
}
.dashboard-live span {
  color: #54e3b0;
  font-size: 11px;
  font-weight: 800;
}
.dashboard-live b {
  color: #c2e8ed;
  font-weight: 700;
}
.dashboard-content {
  gap: 14px;
}
.dashboard-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 42px;
  overflow: hidden;
  border: 1px solid #1e3b50;
  border-radius: 6px;
  background: rgba(7, 24, 37, .88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .17);
}
.dashboard-signal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border-right: 1px solid #1e3b50;
  color: #7694a7;
  font-size: 11px;
}
.dashboard-signal-item:last-child {
  border-right: 0;
}
.dashboard-signal-item i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #54e3b0;
  box-shadow: 0 0 10px rgba(84, 227, 176, .75);
}
.dashboard-signal-item i.active {
  background: #42d9ff;
  box-shadow: 0 0 10px rgba(66, 217, 255, .75);
}
.dashboard-signal-item i.sync {
  background: #ffc857;
  box-shadow: 0 0 10px rgba(255, 200, 87, .7);
}
.dashboard-signal-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-signal-item b {
  margin-left: auto;
  color: #c5e8f1;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.dashboard-signal-item:nth-child(1) b { color: #54e3b0; }
.dashboard-signal-item:nth-child(2) b { color: #42d9ff; }
.dashboard-signal-item:nth-child(3) b { color: #ffc857; }
.dashboard-signal-time {
  justify-content: space-between;
}
.dashboard-signal-time b {
  color: #8faec0;
  font-variant-numeric: tabular-nums;
}
.dashboard-kpi-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-kpi {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 16px 15px 14px;
  border: 1px solid #1e3b50;
  border-top: 2px solid #42d9ff;
  border-radius: 6px;
  background: rgba(10, 29, 44, .95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 9px 24px rgba(0, 0, 0, .14);
}
.dashboard-kpi::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-left: 1px solid rgba(66, 217, 255, .18);
  border-bottom: 1px solid rgba(66, 217, 255, .18);
}
.dashboard-kpi:hover {
  border-color: #397187;
  background: #0d2639;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 0 22px rgba(29, 179, 222, .12);
}
.dashboard-kpi span {
  color: #8caabd;
  font-size: 11px;
}
.dashboard-kpi strong {
  margin: 11px 0 6px;
  color: #ebfbff;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(66, 217, 255, .19);
}
.dashboard-kpi small {
  color: #68879a;
  font-size: 10px;
}
.dashboard-kpi small b {
  color: #42d9ff;
}
.dashboard-kpi-warning {
  border-top-color: #ffc857;
}
.dashboard-kpi-warning strong, .dashboard-kpi-danger strong {
  color: #ffc77a;
  text-shadow: 0 0 14px rgba(255, 200, 87, .16);
}
.dashboard-kpi-progress {
  border-top-color: #7c8cff;
}
.dashboard-kpi-progress strong {
  color: #aeb7ff;
  text-shadow: 0 0 14px rgba(124, 140, 255, .2);
}
.dashboard-kpi-success {
  border-top-color: #54e3b0;
}
.dashboard-kpi-success strong {
  color: #75efc3;
  text-shadow: 0 0 14px rgba(84, 227, 176, .2);
}
.dashboard-kpi-danger {
  border-top-color: #ff806e;
}
.dashboard-kpi-danger strong {
  color: #ff9b8b;
}
.dashboard-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 14px;
}
.dashboard-focus-panel, .dashboard-health-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #1e3b50;
  border-radius: 6px;
  background: rgba(9, 27, 42, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 9px 26px rgba(0, 0, 0, .15);
}
.dashboard-focus-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 78, 101, .2), transparent 45%),
    rgba(9, 27, 42, .96);
}
.dashboard-focus-panel::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 120px;
  height: 1px;
  background: #42d9ff;
  box-shadow: 0 0 16px rgba(66, 217, 255, .65);
  opacity: .65;
}
.dashboard-panel-heading {
  min-height: 38px;
  margin-bottom: 16px;
}
.dashboard-panel-heading > div > span {
  color: #42d9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.dashboard-panel-heading h2 {
  color: #e8f8ff;
  font-size: 18px;
}
.dashboard-panel-heading > b {
  color: #7696a9;
  font-size: 11px;
}
.dashboard-heading-cyan { color: #42d9ff !important; }
.dashboard-heading-green { color: #54e3b0 !important; }
.dashboard-focus-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 15px;
}
.dashboard-focus-main strong {
  color: #eaffff;
  font-size: 56px;
  line-height: .9;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(66, 217, 255, .25);
}
.dashboard-focus-main span {
  color: #86a9ba;
  font-size: 13px;
}
.dashboard-focus-track {
  height: 8px;
  overflow: hidden;
  border: 1px solid #23455c;
  border-radius: 999px;
  background: #071924;
}
.dashboard-focus-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #42d9ff;
  box-shadow: 0 0 14px rgba(66, 217, 255, .8);
  transition: width .5s ease;
}
.dashboard-focus-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: #7897aa;
  font-size: 11px;
}
.dashboard-focus-meta b {
  color: #54e3b0;
  font-weight: 700;
}
.dashboard-health-list {
  display: grid;
  gap: 14px;
  padding-top: 3px;
}
.dashboard-health-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #183346;
}
.dashboard-health-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.dashboard-health-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8aa8b8;
  font-size: 12px;
}
.dashboard-health-row span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42d9ff;
  box-shadow: 0 0 10px rgba(66, 217, 255, .7);
}
.dashboard-health-row span i.health-green {
  background: #54e3b0;
  box-shadow: 0 0 10px rgba(84, 227, 176, .7);
}
.dashboard-health-row span i.health-amber {
  background: #ffc857;
  box-shadow: 0 0 10px rgba(255, 200, 87, .7);
}
.dashboard-health-row b {
  color: #d1ecf3;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dashboard-panel {
  padding: 20px;
  border-color: #1e3b50;
  border-radius: 6px;
  background: rgba(9, 27, 42, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 9px 26px rgba(0, 0, 0, .15);
}
.dashboard-top-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .72fr) minmax(270px, .72fr);
}
.dashboard-table-wrap {
  border-color: #1e3b50;
  border-radius: 5px;
}
.dashboard-table {
  background: #0a1c2b;
}
.dashboard-table th, .dashboard-table td {
  border-bottom-color: #183346;
  color: #9ab4c2;
}
.dashboard-table th {
  background: #0d2639;
  color: #78a4b8;
  font-size: 10px;
  font-weight: 800;
}
.dashboard-table td {
  background: transparent;
}
.dashboard-table tbody tr:hover td {
  background: #0d283c;
}
.dashboard-table td:first-child a {
  color: #63dcff;
}
.dashboard-number {
  color: #ddf6ff !important;
}
.dashboard-alert-number {
  color: #ff9b8b !important;
}
.dashboard-bars-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
  color: #42d9ff;
  font-size: 10px;
  font-weight: 800;
}
.dashboard-bars-heading b {
  color: #6d8c9f;
  font-weight: 500;
}
.dashboard-form-bars {
  display: grid;
  gap: 9px;
}
.dashboard-form-bar-row {
  display: grid;
  grid-template-columns: minmax(90px, .65fr) minmax(100px, 1.35fr) 28px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #9ab4c2;
  font-size: 11px;
}
.dashboard-form-bar-row:hover {
  color: #e4f9ff;
}
.dashboard-form-bar-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-form-bar-row > i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #142f40;
}
.dashboard-form-bar-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #42d9ff;
  box-shadow: 0 0 12px rgba(66, 217, 255, .6);
  transition: width .5s ease;
}
.dashboard-form-bar-row > strong {
  color: #dff8ff;
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dashboard-status-overview {
  min-height: 166px;
}
.dashboard-status-ring {
  filter: drop-shadow(0 0 13px rgba(66, 217, 255, .14));
}
.dashboard-status-ring::before {
  background: #0a1c2b;
  box-shadow: inset 0 0 0 1px #183b4e;
}
.dashboard-status-ring strong {
  color: #eaffff;
  text-shadow: 0 0 16px rgba(66, 217, 255, .25);
}
.dashboard-status-ring small {
  color: #7897aa;
}
.dashboard-status-legend span {
  color: #91aebe;
}
.dashboard-status-legend b {
  color: #e5f8ff;
}
.dashboard-status-note {
  border-left-color: #42d9ff;
  background: #0c2436;
  color: #8eabba;
}
.dashboard-employee-list {
  gap: 15px;
}
.dashboard-employee-row {
  gap: 7px;
}
.dashboard-employee-head b {
  color: #e5f8ff;
}
.dashboard-employee-head span, .dashboard-employee-meta span {
  color: #7695a8;
}
.dashboard-employee-progress {
  height: 6px;
  background: #142f40;
}
.dashboard-employee-progress i {
  background: #54e3b0;
  box-shadow: 0 0 12px rgba(84, 227, 176, .5);
}
.dashboard-employee-meta b {
  color: #54e3b0;
}
.dashboard-alert-row, .dashboard-recent-row {
  border-color: #183346;
  border-radius: 5px;
  background: #0a1c2b;
}
.dashboard-alert-row:hover, .dashboard-recent-row:hover {
  border-color: #397187;
  background: #0d283c;
}
.dashboard-alert-icon {
  background: #3a211f;
  color: #ff9b8b;
  box-shadow: 0 0 12px rgba(255, 128, 110, .14);
}
.dashboard-alert-copy b, .dashboard-recent-copy b {
  color: #e4f8ff;
}
.dashboard-alert-copy small, .dashboard-recent-copy small {
  color: #7897aa;
}
.dashboard-alert-row > strong {
  color: #ff9b8b;
}
.dashboard-recent-dot {
  background: #42d9ff;
  box-shadow: 0 0 10px rgba(66, 217, 255, .7);
}
.dashboard-recent-row time {
  color: #7695a8;
}
.dashboard-empty {
  border-color: #23455c;
  background: #0a1c2b;
  color: #7897aa;
}
.dashboard-empty b {
  color: #dff7ff;
}
.dashboard-empty-success {
  border-color: #245744;
  background: #09251f;
}
@media (max-width: 1180px) {
  .dashboard-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .dashboard-top-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  }
  .dashboard-employee-panel {
    grid-column: 1 / -1;
  }
}
@media (max-width: 980px) {
  .dashboard-page .app-shell {
    padding: 22px 20px 34px;
  }
  .dashboard-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-signal-item:nth-child(2) {
    border-right: 0;
  }
  .dashboard-signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid #1e3b50;
  }
  .dashboard-focus-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-health-panel {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  .dashboard-health-panel .dashboard-panel-heading {
    margin-bottom: 0;
  }
  .dashboard-health-list {
    padding-top: 2px;
  }
}
@media (max-width: 560px) {
  .dashboard-page .app-shell {
    padding: 18px 12px 28px;
  }
  .dashboard-header {
    gap: 16px;
  }
  .dashboard-brandline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .dashboard-header h1 {
    font-size: 28px;
  }
  .dashboard-header-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  .dashboard-header-tools nav {
    width: 100%;
  }
  .dashboard-header-tools nav .nav-button {
    flex: 1;
  }
  .dashboard-signal-strip {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-signal-item {
    padding: 9px 10px;
  }
  .dashboard-signal-item b {
    display: none;
  }
  .dashboard-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-kpi {
    min-height: 104px;
    padding: 14px 12px 12px;
  }
  .dashboard-kpi strong {
    font-size: 26px;
  }
  .dashboard-focus-panel, .dashboard-health-panel, .dashboard-panel {
    padding: 16px 13px;
  }
  .dashboard-focus-main strong {
    font-size: 48px;
  }
  .dashboard-health-panel {
    display: block;
  }
  .dashboard-health-panel .dashboard-panel-heading {
    margin-bottom: 16px;
  }
  .dashboard-status-panel, .dashboard-employee-panel, .dashboard-bottom-grid > article {
    grid-column: 1 / -1;
  }
  .dashboard-status-overview {
    gap: 14px;
  }
  .dashboard-status-ring {
    width: 128px;
    height: 128px;
  }
  .dashboard-recent-row time {
    max-width: 92px;
  }
}
.dashboard-page {
  color: #17324d;
  background-color: #f4f8fc;
  background-image:
    linear-gradient(rgba(43, 132, 184, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 132, 184, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.dashboard-page::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, .94), rgba(247, 251, 255, .76) 50%, rgba(255, 255, 255, .96));
}
.dashboard-page::after {
  opacity: .018;
  background: repeating-linear-gradient(0deg, transparent 0 4px, #2d8bb4 4px 5px);
}
.dashboard-page .app-shell {
  max-width: 1680px;
  padding: 28px 34px 42px;
}
.dashboard-kicker {
  color: #2385b7;
}
.dashboard-date {
  color: #8195a8;
}
.dashboard-header h1 {
  color: #123452;
  text-shadow: 0 0 22px rgba(36, 137, 185, .1);
}
.dashboard-header h1 b {
  color: #7892a7;
}
.dashboard-header p {
  color: #5d7388;
}
.dashboard-page .nav-button {
  border-color: #c9dceb;
  background: rgba(255, 255, 255, .94);
  color: #315773;
  box-shadow: 0 4px 12px rgba(41, 91, 125, .06);
}
.dashboard-page .nav-button:hover {
  border-color: #68b9dc;
  background: #fff;
  color: #12668f;
  box-shadow: 0 7px 18px rgba(37, 139, 190, .14);
}
.dashboard-live {
  border-color: #bfe4d3;
  background: #f6fffa;
  color: #527b6b;
  box-shadow: 0 4px 12px rgba(26, 122, 80, .05);
}
.dashboard-live i {
  background: #20b878;
  box-shadow: 0 0 0 4px rgba(32, 184, 120, .1), 0 0 14px rgba(32, 184, 120, .32);
}
.dashboard-live span {
  color: #16905d;
}
.dashboard-live b {
  color: #2e6e59;
}
.dashboard-signal-strip {
  border-color: #cfe0ed;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 6px 20px rgba(40, 85, 116, .07);
}
.dashboard-signal-item {
  border-right-color: #e0ebf3;
  color: #748da2;
}
.dashboard-signal-item i {
  background: #20b878;
  box-shadow: 0 0 10px rgba(32, 184, 120, .38);
}
.dashboard-signal-item i.active {
  background: #238bd0;
  box-shadow: 0 0 10px rgba(35, 139, 208, .38);
}
.dashboard-signal-item i.sync {
  background: #e4a928;
  box-shadow: 0 0 10px rgba(228, 169, 40, .35);
}
.dashboard-signal-item b {
  color: #42677d;
}
.dashboard-signal-item:nth-child(1) b { color: #13865a; }
.dashboard-signal-item:nth-child(2) b { color: #1879b7; }
.dashboard-signal-item:nth-child(3) b { color: #aa7410; }
.dashboard-signal-time b {
  color: #648198;
}
.dashboard-kpi {
  border-color: #d5e3ee;
  border-top-color: #59add1;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 7px 20px rgba(41, 85, 116, .07);
}
.dashboard-kpi::after {
  border-left-color: rgba(43, 145, 191, .14);
  border-bottom-color: rgba(43, 145, 191, .14);
}
.dashboard-kpi:hover {
  border-color: #9bc9df;
  background: #fff;
  box-shadow: 0 0 22px rgba(47, 142, 186, .12);
}
.dashboard-kpi span {
  color: #6d8295;
}
.dashboard-kpi strong {
  color: #123b5d;
  text-shadow: 0 0 14px rgba(36, 137, 185, .1);
}
.dashboard-kpi small {
  color: #8295a5;
}
.dashboard-kpi small b {
  color: #1879b7;
}
.dashboard-kpi-warning {
  border-top-color: #e2ad35;
}
.dashboard-kpi-warning strong, .dashboard-kpi-danger strong {
  color: #ad542f;
  text-shadow: none;
}
.dashboard-kpi-progress {
  border-top-color: #637ed0;
}
.dashboard-kpi-progress strong {
  color: #4e69b8;
  text-shadow: none;
}
.dashboard-kpi-success {
  border-top-color: #21ad76;
}
.dashboard-kpi-success strong {
  color: #118255;
  text-shadow: none;
}
.dashboard-kpi-danger {
  border-top-color: #df7764;
}
.dashboard-kpi-danger strong {
  color: #b34d3d;
}
.dashboard-focus-panel, .dashboard-health-panel, .dashboard-panel {
  border-color: #d3e2ed;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(38, 82, 113, .07);
}
.dashboard-focus-panel {
  background:
    linear-gradient(90deg, rgba(61, 175, 215, .08), transparent 45%),
    rgba(255, 255, 255, .97);
}
.dashboard-focus-panel::after {
  background: #3aa4cb;
  box-shadow: 0 0 16px rgba(58, 164, 203, .36);
}
.dashboard-panel-heading > div > span {
  color: #2589b8;
}
.dashboard-panel-heading h2 {
  color: #173b59;
}
.dashboard-panel-heading > b {
  color: #71879a;
}
.dashboard-heading-cyan {
  color: #2589b8 !important;
}
.dashboard-heading-green {
  color: #16865a !important;
}
.dashboard-focus-main strong {
  color: #12466c;
  text-shadow: 0 0 24px rgba(44, 157, 203, .16);
}
.dashboard-focus-main span {
  color: #71899d;
}
.dashboard-focus-track {
  border-color: #c9dfeb;
  background: #edf6fa;
}
.dashboard-focus-track i {
  background: #2fa4cf;
  box-shadow: 0 0 14px rgba(47, 164, 207, .48);
}
.dashboard-focus-meta {
  color: #71899d;
}
.dashboard-focus-meta b {
  color: #16865a;
}
.dashboard-health-row {
  border-bottom-color: #e4edf3;
}
.dashboard-health-row span {
  color: #658095;
}
.dashboard-health-row span i {
  background: #2f9bc6;
  box-shadow: 0 0 10px rgba(47, 155, 198, .35);
}
.dashboard-health-row span i.health-green {
  background: #20b878;
  box-shadow: 0 0 10px rgba(32, 184, 120, .35);
}
.dashboard-health-row span i.health-amber {
  background: #e2a72b;
  box-shadow: 0 0 10px rgba(226, 167, 43, .3);
}
.dashboard-health-row b {
  color: #315773;
}
.dashboard-table-wrap {
  border-color: #d5e3ed;
}
.dashboard-table {
  background: #fff;
}
.dashboard-table th, .dashboard-table td {
  border-bottom-color: #e5edf3;
  color: #587286;
}
.dashboard-table th {
  background: #f5f9fc;
  color: #5a7890;
}
.dashboard-table tbody tr:hover td {
  background: #f7fbfd;
}
.dashboard-table td:first-child a {
  color: #1474aa;
}
.dashboard-number {
  color: #214c6c !important;
}
.dashboard-alert-number {
  color: #b34d3d !important;
}
.dashboard-bars-heading {
  color: #2589b8;
}
.dashboard-bars-heading b {
  color: #7b91a2;
}
.dashboard-form-bar-row {
  color: #607d91;
}
.dashboard-form-bar-row:hover {
  color: #174a6b;
}
.dashboard-form-bar-row > i {
  background: #e6f0f5;
}
.dashboard-form-bar-row > i b {
  background: #3aa4cb;
  box-shadow: 0 0 12px rgba(58, 164, 203, .35);
}
.dashboard-form-bar-row > strong {
  color: #315773;
}
.dashboard-status-ring {
  filter: drop-shadow(0 0 13px rgba(48, 143, 185, .1));
}
.dashboard-status-ring::before {
  background: #fff;
  box-shadow: inset 0 0 0 1px #d9e8f0;
}
.dashboard-status-ring strong {
  color: #174668;
  text-shadow: none;
}
.dashboard-status-ring small {
  color: #73899b;
}
.dashboard-status-legend span {
  color: #607d91;
}
.dashboard-status-legend b {
  color: #315773;
}
.dashboard-status-note {
  border-left-color: #4aa6cb;
  background: #f1f9fc;
  color: #5c778b;
}
.dashboard-employee-head b {
  color: #254c68;
}
.dashboard-employee-head span, .dashboard-employee-meta span {
  color: #7890a1;
}
.dashboard-employee-progress {
  background: #e6f0f5;
}
.dashboard-employee-progress i {
  background: linear-gradient(90deg, #318fc0, #24ad79);
  box-shadow: 0 0 12px rgba(39, 150, 166, .24);
}
.dashboard-employee-meta b {
  color: #16865a;
}
.dashboard-alert-row, .dashboard-recent-row {
  border-color: #e0eaf1;
  background: #fbfdff;
}
.dashboard-alert-row:hover, .dashboard-recent-row:hover {
  border-color: #a9cfe2;
  background: #f5fbfe;
}
.dashboard-alert-icon {
  background: #fff0ed;
  color: #b34d3d;
  box-shadow: 0 0 12px rgba(223, 119, 100, .1);
}
.dashboard-alert-copy b, .dashboard-recent-copy b {
  color: #254c68;
}
.dashboard-alert-copy small, .dashboard-recent-copy small {
  color: #7890a1;
}
.dashboard-alert-row > strong {
  color: #b34d3d;
}
.dashboard-recent-dot {
  background: #3aa4cb;
  box-shadow: 0 0 10px rgba(58, 164, 203, .4);
}
.dashboard-recent-row time {
  color: #7890a1;
}
.dashboard-empty {
  border-color: #cbdfe9;
  background: #fbfdff;
  color: #7890a1;
}
.dashboard-empty b {
  color: #315773;
}
.dashboard-empty-success {
  border-color: #bfe4d3;
  background: #f6fffa;
}
@media (max-width: 980px) {
  .dashboard-signal-item:nth-child(2) {
    border-right-color: #e0ebf3;
  }
  .dashboard-signal-item:nth-child(-n + 2) {
    border-bottom-color: #e0ebf3;
  }
}
