/* Settings and file surfaces shared by the local and direct-base renderers.
   No text, status, permissions, fields or handlers are replaced. */
html[data-design=glacier][data-theme=light] .h-settings-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
html[data-design=glacier][data-theme=light] .h-settings-grid>.panel {min-width:0;padding:28px}
html[data-design=glacier][data-theme=light] .h-settings-grid h2 {font-size:22px;line-height:1.35;margin-bottom:16px}
html[data-design=glacier][data-theme=light] .h-settings-grid p {line-height:1.75;overflow-wrap:anywhere;max-width:70ch}
html[data-design=glacier][data-theme=light] .h-settings-grid .btn {margin:12px 8px 4px 0;white-space:normal;text-align:left}
html[data-design=glacier][data-theme=light] .w-settings-index {display:flex;flex-wrap:wrap;gap:6px;padding:10px}
html[data-design=glacier][data-theme=light] .w-settings-index button {white-space:normal;text-align:left;line-height:1.5;padding:10px 16px}
html[data-design=glacier][data-theme=light] [data-workspace=settings] :is(.acc-me,.acc-row,.flex,.ops-mailbox) {flex-wrap:wrap;gap:12px}
html[data-design=glacier][data-theme=light] [data-workspace=settings] :is(.acc-me,.acc-row)>div {min-width:0;overflow-wrap:anywhere}
html[data-design=glacier][data-theme=light] :is(.h-warning,.form-error:not(:empty),.intake-error) {color:#873c25;background:#fff0e8;border-radius:14px;padding:14px 16px;line-height:1.6;overflow-wrap:anywhere}
html[data-design=glacier][data-theme=light] :is(.modal,.drawer) :is(.form-footer,.photo-actions) {flex-wrap:wrap;gap:10px}
html[data-design=glacier][data-theme=light] :is(.modal,.drawer) :is(.grow,.field,.detail-section) {min-width:0}
html[data-design=glacier][data-theme=light] .intake {gap:20px}
html[data-design=glacier][data-theme=light] .intake-lead {line-height:1.75;color:#355c69}
html[data-design=glacier][data-theme=light] .intake-drop {padding:38px 24px;border:1px dashed #789ba8;border-radius:24px;background:linear-gradient(135deg,#fff,#e4f2f5);box-shadow:none;min-width:0}
html[data-design=glacier][data-theme=light] .intake-drop b {font-size:18px;line-height:1.5;font-weight:600}
html[data-design=glacier][data-theme=light] .intake-drop span {color:#4e6b75;line-height:1.7}
html[data-design=glacier][data-theme=light] .intake-drop input {width:100%;height:100%}
html[data-design=glacier][data-theme=light] .intake-drop:is(:hover,.over,:focus-within) {border-color:#08778e;background:#deeff3}
html[data-design=glacier][data-theme=light] .intake-drop:focus-within {outline:3px solid #08778e;outline-offset:4px}
html[data-design=glacier][data-theme=light] :is(.intake-files,.intake-docs,.intake-owners) li {padding:14px 16px;gap:12px;border:0;border-radius:16px;background:#e8f2f4;line-height:1.6}
html[data-design=glacier][data-theme=light] .intake-files li.failed {background:#fff0e8;color:#873c25}
html[data-design=glacier][data-theme=light] .intake-files li.failed .small {color:#873c25}
html[data-design=glacier][data-theme=light] .intake-files .btn {min-height:40px;flex-shrink:0}
html[data-design=glacier][data-theme=light] :is(.intake-docs select,.doc-row select,.plan-title) {background:#fff;color:#123842;border:1px solid #b5cfd7;border-radius:12px;padding:10px 12px;min-height:42px;min-width:0;max-width:100%}
html[data-design=glacier][data-theme=light] .intake-note {color:#875015}
html[data-design=glacier][data-theme=light] .intake-table tr.doubt td:nth-child(2) {box-shadow:none;background:#fff0db}
html[data-design=glacier][data-theme=light] .intake-banner {background:#e2f0f3;color:#214b58;border:0;border-radius:16px;padding:16px}
html[data-design=glacier][data-theme=light] :is(.photos-grid,.plans-grid) {gap:16px}
html[data-design=glacier][data-theme=light] :is(.photo-card,.plan-card) {min-width:0;border:0;border-radius:20px;background:#fff;overflow:hidden;box-shadow:var(--glacier-shadow)}
html[data-design=glacier][data-theme=light] :is(.photo-card,.plan-card) figcaption {padding:14px;display:grid;gap:10px}
html[data-design=glacier][data-theme=light] .photo-main {background:var(--glacier-solar);color:#3b290c;border-radius:20px}
html[data-design=glacier][data-theme=light] .photo-q {line-height:1.6;white-space:normal}
html[data-design=glacier][data-theme=light] .photo-q--ok {color:#34604c}
html[data-design=glacier][data-theme=light] .photo-q--moyen {color:#875015}
html[data-design=glacier][data-theme=light] .photo-q--faible {color:#873c25}
html[data-design=glacier][data-theme=light] .photo-actions .text-btn {min-height:36px;padding:6px 10px;border-radius:18px;background:#eaf3f5}
html[data-design=glacier][data-theme=light] .doc-row {min-width:0;gap:12px;padding:16px 0;border-color:#c5d9df;flex-wrap:wrap}
html[data-design=glacier][data-theme=light] .doc-row .grow {flex:1 1 220px}
html[data-design=glacier][data-theme=light] .doc-row :is(.doc-type,.plan-pdf) {background:#deeff2;color:#21576a;border-radius:14px}
html[data-design=glacier][data-theme=light] .doc-public {display:flex;align-items:center;gap:8px;min-height:40px;color:#355c69}
html[data-design=glacier][data-theme=light] .photos-progress {display:block;margin-top:12px;line-height:1.6;color:#355c69}
html[data-design=glacier][data-theme=light] label[data-glacier-upload] {cursor:pointer;white-space:normal;line-height:1.6;max-width:100%}
html[data-design=glacier][data-theme=light] label[data-glacier-upload]:has(input:disabled) {opacity:.5;cursor:not-allowed}
@media(max-width:760px) {
 html[data-design=glacier][data-theme=light] .h-settings-grid {grid-template-columns:minmax(0,1fr);gap:18px}
 html[data-design=glacier][data-theme=light] .h-settings-grid>.panel {padding:22px}
 html[data-design=glacier][data-theme=light] .h-settings-grid h2 {font-size:20px}
 html[data-design=glacier][data-theme=light] :is(.photos-grid,.plans-grid) {grid-template-columns:minmax(0,1fr)}
 html[data-design=glacier][data-theme=light] .intake-drop {padding:26px 18px}
 html[data-design=glacier][data-theme=light] .intake-drop b {font-size:16px}
 html[data-design=glacier][data-theme=light] :is(.intake-files,.intake-docs,.intake-owners) li {flex-wrap:wrap}
 html[data-design=glacier][data-theme=light] .doc-row .grow {flex-basis:calc(100% - 64px)}
 html[data-design=glacier][data-theme=light] .doc-row select {width:100%;flex-basis:100%}
 html[data-design=glacier][data-theme=light] :is(.modal,.drawer) :is(input:not([type=checkbox]):not([type=file]),textarea,select) {font-size:16px}
}
@media(prefers-reduced-transparency:reduce) {
 html[data-design=glacier][data-theme=light] .intake-drop {background:#edf6f8}
}
