:root {
  --ink: #181a19;
  --ink-2: #292c2a;
  --gold: #bd8524;
  --gold-deep: #9a6714;
  --gold-pale: #fbf4e7;
  --canvas: #f5f4f0;
  --surface: #fffefa;
  --line: #e7e2d8;
  --text: #232725;
  --muted: #71766f;
  --green: #287b5c;
  --green-pale: #eaf5ef;
  --red: #b64a45;
  --red-pale: #fff0ee;
  --blue: #3a6194;
  --shadow: 0 10px 28px rgba(41, 37, 27, .055);
}
* { box-sizing: border-box; }
body { min-width: 1080px; margin: 0; color: var(--text); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 20px 13px 15px; color: #d8d5cb; background: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; padding: 7px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.11); }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(221,171,74,.72); border-radius: 11px; color: #e2b552; background: linear-gradient(145deg, #2a2a26, #151616); font-family: Georgia, serif; font-size: 21px; font-weight: 700; }
.brand strong, .brand small { display: block; }.brand strong { color: #f6f1e7; font-size: 19px; letter-spacing: .04em; }.brand small { margin-top: 2px; color: #8f938c; font-size: 11px; }
.workspace { margin: 17px 8px 15px; padding: 12px 0 13px; border-bottom: 1px solid rgba(255,255,255,.09); }.workspace span, .workspace small { display: block; color: #8e918a; font-size: 11px; }.workspace b { display: block; margin: 5px 0 3px; color: #eee8dd; font-size: 13px; font-weight: 600; }
.nav-label { margin: 13px 10px 7px; color: #797d76; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.side-nav { display: grid; gap: 3px; }
.nav-item { display: flex; align-items: center; min-height: 41px; gap: 10px; width: 100%; padding: 0 11px; border: 0; border-radius: 8px; color: #b8bbb3; background: transparent; text-align: left; transition: .16s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.065); }.nav-item.active { color: #fff8ea; background: rgba(195,141,37,.18); box-shadow: inset 3px 0 0 var(--gold); }
.nav-icon { width: 18px; color: #dfae4d; font-size: 15px; text-align: center; }.nav-badge { margin-left: auto; padding: 2px 7px; border-radius: 99px; color: #f0c96f; background: rgba(208,161,69,.15); font-size: 10px; }
.side-spacer { flex: 1; }.account-area { margin: 15px 7px 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.1); }.account-name { display: flex; align-items: center; gap: 8px; color: #e8e6df; font-size: 12px; }.account-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #221c10; background: #d9a43d; font-size: 11px; font-weight: 800; }.account-role { margin: 5px 0 10px 32px; color: #858a82; font-size: 10px; }.account-actions { display: flex; gap: 7px; }.side-text-button { flex: 1; padding: 7px 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #aaaFA6; background: transparent; font-size: 11px; }.side-text-button:hover { color: #f7d888; border-color: rgba(219,166,56,.45); }
.main { min-width: 0; }.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255,254,250,.94); }.crumb { color: var(--muted); font-size: 12px; }.crumb b { margin: 0 8px; color: #b4ab9d; }.crumb strong { color: var(--text); }.top-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #eadcc3; border-radius: 99px; color: #92621b; background: var(--gold-pale); }.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }.top-meta small { color: #92958e; }
.page { max-width: 1660px; margin: 0 auto; padding: 28px 32px 48px; }.view { display: none; }.view.active { display: block; animation: rise .18s ease both; }@keyframes rise { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 19px; }.eyebrow { margin: 0 0 7px; color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .14em; }.view-head h1 { margin: 0; color: #1f2421; font-size: 25px; letter-spacing: -.025em; }.view-head p { max-width: 740px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.primary, .secondary, .danger, .text-button { border-radius: 7px; font-weight: 650; transition: .15s ease; }.primary, .secondary, .danger { min-height: 34px; padding: 0 12px; }.primary { border: 1px solid var(--gold); color: #fffaf0; background: var(--gold); }.primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }.secondary { border: 1px solid #d9d4c9; color: #4d514c; background: #fffefa; }.secondary:hover { border-color: #caa35e; color: var(--gold-deep); }.danger { border: 1px solid #e7b7b3; color: var(--red); background: #fff7f5; }.text-button { padding: 0; border: 0; color: var(--gold-deep); background: transparent; font-size: 12px; }.text-button:hover { text-decoration: underline; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }.metric { position: relative; min-height: 118px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }.metric::before { position: absolute; left: 0; top: 17px; bottom: 17px; width: 3px; border-radius: 3px; background: var(--gold); content: ""; }.metric.green::before { background: var(--green); }.metric.red::before { background: var(--red); }.metric span, .metric small { display: block; margin-left: 7px; color: var(--muted); font-size: 11px; }.metric b { display: block; margin: 12px 0 6px 7px; color: #1f2521; font-size: 29px; letter-spacing: -.04em; }.metric small { line-height: 1.45; }
.grid { display: grid; gap: 13px; margin-top: 13px; }.grid-main { grid-template-columns: minmax(0,1.38fr) minmax(330px,.82fr); }.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }.card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.card-head h2 { margin: 4px 0 0; font-size: 15px; }.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.section-label { color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .13em; }.count { display: inline-grid; place-items: center; min-width: 26px; height: 25px; padding: 0 8px; border-radius: 99px; color: var(--gold-deep); background: var(--gold-pale); font-size: 11px; font-weight: 800; }
.work-list, .signal-list, .resource-list, .timeline { display: grid; gap: 8px; }.work-row, .signal-row, .timeline-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eeeae1; }.work-row:last-child, .signal-row:last-child, .timeline-row:last-child { border-bottom: 0; }.work-row b, .signal-row b, .timeline-row b { display: block; color: #303531; font-size: 12px; line-height: 1.45; }.work-row small, .signal-row small, .timeline-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }.signal-row { padding: 10px 11px; border: 1px solid #eee9df; border-radius: 7px; background: #fffefa; }.signal-row + .signal-row { margin-top: 0; }.amount { color: var(--gold-deep); font-size: 17px; font-weight: 800; }.goal { display: grid; gap: 14px; margin-top: 4px; }.goal-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.goal-row span { color: var(--muted); font-size: 11px; }.goal-row b { color: #383c38; font-size: 12px; }.progress { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 99px; background: #efece5; }.progress i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.summary-bar { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 13px; padding: 8px 12px; border: 1px solid #e6d6b7; border-radius: 8px; background: var(--gold-pale); }.summary-bar span { padding: 0 14px; border-right: 1px solid #eadcc6; color: #796f60; font-size: 11px; }.summary-bar span:first-child { padding-left: 1px; }.summary-bar span:last-child { border: 0; }.summary-bar b { margin-left: 4px; color: var(--gold-deep); font-size: 14px; }
.filter-card { margin-bottom: 13px; padding: 13px; }.filters { display: grid; grid-template-columns: 1.7fr repeat(4,minmax(120px,1fr)) auto; gap: 9px; align-items: end; }.filters.project-filters { grid-template-columns: 1.7fr repeat(3,minmax(130px,1fr)) auto; }.filter-actions { display: flex; gap: 7px; }.filter-actions .primary, .filter-actions .secondary { padding: 0 10px; }
label { display: block; color: #666b65; font-size: 11px; font-weight: 650; }input, select, textarea { display: block; width: 100%; margin-top: 5px; padding: 8px 9px; border: 1px solid #ddd8ce; border-radius: 6px; outline: none; color: #303530; background: #fffefa; font-size: 12px; transition: .15s ease; }textarea { min-height: 68px; resize: vertical; line-height: 1.55; }input:focus, select:focus, textarea:focus { border-color: #c69a47; box-shadow: 0 0 0 3px rgba(189,133,36,.11); }
.table-card { padding: 0; overflow: hidden; }.table-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 17px 13px; }.table-head h2 { margin: 0; font-size: 15px; }.table-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.table-wrap { overflow-x: auto; }.data-table { width: 100%; min-width: 1040px; border-collapse: collapse; }.data-table th { padding: 10px 13px; color: #777b73; border-top: 1px solid #ece8df; border-bottom: 1px solid #e7e2d9; background: #faf8f3; text-align: left; font-size: 11px; font-weight: 700; white-space: nowrap; }.data-table td { padding: 12px 13px; color: #454a44; border-bottom: 1px solid #eeeae2; vertical-align: middle; font-size: 12px; line-height: 1.45; }.data-table tbody tr:hover { background: #fdfbf6; }.data-table strong { display: block; color: #2c312e; font-size: 12px; }.data-table small { display: block; margin-top: 3px; color: #82867f; font-size: 10px; }.actions { display: flex; flex-wrap: wrap; gap: 5px; }.mini-button { padding: 5px 8px; border: 1px solid #ddd7cb; border-radius: 5px; color: #5d625c; background: #fffefa; font-size: 11px; }.mini-button:hover { border-color: #c89e51; color: var(--gold-deep); }.mini-button.gold { color: var(--gold-deep); border-color: #ead5aa; background: var(--gold-pale); }.mini-button.red { color: var(--red); border-color: #efc8c5; background: #fff7f5; }
.status { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 99px; color: #786639; background: #f8eed9; font-size: 10px; font-weight: 700; white-space: nowrap; }.status.green { color: #216b4d; background: var(--green-pale); }.status.red { color: #a6403c; background: var(--red-pale); }.status.gray { color: #687068; background: #eff0ec; }
.inline-panel { margin: 0 0 13px; padding: 17px; border: 1px solid #e4d5b9; border-radius: 10px; background: #fffdf8; }.inline-panel.hidden, .drawer.hidden { display: none; }.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.panel-head h2 { margin: 4px 0 0; font-size: 16px; }.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.form-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; align-items: end; }.form-grid .wide { grid-column: span 2; }.form-grid .full { grid-column: 1 / -1; }.form-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; }.form-error { color: var(--red); }
.product-grid, .source-grid, .account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.product, .resource, .source-card, .account-card { padding: 13px; border: 1px solid #e9e4da; border-radius: 8px; background: #fffefa; }.product b, .resource b, .source-card b, .account-card b { display: block; color: #353a35; font-size: 12px; }.product span, .resource span, .source-card span, .account-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }.product em, .source-card em { display: block; margin-top: 8px; color: var(--gold-deep); font-size: 10px; font-style: normal; }.resource a { display: inline-block; margin-top: 9px; color: var(--gold-deep); font-size: 11px; text-decoration: none; }.resource a:hover { text-decoration: underline; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(300px,.78fr); gap: 13px; }.security-note { margin: 0; padding: 10px 11px; border-left: 3px solid var(--gold); color: #6e695e; background: var(--gold-pale); font-size: 11px; line-height: 1.65; }.settings-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.settings-form .full { grid-column: 1 / -1; }.account-card { display: flex; align-items: center; gap: 10px; }.account-card i { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #3b3c37; font-style: normal; font-size: 11px; }.account-card.main i { color: #3d2b0e; background: #dfb45d; }.account-card span { margin-top: 2px; }
.drawer { position: fixed; inset: 0; z-index: 20; display: flex; justify-content: flex-end; background: rgba(24,26,25,.34); }.drawer-panel { width: min(820px,96vw); height: 100%; overflow-y: auto; padding: 27px; background: #fffefa; box-shadow: -16px 0 38px rgba(0,0,0,.13); }.drawer-title { display: flex; justify-content: space-between; gap: 13px; align-items: flex-start; margin-bottom: 18px; }.drawer-title h2 { margin: 3px 0 0; color: #242824; font-size: 20px; }.drawer-title p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }.close { width: 31px; height: 31px; border: 1px solid #ddd8cd; border-radius: 50%; color: #72766f; background: #fffefa; font-size: 18px; }.close:hover { color: var(--red); border-color: #e5b2ad; }.detail-block { margin-top: 17px; padding-top: 16px; border-top: 1px solid #eeeae1; }.detail-block h3 { margin: 0 0 10px; font-size: 13px; }.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.detail-grid div { padding: 9px; border: 1px solid #ece7de; border-radius: 7px; background: #fdfbf6; }.detail-grid span { display: block; color: var(--muted); font-size: 10px; }.detail-grid b { display: block; margin-top: 3px; color: #353a34; font-size: 12px; line-height: 1.45; word-break: break-word; }.profile-groups { display: grid; gap: 12px; }.profile-group { padding: 13px; border: 1px solid #e9e4da; border-radius: 8px; }.profile-group h3 { margin: 0 0 10px; color: #5d4d2d; font-size: 12px; }.profile-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }.drawer-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eeeae1; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; background: rgba(24,26,25,.42); }.modal-box { width: min(410px,100%); padding: 22px; border-radius: 11px; background: #fffefa; box-shadow: 0 20px 50px rgba(0,0,0,.2); }.modal-box h2 { margin: 0; font-size: 18px; }.modal-box p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }.modal-form { display: grid; gap: 9px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.empty { padding: 22px 3px; color: var(--muted); font-size: 12px; text-align: center; }.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 72% 14%, #4a4332 0, #1a1b1a 46%, #121312 100%); }.login-card { width: min(450px,100%); padding: 34px; border: 1px solid rgba(234,204,138,.27); border-radius: 14px; color: #ece6d8; background: rgba(35,36,33,.94); box-shadow: 0 24px 70px rgba(0,0,0,.28); }.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }.login-logo b { font-size: 23px; }.login-logo span { display: block; margin-top: 4px; color: #aaa89e; font-size: 12px; }.login-card h1 { margin: 0; font-size: 22px; }.login-card p { color: #b8b7af; line-height: 1.7; font-size: 13px; }.login-card .primary { margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; max-width: min(520px,calc(100vw - 36px)); padding: 10px 14px; border-radius: 8px; color: #fffaf0; background: #30342f; box-shadow: 0 10px 28px rgba(0,0,0,.17); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: .2s ease; }.toast.show { opacity: 1; transform: translate(-50%,0); }.toast.error { background: #9c413d; }
@media (max-width: 1240px) { body { min-width: 900px; }.app-shell { grid-template-columns: 224px minmax(0,1fr); }.page { padding: 24px; }.topbar { padding: 0 24px; }.metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.grid-main, .settings-layout { grid-template-columns: 1fr; }.filters { grid-template-columns: repeat(3,minmax(0,1fr)); }.filters .filter-actions { grid-column: span 1; } }
.brand { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 7px 8px 15px; }
.brand-logo { display: block; width: 178px; height: 118px; object-fit: contain; background: transparent; }
.login-brand-logo { display: block; width: 195px; height: 150px; margin: -2px auto 20px; object-fit: contain; background: transparent; }
.login-card h1 { text-align: center; }
.login-card .primary { display: block; margin: 20px auto 0; }

/* 营盈赢工作台：轻量 B2B 信息系统视觉 */
:root { --forest: #174a3d; --forest-deep: #103a30; --warm-white: #fcfbf8; --canvas: #f5f6f3; --line: #e8ebe5; --gold: #cf9728; --gold-deep: #a97016; --shadow: 0 8px 24px rgba(23, 51, 43, .055); }
body { min-width: 1100px; background: var(--canvas); }
.app-shell { grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { padding: 0 12px 14px; color: #405048; background: #fff; border-right: 1px solid var(--line); box-shadow: 10px 0 28px rgba(27, 46, 38, .025); }
.brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 153px; gap: 7px; margin: 0; padding: 21px 12px 15px; border-bottom: 1px solid var(--line); }
.brand-logo { width: 118px; height: 82px; border-radius: 0; background: transparent; object-fit: contain; object-position: left center; }
.brand::after { content: "营客户资产，盈经营成果，赢长期增长。"; max-width: 180px; color: #78847d; font-size: 11px; font-weight: 600; line-height: 1.55; }
.workspace { margin: 13px 10px 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }.workspace span, .workspace small { color: #8a938c; }.workspace b { color: #28483d; }.nav-label { color: #9aa19b; }
.nav-item { min-height: 42px; padding: 0 12px; color: #55645c; border-radius: 8px; }.nav-item:hover { color: var(--forest); background: #f1f6f2; }.nav-item.active { color: var(--forest); background: #edf5ef; box-shadow: inset 3px 0 0 var(--gold); }.nav-icon { color: #9a7b3f; }.nav-badge { color: #916719; background: #fbf0d8; }
.account-area { margin: 12px 8px 0; border-top-color: var(--line); }.account-name { color: #3a4d43; }.account-role { color: #909991; }.side-text-button { color: #657169; border-color: #e3e7e1; background: #fff; }.side-text-button:hover { color: var(--forest); border-color: #c5d8cb; }
.topbar { min-height: 64px; padding: 0 34px; border-color: var(--line); background: rgba(255,255,255,.92); }.crumb { color: #7a877e; }.crumb strong { color: #274238; }.tag { color: #45685a; border-color: #dce9df; background: #f3f8f4; }.dot { background: #2f8b64; }
.page { max-width: 1720px; padding: 31px 36px 50px; }.view-head { margin-bottom: 18px; }.eyebrow { color: var(--gold-deep); }.view-head h1 { font-size: 27px; letter-spacing: -.035em; }
.dashboard-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 22px; margin: 2px 0 18px; padding: 25px 27px 23px; overflow: hidden; border-radius: 14px; color: #eff6f1; background: linear-gradient(118deg, var(--forest-deep), #1b5a49); box-shadow: 0 15px 35px rgba(23, 74, 61, .14); }
.dashboard-hero > div:first-child { min-width: 0; }.dashboard-hero > div:first-child > span { color: #e5b753; font-size: 11px; font-weight: 800; letter-spacing: .1em; }.dashboard-hero h2 { margin: 9px 0 7px; color: #fffdf7; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; }.dashboard-hero p { margin: 0; color: #c0d6cb; font-size: 12px; line-height: 1.65; }
.dashboard-schedule { display: flex; flex: 0 0 230px; flex-direction: column; justify-content: center; gap: 6px; padding: 4px 0 4px 25px; border-left: 1px solid rgba(231, 216, 167, .27); }.dashboard-schedule span { color: #b9d3c6; font-size: 11px; }.dashboard-schedule b { color: #fff9e9; font-size: 19px; letter-spacing: .02em; }.dashboard-schedule i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 4px; border-radius: 50%; background: #dea937; }.hero-link { width: max-content; margin-top: 4px; padding: 0; border: 0; color: #f4c765; background: transparent; font-size: 12px; font-weight: 700; }.hero-link:hover { color: #fff; }
.metrics { gap: 14px; }.metric { min-height: 116px; border-color: var(--line); border-radius: 12px; background: var(--warm-white); box-shadow: var(--shadow); }.metric::before { background: var(--gold); }.metric.green::before { background: #2d946b; }.metric.red::before { background: #c35d58; }.metric b { color: var(--forest); }
.card { border-color: var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.signal-row { border-color: #e9eee9; background: #fbfdfb; }.work-row, .signal-row, .timeline-row { border-bottom-color: #edf0ec; }.detail-grid div { border-color: #e6ede7; background: #fafcf9; }.status.green { color: #217151; background: #e8f5ee; }
.collection-modal { padding: 24px; background: rgba(16, 38, 31, .45); }.collection-box { width: min(700px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border-radius: 14px; background: #fff; box-shadow: 0 24px 62px rgba(0,0,0,.22); }.collection-title { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.collection-title h2 { margin: 5px 0 7px; color: var(--forest); font-size: 21px; }.collection-title p { max-width: 540px; margin: 0; color: #738078; font-size: 12px; line-height: 1.65; }.collection-source-list { display: grid; gap: 0; margin-top: 7px; }.collection-source { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 2px; border-bottom: 1px solid #edf0ec; }.collection-source b, .collection-source span, .collection-source small { display: block; }.collection-source b { color: #30483e; font-size: 13px; }.collection-source span { margin-top: 3px; color: #738078; font-size: 11px; }.collection-source small { max-width: 420px; margin-top: 3px; overflow: hidden; color: #9aa39d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.collection-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 13px 0 0; color: #8a7960; font-size: 11px; }
@media (max-width: 1240px) { .app-shell { grid-template-columns: 220px minmax(0,1fr); }.page { padding: 25px; }.dashboard-hero { padding: 22px; }.dashboard-schedule { flex-basis: 205px; padding-left: 18px; } }

/* 左侧品牌区与工作台首屏 */
.brand { min-height: 145px; padding: 25px 16px 12px; border-bottom: 0; cursor: pointer; }
.brand:focus-visible { outline: 3px solid rgba(207,151,40,.28); outline-offset: -4px; }
.brand::after { content: none; }
.brand-logo { width: 146px; height: 106px; object-position: left center; }
.workspace { display: none; }
.side-nav { margin-top: 8px; }
.page { padding-top: 24px; }
.view-head { margin-bottom: 13px; }
.view-head h1 { font-size: 30px; }
.dashboard-hero { margin-top: 0; padding: 27px 31px 25px; }
.dashboard-hero h2 { margin-top: 7px; font-size: 33px; line-height: 1.18; letter-spacing: -.045em; }
.dashboard-hero p { margin-top: 10px; font-size: 13px; }

/* 来源配置：编辑即弹出，避免表单落在页面底部 */
.source-config-modal { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 28px; overflow-y: auto; background: rgba(16, 38, 31, .42); }
.source-config-shell { width: min(920px, 100%); max-height: calc(100vh - 56px); overflow-y: auto; padding: 25px; border-radius: 14px; background: #fff; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.source-config-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.source-config-head h2 { margin: 5px 0 7px; color: var(--forest); font-size: 21px; }.source-config-head p { margin: 0; color: #748079; font-size: 12px; line-height: 1.65; }
.source-config-form { margin-top: 18px; }.source-config-form label { color: #526058; }.source-config-form .source-form-footer { display: flex; align-items: end; justify-content: flex-end; gap: 9px; }.source-config-form .primary, .manual-login-link { min-height: 37px; }.manual-login-link { display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; color: #4f6258; text-decoration: none; white-space: nowrap; }.manual-login-link:hover { color: var(--forest); text-decoration: none; }
.source-config-shell .form-note { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold); color: #6f695c; background: #fcf6e9; font-size: 11px; line-height: 1.6; }
.record-tabs { display: flex; gap: 7px; margin: 0 0 13px; }.record-tabs button { min-height: 34px; padding: 0 13px; border: 1px solid #dfe5df; border-radius: 7px; color: #6d786f; background: #fff; font-size: 12px; font-weight: 650; }.record-tabs button.active { border-color: #d8ae57; color: #845d16; background: #fff6e4; }
.product { width: 100%; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }.product:hover { border-color: #d2b06e; box-shadow: 0 6px 14px rgba(76, 61, 29, .05); transform: translateY(-1px); }.product.selected { border-color: var(--gold); background: #fff9ed; box-shadow: inset 3px 0 0 var(--gold); }.product strong { display: block; margin-top: 8px; color: var(--forest); font-size: 12px; }.product small { display: block; margin-top: 7px; overflow: hidden; color: #8b918b; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }.table-head > span { color: #7f8880; font-size: 11px; line-height: 1.45; }
@media (max-width: 900px) { .source-config-modal { padding: 12px; }.source-config-shell { max-height: calc(100vh - 24px); padding: 18px; }.source-config-form { grid-template-columns: repeat(2, minmax(0,1fr)); }.source-config-form .wide { grid-column: 1 / -1; } }
