:root { font-family: Arial, "Microsoft YaHei", sans-serif; color: #20252a; background: #f2f4f7; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 200px; flex: none; background: #000; color: #f7f9fb; min-height: 100vh; }
.side-brand { height: 60px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #242a32; font-size: 16px; }
.side-brand strong { white-space: nowrap; }
.side-nav { padding: 14px 0; }
.nav-section { margin-bottom: 7px; }
.nav-heading, .nav-item { width: 100%; border: 0; background: transparent; color: #d7dce2; text-align: left; }
.nav-heading { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 17px; font-size: 13px; font-weight: 700; }
.nav-heading:hover, .nav-item:hover { background: #1c2530; }
.nav-icon { width: 18px; text-align: center; color: #d7dce2; font-size: 17px; line-height: 1; }
.chevron { margin-left: auto; font-size: 17px; line-height: 1; transition: transform .15s; }
.nav-heading[aria-expanded="false"] .chevron { transform: rotate(-90deg); }
.nav-item { display: block; min-height: 39px; padding: 9px 16px 9px 48px; border-left: 3px solid transparent; font-size: 13px; }
.nav-item.selected { color: #4aa7ff; background: #16202b; border-left-color: #4aa7ff; font-weight: 700; }
.app-content { flex: 1; min-width: 0; }
.topbar { height: 60px; background: #fff; border-bottom: 1px solid #dce3e5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; }
.header-left, .header-meta { display: flex; align-items: center; gap: 18px; min-width: 0; }
.header-left { font-size: 16px; font-weight: 600; }
.header-meta { color: #66737c; font-size: 12px; white-space: nowrap; }
.service-status { border: 1px solid #b8ddb8; color: #328744; border-radius: 4px; padding: 4px 8px; }
.invite-shortcut { border: 0; background: transparent; color: #2580d3; padding: 6px 2px; font-size: 12px; }
.invite-shortcut:hover { text-decoration: underline; }
.invite-shortcut strong { font-weight: 700; }
.admin-identity { color: #273640; }
.menu-toggle { display: none; border: 0; background: none; padding: 5px; font-size: 21px; line-height: 1; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand small { color: #6c7780; font-weight: 400; font-size: 13px; margin-left: 8px; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; background: #f6f8fb; color: #186bd8; border-radius: 4px; font-size: 17px; }
.brand-image { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
main { padding: 20px; }
body:not(.login-mode) .app-content main { position: relative; isolation: isolate; min-height: calc(100vh - 60px); background: #f1f3f7; }
body:not(.login-mode) .app-content main::before,
body:not(.login-mode) .app-content main::after { content: ''; position: fixed; top: 60px; right: 0; bottom: 0; left: 200px; z-index: 0; pointer-events: none; }
body:not(.login-mode) .app-content main::before { background: url('?asset=workspace') center / cover no-repeat; clip-path: inset(0); opacity: 1; transition: opacity .3s ease, filter .3s ease; }
body:not(.login-mode) .app-content main::after { background: #f4f6fa; opacity: .12; transition: opacity .3s ease; }
body:not(.login-mode) .app-content main.workspace-detail::before { opacity: .72; filter: blur(8px); }
body:not(.login-mode) .app-content main.workspace-detail::after { opacity: .76; }
body:not(.login-mode) .app-content main > #workspace { position: relative; z-index: 1; }
.dashboard-panel .metric-card, .dashboard-panel .chart-panel { background: #ffffffe8; }
.login-mode .topbar { display: none; }
.login-mode main { padding: 0; }
.login-view { min-height: 100vh; min-height: 100dvh; background: #08132d; overflow: hidden; }
.portal-art { position: relative; width: 100%; min-height: 100vh; min-height: 100dvh; overflow: hidden; isolation: isolate; background: #08132d; }
.portal-scene, .portal-light-layer { position: absolute; inset: 0; background: url('?asset=door') center / cover no-repeat; pointer-events: none; }
.portal-scene { filter: brightness(.38) saturate(.7); transform: scale(1); transition: filter 1.15s ease 2.25s, transform 3.3s ease; }
.portal-light-layer { z-index: 1; opacity: 0; filter: brightness(1.18) saturate(1.18); }
.portal-light-top { -webkit-mask-image: radial-gradient(ellipse 25% 14% at 50% 12%, #000 12%, transparent 100%); mask-image: radial-gradient(ellipse 25% 14% at 50% 12%, #000 12%, transparent 100%); }
.portal-light-blue { -webkit-mask-image: radial-gradient(ellipse 56% 55% at 49% 43%, #000 8%, transparent 100%); mask-image: radial-gradient(ellipse 56% 55% at 49% 43%, #000 8%, transparent 100%); }
.portal-light-amber { -webkit-mask-image: radial-gradient(ellipse 47% 52% at 78% 38%, #000 5%, transparent 100%); mask-image: radial-gradient(ellipse 47% 52% at 78% 38%, #000 5%, transparent 100%); }
.portal-light-floor { -webkit-mask-image: radial-gradient(ellipse 62% 23% at 52% 86%, #000 5%, transparent 100%); mask-image: radial-gradient(ellipse 62% 23% at 52% 86%, #000 5%, transparent 100%); }
.portal-form { position: absolute; z-index: 2; top: 31%; left: 50%; width: clamp(250px, 23vw, 370px); transform: translateX(-50%); display: grid; justify-items: stretch; color: #fff; text-align: center; text-shadow: 0 2px 12px #00102c; }
.portal-form h1 { font-size: 28px; line-height: 1.25; margin-bottom: 20px; white-space: nowrap; }
.portal-fields { display: grid; gap: 12px; }
.portal-fields label { text-align: left; color: #e5f3ff; font-size: 12px; gap: 5px; }
.portal-fields input { height: 42px; border: 1px solid #88bdec9c; color: #fff; background: #071b42d9; backdrop-filter: blur(3px); }
.portal-fields input:focus { border-color: #8cf5ff; outline: 2px solid #55d9ffb3; }
.portal-submit { height: 44px; border: 1px solid #78d7ff; border-radius: 4px; color: #fff; font-weight: 700; background: #0877ca; box-shadow: 0 0 17px #2ca6ff8c; }
.portal-submit:hover { background: #128de8; }
.register-link { margin-top: 12px; border: 0; background: transparent; color: #d7eaff; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.login-error { margin: 0; padding: 5px; color: #fff; background: #791d3eac; border-radius: 3px; font-size: 12px; }
.portal-art.is-opening .portal-form { animation: portal-form-out .38s ease 2.8s both; pointer-events: none; }
.portal-art.is-opening .portal-scene { filter: brightness(.92) saturate(1.08); transform: scale(1.035); }
.portal-art.is-opening .portal-light-top { animation: portal-light-on .62s ease-out .18s both; }
.portal-art.is-opening .portal-light-blue { animation: portal-light-on .8s ease-out .9s both; }
.portal-art.is-opening .portal-light-amber { animation: portal-light-on .85s ease-out 1.66s both; }
.portal-art.is-opening .portal-light-floor { animation: portal-light-on .75s ease-out 2.35s both; }
@keyframes portal-form-out { to { opacity: 0; transform: translateX(-50%) scale(.98); } }
@keyframes portal-light-on { 0% { opacity: 0; } 32% { opacity: .18; } 58% { opacity: 1; } 75% { opacity: .82; } 100% { opacity: 1; } }
.register-dialog, .legal-dialog { width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 24px; border: 1px solid #ded9ee; border-radius: 6px; background: #fff; box-shadow: 0 18px 54px #17132c60; }
.register-dialog::backdrop, .legal-dialog::backdrop { background: #10152a9c; }
.register-dialog { border-color: #ab92d7; background: #faf8ff; color: #35264e; box-shadow: 0 20px 60px #25124475; }
.register-dialog::backdrop { background: #1d1135b8; }
.register-dialog form { display: grid; gap: 15px; }
.register-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.register-dialog .register-heading { margin: -24px -24px 5px; padding: 18px 24px; background: #6843a5; color: #fff; }
.register-dialog .register-heading h2 { color: #fff; }
.dialog-close { border: 0; background: transparent; color: #637080; font-size: 27px; line-height: 1; width: 30px; height: 30px; }
.register-dialog .dialog-close { color: #fff; }
.register-dialog .dialog-close:hover { color: #e7dcff; }
.register-note { margin: 0; padding: 9px 11px; background: #f3f1f9; color: #59546a; font-size: 12px; }
.register-dialog label { color: #4b3a67; }
.register-dialog label:not(.register-consent) input { border-color: #c7b8df; background: #fff; }
.register-dialog label:not(.register-consent) input:focus { border-color: #7751b4; outline: 2px solid #d0b9f2; }
.register-dialog .register-note { border-left: 3px solid #9067c8; background: #eee8f8; color: #5b447f; }
.register-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; font-weight: 400; line-height: 1.6; }
.register-consent input { width: 16px; min-width: 16px; height: 16px; margin: 2px 0 0; }
.register-dialog .register-consent input { accent-color: #7047af; }
.legal-link { border: 0; padding: 0; background: transparent; color: #365dba; font-size: inherit; }
.register-dialog .legal-link { color: #7045b3; }
.register-dialog .legal-link:hover { text-decoration: underline; }
.register-error { margin: 0; color: #b22042; font-size: 12px; }
.register-submit { width: 100%; height: 40px; }
.register-dialog .register-submit { background: #6943a9; color: #fff; }
.register-dialog .register-submit:hover { background: #57368d; }
.legal-content { max-height: 60dvh; overflow: auto; padding-top: 12px; font-size: 13px; line-height: 1.7; color: #41505b; }
.legal-content p { margin: 0 0 12px; }
h1 { font-size: 21px; margin: 0; }
h2 { font-size: 17px; margin: 0; }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: #4a5860; }
input, select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #cbd5d9; border-radius: 4px; background: #fff; color: #20252a; }
input:focus, select:focus { outline: 2px solid #b9dcff; border-color: #409eff; }
button.primary, button.secondary, button.text-button, .tabs button { border: 0; border-radius: 4px; min-height: 36px; padding: 0 14px; }
button.primary { background: #409eff; color: #fff; font-weight: 600; }
button.primary:hover { background: #2989eb; }
button.secondary { background: #e9f3ff; color: #217ccf; }
button.secondary:hover { background: #d7eaff; }
button.text-button { background: transparent; color: #4a5860; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid #d5dfe2; margin-bottom: 26px; overflow-x: auto; }
.tabs button { background: transparent; border-radius: 0; color: #59656c; white-space: nowrap; padding: 0 20px 12px; }
.tabs button.selected { color: #409eff; border-bottom: 2px solid #409eff; font-weight: 700; }
.panel { min-width: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }
.metric-card { min-height: 118px; background: #fff; border: 1px solid #e1e6ea; border-radius: 4px; box-shadow: 0 3px 12px #151b2417; padding: 18px 20px; display: flex; align-items: center; gap: 20px; min-width: 0; transition: transform .3s ease, box-shadow .3s ease; }
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px #151b2426; }
.metric-icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 27px; font-weight: 600; }
.metric-card > div { display: grid; gap: 5px; min-width: 0; }
.metric-card strong { font-size: 28px; line-height: 1.1; overflow-wrap: anywhere; }
.metric-card div span { color: #666; font-size: 14px; }
.metric-card small { color: #8a959e; font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.metric-card small b { font-weight: 500; }
.metric-card strong.metric-pending { color: #84909e; }
.income-detail-button { justify-self: start; border: 0; padding: 0; background: transparent; color: #409eff; font-size: 12px; font-weight: 600; }
.income-detail-button:hover { text-decoration: underline; }
.tone-blue .metric-icon { background: #1890ff20; color: #1890ff; }
.tone-green .metric-icon { background: #52c41a20; color: #52c41a; }
.tone-teal .metric-icon { background: #13c2c220; color: #13c2c2; }
.tone-pink .metric-icon { background: #eb2f9620; color: #eb2f96; }
.tone-cyan .metric-icon { background: #13c2c220; color: #13c2c2; }
.tone-violet .metric-icon { background: #722ed120; color: #722ed1; }
.tone-orange .metric-icon { background: #fa8c1620; color: #fa8c16; }
.tone-amber .metric-icon { background: #faad1420; color: #faad14; }
.tone-rose .metric-icon { background: #f5222d20; color: #f5222d; }
.chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.chart-panel { background: #fff; border: 1px solid #e1e6ea; border-radius: 4px; box-shadow: 0 3px 12px #151b2417; min-width: 0; }
.chart-panel header { min-height: 74px; border-bottom: 1px solid #e5e9ed; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chart-heading { display: grid; gap: 5px; min-width: 0; }
.chart-panel h2 { font-size: 15px; }
.chart-panel header span { color: #86919a; font-size: 12px; }
.chart-refresh { height: 32px; flex: none; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 4px; background: transparent; color: #409eff; font-size: 13px; }
.chart-refresh span:first-child { font-size: 21px; line-height: 1; }
.chart-refresh:hover { background: #eaf4ff; }
.chart-plot { height: 295px; padding: 20px 16px 18px; display: flex; align-items: stretch; }
.chart-empty { flex: 1; display: grid; place-items: center; color: #8b969e; font-size: 13px; }
.chart-bars { display: flex; justify-content: space-around; gap: 10px; width: 100%; min-width: 0; border-bottom: 1px solid #cfd7dd; position: relative; }
.chart-bars::before { content: ""; position: absolute; inset: 28px 0 35px; background-image: linear-gradient(to top, #e2e8ec 1px, transparent 1px); background-size: 100% 25%; pointer-events: none; }
.chart-column { flex: 1; min-width: 0; display: grid; grid-template-rows: 28px 1fr 35px; justify-items: center; text-align: center; position: relative; }
.chart-value { align-self: end; color: #59666f; font-size: 11px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-track { width: min(56px, 60%); height: 100%; display: flex; align-items: flex-end; }
.chart-bar { width: 100%; min-height: 0; border-radius: 3px 3px 0 0; }
.bar-teal { background: #13c2c2; }
.bar-violet { background: #722ed1; }
.bar-pink { background: #eb2f96; }
.bar-orange { background: #fa8c16; }
.chart-label { font-size: 11px; color: #66737c; align-self: center; white-space: normal; overflow-wrap: anywhere; }
.member-toolbar { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; color: #6a767e; font-size: 13px; }
.member-toolbar label { width: 190px; }
.member-table { min-width: 1050px; }
.member-table th:nth-child(1) { width: 18%; }
.member-table th:nth-child(2) { width: 12%; }
.member-table th:nth-child(3) { width: 8%; }
.member-table th:nth-child(4) { width: 10%; }
.member-table th:nth-child(5) { width: 13%; }
.member-table th:nth-child(6) { width: 15%; }
.member-table th:nth-child(7) { width: 17%; }
.member-table th:nth-child(8) { width: 7%; }
.member-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.member-account { font-weight: 600; }
.member-account small { display: block; margin-top: 3px; color: #bd4949; font-size: 11px; font-weight: 400; }
.member-expand, .member-operation-toggle { border: 0; background: transparent; color: #217ccf; padding: 4px; white-space: nowrap; }
.member-expand:hover, .member-operation-toggle:hover { text-decoration: underline; }
.member-payout { color: #59656c; font-size: 12px; }
.member-operation-row { background: #f6f9fc; padding: 11px 16px; }
.member-operation-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.member-operation-list button { border: 1px solid #d5e0eb; border-radius: 4px; background: #fff; color: #217ccf; padding: 6px 10px; font-size: 12px; }
.member-operation-list button:hover { background: #e9f3ff; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-subtitle { color: #78858e; font-size: 13px; margin: 7px 0 0; }
.account-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.account-metrics > div { background: #fff; border: 1px solid #e1e6ea; border-radius: 4px; padding: 18px 20px; display: grid; gap: 7px; min-height: 94px; }
.account-metrics strong { font-size: 25px; color: #20252a; }
.account-metrics span { font-size: 13px; color: #71808a; }
.account-filters { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(170px, 1fr)) auto auto; align-items: end; gap: 12px; margin-bottom: 24px; }
.account-filters button { height: 38px; }
.account-list-heading { margin-bottom: 12px; }
.account-list-heading .summary { margin: 0; color: #71808a; font-size: 13px; font-weight: 400; }
.account-list-heading h2 { font-size: 16px; }
.inline-form { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); align-items: end; gap: 12px; margin-bottom: 26px; }
.inline-form button { height: 38px; white-space: nowrap; }
.organization-form { display: grid; grid-template-columns: repeat(2, minmax(180px, 320px)); align-items: end; gap: 14px 18px; margin-bottom: 30px; }
.organization-form textarea { width: 100%; min-height: 76px; padding: 9px 10px; border: 1px solid #cbd5d9; border-radius: 4px; background: #fff; color: #20252a; font: inherit; resize: vertical; }
.organization-form textarea:focus { outline: 2px solid #b9dcff; border-color: #409eff; }
.organization-form .organization-reason, .organization-form .organization-consent { grid-column: 1 / -1; }
.organization-form .organization-consent { display: flex; align-items: flex-start; gap: 9px; max-width: 720px; font-weight: 400; line-height: 1.5; }
.organization-consent input { width: 17px; min-width: 17px; height: 17px; margin: 1px 0 0; accent-color: #409eff; }
.organization-form > button { justify-self: start; min-width: 120px; }
.overview-form { display: grid; grid-template-columns: minmax(150px, 190px) minmax(180px, 1fr) minmax(140px, 180px) auto auto; align-items: end; gap: 12px; margin-bottom: 20px; }
.overview-form button { height: 38px; }
.income-query-form { display: grid; grid-template-columns: 170px minmax(220px, 1fr) auto auto; align-items: end; gap: 12px; margin-bottom: 20px; }
.income-query-form button { height: 38px; }
.income-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.income-list-heading { margin-bottom: 12px; }
.income-list-heading h2 { font-size: 16px; }
.income-list-heading .summary { margin: 0; color: #71808a; font-size: 13px; font-weight: 400; }
.income-reconcile { margin: -8px 0 18px; color: #a65e19; font-size: 13px; }
.income-table { min-width: 850px; }
.history-form { display: grid; grid-template-columns: 150px 150px minmax(180px, 1fr) 160px auto; align-items: end; gap: 12px; margin-bottom: 20px; }
.history-form button { height: 38px; }
.history-summary { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; color: #68757d; font-size: 13px; }
.history-summary strong { color: #20252a; font-size: 22px; }
.history-toggle { text-align: left; white-space: nowrap; }
.history-account-row > td { padding: 0 18px 18px; background: #f7f9fa; white-space: normal; }
.history-account-content { padding: 16px 0 0; }
.history-account-summary { margin: 0 0 10px; font-weight: 600; }
.history-account-note { margin: 0 0 12px; color: #a65e19; font-size: 12px; }
.history-account-table { min-width: 580px; background: #fff; }
.history-account-table th, .history-account-table td { padding: 10px; }
.history-account-pages { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 10px; }
.history-account-pages button { min-width: 32px; min-height: 32px; font-size: 20px; }
.history-account-empty { margin: 0; color: #66737c; }
.earnings-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.earnings-summary > div { border: 1px solid #dce3e5; border-radius: 6px; padding: 16px; min-height: 86px; display: grid; align-content: space-between; gap: 8px; }
.earnings-summary span { color: #68757d; font-size: 13px; }
.earnings-summary strong { font-size: 21px; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: #59656c; }
.pagination label { display: flex; align-items: center; gap: 6px; }
.pagination select { width: 72px; }
.pagination button { min-width: 36px; min-height: 36px; padding: 0; font-size: 21px; }
.manage-heading { border-top: 1px solid #dce3e5; padding-top: 26px; margin-top: 26px; }
.total-form { display: grid; grid-template-columns: minmax(160px, 240px) auto; align-items: end; gap: 12px; margin-bottom: 18px; max-width: 440px; }
.total-form button { height: 38px; white-space: nowrap; }
.table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid #e1e6ea; border-radius: 4px; }
table { border-collapse: collapse; width: 100%; min-width: 650px; font-size: 14px; }
th, td { padding: 13px 10px; text-align: left; border-bottom: 1px solid #edf0f1; white-space: nowrap; }
th { color: #68757d; background: #f8faf9; font-weight: 600; }
td button { border: 0; background: transparent; color: #409eff; padding: 4px 2px; }
td select { max-width: 120px; height: 32px; }
.member-actions button + button { margin-left: 12px; }
.rate-dialog { width: min(400px, calc(100vw - 32px)); padding: 24px; border: 1px solid #dce3e5; border-radius: 6px; box-shadow: 0 14px 48px #0004; }
.rate-dialog::backdrop { background: #121b2699; }
.rate-dialog h2 { margin-bottom: 8px; }
.rate-dialog form { display: grid; gap: 12px; }
.rate-dialog .rate-actions { margin-top: 10px; }
.dashboard-income-dialog { width: min(620px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 32px)); overflow-y: auto; padding: 24px; border: 1px solid #dce3e5; border-radius: 6px; box-shadow: 0 14px 48px #0004; color: #20252a; }
.dashboard-income-dialog::backdrop { background: #121b2699; }
.dashboard-income-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.dashboard-income-heading h2 { margin: 0; font-size: 20px; }
.dialog-close { width: 32px; height: 32px; flex: none; padding: 0; border: 0; background: transparent; color: #66737c; font-size: 25px; line-height: 1; }
.dialog-close:hover { color: #20252a; background: #eef2f5; }
.dashboard-income-dialog section { margin-bottom: 18px; padding: 16px 18px; border: 1px solid #e1e6ea; border-radius: 4px; background: #fff; }
.dashboard-income-dialog section h3 { margin: 0; font-size: 16px; }
.dashboard-income-period { margin: 5px 0 14px; color: #71808a; font-size: 12px; }
.dashboard-income-rows { display: grid; gap: 10px; }
.dashboard-income-rows > div, .dashboard-income-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.dashboard-income-rows > div span { color: #66737c; }
.dashboard-income-rows strong, .dashboard-income-total strong { overflow-wrap: anywhere; text-align: right; }
.dashboard-income-total { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e5e9ed; font-weight: 700; }
.dashboard-income-note { color: #66737c; font-size: 12px; line-height: 1.6; }
.rate-account { margin: 0 0 22px; color: #66737c; font-size: 13px; overflow-wrap: anywhere; }
.assignment-note { margin: 0; color: #66737c; font-size: 12px; line-height: 1.6; }
.rate-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.summary { min-height: 24px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
#message { position: fixed; z-index: 5; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 48px)); color: #fff; background: #202f35; border-radius: 5px; padding: 12px 16px; box-shadow: 0 6px 20px #0002; }
#message:empty { display: none; }
@media (max-width: 1550px) { .metric-card { gap: 14px; padding: 16px; } .metric-icon { width: 56px; height: 56px; } .metric-card strong { font-size: 24px; } }
@media (max-width: 1340px) { .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chart-grid { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .account-metrics, .income-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sidebar { position: fixed; z-index: 20; top: 0; bottom: 0; left: 0; transform: translateX(-100%); transition: transform .18s; } .sidebar.open { transform: translateX(0); } .side-backdrop { position: fixed; inset: 0; background: #0008; z-index: 19; } .menu-toggle { display: inline-block; } }
@media (max-width: 900px) { body:not(.login-mode) .app-content main::before, body:not(.login-mode) .app-content main::after { left: 0; } }
@media (max-width: 750px) { .topbar { padding: 0 14px; } .header-meta { gap: 8px; } .header-meta #clock, .service-status, .admin-identity { display: none; } main { padding: 16px; } .inline-form, .total-form, .overview-form, .income-query-form, .history-form, .account-filters { grid-template-columns: 1fr; } .earnings-summary, .metric-grid, .account-metrics { grid-template-columns: 1fr; } .history-summary { flex-wrap: wrap; } .pagination { flex-wrap: wrap; justify-content: flex-start; } .metric-card { min-height: 98px; } .chart-plot { height: 245px; } }
@media (max-width: 750px) { .organization-form { grid-template-columns: 1fr; } }
@media (max-width: 750px) { .dashboard-income-dialog { padding: 18px; } .dashboard-income-dialog section { padding: 14px; } .dashboard-income-dialog .rate-actions { flex-wrap: wrap; } }
@media (max-width: 750px) { .member-toolbar { align-items: center; } .member-table-wrap { margin-inline: -16px; width: calc(100% + 32px); border-radius: 0; } }
@media (max-width: 750px) { .login-mode main { padding: 0; } .portal-form { top: 29%; width: min(320px, calc(100vw - 40px)); } .portal-form h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .portal-scene, .portal-art.is-opening .portal-form, .portal-art.is-opening .portal-light-layer { transition-duration: .01ms; transition-delay: 0ms; animation-duration: .01ms; animation-delay: 0ms; } }
