.company-shell .company-app{min-height:calc(100dvh - 80px)}
.company-shell #company-sidebar{top:80px;height:calc(100dvh - 80px)}
.company-shell .org strong,.company-shell .account strong{overflow-wrap:anywhere}
.company-shell .account a{display:flex;align-items:center;min-height:44px;margin-bottom:10px}
.company-shell .status:empty{display:none}
.company-shell .company-entry{margin:36px auto;max-width:850px}
.company-shell .company-entry .heading h1{margin:0;font-size:clamp(30px,4vw,42px)}
.company-shell .company-entry footer{margin-top:28px}
.company-shell form{display:grid;gap:16px;margin:20px 0;max-width:900px}
.company-shell label{display:grid;gap:6px;font-size:13px;color:var(--ieta-muted);min-width:0}
.company-shell .theme-label{display:flex;font-size:13px}
.company-shell input,.company-shell select,.company-shell textarea{font:inherit;width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 12px;border-radius:8px;border:1px solid var(--ieta-line);background:var(--ieta-control);color:var(--ieta-text)}
.company-shell .theme-label select{width:auto}
.company-shell textarea{min-height:110px;resize:vertical}
.company-shell button{max-width:100%}
.company-shell form>button[type=submit],.company-shell .company-entry form>button{justify-self:start;background:var(--ieta-pri);color:var(--ieta-on-pri);border-color:transparent}
.company-shell input[type=checkbox]{width:20px;min-height:20px;height:20px;margin-right:12px}
.company-shell select[multiple]{min-height:120px}
.company-shell small{color:var(--ieta-muted)}
.company-shell article{display:flex;flex-wrap:wrap;align-items:end;gap:12px;border:1px solid var(--ieta-line);border-radius:16px;background:var(--ieta-panel);padding:20px;margin:16px 0;overflow-wrap:anywhere}
.company-shell article>p,.company-shell article>h3{flex:1 0 100%;margin:0}
.company-shell article>label{flex:1 1 190px}
.company-shell article button{align-self:end}
.company-shell [data-company-business]>header{background:var(--ieta-soft);border:1px solid var(--ieta-line);border-radius:12px;padding:14px 18px;font-size:13px;margin-bottom:24px}
.company-shell [data-company-business]>header h2{font-size:18px;margin:0 0 8px}
.company-shell [data-company-business]>header p{margin:4px 0;color:var(--ieta-muted)}
.company-shell [data-company-business] h2{font-size:21px;line-height:1.25}
.company-shell [data-company-business] h3{font-size:16px}
.company-shell [data-company-business] .business-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:18px;margin:18px 0}
.company-shell [data-company-business] .business-cards p{background:var(--ieta-panel);border:1px solid var(--ieta-line);border-radius:16px;padding:24px;margin:0;font-weight:700;overflow-wrap:anywhere}
.company-shell [data-company-business] dl{overflow-wrap:anywhere}
.company-shell [data-company-business] dt{font-weight:700;color:var(--ieta-muted)}
.company-shell [data-company-business] dd{margin:4px 0 16px;padding:12px;background:var(--ieta-soft);border-radius:8px}
.company-shell [data-company-business] aside{position:static;display:block;height:auto;width:auto;overflow:visible;border:0;border-left:3px solid var(--ieta-pri);background:var(--ieta-soft);padding:14px 18px;margin-bottom:18px}
.company-shell [data-company-business] details{margin:24px 0;border-top:1px solid var(--ieta-line);padding-top:16px}
.company-shell [data-company-business] summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--ieta-muted)}
.company-shell [data-company-business]>nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.company-shell [data-company-business]>nav a{border:1px solid var(--ieta-line)}
.company-shell [role=status]{overflow-wrap:anywhere}
.company-shell [role=status] input{display:block;width:100%}
.company-shell fieldset{min-width:0;border:1px solid var(--ieta-line);border-radius:10px}
.company-shell .quote-line{border-bottom:1px solid var(--ieta-line);padding:14px 0;display:grid;gap:10px}
.company-shell .scrim{border-radius:0}
@media(min-width:861px){#company-menu{display:none}}
@media(max-width:860px){.company-shell .top{padding:12px 14px;gap:8px}.company-shell .brand{max-width:130px;min-width:80px}.company-shell .theme-label{font-size:0}.company-shell .theme-label select{font-size:12px;max-width:94px}.company-shell #company-menu{display:block;font-size:12px;min-width:44px;padding:9px}.company-shell #company-sidebar{top:80px;height:calc(100dvh - 80px)}.company-shell .company-entry{margin:24px 14px;padding:28px 22px}.company-shell .heading h1{font-size:29px}.company-shell article label{flex:1 1 100%}.company-shell article button{width:100%}}
@media(max-width:380px){.company-shell .brand{max-width:104px}.company-shell .theme-label select{max-width:86px}.company-shell #company-menu{font-size:11px;padding:8px}}

.company-shell .company-entry form small{font-size:12px;font-weight:400;letter-spacing:normal;color:var(--ieta-muted)}

/* Native company Communications keeps addresses and reviewed plain text within the mobile page. */
.company-hub { min-width:0; overflow-wrap:anywhere; }
.company-hub pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; }
.company-hub section { min-width:0; }
.company-hub fieldset { min-width:0; }
/* Campaign review must preserve subject/body reading order on wide screens. */
.company-shell [data-module="campaigns"] article { display:block; }

/* Ownership instructions and proof history retain their reading order on every viewport. */
.company-domains{min-width:0;overflow-wrap:anywhere}
.company-domains article{display:block}
.company-domains pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}

.company-automations{min-width:0;overflow-wrap:anywhere}.company-automations article{display:block}.company-automations fieldset{min-width:0;margin:1rem 0}.company-automations select[multiple]{min-height:7rem}.company-automations ol{padding-left:1.5rem}.company-automations button{white-space:normal}
