:root{--blue:#245bd6;--blue-dark:#1746b0;--pale:#edf3ff;--bg:#f4f6fa;--ink:#1e2b41;--muted:#7a8598;--line:#e5eaf2;--red:#d44e52;--green:#16977c;--shadow:0 8px 28px #1632640a;font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--blue);text-decoration:none}button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:9px 14px;font-weight:500}button:hover:not(:disabled){border-color:#aac0ef;background:#f7faff}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover:not(:disabled){background:var(--blue-dark);border-color:var(--blue-dark)}.danger{color:var(--red)}.ghost{border-color:transparent;background:transparent}.small{padding:5px 9px;font-size:12px}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.boot{margin:25vh auto;text-align:center;color:var(--muted)}.tag{display:inline-block;border-radius:5px;padding:3px 7px;background:var(--pale);color:var(--blue);font-size:11px;white-space:nowrap}.tag.gray{background:#f0f2f6;color:var(--muted)}.tag.orange{background:#fff2df;color:#b1781a}.tag.red{background:#fff0f0;color:var(--red)}.positive{color:var(--green)}.negative{color:var(--red)}.shell{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;width:222px;height:100vh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:4}.brand{padding:31px 24px 24px;display:flex;align-items:center;gap:11px}.brand-mark{background:var(--blue);color:#fff;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:21px;font-weight:700;box-shadow:0 6px 12px #245bd629}.brand-name{font-size:19px;font-weight:750;letter-spacing:1px}.brand-sub{font-size:10px;color:var(--muted);margin-top:4px;letter-spacing:1px}.nav{padding:18px 13px;display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;border:0;padding:13px 16px;color:#6e7b90;background:transparent}.nav button.active{background:var(--pale);color:var(--blue);font-weight:700}.nav-icon{font-size:18px;width:21px;text-align:center}.sidebar-note{margin:auto 22px 25px;font-size:11px;line-height:1.8;color:#99a2b2}.side-status{display:flex;gap:7px;align-items:center;margin-bottom:7px}.status-dot{width:6px;height:6px;background:#3cbb92;border-radius:50%}.workspace{grid-column:2;min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:18px}.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb strong{color:#35445e;font-weight:600}.account-area{display:flex;align-items:center;gap:12px;font-size:12px}.avatar{width:32px;height:32px;background:var(--pale);color:var(--blue);display:grid;place-items:center;border-radius:50%;font-weight:700}.content{max-width:1640px;padding:31px 36px 40px;margin:auto}.page-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.page-title h1{font-size:24px;letter-spacing:1px;margin:0 0 7px}.page-title p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);margin-bottom:20px;overflow:hidden}.filter-panel{padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.periods{display:flex;background:#f3f5f9;border-radius:7px;padding:3px;gap:3px}.periods button{padding:7px 17px;border:0;background:transparent;color:#7a8596}.periods button.active{background:#fff;box-shadow:0 2px 6px #142b5320;color:var(--blue);font-weight:700}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filters label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}input,select,textarea{border:1px solid #dfe5ef;border-radius:7px;padding:9px 10px;background:white;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{border-color:#7198ec;outline:2px solid #d9e6ff}input[disabled],select[disabled],textarea[disabled]{background:#f2f4f8;color:#7e8899}.filters select{max-width:160px}.filters input[type=date]{width:141px}.range-note{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin:0 0 15px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat-card{padding:19px 20px;background:white;border:1px solid var(--line);border-radius:11px;min-height:118px;box-shadow:var(--shadow)}.stat-label{display:flex;justify-content:space-between;align-items:center;color:#7a8598;font-size:12px}.stat-glyph{font-size:17px;color:#bdccef}.stat-value{font-family:Inter,"Segoe UI",sans-serif;font-size:25px;letter-spacing:-.5px;font-weight:700;margin-top:12px}.stat-value .currency{font-size:15px;font-weight:500;margin-right:3px}.stat-caption{font-size:10px;color:#98a1b0;margin-top:8px;line-height:1.6}.stat-card.featured{background:linear-gradient(120deg,#245bd6,#3974eb);border-color:#245bd6;color:#fff}.featured .stat-label,.featured .stat-caption,.featured .stat-glyph{color:#d8e5ff}.section-head{padding:19px 21px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between}.section-head h2{font-size:15px;margin:0;font-weight:700}.section-head small{font-size:11px;color:var(--muted);font-weight:400;margin-left:9px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{font-size:11px;color:#8190a3;background:#fafbfd;padding:13px 18px;text-align:left;font-weight:500;border-bottom:1px solid var(--line)}td{padding:15px 18px;border-bottom:1px solid #eff2f7;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}.cell-main{font-weight:600;color:#34455f}.cell-sub{font-size:10px;color:#96a0af;margin-top:5px}.money{text-align:right;font-variant-numeric:tabular-nums}.row-actions{display:flex;gap:3px}.row-actions button{padding:4px 6px;font-size:11px;background:transparent;border-color:transparent;color:var(--blue)}.row-actions .danger{color:var(--red)}.empty{text-align:center;padding:48px 20px;color:#98a2b2;font-size:13px}.empty-symbol{font-size:30px;color:#c9d4e7;margin-bottom:12px}.table-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.notice{padding:13px 17px;border:1px solid #dce7fc;background:#f4f8ff;color:#6c7e9d;font-size:12px;border-radius:8px;line-height:1.8;margin-bottom:20px}.notice.warning{border-color:#f0d9aa;background:#fffcf4;color:#956e2c}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.toolbar input{width:190px;font-size:12px}.toolbar select{font-size:12px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.member-name{display:flex;gap:11px;align-items:center}.inline-form{display:flex;gap:8px;align-items:center}.inline-form select{max-width:170px;font-size:12px}.audit-detail{white-space:normal;max-width:620px;line-height:1.7;color:#6b7a91}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:90;padding:13px 22px;background:#203452;color:white;border-radius:9px;box-shadow:0 6px 30px #132a4733;max-width:88vw;display:none;font-size:13px}.toast.show{display:block}.toast.error{background:#b44850}.modal-overlay{position:fixed;inset:0;background:#16223b66;backdrop-filter:blur(3px);z-index:40;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#fff;border-radius:14px;width:min(720px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 80px #0b163444}.modal.compact{width:min(470px,100%)}.modal-head{padding:21px 25px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-head h2{font-size:18px;margin:0}.close-modal{font-size:23px;color:#8792a4;padding:0 5px;border:0;background:none}.modal-body{padding:23px 25px}.modal-footer{border-top:1px solid var(--line);padding:16px 25px;display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#5e6c82}.field.full{grid-column:1/-1}.field em{color:var(--red);font-style:normal}.field small{color:#99a1af;line-height:1.6;font-size:10px}.field textarea{resize:vertical;min-height:71px}.form-error{display:none;background:#fff0f0;border:1px solid #f7d6d7;color:#b94049;padding:10px 12px;border-radius:7px;margin-bottom:16px;font-size:12px;line-height:1.7}.form-error.show{display:block}.quick-projects{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}.quick-projects button{font-size:11px;padding:5px 8px;background:#f6f8fc}.checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.checkbox input{width:15px;height:15px}.split-title{font-size:11px;color:var(--blue);font-weight:700;grid-column:1/-1;border-bottom:1px solid var(--line);padding-bottom:9px;margin-top:4px}.read-only-note{font-size:12px;color:#946f2d;padding:11px 13px;background:#fffaeb;border-radius:7px;grid-column:1/-1;line-height:1.8}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(370px,.95fr) minmax(480px,1.05fr);background:#fff}.auth-hero{padding:50px 12%;background:linear-gradient(155deg,#143d9b,#245bd6 70%,#3c76e5);color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-hero:after{content:"";position:absolute;width:600px;height:600px;border:1px solid #ffffff12;border-radius:50%;bottom:-370px;left:-130px;box-shadow:0 0 0 75px #ffffff05,0 0 0 150px #ffffff04}.auth-hero .brand{padding:0}.auth-hero .brand-mark{background:#fff;color:var(--blue)}.auth-hero .brand-sub{color:#bdcffa}.auth-hero h1{font-size:37px;line-height:1.65;margin:90px 0 22px;letter-spacing:2px}.auth-hero p{font-size:14px;color:#cbdbff;line-height:2;max-width:310px}.hero-ledger{background:#ffffff12;border:1px solid #ffffff1f;border-radius:12px;padding:23px 24px;margin-top:38px;max-width:360px;position:relative;z-index:1}.hero-ledger-title{font-size:12px;color:#c4d7ff;display:flex;justify-content:space-between}.hero-ledger-number{font-size:29px;font-weight:650;margin:20px 0 12px}.hero-bars{display:flex;align-items:end;height:65px;gap:11px;margin-top:21px}.hero-bars i{background:#7eacff;border-radius:3px 3px 0 0;flex:1}.hero-bars i:last-child{background:#fff}.hero-footer{margin-top:auto;padding-top:45px;color:#aec5f7;font-size:11px;line-height:1.8}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{width:380px;max-width:100%}.auth-card h2{font-size:26px;margin:0 0 11px}.auth-card>.muted{font-size:12px;line-height:1.9;margin-bottom:27px}.auth-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:25px}.auth-tabs button{border:0;border-radius:0;padding:12px 0;color:var(--muted);position:relative;background:white}.auth-tabs button.active{color:var(--blue);font-weight:700}.auth-tabs .active:after{position:absolute;content:"";height:3px;background:var(--blue);bottom:-1px;left:0;right:0;border-radius:3px}.auth-form{display:grid;gap:17px}.auth-form .primary{width:100%;padding:12px;margin-top:5px}.auth-hint{font-size:11px;color:#99a2b0;line-height:1.8;margin:16px 0 0}.demo-box{border-top:1px solid var(--line);padding-top:23px;margin-top:30px}.demo-box h3{font-size:12px;font-weight:500;color:#8b96a7;margin:0 0 13px}.demo-buttons{display:flex;gap:8px;flex-wrap:wrap}.demo-buttons button{font-size:12px;padding:8px 13px;color:#5e77a5;background:#f7faff;border-color:#e1e9f6}.demo-box p{font-size:10px;color:#a1a9b6;line-height:1.8;margin-top:12px}.invite-url{width:100%;margin:14px 0;font-size:12px;background:#f6f8fc}.denied{max-width:540px;margin:18vh auto;padding:35px;background:white;text-align:center;border:1px solid var(--line);border-radius:12px;line-height:1.9}.denied h1{font-size:22px}.mobile-shell{max-width:560px;margin:0 auto;min-height:100vh;background:var(--bg);border-left:1px solid var(--line);border-right:1px solid var(--line)}.mobile-head{padding:20px;background:var(--blue);color:white}.mobile-head .brand{padding:0}.mobile-head .brand-mark{background:white;color:var(--blue)}.mobile-head .brand-name{font-size:20px}.mobile-head .brand-sub{color:#ccdfff}.mobile-user{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-top:22px;color:#d8e5ff}.mobile-user button{color:white;padding:4px 8px;border-color:#ffffff44;background:transparent;font-size:10px}.mobile-content{padding:19px 16px}.mobile-content h1{font-size:21px;margin:4px 0 6px}.mobile-content .filter-panel{padding:12px;gap:12px}.mobile-content .filters{gap:8px}.mobile-content .filters label{font-size:10px}.mobile-content .filters select{max-width:130px;font-size:11px}.mobile-content .filters input{font-size:11px;max-width:132px}.mobile-content .periods{width:100%}.mobile-content .periods button{flex:1;padding:7px 10px}.mobile-content .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-content .stat-card{padding:15px 13px;min-height:112px}.mobile-content .stat-value{font-size:22px}.mobile-content .stat-caption{font-size:9px}.mobile-content .section-head{padding:16px}.mobile-content td,.mobile-content th{padding:12px;font-size:11px}.mobile-footer{text-align:center;font-size:10px;color:#99a3b5;padding:20px}.loading{padding:50px;color:var(--muted);text-align:center}.form-summary{line-height:2;color:#6b7890;font-size:13px;margin:0}.action-note{font-size:11px;color:var(--muted);line-height:1.7}.page-error{padding:30px;color:#b6454e;background:#fff4f4;border:1px solid #f5d6d8;border-radius:10px}.inline-number{font-size:22px;font-weight:700;margin:8px 0}
@media(min-width:1500px){.content{padding-left:44px;padding-right:44px}.stats-grid{gap:20px}.stat-value{font-size:29px}.stat-card{padding:22px}}
@media(max-width:1100px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px}.brand{padding:27px 19px}.brand-name{font-size:17px}.topbar{padding:0 24px}.content{padding:26px 24px}.stats-grid{gap:11px}.stat-card{padding:16px}.stat-value{font-size:22px}.grid-two{grid-template-columns:1fr}.page-title{align-items:flex-start}.auth-hero{padding:45px 9%}.auth-hero h1{font-size:31px}.filters{gap:8px}.filter-panel{padding:15px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;width:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:17px 20px}.sidebar-note{display:none}.nav{display:flex;overflow:auto;padding:0 12px 11px;gap:3px}.nav button{white-space:nowrap;padding:9px 12px;font-size:12px}.nav-icon{display:none}.workspace{grid-column:auto}.topbar{height:56px;padding:0 18px}.breadcrumb{font-size:10px}.account-area{gap:6px;font-size:11px}.avatar{width:27px;height:27px}.content{padding:22px 16px}.page-title h1{font-size:21px}.page-title p{font-size:11px}.page-title{gap:10px;flex-wrap:wrap;margin-bottom:18px}.actions button{font-size:11px;padding:8px 11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:16px 13px}.stat-value{font-size:23px}.filters label{font-size:10px}.filters input,.filters select{font-size:11px}.filters input[type=date]{width:132px}.filters select{max-width:140px}.periods{width:100%}.periods button{flex:1;padding:7px 10px}.section-head{padding:15px;flex-wrap:wrap}.section-head h2{font-size:14px}.section-head small{display:block;margin:6px 0 0}.toolbar input{width:150px}.toolbar{gap:6px}.toolbar select{max-width:135px}.notice{font-size:11px;padding:11px 13px}.modal-overlay{padding:12px}.modal{max-height:94vh}.modal-head{padding:17px}.modal-body{padding:18px}.modal-footer{padding:14px 18px}.form-grid{gap:14px}.auth-layout{display:block}.auth-hero{padding:23px 25px 28px}.auth-hero h1{font-size:25px;margin:28px 0 10px;line-height:1.5}.auth-hero p{font-size:12px;margin:0}.hero-ledger,.hero-footer{display:none}.auth-main{padding:30px 25px 45px}.auth-card h2{font-size:23px}.auth-card>.muted{margin-bottom:17px}.auth-tabs{margin-bottom:20px}.auth-form{gap:14px}.demo-box{margin-top:24px;padding-top:20px}.denied{margin:10vh 16px}.table-foot{font-size:10px}.form-grid .field{min-width:0}.inline-form select{max-width:120px}}
@media(prefers-reduced-motion:no-preference){.toast.show{animation:toast-in .2s ease-out}@keyframes toast-in{from{opacity:0;bottom:20px}to{opacity:1;bottom:28px}}}
/* Team subscription page: desktop web only. */
.access-notice{margin:16px 30px 0;padding:12px 16px;border:1px solid #f2d0a1;background:#fff8eb;color:#885516;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.subscription-current{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.plan-card{padding:24px}.plan-price{font-size:34px;font-weight:750;color:#2158d7;margin:20px 0}.plan-price small{font-size:14px;font-weight:400;color:#718096}.plan-card button{width:100%;margin-top:15px}
@media(max-width:850px){.plan-grid{grid-template-columns:1fr}.subscription-current{align-items:flex-start;flex-direction:column}.access-notice{margin:12px}}
.registration-consent{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.8;color:#61728a;flex-wrap:wrap}.registration-consent input{width:auto;margin-top:5px}.registration-consent button{padding:0 2px;color:#245bd6}
.audit-table{table-layout:fixed;width:100%;min-width:760px}.audit-table th:nth-child(1){width:175px}.audit-table th:nth-child(2){width:95px}.audit-table th:nth-child(3){width:130px}.audit-table th:nth-child(4){width:115px}.audit-table td{white-space:normal;overflow-wrap:anywhere}.audit-table .audit-detail{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.9}.audit-detail summary{cursor:pointer;color:var(--blue);margin-top:4px}.order-status-select{width:105px;min-width:105px;padding:6px 9px}
