:root {
    --xp-blue: #0b5ba8;
    --xp-blue-dark: #06417e;
    --xp-blue-light: #cfe7fb;
    --office-blue: #3d7fc1;
    --office-sky: #eaf5ff;
    --chrome: #dbe4ee;
    --chrome-dark: #97a9ba;
    --line: #aebdcb;
    --line-light: #d6e0e9;
    --surface: #ffffff;
    --surface-soft: #f4f7fa;
    --ink: #172433;
    --muted: #647487;
    --danger: #c63232;
    --orange: #d27616;
    --green: #23804a;
    --shadow: 0 2px 8px rgba(17, 45, 76, .16);
    color-scheme: light;
    font-family: Tahoma, "Microsoft YaHei", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #b8c9d9; }
body { margin: 0; color: var(--ink); background: #d9e3ec; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: #075fae; text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: #fff; padding: .75rem 1rem; border: 2px solid var(--xp-blue); }
.skip-link:focus { top: 1rem; }
.ui-icon { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; vertical-align: middle; }

/* Login */
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 32%, rgba(255,255,255,.52), transparent 34rem),
        linear-gradient(155deg, #9ab7d3 0%, #d7e3ee 46%, #9fbad3 100%);
}
.login-body::before { content: ""; position: fixed; inset: 0; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 32px 32px; }
.login-shell { width: min(860px, calc(100vw - 2rem)); position: relative; z-index: 1; }
.login-window { background: #f0f4f8; border: 1px solid #164c80; border-radius: 7px 7px 3px 3px; box-shadow: 0 18px 56px rgba(14, 38, 67, .38), inset 0 0 0 2px #d9edf9; overflow: hidden; }
.window-titlebar { min-height: 32px; display: flex; align-items: center; gap: 8px; padding: 3px 5px; color: #fff; font-weight: 700; text-shadow: 0 1px 1px #123d65; background: linear-gradient(#62a7e5 0%, #2c7ac2 14%, #0c58a2 58%, #084687 100%); border-bottom: 1px solid #063761; }
.titlebar-mark { width: 23px; height: 23px; display: grid; place-items: center; background: linear-gradient(#fff, #bedcf5); border: 1px solid #062f58; color: #0b5ba8; text-shadow: none; border-radius: 3px; font-size: 12px; }
.window-controls { margin-left: auto; display: flex; gap: 2px; }
.window-controls span, .window-titlebar > button { width: 25px; height: 22px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 2px; background: linear-gradient(#8cc5ee, #2d79bf); box-shadow: inset 0 0 0 1px rgba(0,52,104,.4); padding: 0; font-weight: 700; }
.window-controls span:last-child, .window-titlebar > button { background: linear-gradient(#ef9a7b, #c9381c 60%, #92200e); }
.login-banner { display: flex; align-items: center; gap: 17px; height: 100px; padding: 0 32px; color: #fff; background: linear-gradient(90deg, #0a4b8d, #1675c8 58%, #65a8df); border-bottom: 1px solid #fff; box-shadow: inset 0 -10px 28px rgba(2, 48, 96, .2); }
.login-brand-mark { width: 59px; height: 59px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 9px; transform: skew(-7deg); box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), 0 3px 8px rgba(0,0,0,.22); background: linear-gradient(135deg, #5cb9f0, #0c4d98); }
.login-brand-mark span { transform: skew(7deg); font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.login-banner h1 { margin: 0 0 4px; font-size: 27px; letter-spacing: 2px; text-shadow: 0 2px 2px #033566; }
.login-banner p { margin: 0; font: 11px/1.3 Arial, sans-serif; letter-spacing: 2.5px; opacity: .8; }
.login-content { min-height: 390px; display: grid; grid-template-columns: 1.08fr .92fr; background: linear-gradient(90deg, #e7f0f8 0 51%, #f9fbfd 51%); }
.login-illustration { position: relative; min-height: 390px; overflow: hidden; background: linear-gradient(155deg, #d8e8f5, #b8d1e6 60%, #8faec8); border-right: 1px solid #9aabba; }
.studio-screen { position: absolute; left: 14%; right: 14%; top: 65px; height: 160px; border: 10px solid #38516b; border-radius: 4px; background: radial-gradient(circle at 55% 48%, #5da9df, #0c4f91 68%); box-shadow: 0 8px 14px rgba(27, 48, 66, .3); }
.studio-screen::before, .studio-screen::after { content: ""; position: absolute; inset: 22px 38px; border: 1px solid rgba(255,255,255,.35); transform: skew(-9deg); }
.studio-screen::after { inset: 37px 58px; }
.studio-screen span { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); color: #fff; font: 700 23px Arial; letter-spacing: 4px; text-shadow: 0 2px 3px #00376d; }
.studio-screen i { position: absolute; bottom: 14px; width: 46px; height: 3px; background: rgba(255,255,255,.7); }
.studio-screen i:nth-child(2) { left: 30px; } .studio-screen i:nth-child(3) { left: 96px; } .studio-screen i:nth-child(4) { right: 30px; }
.studio-desk { position: absolute; left: 11%; right: 11%; bottom: 73px; height: 82px; background: linear-gradient(#e1edf6 0 20%, #7f9db9 21% 29%, #d2e0eb 30% 100%); clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); border-bottom: 8px solid #425e79; }
.studio-floor { position: absolute; inset: auto -20% 0; height: 100px; opacity: .42; background: repeating-linear-gradient(90deg, transparent 0 45px, #6f91ae 46px 48px), linear-gradient(14deg, transparent 0 48%, #6f91ae 49% 50%, transparent 51%); }
.login-form { padding: 36px 50px 25px; }
.login-form h2 { margin: 0; color: #174f80; font-size: 21px; }
.login-tip { margin: 6px 0 25px; color: var(--muted); }
.login-form > label { display: block; margin: 13px 0 5px; font-weight: 700; color: #31485f; }
.input-with-icon { display: grid; grid-template-columns: 36px 1fr; align-items: center; border: 1px solid #8197aa; background: #fff; box-shadow: inset 1px 1px 2px rgba(0,0,0,.12); }
.input-with-icon:focus-within { outline: 2px solid rgba(31, 122, 199, .25); border-color: #1d70b7; }
.input-with-icon span { text-align: center; filter: grayscale(.8); }
.input-with-icon input { height: 38px; border: 0; outline: 0; padding: 0 9px; min-width: 0; }
.login-options { display: flex; justify-content: space-between; align-items: center; margin: 15px 0 18px; color: #5e7080; font-size: 13px; }
.login-options label { display: flex; gap: 6px; align-items: center; }
.login-error { padding: 8px 10px; margin: -12px 0 10px; color: #8d1e1e; background: #fff0f0; border: 1px solid #d99; }
.login-version { text-align: center; color: #82909c; font-size: 12px; margin: 18px 0 0; }
.login-statusbar, .app-statusbar { display: flex; justify-content: space-between; color: #3a4b5a; font-size: 12px; padding: 5px 9px; background: linear-gradient(#eef3f7, #c9d4de); border-top: 1px solid #fff; box-shadow: inset 0 1px #f9fbfd; }
.login-statusbar span:first-child { color: #2d6f42; }

/* Shared controls */
.xp-button { min-height: 29px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 4px 13px; border: 1px solid #7d91a3; border-radius: 2px; color: #26394b; background: linear-gradient(#fff 0%, #f4f7f9 42%, #d8e1e9 44%, #edf2f6 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.08); white-space: nowrap; }
.xp-button:hover { border-color: #d68a17; background: linear-gradient(#fffdf7, #fff3ca 44%, #ffd272 46%, #fff2c1); text-decoration: none; }
.xp-button:active { box-shadow: inset 0 1px 3px rgba(0,0,0,.2); transform: translateY(1px); }
.xp-button.primary { color: #fff; border-color: #064781; text-shadow: 0 1px #06396a; background: linear-gradient(#68aae1 0%, #2d80c8 43%, #0b5ba8 46%, #2075bb 100%); }
.xp-button.primary:hover { border-color: #9a5c00; background: linear-gradient(#74b4e8, #3a8bd0 43%, #0c68ba 46%, #2b83c7); }
.xp-button.danger { color: #8f1c16; border-color: #b7726c; background: linear-gradient(#fff, #f9e3e0 44%, #edb7b1 46%, #fae5e1); }
.xp-button.large { width: 100%; min-height: 38px; font-weight: 700; font-size: 15px; }
.xp-button .ui-icon { width: 15px; height: 15px; }
input, select, textarea { border: 1px solid #91a3b4; background: #fff; border-radius: 1px; padding: 6px 8px; min-height: 30px; box-shadow: inset 1px 1px 2px rgba(36, 58, 80, .08); }
input:focus, select:focus, textarea:focus { border-color: #2778bd; outline: 2px solid rgba(56, 142, 211, .16); }
textarea { resize: vertical; line-height: 1.65; }
label > span, fieldset > legend { color: #425466; font-weight: 700; }
label > span em { color: #c32b26; font-style: normal; }

/* Main application shell */
.app-body { min-height: 100vh; overflow: hidden; background: #cbd8e4; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); grid-template-rows: 52px minmax(0, 1fr) 25px; }
.app-header { grid-column: 1 / -1; position: relative; z-index: 100; display: flex; align-items: center; min-width: 0; color: #fff; background: linear-gradient(#438fd0 0%, #1f70b6 48%, #0b559d 51%, #0a4b8d 100%); border-bottom: 1px solid #063867; box-shadow: 0 2px 6px rgba(16, 43, 71, .32); }
.app-brand { height: 52px; width: 246px; display: flex; align-items: center; gap: 9px; padding: 0 13px; color: #fff; text-decoration: none; border-right: 1px solid rgba(0,39,78,.5); box-shadow: 1px 0 rgba(255,255,255,.15); }
.app-brand:hover { text-decoration: none; background: rgba(255,255,255,.06); }
.brand-logo { width: 34px; height: 34px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #9bc9ee); color: #0b579f; border: 1px solid #043f77; border-radius: 5px; box-shadow: inset 0 0 0 2px #e7f4ff, 0 1px 2px rgba(0,0,0,.32); font: 800 14px Arial; transform: skew(-5deg); }
.app-brand > span:last-child { min-width: 0; }
.app-brand strong { display: block; font-size: 15px; letter-spacing: .5px; text-shadow: 0 1px 1px #063661; white-space: nowrap; }
.app-brand small { display: block; margin-top: 2px; font: 9px Arial; letter-spacing: 1.4px; opacity: .68; }
.global-search { width: min(430px, 36vw); height: 32px; display: flex; align-items: center; margin-left: 20px; color: #567184; background: #fff; border: 1px solid #054985; box-shadow: inset 1px 1px 2px rgba(0,0,0,.15), 0 1px rgba(255,255,255,.16); }
.global-search .ui-icon { width: 16px; margin: 0 7px; }
.global-search input { flex: 1; min-width: 0; height: 28px; border: 0; box-shadow: none; padding: 0; outline: 0; }
.global-search kbd { margin-right: 5px; padding: 2px 5px; color: #708293; background: #edf1f4; border: 1px solid #b8c4ce; border-radius: 2px; font: 11px Tahoma; white-space: nowrap; }
.header-actions { margin-left: auto; height: 100%; display: flex; align-items: center; }
.database-state { display: flex; gap: 6px; align-items: center; margin: 0 7px; padding: 4px 7px; border: 1px solid rgba(0,44,84,.65); border-radius: 12px; background: rgba(0,48,92,.34); font-size: 11px; }
.database-state i { width: 7px; height: 7px; border-radius: 50%; background: #ffd56a; box-shadow: 0 0 4px #ffc63b; }
.database-state.online i { background: #78ed9e; box-shadow: 0 0 4px #54d97f; }
.header-icon { position: relative; width: 39px; height: 100%; display: grid; place-items: center; color: #fff; border: 0; border-left: 1px solid rgba(0,43,82,.45); background: transparent; }
.header-icon:hover { background: rgba(255,255,255,.12); }
.header-icon.notification b { position: absolute; top: 7px; right: 4px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 3px; color: #fff; background: #d82d28; border: 1px solid #8a0e0a; border-radius: 9px; font-size: 10px; }
.user-menu { position: relative; height: 100%; }
.user-menu > button { height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #fff; border: 0; border-left: 1px solid rgba(0,43,82,.45); background: transparent; text-align: left; }
.user-menu > button:hover { background: rgba(255,255,255,.12); }
.user-avatar, .person-avatar { width: 32px; height: 32px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #0b559d; background: linear-gradient(#fff, #cfe4f4); border: 1px solid #174b7a; border-radius: 3px; box-shadow: inset 0 0 0 1px #fff; font-weight: 700; }
.user-menu strong, .user-menu small { display: block; white-space: nowrap; }
.user-menu small { margin-top: 2px; opacity: .72; font-size: 11px; }
.user-dropdown { position: absolute; top: calc(100% + 2px); right: 5px; width: 250px; padding: 7px; color: var(--ink); background: #fff; border: 1px solid #50779c; box-shadow: 0 6px 22px rgba(19, 44, 67, .35); }
.user-dropdown > strong { padding: 5px 7px 8px; color: #5b6b7b; font-size: 12px; }
.user-dropdown > a { display: flex; align-items: center; gap: 8px; padding: 6px; color: var(--ink); border: 1px solid transparent; }
.user-dropdown > a:hover, .user-dropdown > a.current { text-decoration: none; background: #e7f2fb; border-color: #b8d1e6; }
.user-dropdown > a > span { width: 27px; height: 27px; display: grid; place-items: center; background: #d9e9f5; border: 1px solid #91acc3; color: #174f80; }
.user-dropdown small { color: var(--muted); }
.user-dropdown form { margin: 0; }
.user-dropdown .logout-link { display: flex; width: 100%; justify-content: center; margin-top: 6px; padding: 7px; border: 0; border-top: 1px solid #dbe2e9; background: #fff; color: #a12c27; cursor: pointer; }
.user-dropdown .logout-link:hover { background: #fff0ef; }
.mobile-menu { display: none; }

.sidebar { grid-row: 2; position: relative; z-index: 50; min-height: 0; display: flex; flex-direction: column; color: #21374c; background: linear-gradient(90deg, #f5f8fb, #dfe8f0); border-right: 1px solid #7c94aa; box-shadow: inset -1px 0 #fff; }
.sidebar-heading { height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 13px; color: #42586c; background: linear-gradient(#fff, #d6e1eb); border-bottom: 1px solid #93a8ba; font-size: 12px; font-weight: 700; }
.sidebar-heading button { border: 0; background: transparent; color: #49657d; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 6px 5px 12px; scrollbar-color: #98acbd #dce5ed; }
.nav-group { margin-bottom: 3px; }
.nav-group summary { height: 34px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 14px; align-items: center; gap: 5px; padding: 0 7px; list-style: none; cursor: pointer; border: 1px solid transparent; border-radius: 2px; font-weight: 700; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary:hover { border-color: #b6c6d5; background: linear-gradient(#fff, #e5edf4); }
.nav-group[open] summary { color: #0b579e; background: linear-gradient(#e8f4ff, #cddff0); border-color: #acc2d5; }
.nav-group summary .ui-icon { width: 18px; height: 18px; color: #3975aa; }
.nav-group summary > em, .nav-group a > em { min-width: 19px; height: 17px; display: grid; place-items: center; padding: 0 4px; color: #fff; background: #d2302b; border: 1px solid #9d1713; border-radius: 9px; font: 700 10px Tahoma; }
.nav-group summary > b { transform: rotate(-90deg); color: #6d8193; transition: transform .15s; }
.nav-group[open] summary > b { transform: rotate(0); }
.nav-group > div { padding: 2px 0 3px; }
.nav-group a { min-height: 30px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 3px; padding: 2px 8px 2px 10px; color: #34495d; border: 1px solid transparent; border-radius: 2px; }
.nav-group a:hover { text-decoration: none; color: #0b579e; background: #edf5fc; border-color: #cedce8; }
.nav-group a.active { color: #fff; background: linear-gradient(90deg, #176ab2, #3f8ac9); border-color: #0a5798; text-shadow: 0 1px #06447e; }
.nav-group a > i { width: 7px; height: 7px; margin-left: 7px; border: 1px solid #879bac; background: #fff; transform: rotate(45deg); }
.nav-group a.active > i { background: #fff7bb; border-color: #fff; }
.sidebar-footer { min-height: 47px; display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: linear-gradient(#e6edf3, #c9d7e2); border-top: 1px solid #91a6b8; font-size: 11px; }
.sidebar-footer div { min-width: 0; }
.sidebar-footer span, .sidebar-footer strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer span { color: #657688; }
.online-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #39a65c; box-shadow: 0 0 4px rgba(57,166,92,.6); }

.main-content { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; overflow: auto; padding: 14px 16px 20px; background: #eef3f7; }
.content-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 65px; margin: -14px -16px 14px; padding: 9px 16px 10px; background: linear-gradient(#fff, #e3ebf2); border-bottom: 1px solid #aebfcd; box-shadow: inset 0 -1px #fff; }
.content-heading h1 { display: inline-block; margin: 3px 8px 0 0; font-size: 21px; color: #1d4469; }
.content-heading p { display: inline; margin: 0; color: #637487; font-size: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 5px; color: #718294; font-size: 11px; }
.breadcrumb b { font-weight: 400; }
.heading-actions { display: flex; gap: 6px; }
.flash { min-height: 36px; display: flex; align-items: center; margin: 0 0 12px; padding: 6px 9px 6px 12px; border: 1px solid #8ab1d3; background: #e8f5ff; box-shadow: inset 0 0 0 1px #fff; }
.flash.success { color: #225f38; border-color: #83b793; background: #edf9f0; }
.flash.warning { color: #774b0a; border-color: #d4b16c; background: #fff8df; }
.flash.error { color: #8d2222; border-color: #d39494; background: #fff0f0; }
.flash span { flex: 1; }
.flash button { border: 0; background: transparent; font-size: 18px; }
.app-statusbar { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; gap: 0; padding: 0; border-top-color: #728a9f; }
.app-statusbar span { display: flex; align-items: center; min-width: 130px; padding: 0 8px; border-right: 1px solid #a7b6c3; box-shadow: inset 1px 0 #fff; }
.app-statusbar span:first-child { flex: 1; }
.sidebar-backdrop { display: none; }

/* Windows, panels and tables */
.window-panel { background: var(--surface); border: 1px solid #8ba2b7; box-shadow: var(--shadow), inset 0 0 0 1px #fff; }
.panel-titlebar { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 8px 5px 11px; background: linear-gradient(#fdfefe 0%, #eef3f7 45%, #d8e3ed 48%, #eef3f7 100%); border-bottom: 1px solid #9db0c2; box-shadow: inset 0 1px #fff; }
.panel-titlebar > div:first-child { min-width: 0; }
.panel-titlebar strong { color: #244d73; font-size: 14px; }
.panel-titlebar strong + span { margin-left: 9px; color: #6e7e8e; font-size: 11px; }
.panel-titlebar a { font-size: 12px; }
.icon-button { display: grid; place-items: center; width: 27px; height: 25px; border: 1px solid #a4b4c2; background: linear-gradient(#fff, #dce5ed); }
.filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; padding: 9px 10px; background: #f6f8fa; border-bottom: 1px solid #c3d0db; }
.filter-field { display: grid; gap: 3px; }
.filter-field > span { font-size: 11px; }
.filter-field input, .filter-field select { height: 29px; min-width: 128px; padding-top: 3px; padding-bottom: 3px; }
.filter-field input[type=search] { min-width: 190px; }
.table-wrap { width: 100%; overflow-x: auto; background: #fff; }
.data-table { width: 100%; min-width: 850px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.data-table th { height: 34px; padding: 5px 8px; color: #244b70; background: linear-gradient(#f9fcff 0%, #d9e8f4 48%, #c7dcec 51%, #e8f2f9 100%); border-right: 1px solid #aabcc9; border-bottom: 1px solid #7894aa; box-shadow: inset 1px 0 #fff, inset 0 1px #fff; text-align: left; white-space: nowrap; }
.data-table th:last-child { border-right: 0; }
.data-table td { height: 38px; padding: 5px 8px; border-right: 1px solid #dae2e8; border-bottom: 1px solid #d0dae2; vertical-align: middle; }
.data-table td:last-child { border-right: 0; }
.data-table tbody tr:nth-child(even) { background: #f6f9fc; }
.data-table tbody tr:hover { background: #fff5ce; }
.data-table .col-index { width: 50px; text-align: center; }
.data-table .col-title { min-width: 210px; }
.data-table .col-actions { min-width: 130px; }
.data-table .col-actions.wide { min-width: 190px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 3px; }
.row-actions button, .data-table td > button { min-height: 23px; padding: 2px 6px; color: #075da8; border: 1px solid #9bb3c7; background: linear-gradient(#fff, #e0eaf2); border-radius: 1px; font-size: 12px; white-space: nowrap; }
.row-actions button:hover, .data-table td > button:hover { color: #7e4b00; border-color: #d09a3f; background: #fff1c8; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 21px; padding: 2px 7px; border: 1px solid #9aa9b6; background: #f0f3f5; border-radius: 11px; font-size: 11px; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #7d8993; }
.status-pill.blue { color: #0b5da7; border-color: #8ab5da; background: #edf7ff; }.status-pill.blue i { background: #2a84cf; }
.status-pill.orange { color: #94540a; border-color: #deb46f; background: #fff8df; }.status-pill.orange i { background: #e18b1a; }
.status-pill.red { color: #a22622; border-color: #d7a09d; background: #fff0ef; }.status-pill.red i { background: #d53d37; }
.status-pill.green { color: #216c3a; border-color: #90c09d; background: #eefaf1; }.status-pill.green i { background: #36a45d; }
.pagination-bar { min-height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 5px 9px; color: #657687; background: linear-gradient(#f7f9fb, #e4ebf1); border-top: 1px solid #fff; font-size: 12px; }
.pagination-bar div { display: flex; }
.pagination-bar button { min-width: 28px; height: 24px; padding: 0 6px; border: 1px solid #9faebc; border-right: 0; background: #fff; }
.pagination-bar button:last-child { border-right: 1px solid #9faebc; }
.pagination-bar button.active { color: #fff; background: #1769ad; border-color: #0c5899; }
.table-empty { padding: 60px 20px; text-align: center; color: var(--muted); }

/* Dashboard */
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .78fr) minmax(240px, .7fr); gap: 12px; min-width: 0; }
.dashboard-grid > * { min-width: 0; }
.full-span { grid-column: 1 / -1; }
.span-2 { grid-column: span 2; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi-card { position: relative; min-height: 96px; display: grid; grid-template-columns: 50px 1fr 18px; align-items: center; gap: 12px; padding: 13px; color: var(--ink); background: #fff; border: 1px solid #8fa6b9; border-top: 4px solid #2b7dbe; box-shadow: var(--shadow), inset 0 0 0 1px #fff; }
.kpi-card:hover { text-decoration: none; background: #f8fbfe; transform: translateY(-1px); }
.kpi-card.tone-orange { border-top-color: #d47a1b; }.kpi-card.tone-red { border-top-color: #bf3a35; }.kpi-card.tone-green { border-top-color: #2f8953; }
.kpi-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: linear-gradient(#5ba2db, #1c69aa); border: 1px solid #0d568f; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.tone-orange .kpi-icon { background: linear-gradient(#e9a452, #c26712); border-color: #9c4e08; }.tone-red .kpi-icon { background: linear-gradient(#df756f, #af2b27); border-color: #8d1b18; }.tone-green .kpi-icon { background: linear-gradient(#69b782, #2d7a48); border-color: #1f6036; }
.kpi-icon .ui-icon { width: 25px; height: 25px; }
.kpi-card span { display: block; color: #526678; font-size: 12px; }
.kpi-card strong { display: inline-block; margin: 1px 6px 0 0; color: #173e62; font-size: 29px; line-height: 1.1; }
.kpi-card small { color: #738393; white-space: nowrap; }
.kpi-card > b { color: #8aa0b4; font-size: 25px; font-weight: 400; }
.task-list { min-height: 240px; }
.task-row { min-height: 53px; display: grid; grid-template-columns: 46px 10px minmax(0, 1fr) auto 13px; align-items: center; gap: 8px; padding: 5px 10px; color: var(--ink); border-bottom: 1px solid #d9e2ea; }
.task-row:last-child { border-bottom: 0; }
.task-row:hover { text-decoration: none; background: #fff8dc; }
.task-row > time { color: #657688; font-size: 12px; }
.task-dot { width: 8px; height: 8px; border-radius: 50%; background: #3986c5; }
.task-dot.urgent { background: #d23d37; box-shadow: 0 0 0 3px #f8d7d5; }
.task-row strong, .task-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-row strong { font-size: 13px; }.task-row span { margin-top: 3px; color: #718191; font-size: 11px; }
.task-row em { color: #5d7081; background: #edf1f4; border: 1px solid #c7d1da; padding: 2px 5px; font-size: 10px; font-style: normal; }.task-row em.urgent { color: #a52420; background: #fff0ef; border-color: #dda09c; }
.task-row > b { color: #7990a4; font-size: 18px; }
.workflow-list { padding: 10px 12px 2px; }
.workflow-row { margin-bottom: 11px; }
.workflow-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 12px; }.workflow-row b { color: #4f6477; }
.progress { height: 9px; overflow: hidden; background: #dce4eb; border: 1px solid #b6c2cc; box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }.progress i { display: block; height: 100%; background: linear-gradient(#62a8dd, #2677b7); border-right: 1px solid #1b6198; }.progress i.orange { background: linear-gradient(#edb35e, #cf7513); }.progress i.purple { background: linear-gradient(#a489cf, #7656ae); }.progress i.green { background: linear-gradient(#6fbc88, #388c56); }.progress i.teal { background: linear-gradient(#66b5b1, #2d8582); }
.workflow-total { display: flex; align-items: baseline; justify-content: center; gap: 5px; padding: 10px; margin: 3px 10px 10px; background: #eef4f9; border: 1px solid #c7d6e1; }.workflow-total strong { color: #145d9e; font-size: 19px; }.workflow-total span { color: #657688; font-size: 11px; }
.shift-row { position: relative; padding: 9px 10px; border-bottom: 1px solid #d4dee6; }.shift-row:last-child { border-bottom: 0; }.shift-row.active { background: linear-gradient(90deg, #eaf6ff, #fff); border-left: 4px solid #2a80c3; padding-left: 6px; }
.shift-row > div:first-child { display: flex; align-items: center; gap: 8px; }.shift-row > div > strong { color: #244d73; }.shift-row > div > span { color: #6c7e8e; font-size: 11px; }
.shift-row dl { display: grid; grid-template-columns: 1fr 1fr; margin: 7px 0 0; }.shift-row dl div { display: grid; grid-template-columns: auto 1fr; gap: 5px; }.shift-row dt { color: #718292; font-size: 10px; }.shift-row dd { margin: 0; font-weight: 700; font-size: 12px; }
.shift-row > em { position: absolute; top: 7px; right: 8px; padding: 2px 5px; color: #196339; background: #e8f8ed; border: 1px solid #8fc19f; font-size: 9px; font-style: normal; }
.week-panel { overflow-x: auto; }
.mini-week { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); padding: 8px; min-width: 680px; }
.mini-day { min-height: 118px; border: 1px solid #c0ccd6; border-right: 0; background: #fff; }.mini-day:last-child { border-right: 1px solid #c0ccd6; }.mini-day.today { border: 2px solid #2a7dbe; background: #f4faff; }
.mini-day header { display: flex; align-items: center; justify-content: space-between; padding: 5px 7px; background: #eef3f7; border-bottom: 1px solid #c7d3dd; }.mini-day.today header { color: #fff; background: #2a76b6; }.mini-day header span { font-size: 11px; }.mini-day header b { font-size: 16px; }
.mini-day p { margin: 6px; padding: 4px; background: #eaf3fb; border-left: 3px solid #3a86c2; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.mini-day p time { display: block; color: #6a7b8b; font-size: 9px; }
.panel-nav { display: flex; }.panel-nav button { height: 24px; border: 1px solid #a0b0be; border-right: 0; background: #fff; }.panel-nav button:last-child { border-right: 1px solid #a0b0be; }
.announcement-row { min-height: 64px; display: grid; grid-template-columns: 50px minmax(0, 1fr) 8px; align-items: center; gap: 8px; padding: 6px 9px; color: var(--ink); border-bottom: 1px solid #d8e0e7; }.announcement-row:hover { text-decoration: none; background: #fff9e6; }.announcement-row:last-child { border-bottom: 0; }
.announcement-row em { text-align: center; padding: 3px; color: #92580a; background: #fff4d2; border: 1px solid #ddbd73; font-size: 10px; font-style: normal; }.announcement-row strong, .announcement-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.announcement-row strong { font-size: 12px; }.announcement-row span { margin-top: 4px; color: #778697; font-size: 10px; }.announcement-row > i { width: 7px; height: 7px; border-radius: 50%; background: #d7342e; }

/* Calendar, contacts, notices and chat */
.toolbar-actions { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.week-calendar.large { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 0; min-width: 1050px; padding: 10px; overflow-x: auto; }
.calendar-day { min-height: 480px; border: 1px solid #b4c4d1; border-right: 0; background: #fbfcfd; }.calendar-day:last-child { border-right: 1px solid #b4c4d1; }.calendar-day.today { background: #f2f9ff; box-shadow: inset 0 0 0 2px #2f80c0; }
.calendar-day > header { position: relative; height: 54px; padding: 7px; background: linear-gradient(#fff, #e5edf4); border-bottom: 1px solid #b7c7d3; }.calendar-day.today > header { color: #fff; background: linear-gradient(#4a96d2, #1b67aa); }.calendar-day header span, .calendar-day header strong { display: block; }.calendar-day header span { font-size: 11px; }.calendar-day header strong { margin-top: 3px; }.calendar-day header em { position: absolute; right: 6px; top: 8px; font-size: 10px; font-style: normal; }
.calendar-items { min-height: 360px; padding: 6px; }.calendar-items button { width: 100%; min-height: 68px; display: grid; grid-template-columns: 43px 1fr; grid-template-rows: auto auto; gap: 2px 6px; margin-bottom: 6px; padding: 7px; text-align: left; border: 1px solid #8eb4d3; background: linear-gradient(90deg, #e8f4fd, #fff); border-left: 4px solid #2e7fbe; }.calendar-items button:hover { background: #fff6d8; border-color: #d3a047; }.calendar-items time { grid-row: 1 / 3; color: #4d6d89; font-size: 11px; }.calendar-items strong { color: #1d547f; }.calendar-items span { color: #657786; font-size: 11px; }
.add-shift { width: calc(100% - 12px); margin: 0 6px 6px; padding: 6px; color: #52718c; border: 1px dashed #9eb2c3; background: #f4f8fb; }.add-shift:hover { color: #0b5ba8; border-color: #4c8ec4; background: #eaf5ff; }
.schedule-legend { display: flex; gap: 18px; padding: 9px 12px; border-top: 1px solid #c2cfda; background: #f5f8fa; font-size: 11px; }.schedule-legend span { display: flex; align-items: center; gap: 5px; }.schedule-legend i { width: 9px; height: 9px; background: #3c86c0; border: 1px solid #1c659d; }
.contact-search { width: min(330px, 40vw); height: 29px; display: flex; align-items: center; background: #fff; border: 1px solid #96a8b7; }.contact-search .ui-icon { width: 14px; margin: 0 5px; color: #748696; }.contact-search input { flex: 1; min-width: 0; border: 0; box-shadow: none; height: 27px; outline: 0; }
.contact-layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); min-height: 520px; }.department-list { padding: 7px; background: linear-gradient(90deg, #f5f8fa, #e5edf3); border-right: 1px solid #aabcca; }.department-list button { width: 100%; min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 5px 9px; border: 1px solid transparent; background: transparent; text-align: left; }.department-list button:hover { background: #fff; border-color: #bdccd8; }.department-list button.active { color: #fff; background: linear-gradient(#438dca, #1765a7); border-color: #0c5593; text-shadow: 0 1px #0a467a; }.department-list button span { font-size: 11px; }
.contact-table-wrap { min-width: 0; overflow-x: auto; }.contact-table { min-width: 950px; }.contact-table td:first-child { display: flex; align-items: center; gap: 7px; }.person-avatar.small { width: 24px; height: 24px; font-size: 11px; }.contact-table a { white-space: nowrap; }
.notice-tabs, .settings-tabs { display: flex; gap: 1px; padding: 7px 8px 0; background: #edf3f7; border-bottom: 1px solid #9fb2c2; }.notice-tabs button, .settings-tabs button { min-height: 30px; padding: 5px 14px; border: 1px solid #9fb2c2; border-bottom: 0; background: linear-gradient(#fff, #dce7ef); }.notice-tabs button.active, .settings-tabs button.active { position: relative; bottom: -1px; color: #0c5d9f; background: #fff; font-weight: 700; }
.notice-tabs b { display: inline-grid; place-items: center; min-width: 17px; height: 16px; color: #fff; background: #d3342f; border-radius: 8px; font-size: 10px; }
.notice-list { padding: 8px; }.notice-item { min-height: 105px; display: grid; grid-template-columns: 73px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #c8d4de; border-bottom: 0; background: #fff; }.notice-item:last-child { border-bottom: 1px solid #c8d4de; }.notice-item.unread { background: #f3f9ff; border-left: 4px solid #2b7fbe; }.notice-tag { padding: 7px 4px; text-align: center; color: #82500a; background: #fff4d1; border: 1px solid #dcbb70; font-size: 11px; }.notice-item h3 { margin: 0 0 6px; font-size: 15px; }.notice-item p { margin: 0; color: #5d6e7e; line-height: 1.55; }.notice-item footer { display: flex; gap: 18px; margin-top: 9px; color: #7d8a96; font-size: 11px; }
.chat-panel { height: calc(100vh - 171px); min-height: 550px; display: grid; grid-template-columns: 295px minmax(0, 1fr); overflow: hidden; }.chat-sidebar { min-width: 0; background: #ecf2f6; border-right: 1px solid #92a9bb; }.chat-search { height: 48px; display: flex; align-items: center; padding: 8px; border-bottom: 1px solid #afc0cd; }.chat-search .ui-icon { width: 15px; margin-right: -24px; z-index: 1; color: #788b9b; }.chat-search input { flex: 1; min-width: 0; padding-left: 27px; }.chat-search button { width: 31px; height: 30px; margin-left: 5px; border: 1px solid #8299ad; background: linear-gradient(#fff, #d9e5ee); font-size: 18px; }
.conversation-list { overflow-y: auto; }.conversation { position: relative; width: 100%; min-height: 65px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 9px; text-align: left; border: 0; border-bottom: 1px solid #ced9e1; background: transparent; }.conversation:hover { background: #fff; }.conversation.active { color: #fff; background: linear-gradient(90deg, #2677b8, #4b94cf); text-shadow: 0 1px #13578e; }.conversation-avatar { width: 39px; height: 39px; display: grid; place-items: center; color: #135c98; background: linear-gradient(#fff, #c9e0f1); border: 1px solid #829db4; font-weight: 700; }.conversation strong, .conversation small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.conversation small { margin-top: 5px; color: #768696; font-size: 11px; }.conversation.active small { color: rgba(255,255,255,.76); }.conversation time { align-self: start; margin-top: 3px; font-size: 10px; }.conversation > b { position: absolute; right: 9px; bottom: 10px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; color: #fff; background: #d83530; border-radius: 9px; font-size: 9px; }
.chat-main { min-width: 0; display: grid; grid-template-rows: 48px minmax(0, 1fr) 155px; background: #f7f9fb; }.chat-main > header { display: flex; align-items: center; padding: 6px 10px; background: linear-gradient(#fff, #dfe8ef); border-bottom: 1px solid #9db1c1; }.chat-main > header div { flex: 1; }.chat-main > header strong, .chat-main > header span { display: block; }.chat-main > header span { color: #718292; font-size: 10px; margin-top: 3px; }.chat-main > header button { height: 27px; border: 1px solid #9badbb; border-right: 0; background: #fff; }.chat-main > header button:last-child { border-right: 1px solid #9badbb; }
.messages { overflow-y: auto; padding: 15px 18px; }.message { display: flex; gap: 8px; margin-bottom: 16px; max-width: 72%; }.message.mine { margin-left: auto; flex-direction: row-reverse; }.message label { display: block; margin: 0 0 4px; color: #6f7e8c; font-size: 10px; }.message.mine label { text-align: right; }.message label time { margin-left: 7px; }.message p { margin: 0; padding: 8px 10px; background: #fff; border: 1px solid #b8c8d4; box-shadow: 0 1px 2px rgba(0,0,0,.06); line-height: 1.55; }.message.mine p { background: #d9edfd; border-color: #8cb8da; }.message-file { width: 100%; display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 7px; border: 1px solid #aebfcb; background: #fff; text-align: left; }.message-file span { flex: 1; }.message-file b { color: #0b63aa; font-size: 11px; }
.chat-composer { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 30px 1fr; padding: 7px; background: #fff; border-top: 1px solid #9fb1c0; }.chat-composer > div { grid-column: 1 / -1; }.chat-composer > div button { width: 28px; height: 25px; border: 0; background: transparent; font-size: 17px; }.chat-composer textarea { border: 0; outline: 0; box-shadow: none; resize: none; }.chat-composer > .xp-button { align-self: end; margin: 0 4px 4px; }

/* Settings */
.settings-form > fieldset { margin: 12px; padding: 14px; border: 1px solid #aabac8; background: #fbfcfd; }.settings-form legend { padding: 0 8px; color: #1d598c; }.form-grid { display: grid; gap: 12px; }.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }.form-grid label { display: grid; gap: 5px; }.form-grid .span-2 { grid-column: span 2; }.input-unit { display: flex; }.input-unit input { flex: 1; min-width: 0; }.input-unit b { width: 42px; display: grid; place-items: center; background: #e6edf3; border: 1px solid #91a3b4; border-left: 0; color: #5e7080; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.check-list label { display: flex; align-items: center; gap: 7px; }.check-list input { min-height: 0; }
.inline-toolbar { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; background: #f4f7fa; border-bottom: 1px solid #c1ced8; }.inline-toolbar span { margin-left: auto; color: #6a7b8a; font-size: 11px; }.inline-toolbar input { margin-left: auto; }.settings-tabs + .inline-toolbar input { margin-left: auto; }
.settings-panel .data-table { min-width: 780px; }.settings-panel .data-table input, .settings-panel .data-table select { width: 100%; height: 26px; min-height: 26px; padding: 2px 5px; }

/* Dialogs */
.app-dialog { width: min(1160px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 28px); padding: 0; overflow: visible; border: 0; background: transparent; }
.app-dialog::backdrop { background: rgba(23, 42, 61, .58); backdrop-filter: blur(1px); }
.dialog-window { max-height: calc(100vh - 28px); display: grid; grid-template-rows: 33px minmax(0, 1fr); overflow: hidden; background: #eef3f7; border: 1px solid #164b7b; border-radius: 6px 6px 2px 2px; box-shadow: 0 15px 46px rgba(0,0,0,.48), inset 0 0 0 2px #d8ebf8; }
.dialog-content { min-height: 0; overflow: auto; }
.dialog-form { min-height: 100%; padding: 12px 14px 0; background: #f6f8fa; }
.dialog-intro { display: flex; align-items: baseline; gap: 10px; margin: -12px -14px 13px; padding: 10px 14px; color: #244e72; background: linear-gradient(#fff, #e0eaf2); border-bottom: 1px solid #abbcca; }.dialog-intro span { color: #6e7e8c; font-size: 11px; }
.business-form label { display: grid; gap: 5px; }.inline-options { display: flex; align-items: center; gap: 18px; margin: 0; padding: 8px 11px; border: 1px solid #b9c6d1; }.inline-options legend { padding: 0 5px; }.inline-options label { display: flex; align-items: center; gap: 5px; }.inline-options input { min-height: 0; }
.reviewer-field small { color: #778694; }.dialog-footer { min-height: 51px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 14px -14px 0; padding: 8px 12px; background: linear-gradient(#eef3f7, #d5e0e9); border-top: 1px solid #a3b5c4; box-shadow: inset 0 1px #fff; }.dialog-footer > span { flex: 1; }
.story-dialog { padding-top: 8px; }.story-header-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 10px; }.story-header-fields label { display: grid; gap: 4px; }.story-header-fields .wide { grid-column: span 3; }.story-header-fields span { font-size: 11px; }.story-header-fields input, .story-header-fields select { height: 28px; min-height: 28px; padding: 3px 6px; }
.editor-tabs { display: flex; gap: 1px; margin-top: 10px; border-bottom: 1px solid #809ab0; }.editor-tabs button { min-height: 29px; padding: 4px 12px; border: 1px solid #9bafbf; border-bottom: 0; background: linear-gradient(#fff, #dce7ef); }.editor-tabs button.active { position: relative; bottom: -1px; color: #0c5da0; background: #fff; font-weight: 700; }.editor-tabs b { color: #fff; background: #d3322d; border-radius: 8px; padding: 1px 5px; font-size: 9px; }
.editor-field { margin-top: 8px; }.editor-field > span { font-size: 11px; }.word-editor { border: 1px solid #8299ad; background: #cad6e0; }.word-ribbon { padding: 5px; background: linear-gradient(#f7fbfe, #d7e5f0); border-bottom: 1px solid #8da4b7; }.word-ribbon > div { display: flex; align-items: center; gap: 3px; }.word-ribbon button, .word-ribbon select { min-height: 24px; height: 24px; padding: 2px 7px; border: 1px solid #9db0c1; background: linear-gradient(#fff, #dfebf3); }.word-ribbon span { width: 1px; height: 23px; background: #aabac8; margin: 0 3px; }.word-editor > textarea { width: calc(100% - 24px); min-height: 210px; display: block; margin: 12px auto 0; padding: 22px 34px; border: 1px solid #8394a3; box-shadow: 0 2px 5px rgba(0,0,0,.18); resize: vertical; font: 16px/1.9 "SimSun", "宋体", serif; }.word-editor > footer { display: flex; gap: 20px; padding: 4px 8px; color: #4f6273; background: #e9eef2; border-top: 1px solid #9eadb9; font-size: 10px; }
.upload-box { position: relative; min-height: 75px; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; margin-top: 8px; padding: 10px; color: #526779; background: #fff; border: 1px dashed #88a4ba; }.upload-box > div { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; color: #1a6eb1; background: #e8f3fb; border: 1px solid #a4c3da; font-size: 25px; }.upload-box span { font-size: 11px; }.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.detail-dialog { padding: 13px 14px 0; background: #f6f8fa; }.detail-summary { min-height: 65px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: linear-gradient(90deg, #e8f4ff, #fff); border: 1px solid #a9c4da; }.detail-icon { width: 43px; height: 43px; display: grid; place-items: center; color: #fff; background: linear-gradient(#4e9ad6, #1d68a9); border: 1px solid #0d5088; font-size: 22px; }.detail-summary div { flex: 1; }.detail-summary h2 { margin: 0; color: #174e7d; font-size: 17px; }.detail-summary p { margin: 4px 0 0; color: #71808e; font-size: 11px; }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0; border: 1px solid #b8c6d1; border-right: 0; border-bottom: 0; }.detail-grid div { min-height: 57px; padding: 7px 9px; border-right: 1px solid #b8c6d1; border-bottom: 1px solid #b8c6d1; background: #fff; }.detail-grid dt { color: #708191; font-size: 10px; }.detail-grid dd { margin: 5px 0 0; font-weight: 700; line-height: 1.4; }
.detail-section { padding: 0 11px 10px; border: 1px solid #b8c6d1; background: #fff; }.detail-section h3 { margin: 0 -11px 10px; padding: 8px 10px; color: #24567f; background: #eaf1f7; border-bottom: 1px solid #b8c6d1; font-size: 13px; }.process-timeline { display: flex; gap: 0; }.process-timeline article { position: relative; flex: 1; display: flex; gap: 8px; padding-right: 20px; }.process-timeline article::after { content: ""; position: absolute; left: 27px; right: 0; top: 13px; height: 2px; background: #c2ced8; }.process-timeline article:last-child::after { display: none; }.process-timeline article > i { position: relative; z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; color: #637789; background: #edf1f4; border: 1px solid #9dacb8; border-radius: 50%; font-style: normal; }.process-timeline article.done > i { color: #fff; background: #3b925a; border-color: #247440; }.process-timeline article.current > i { color: #fff; background: #2579bb; border-color: #155d96; }.process-timeline strong, .process-timeline span { display: block; }.process-timeline span { color: #748493; font-size: 10px; margin-top: 3px; }.process-timeline p { margin: 5px 0 0; color: #536575; font-size: 11px; }
.review-dialog { padding-top: 10px; }.review-banner { display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: #fff7dc; border: 1px solid #d9b765; }.review-banner > span { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: #df8a16; border-radius: 50%; font-weight: 700; font-size: 20px; }.review-banner strong, .review-banner p { display: block; margin: 0; }.review-banner p { margin-top: 3px; color: #796434; font-size: 11px; }
.review-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 11px; }.review-columns > section { padding: 10px; background: #fff; border: 1px solid #b9c7d2; }.review-columns h3 { margin: -10px -10px 10px; padding: 8px 9px; color: #24567f; background: #eaf1f7; border-bottom: 1px solid #b9c7d2; font-size: 13px; }.decision-options { display: flex; gap: 9px; padding: 0; margin: 0 0 10px; border: 0; }.decision-options label { flex: 1; display: grid; grid-template-columns: auto 31px 1fr; align-items: center; gap: 6px; padding: 8px; border: 1px solid #aabac7; background: #f7f9fb; cursor: pointer; }.decision-options input { min-height: 0; }.decision-options span { width: 29px; height: 29px; display: grid; place-items: center; color: #fff; border-radius: 50%; }.decision-options span.approve { background: #399258; }.decision-options span.reject { background: #c73a34; }.review-dialog label { margin-bottom: 9px; }.review-preview dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }.review-preview dl div { padding: 6px; border-bottom: 1px solid #e0e6eb; }.review-preview dt { color: #758493; font-size: 10px; }.review-preview dd { margin: 3px 0 0; font-weight: 700; }.compact-history { padding: 7px; background: #f8fafb; border: 1px solid #d2dbe2; }.compact-history p { margin: 0 0 4px; }.compact-history span { float: right; color: #748391; font-size: 10px; }
.workspace-dialog { padding: 8px 8px 0; }.workspace-dialog > .dialog-footer { margin-left: -8px; margin-right: -8px; }.workspace-meta { display: flex; align-items: center; gap: 18px; min-height: 36px; padding: 6px 9px; background: #eaf2f8; border: 1px solid #aabcca; font-size: 11px; }.workspace-meta .status-pill { margin-left: auto; }.workspace-split { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 8px; margin-top: 8px; }.word-editor.large > textarea { min-height: 470px; }.word-ribbon.office { padding: 0; }.ribbon-tabs { height: 28px; padding: 3px 5px 0; background: #dceaf5; }.ribbon-tabs button { border-bottom: 0; }.ribbon-tabs button.active { background: #fff; color: #0b5da3; }.ribbon-tools { min-height: 44px; padding: 7px; }.workspace-split > aside { background: #fff; border: 1px solid #9fb2c1; }.editor-side-tabs { display: flex; background: #e8f0f6; border-bottom: 1px solid #9fb2c1; }.editor-side-tabs button { flex: 1; min-height: 30px; border: 0; background: transparent; }.editor-side-tabs button.active { color: #0b5da3; background: #fff; font-weight: 700; }.change-list { min-height: 370px; padding: 8px; }.change-list article { margin-bottom: 8px; padding: 8px; background: #f6f8fa; border: 1px solid #d1dbe3; }.change-list header { display: flex; align-items: center; gap: 6px; }.change-list header time { margin-left: auto; color: #778694; font-size: 10px; }.change-list p { margin: 7px 0 0; line-height: 1.5; }.change-list del { color: #a32b26; background: #ffe2df; }.change-list ins { color: #1d733b; background: #e1f4e7; text-decoration: none; }.workspace-split aside > label { margin: 7px; }
.voice-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 8px; margin-top: 8px; }.recorder-panel, .script-panel { min-height: 500px; padding: 11px; background: #fff; border: 1px solid #9fb2c1; }.recorder-panel h3 { margin: -11px -11px 10px; padding: 8px; color: #24567f; background: #e9f0f6; border-bottom: 1px solid #9fb2c1; font-size: 13px; }.waveform { height: 130px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px; background: #14212d; border: 4px solid #40586d; box-shadow: inset 0 0 18px #000; }.waveform i { width: 5px; height: 30%; background: #58c5ef; box-shadow: 0 0 5px #2ab8f0; }.waveform i:nth-child(3n) { height: 70%; }.waveform i:nth-child(4n) { height: 48%; }.waveform i:nth-child(5n) { height: 88%; }.waveform.recording i { animation: wave .55s infinite alternate; }.waveform.recording i:nth-child(2n) { animation-delay: -.3s; }.waveform.recording i:nth-child(3n) { animation-delay: -.15s; } @keyframes wave { to { height: 92%; } }
.recorder-time { display: flex; align-items: center; justify-content: space-between; padding: 8px; background: #e9eef2; border: 1px solid #a8b6c2; border-top: 0; }.recorder-time strong { font: 22px Consolas, monospace; }.recorder-time span { font-size: 10px; }.recorder-time span i { display: inline-block; width: 57px; height: 7px; margin-left: 5px; background: linear-gradient(90deg, #46a55c 0 70%, #e29d25 70% 88%, #d44037 88%); }
.recorder-controls { display: flex; justify-content: center; gap: 7px; padding: 12px 0; }.recorder-controls button { width: 64px; height: 58px; display: grid; place-items: center; padding: 5px; border: 1px solid #879aa9; background: linear-gradient(#fff, #dce5ec); font-size: 18px; }.recorder-controls button span { font-size: 10px; }.recorder-controls button.record { color: #b51e1a; }.audio-files { border: 1px solid #b4c2cc; }.audio-files header { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; background: #edf2f6; border-bottom: 1px solid #b4c2cc; }.audio-files header button { border: 0; color: #0b63aa; background: transparent; }.audio-files p { display: grid; grid-template-columns: 1fr auto auto; gap: 5px; margin: 0; padding: 8px; align-items: center; }.audio-files p b { color: #6e7e8c; font-size: 10px; }.audio-files p button { border: 0; color: #b32e29; background: transparent; }.recorder-panel > small { display: block; color: #758492; margin-top: 8px; }
.script-panel { padding: 0; }.script-panel > header { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 5px 9px; background: #e9f0f6; border-bottom: 1px solid #9fb2c1; }.script-panel header button { border: 1px solid #9daebc; background: #fff; }.script-panel article { max-width: 720px; padding: 24px 34px; margin: auto; font: 18px/2 "SimSun", "宋体", serif; }.script-panel article h2 { text-align: center; font-size: 22px; }.script-panel article p { text-indent: 2em; }
.production-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9px; margin-top: 8px; }.production-layout > section { min-height: 500px; padding: 10px; background: #fff; border: 1px solid #9fb2c1; }.production-layout h3 { margin: -10px -10px 10px; padding: 8px; color: #24567f; background: #e9f0f6; border-bottom: 1px solid #9fb2c1; font-size: 13px; }.video-preview { height: 300px; display: grid; place-items: center; color: #d7e4ed; background: #17232d; border: 5px solid #42596b; box-shadow: inset 0 0 20px #000; }.video-preview > div { display: grid; justify-items: center; gap: 7px; }.video-preview div > span { width: 62px; height: 62px; display: grid; place-items: center; color: #fff; background: rgba(49,136,196,.65); border: 2px solid #a8ddff; border-radius: 50%; font-size: 25px; }.video-preview small { color: #9eb2c0; }.file-metadata { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #bcc8d1; border-right: 0; border-bottom: 0; }.file-metadata div { padding: 7px; border-right: 1px solid #bcc8d1; border-bottom: 1px solid #bcc8d1; }.file-metadata dt { color: #748391; font-size: 10px; }.file-metadata dd { margin: 3px 0 0; }.production-layout label { margin-bottom: 9px; }.production-layout textarea { width: 100%; min-height: 325px; font: 17px/1.9 "SimSun", serif; }.text-stats { display: flex; gap: 20px; color: #697b8b; font-size: 11px; }
.rundown-dialog { padding: 8px 8px 0; }.rundown-dialog > .dialog-footer { margin-left: -8px; margin-right: -8px; }.rundown-header { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr 1fr; gap: 7px; }.rundown-header label { display: grid; gap: 3px; }.rundown-header span { font-size: 10px; }.rundown-header input, .rundown-header select { min-width: 0; height: 27px; min-height: 27px; padding: 3px 5px; }.rundown-toolbar { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px; background: #e9f0f6; border: 1px solid #9fb2c1; }.rundown-toolbar span { margin-left: auto; color: #6c7d8c; font-size: 10px; }.rundown-table-wrap { max-height: 500px; overflow: auto; border: 1px solid #8ea5b8; border-top: 0; }.rundown-table { min-width: 1300px; }.rundown-table .drag { width: 30px; cursor: grab; text-align: center; }.rundown-table input, .rundown-table select { width: 100%; height: 25px; min-height: 25px; padding: 2px 4px; }.rundown-table th:nth-child(4), .rundown-table td:nth-child(4) { min-width: 260px; }.rundown-table tfoot td { background: #e6f0f7; border-top: 1px solid #88a0b4; }.rundown-table tfoot td:last-child { text-align: right; color: #154f80; }
.prompter-workspace { height: min(820px, calc(100vh - 62px)); display: grid; grid-template-rows: 56px minmax(0, 1fr) 31px; color: #fff; background: #000; }.prompter-workspace > header { display: flex; align-items: center; justify-content: space-between; padding: 6px 11px; background: #17212b; border-bottom: 1px solid #40515f; }.prompter-workspace header strong, .prompter-workspace header span { display: block; }.prompter-workspace header span { margin-top: 4px; color: #9aacba; font-size: 10px; }.prompter-workspace header button { height: 28px; color: #fff; border: 1px solid #5a6c7a; background: #263744; }.prompter-workspace header b { padding: 0 5px; }.prompter-screen { overflow-y: auto; padding: 18vh 10% 45vh; outline: 0; scroll-behavior: smooth; text-align: center; }.prompter-screen p { margin: 0 0 24vh; color: #fff; font: 700 55px/1.55 "Microsoft YaHei", sans-serif; letter-spacing: .16em; }.prompter-workspace > footer { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; color: #91a2af; background: #15202a; border-top: 1px solid #3d4e5b; font-size: 10px; }
.prompter-review-dialog { padding-top: 10px; }.compare-head, .compare-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.compare-head > div { padding: 8px; color: #244f74; background: #e7f0f7; border: 1px solid #aebfcb; }.compare-head span { margin-left: 8px; color: #718190; font-size: 10px; }.compare-columns article { min-height: 260px; padding: 22px; background: #fff; border: 1px solid #aebfcb; font: 18px/2 "SimSun", serif; }.compare-columns .change { color: #b31f1b; background: #ffe0dc; border-bottom: 2px solid #d03e37; }.prompter-review-dialog > label { margin-top: 9px; }
.compact-form { max-width: 630px; margin: 0 auto; padding-top: 16px; }.compact-form > label { margin-bottom: 12px; }.compact-form select[multiple] { min-height: 130px; }.compact-form small { color: #718292; }
.notice-detail { padding: 22px 28px 0; background: #fff; }.notice-detail header { padding-bottom: 14px; text-align: center; border-bottom: 1px solid #c8d2da; }.notice-detail header em { padding: 3px 7px; color: #8f5209; background: #fff1c8; border: 1px solid #d7b164; font-style: normal; font-size: 10px; }.notice-detail h2 { margin: 12px 0 8px; color: #194c76; }.notice-detail header p { margin: 0; color: #738391; }.notice-detail > div { min-height: 260px; padding: 18px 25px; font-size: 15px; line-height: 2; }.notice-detail > div p { text-indent: 2em; }.notice-detail > footer, .notification-center > footer { display: flex; justify-content: flex-end; gap: 7px; margin: 0 -28px; padding: 8px 12px; background: #e7eef4; border-top: 1px solid #aabac7; }
.notification-center { min-width: 540px; background: #fff; }.notification-center > a { min-height: 64px; display: grid; grid-template-columns: 11px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid #d5dee5; }.notification-center > a:hover { text-decoration: none; background: #fff8df; }.notification-center strong, .notification-center small { display: block; }.notification-center small { margin-top: 4px; color: #738291; }.notification-center time { color: #778797; font-size: 10px; }.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: #3c86c2; }.notice-dot.urgent { background: #d73a34; }.notification-center > footer { margin: 0; }
.toast-stack { position: fixed; right: 18px; bottom: 38px; z-index: 2000; display: grid; gap: 7px; }.toast { min-width: 260px; max-width: 360px; padding: 10px 12px; color: #fff; background: #235f90; border: 1px solid #0d4978; box-shadow: 0 5px 18px rgba(0,0,0,.28); animation: toastIn .2s ease-out; }.toast.success { background: #2a7847; border-color: #155a31; }.toast.error { background: #a93631; border-color: #7f1d19; } @keyframes toastIn { from { transform: translateY(10px); opacity: 0; } }

@media (max-width: 1180px) {
    .app-shell { grid-template-columns: 220px minmax(0, 1fr); }.app-brand { width: 220px; }.global-search { width: 310px; }.dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); }.shift-panel, .announcement-panel { grid-column: auto; }.week-panel { grid-column: 1 / -1; }.kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.story-header-fields { grid-template-columns: repeat(3, minmax(0,1fr)); }.story-header-fields .wide { grid-column: span 2; }.rundown-header { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .app-body { overflow: auto; }.app-shell { grid-template-columns: 1fr; grid-template-rows: 52px auto 25px; min-height: 100vh; }.app-header { grid-column: 1; }.app-brand { width: auto; flex: 1; }.app-brand small, .global-search, .database-state, .header-icon, .user-menu > button > span:nth-child(2), .user-menu > button > b { display: none; }.mobile-menu { width: 44px; height: 100%; display: grid; place-items: center; color: #fff; border: 0; border-right: 1px solid rgba(0,43,82,.45); background: transparent; }.sidebar { position: fixed; top: 52px; bottom: 25px; left: 0; width: 260px; transform: translateX(-105%); transition: transform .2s; box-shadow: 4px 0 14px rgba(0,0,0,.3); }.sidebar.open { transform: translateX(0); }.sidebar-backdrop { position: fixed; inset: 52px 0 25px; z-index: 40; background: rgba(16,32,48,.42); }.sidebar.open + .main-content + .app-statusbar + .sidebar-backdrop, .sidebar-backdrop.show { display: block; }.main-content { grid-column: 1; grid-row: 2; overflow: visible; padding: 12px; }.content-heading { margin: -12px -12px 12px; }.content-heading p { display: block; margin-top: 2px; }.app-statusbar { grid-column: 1; }.app-statusbar span:nth-child(n+3) { display: none; }.dashboard-grid { grid-template-columns: 1fr; }.span-2, .full-span, .week-panel { grid-column: 1; }.kpi-grid { grid-template-columns: 1fr 1fr; }.chat-panel { height: 680px; grid-template-columns: 230px minmax(0,1fr); }.contact-layout { grid-template-columns: 150px minmax(0,1fr); }.form-grid.three { grid-template-columns: 1fr 1fr; }.story-header-fields { grid-template-columns: 1fr 1fr; }.story-header-fields .wide { grid-column: span 1; }.workspace-split, .voice-layout, .production-layout { grid-template-columns: 1fr; }.workspace-split > aside { display: none; }.voice-layout .recorder-panel, .script-panel { min-height: auto; }.app-dialog { width: calc(100vw - 16px); }.prompter-screen p { font-size: 40px; }
}

@media (max-width: 620px) {
    :root { font-size: 13px; }.login-shell { width: calc(100vw - 16px); }.login-content { grid-template-columns: 1fr; background: #f9fbfd; }.login-illustration { display: none; }.login-banner { padding: 0 20px; }.login-banner h1 { font-size: 20px; }.login-form { padding: 25px 24px; }.window-controls { display: none; }
    .user-menu > button { padding: 0 8px; }.content-heading { align-items: center; }.content-heading h1 { font-size: 18px; }.heading-actions { display: none; }.kpi-grid { grid-template-columns: 1fr; }.kpi-card { min-height: 85px; }.dashboard-grid { gap: 9px; }.panel-titlebar { align-items: flex-start; flex-direction: column; }.panel-titlebar > .toolbar-actions, .panel-titlebar > .xp-button { align-self: stretch; }.panel-titlebar > .xp-button { width: 100%; }.filter-bar { display: grid; grid-template-columns: 1fr 1fr; }.filter-field { min-width: 0; }.filter-field input, .filter-field select, .filter-field input[type=search] { min-width: 0; width: 100%; }.filter-bar .xp-button { width: 100%; }.pagination-bar { align-items: flex-start; gap: 6px; flex-direction: column; }.mini-week { min-width: 620px; }.contact-layout { grid-template-columns: 1fr; }.department-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #aabcca; }.department-list button { min-width: 105px; }.contact-search { width: 100%; }.notice-item { grid-template-columns: 65px minmax(0,1fr); }.notice-item > button { grid-column: 2; justify-self: start; }.chat-panel { height: 700px; grid-template-columns: 1fr; }.chat-sidebar { display: none; }.form-grid.two, .form-grid.three, .check-list { grid-template-columns: 1fr; }.form-grid .span-2 { grid-column: 1; }.story-header-fields { grid-template-columns: 1fr; }.story-header-fields .wide { grid-column: 1; }.review-columns { grid-template-columns: 1fr; }.review-preview { display: none; }.detail-grid { grid-template-columns: 1fr 1fr; }.process-timeline { flex-direction: column; gap: 12px; }.process-timeline article::after { left: 13px; top: 26px; bottom: -12px; width: 2px; height: auto; right: auto; }.workspace-meta { flex-wrap: wrap; gap: 7px; }.voice-layout, .production-layout { display: block; }.production-layout > section + section { margin-top: 8px; }.rundown-header { grid-template-columns: 1fr 1fr; }.compare-head, .compare-columns { grid-template-columns: 1fr; }.notification-center { min-width: 0; }.prompter-workspace > header > div:last-child button:nth-child(-n+5), .prompter-workspace > header > div:last-child b { display: none; }.prompter-screen p { font-size: 30px; }.app-statusbar span:first-child { display: none; }
}

@media print {
    .app-header, .sidebar, .content-heading, .app-statusbar, .filter-bar, .pagination-bar, .row-actions, .heading-actions, .panel-titlebar button { display: none !important; }
    .app-body, .app-shell, .main-content { display: block; background: #fff; overflow: visible; }
    .main-content { padding: 0; }.window-panel { border: 0; box-shadow: none; }.data-table { min-width: 0; font-size: 10px; }.data-table th, .data-table td { padding: 3px; }.panel-titlebar { background: #fff; border-bottom: 2px solid #000; }
}
