:root{--brand:#166b57;--ink:#202e2c;--muted:#72807c;--line:#e5eae7;--canvas:#f5f7f6;--soft:#eaf3ee;--red:#b54840;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif;font-size:16px;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #72ab96}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:10px 15px;min-height:40px;transition:background .16s,color .16s}button:hover{background:#f0f5f2}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--brand);border-color:var(--brand);color:white}button.primary:hover{background:#105843}button.danger{color:var(--red)}button.quiet{border:0;background:transparent;padding:7px 10px;color:var(--muted)}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{border:1px solid #dce3de;border-radius:6px;background:white;padding:11px 12px;color:var(--ink);width:100%;min-height:43px}textarea{resize:vertical}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--brand)}label{display:block;font-size:16px;font-weight:550;margin-bottom:7px}label .optional{color:var(--muted);font-weight:400}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650;line-height:1.3;margin-bottom:8px}h2{font-size:19px;font-weight:600}h3{font-size:16px;font-weight:600}p{line-height:1.65}small,.muted{color:var(--muted)}.boot{padding:15vh;text-align:center;color:var(--muted)}.shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh;min-height:100dvh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:29px 18px;position:fixed;inset:0 auto 0 0;width:226px;display:flex;flex-direction:column;z-index:20}.logo{display:flex;align-items:center;gap:10px;padding:0 10px 30px;font-size:19px;font-weight:700;letter-spacing:-.6px}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand);color:white;font-size:22px;font-weight:500}.logo small{font-size:14px;letter-spacing:1px;display:block;font-weight:400;margin-top:3px}.workspace{padding:13px 12px;background:#f7f9f7;border:1px solid var(--line);border-radius:7px;margin-bottom:28px;display:flex;align-items:center;gap:10px}.workspace .square{width:28px;height:28px;border:1px solid #d6e2d9;background:white;display:grid;place-items:center;border-radius:5px;color:var(--brand)}.eyebrow{font-size:13px;letter-spacing:1.2px;color:#7c8883;text-transform:uppercase}.nav-caption{font-size:14px;color:#8b9690;letter-spacing:1px;padding:0 13px;margin:0 0 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;color:#6b7872;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 14px;font-weight:500;min-height:45px}.nav button.active{color:var(--brand);background:#eaf3ed}.nav button:hover{background:#f3f6f3}.nav svg,.icon{width:19px;height:19px;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.connection{border:1px solid var(--line);border-radius:7px;padding:13px;font-size:15px;margin-bottom:18px}.dot{width:7px;height:7px;background:#3e9775;border-radius:50%;display:inline-block;margin-right:7px}.user{display:flex;align-items:center;gap:10px;font-size:15px}.avatar{width:31px;height:31px;background:#f0eadd;border-radius:50%;display:grid;place-items:center;font-weight:600;color:#7c6f51}.user button{margin-left:auto}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.breadcrumb{font-size:15px;color:#7c8882}.breadcrumb span{margin:0 13px;color:#c1c8c3}.top-right{display:flex;align-items:center;gap:18px;font-size:15px}.pill{border:1px solid var(--line);border-radius:20px;padding:5px 10px;font-size:14px;color:#6c7972;white-space:nowrap}.content{max-width:1600px;padding:36px 40px 55px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-heading p{color:var(--muted);margin:0;font-size:16px}.actions{display:flex;gap:10px;align-items:center}.actions button{white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:21px 23px}.metric-top{display:flex;justify-content:space-between;color:#6e7b75;font-size:15px;margin-bottom:18px}.metric-top svg{width:17px;height:17px;color:#98a69c}.metric-value{font-variant-numeric:tabular-nums;letter-spacing:-1.2px;font-size:34px;font-weight:600;line-height:1;margin-bottom:12px}.metric small{font-size:14px}.metric:first-child{background:#edf5ee;border-color:#dbe8dd}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:24px;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;gap:14px}.panel-header h2{margin:0 0 5px}.panel-header p{margin:0;font-size:15px;color:var(--muted)}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}.chart{padding:0 24px 20px;position:relative}.chart svg{width:100%;height:190px;display:block}.chart-empty{height:160px;display:grid;place-items:center;color:#9aa59e;font-size:15px}.chart-legend{display:flex;gap:18px;font-size:14px;color:var(--muted);padding:0 24px 16px}.chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--brand);margin-right:6px}.chart-legend .click{background:#b3bf89}.tip-panel{padding:24px;background:#eff3e9;border:1px solid #e2e8d9;border-radius:10px;margin-bottom:24px;display:flex;flex-direction:column;align-items:flex-start}.tip-panel .eyebrow{color:#748364;margin-bottom:18px}.tip-panel h2{font-size:21px;line-height:1.55;font-weight:550}.tip-panel p{font-size:15px;color:#7c876f;line-height:1.8;margin-bottom:22px}.tip-panel button{margin-top:auto;background:white;border-color:#d5dfcb;font-size:15px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:15px}th{font-weight:500;color:#8b968f;background:#fafbf9;white-space:nowrap;padding:13px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 22px;border-bottom:1px solid #eff2ef;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.name-cell{display:flex;align-items:center;gap:12px}.thumb{width:39px;height:46px;object-fit:cover;border-radius:5px;background:#eef4ed;border:1px solid #e5eae3}.name-cell strong{font-size:16px;font-weight:550;display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis}.name-cell small{font-size:14px;display:block;margin-top:5px;font-family:ui-monospace,monospace}.badge{font-size:14px;border-radius:4px;padding:4px 8px;background:#f1f3f0;color:#7c867e;display:inline-flex;align-items:center;gap:5px}.badge.published{background:#eaf5ec;color:#287953}.badge.draft{background:#fbf2de;color:#a18238}.badge.offline{background:#f1f2f2;color:#7f8582}.badge.archived{background:#f9eeee;color:#ae6865}.row-actions{display:flex;gap:4px;flex-wrap:nowrap;white-space:nowrap;width:max-content}.row-actions button{font-size:15px;min-height:32px;padding:5px 8px;color:var(--brand);border:0;background:none}.row-actions button:hover{background:#eaf3ee}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 24px;font-size:14px;color:#8b968f}.toolbar{padding:18px 24px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.search{max-width:300px}.toolbar select{width:auto;font-size:15px}.tabs{display:flex;gap:20px;margin-right:auto}.tabs button{border:0;background:none;padding:9px 2px;border-radius:0;color:var(--muted);font-size:15px;border-bottom:2px solid transparent}.tabs button.active{border-color:var(--brand);color:var(--brand)}.empty{padding:55px 24px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);font-size:16px;margin-bottom:8px}.empty p{font-size:16px}.empty button{margin-top:12px}.footer-line{font-size:14px;color:#9aa59d;text-align:center;margin-top:32px}.assets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.asset{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.asset-preview{height:180px;background:#eef1eb;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}.asset-preview img,.asset-preview video{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}.asset-info{padding:16px;background:#fff;min-width:0}.asset-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;margin-bottom:7px}.asset-info button{width:100%;font-size:15px;margin-top:12px}.notice{font-size:15px;color:#6b7c72;padding:14px 18px;background:#ecf3ed;border:1px solid #dce8dd;border-radius:7px;margin-bottom:22px;line-height:1.8}.form-panel{max-width:760px;padding:26px}.field{margin-bottom:21px}.field small{display:block;margin-top:6px;font-size:14px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-grid .field{min-width:0}.switch-label{display:flex;gap:10px;align-items:center}.form-panel h2{padding-bottom:18px;border-bottom:1px solid var(--line)}.error-text{color:var(--red);font-size:15px;min-height:18px;margin:12px 0}.login-screen{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh;min-height:100dvh;background:#fff}.login-brand{padding:60px 65px;background:#edf3ec;display:flex;flex-direction:column;justify-content:space-between}.login-brand .logo{padding:0}.login-brand h1{font-size:49px;font-weight:550;line-height:1.4;letter-spacing:-2px;margin-bottom:24px}.login-brand p{color:#73836f;max-width:400px}.login-art{height:180px;border-top:1px solid #ccd9c7;border-bottom:1px solid #ccd9c7;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:end;padding:20px 0;margin:40px 0}.login-art i{background:#c3d6be;height:var(--h);border-radius:4px 4px 0 0}.login-art i:nth-child(3){background:#2a7659}.login-form{width:min(400px,calc(100% - 48px));margin:auto;padding:60px 0}.login-form .eyebrow{margin-bottom:14px}.login-form h1{font-size:29px;margin-bottom:12px}.login-form>p{color:var(--muted);margin-bottom:32px;font-size:16px}.login-form .primary{width:100%;margin-top:10px}.login-footer{font-size:14px;color:#9aa49e;text-align:center;margin-top:28px}dialog{border:0;border-radius:12px;padding:0;box-shadow:0 30px 100px #1d352b33;color:var(--ink);max-width:calc(100vw - 36px)}dialog::backdrop{background:#182a2366;backdrop-filter:blur(3px)}#editor{width:1100px;height:min(900px,calc(100vh - 45px));height:min(900px,calc(100dvh - 45px));overflow:hidden}#editor[open]{display:flex;flex-direction:column}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-header h2{margin:0 0 4px}.dialog-header p{font-size:14px;color:var(--muted);margin:0}.editor-body{display:grid;grid-template-columns:1fr 350px;min-height:0;overflow:auto;flex:1}.editor-form{padding:25px 28px;overflow:auto}.editor-form h3{font-size:16px;margin:6px 0 20px;display:flex;gap:9px;align-items:center}.step-number{font-size:13px;color:var(--brand);background:var(--soft);padding:3px 6px;border-radius:3px}.editor-form section{border-bottom:1px solid var(--line);padding-bottom:7px;margin-bottom:24px}.mode-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}.mode-picker button{text-align:center;font-size:15px;padding:14px 5px}.mode-picker button.selected{background:var(--soft);border-color:#6b9a7a;color:var(--brand)}.mode-picker svg{display:block;margin:0 auto 7px;width:21px;height:21px}.editor-preview{background:#f3f6f1;padding:22px;display:flex;flex-direction:column;align-items:center;border-left:1px solid var(--line)}.preview-label{display:flex;justify-content:space-between;width:100%;font-size:14px;color:#899389;margin-bottom:18px}.phone{width:276px;height:520px;background:white;border:7px solid #28362f;border-radius:35px;overflow:hidden;box-shadow:0 10px 25px #354c2f14;position:relative}.phone::before{content:'';display:block;position:absolute;top:0;left:50%;transform:translateX(-50%);width:92px;height:16px;border-radius:0 0 11px 11px;background:#28362f;z-index:2}.phone-screen{height:100%;overflow:auto;padding-bottom:20px;pointer-events:auto;overscroll-behavior:contain}.phone-screen>img,.phone-screen video{width:100%;display:block}.phone-screen h1{font-size:25px;padding:38px 20px 15px;line-height:1.5}.phone-screen article{padding:15px 20px;border-bottom:1px solid #e4ebe3}.phone-screen article h2{font-size:19px}.phone-screen .preview-cta{background:var(--brand);color:white;padding:11px;margin:20px;border-radius:6px;text-align:center;font-size:15px}.phone-screen .placeholder{display:grid;place-items:center;height:390px;color:#91a08e;font-size:15px}.editor-preview>p{font-size:14px;color:#8b9787;text-align:center;margin:18px 0}.preview-meta{background:white;border:1px solid #e2e8df;border-radius:6px;padding:15px;width:100%;margin-top:12px;line-height:1.8;font-size:14px;color:#8c9687}.dialog-footer{border-top:1px solid var(--line);padding:16px 26px;display:flex;align-items:center;gap:10px;flex-shrink:0;background:white}.dialog-footer .error-text{margin:0 auto 0 0}.upload-row{display:flex;gap:8px;align-items:center}.upload-row input{min-width:0}.upload-row button{white-space:nowrap;font-size:15px}.template-row{display:grid;grid-template-columns:1.5fr 1fr 85px;gap:8px;margin-bottom:9px}.template-row input,.template-row select{font-size:15px}.confirm-content{padding:28px;width:400px;max-width:100%}.confirm-content p{color:var(--muted);font-size:16px}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#203c30;color:#fff;border-radius:8px;padding:13px 22px;font-size:16px;box-shadow:0 8px 32px #203c3026;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:60px;text-align:center;color:var(--muted)}.mobile-menu{display:none}select.date-select{width:auto;font-size:15px;padding:8px 12px;min-height:36px}.mobile-shade{display:none}
@media(min-width:1550px){.content{padding-top:44px}.metrics{gap:24px}.metric{padding:25px 28px}.chart svg{height:220px}}
@media(max-width:1150px){.sidebar{width:195px}.shell{grid-template-columns:195px minmax(0,1fr)}.content{padding:28px 24px}.topbar{padding:0 24px}.overview-grid{grid-template-columns:1fr}.tip-panel{display:none}.metrics{gap:10px}.metric{padding:18px 16px}.metric-value{font-size:28px}.editor-body{grid-template-columns:1fr 315px}.editor-preview{padding:18px}.logo{font-size:19px;padding-left:4px}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.main{grid-column:1}.sidebar{transform:translateX(-100%);transition:transform .2s;width:226px}.shell.menu-open .sidebar{transform:translateX(0)}.shell.menu-open .mobile-shade{display:block;position:fixed;top:0;right:0;bottom:0;left:0;inset:0;background:#20352b66;z-index:19}.mobile-menu{display:inline-block;padding:6px 10px;margin-right:12px}.topbar{height:62px;padding:0 20px}.top-right .pill,.breadcrumb{display:none}.content{padding:26px 18px}.page-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:24px}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metric-top{margin-bottom:14px}.metric-value{font-size:29px}.panel-header{padding:18px}.toolbar{flex-wrap:wrap;padding:14px 18px}.tabs{gap:17px;width:100%}.search{max-width:none;flex:1}.panel{margin-bottom:18px}.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-form{padding:50px 0}.editor-body{display:block}.editor-preview{display:none}.editor-form{padding:20px}.dialog-header{padding:18px 20px}.dialog-footer{padding:14px 20px}.field-grid{gap:12px}.template-row{grid-template-columns:1fr 1fr}.template-row select{grid-column:span 2}.metric small{font-size:13px}.top-right{font-size:14px}.assets-grid{grid-template-columns:1fr 1fr;gap:12px}.asset-preview{height:145px}.form-panel{padding:20px}th,td{padding-left:18px;padding-right:18px}.page-heading .actions{width:100%;justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* The configuration tabs and actions remain visible while only the active panel scrolls. */
.editor-body{overflow:hidden;align-items:stretch}
.editor-column{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
.editor-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:18px 24px 0;background:white;border-bottom:1px solid var(--line);flex-shrink:0}
.editor-tabs [role=tab]{display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 4px;min-height:48px;background:transparent;color:var(--muted);font-size:16px;white-space:nowrap}
.editor-tabs [role=tab] span{font-size:13px;font-variant-numeric:tabular-nums;color:#8c9a92}
.editor-tabs [aria-selected=true]{border-bottom-color:var(--brand);color:var(--brand);font-weight:600;background:#f7faf7;border-radius:5px 5px 0 0}
.editor-tabs [aria-selected=true] span{color:var(--brand)}
.editor-column .editor-form{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:26px}
.editor-form [role=tabpanel]{margin-bottom:0;padding-bottom:0;border-bottom:0}
.editor-form [role=tabpanel][hidden]{display:none}
.editor-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 28px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
.editor-step-actions button{font-size:15px;min-height:38px}
.editor-step-actions button:disabled{cursor:default}
#editor-step-status{color:var(--muted);font-size:15px;font-variant-numeric:tabular-nums}
.editor-preview{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.editor-preview .phone{flex-shrink:0}
@media(max-width:800px){.editor-body{display:grid;grid-template-columns:minmax(0,1fr)}.editor-tabs{padding:10px 14px 0;gap:4px}.editor-tabs [role=tab]{gap:5px;font-size:15px}.editor-step-actions{padding:12px 20px}.dialog-footer{flex-wrap:wrap;justify-content:flex-end}.dialog-footer .error-text:empty{display:none}.dialog-footer .error-text:not(:empty){flex-basis:100%;margin-bottom:4px}}

.logo.logo-simple{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:650;letter-spacing:.3px;white-space:nowrap;color:var(--ink);padding:4px 12px 30px}
.login-brand .logo.logo-simple{padding:0}

/* A single, focused login surface with the same brand as the administration UI. */
.login-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;padding:32px 20px;background:var(--canvas)}
.login-screen .login-form{width:100%;max-width:400px;margin:0;padding:36px;background:#fff;border:1px solid var(--line);border-radius:12px}
.login-form .logo.logo-simple{padding:0;margin-bottom:30px;font-size:21px;justify-content:center}
.login-form h1{font-size:20px;letter-spacing:0;margin-bottom:8px;text-align:center}
.login-form>p{font-size:16px;text-align:center;margin-bottom:26px}
.login-form .field{margin-bottom:19px}
.login-form .primary{min-height:44px;margin-top:0}
.login-form .error-text:empty{display:none}
@media(max-width:480px){.login-screen{padding:24px 16px}.login-screen .login-form{padding:30px 24px}}

.required-mark{color:#d92d20;font-weight:600;margin-left:3px}


.row-actions button.danger{color:var(--red)}
.row-actions button:disabled{color:#a6afa9;cursor:default;background:transparent}

.button-fields{border:0;padding:0;margin:0;min-width:0}
.button-fields[hidden]{display:none}
.button-fields input[type=color]{padding:5px;height:43px;cursor:pointer}
.phone-screen{position:relative}
.phone-screen .preview-action{flex-shrink:0}
.phone-screen .preview-bottom{position:sticky;bottom:0;z-index:1;margin-bottom:0!important}
.phone-screen:has(.preview-bottom){padding-bottom:0}

/* Larger administration typography and comfortable interaction targets. */
:root{font-size:16px;line-height:1.6}
button{min-height:44px}
input,select,textarea{font-size:16px;min-height:48px;line-height:1.5}
label{font-size:16px;margin-bottom:9px}
.field{margin-bottom:24px}
.field small{line-height:1.65}
input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0}
.nav button{font-size:16px;min-height:50px}
th,td{padding-top:18px;padding-bottom:18px;line-height:1.6}
.name-cell strong{font-size:16px}
.name-cell small{font-size:14px}

.row-actions button{font-size:15px;min-height:40px;padding:8px 10px}
.tabs button{font-size:15px;min-height:44px}
select.date-select,.toolbar select{font-size:15px;min-height:44px}
.template-row input,.template-row select{font-size:16px}
.editor-tabs [role=tab]{font-size:16px;min-height:52px}
.editor-step-actions button{font-size:15px;min-height:44px}
.dialog-header h2{font-size:21px}
.confirm-content{width:440px}
.confirm-content p{font-size:16px}
.login-screen .login-form{max-width:440px}
.login-form h1{font-size:23px}
.login-form>p{font-size:15px}
.user{min-width:0}
.user>div{min-width:0}
.user strong{display:block;overflow-wrap:anywhere}
.user #logout{flex-shrink:0}
.avatar{flex-shrink:0}
.button-fields input[type=color]{height:48px}
@media(max-width:800px){.editor-tabs [role=tab]{font-size:14px;gap:4px}.editor-tabs [role=tab] span{font-size:12px}.field-grid{grid-template-columns:1fr}.editor-form .field-grid{gap:0}.tabs{gap:14px;flex-wrap:wrap}.toolbar>small{flex-basis:100%}.user{font-size:14px}}

.auto-skip-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.auto-skip-row .switch-label{margin:0;white-space:nowrap;min-height:48px}
.delay-inline{display:flex;align-items:center;gap:10px}
.delay-inline[hidden]{display:none}
.delay-inline label{margin:0;white-space:nowrap}
.delay-inline input{width:90px;flex-shrink:0}
.delay-inline>span{color:var(--muted)}

/* Compact editor rows retain the larger administration text size. */
.editor-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.editor-form .editor-three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
.editor-form .button-text-row{grid-template-columns:2fr 1fr 1fr}
.editor-form .media-settings-row{grid-template-columns:2fr 1fr}
.editor-form .field{margin-bottom:16px}
.editor-form .field small{font-size:13px;margin-top:5px}
.editor-form label{margin-bottom:7px}
.editor-column .editor-form{padding:20px 24px}
.editor-form .mode-picker{margin-bottom:18px}
.editor-form .mode-picker button{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 6px}
.editor-form .mode-picker svg{display:inline-block;margin:0;width:20px;height:20px;flex-shrink:0}
.editor-form .field[hidden]{display:none}
@media(max-width:1150px) and (min-width:801px){.editor-form .media-settings-row{grid-template-columns:1fr}}
@media(max-width:560px){.editor-form .field-grid,.editor-form .media-settings-row{grid-template-columns:minmax(0,1fr)}.editor-form .editor-three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-form .button-text-row{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-form .button-text-row>.field:first-child{grid-column:1/-1}.editor-column .editor-form{padding:18px}.editor-form .mode-picker button{flex-direction:column;gap:5px}}

.field-label{display:block;font-size:16px;font-weight:550;margin-bottom:7px}
.editor-three-columns>.button-mode-field{grid-column:1/-1}
.button-mode-options{display:flex;flex-wrap:wrap;gap:10px}
.button-mode-option{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:10px 16px;min-height:48px;margin:0;cursor:pointer;background:white;font-weight:400}
.button-mode-option input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--brand);flex-shrink:0}
.button-mode-option:has(input:checked){background:var(--soft);border-color:var(--brand);color:var(--brand);font-weight:550}
.button-mode-option:focus-within{outline:3px solid #72ab96;outline-offset:2px}

.top-right .user{gap:10px;font-size:15px;padding-left:20px;border-left:1px solid var(--line);flex-shrink:0}
.top-right .user strong{white-space:nowrap;overflow-wrap:normal;font-weight:550}
.top-right .user small{font-size:13px}
.top-right .user #logout{margin-left:6px;min-width:44px;min-height:44px;display:grid;place-items:center}
@media(max-width:800px){.top-right{gap:10px}.top-right>span{display:none}.top-right .user{border-left:0;padding-left:0;font-size:14px}}

/* Restrained login styling; retain the short form and Chinese-only labels. */
.login-screen{position:relative;isolation:isolate;overflow:hidden;background:#f3f6f3;background-image:radial-gradient(ellipse at 18% 15%,#e7efe8 0,transparent 48%),radial-gradient(ellipse at 90% 85%,#e9efea 0,transparent 45%);padding:48px 24px}
.login-screen::before,.login-screen::after{content:'';position:absolute;z-index:-1;width:540px;height:540px;border:1px solid #dce5dd;border-radius:50%;pointer-events:none}
.login-screen::before{top:-300px;right:-160px;box-shadow:0 0 0 65px #e5ece54d}
.login-screen::after{bottom:-370px;left:-200px;width:650px;height:650px}
.login-screen .login-form{max-width:464px;padding:38px 40px 40px;border:1px solid #e0e7e1;border-radius:16px;box-shadow:0 18px 55px #24493308,0 3px 10px #24493304;background:#fff}
.login-form .logo.logo-simple{justify-content:flex-start;gap:12px;font-size:22px;letter-spacing:0;margin-bottom:26px;padding-bottom:25px;border-bottom:1px solid #edf1ed}
.login-form .mark{width:40px;height:40px;border-radius:12px;font-size:25px}
.login-form h1{text-align:left;font-size:25px;font-weight:650;letter-spacing:-.4px;margin-bottom:8px}
.login-form>p{text-align:left;color:#748078;line-height:1.6;margin-bottom:28px}
.login-form .field{margin-bottom:21px}
.login-form label{font-size:15px;margin-bottom:9px;color:#394b40}
.login-form input{min-height:50px;padding:12px 14px;border-color:#dce5de;border-radius:8px;background:#fafcf9;transition:border-color .15s,box-shadow .15s,background .15s}
.login-form input::placeholder{color:#99a39b}
.login-form input:focus{background:#fff;border-color:#4d9177;outline:none;box-shadow:0 0 0 3px #166b5712}
.login-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #f7faf7 inset;-webkit-text-fill-color:var(--ink)}
.login-password-wrap{position:relative}
.login-password-wrap input{padding-right:64px}
.login-password-wrap .password-visibility{position:absolute;right:5px;top:4px;min-height:42px;padding:8px 12px;border:0;background:transparent;color:#6c7e72;font-size:14px}
.login-password-wrap .password-visibility:hover{color:var(--brand);background:#eef4ef}
.login-form .primary{min-height:50px;border-radius:8px;font-size:16px;font-weight:600;margin-top:7px;box-shadow:0 3px 7px #166b5712}
.login-form .error-text:not(:empty){padding:10px 12px;background:#fff3f1;border-radius:6px;font-size:14px;line-height:1.6}
.login-form .field small{font-size:13px;line-height:1.7;margin-top:8px}
@media(max-width:480px){.login-screen{padding:28px 16px}.login-screen .login-form{padding:28px 24px 30px;border-radius:13px}.login-form .logo.logo-simple{font-size:21px;margin-bottom:22px;padding-bottom:22px}.login-form h1{font-size:23px}.login-form>p{margin-bottom:24px}}

/* Compact account controls in the header. */
.top-right{gap:20px}
.top-right>span{font-size:14px;color:#859087;font-weight:400}
.top-right .user{gap:10px;padding-left:0;border-left:0;display:flex;align-items:center}
.top-right .admin-role{display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;background:#edf4ee;color:#55745f;font-size:12px;line-height:1.5;font-weight:500;white-space:nowrap}
.top-right .user .admin-account{font-size:15px;font-weight:500;letter-spacing:.1px;color:#38483e;line-height:1.5}
.top-right .user #logout{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-left:6px;padding:7px 10px;border:1px solid #e4eae5;border-radius:6px;font-size:14px;color:#718077;min-height:36px;min-width:0}
.top-right .user #logout:hover{background:#f3f6f3;color:var(--brand);border-color:#cadbce}
.top-right #logout .icon{width:16px;height:16px}
@media(max-width:800px){.top-right{gap:10px}.top-right .user{gap:8px}.top-right .user #logout{min-height:44px;margin-left:0}.top-right .admin-role{display:none}.top-right .user .admin-account{font-size:14px}}

.login-screen{background:#e8eee6 url('/login-background.svg') center center/cover no-repeat}
.login-screen::before,.login-screen::after{display:none}
.login-screen .login-form{background:#fffffff5;border-color:#ffffffb3;box-shadow:0 20px 65px #25483412,0 2px 8px #25483406}
@media(max-width:480px){.login-screen{background-position:65% center}.login-screen .login-form{background:#fffffff7}}

#domain-form.confirm-content{width:560px;max-width:100%;padding:30px 32px}
@media(max-width:600px){#domain-form.confirm-content{width:calc(100vw - 36px);padding:24px}}

.user-form.confirm-content{width:520px;max-width:100%;padding:28px 32px}
.account-note{font-size:14px;line-height:1.8}
@media(max-width:560px){.user-form.confirm-content{width:calc(100vw - 36px);padding:24px}}

/* Keep notifications above modal backdrops and reset native popover centering. */
#toast{top:auto;right:auto;bottom:auto;left:auto;inset:auto;bottom:28px;left:50%;margin:0;border:0;width:max-content;max-width:calc(100vw - 32px);line-height:1.5;text-align:center;overflow-wrap:anywhere}

/* Enhanced selects (Tom Select) themed to match the workspace. */
.ts-wrapper{width:100%;font-size:16px}
.ts-wrapper.single .ts-control{min-height:48px;padding:10px 42px 10px 12px!important;border:1px solid #dce3de;border-radius:6px;background:#fff;box-shadow:none;color:var(--ink);font-size:16px;line-height:1.5;transition:border-color .15s,box-shadow .15s;flex-wrap:nowrap}
.ts-wrapper.single.focus .ts-control,.ts-wrapper.single.dropdown-active .ts-control{border-color:#4d9177;box-shadow:0 0 0 3px #166b5712}
.ts-wrapper.single.disabled .ts-control{background:#f7f9f7;opacity:.65}
.ts-wrapper.single .ts-control::after{content:'';position:absolute;right:16px;top:calc(50% - 3px);width:7px;height:7px;border-right:1.6px solid #8b968f;border-bottom:1.6px solid #8b968f;transform:translateY(-50%) rotate(45deg);pointer-events:none;z-index:2;transition:transform .15s}
.ts-wrapper.single.dropdown-active .ts-control::after{transform:translateY(-15%) rotate(225deg)}
.ts-wrapper.single .ts-control>input{font-size:16px!important;color:var(--ink);min-width:2rem;flex:1 1 auto}
.ts-wrapper.single .ts-control .item{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);line-height:1.5}
.ts-dropdown{border:1px solid #e1e8e2;border-radius:10px;margin-top:6px;padding:6px;box-shadow:0 18px 44px #203c3021,0 2px 8px #203c300f;overflow:hidden;z-index:60}
.ts-dropdown .ts-dropdown-content{max-height:260px;overscroll-behavior:contain}
.ts-dropdown .option,.ts-dropdown .no-results{padding:10px 12px;border-radius:7px;font-size:15px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-dropdown .option{cursor:pointer}
.ts-dropdown .option.active{background:#eaf3ee;color:var(--brand)}
.ts-dropdown .option:hover{background:#f2f7f3}
.ts-dropdown .dropdown-input{min-height:40px;margin:2px 2px 6px;padding:8px 10px;border:1px solid #e1e8e2;border-radius:7px;font-size:15px;box-shadow:none}
.ts-dropdown .dropdown-input:focus{border-color:#4d9177;outline:none;box-shadow:0 0 0 3px #166b5712}
.field .ts-wrapper{width:100%}
.actions .ts-wrapper{width:auto;min-width:142px}
.toolbar .ts-wrapper{width:auto;min-width:150px}
.template-row .ts-wrapper{width:100%}
.template-row .ts-control{font-size:15px!important}

/* Trend chart canvas. */
.chart{height:300px;padding:8px 22px 12px}
.chart canvas{display:block;width:100%!important;height:100%!important}
@media(min-width:1550px){.chart{height:330px}}
@media(max-width:800px){.chart{height:240px;padding:4px 14px 8px}}
.chart-empty-note{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;display:grid;place-items:center;padding-top:26px;color:#98a39b;font-size:15px;pointer-events:none;text-align:center}

.field .upload-selection{color:var(--brand);font-size:14px;overflow-wrap:anywhere}

.pending-design{display:block;margin-top:5px;font-size:13px;color:var(--muted)}
.promotion-form{padding-top:28px}
.phone-screen.promotion-preview{display:block;padding:0;overflow:hidden}
.promotion-preview iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:#fff}
.promotion-preview iframe[hidden],.promotion-preview [hidden]{display:none}
.promotion-preview .placeholder{padding:40px 20px;text-align:center}
.promotion-destination{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.destination-kind{display:block;margin-top:5px;font-size:13px}
.promotion-form .ts-wrapper.single .ts-control .item{flex:0 1 auto;min-width:0}
.promotion-form .ts-wrapper.single .ts-control>input{width:1px!important;flex:1 1 1px}

/* Keep the whole phone inside the editor on shorter laptop windows. */
.editor-preview{overflow:hidden}
.editor-preview .phone{flex:1 1 0;min-height:0;height:auto;width:auto;aspect-ratio:276/520;max-width:276px;max-height:520px}
.editor-preview .preview-label,.editor-preview>p{flex-shrink:0}

/* Product surfaces and shared interaction states. */
:root{--brand:#176b55;--ink:#263a32;--muted:#607367;--line:#e4eae6;--canvas:#f5f7f6;--soft:#edf5f0;--red:#b33c35;--radius:9px;font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;font-synthesis:none}
body{line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-size:14px}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border-radius:6px;font-weight:500;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}
button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.48}button[aria-busy=true]{cursor:wait}button.primary{box-shadow:0 1px 2px #173d2612}button.primary:hover{background:#125b47;border-color:#125b47}button.destructive{background:var(--red);border-color:var(--red);color:white}button.destructive:hover{background:#9c302b}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #448f73;outline-offset:3px}.icon{width:17px;height:17px;flex-shrink:0}.icon-button{padding:7px;min-width:36px}
input,select,textarea{min-height:42px;border-color:#d7e0d9;padding:10px 12px;border-radius:6px;transition:border-color .18s,box-shadow .18s}input::placeholder,textarea::placeholder{color:#9ba69e}input:hover,textarea:hover{border-color:#b9c9bf}input:focus,textarea:focus{outline:none;border-color:#5b9b81;box-shadow:0 0 0 3px #176b5510}input[readonly]{background:#f6f8f6;color:#607367;cursor:default}input[aria-invalid=true]{border-color:#d6756d;box-shadow:0 0 0 3px #b33c350a}label,.field-label{font-size:14px;font-weight:550;color:#364e42}.field small{line-height:1.65}.field .field-error{font-size:13px;color:var(--red);margin-top:6px}
h1{font-size:26px;line-height:1.35;letter-spacing:-.6px;font-weight:650;margin-bottom:8px}h2{font-size:16px;font-weight:600;letter-spacing:-.15px}h3{font-size:15px}.num,.metric-value,.pagination,.related-count{font-variant-numeric:tabular-nums}.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:16px;top:-60px;z-index:120;padding:10px 16px;background:#fff;border:2px solid var(--brand);border-radius:6px}.skip-link:focus{top:12px}
.shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{width:224px;padding:28px 16px 18px}.logo.logo-simple{padding:0 12px 16px;gap:10px;letter-spacing:0;font-size:18px}.logo:hover{text-decoration:none}.logo [data-workspace-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mark{width:34px;height:34px;border-radius:9px;flex-shrink:0}.workspace-label{margin:0 12px 27px;padding-left:44px;font-size:12px;letter-spacing:1.5px;color:#607367}.nav{gap:4px}.nav-caption{font-size:12px;letter-spacing:.8px;color:#607367;padding:0 12px;margin-bottom:8px}.nav-caption-manage{margin-top:27px}.nav button{min-height:42px;padding:10px 13px;gap:11px;font-size:14px;border-radius:6px;color:#687c70;justify-content:flex-start}.nav button .icon{width:18px;height:18px;stroke-width:1.65}.nav button.active{background:#eaf3ed;color:#176b55;font-weight:600}.nav button.active:hover{background:#e4efe7}.nav button:hover{color:#354f3f;background:#f3f6f3}.sidebar-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;padding:16px 10px 0;border-top:1px solid var(--line)}.sidebar-bottom>div{min-width:0}.sidebar-bottom strong{display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis;font-weight:550;font-size:13px}.sidebar-bottom small{display:block;font-size:12px;color:#607367;margin-top:2px}.sidebar-monogram{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#edf3ee;border:1px solid #e2eae3;color:#53715e;font-size:13px;font-weight:600;flex-shrink:0}
.topbar{height:64px;padding:0 32px}.breadcrumb-wrap{display:flex;align-items:center}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:13px;color:#607367}.breadcrumb .icon{width:12px;height:12px;color:#aab4ac}.breadcrumb b{color:#536b5b;font-weight:500}.top-right{gap:18px}.top-right>span{font-size:12px;color:#607367}.top-right #logout{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 9px;font-size:12px;color:#607367}.top-right #logout .icon{width:15px;height:15px}
.content{max-width:1560px;padding:30px 32px 28px;outline:none}.page-heading{margin-bottom:22px;align-items:center;gap:18px}.page-heading p{font-size:13px;color:#607367;line-height:1.6}.page-heading h1{margin-bottom:6px}.actions{gap:12px}.date-filter{display:flex;align-items:center;gap:10px;flex-shrink:0}.date-filter>span{font-size:12px;color:#607367;white-space:nowrap}.date-filter .ts-wrapper{min-width:116px!important;width:116px!important}.date-filter .ts-wrapper.single .ts-control{min-height:38px!important;padding:7px 28px 7px 11px!important;font-size:13px!important}.date-filter .ts-wrapper.single .ts-control:after{right:12px;width:6px;height:6px}.date-filter .ts-control>input{display:none!important}.data-meta{display:flex;align-items:center;gap:10px;justify-content:flex-end;color:#607367;font-size:12px;margin:-9px 0 14px;min-height:22px}.data-meta>span{display:inline-flex;align-items:center;gap:5px}.data-meta>span+span:before{content:'·';margin-right:3px;color:#b5c0b7}.data-meta .icon{width:12px;height:12px}.data-meta button{padding:0 0 0 4px;min-height:22px;font-size:12px;color:#6b8575}
.metrics{gap:16px;margin-bottom:20px}.metric{padding:20px 21px;border-radius:9px;background:#fff}.metric:first-child{background:#edf5ef;border-color:#d9e7dc}.metric-top{font-size:13px;margin-bottom:16px;color:#607367}.metric-top svg{width:16px;height:16px;color:#98aca0}.metric-value{font-size:33px;font-weight:600;letter-spacing:-1px;line-height:1.15;margin-bottom:10px;color:#233d2d}.metric small{font-size:12px;color:#607367}.panel{border-radius:9px;margin-bottom:20px}.panel-header{padding:20px 22px;gap:12px}.panel-header h2{margin:0 0 5px}.panel-header p{font-size:12px;line-height:1.6;color:#607367}.panel-caption{font-size:12px;color:#607367;white-space:nowrap}.overview-charts{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px}.overview-charts .panel{min-width:0}.overview-charts .chart{height:234px;padding:0 17px 10px}.chart-legend{font-size:12px;padding:0 22px 18px;gap:18px;color:#607367}.chart-legend i{width:7px;height:7px;background:#176b55}.chart-legend .click{background:#80aeb4}.chart-empty-note{font-size:12px;line-height:1.8;color:#607367;padding:26px}
.channel-list{padding:0 22px 12px}.channel-item{margin-bottom:18px}.channel-item>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.channel-item>div:first-child>span{display:flex;align-items:center;gap:9px;min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#607367}.channel-item span i{display:grid;place-items:center;width:17px;height:17px;flex-shrink:0;border-radius:4px;background:#f0f4f1;color:#607367;font-size:12px;font-style:normal}.channel-item strong{font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}.channel-track{height:4px;background:#f0f4f1;border-radius:2px;overflow:hidden}.channel-track>i{display:block;height:100%;background:#6da68b;border-radius:2px}.channel-item small{font-size:12px;color:#607367;display:block;margin-top:4px}.live-count{color:#5c886b}.subtle-separator{color:#ced7ce;margin:0 9px}.panel-header button{font-size:12px}.panel-header button .icon{width:14px;height:14px}
.table-wrap{overscroll-behavior-x:contain}table{font-size:13px}th{padding:12px 18px;font-size:12px;font-weight:500;color:#607367;background:#f8faf8;border-color:#e8ede8}td{padding:16px 18px;border-bottom-color:#edf1ed;color:#4f6656;vertical-align:middle}tbody tr:hover{background:#fafcf9}.num{text-align:right;color:#405c49;font-weight:500}.table-date{font-size:12px;color:#607367}.name-cell{gap:10px;min-width:0}.name-cell>div{min-width:0}.thumb{width:36px;height:43px;flex-shrink:0;object-fit:cover;border-radius:5px;background:#f1f5f0;border-color:#e4ece2;display:grid;place-items:center;color:#8da38b;overflow:hidden}.thumb .icon{width:19px;height:19px}.name-cell strong{max-width:220px;font-size:13px;font-weight:550;color:#344f3e}.name-cell small{font-family:inherit;max-width:220px;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin-top:5px;color:#607367}.promotion-table:not(.compact-table) .name-cell strong,.promotion-table:not(.compact-table) .name-cell small{max-width:180px}.promotion-destination{max-width:172px;font-size:12px;color:#607367}.destination-kind{font-size:12px;color:#607367;margin-top:4px}.badge{font-size:12px;line-height:1.4;padding:4px 7px;gap:5px;border-radius:4px;background:#f1f4f0;color:#7b8c7c}.badge.published{background:#ecf5ed;color:#4a845e}.badge.draft{background:#faf4e6;color:#8c6c27}.badge.offline,.badge.archived{background:#f1f3f1;color:#8b988d}.status-dot{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}.pending-design{color:#8c6c27;font-size:12px;margin-top:5px}.type-label{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#819181}.type-label .icon{width:15px;height:15px}.related-count{font-size:13px}.row-actions{gap:2px;align-items:center;margin-left:auto}.row-actions button{font-size:12px;min-height:30px;padding:5px 7px;color:#4d8060}.row-actions button:hover{background:#edf4ee;color:#176b55}.row-actions .more-button{gap:4px;color:#607367}.more-button .icon{width:15px;height:15px}.actions-cell{position:sticky;right:0;background:#fff;box-shadow:-8px 0 12px -12px #57786333;text-align:right;width:1%;white-space:nowrap}.actions-cell .row-actions{justify-content:flex-end}.actions-cell:is(th){background:#f8faf8}tr:hover .actions-cell{background:#fafcf9}.table-footer{border-top:1px solid var(--line);padding:13px 20px;font-size:12px;color:#607367;gap:16px}.table-footer>span{min-width:0}.pagination{display:flex;align-items:center;gap:12px;color:#607367;font-size:12px}.pagination button{font-size:18px;min-height:28px;min-width:28px;padding:0;line-height:1}.pagination button:disabled{background:#f7f9f6;opacity:.45}.pagination-count{white-space:nowrap}
.toolbar{padding:16px 20px;gap:12px}.filter-tabs{padding-top:0;padding-bottom:0}.tabs{gap:26px;margin-right:0;overflow:auto;scrollbar-width:none;flex-wrap:nowrap}.tabs button{font-size:13px;white-space:nowrap;min-height:53px;padding:14px 0 12px;font-weight:500}.tabs button small{font-size:12px;padding:2px 5px;border-radius:4px;background:#f0f3ef;color:#607367;margin-left:3px}.tabs button.active small{background:#e8f1e9;color:#5c8d68}.tabs button:hover{color:#42674c}.list-tools{padding-top:16px;padding-bottom:16px}.list-tools .ts-wrapper{min-width:128px}.list-tools .ts-wrapper.single .ts-control{min-height:38px;font-size:12px;padding:8px 33px 8px 11px!important}.list-tools .date-filter{margin-left:auto}.toolbar-spacer{flex:1}.toolbar-help{font-size:12px;color:#607367}.search-box{display:flex;align-items:center;gap:8px;position:relative;flex:0 1 300px;min-width:180px}.search-box>.icon{position:absolute;left:12px;width:15px;height:15px;color:#607367;pointer-events:none}.search-box input{width:100%;padding-left:35px;min-height:38px;font-size:12px;background:#fff}.search-box input::-webkit-search-cancel-button{cursor:pointer}.reset-filters{font-size:12px;min-height:32px;padding:4px 2px}.reset-filters[hidden]{display:none}.workflow-note{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;margin-bottom:20px;background:#edf4ef;border:1px solid #e1ebe3;border-radius:7px;color:#698371}.workflow-note>.icon{margin-top:2px;width:15px;height:15px}.workflow-note p{margin:0;font-size:12px;line-height:1.8}.workflow-note p span{display:block;color:#607367;font-size:12px}.list-note{font-size:12px;color:#607367;display:flex;align-items:center;gap:7px;margin-top:-4px}.list-note .icon{width:14px;height:14px}.notice{font-size:12px;line-height:1.8;padding:13px 16px;background:#f0f5f0;border-color:#e2ebe0;color:#607367;border-radius:7px}
.action-menu{position:fixed;top:auto;right:auto;bottom:auto;left:auto;inset:auto;margin:0;width:188px;max-width:calc(100vw - 24px);padding:5px;border:1px solid #e0e8df;border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 10px 30px #2d50371c,0 2px 8px #2d50370a;overflow:visible}.action-menu:popover-open{display:flex;flex-direction:column}.action-menu button{font-size:12px;justify-content:flex-start;text-align:left;min-height:36px;line-height:1.5;border:0;border-radius:4px;padding:8px 11px;background:transparent;font-weight:400}.action-menu button:hover,.action-menu button:focus-visible{background:#eff5ef;color:#176b55;outline:none}.action-menu .danger{color:var(--red)}.action-menu .danger:hover,.action-menu .danger:focus-visible{background:#fbf1ef;color:var(--red)}.action-menu button:disabled{cursor:not-allowed;background:none;color:#b2bdb0}
.empty{padding:46px 24px;color:#607367;white-space:normal}.empty-symbol{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 15px;border-radius:12px;background:#f0f5ef;border:1px solid #e7eee4;color:#9db39c}.empty-symbol .icon{width:21px;height:21px}.empty h3{font-size:14px;font-weight:550;color:#586f5d;margin-bottom:7px}.empty p{font-size:12px;line-height:1.8;margin:0 auto;max-width:360px;color:#607367}.empty button{font-size:12px;margin-top:18px}.channel-panel .empty{padding:36px 20px}.workspace-footer{display:flex;justify-content:space-between;gap:16px;max-width:1560px;padding:0 32px 22px;margin:auto;color:#b1bdb1;font-size:12px;letter-spacing:.2px}
.skeleton{position:relative;overflow:hidden;background:#eaf0ea;border-radius:7px}.skeleton:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;inset:0;background:linear-gradient(90deg,transparent,#ffffff80,transparent);transform:translateX(-100%);animation:skeleton-wave 1.5s ease-in-out infinite}.skeleton-title{height:30px;width:180px;margin:8px 0 32px}.skeleton-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.skeleton-metric{height:142px}.skeleton-panel{height:330px}.button-spinner{width:13px;height:13px;border:1.6px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .7s linear infinite}.page-skeleton{min-height:450px}
@keyframes skeleton-wave{to{transform:translateX(100%)}}@keyframes button-spin{to{transform:rotate(360deg)}}
/* Dialogs share a stable frame; only the form and preview scroll. */
dialog{border-radius:11px;box-shadow:0 24px 80px #16342226,0 4px 16px #16342212}dialog::backdrop{background:#152f224f;backdrop-filter:blur(2px)}#editor{width:1080px;height:min(820px,calc(100vh - 48px));height:min(820px,calc(100dvh - 48px))}.dialog-header{padding:20px 24px;min-height:82px;background:#fff}.dialog-header h2{font-size:17px;font-weight:600;margin:0 0 5px}.dialog-header p{font-size:12px;line-height:1.6;color:#607367}.dialog-header .icon-button{color:#607367}.dialog-header .icon-button:hover{background:#f3f6f0;color:#536d57}.editor-body{grid-template-columns:minmax(0,1fr) 330px}.editor-tabs{padding:10px 22px 0;gap:8px}.editor-tabs [role=tab]{font-size:13px;min-height:46px;padding:12px 4px;gap:7px}.editor-tabs [role=tab] span{font-size:12px}.editor-tabs [aria-selected=true]{background:transparent;border-radius:0;font-weight:600}.editor-column .editor-form{padding:24px}.editor-form .field{margin-bottom:22px}.editor-form label,.editor-form .field-label{font-size:13px;margin-bottom:8px}.editor-form .field small{font-size:12px;margin-top:6px;color:#607367}.editor-form .field small.field-error{color:var(--red)}.editor-form input,.editor-form textarea{font-size:13px;min-height:42px}.editor-form .ts-wrapper.single .ts-control{font-size:13px!important;min-height:42px;padding:9px 36px 9px 12px!important}.editor-form .ts-wrapper.single .ts-control input{font-size:13px!important}.editor-form .button-mode-option{min-height:42px;padding:9px 12px;font-size:12px;font-weight:400;margin:0}.button-mode-option input{width:15px;height:15px;min-height:15px}.button-mode-option:has(input:checked){font-weight:500}.editor-form .mode-picker{gap:10px;margin-bottom:24px}.editor-form .mode-picker button{font-size:12px;min-height:44px}.editor-form .mode-picker button.selected{background:#edf5ee;border-color:#6e9e7b}.editor-form .mode-picker svg{width:17px;height:17px}.upload-row button{min-height:42px;font-size:12px;padding:8px 12px}.editor-form .field-grid{gap:0 20px}.editor-form .auto-skip-row{gap:20px}.editor-form .auto-skip-row .switch-label{font-size:13px;min-height:42px}.auto-skip-row input[type=checkbox]{min-height:16px;width:16px;height:16px}.delay-inline input{width:76px}.delay-inline label,.delay-inline>span{font-size:12px}.editor-preview{background:#f6f8f4;padding:22px 20px 16px}.preview-label{font-size:12px;color:#607367;margin-bottom:18px}.editor-preview .phone{border-width:6px;border-radius:31px;box-shadow:0 8px 24px #28402a0d;max-height:520px;max-width:272px}.phone:before{height:13px;width:82px;border-radius:0 0 10px 10px}.editor-preview>p{font-size:12px;line-height:1.8;color:#607367;margin:14px 0 0;max-width:250px}.editor-step-actions{padding:12px 24px}.editor-step-actions button{font-size:12px;min-height:32px;padding:6px 10px}#editor-step-status{font-size:12px;color:#607367}.dialog-footer{padding:15px 24px;gap:10px;min-height:70px}.dialog-footer>button{font-size:13px;min-height:38px}.editor-feedback{flex:1;min-width:0;align-self:center}.save-state{display:flex;align-items:center;gap:6px;font-size:12px;color:#607367}.save-state i{width:5px;height:5px;border-radius:50%;background:#a1b69d;flex-shrink:0}.save-state.is-dirty{color:#8c6c27}.save-state.is-dirty i{background:#bd9e62}.editor-feedback:has(.error-text:not(:empty)) .save-state{display:none}.dialog-footer .error-text{font-size:12px;line-height:1.6;margin:0;color:var(--red)}.dialog-footer .error-text:empty{min-height:0;display:none}.confirm-content{padding:28px;width:430px}.confirm-symbol{display:grid;place-items:center;width:38px;height:38px;background:#edf5ec;color:#6c956a;border-radius:11px;margin-bottom:18px}.confirm-symbol.is-danger{background:#fcf0ed;color:#c16c61}.confirm-symbol .icon{width:20px;height:20px}.confirm-content h2{font-size:17px;margin:0 0 12px}.confirm-content p{font-size:13px;line-height:1.85;color:#607367;margin-bottom:18px;overflow-wrap:anywhere}.confirm-actions{margin-top:25px;gap:10px}.confirm-actions button{min-width:76px;font-size:13px}.ts-dropdown .option,.ts-dropdown .no-results{font-size:13px;padding:9px 11px}.ts-dropdown{border-radius:7px;padding:5px;box-shadow:0 10px 28px #234d3221}.ts-dropdown .option{border-radius:4px}#toast{font-size:13px;line-height:1.7;padding:11px 18px;border-radius:7px;background:#294b35;box-shadow:0 8px 28px #23492b20;max-width:min(560px,calc(100vw - 32px))}
.assets-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.asset-preview{height:185px;background:#f3f6f0}.asset-info{padding:16px;background:#fff;min-width:0}.asset-info strong{font-size:13px;font-weight:550;color:#587050}.asset-info small{font-size:12px;color:#607367}.asset-info button{font-size:12px;min-height:34px}.form-panel{padding:24px;max-width:780px}.form-panel h2{padding-bottom:16px;margin-bottom:24px}.form-panel label{font-size:13px}.form-panel .field small{font-size:12px}.form-panel p{font-size:13px}.account-note{font-size:12px;line-height:1.8}.login-form .logo.logo-simple{font-size:21px}.login-form .field small{font-size:12px}.login-form>p{font-size:14px}.login-form input{font-size:14px}.login-form label{font-size:13px}.login-form .primary{font-size:14px}.login-form .error-text:not(:empty){font-size:12px}
@media(min-width:1550px){.content{padding-top:36px}.metric{padding:24px}.overview-charts{grid-template-columns:minmax(0,1fr) 320px}.overview-charts .chart{height:260px}}
@media(max-width:1200px) and (min-width:801px){.shell{grid-template-columns:204px minmax(0,1fr)}.sidebar{width:204px}.logo.logo-simple{font-size:16px;gap:8px;padding-left:8px;padding-right:8px}.workspace-label{padding-left:38px}.topbar{padding:0 24px}.content{padding:26px 24px}.metrics{gap:12px}.metric{padding:18px 16px}.metric-value{font-size:29px}.metric small{font-size:12px}.overview-charts{grid-template-columns:minmax(0,1fr) 238px;gap:16px}.channel-list{padding-left:18px;padding-right:18px}.panel-header{padding:18px}.trend-panel .panel-caption{display:none}.list-tools{flex-wrap:wrap}.list-tools .toolbar-spacer{display:none}.list-tools .search-box{flex:1}.list-tools .date-filter{margin-left:0}.template-table{min-width:770px}.promotion-table{min-width:950px}.compact-table{min-width:750px}}
@media(max-width:1000px) and (min-width:801px){.overview-charts{grid-template-columns:1fr}.channel-panel .channel-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.channel-item>div:first-child>span{max-width:none}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{width:224px;padding-top:24px}.main{grid-column:1}.topbar{height:60px;padding:0 18px}.breadcrumb-wrap .breadcrumb{display:flex;font-size:12px}.breadcrumb-wrap .breadcrumb>.icon{display:none}.breadcrumb-wrap .breadcrumb{font-size:0}.breadcrumb-wrap .breadcrumb b{font-size:13px}.mobile-menu{display:inline-flex;margin-right:8px;min-height:36px}.top-right #logout{min-height:36px}.top-right #logout>span{display:none}.content{padding:24px 18px}.page-heading{gap:18px;margin-bottom:20px}.page-heading h1{font-size:23px}.page-heading .actions{width:100%;justify-content:space-between}.page-heading p{font-size:12px}.page-heading .actions .primary{margin-left:auto}.metrics{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.metric{padding:17px 16px}.metric-top{font-size:12px;margin-bottom:12px}.metric-value{font-size:28px}.metric small{font-size:12px}.data-meta{margin:-7px 0 12px;justify-content:flex-start;font-size:12px;gap:8px}.data-meta button{font-size:12px}.overview-charts{grid-template-columns:1fr;gap:0}.overview-charts .chart{height:220px}.channel-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.panel-header{padding:18px}.panel-header h2{font-size:15px}.panel-header p{font-size:12px}.panel-caption{font-size:12px}.panel{margin-bottom:18px}.panel-header button{font-size:12px}.promotion-table,.compact-table{min-width:850px}.template-table{min-width:780px}table{font-size:12px}th,td{padding-left:16px;padding-right:16px}.table-footer{padding:12px 16px;font-size:12px;flex-wrap:wrap}.table-footer .pagination{margin-left:auto}.toolbar{padding-left:16px;padding-right:16px}.tabs{gap:22px;flex-wrap:nowrap}.tabs button{font-size:12px;min-height:48px}.list-tools{flex-wrap:wrap;gap:10px}.list-tools .search-box{flex:1 1 100%;max-width:none}.list-tools .toolbar-spacer{display:none}.list-tools .date-filter{margin-left:auto}.list-tools .date-filter>span{display:none}.list-tools .toolbar-help{display:none}.workflow-note{padding:12px 14px;gap:8px}.workflow-note p{font-size:12px}.workflow-note p span{font-size:12px}.list-note{line-height:1.7;font-size:12px;align-items:flex-start}.list-note .icon{margin-top:2px;flex-shrink:0}.workspace-footer{padding:0 18px 22px;font-size:9px}.workspace-footer>span:last-child{display:none}#editor{height:calc(100vh - 28px);height:calc(100dvh - 28px);max-width:calc(100vw - 24px);width:100%}.editor-body{grid-template-columns:minmax(0,1fr)}.dialog-header{min-height:76px;padding:16px 18px}.dialog-header h2{font-size:16px}.dialog-header p{font-size:12px}.editor-tabs{padding:8px 14px 0}.editor-tabs [role=tab]{font-size:12px;min-height:44px}.editor-column .editor-form{padding:20px 18px}.editor-form .field-grid{gap:0 14px}.editor-step-actions{padding:12px 18px}.dialog-footer{padding:13px 18px;gap:8px;flex-wrap:wrap}.editor-feedback{flex-basis:100%;margin-bottom:2px}.dialog-footer>button{font-size:12px;min-height:38px}.editor-form .field small{font-size:12px}.confirm-content{padding:24px;width:min(430px,calc(100vw - 36px))}.confirm-content h2{font-size:16px}.confirm-content p{font-size:12px}.skeleton-metrics{grid-template-columns:repeat(2,1fr);gap:12px}.skeleton-metric{height:128px}.form-panel{padding:20px}.assets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-preview{height:145px}.asset-info{padding:12px}.asset-info strong{font-size:12px}.asset-info small{font-size:12px}}
@media(max-width:440px){.page-heading .actions{gap:10px}.page-heading .actions>.primary{font-size:12px;padding:8px 11px}.date-filter>span{display:none}.metrics{gap:10px}.metric small{font-size:12px;line-height:1.6;display:block}.metric-value{font-size:26px}.channel-list{gap:0 18px;padding:0 18px 6px}.channel-item strong{font-size:12px}.channel-item>div:first-child>span{font-size:12px;gap:5px}.list-tools .ts-wrapper{min-width:122px}.list-tools .date-filter .ts-wrapper{min-width:106px!important;width:106px!important}.panel-caption{display:none}.asset-info button{font-size:12px;gap:4px;padding:6px 8px}.editor-form .mode-picker button{font-size:12px}.editor-form .button-mode-option{font-size:12px;padding:9px 10px}.button-mode-options{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Only image pages are currently offered in the template editor. */
.page-type-label{display:flex;align-items:center;gap:8px;padding:11px 14px;margin-bottom:24px;border:1px solid #d8e7dc;border-radius:6px;background:#edf5ee;color:var(--brand);font-size:13px;font-weight:500}

.asset-download{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:34px;margin-top:8px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:12px;transition:background .16s,color .16s}.asset-download:hover{background:#f0f5f2;text-decoration:none}

.template-library-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:-6px 0 24px}.template-library-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 4px;background:transparent;color:var(--muted)}.template-library-tabs button.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:600}.builtin-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.builtin-card{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);gap:22px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:9px}.builtin-device{position:relative;width:100%;height:420px;overflow:hidden;border:6px solid #28362f;border-radius:29px;background:white;box-shadow:0 6px 16px #23432e10}.builtin-device iframe{display:block;width:100%;height:100%;border:0;transform-origin:top left}.builtin-card .builtin-device{pointer-events:none}.builtin-card-content{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:10px 0}.builtin-card-content h2{font-size:18px;line-height:1.5;margin:0 0 10px}.builtin-tag{display:inline-block;padding:3px 8px;border-radius:4px;background:var(--soft);font-size:11px;color:var(--brand);margin-bottom:18px}.builtin-card-content p{font-size:13px;line-height:1.9;margin:0 0 12px}.builtin-card-actions{display:grid;gap:9px;width:100%;margin-top:auto;padding-top:22px}.builtin-preview-dialog{max-width:620px!important}.builtin-preview-body{min-height:0;flex:1;display:flex;align-items:center;flex-direction:column;gap:12px;padding:22px;background:var(--canvas);overflow:auto}.builtin-preview-body .builtin-device{max-width:282px;height:min(60vh,550px);height:min(60dvh,550px);min-height:280px;flex-shrink:0}.builtin-preview-body p{font-size:12px;margin:0}.builtin-preview-dialog .dialog-footer{justify-content:flex-end}
@media(max-width:1200px){.builtin-gallery{grid-template-columns:1fr}.builtin-card{grid-template-columns:210px minmax(0,1fr)}.builtin-card-content{padding:24px 0}}@media(max-width:650px){.builtin-card{grid-template-columns:1fr;padding:20px;gap:14px}.builtin-card .builtin-device{width:210px;justify-self:center}.builtin-card-content{padding:0}.builtin-card-actions{padding-top:8px}.template-library-tabs{gap:24px}.builtin-preview-body{padding:12px}.builtin-preview-body .builtin-device{height:60vh;height:60dvh}}

/* Popover fallback for older mobile browsers. */
.action-menu.compat-popover-open{display:flex;flex-direction:column;z-index:100200}
.action-menu[hidden]{display:none}

@supports not (aspect-ratio:276/520){.editor-preview .phone{width:260px;height:520px;flex:0 1 520px}}
