@charset "UTF-8";
:root{--ink:#202b3b;--muted:#7b8390;--paper:#f6f5f1;--navy:#182536;--gold:#b4833e;--gold-light:#f5ecdd;--line:#e9e8e3;--green:#287563;--green-light:#eaf3ee;--red:#b84d42;--red-light:#faece8;--blue:#547998;--blue-light:#edf3f7;--radius:14px;font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.6;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--gold);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ccb282;outline-offset:3px}h1,h2,h3,h4,p{margin:0}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}input,select,textarea{width:100%;border:1px solid #dedfdc;border-radius:9px;background:#fff;color:var(--ink);padding:11px 13px;min-height:44px}input::placeholder,textarea::placeholder{color:#a4a8ae}input:focus,select:focus,textarea:focus{border-color:var(--gold)}input[readonly]{background:#f7f7f4;color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}small,.small{font-size:12px}.muted{color:var(--muted)}.mono{font-family:Consolas,"SFMono-Regular",monospace;font-size:12px}.money,.number{font-variant-numeric:tabular-nums}.money,.nowrap{white-space:nowrap}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:15px;top:-100px;z-index:100;background:#fff;padding:10px;border-radius:6px}.skip-link:focus{top:10px}
.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border-radius:8px;background:transparent;line-height:1.4;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s;white-space:nowrap}.btn:hover{text-decoration:none}.btn-primary{background:var(--gold);color:white;box-shadow:0 3px 7px #b4833e12}.btn-primary:hover:not(:disabled){background:#a87532}.btn-secondary{background:#fff;border-color:#dedfdc;color:#425163}.btn-secondary:hover:not(:disabled){background:#f7f6f2}.btn-quiet{color:var(--muted);padding:8px 11px}.btn-quiet:hover:not(:disabled){background:#f2f3f0;color:var(--ink)}.btn-danger{background:var(--red);color:white}.btn-link{border:0;background:none;color:var(--gold);padding:5px 2px;font-size:12px}.btn-link:hover{text-decoration:underline}.btn-link.danger{color:var(--red)}.btn-sm{font-size:12px;min-height:32px;padding:6px 10px}.btn-full{width:100%}.icon-button{width:37px;height:37px;padding:8px;border:1px solid var(--line);background:white;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--muted)}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;background:#f0f1f3;color:#78818e}.pill::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.pill.green{color:var(--green);background:var(--green-light)}.pill.gold{color:#a87532;background:var(--gold-light)}.pill.red{color:var(--red);background:var(--red-light)}.pill.blue{color:var(--blue);background:var(--blue-light)}.pill.gray{color:#838994;background:#f0f1f3}.tag{font-size:10px;padding:2px 7px;border:1px solid #e5e2da;border-radius:5px;color:#93815f;white-space:nowrap}
.field{margin-bottom:18px}.field-hint{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.7}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.required{color:var(--gold);margin-left:3px}.input-affix{position:relative}.input-affix input{padding-left:32px}.input-affix .prefix{position:absolute;top:11px;left:13px;color:#8c928e}.input-affix.has-suffix input{padding-left:13px;padding-right:36px}.input-affix .suffix{position:absolute;right:14px;top:11px;color:#8c928e}.form-error{background:var(--red-light);color:#a4443c;font-size:12px;border:1px solid #f1d5cf;padding:10px 12px;border-radius:8px;margin-bottom:15px;line-height:1.7}.notice{border:1px solid #e8dfce;background:#faf5ec;border-radius:10px;color:#8c7246;padding:13px 15px;font-size:12px;line-height:1.8;display:flex;gap:10px;align-items:flex-start}.notice .icon{margin-top:3px}.notice.blue{border-color:#dce5ec;background:#f1f5f8;color:#62778a}.notice p+p{margin-top:6px}
.environment-banner{min-height:35px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f3e6cc;color:#846126;font-size:11px;letter-spacing:.15px;border-bottom:1px solid #e9d8b7;padding:6px 14px;position:relative;z-index:21}.environment-banner .icon{width:14px;height:14px}.environment-banner.live{background:#e9f0ec;color:#416859;border-color:#d7e4db}.banner-mode{border:1px solid #b9965c77;border-radius:4px;font-size:9px;letter-spacing:.8px;padding:0 5px;font-weight:700;white-space:nowrap}.app-shell{min-height:calc(100vh - 35px);display:grid;grid-template-columns:228px 1fr}.sidebar{background:var(--navy);color:#adbac9;padding:29px 21px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 35px);align-self:start}.brand{display:flex;align-items:center;gap:10px;color:#f2f2f1;padding:0 8px}.brand-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #b78c4b88;border-radius:10px;color:#d4ac70;background:#b78c4b11}.brand-icon svg{width:22px;height:22px}.brand-name{font-family:Georgia,"Songti SC","SimSun",serif;font-weight:600;font-size:24px;letter-spacing:3px;line-height:1.25}.brand-caption{font-size:8px;letter-spacing:1.8px;color:#7e8fa3;margin-top:4px}.sidebar-rule{height:1px;background:#ffffff0c;margin:26px 8px 24px}.workspace-label{color:#65778e;letter-spacing:1.5px;font-size:9px;font-weight:600;padding:0 12px;margin-bottom:11px}.nav-items{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;background:transparent;color:#98a8bc;border:0;border-radius:8px;padding:12px 13px;text-align:left;font-size:12px;min-height:43px;position:relative}.nav-item:hover{background:#ffffff06;color:#e1e5eb}.nav-item.active{background:#b78c4b16;color:#dfbd87}.nav-item.active::before{content:"";position:absolute;left:-21px;top:13px;bottom:13px;width:3px;background:#c39858;border-radius:0 3px 3px 0}.nav-item .icon{width:17px;height:17px;opacity:.9}.nav-counter{margin-left:auto;background:#ffffff0d;color:#abb6c5;font-size:9px;padding:0 5px;border-radius:4px}.nav-section-label{font-size:9px;letter-spacing:1.5px;padding:24px 12px 9px;color:#65778e}.sidebar-bottom{margin-top:auto;padding-top:28px}.sidebar-note{border:1px solid #ffffff0b;border-radius:10px;padding:13px;margin:0 3px 21px;font-size:10px;line-height:1.9;color:#7b8ca1}.sidebar-note strong{color:#b9c3cf;display:block;font-size:11px;font-weight:500;margin-bottom:4px}.profile{display:flex;align-items:center;gap:10px;padding:16px 6px 0;border-top:1px solid #ffffff0c}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#344355;border:1px solid #53627266;border-radius:10px;color:#d8c6a8;font-size:12px;font-weight:600}.profile-name{color:#d1d9e2;font-size:11px;max-width:102px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-role{font-size:9px;color:#71839c;margin-top:2px}.logout-btn{margin-left:auto;padding:5px;color:#7b8da4;border:0;background:transparent}.logout-btn:hover{color:white}.main-area{min-width:0}.topbar{height:73px;background:#fbfbf8;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:#9ba2aa}.breadcrumb strong{font-weight:500;color:#566271}.breadcrumb .slash{color:#c2c7ca}.topbar-actions{display:flex;align-items:center;gap:15px}.system-status{font-size:10px;color:#9b9f9d;display:flex;align-items:center;gap:6px;white-space:nowrap}.status-dot{width:5px;height:5px;background:#719981;border-radius:50%}.topbar-date{font-size:11px;color:#9a9fa3;white-space:nowrap}.mobile-menu{display:none}.page-content{padding:31px 37px 35px;max-width:1800px;margin:0 auto}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;color:#aa8b5c;letter-spacing:1.8px;font-weight:600;margin-bottom:6px}.page-heading h1{font-size:25px;font-weight:600;letter-spacing:1px;line-height:1.5}.page-subtitle{color:var(--muted);font-size:11px;margin-top:7px;line-height:1.8}.page-subtitle .separator{padding:0 8px;color:#c3c6c7}.page-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.last-updated{font-size:10px;color:#a1a7ae;display:flex;align-items:center;gap:5px}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eae8df;border:1px solid #e4e1d6;border-radius:var(--radius);padding:24px 29px;margin-bottom:24px;overflow:hidden;position:relative}.hero::after,.hero::before{content:"";position:absolute;border:1px solid #cabf9d55;border-radius:50%;pointer-events:none}.hero::after{width:190px;height:190px;right:95px;top:-69px}.hero::before{width:240px;height:240px;right:68px;top:-96px}.hero-title{font-family:Georgia,"Songti SC","SimSun",serif;font-size:22px;letter-spacing:1px;color:#505446;font-weight:500}.hero-text{font-size:11px;color:#8d8d7b;margin-top:8px}.hero-aside{display:flex;align-items:center;gap:17px;position:relative;z-index:1}.hero-line{width:1px;height:35px;background:#c9c5b64d}.hero-aside strong{display:block;font-family:Georgia,serif;font-size:27px;font-weight:400;line-height:1.1;color:#8f7851}.hero-aside span{font-size:9px;color:#949381;letter-spacing:.6px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px 21px 18px;box-shadow:0 5px 22px #1e2a3809;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#89929b}.stat-icon{width:30px;height:30px;border-radius:8px;background:#f8f5ee;display:flex;align-items:center;justify-content:center;color:#b79a6d}.stat-icon .icon{width:16px;height:16px}.stat-value{font-size:27px;letter-spacing:-.7px;line-height:1.45;font-weight:600;margin-top:8px;color:#334251;overflow-wrap:anywhere}.stat-value .currency{font-size:15px;margin-right:4px;font-weight:400;color:#81908d}.stat-footer{font-size:9px;color:#aaaeb2;margin-top:10px;padding-top:11px;border-top:1px solid #f2f1ed;display:flex;justify-content:space-between;align-items:center;gap:8px}.stat-footer strong{font-weight:500;color:#88917f}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 22px #1e2a3809;min-width:0;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid #efeee9;min-height:68px}.panel-title{font-size:13px;font-weight:600;letter-spacing:.3px;display:flex;align-items:center;gap:9px}.panel-title .icon{color:#ac966e;width:16px;height:16px}.panel-subtitle{font-size:10px;color:#a4a9ae;margin-top:4px}.panel-body{padding:20px 22px}.panel-header .btn-link{color:#999b97;font-size:10px}.panel-footer{border-top:1px solid #f0efeb;padding:13px 21px;color:#a0a6ad;font-size:10px;display:flex;align-items:center;justify-content:space-between}.panel-footer .icon{width:13px;height:13px;color:#b3a387;margin-right:5px}.section-gap{margin-top:21px}
.data-table-wrap{overflow-x:auto;width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.data-table th{font-size:10px;color:#8e97a3;font-weight:500;background:#fcfcfa;padding:13px 21px;border-bottom:1px solid #efeee9}.data-table td{font-size:11px;color:#576373;padding:16px 21px;border-bottom:1px solid #f1f1ed;vertical-align:middle;max-width:300px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfcf9}.data-table .primary-cell{color:#3c4b5d;font-weight:500}.data-table .secondary-cell{font-size:9px;color:#a4aab0;margin-top:3px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.data-table .money{font-size:12px;color:#465666;font-weight:500}.data-table .amount-positive{color:var(--green)}.table-actions{display:flex;align-items:center;gap:11px}.table-actions button{font-size:10px}.avatar-name{display:flex;align-items:center;gap:10px}.table-avatar{width:28px;height:28px;background:#f0f3f2;border:1px solid #e7ece8;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#728379;font-size:10px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 21px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-box{position:relative;max-width:290px;flex:1;min-width:160px}.search-box .icon{position:absolute;left:12px;top:10px;color:#aaaeb1;width:15px;height:15px}.search-box input{font-size:11px;min-height:36px;padding:9px 12px 9px 35px;background:#fbfbf8;border-color:#eaeae4}.toolbar select{width:auto;min-height:36px;font-size:11px;padding:8px 30px 8px 11px;min-width:135px}.table-meta{font-size:10px;color:#9a9ea5}.empty-state{text-align:center;min-height:202px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 25px}.empty-state.compact{min-height:160px}.empty-icon{width:45px;height:45px;border:1px solid #ebe8df;background:#f8f7f2;color:#b4a584;display:flex;align-items:center;justify-content:center;border-radius:13px;margin-bottom:13px}.empty-icon .icon{width:22px;height:22px}.empty-state h3{font-size:12px;font-weight:500;color:#7d8790;margin-bottom:5px}.empty-state p{font-size:10px;color:#a8adb1;max-width:330px;line-height:1.9}.empty-state .btn{margin-top:15px}.task-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0efe9;padding:16px 0}.task-item:first-child{padding-top:0}.task-item:last-child{padding-bottom:0;border-bottom:0}.task-icon{width:35px;height:35px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#f7f4ed;color:#ac9166}.task-icon.blue{background:#eff4f7;color:#829bad}.task-icon.green{background:#eef4ef;color:#7a9a82}.task-title{font-size:11px;color:#6e7883}.task-description{font-size:9px;color:#aaaeb0;margin-top:4px}.task-count{font-size:19px;font-weight:500;color:#65717b;margin-left:auto}.task-count .icon{width:13px;height:13px;color:#b6b8b9;margin-left:9px}.task-item button{border:0;background:none;display:flex;align-items:center;margin-left:auto;padding:0}.hierarchy-steps{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:6px 0 22px}.hierarchy-step{text-align:center;flex:1}.step-symbol{width:35px;height:35px;border:1px solid #e7e0d3;border-radius:10px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:16px;color:#a89470;background:#fcfaf5}.hierarchy-step strong{display:block;font-size:11px;font-weight:500;color:#747c83}.hierarchy-step small{font-size:8px;color:#b0b3b6}.hierarchy-arrow{color:#c4c7c5;padding-bottom:15px}.rule-list{border-top:1px solid #f0efe8;padding-top:13px;display:flex;flex-direction:column;gap:9px}.rule-row{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#9299a0;line-height:1.9}.rule-row .icon{width:12px;height:12px;margin-top:3px;color:#b09b77}.rate-note{font-size:10px;color:#909794;background:#f8f7f2;padding:12px;border-radius:8px;line-height:1.9;margin-top:15px}.rate-note strong{color:#98815b;font-weight:500}.invite-card{padding:21px 23px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.invite-card h3{font-size:13px;font-weight:500}.invite-card p{font-size:11px;color:#959da5;margin-top:5px}.invite-link{display:flex;align-items:center;gap:8px;max-width:450px;flex:1}.invite-link input{font-size:11px;min-height:38px;padding:9px 12px}.inline-alert{margin-bottom:20px}.balance-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:23px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:21px}.balance-item+.balance-item{border-left:1px solid var(--line);padding-left:25px}.balance-item span{font-size:10px;color:#999fa7;display:block}.balance-item strong{font-size:23px;color:#536475;font-weight:500;display:block;margin-top:6px}.balance-item.available strong{color:var(--green)}.balance-item small{font-size:9px;color:#aeb3b6}.page-footer{display:flex;justify-content:space-between;gap:15px;padding-top:29px;font-size:9px;color:#aeb2b5;letter-spacing:.2px}.page-footer .icon{width:11px;height:11px;margin-right:4px}
.error-card{padding:35px;max-width:640px;margin:35px auto;text-align:center}.error-card h2{font-size:19px;margin-bottom:10px}.error-card p{color:var(--muted);font-size:12px;line-height:1.9;margin-bottom:21px}.initial-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--paper);gap:13px}.initial-loading h1{font-size:21px;font-weight:500;letter-spacing:2px}.initial-loading p{font-size:12px;color:var(--muted)}.loading-mark{width:34px;height:34px;border:2px solid #e0d8c9;border-top-color:var(--gold);border-radius:50%;animation:spin .9s linear infinite;margin-bottom:10px}.auth-shell{min-height:calc(100vh - 35px);display:grid;grid-template-columns:minmax(350px,.95fr) minmax(450px,1.05fr)}.auth-story{position:relative;overflow:hidden;background:var(--navy);padding:56px 65px;display:flex;flex-direction:column;justify-content:space-between;color:#c0cad6}.auth-story::before,.auth-story::after{content:"";position:absolute;border:1px solid #b18b5722;border-radius:50%}.auth-story::before{width:570px;height:570px;right:-185px;bottom:100px}.auth-story::after{width:440px;height:440px;right:-119px;bottom:166px}.auth-story .brand{padding:0}.auth-story .brand-name{font-size:29px}.auth-story .brand-caption{font-size:9px}.auth-story-copy{position:relative;z-index:1;padding:90px 0 110px;max-width:470px}.auth-story-eyebrow{color:#b89968;font-size:10px;letter-spacing:3px;margin-bottom:22px}.auth-story-copy h1{font-family:Georgia,"Songti SC","SimSun",serif;font-size:39px;font-weight:400;letter-spacing:3px;line-height:1.55;color:#f0eee7}.auth-story-copy h1 span{color:#cfaa71}.auth-story-copy p{font-size:12px;line-height:2.2;color:#8191a5;margin-top:24px;max-width:310px}.auth-features{display:flex;gap:27px;margin-top:35px;padding-top:24px;border-top:1px solid #ffffff0e}.auth-feature strong{font-family:Georgia,serif;color:#d0b17e;font-size:21px;font-weight:400;display:block}.auth-feature span{font-size:9px;color:#71839a;letter-spacing:.5px}.auth-story-footer{font-size:9px;color:#62758d;position:relative;z-index:1}.auth-main{display:flex;align-items:center;justify-content:center;padding:55px 40px;min-width:0;background:#faf9f5}.auth-card{width:100%;max-width:377px}.auth-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #e7dfcf;background:#f7f3eb;color:#ac9060;font-size:9px;padding:4px 8px;border-radius:5px;margin-bottom:20px;letter-spacing:.5px}.auth-card h2{font-size:27px;letter-spacing:1px;font-weight:600;margin-bottom:9px}.auth-description{font-size:12px;color:#9299a0;line-height:1.9;margin-bottom:29px}.auth-tabs{display:flex;gap:5px;padding:4px;border:1px solid #eae7df;background:#f0eee7;border-radius:10px;margin-bottom:27px}.auth-tabs button{flex:1;border:0;border-radius:7px;padding:9px;background:transparent;font-size:12px;color:#949992}.auth-tabs button.active{color:#806c49;background:#fff;box-shadow:0 2px 5px #25324607}.auth-card .field{margin-bottom:20px}.auth-card input{background:#fefefa;border-color:#e4e4dc;min-height:45px}.auth-card label{font-size:11px;color:#777f88;font-weight:500}.auth-card .btn-full{min-height:44px;margin-top:5px}.auth-legal{font-size:9px;color:#a7adae;line-height:1.9;margin-top:22px;text-align:center}.auth-tip{border-top:1px solid #eae7e0;margin-top:31px;padding-top:20px;display:flex;gap:10px;color:#a1a7aa;font-size:10px;line-height:1.9}.auth-tip .icon{width:15px;height:15px;margin-top:3px;color:#b6a17b}.auth-card .notice{margin-bottom:20px;font-size:11px}
.action-dialog{border:1px solid #e6e3db;border-radius:16px;padding:0;width:calc(100% - 32px);max-width:500px;color:var(--ink);box-shadow:0 25px 80px #14212e30;max-height:calc(100vh - 48px);overflow:auto;background:#fff}.action-dialog::backdrop{background:#14213266;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:24px 25px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:18px;font-weight:600}.dialog-header p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.8}.dialog-header .icon-button{border:0;background:#f7f7f3;width:30px;height:30px;padding:7px;flex-shrink:0}.dialog-body{padding:23px 25px}.dialog-body .notice{margin-bottom:20px;font-size:11px}.dialog-footer{padding:18px 25px;background:#fbfaf6;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;border-radius:0 0 16px 16px}.confirm-amount{border:1px solid var(--line);background:#faf9f5;border-radius:10px;padding:18px 20px;margin-bottom:20px}.confirm-amount span{font-size:11px;color:var(--muted)}.confirm-amount strong{font-size:27px;display:block;font-weight:500;color:#675b46;margin-top:5px}.confirm-amount small{font-size:10px;color:#a0a29e;display:block;margin-top:4px}.detail-list{display:grid;grid-template-columns:90px 1fr;gap:10px 14px;font-size:12px;line-height:1.8}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.detail-json{background:#f7f6f2;border:1px solid #e9e6df;border-radius:8px;padding:14px;white-space:pre-wrap;word-break:break-word;font-size:11px;color:#697585;max-height:350px;overflow:auto}.toast-region{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:410px;width:calc(100% - 40px);pointer-events:none}.toast{pointer-events:auto;border:1px solid #deded8;box-shadow:0 8px 26px #1d2b4020;border-radius:11px;background:white;color:#65717b;padding:15px 18px;display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;animation:toast-in .18s ease-out}.toast .icon{color:var(--green);margin-top:2px}.toast.error .icon{color:var(--red)}.toast.error{border-color:#efd5cf}.toast button{background:transparent;border:0;color:#939b9e;padding:0;margin-left:auto;line-height:1}.toast button .icon{width:14px;height:14px;color:#939b9e}.mobile-overlay{display:none}.noscript{text-align:center;color:var(--red);padding:20px}
.sidebar-password{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:#8293a9;font-size:10px;padding:9px 8px;margin:0 0 9px;width:100%;text-align:left}.sidebar-password:hover{color:#dfbd87}.sidebar-password .icon{width:14px;height:14px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Keep account exit visible without scrolling to the sidebar footer. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.topbar{position:sticky;top:0;z-index:20}
.topbar-logout{flex-shrink:0;white-space:nowrap;min-height:36px;padding:7px 10px;font-size:11px}
@media(min-width:1600px){.page-content{padding:37px 45px}.topbar{padding:0 45px}.stat-card{padding:23px 26px}.stat-value{font-size:32px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr)}}
@media(max-width:1200px){.app-shell{grid-template-columns:204px 1fr}.sidebar{padding:25px 17px 18px}.nav-item.active::before{left:-17px}.page-content{padding:27px 25px}.topbar{padding:0 25px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-value{font-size:24px}.dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr)}.data-table th,.data-table td{padding-left:16px;padding-right:16px}.auth-story{padding:45px}.auth-story-copy h1{font-size:35px}.hero{padding:22px}.hero-title{font-size:20px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-grid.secondary{grid-template-columns:1fr 1fr}.topbar-date{display:none}.hero-aside{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{font-size:27px}.invite-card{align-items:flex-start;flex-direction:column;gap:15px}.invite-link{max-width:none;width:100%}.auth-shell{grid-template-columns:minmax(310px,.85fr) minmax(390px,1.15fr)}.auth-story{padding:40px 34px}.auth-story-copy h1{font-size:31px}.auth-main{padding:40px 30px}.auth-features{gap:20px}}
@media(max-width:760px){.environment-banner{font-size:9px;min-height:35px;padding:7px 12px;text-align:center;gap:6px;line-height:1.5}.banner-mode{font-size:8px}.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;height:100dvh;width:228px;z-index:45;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile-overlay.visible{display:block;position:fixed;inset:0;background:#14213266;z-index:44;border:0}.topbar{height:60px;padding:0 20px;gap:12px}.mobile-menu{display:inline-flex;background:transparent;border:0;color:#627183;margin-right:3px}.breadcrumb{gap:7px;font-size:10px}.breadcrumb .desktop-crumb{display:none}.topbar-actions{gap:10px}.system-status{font-size:9px}.topbar .icon-button{height:32px;width:32px}.page-content{padding:24px 19px 26px}.page-heading{gap:15px;margin-bottom:21px;align-items:flex-start}.page-heading h1{font-size:23px}.page-subtitle{font-size:10px;max-width:280px}.eyebrow{font-size:8px}.page-actions .btn{padding:9px 11px;font-size:11px;min-height:36px}.page-actions .btn .icon{width:14px;height:14px}.hero{padding:22px 20px;margin-bottom:18px}.hero-title{font-size:19px}.hero-text{font-size:10px;line-height:1.9}.stats-grid{gap:11px;margin-bottom:18px}.stat-card{padding:15px 14px}.stat-top{font-size:10px}.stat-icon{width:25px;height:25px}.stat-icon .icon{width:14px;height:14px}.stat-value{font-size:25px}.stat-footer{font-size:8px;gap:4px}.stat-footer strong{display:none}.dashboard-grid{gap:18px;margin-bottom:18px}.dashboard-grid.secondary{grid-template-columns:1fr}.panel-header{padding:18px;min-height:62px}.panel-title{font-size:12px}.panel-body{padding:19px}.panel-footer{padding:12px 18px;line-height:1.8;gap:12px}.page-footer{font-size:8px;line-height:1.8;align-items:flex-start;gap:18px}.page-footer span:last-child{max-width:130px;text-align:right}.toolbar{padding:15px 17px;gap:10px}.toolbar select{min-width:105px;max-width:140px}.table-meta{width:100%}.balance-strip{gap:12px;padding:19px 16px}.balance-item+.balance-item{padding-left:15px}.balance-item strong{font-size:20px}.balance-item span{font-size:9px}.balance-item small{font-size:8px}.auth-shell{display:block;min-height:calc(100vh - 35px)}.auth-story{padding:26px 28px;min-height:0}.auth-story-copy{padding:29px 0 0}.auth-story-copy h1{font-size:27px;line-height:1.5}.auth-story-copy h1 br{display:none}.auth-story-copy p,.auth-features,.auth-story-footer,.auth-story-eyebrow{display:none}.auth-story .brand-name{font-size:24px}.auth-story .brand-caption{font-size:7px}.auth-story .brand-icon{width:30px;height:30px}.auth-story::after,.auth-story::before{bottom:-250px;right:-230px}.auth-main{padding:33px 25px 40px}.auth-card{max-width:410px}.auth-card h2{font-size:24px}.auth-description{margin-bottom:23px;font-size:11px}.auth-tag{margin-bottom:15px}.auth-tabs{margin-bottom:23px}.auth-tip{margin-top:24px}.dialog-header,.dialog-body{padding:21px}.dialog-footer{padding:16px 21px}.toast-region{right:15px;bottom:16px;width:calc(100% - 30px)}.last-updated{display:none}}
@media(max-width:420px){.page-content{padding:22px 14px}.topbar{padding:0 14px}.system-status{display:none}.page-heading{flex-wrap:wrap;gap:13px}.page-heading h1{font-size:22px}.page-actions{margin-left:auto}.stats-grid{gap:9px}.stat-value{font-size:22px}.stat-top{font-size:9px}.stat-card{padding:14px 12px}.hero-title{font-size:17px;letter-spacing:0}.hero-text{font-size:9px}.field-grid{grid-template-columns:1fr}.balance-strip{gap:8px;padding:17px 12px}.balance-item+.balance-item{padding-left:10px}.balance-item strong{font-size:17px}.auth-story-copy h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Dedicated player registration, separate from the login workspace. */
.registration-page{min-height:calc(100vh - 35px);padding:28px 24px 48px;background:var(--paper)}
.registration-header{max-width:960px;margin:0 auto 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.registration-header .brand{color:var(--navy);padding:0}.registration-header .brand-caption{color:var(--muted)}
.registration-header a{font-size:12px;white-space:nowrap}
.registration-card{max-width:500px;margin:0 auto;padding:36px 38px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 12px 36px #18253608}
.registration-card h1{font-size:28px;letter-spacing:1px;margin-bottom:10px}.registration-card .auth-description{margin-bottom:25px}
.registration-card .notice{margin-bottom:20px}.registration-card .btn-full{margin-top:6px;min-height:46px}
.registration-footer{max-width:500px;margin:22px auto 0;font-size:11px;color:var(--muted);text-align:center;line-height:1.9}
.registration-success{text-align:center}.registration-success .empty-icon{display:inline-flex;margin-bottom:18px;color:var(--green)}
.registration-success p{font-size:13px;color:var(--muted);line-height:1.9;margin:14px 0 24px;overflow-wrap:anywhere}
@media(max-width:540px){.registration-page{padding:22px 16px 32px}.registration-header{margin-bottom:25px}.registration-card{padding:28px 22px;border-radius:14px}.registration-card h1{font-size:25px}}
.gm-form{padding:22px}.gm-actions{display:flex;gap:12px;margin:4px 0 18px;flex-wrap:wrap}.gm-target-card{border:1px solid #e8dfce;border-radius:10px;padding:16px 18px;background:#fcfbf7}.gm-target-card .detail-list{margin:0}.gm-online{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:12px;border-top:1px dashed #e8dfce}.gm-result{display:flex;justify-content:center;padding:8px 0 18px}.gm-result .pill{font-size:14px;padding:6px 18px}.fm-bulk-info{display:flex;align-items:center;gap:10px}.fm-bulkbar .button-row{gap:8px}.btn-secondary.fm-danger{color:var(--red)}.btn-secondary.fm-danger:hover:not(:disabled){background:var(--red-light);border-color:#f1d5cf}.fm-check{width:16px;height:16px;min-height:0;padding:0;margin:0;vertical-align:middle;accent-color:var(--gold);cursor:pointer}.fm-check:disabled{cursor:not-allowed}.data-table .fm-check-cell{width:1%;padding-right:4px}
