:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1a3029;background:#f4f6f5;font-synthesis:none;--ink:#1a3029;--muted:#7a8b83;--line:#e1e8e4;--green:#176b4d;--dark:#102a22;--soft:#edf5f0;--white:#fff;--red:#ae514c;--gold:#a27d32}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #80b99c;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:0;border-color:#67a488!important;box-shadow:0 0 0 3px #3c986714}svg{width:20px;height:20px;display:block;flex:none}small{font-size:12px}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px}.brand-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#c4efd2;color:#184832;font-weight:850;font-size:22px;letter-spacing:-3px;padding-right:3px}.spinner{width:20px;height:20px;border:2px solid #d5e1da;border-top-color:#297854;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.auth-story{background:var(--dark);color:#fff;padding:46px 11%;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story:after{content:"";position:absolute;width:450px;height:450px;border-radius:50%;border:1px solid #ffffff14;bottom:-140px;right:-130px;box-shadow:0 0 0 56px #ffffff06,0 0 0 110px #ffffff04}.auth-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;letter-spacing:-.6px}.auth-story-content{position:relative;z-index:1;margin:auto 0;padding:65px 0}.auth-kicker{font-size:11px;color:#9eb8a9;letter-spacing:2px}.auth-story h1{font-size:43px;line-height:1.35;letter-spacing:-1.5px;font-weight:550;margin:25px 0 20px}.auth-story-content>p{font-size:14px;color:#b1c7bb;line-height:1.9;max-width:370px}.auth-checks{display:grid;gap:15px;margin-top:35px;font-size:13px;color:#d1e1d7}.auth-checks div{display:flex;align-items:center;gap:9px}.check-dot{width:18px;height:18px;border-radius:50%;background:#c4efd21a;display:grid;place-items:center;color:#bfe8cc;font-size:11px}.auth-footer{font-size:11px;color:#799b88;position:relative;z-index:1}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:45px 35px;min-width:0}.auth-card{width:100%;max-width:390px}.auth-card .mobile-auth-brand{display:none}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:#93a399;margin-bottom:10px}.auth-card h2{font-size:28px;letter-spacing:-.7px;margin:0 0 10px;font-weight:650}.auth-card>p{color:#7f9086;font-size:13px;line-height:1.8;margin-bottom:28px}.auth-card .field{margin-bottom:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#51695a;min-width:0}.field>span{font-weight:550}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #dce5df;border-radius:7px;background:#fff;color:#263f30;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.field input::placeholder,.field textarea::placeholder{color:#a4b0a8}.field textarea{resize:vertical;min-height:90px}.field input[readonly]{background:#f6f8f6;color:#8a9a8e}.field small{font-size:11px;color:#90a093;line-height:1.7;font-weight:400}.field.full{grid-column:1/-1}.password-wrap{position:relative}.password-wrap input{padding-right:55px}.password-toggle{position:absolute;right:5px;top:4px;height:36px;padding:0 9px;color:#7d9486;background:transparent;border:0;font-size:11px}.auth-links{display:flex;align-items:center;justify-content:space-between;margin:0 0 23px;font-size:12px;color:#8b9b91}.text-btn{border:0;background:transparent;padding:8px 0;color:var(--green);font-size:12px;font-weight:550;min-height:36px}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;min-height:42px;padding:10px 15px;font-size:12px;font-weight:600;line-height:1.5;border:1px solid transparent;transition:.15s}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#10593e}.secondary{background:#fff;border-color:var(--line);color:#4d6656}.secondary:hover{background:#f6f9f7;border-color:#c1d2c7}.danger{border-color:#ecd2cc;background:#fff;color:#b15b4d}.danger:hover{background:#fff5f1}.primary.full{width:100%}.auth-card .primary.full{min-height:47px;font-size:14px}.auth-demo{padding:15px 16px;border:1px solid #e2ebe4;background:#f7faf7;border-radius:8px;margin-top:24px;font-size:11px;color:#8b9c8f;line-height:1.8}.auth-demo strong{color:#53755d;display:block;font-size:12px;font-weight:600;margin-bottom:3px}.auth-demo .text-btn{font-size:11px;min-height:24px;padding:4px 0}.auth-error{background:#fff3ee;border:1px solid #efdbd0;padding:10px 12px;border-radius:6px;font-size:12px;color:#ad6756;line-height:1.7;margin-bottom:16px}.mail-preview{border:1px solid #cce3d2;background:#f1f9f3;border-radius:8px;padding:16px;color:#64816a;font-size:12px;line-height:1.9;margin:16px 0}.mail-preview a{display:block;overflow-wrap:anywhere;text-decoration:underline;font-weight:600}.auth-back{margin-top:14px;display:flex;justify-content:center}.auth-security{font-size:10px;text-align:center;color:#a3afa6;margin-top:24px}
.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:var(--dark);color:#fff;display:flex;flex-direction:column;padding:26px 14px 18px;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 10px 25px;font-size:20px;font-weight:700;letter-spacing:-.8px}.sidebar-brand .brand-icon{width:31px;height:31px;font-size:19px;border-radius:8px}.sidebar-brand small{display:block;font-size:8px;color:#88a994;letter-spacing:2px;margin-top:3px}.nav-caption{padding:13px 13px 9px;color:#648a74;font-size:9px;font-weight:650;letter-spacing:1.5px}.nav-list{display:grid;gap:5px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#9db9a8;text-align:left;font-size:12px;min-height:40px;padding:9px 13px;border-radius:6px;transition:.15s}.nav-item svg{width:17px;height:17px}.nav-item.active{color:#def4e6;background:#284b39;font-weight:600}.nav-item:hover{background:#213f30;color:#e6f4eb}.sidebar-bottom{margin-top:auto;padding:17px 10px 0}.sidebar-env{display:flex;align-items:center;gap:6px;font-size:10px;color:#86aa93;padding:13px 0;border-bottom:1px solid #2b4837}.live-dot{height:6px;width:6px;background:#8dc7a0;border-radius:50%}.admin-user{display:flex;align-items:center;gap:9px;padding-top:14px}.avatar{background:#d8ebde;color:#385c44;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-size:11px;font-weight:650}.admin-user strong{display:block;font-size:11px;color:#deeee3;font-weight:600}.admin-user small{font-size:9px;color:#7eaa8d}.logout-btn{margin-left:auto;background:transparent;color:#8caa97;border:0;padding:8px}.logout-btn svg{width:16px;height:16px}.main{margin-left:230px;min-height:100dvh}.topbar{height:67px;position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffee;backdrop-filter:blur(12px);padding:0 36px}.breadcrumb{font-size:11px;color:#9bad9f}.breadcrumb b{font-weight:600;color:#526b59;margin-left:12px}.topbar-right{display:flex;align-items:center;gap:13px}.env-pill{font-size:9px;padding:5px 8px;border-radius:4px;background:#eff5ef;color:#6c8b72;border:1px solid #e1ebe2;letter-spacing:.3px}.topbar-time{font-size:10px;color:#9bad9f}.menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:6px;padding:8px;color:#476450;min-height:40px;min-width:40px}.content{max-width:1480px;margin:0 auto;padding:30px 36px 58px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.page-head h1{font-size:25px;letter-spacing:-.6px;margin:0 0 7px;font-weight:650}.page-head p{font-size:12px;color:#8b9c8e;line-height:1.8;margin:0}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.notice{display:flex;align-items:flex-start;gap:10px;background:#eef5f0;border:1px solid #dfeae2;border-radius:7px;padding:13px 15px;font-size:11px;line-height:1.85;color:#6d8b75;margin-bottom:20px}.notice svg{width:16px;height:16px;margin-top:2px;color:#6c9478}.notice.warning{background:#fbf7ec;border-color:#ede4ca;color:#9b8350}.notice strong{color:#4c7057;font-weight:600}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.kpi{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:8px;min-width:0}.kpi-head{display:flex;align-items:center;justify-content:space-between;color:#8fa192;font-size:11px}.kpi-head svg{width:17px;height:17px;color:#91ac98}.kpi strong{display:block;font-size:27px;font-weight:620;letter-spacing:-.6px;margin-top:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kpi strong small{font-size:12px;color:#94a699;font-weight:450;margin-left:4px;letter-spacing:0}.kpi-foot{font-size:10px;color:#8fa494;margin-top:9px;display:flex;align-items:center;gap:5px}.positive{color:#49815c}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;min-width:0;margin-bottom:20px;overflow:hidden}.panel-head{min-height:57px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1ee}.panel-head h2{font-size:13px;font-weight:650;margin:0}.panel-head p{margin:0;color:#95a69a;font-size:10px}.panel-body{padding:20px}.panel-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:20px}.quick-list{display:grid;gap:10px}.quick-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e4ece6;border-radius:6px;text-align:left;background:#fff;color:#476951;width:100%}.quick-icon{width:36px;height:36px;border-radius:8px;background:#edf5ef;display:grid;place-items:center;color:#6b9878}.quick-icon svg{width:18px;height:18px}.quick-card strong{display:block;font-size:12px;font-weight:600}.quick-card small{display:block;font-size:10px;color:#9db0a2;margin-top:5px}.quick-card>svg{margin-left:auto;width:15px;height:15px;color:#a6b8ac}.table-wrap{overflow:auto}.records-table{width:100%;border-collapse:collapse;font-size:11px;min-width:600px}.records-table th{background:#fafcf9;color:#92a397;font-size:10px;font-weight:550;white-space:nowrap;padding:12px 19px;text-align:left;border-bottom:1px solid #eaf0eb}.records-table td{color:#6b8373;padding:15px 19px;border-bottom:1px solid #eef3ee;line-height:1.75;vertical-align:middle;white-space:nowrap}.records-table tr:last-child td{border-bottom:0}.records-table td strong{font-weight:600;color:#36583f}.records-table td small{font-size:9px;color:#9bafa0;display:block;max-width:220px;overflow-wrap:anywhere;white-space:normal}.records-table td.wrap{white-space:normal;min-width:180px;max-width:360px}.row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.row-actions .primary,.row-actions .secondary,.row-actions .danger{font-size:10px;min-height:31px;padding:6px 9px;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce9df;background:#eff7f0;color:#5a9068;font-size:10px;padding:4px 7px;line-height:1.5;border-radius:4px;white-space:nowrap}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge.pending{background:#fbf6e9;border-color:#eee3c6;color:#aa8b46}.badge.off{background:#f2f4f2;border-color:#e3e8e4;color:#97a49a}.badge.blue{background:#eef4f8;border-color:#dbe6ee;color:#7198ad}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:19px;justify-content:space-between}.search{display:flex;align-items:center;gap:8px;min-width:210px;max-width:330px;flex:1;background:#fff;border:1px solid var(--line);border-radius:7px;padding:0 11px;color:#a6b7aa}.search svg{width:16px;height:16px}.search input{width:100%;min-width:0;border:0;background:transparent;padding:12px 0;outline:0!important;box-shadow:none!important;font-size:12px;color:#54725d}.count{color:#9aada0;font-size:11px}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.check-field{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;color:#61816a;cursor:pointer}.check-field input{accent-color:var(--green);height:17px;width:17px}.settings-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:20px;padding-bottom:3px;scrollbar-width:none}.settings-tabs button{min-height:39px;white-space:nowrap;border:1px solid transparent;border-radius:6px;background:transparent;padding:8px 15px;color:#8aa191;font-size:12px}.settings-tabs button.active{border-color:#d7e5db;background:#fff;color:#3d7c52;font-weight:600}.form-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:17px 20px;border-top:1px solid #edf2ee;background:#fbfdfb}.save-status{margin-right:auto;color:#91a598;font-size:11px}.sticky-save{position:sticky;bottom:18px;z-index:10;box-shadow:0 4px 20px #2b63320a;border:1px solid var(--line);border-radius:7px;margin-top:20px}.rate-card{padding:15px 16px;border:1px solid #dcebdc;background:#f3f9f3;color:#5f8667;border-radius:7px;font-size:12px;line-height:1.8;margin-top:20px}.rate-card strong{font-size:17px;color:#2d7546}.empty{padding:40px 20px;text-align:center;font-size:12px;color:#9caf9e;line-height:1.8}.loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:230px;color:#9bb09f;font-size:12px}.load-error{padding:30px;text-align:center;color:#a36d5d;font-size:13px;line-height:1.8}.load-error button{display:block;margin:14px auto 0}.plan-title{display:flex;align-items:center;gap:10px}.coin{width:31px;height:31px;border-radius:50%;background:#f5eddb;color:#b89b59;display:grid;place-items:center;font-weight:700;font-size:15px;flex:none}.coin.ltc{background:#edf1f4;color:#7d9aa9}.address{max-width:260px;display:block;font-family:Consolas,monospace;font-size:10px;overflow-wrap:anywhere;white-space:normal;color:#90a596}.audit-action{display:inline-block;background:#f0f5f0;border-radius:4px;padding:4px 7px;color:#668d70;font-size:10px}.ticket-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;min-height:550px}.ticket-list{padding:10px;background:#fff;border:1px solid var(--line);border-radius:8px;align-self:start;max-height:660px;overflow:auto}.ticket-btn{width:100%;border:1px solid transparent;background:transparent;padding:13px 11px;text-align:left;border-radius:6px;color:#6f8e78;display:grid;gap:8px;margin:3px 0}.ticket-btn.active{background:#eff6ef;border-color:#dce9de}.ticket-btn:hover{background:#f6faf5}.ticket-btn-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ticket-btn strong{font-size:12px;font-weight:600}.ticket-btn p{font-size:10px;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#9aae9e}.ticket-btn small{font-size:9px;color:#a5b5a8}.conversation{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.conversation-head{padding:17px 20px;border-bottom:1px solid #e7eee7;display:flex;justify-content:space-between;align-items:center;gap:12px}.conversation-head strong{display:block;font-size:13px}.conversation-head small{font-size:10px;color:#9cb19f;display:block;margin-top:5px}.conversation-messages{display:flex;flex-direction:column;gap:16px;padding:24px 20px;background:#f8fbf7;min-height:360px;max-height:500px;overflow:auto;overscroll-behavior:contain}.chat-message{max-width:80%;align-self:flex-start;min-width:0}.chat-message.agent{align-self:flex-end}.chat-bubble{font-size:12px;line-height:1.85;color:#54745e;background:#fff;border:1px solid #e0ebe0;border-radius:9px 9px 9px 2px;padding:11px 13px;overflow-wrap:anywhere;white-space:pre-wrap}.agent .chat-bubble{background:#e4f0e4;color:#367148;border-color:#cce1cc;border-radius:9px 9px 2px 9px}.chat-message small{display:block;margin:6px 2px 0;color:#a2b6a7;font-size:9px}.agent small{text-align:right}.reply-form{display:flex;gap:11px;padding:16px;border-top:1px solid var(--line);align-items:flex-end}.reply-form textarea{min-width:0;flex:1;min-height:65px;max-height:180px;resize:vertical;border:1px solid #dfe8df;border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.7;color:#4e715a}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.detail-item{min-width:0}.detail-item span{display:block;font-size:11px;color:#9caf9f;margin-bottom:6px}.detail-item strong{font-size:13px;font-weight:600;color:#456d51;overflow-wrap:anywhere}.detail-item.full{grid-column:1/-1}.detail-item code{display:block;padding:11px;border-radius:6px;background:#f5f9f3;border:1px solid #e0e9dc;color:#729278;word-break:break-all;font-size:11px;line-height:1.8}.danger-zone{border:1px solid #ead8d0;background:#fff9f5;padding:16px;border-radius:7px;color:#a37c69;font-size:12px;line-height:1.8}.toast{position:fixed;left:50%;bottom:28px;z-index:70;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#173f29;color:#fff;padding:12px 18px;border-radius:8px;font-size:12px;max-width:min(90vw,540px);box-shadow:0 8px 30px #163d2425;transition:.2s;line-height:1.8}.toast.show{transform:translate(-50%,0);opacity:1}.toast.error{background:#784a39}.modal-layer{position:fixed;inset:0;background:#0e271b80;z-index:60;padding:30px 18px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(3px)}.modal-layer[hidden]{display:none}.modal{width:min(690px,100%);max-height:calc(100dvh - 60px);display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 25px 90px #0c2c232e;overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 24px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:17px;margin:0;letter-spacing:-.3px}.close-btn{height:36px;width:36px;border:0;background:#f2f6f1;border-radius:50%;color:#8ba18c;display:grid;place-items:center;flex:none}.close-btn svg{width:18px;height:18px}.modal-body{padding:24px;overflow:auto;overscroll-behavior:contain}.modal-foot{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fbfdfb}.modal-error{padding:11px 13px;border:1px solid #efd8ce;background:#fff6ef;color:#ad725d;border-radius:6px;font-size:12px;line-height:1.8;margin-bottom:16px}.modal-body>p{font-size:13px;line-height:1.9;color:#829b88}.overlay{display:none}.text-muted{color:#9bb2a0}.monospace{font-family:Consolas,monospace;font-variant-numeric:tabular-nums}.truncate{max-width:180px;overflow:hidden;text-overflow:ellipsis}.footer-note{color:#abbcaf;font-size:10px;line-height:1.8;margin-top:20px;text-align:center}
@media(max-width:1150px){.sidebar{width:210px}.main{margin-left:210px}.topbar{padding:0 25px}.content{padding:26px 25px 50px}.kpi-grid{gap:10px}.kpi{padding:17px}.kpi strong{font-size:24px}.panel-grid{grid-template-columns:1fr}.ticket-layout{grid-template-columns:240px minmax(0,1fr)}.topbar-time{display:none}.auth-story h1{font-size:37px}.auth-story{padding:42px 9%}}
@media(max-width:900px){.sidebar{width:210px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.menu-btn{display:grid;place-items:center}.breadcrumb{margin-right:auto;margin-left:13px}.topbar{gap:10px;height:65px}.content{padding:26px 24px 45px}.overlay.open{display:block;position:fixed;inset:0;background:#132d1f66;z-index:19;backdrop-filter:blur(2px)}.sidebar-brand{font-size:18px}.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.auth-card .mobile-auth-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:700;margin-bottom:45px}.auth-form-side{min-height:100dvh}.auth-card{max-width:420px}.auth-card .eyebrow{font-size:10px}.ticket-layout{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:620px){body{background:#f5f7f4}.content{padding:22px 16px 40px}.topbar{padding:0 16px;height:63px}.topbar-right{gap:8px}.env-pill{font-size:8px;padding:5px 6px}.topbar-right .avatar{display:none}.breadcrumb{font-size:11px;margin-left:6px}.breadcrumb>span{display:none}.breadcrumb b{margin-left:0}.menu-btn{min-height:38px;min-width:38px;padding:7px}.menu-btn svg{height:18px;width:18px}.page-head{align-items:flex-start;gap:15px;margin-bottom:19px;flex-wrap:wrap}.page-head h1{font-size:23px;margin-bottom:6px}.page-head p{font-size:12px;line-height:1.8;max-width:95%}.page-actions{width:100%;gap:8px}.page-actions .primary,.page-actions .secondary{flex:1;min-height:44px;font-size:12px}.eyebrow{font-size:8px;letter-spacing:1.4px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.kpi{padding:15px 14px;border-radius:8px}.kpi-head{font-size:10px;line-height:1.6}.kpi-head svg{width:15px;height:15px}.kpi strong{font-size:23px;margin-top:10px}.kpi strong small{font-size:10px}.kpi-foot{font-size:9px;line-height:1.7;margin-top:7px}.notice{font-size:11px;line-height:1.8;padding:12px 13px;margin-bottom:17px}.notice svg{width:15px;height:15px}.panel{margin-bottom:17px}.panel-head{min-height:55px;padding:15px;gap:9px;flex-wrap:wrap}.panel-head h2{font-size:13px}.panel-head p{font-size:10px}.panel-body{padding:16px}.primary,.secondary,.danger{min-height:44px;padding:11px 13px;font-size:12px}.text-btn{min-height:44px;font-size:12px}.row-actions{gap:8px}.row-actions .primary,.row-actions .secondary,.row-actions .danger{min-height:39px;font-size:11px;padding:8px 11px}.table-wrap{overflow:visible}.records-table{min-width:0;display:block;font-size:12px}.records-table thead{display:none}.records-table tbody{display:grid;padding:0 14px}.records-table tr{display:block;padding:16px 0;border-bottom:1px solid #e7eee5}.records-table tr:last-child{border-bottom:0}.records-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;white-space:normal;padding:7px 0;border:0;font-size:12px;line-height:1.7;text-align:right;min-width:0;max-width:none}.records-table td:before{content:attr(data-label);color:#96aa99;font-size:11px;flex:0 0 auto;max-width:38%;text-align:left}.records-table td>div,.records-table td>span{min-width:0;max-width:70%}.records-table td>div.row-actions{max-width:100%;justify-content:flex-end}.records-table td.wrap{min-width:0;max-width:none}.records-table td small{max-width:200px;font-size:10px}.records-table .plan-title{justify-content:flex-end}.records-table .coin{width:25px;height:25px;font-size:13px}.records-table td>.badge{max-width:none}.records-table td .plan-title>div{text-align:right}.records-table td .plan-title .coin{order:2}.records-table td.actions:before{align-self:center}.toolbar{gap:12px;margin-bottom:15px}.search{min-width:0;max-width:none;flex:1}.search input{font-size:16px;min-height:45px}.count{font-size:10px;white-space:nowrap}.editor-grid{grid-template-columns:1fr;gap:19px}.field{font-size:13px;gap:8px}.field input,.field select,.field textarea{font-size:16px;min-height:47px;padding:11px 12px;line-height:1.5}.field small{font-size:11px;line-height:1.8}.field.full{grid-column:auto}.check-field{font-size:13px;min-height:44px}.settings-tabs{gap:4px;margin:0 -1px 17px}.settings-tabs button{font-size:12px;min-height:43px;padding:9px 13px}.form-footer{padding:16px;flex-wrap:wrap;gap:9px}.form-footer .primary{min-width:130px;flex:1}.save-status{font-size:10px}.sticky-save{bottom:max(12px,env(safe-area-inset-bottom));margin-top:18px}.auth-form-side{padding:35px 25px;align-items:flex-start}.auth-card{max-width:420px}.auth-card .mobile-auth-brand{margin:0 0 46px;font-size:22px}.auth-card h2{font-size:27px}.auth-card>p{font-size:13px;margin-bottom:28px}.auth-card .field{margin-bottom:19px}.auth-links{font-size:12px;margin-bottom:20px}.auth-links .text-btn{padding:0;min-height:30px}.auth-card .primary.full{min-height:49px;font-size:14px}.auth-demo{font-size:11px;padding:14px;margin-top:24px}.auth-demo .text-btn{min-height:35px}.auth-story{display:none}.auth-security{font-size:10px;margin-top:25px}.ticket-layout{grid-template-columns:1fr;gap:14px;min-height:0}.ticket-list{max-height:210px;padding:7px}.ticket-btn{padding:12px;margin:1px 0}.ticket-btn-head strong{font-size:13px}.ticket-btn p{font-size:11px}.ticket-btn small{font-size:10px}.conversation-head{padding:15px;flex-wrap:wrap}.conversation-head strong{font-size:13px}.conversation-head .secondary{min-height:38px;padding:8px 10px;font-size:11px}.conversation-messages{padding:18px 14px;min-height:310px;max-height:430px;gap:14px}.chat-message{max-width:91%}.chat-bubble{font-size:13px;padding:10px 12px}.chat-message small{font-size:10px}.reply-form{padding:13px;gap:8px;flex-wrap:wrap}.reply-form textarea{font-size:16px;min-height:80px;flex:1 1 100%}.reply-form .primary{margin-left:auto;min-width:100px}.modal-layer{padding:0;align-items:flex-end}.modal{border-radius:17px 17px 0 0;max-height:94dvh;width:100%;padding-bottom:env(safe-area-inset-bottom)}.modal-head{padding:17px 20px}.modal-head h2{font-size:17px}.modal-body{padding:20px;max-height:calc(94dvh - 145px)}.modal-foot{padding:14px 20px;gap:9px}.modal-foot .primary,.modal-foot .secondary,.modal-foot .danger{flex:1;min-height:45px;font-size:13px}.close-btn{width:36px;height:36px}.detail-grid{grid-template-columns:1fr;gap:17px}.detail-item.full{grid-column:auto}.detail-item span{font-size:12px}.detail-item strong{font-size:14px}.detail-item code{font-size:12px}.rate-card{font-size:12px;padding:13px 14px;margin-top:18px}.toast{bottom:max(20px,env(safe-area-inset-bottom));font-size:12px;padding:12px 16px;width:max-content}.quick-card{min-height:69px}.empty{padding:32px 17px}.footer-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}} 

/* Operational forms and financial records */
.export-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.filter-row,.document-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.filter-chip{padding:10px 15px;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#6a8772;font:inherit;font-size:12px;cursor:pointer}
.filter-chip.active{background:#eaf3eb;border-color:#9cbea5;color:#2f6942;font-weight:600}
.rule-summary{display:flex;flex-wrap:wrap;gap:18px;align-items:center;color:#7e9584;font-size:12px;line-height:1.8}
.rule-summary strong{color:#3b6948}
.settle-picker{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.settle-picker strong{display:block;font-size:13px}
.settle-picker small{display:block;color:#90a397;font-size:11px;margin-top:5px}
.settle-picker form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.settle-picker input{font:inherit;font-size:14px;min-height:42px;border:1px solid var(--line);background:#fff;color:#456a50;padding:9px 12px;border-radius:6px}
.network-checks{display:flex;gap:20px;flex-wrap:wrap}
.readiness-list{padding:0 20px}
.readiness-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid #edf2ee}
.readiness-row:last-child{border-bottom:0}
.readiness-row>div{min-width:0}
.readiness-row strong{font-size:13px;color:#426b4e}
.readiness-row p{font-size:12px;line-height:1.8;color:#8a9f91;margin:7px 0 0;overflow-wrap:anywhere}
.readiness-row>.badge{flex:none}
.acceptance-steps{padding:18px 30px 18px 43px;margin:0;color:#718d79;font-size:12px;line-height:2.2}
.mail-link{font-size:11px;text-decoration:none;color:#4e7a5b;white-space:nowrap}
.inbox-open{display:block;color:#39794c;padding:10px 0;text-decoration:none}
.import-help{font-size:12px;line-height:1.9;color:#7e9786;overflow-wrap:anywhere}
.import-help code{font-size:11px;background:#f0f6ef;padding:3px 5px}
.doc-editor textarea{min-height:290px;line-height:1.9}
.modal-body textarea[name=csv]{min-height:220px;font-family:Consolas,monospace;font-size:12px;white-space:pre;overflow:auto}
@media(max-width:620px){
  .filter-row,.document-tabs{gap:6px;margin-bottom:16px}.filter-chip{min-height:44px;padding:10px 12px;font-size:12px}
  .settle-picker{align-items:flex-start;flex-direction:column;padding:16px}.settle-picker form{width:100%}.settle-picker input{flex:1;min-width:150px;font-size:16px}
  .rule-summary{gap:13px;align-items:flex-start;flex-direction:column}.readiness-list{padding:0 16px}.readiness-row{align-items:flex-start;gap:10px}.readiness-row strong{font-size:13px}.readiness-row p{font-size:12px}
  .mail-link{font-size:10px}.topbar-right .env-pill{display:none}.doc-editor textarea{min-height:350px}.network-checks{gap:14px}.acceptance-steps{padding:15px 20px 15px 35px;font-size:12px}
}
.modal:has(.user-detail-content){width:min(980px,100%)}.user-detail-content .panel{margin-bottom:16px}.user-detail-content .detail-grid{margin:0;gap:14px 24px}.user-detail-content .records-table{min-width:760px}.user-detail-content .records-table td{white-space:normal;vertical-align:top}.user-detail-content .records-table td small{max-width:280px}.user-detail-content .records-table .address{max-width:300px;word-break:break-all;white-space:normal}.user-detail-content .records-table td>span.wrap{line-height:1.9}
@media(max-width:620px){.modal:has(.user-detail-content){width:100%}.user-detail-content .records-table{min-width:0}.user-detail-content .records-table td{white-space:normal}}
.password-detail{display:grid;gap:9px;min-width:0}.password-detail>strong{white-space:pre-wrap;overflow-wrap:anywhere}.password-detail-hint{font-size:11px;line-height:1.8;color:#8a9f91}.password-detail [hidden]{display:none!important}
.chain-environment{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;font-size:12px;color:#839b8a;padding:0 2px 20px}.chain-environment strong{font-size:13px;color:#426b4e}.chain-worker{display:grid;grid-template-columns:1fr 1fr 2fr;gap:20px}.chain-worker>div{display:grid;gap:7px;min-width:0}.chain-worker span{font-size:11px;color:#8a9f91}.chain-worker strong{font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:#426b4e;font-weight:500}.chain-address{display:block;max-width:285px;font-size:11px;overflow-wrap:anywhere;white-space:normal;line-height:1.8}.chain-error{color:#b15e51!important}.chain-settings input[name=treasuryAddress]{font-family:Consolas,monospace;font-size:12px}.chain-settings .form-footer{gap:16px}.chain-settings .save-status{line-height:1.8}
@media(max-width:620px){.chain-worker{grid-template-columns:1fr;gap:15px}.chain-environment{align-items:flex-start;flex-direction:column;gap:8px}.chain-address{max-width:100%}.chain-settings .form-footer{align-items:flex-start;flex-direction:column}.chain-settings .form-footer button{width:100%}}
