/* Ember Studio. Screen presentation only; no changes to application permissions or data. */
body.ember-page {
 --fs-bg:#f8f5ef;--fs-panel:#ffffffdc;--fs-solid:#fffdfa;--fs-raised:#fffefa;
 --fs-ink:#292724;--fs-muted:#746b62;--fs-line:#dfd7cd;--fs-accent:#b94716;
 --fs-accent-soft:#fff0df;--fs-button:#d14f17;--fs-button-ink:#fff;
 --fs-hover:#f1e9df;--fs-input:#fffdfa;--fs-good:#347658;--fs-danger:#ac3027;
 --fs-shadow:0 14px 42px #61422209;--fs-font:'Furni Sans',Tahoma,sans-serif;
 --ink:var(--fs-ink);--muted:var(--fs-muted);--line:var(--fs-line);--accent:var(--fs-accent);--paper:var(--fs-solid);
 margin:0;color:var(--fs-ink);background:radial-gradient(ellipse at 95% 0,#ffe1bf70,transparent 42%),var(--fs-bg);
 font:400 15px/1.8 var(--fs-font);-webkit-font-smoothing:antialiased;
}
html[data-theme=dark] body.ember-page {
 --fs-bg:#1b1a19;--fs-panel:#252321ed;--fs-solid:#252321;--fs-raised:#302b27;
 --fs-ink:#f8f0e7;--fs-muted:#bfb0a2;--fs-line:#4b4037;--fs-accent:#ffb17b;
 --fs-accent-soft:#422a1d;--fs-button:#ffae75;--fs-button-ink:#302014;
 --fs-hover:#362f29;--fs-input:#211e1b;--fs-good:#8ad2ad;--fs-danger:#ffaaa0;
 --fs-shadow:0 14px 42px #0002;background:var(--fs-bg);
}
.ember-page *{box-sizing:border-box}
.ember-page :where(h1,h2,h3,p,a,button,label,small,strong,summary){overflow-wrap:anywhere}
.ember-page :where(h1,h2,h3){font-weight:600;line-height:1.5;letter-spacing:-.025em}
.ember-page h1{font-size:clamp(30px,3.7vw,50px)}
.ember-page :where(button,input,select,textarea){font-family:var(--fs-font);font-size:14px;line-height:1.7}
.ember-page :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--fs-accent);outline-offset:4px}
.ember-page :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-width:0;max-width:100%;min-height:44px;border:1px solid var(--fs-line);border-radius:12px;background:var(--fs-input);color:var(--fs-ink);padding:11px 14px}
.ember-page :where(input[type=checkbox],input[type=radio]){accent-color:var(--fs-accent);width:18px;height:18px;flex:none}
.ember-page :where(button,.button,.primary){white-space:normal;line-height:1.7;min-height:44px;border-radius:12px}
.ember-page button:not(.theme-toggle):not(.admin-tab){padding:10px 16px;border:1px solid var(--fs-line);background:var(--fs-solid);color:var(--fs-ink)}
.ember-page :where(.button.dark,.button.primary,button.primary,#start-trial,#new-project,#dialog-submit),.ember-page .billing-plan button {
 background:var(--fs-button)!important;color:var(--fs-button-ink)!important;border-color:transparent!important;
 box-shadow:0 4px 12px #d3541715;
}
.ember-page :where(button,.button):disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.ember-page .button:hover{transform:translateY(-1px)}
.ember-page :where(.eyebrow,.admin-kicker,.export-eyebrow){color:var(--fs-accent);font-size:11px;letter-spacing:.15em;line-height:1.8}
.ember-page :where(.app-header,.site-nav,.support-header){width:calc(100% - 48px);max-width:1400px;margin:20px auto;padding:16px 22px;border:1px solid var(--fs-line);border-radius:20px;background:var(--fs-panel);box-shadow:var(--fs-shadow);gap:20px;flex-wrap:wrap}
.ember-page .app-header nav{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.ember-page .app-header nav a{font-size:13px;padding:9px 12px;line-height:1.6}
.ember-page .app-header nav a[aria-current=page]{color:var(--fs-accent);background:var(--fs-accent-soft);box-shadow:none}
.ember-page .wordmark,.ember-page header>.brand{font:700 28px/1.2 Arial,sans-serif;color:var(--fs-ink);letter-spacing:-1.5px;overflow-wrap:normal}
.ember-page .theme-toggle{min-height:40px;width:40px;height:40px;background:var(--fs-solid);color:var(--fs-ink);border-color:var(--fs-line);padding:0}
.ember-page :where(.notice,.test-banner){border-radius:16px;padding:18px 22px;background:var(--fs-accent-soft);border:1px solid var(--fs-line);font-size:14px;color:var(--fs-ink);margin-block:18px}
.ember-page :where(.notice.error,.error){color:var(--fs-danger)!important}
.ember-page :where(.badge,.tag){background:var(--fs-accent-soft);color:var(--fs-accent)!important;border-color:var(--fs-line);font-size:12px;letter-spacing:0}
.ember-page :where(.muted,.billing-note,.billing-plan small,.billing-current p,.test-banner p,.tax,.footer-note,.role-help){color:var(--fs-muted)}
.ember-page :where(dialog){max-height:calc(100dvh - 40px);overflow:auto;background:var(--fs-raised);color:var(--fs-ink);border:1px solid var(--fs-line);border-radius:24px;box-shadow:0 24px 90px #24160940;padding:30px}
.ember-page dialog::backdrop{background:#25170f66;backdrop-filter:blur(5px)}
.ember-page dialog :where(input,textarea){width:100%}
.ember-page :where(.dialog-actions,.dialog-heading,.actions,.row-actions,.form-actions){gap:12px;flex-wrap:wrap;min-width:0}
/* Projects: calm canvas, compact navigation and one clear creation action. */
.ember-page .dash-rail{width:234px;background:#282521;color:#f7ecdf;border:0;padding:34px 20px;overflow-y:auto}
.ember-page .dash-rail .wordmark{color:#fff5e9;font-size:28px;padding-left:12px}
.ember-page .dash-rail .wordmark i{background:#ff9c57}
.ember-page .dash-rail nav{margin-top:44px;gap:6px}
.ember-page .dash-rail nav a{color:#d6c6b7;font-size:13px;line-height:1.7;padding:12px 14px;border-radius:12px}
.ember-page .dash-rail nav a:hover{background:#ffffff0a;color:#fff}
.ember-page .dash-rail nav a.active{background:#ff9c571d;color:#ffbc8d;border:1px solid #ffb07933}
.ember-page .rail-bottom{padding:22px 12px 0;border-top:1px solid #ffffff20;margin-top:auto}
.ember-page .rail-bottom small{font-size:11px;color:#cbb5a1}
.ember-page .rail-bottom progress{accent-color:#ff9951}
.ember-page .dash-main{margin-left:234px;min-width:0}
.ember-page .dash-top{height:auto;min-height:84px;padding:20px 36px;background:transparent;border-bottom:1px solid var(--fs-line);gap:18px;flex-wrap:wrap}
.ember-page .dash-top>span{font-size:11px;color:var(--fs-muted);letter-spacing:.1em}
.ember-page .dash-top-actions{display:flex;align-items:center;gap:14px;min-width:0}
.ember-page .user-pill{max-width:240px;font-size:13px;background:var(--fs-solid)}
.ember-page .dash-content{max-width:1440px;padding:38px 36px 64px}
.ember-page .workspace-location{display:flex;align-items:center;flex-wrap:wrap;font-size:13px;gap:12px;margin-bottom:26px}
.ember-page .workspace-location>span:nth-child(2){overflow-wrap:anywhere;min-width:0}
.ember-page .dash-title{display:flex;align-items:flex-start;flex-wrap:wrap;gap:24px;margin-bottom:24px}
.ember-page .dash-title>div:first-child{flex:1 1 320px;min-width:0}
.ember-page .dash-title h1{font-size:clamp(28px,3vw,42px);margin:0}
.ember-page .dash-title p:not(.eyebrow){font-size:13px}
.ember-page .dash-title .actions{flex:0 1 auto;justify-content:flex-end;margin:0;align-self:center}
.ember-page .dash-title .actions .button{font-size:13px;padding:11px 16px}
.ember-page .project-tools{background:var(--fs-panel);padding:16px 20px;border:1px solid var(--fs-line);border-radius:18px;gap:20px;margin:22px 0 18px;align-items:center}
.ember-page .project-tools label{width:430px;min-width:0;max-width:80%;font-size:12px}
.ember-page .project-tools label span{margin-bottom:6px}
.ember-page .project-tools input{background:var(--fs-bg)!important;font-size:14px}
.ember-page .project-tools>span{font-size:12px;padding:0}
.ember-page .projects-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:20px}
.ember-page .project-card{padding:15px;border-radius:22px;background:var(--fs-solid);border:1px solid var(--fs-line);box-shadow:var(--fs-shadow)}
.ember-page .project-card .project-icon{height:190px;background:linear-gradient(150deg,var(--fs-accent-soft),var(--fs-hover));border-radius:14px;margin-bottom:20px;color:var(--fs-accent)}
.ember-page .project-card h2{font-size:17px;line-height:1.7;padding-inline:4px}
.ember-page .project-card p{font-size:12px;padding-inline:4px}
.ember-page .card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px;padding-top:12px}
.ember-page .card-actions button{font-size:12px;min-height:38px;padding:7px 9px;background:transparent;border:0}
.ember-page .card-actions button:last-child{color:var(--fs-danger)}
.ember-page .empty-projects{background:var(--fs-solid);border:1px dashed var(--fs-line);border-radius:22px;padding:64px 24px}
.ember-page .empty-projects>span{color:var(--fs-accent)}
.ember-page #project-status{color:var(--fs-muted)}
/* Account, billing and teams share the same comfortable spacing. */
.ember-page .membership-card{max-width:920px;width:calc(100% - 48px);margin:40px auto 70px;padding:38px;border-radius:26px;background:var(--fs-solid);border:1px solid var(--fs-line);box-shadow:var(--fs-shadow)}
.ember-page .membership-card h1{font-size:clamp(28px,3.5vw,42px);margin:20px 0 8px;line-height:1.5}
.ember-page .membership-card>small{display:block;margin-top:28px;font-size:11px;color:var(--fs-accent);letter-spacing:.13em}
.ember-page .membership-card>p{overflow-wrap:anywhere;line-height:1.85}
.ember-page .member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}
.ember-page .member-grid p{margin:0;padding:24px;border-radius:16px;background:var(--fs-bg);color:var(--fs-muted);border:1px solid var(--fs-line);font-size:13px}
.ember-page .member-grid strong{display:block;font-size:26px;line-height:1.6;color:var(--fs-ink);font-weight:600;overflow-wrap:anywhere}
.ember-page .billing-shell{max-width:1240px;padding:28px 32px 72px}
.ember-page .billing-shell nav{gap:14px;flex-wrap:wrap;margin-bottom:24px;font-size:14px}
.ember-page :where(.billing-shell,.membership-card) nav[aria-label="ข้อมูลบริการ"]{justify-content:flex-start;margin-bottom:20px!important;padding-bottom:20px;border-bottom:1px solid var(--fs-line);font-size:12px!important}
.ember-page :where(.billing-shell,.membership-card) nav[aria-label="ข้อมูลบริการ"] a{padding:6px 10px;background:var(--fs-bg);border:1px solid var(--fs-line);border-radius:8px}
.ember-page .billing-shell a{color:var(--fs-ink)}
.ember-page .billing-shell h1{font-size:clamp(30px,4vw,50px);line-height:1.5;letter-spacing:-.03em;margin:16px 0 28px;font-weight:600}
.ember-page .billing-current{padding:26px 28px!important;border:1px solid var(--fs-line);border-radius:22px;background:var(--fs-solid);margin-top:20px;gap:24px}
.ember-page .billing-current>div{min-width:0}
.ember-page .billing-actions{max-width:440px;gap:12px}
.ember-page .billing-actions button{width:100%;font-size:14px;line-height:1.8}
.ember-page .billing-plan{padding:28px;border:1px solid var(--fs-line);border-radius:24px;background:var(--fs-solid);min-width:0;box-shadow:var(--fs-shadow)}
.ember-page .billing-plan.featured{border:2px solid var(--fs-accent);background:linear-gradient(155deg,var(--fs-accent-soft),var(--fs-solid) 40%)}
.ember-page .billing-plans{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ember-page .billing-plan h2{font-size:26px}
.ember-page .price{font-size:36px;line-height:1.6;font-weight:600}
.ember-page .billing-plan li{font-size:14px;margin-bottom:12px}
.ember-page .team-shell{max-width:1240px;padding:24px 32px 64px}
.ember-page .team-shell>header{padding:24px 0}
.ember-page :where(.team-panel,.workspace-card,.join-shell){background:var(--fs-solid);border:1px solid var(--fs-line);border-radius:22px;box-shadow:var(--fs-shadow)}
.ember-page .workspace-card{padding:24px}
.ember-page .workspace-card.selected{border-color:var(--fs-accent);box-shadow:inset 0 3px 0 var(--fs-accent)}
.ember-page .team-stats article{background:var(--fs-accent-soft);padding:24px;border:1px solid var(--fs-line);border-radius:18px}
.ember-page .team-panel{padding:28px}
.ember-page :where(.team-stats span,.team-stats small,.workspace-card p,.person small,.audit-row small){color:var(--fs-muted);font-size:13px}
.ember-page .team-shell label{color:var(--fs-ink)}
.ember-page :where(.member-row,.invite-row,.audit-row){border-color:var(--fs-line)}
.ember-page .invite-result{background:var(--fs-accent-soft)}
.ember-page .join-shell{max-width:700px;width:calc(100% - 40px);margin:40px auto;padding:36px}
/* Public information, forms, policy and exports. */
.ember-page :where(.price-card,.help-grid article,.contact-panel,.message-panel){background:var(--fs-solid);border:1px solid var(--fs-line);border-radius:24px;box-shadow:var(--fs-shadow)}
.ember-page .price-card.featured{border:2px solid var(--fs-accent);background:linear-gradient(150deg,var(--fs-accent-soft),var(--fs-solid) 50%)}
.ember-page .trial-callout{background:var(--fs-accent-soft);border-radius:22px}
.ember-page .price-card h2{line-height:1.5;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;letter-spacing:-.04em}
.ember-page .price-card h2 small{white-space:normal}
.ember-page .support-header nav{flex-wrap:wrap}
.ember-page .contact-note{background:var(--fs-accent-soft)}
.ember-policy .layout{grid-template-columns:240px minmax(0,1fr);gap:32px}
.ember-policy>header{max-width:1400px;margin:20px auto;border:1px solid var(--fs-line);border-radius:20px;width:calc(100% - 48px);background:var(--fs-panel);padding:20px 24px;flex-wrap:wrap}
.ember-policy>header nav{flex-wrap:wrap}
.ember-policy article{border-radius:24px;box-shadow:var(--fs-shadow);padding:38px;background:var(--fs-solid);line-height:1.95}
.ember-policy .tabs a[aria-current]{background:var(--fs-button);color:var(--fs-button-ink)}
.ember-policy .layout aside{padding:20px;background:var(--fs-accent-soft);border:1px solid var(--fs-line);border-radius:18px}
.ember-page .consent-card{width:calc(100% - 40px);max-width:850px;padding:36px;background:var(--fs-solid);border:1px solid var(--fs-line);border-radius:24px;margin:38px auto}
.ember-page .consent-card h1{font-size:clamp(27px,3vw,38px)}
.ember-page .consent-card nav{font-size:13px;gap:12px}
.ember-page .consent-card nav a{padding:8px 12px;border:1px solid var(--fs-line);border-radius:10px}
.ember-page .consent-card form[action="accept-terms.php"] button{background:var(--fs-button);color:var(--fs-button-ink)}
.ember-page .history details{padding:14px 0;border-bottom:1px solid var(--fs-line)}
.ember-page .export-preview-toolbar{background:var(--fs-solid);border-color:var(--fs-line);gap:14px;flex-wrap:wrap}
.ember-page :where(.export-state,.export-ready){border-radius:24px;background:var(--fs-solid);border-color:var(--fs-line)}
/* Administration keeps semantic state colors and scrollable data tables. */
.ember-page .admin-side{background:#282521;color:#f7ecdf;border:0}
.ember-page .admin-side .wordmark{color:#fff5e9}
.ember-page .admin-side .admin-kicker{color:#ffb17b}
.ember-page .admin-tab{color:#d6c6b7;background:transparent;border-radius:12px;white-space:normal}
.ember-page .admin-tab.active{background:#ff9c571d;color:#ffbc8d}
.ember-page :where(.admin-panel,.admin-stats article,.ops-shell .notes,.ops-shell .card){background:var(--fs-solid);border:1px solid var(--fs-line);border-radius:20px;box-shadow:var(--fs-shadow)}
.ember-page .admin-stats article{padding:24px}
.ember-page :where(.admin-muted,.admin-stats small,.admin-panel-head p,.admin-footnote){color:var(--fs-muted)}
.ember-page :where(.admin-heading,.admin-panel-head){gap:20px;flex-wrap:wrap}
.ember-page .admin-table-wrap{max-width:100%;overflow:auto}
.ember-page :where(td,th){border-color:var(--fs-line)}
.ember-page .admin-table-wrap th{background:var(--fs-hover);color:var(--fs-muted)}
.ember-page .admin-table-wrap td{color:var(--fs-ink)}
@media(min-width:1550px){.ember-page .projects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){
 .ember-page .app-header nav{order:3;width:100%;border-top:1px solid var(--fs-line);padding-top:12px}
 .ember-page .app-header>.theme-toggle{margin-left:auto}
 .ember-page .dash-title .actions{justify-content:flex-start}
 .ember-page .workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ember-page .billing-plans{grid-template-columns:1fr}
}
@media(max-width:760px){
 .ember-page :where(.app-header,.site-nav,.support-header),.ember-policy>header{width:calc(100% - 24px);margin:12px;padding:16px;border-radius:16px;gap:14px}
 .ember-page .app-header nav{display:flex!important;gap:4px}
 .ember-page .app-header nav a{font-size:12px;padding:8px}
 .ember-page .dash-rail{position:static;width:auto;max-height:none;padding:20px 18px}
 .ember-page .dash-rail nav{display:flex;flex-wrap:wrap;overflow:visible;gap:4px;margin-top:20px}
 .ember-page .dash-rail nav a{font-size:12px;padding:9px 10px;white-space:normal}
 .ember-page .dash-main{margin-left:0}
 .ember-page .rail-bottom{display:none}
 .ember-page .dash-top{padding:16px 20px;min-height:70px}
 .ember-page .dash-top>span{font-size:10px}
 .ember-page .dash-content{padding:26px 20px 48px}
 .ember-page .user-pill{max-width:180px}
 .ember-page .dash-title{gap:14px}
 .ember-page .dash-title>div:first-child{flex-basis:100%}
 .ember-page .dash-title .actions{width:100%;gap:8px}
 .ember-page .dash-title .actions .button{font-size:12px;padding:10px 12px;flex:1 1 auto}
 .ember-page .project-tools{padding:14px;gap:12px}
 .ember-page .project-tools label{max-width:75%}
 .ember-page .project-card .project-icon{height:180px}
 .ember-page :where(.billing-shell,.team-shell){padding:24px 20px 48px}
 .ember-page .billing-current{padding:22px!important;align-items:stretch;flex-direction:column}
 .ember-page .billing-actions{max-width:none}
 .ember-page .membership-card{width:calc(100% - 40px);padding:24px;margin:24px 20px 48px}
 .ember-page :where(.workspace-grid,.member-grid,.team-stats){grid-template-columns:1fr}
 .ember-page :where(.team-panel,.join-shell,.consent-card){padding:24px}
 .ember-page .member-grid strong{font-size:24px}
 .ember-page .button{font-size:14px;min-height:44px}
 .ember-page .person strong{font-size:14px}
 .ember-policy .layout{grid-template-columns:1fr}
 .ember-policy .layout aside{position:static}
 .ember-policy article{padding:24px}
 .ember-page .consent-card h1{font-size:28px}
 .ember-page :where(.section-heading,.trial-callout){gap:20px}
}
@media print{body.ember-page{background:#fff;color:#000}.ember-policy article{border:0;box-shadow:none;padding:0}}
@media(prefers-reduced-motion:reduce){.ember-page .button:hover{transform:none}}
/* Correct inherited legacy card paint and avoid empty status containers. */
.ember-page .rail-bottom{background:#ffffff08;color:#f7ecdf;border:1px solid #ffffff20;border-radius:18px;padding:18px 14px;margin-top:auto}
.ember-page .rail-bottom p{color:#f7ecdf}.ember-page .rail-bottom small{color:#d6c6b7}
.ember-page :is(#member-status,#project-status,#billing-status):empty{display:none}
.ember-page h1,.ember-page h2,.ember-page h3{color:var(--fs-ink)}
.ember-page :where(.membership-card,.billing-current,.billing-plan,.team-panel,.workspace-card,.join-shell,.consent-card,.admin-panel,.admin-stats article){color:var(--fs-ink)}
/* Account access and recovery retain their original form controls and consent fields. */
.ember-auth .auth-header{max-width:1400px;margin:auto;padding:26px 40px;display:flex;justify-content:space-between;align-items:center}
.ember-auth .login-shell{max-width:1240px;margin:auto;min-height:calc(100dvh - 100px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:70px;padding:30px 40px 70px}
.ember-auth .intro{padding:42px 0;min-width:0}
.ember-auth .intro .brand{font-size:10px;letter-spacing:.13em;color:var(--fs-accent)}
.ember-auth .intro h1{font-size:clamp(34px,3.7vw,52px);line-height:1.5;margin:28px 0 20px}
.ember-auth .intro h1 span{color:var(--fs-accent)}
.ember-auth .intro p{font-size:15px;color:var(--fs-muted);line-height:1.9}
.ember-auth .auth-model{max-width:340px;margin:32px 0;color:var(--fs-accent);border:1px solid var(--fs-line);border-radius:26px;background:radial-gradient(ellipse,var(--fs-accent-soft),transparent 70%),var(--fs-solid);padding:24px;transform:rotate(-3deg)}
.ember-auth .auth-model svg{width:100%;height:180px}.ember-auth .auth-model span{font-size:9px;color:var(--fs-muted)}
.ember-auth .card{border:1px solid var(--fs-line);background:var(--fs-solid);color:var(--fs-ink);border-radius:26px;padding:34px;box-shadow:var(--fs-shadow);min-width:0}
.ember-auth .card h2{font-size:28px;line-height:1.6;margin:12px 0 8px}
.ember-auth .card p{font-size:14px;line-height:1.9;color:var(--fs-muted)}
.ember-auth .card>small{font-size:10px;letter-spacing:.12em;color:var(--fs-accent)}
.ember-auth .auth-tabs{display:flex;gap:8px;margin:26px 0;padding:5px;border-radius:14px;background:var(--fs-bg);border:1px solid var(--fs-line)}
.ember-auth .auth-tabs a{flex:1;padding:10px 12px;text-align:center;border-radius:10px;font-size:14px;color:var(--fs-muted)}
.ember-auth .auth-tabs [aria-current]{background:var(--fs-solid);color:var(--fs-accent);box-shadow:0 3px 8px #42241109}
.ember-auth .auth-form label{font-size:14px;color:var(--fs-ink);display:block;margin-bottom:20px;line-height:1.8}
.ember-auth .auth-form input:not([type=checkbox]):not([type=hidden]){display:block;width:100%;margin-top:8px;min-height:48px;background:var(--fs-input);border:1px solid var(--fs-line);border-radius:12px;padding:12px 14px;font-size:15px}
.ember-auth .password-field{display:flex;position:relative;align-items:center}
.ember-auth .password-field input{padding-right:76px!important}
.ember-auth .password-field .password-toggle{position:absolute;right:6px;top:13px;margin:0;min-height:36px;font-size:12px;padding:6px 10px;border:0;background:var(--fs-hover);color:var(--fs-ink)}
.ember-auth .auth-form>.primary{width:100%;display:flex;justify-content:space-between;align-items:center;margin:18px 0 0;min-height:48px;background:var(--fs-button);color:var(--fs-button-ink);font-size:15px}
.ember-auth .google{background:var(--fs-solid);color:var(--fs-ink);border:1px solid var(--fs-line);min-height:48px;margin:16px 0;font-size:14px;line-height:1.7}
.ember-auth .google span{color:var(--fs-ink)}
.ember-auth .auth-or{color:var(--fs-muted);font-size:12px;text-align:center;margin:22px 0 0}
.ember-auth .card .note,.ember-auth .card .auth-hint{font-size:12px;line-height:1.9}
.ember-auth .card nav[aria-label="ข้อมูลบริการ"]{gap:10px!important;line-height:1.9;margin:20px 0}
.ember-auth .card nav[aria-label="ข้อมูลบริการ"] a{font-size:12px}
.ember-auth .divider{border-color:var(--fs-line)}
.ember-auth .recovery-shell{max-width:660px;margin:30px auto;padding:24px}
.ember-auth .recovery-shell h1{font-size:32px;line-height:1.5}
.ember-auth .recovery-shell .card{padding:34px}
.ember-page.ember-import-3d .import-card{background:var(--fs-solid);border-color:var(--fs-line);border-radius:24px;padding:28px}
.ember-page.ember-import-3d .drop-zone{border-color:var(--fs-accent);background:var(--fs-accent-soft);padding:36px 18px;line-height:1.9;text-align:center}
.ember-page.ember-import-3d .import-shell{max-width:1240px;padding:30px 32px 64px}
.ember-page.ember-import-3d .import-shell input[type=file]{width:100%}
.ember-page.ember-import-3d .import-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ember-page.ember-import-3d #save{background:var(--fs-button);color:var(--fs-button-ink)}
.ember-page.ember-export-jobs>main{max-width:1200px!important;margin:36px auto!important;padding:28px 32px!important}
.ember-page.ember-export-jobs nav[aria-label="ข้อมูลบริการ"]{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid var(--fs-line);justify-content:flex-start;gap:14px}
.ember-page.ember-export-jobs #jobs>p{padding:22px;border-radius:20px;background:var(--fs-solid);border:1px solid var(--fs-line);color:var(--fs-ink);gap:16px;flex-wrap:wrap}
.ember-page.ember-admin-billing{--bg:var(--fs-bg);--panel:var(--fs-solid);--soft:var(--fs-accent-soft);--danger:var(--fs-danger)}
.ember-page.ember-admin-billing .bar{padding:22px 32px;gap:24px;flex-wrap:wrap;background:var(--fs-solid);border-color:var(--fs-line)}
.ember-page.ember-admin-billing .bar .brand span{color:var(--fs-accent)}
.ember-page.ember-admin-billing :is(.stats article,.panel){border-radius:22px;background:var(--fs-solid);border-color:var(--fs-line)}
.ember-page.ember-admin-billing :is(.heading,.section-head,#filters){flex-wrap:wrap;gap:16px}
.ember-page.ember-admin-billing .who{flex-shrink:1}
.ember-page.ember-admin-alerts .status-meta span{background:var(--fs-solid);border-color:var(--fs-line);color:var(--fs-muted)}
.ember-page :is(.ops-shell .summary,.ops-shell .card,.ops-shell .notes){border-color:var(--fs-line)}
.ember-page.ember-admin-alerts .ops-refresh{background:var(--fs-button);color:var(--fs-button-ink)}
@media(max-width:950px){.ember-auth .login-shell{gap:36px;padding:24px}.ember-auth .intro h1{font-size:36px}.ember-auth .card{padding:26px}}
@media(max-width:760px){
 .ember-auth .auth-header{padding:20px 24px}
 .ember-auth .login-shell{display:block;padding:8px 20px 40px;min-height:0}
 .ember-auth .intro{padding:12px 4px 28px}
 .ember-auth .intro h1{font-size:30px;margin:14px 0;line-height:1.5}
 .ember-auth .intro h1 br{display:none}.ember-auth .intro h1 span{display:block}
 .ember-auth .intro p{font-size:14px}.ember-auth .auth-model{display:none}
 .ember-auth .card{padding:24px;border-radius:22px}
 .ember-auth .card h2{font-size:26px}.ember-auth .auth-tabs a{font-size:13px}
 .ember-auth .recovery-shell{margin:8px auto;padding:20px}
 .ember-auth .recovery-shell .card{padding:24px}.ember-auth .recovery-shell h1{font-size:28px}
 .ember-page.ember-import-3d .import-shell{padding:22px 20px 48px}.ember-page.ember-import-3d .import-card{padding:22px}
 .ember-page.ember-import-3d .import-shell header{gap:18px;flex-wrap:wrap}
 .ember-page.ember-export-jobs>main{margin:18px auto!important;padding:22px 20px!important}
 .ember-page.ember-admin-billing .bar{padding:22px}.ember-page.ember-admin-billing .bar nav{flex-basis:100%;gap:16px}
 .ember-page.ember-admin-billing .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ember-page.ember-admin-billing .panel{padding:20px}.ember-page.ember-admin-billing main{padding:26px 20px}
 .ember-page.ember-admin-billing #filters label{width:100%;min-width:0}
 .ember-page.ember-admin-billing #filters select{min-width:0;width:100%}
 .ember-page.ember-admin-billing .who{text-align:left}
}
/* Export rows are generated as sections by the existing export-jobs client. */
body.ember-export-jobs #jobs>section{background:var(--fs-solid);border:1px solid var(--fs-line);border-radius:20px;margin:18px 0;padding:24px!important;overflow-wrap:anywhere}

/* Text-bearing links must use the same content alignment as actual buttons. */
.ember-page a.button,.ember-page a.primary{display:inline-flex;align-items:center;justify-content:center;height:auto;line-height:1.7;white-space:normal;max-width:100%;text-align:center}
.ember-page .theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:1}
.ember-page .theme-toggle svg{width:20px;height:20px;flex:none}
.ember-page .theme-toggle .sun,.ember-page .theme-toggle .moon{flex:none}
