/* Approved team/access screen: compact surfaces, aligned actions, restrained gold. */
.mail-workspace{max-width:640px;margin:auto;color:var(--ink);font-size:13px}
#dialog:has(.mail-workspace){width:min(700px,calc(100vw - 28px));padding:22px;border-radius:16px}
.compact-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.compact-heading .caption{margin:0 0 5px;color:var(--accent);font-size:10px;letter-spacing:.14em}
.compact-heading h2{margin:0;font-size:22px;line-height:1.3}
.compact-symbol{display:grid;place-items:center;flex:0 0 42px;height:42px;border:1px solid var(--line);border-radius:12px;color:var(--accent);background:var(--back);font-size:22px}
.compact-notice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--back);margin-bottom:18px}
.compact-notice p{margin:0;color:var(--muted);line-height:1.5}
.compact-badge{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));border-radius:7px;font-size:10px;color:var(--accent);white-space:nowrap}
.compact-toolbar,.compact-result header{display:flex;align-items:center;gap:8px;justify-content:space-between}



.compact-toolbar{justify-content:flex-end;flex-wrap:wrap}.compact-toolbar button{min-height:38px;padding:8px 14px}.mail-channel{margin-right:auto;font-size:11px}
.mail-workspace .form-error:empty{display:none}.mail-history{margin-top:20px}.mail-history>summary,.mail-help>summary{cursor:pointer;padding:6px 0;font-weight:600}.mail-history>div{max-height:220px;overflow:auto}.compact-count{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:3px 6px;margin-left:5px;color:var(--muted)}
.compact-result{padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:12px;background:var(--back);overflow-wrap:anywhere}.compact-result p{color:var(--muted);font-size:12px;margin:7px 0}.compact-result small{color:var(--muted);font-size:10px}.mail-help{margin-top:12px;color:var(--muted);font-size:12px}.mail-help p{line-height:1.6}.mail-workspace .is-ready{color:var(--green)}.mail-workspace .is-error{color:var(--odak-negative)}
.all-stores-intro{padding:18px 20px;gap:10px;margin-bottom:12px}.all-stores-intro h2{font-size:24px;margin:6px 0 10px}.all-stores-intro p:last-child{margin-bottom:0}.all-store-import-filter{padding:12px 16px;margin:0 0 16px;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.all-stores-cards{gap:12px!important}.all-stores-cards .all-store-card{min-height:154px;padding:16px 18px}.all-stores-cards .home-number{font-size:clamp(24px,2.1vw,32px);margin:8px 0 10px}.all-stores-breakdown{gap:5px!important;font-size:11px!important;line-height:1.5}
.all-store-step-shell.has-document .all-step-head{padding-right:148px}.all-store-step{padding:16px!important;min-height:148px!important}.all-step-doc-actions{flex-wrap:wrap;max-width:144px}.mail-send-result{flex-basis:100%;font-size:10px;color:var(--muted);text-align:right;overflow-wrap:anywhere}.all-store-document .all-step-doc-icon{vertical-align:middle}.all-stores-store-grid{gap:12px}.all-stores-store-grid>.panel{padding:16px}.all-stores-store-grid h3{font-size:15px;margin:0 0 8px}
@media(max-width:640px){#dialog:has(.mail-workspace){padding:16px}.compact-heading h2{font-size:19px}.compact-notice{align-items:flex-start;flex-direction:column;gap:7px}.mail-channel{flex-basis:100%;margin-bottom:5px}.compact-result header{align-items:flex-start;flex-wrap:wrap}.all-stores-intro{padding:16px}.all-stores-intro h2{font-size:21px}.all-store-import-filter{align-items:stretch;display:grid;grid-template-columns:1fr}.all-store-import-filter>*{min-width:0;width:100%;box-sizing:border-box}.all-stores-cards .all-store-card{padding:14px;min-height:156px}.all-stores-cards .home-number{font-size:25px}.all-store-step-shell.has-document{display:block;padding-bottom:54px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.all-store-step-shell.has-document>.all-store-step{border:0;background:transparent;border-radius:14px 14px 0 0}.all-store-step-shell.has-document .all-step-head{padding-right:0}.all-step-doc-actions{top:auto;bottom:10px;right:12px;max-width:none}.all-step-doc-icon{width:40px;height:40px;min-height:40px;flex-basis:40px}.mail-send-result{flex-basis:auto;max-width:125px;align-self:center}}

/* Keep typography and controls aligned with the approved user-management rows. */
body.odak .global-topbar .store-picker select{appearance:none;background:transparent!important;color:var(--ink)!important}
body.odak .all-store-import-filter select{appearance:none;background:var(--back)!important;color:var(--ink)!important;border-color:var(--line);padding-right:30px}
body.odak .all-stores-cards .home-card{border-radius:14px;background:linear-gradient(135deg,#ffffff08,transparent 64%),var(--panel);box-shadow:inset 0 1px 0 #ffffff09}
body.odak .all-stores-cards>.all-store-card{gap:3px;min-height:154px}
body.odak .all-stores-cards>.all-store-card:is([data-all-metric$="Revenue"],[data-all-metric="revenue"]){grid-column:span 1}
body.odak .all-stores-cards>.all-store-card:is([data-all-metric$="Revenue"],[data-all-metric="revenue"]) .home-number{font-size:clamp(20px,1.9vw,28px);word-break:normal}
.all-store-step-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.all-store-step{min-height:128px!important}
@media(max-width:1000px){.all-store-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 body.odak main:has(.all-stores-intro)>header.odak-home-heading{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin-bottom:16px}
 body.odak main:has(.all-stores-intro)>header.odak-home-heading h1{font-size:24px}
 body.odak .all-store-import-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px}
 .all-store-import-filter>.workflow-cover{grid-column:1/-1}
 body.odak .all-store-import-filter select{width:100%;min-width:0;min-height:42px;padding:9px;font-size:12px}
 .all-store-import-filter>label:not(.workflow-cover){font-size:10px;display:flex;flex-direction:column;gap:6px}
 .all-store-import-filter>.all-brand-picker{align-self:end;margin:0}.all-brand-picker>summary{min-height:42px;font-size:11px;padding:9px;line-height:1.5}
 body.odak .all-stores-intro h2{font-size:19px}.all-stores-intro .caption{font-size:9px}.all-stores-intro>div>p:last-child{font-size:11px}
 body.odak .all-stores-cards>.all-store-card{min-height:142px}
 body.odak .all-stores-cards>.all-store-card:is([data-all-metric$="Revenue"],[data-all-metric="revenue"]){grid-column:1/-1;min-height:126px}
 .all-store-step-grid{grid-template-columns:minmax(0,1fr)}.all-store-step{min-height:116px!important}
}

body.odak .all-stores-cards>.all-store-card{border:1px solid var(--line)}
body.odak .all-stores-cards>.all-store-card:hover{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}

/* Order filters belong to the same operation card as their import action. */
body.odak .all-stores-intro>.all-store-import-filter{flex:1 0 100%;width:100%;min-width:0;margin:6px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
