:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#20312c;background:#f5f7f6;font-synthesis:none;--green:#17654a;--line:#e2e8e4;--muted:#7d8a84}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.7}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#85978e;display:block;margin-bottom:12px}.brand{display:flex;align-items:center;font-size:25px;font-weight:800;gap:10px;letter-spacing:-1px}.brand-mark{background:var(--green);color:white;border-radius:11px;width:35px;height:35px;display:grid;place-items:center;font-size:25px;font-weight:600;transform:rotate(-5deg)}.brand-dot{margin-left:-8px;color:var(--green)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-intro{background:#e9f0eb;padding:56px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-intro:after{content:"";border:1px solid #cfdfd4;position:absolute;width:430px;height:430px;border-radius:50%;right:-290px;bottom:12%;box-shadow:0 0 0 50px #dfebe266,0 0 0 100px #dfebe244;pointer-events:none}.login-intro h1{font-size:43px;line-height:1.55;letter-spacing:-2px;margin:18px 0}.login-intro p{color:#677c70;font-size:14px}.intro-tags{display:flex;gap:10px;margin-top:35px;flex-wrap:wrap}.intro-tags span{border:1px solid #cddcd2;border-radius:30px;padding:8px 14px;font-size:11px;color:#526e5e}.login-intro small{color:#8c9e92}.login-panel{display:grid;place-items:center;padding:40px}.login-panel form{max-width:360px;width:100%}.login-panel h2{font-size:28px;margin-bottom:10px}.login-panel .muted{font-size:13px;margin-bottom:32px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin:18px 0}input,select,textarea{background:#fff;border:1px solid #dce4de;border-radius:7px;padding:12px;color:#253e32;min-width:0;width:100%;font-size:13px}input:focus,select:focus,textarea:focus{border-color:#6ba585}textarea{min-height:110px;resize:vertical;font-family:Consolas,"Microsoft YaHei",monospace;line-height:1.6}button{border:0;border-radius:7px;padding:11px 18px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary{background:var(--green);color:white}.primary:hover{background:#0d5039}.secondary{background:white;border:1px solid var(--line);color:#506658}.danger{color:#ac4747;background:#f9eeee}.wide{width:100%;justify-content:space-between;padding:14px 18px}.small{padding:8px 12px;font-size:11px}.login-note{margin-top:22px;color:#93a197;font-size:11px;text-align:center}.error{color:#ac4444;font-size:12px;max-width:500px;overflow-wrap:anywhere}.login-panel .error{margin:12px 0}.sidebar{position:fixed;left:0;top:0;bottom:0;width:226px;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 48px}.sidebar-label{font-size:10px;color:#a3afa7;letter-spacing:1px;margin:0 15px 16px}.sidebar nav{display:flex;flex-direction:column;gap:6px;overflow:auto}.nav-item{text-align:left;justify-content:flex-start;background:transparent;color:#7b8a80;font-weight:500;font-size:13px;padding:13px 15px;gap:12px}.nav-item .nav-icon{width:19px;text-align:center;font-size:17px;line-height:16px}.nav-item.active{background:#eaf3ed;color:#226c4d;font-weight:650}.nav-item:hover{background:#f3f7f4}.sidebar-bottom{margin-top:auto;padding-top:25px}.connection{font-size:10px;color:#8d9e91;padding:14px 10px}.connection span{display:inline-block;width:5px;height:5px;background:#63a67d;border-radius:50%;margin-right:8px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px}.avatar{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#e8eee9;color:#577e62;font-size:13px}.profile b{display:block;font-size:11px;max-width:90px;overflow:hidden;text-overflow:ellipsis}.profile small{color:#9aa59e;font-size:10px;display:block;margin-top:4px}.icon-button{background:transparent;color:#7a8b81;padding:4px;font-size:22px;margin-left:auto}main{margin-left:226px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:70px;background:#ffffffbb;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#5f7566}.breadcrumb{color:#9fac9f}.topbar-actions{display:flex;align-items:center;gap:20px;color:#96a297;font-size:10px}.page{padding:36px 38px;max-width:1600px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-heading .muted{font-size:12px;margin-top:11px}.badge{font-size:10px;border:1px solid #dce6dd;padding:7px 11px;border-radius:5px;color:#6f8a73;background:#eff4ee;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:22px;box-shadow:0 3px 10px #21352802}.card .label{font-size:11px;color:#7f9183;display:flex;align-items:center;justify-content:space-between}.metric{font-size:29px;font-weight:650;letter-spacing:-1px;margin-top:22px;font-variant-numeric:tabular-nums}.metric small{font-size:12px;font-weight:400;color:#9aaa9c;letter-spacing:0;margin-left:5px}.card-note{font-size:10px;color:#96a699;margin-top:10px}.panel{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:22px;overflow:hidden}.panel-head{padding:20px 23px;border-bottom:1px solid #edf0ed;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h3{font-size:14px}.panel-head p{font-size:11px;color:#94a196;margin-top:6px}.panel-body{padding:22px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar select,.toolbar input{width:auto;min-width:140px;padding:10px 12px;font-size:11px}.toolbar .grow{flex:1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th{text-align:left;background:#fafcf9;color:#99a69b;font-weight:500;font-size:10px;padding:14px 22px;border-bottom:1px solid #edf1ec}td{padding:17px 22px;border-bottom:1px solid #f0f3ef;color:#607467;max-width:400px;overflow:hidden;text-overflow:ellipsis}td strong{color:#294536;font-weight:600}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfb}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 9px;font-size:9px;background:#edf5ef;color:#4d8d63}.pill.amber{background:#fbf3e4;color:#b28c3c}.pill.gray{background:#eff1ef;color:#8b968d}.pill.red{background:#fbefed;color:#b0645a}.price{font-variant-numeric:tabular-nums;font-family:Consolas,monospace;color:#2d6747;font-weight:600}.empty{padding:56px 24px;text-align:center;color:#98a699;font-size:12px}.empty-symbol{display:block;font-size:32px;margin-bottom:14px;color:#c2d2c5}.split{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.notice{padding:18px 22px;border:1px solid #e1e8df;background:#f1f5ee;border-radius:8px;color:#6d846d;font-size:11px;line-height:1.8;margin-bottom:22px}.notice b{color:#365d40}.step{display:flex;gap:14px;margin:23px 0;align-items:flex-start}.step .number{background:#eef4ec;width:27px;height:27px;display:grid;place-items:center;border-radius:7px;color:#70926d;font-size:11px;flex-shrink:0}.step h4{font-size:12px;margin:0 0 6px;font-weight:600}.step p{font-size:11px;color:#98a599}.code{font-family:Consolas,monospace;font-size:12px;background:#f5f8f3;padding:15px;border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;color:#41664d;line-height:1.8}.sms-code{font-size:23px;font-family:Consolas,monospace;letter-spacing:2px;margin:15px 0;color:var(--green)}.sms-item{padding:18px 0;border-bottom:1px solid var(--line)}.sms-item p{font-size:12px;color:#78877b}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.fields-grid .full{grid-column:1/-1}.check-label{flex-direction:row;align-items:center}.check-label input{width:auto}.inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.inline-form label{flex:1;min-width:160px}.inline-form button{margin:18px 0}.actions{display:flex;gap:6px}.row-count{font-size:11px;color:#99a699}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.tabs button{background:#fff;border:1px solid var(--line);color:#879b88;font-size:10px;padding:8px 12px}.tabs button.active{background:#eaf2e7;color:#3c7047;border-color:#c9dec8}footer{margin-top:auto;padding:20px 38px;display:flex;justify-content:space-between;color:#a9b5ab;font-size:9px;gap:15px}dialog{width:min(720px,95vw);max-height:90vh;border:1px solid #d7e2d6;border-radius:13px;padding:28px;color:#294a33;box-shadow:0 24px 100px #152d2430}dialog::backdrop{background:#10291d66;backdrop-filter:blur(3px)}.dialog-title{display:flex;justify-content:space-between;align-items:center}.dialog-footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px;border-top:1px solid var(--line);padding-top:20px;gap:16px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 24px;border:1px solid #d8e3d5;border-radius:10px;background:#fff;color:#35683e;font-size:12px;box-shadow:0 10px 40px #16382122;z-index:20;max-width:90vw}.loading{padding:70px;text-align:center;color:#8da68d;font-size:13px}.metric-icon{border-radius:7px;background:#f0f5ed;color:#7b9a73;padding:7px;font-size:13px}.loading:before{content:"";display:block;width:22px;height:22px;border:2px solid #dde8d9;border-top-color:#5f8e5c;border-radius:50%;margin:0 auto 18px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.sidebar{width:190px;padding:25px 15px}main{margin-left:190px}.page{padding:28px}.topbar{padding:0 28px}.split{grid-template-columns:1fr}}@media(max-width:700px){.login-layout{grid-template-columns:1fr}.login-intro{display:none}.login-panel{min-height:100vh}.sidebar{position:static;width:auto;padding:15px 20px}.sidebar .brand{margin:0 0 20px;font-size:22px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:4px}.nav-item{white-space:nowrap;padding:10px;font-size:11px}.nav-item .nav-icon{display:none}main{margin-left:0}.topbar{height:55px;padding:0 20px}.topbar-actions #utc-clock{display:none}.page{padding:24px 18px}.page-heading{gap:10px}h1{font-size:25px}.cards{gap:10px}.card{padding:17px}.metric{font-size:23px}.badge{font-size:8px}.fields-grid{grid-template-columns:1fr}.page-heading .muted{max-width:240px}td,th{padding:14px}.panel-head{padding:18px}.toolbar select,.toolbar input{width:100%}footer{padding:20px;flex-direction:column}.inline-form button{width:100%}}
.mobile-logout{display:none}@media(max-width:700px){.mobile-logout{display:inline-flex}}
.parser-access{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:22px;overflow:hidden}.parser-access summary,.condition-group summary{cursor:pointer;padding:18px 22px;font-size:12px;color:#496653}.parser-access summary small{font-weight:400;margin-left:15px;color:var(--muted)}.parser-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:20px;align-items:start}.parser-rules{position:sticky;top:15px}.parser-rule{display:flex;flex-direction:column;text-align:left;align-items:start;width:100%;border-radius:0;background:#fff;padding:18px 20px;border-bottom:1px solid #eef2ed;gap:9px}.parser-rule.active{background:#edf5ef;border-left:3px solid var(--green)}.parser-rule b{font-size:12px;overflow-wrap:anywhere}.parser-rule span,.parser-help{font-size:10px;font-weight:400;color:#849988}.parser-help{padding:18px;line-height:1.8}.parser-rule-heading{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.parser-rule-heading .eyebrow{margin-bottom:7px}.parser-step{padding:20px 22px;background:#f5f8f4;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.parser-step h3{font-size:13px}.parser-step p{font-size:11px;color:#829784;margin-top:7px}.condition-group{border-bottom:1px solid var(--line)}.parser-grid table{white-space:normal;min-width:690px;table-layout:fixed}.parser-grid th,.parser-grid td{padding:10px;vertical-align:top;overflow:visible;max-width:none}.parser-grid input,.parser-grid select,.parser-grid textarea{padding:9px 7px;font-size:11px}.parser-grid textarea{min-height:65px}.parser-grid input[type=checkbox]{width:auto;margin:10px}.parser-grid .source-cell{min-width:190px}.parser-grid .source-cell input{margin-top:7px}.parser-grid td:last-child{width:135px}.parser-grid td:last-child button{margin:0 2px 4px 0;padding:7px}.parser-add{padding:12px 22px 18px}.parser-subtitle{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.parser-subtitle h4{font-size:12px}.parser-operation{margin:0;flex:1;max-width:330px}.parser-operation select{width:100%}.parser-editor{min-width:0}.parser-rules .panel-head{padding:16px}.parser-editor .fields-grid label{margin-top:12px}.parser-editor .actions{flex-wrap:wrap}@media(max-width:1200px){.parser-layout{grid-template-columns:1fr}.parser-rules{position:static}.parser-rules #rule-list{display:flex;overflow:auto}.parser-rule{min-width:170px;max-width:240px}.parser-help{padding:12px 18px}}@media(max-width:700px){.parser-rule-heading{flex-wrap:wrap}.parser-operation{max-width:none;width:100%}.parser-access summary small{display:block;margin:10px 0 0}.parser-grid{max-width:100%}}

.nav-group{display:block;font-size:10px;font-weight:600;letter-spacing:1px;color:#8b9d92;padding:14px 15px 5px}.sidebar .brand{margin-bottom:24px}.sidebar-label{margin-bottom:4px}.sidebar nav{min-height:0;scrollbar-width:thin}.nav-item{flex-shrink:0}.nav-group{flex-shrink:0}dialog .actions{flex-wrap:wrap;gap:8px}dialog .table-wrap{max-width:100%;margin-top:18px}.table-wrap input[type=checkbox]{width:18px;height:18px}.table-wrap input[type=number]{min-width:75px} @media(max-width:700px){.nav-group{display:none}}

.parser-sample{min-width:0;position:sticky;top:15px}.parser-sample .fields-grid{grid-template-columns:1fr}.parser-sample .code{max-height:650px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.parser-layout{grid-template-columns:180px minmax(0,1fr) 320px;gap:16px}.parser-layout .parser-grid table{min-width:580px}@media(max-width:1450px){.parser-layout{grid-template-columns:180px minmax(0,1fr)}.parser-sample{grid-column:1 / -1;position:static}}@media(max-width:1000px){.parser-layout{grid-template-columns:1fr}.parser-sample{grid-column:auto}.parser-rules{position:static}}
/* Channel opening keeps the operational choices on one page. */
.setup-steps{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px;color:var(--accent,#176b50);font-weight:600}
.setup-steps span{padding:10px 15px;border-radius:8px;background:#eaf3ef}
.setup-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}
.setup-columns h3{font-size:15px;margin:0;flex:1}
.setup-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;max-height:350px;overflow:auto;margin:12px 0}
.setup-choice{display:flex!important;flex-direction:row;align-items:center;gap:9px;padding:8px 4px;margin:0!important;min-width:0;font-weight:400!important}
.setup-choice[hidden]{display:none!important}
.setup-choice input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0}
.setup-choice small{color:#7a8d89;font-size:11px}
.setup-projects{max-height:390px;overflow:auto}
.setup-project{padding:6px 0 15px;border-bottom:1px solid #e6eeeb}
.setup-project>label{font-size:12px}
.setup-default-cost{max-width:400px;margin-top:22px}
.setup-detail{padding:15px 0;border-bottom:1px solid #e6eeeb}
.setup-detail summary{cursor:pointer;font-weight:600;margin-bottom:12px}
.setup-options.compact{grid-template-columns:repeat(3,minmax(0,1fr));max-height:210px}
.setup-project-countries{margin-top:16px}
#setup-summary{margin-top:20px}
#setup-costs input{min-width:110px;max-width:190px}
#setup-result{margin:16px 0}
@media(max-width:900px){.setup-columns{grid-template-columns:1fr}.setup-options.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Operational screens: readable status, stable refresh and accessible actions. */
.page-status{min-height:18px;font-size:12px;color:#60766b;margin:-14px 0 16px}.page-status:empty{display:none}#content[aria-busy=true]{opacity:.65;pointer-events:none}.quick-actions{padding:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.quick-actions button{text-align:left;padding:20px;white-space:normal}.pill.ready{background:#def4e6;color:#17643e;font-weight:700}.phone-value{font:600 13px Consolas,monospace;color:#234a38}.order-toolbar{margin-top:22px}#order-results .actions{flex-wrap:wrap}#order-results td{font-size:12px}#order-results .pill{font-size:11px}.clipboard-fallback{position:fixed;left:-9999px;top:0}.panel-body,.notice{font-size:12px}td,th{font-size:12px}.nav-item{font-size:13px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #176b50;outline-offset:2px}@media(max-width:800px){.quick-actions{grid-template-columns:1fr 1fr}}@media(max-width:500px){.quick-actions{grid-template-columns:1fr}.order-toolbar{gap:10px}#order-results td{padding:12px}.page-status{margin-top:0}}
.table-pager{padding:16px 22px;margin-bottom:0;border-top:1px solid var(--line)}
@media(max-width:700px){#order-results .table-wrap{overflow:visible}#order-results table,#order-results tbody{display:block}#order-results thead{display:none}#order-results tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px;border-bottom:1px solid var(--line)}#order-results td{padding:0;border:0;max-width:none;white-space:normal;overflow:visible}#order-results td:nth-child(2){grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:6px}#order-results td:last-child{grid-column:1/-1}#order-results .actions button{flex:1;min-height:38px}#order-results .phone-value{font-size:16px}#order-results .pill{white-space:normal}}