/* Local mail, catalog and notification rules. Sidebar and account card stay scoped out. */
.invoice-source337{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:23px;height:23px;margin:0 3px;color:var(--brand-text-muted);background:var(--brand-background);border-radius:5px;flex:none}
.invoice-source337 svg{width:15px;height:15px;flex:none}
.invoice-origin337{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px;margin:0 0 12px;color:var(--brand-text-muted)}
.invoice-origin337 a{font-weight:600}
.notification-wrap337{position:relative;flex:none;display:inline-flex}
.operator-topbar>.notification-wrap337{margin-left:auto;margin-right:18px;gap:0}.operator-topbar>.notification-wrap337+.operator-user{margin-left:0}
.notification-panel337{position:absolute;right:0;top:calc(100% + 12px);width:390px;max-width:calc(100vw - 28px);background:var(--brand-surface);color:var(--brand-link);border:1px solid var(--brand-border);box-shadow:0 12px 35px #133e422b;border-radius:12px;z-index:160;overflow:hidden;text-align:left;font:normal 13px/1.45 Inter,Arial,sans-serif}
.notification-panel337[hidden],.bell336 b[hidden],[data-providers][hidden],[data-provider-help][hidden]{display:none!important}
.notification-panel337 header,.notification-panel337 footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:var(--brand-background)}
.notification-panel337 header strong{font-size:15px}.notification-panel337 header small{display:block;color:var(--brand-text-muted);font-size:11px;margin-top:3px}
.notification-panel337 header button{border:0;background:none;font-size:25px;color:var(--brand-text-muted);cursor:pointer;line-height:1;padding:7px}
.notification-panel337 form{margin:0;display:block}.notification-items337{max-height:min(440px,60vh);overflow:auto;overscroll-behavior:contain}
.notification-panel337 .notification-item337{display:flex;gap:11px;align-items:flex-start;text-align:left;width:100%;padding:13px 16px;border:0;border-top:1px solid var(--brand-border);background:var(--brand-surface);font:inherit;color:var(--brand-link);cursor:pointer;overflow-wrap:anywhere;box-shadow:none;border-radius:0;text-decoration:none}
.notification-item337:hover,.notification-item337:focus-visible{background:var(--brand-background);outline:2px solid var(--brand-primary);outline-offset:-2px}
.notification-item337>svg{width:20px;height:20px;flex:none;margin-top:3px;color:var(--brand-link)}
.notification-item337>span{display:grid;gap:3px;min-width:0}.notification-item337 small,.notification-item337 time{font-size:11px;color:var(--brand-text-muted)}.notification-item337 strong{font-size:13px;color:var(--brand-link)}
.notification-panel337 footer{border-top:1px solid var(--brand-border)}.notification-panel337 footer .button{font-size:12px;min-height:34px;padding:7px 10px}
.notification-panel337 footer>a{font-size:12px;font-weight:600;color:var(--brand-link)}.notification-empty337{padding:24px 16px;margin:0;color:var(--brand-text-muted)}
.mailbox-head337{margin-bottom:18px}.mailbox-head337 p{font-size:13px;margin:6px 0 0}.mailbox-detail337>h2{margin:0 0 16px}
.operator-shell:has(.catalog-layout336) .operator-page-head,.operator-shell:has(.validation-import337) .operator-page-head{margin-bottom:18px}
.mailbox-layout337{grid-template-columns:minmax(230px,.6fr) minmax(0,1.8fr);gap:18px}
.mailbox-form337{display:block}.mailbox-form337 fieldset{min-width:0;margin:0 0 18px;padding:0 0 18px;border:0;border-bottom:1px solid var(--brand-border)}
.mailbox-form337 legend{font-size:14px;font-weight:700;padding:0;margin:0 0 12px;color:var(--brand-text)}
.mail-fields337{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}
.mail-fields337 .field{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;margin:0}
.mailbox-form337 label{font-size:12px;font-weight:600;color:var(--brand-text);margin:0}.mailbox-form337 :is(input:not([type=checkbox]):not([type=hidden]),select){font:inherit;color:var(--brand-link);background:var(--brand-surface);width:100%;min-width:0;min-height:40px;padding:9px 10px;border:1px solid var(--brand-border);border-radius:6px}
.mailbox-form337 input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand-primary);margin:0 5px 0 0;vertical-align:middle;flex:none}
.mailbox-form337 .checkbox-field337{justify-content:center}.mailbox-form337 .checkbox-field337 label{display:flex;align-items:center}
.fixed-method337{padding:10px 0;min-height:40px;font-size:14px;font-weight:600;color:var(--brand-link)}
.mailbox-form337 :is(small,.field-help337),.field-help337{font-size:12px;line-height:1.5;color:var(--brand-text-muted)}.provider-help337{font-size:12px;color:var(--brand-text-muted);margin:12px 0}.folder-feedback337{font-size:12px;margin:8px 0 0}.folder-feedback337:empty{display:none}
.extension-field337{margin-bottom:14px}.extension-field337>label{display:block;margin-bottom:8px}.extension-field337 #id_standard_extensions{display:flex;flex-wrap:wrap;gap:12px 18px}.extension-field337 #id_standard_extensions label{display:flex;align-items:center;font-weight:400}
.limit-note337{background:var(--brand-background);border:1px solid var(--brand-border);border-radius:9px;padding:14px;font-size:13px;line-height:1.5}.limit-note337 p{margin:7px 0}.limit-note337 a{font-weight:600}
.mail-detail337{min-width:0}.back-link337{display:inline-block;font-size:12px;margin-bottom:13px}.mail-detail337>.page-head h1{overflow-wrap:anywhere}
.mail-stages337{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mail-stages337 li{display:flex;align-items:center;gap:10px;padding:14px;background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:9px;min-width:0}.mail-stages337 li>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--brand-background);color:var(--brand-text-muted)}
.mail-stages337 li.complete>span{background:var(--status-success-soft);color:var(--brand-link)}.mail-stages337 li.failed>span{background:var(--status-warning-soft);color:var(--status-warning)}.mail-stages337 strong{display:block;font-size:13px}.mail-stages337 small{display:block;font-size:11px;color:var(--brand-text-muted);margin-top:3px;overflow-wrap:anywhere}
.move-notice337{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:var(--status-warning-soft);border:1px solid var(--status-warning-soft);border-radius:9px;padding:14px 16px;margin-bottom:18px}.move-notice337 strong{font-size:14px}.move-notice337 p{font-size:13px;margin:6px 0}.move-notice337 small{font-size:12px;overflow-wrap:anywhere}.move-notice337 form{margin:0}
.mail-metadata337 dl,.mail-technical337 dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px 14px;font-size:13px}.mail-metadata337 dt,.mail-technical337 dt{color:var(--brand-text-muted)}.mail-metadata337 dd,.mail-technical337 dd{margin:0;overflow-wrap:anywhere}
.mail-detail337 pre.mail-body337{font:400 14px/1.65 Inter,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-width:100%;max-height:52vh;overflow:auto;background:var(--brand-background);color:var(--brand-link);border:1px solid var(--brand-border);border-radius:8px;padding:18px;margin:10px 0}
.mail-technical337>summary{cursor:pointer;font-size:14px;font-weight:600}.mail-events337{padding:0;list-style:none}.mail-events337 li{padding:10px 0;border-top:1px solid var(--brand-border);overflow-wrap:anywhere}.mail-events337 p{margin:4px 0;font-size:13px}.mail-events337 small{font-size:11px;color:var(--brand-text-muted)}
/* Remove inherited form/card geometry only within the affected workspaces. */
.operator-shell .catalog-layout336{gap:18px;grid-template-columns:minmax(250px,330px) minmax(0,1fr)}
.operator-shell .catalog-detail336 .content-card,.operator-shell .content-card.catalog-detail336{padding:18px 20px;margin:0 0 14px;min-height:0}
.operator-shell .catalog-edit336{display:block;gap:0}.operator-shell .catalog-fields336{gap:12px 18px;align-items:start}
.operator-shell .catalog-detail336 .catalog-fields336 .field{margin:0;gap:5px;align-self:start;min-height:0}
.operator-shell .catalog-detail336 .catalog-fields336 label{margin:0;font-size:12px}.operator-shell .catalog-detail336 .catalog-fields336 textarea{min-height:68px;height:78px;resize:vertical}
.operator-shell .catalog-detail336 .catalog-fields336 input[type=number]{max-width:210px}
.operator-shell .catalog-detail336 .catalog-fields336 :is(input:not([type=checkbox]):not([type=hidden]),select){min-height:39px;padding:8px 10px}
.operator-shell .catalog-detail336 .catalog-fields336 .checkbox-field{display:grid;align-items:center;align-content:start;grid-template-columns:18px 1fr}
.operator-shell .catalog-detail336 .catalog-fields336 .checkbox-field input{margin:0;width:17px;height:17px}
.operator-shell .catalog-detail336 .catalog-fields336 .checkbox-field label{grid-column:2;grid-row:1}
.operator-shell .catalog-detail336 h3{font-size:15px;margin:0 0 12px}.operator-shell .catalog-detail-head336{margin-bottom:12px}.operator-shell .catalog-detail-head336 p{margin:4px 0 0;font-size:12px}
.operator-shell .catalog-item336{padding:11px 13px}.operator-shell .catalog-chips336{margin:6px 0;gap:4px}.operator-shell .catalog-item336 p{margin:5px 0}.operator-shell .catalog-tabs336{margin-bottom:15px}
.operator-shell .catalog-edit336>p{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}.operator-shell .catalog-edit336>p:has(input[type=checkbox]){flex-direction:row;align-items:center}
.operator-shell .catalog-edit336>p :is(textarea,input:not([type=checkbox])){width:100%;min-width:0}.operator-shell .catalog-edit336>p textarea{min-height:68px}
.validation-tools337{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 16px}.validation-import337{max-width:100%;min-width:0}.validation-upload337{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.validation-upload337 label{display:flex;flex-direction:column;gap:7px}.validation-upload337 input{max-width:100%}
.import-summary337{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.import-summary337 span{background:var(--brand-background);border-radius:7px;padding:9px 12px;font-size:13px}.import-summary337 b{font-size:17px;margin-right:4px}
.import-row337{border-top:1px solid var(--brand-border);padding:12px 0}.import-row337>summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:8px;font-size:13px}.import-row337 pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:var(--brand-background);color:var(--brand-text);padding:12px}
.import-values337{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:13px}.import-values337 p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 12px}.import-values337 h4{margin:12px 0 8px}.import-row337 .field-error{font-size:12px}
@media(max-width:1200px){.operator-shell .catalog-fields336{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-shell .catalog-layout336{grid-template-columns:minmax(220px,270px) minmax(0,1fr)}.mailbox-layout337{grid-template-columns:minmax(210px,.65fr) minmax(0,1.6fr)}}
@media(max-width:980px){.operator-shell .catalog-fields336,.mail-fields337{grid-template-columns:minmax(0,1fr)}.mail-stages337{gap:7px}.mail-stages337 li{padding:10px;align-items:flex-start}}
@media(max-width:820px){.operator-shell .catalog-layout336,.mailbox-layout337{grid-template-columns:minmax(0,1fr)}.operator-shell .catalog-fields336,.mail-fields337{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-panel337{position:fixed;right:14px;top:72px}.mail-stages337{grid-template-columns:minmax(0,1fr)}.mail-stages337 li{align-items:center}.mail-stages337 li>div{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.mail-stages337 small{margin:0}}
@media(max-width:540px){.operator-shell .catalog-fields336,.mail-fields337,.import-values337{grid-template-columns:minmax(0,1fr)}.mail-metadata337 dl,.mail-technical337 dl{grid-template-columns:minmax(0,1fr);gap:5px}.mail-metadata337 dd,.mail-technical337 dd{margin-bottom:7px}.operator-shell .catalog-detail336 .content-card,.operator-shell .content-card.catalog-detail336{padding:15px}.mail-detail337 pre.mail-body337{font-size:13px;padding:13px}}
