/* Scoped source management. Uses the installed theme and typography tokens. */
#tmaOutlookDomains.sh-center{display:grid;gap:22px;max-width:1180px;margin-inline:auto;color:var(--text,#172033)}
.sh-center [hidden],.sh-drawer [hidden]{display:none!important}
.sh-heading h2{font-size:clamp(24px,2.2vw,32px);margin:0 0 8px}.sh-heading p{margin:0;color:var(--muted,#64748b);font-size:16px}
.sh-import,.sh-schedule,.sh-source-card{border:1px solid var(--border,#d9e0ed);background:var(--paper,#fff);border-radius:18px;padding:22px}
.sh-import h3{font-size:19px;margin:0 0 16px}.sh-import select{width:min(100%,420px);margin-block-end:14px;min-height:46px}
.sh-import textarea{display:block;width:100%;min-height:94px;max-height:240px;resize:vertical;margin-block:10px 12px;padding:12px 14px;font:15px/1.65 ui-monospace,monospace;background:var(--paper2,#f7f9fc);color:inherit;border:1px solid var(--border,#d9e0ed);border-radius:12px}
.sh-checkbox{display:flex;gap:9px;align-items:center;margin-block:10px 16px;font-size:15px}.sh-checkbox input{width:18px;height:18px;flex:none}
.sh-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sh-source-card{display:flex;flex-direction:column;gap:12px;min-width:0;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.sh-source-card:hover{border-color:var(--accent,#3459e7);transform:translateY(-2px);box-shadow:0 9px 24px #2036630b}.sh-source-card h3{font-size:22px;margin:0}.sh-source-card p{font-size:15px;color:var(--muted,#64748b);margin:0}
.sh-tier,.sh-badge{font-size:13px;line-height:1.5;background:var(--soft,#eef2ff);color:var(--accent,#3459e7);padding:4px 9px;border-radius:7px;align-self:start}
.sh-total{font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}.sh-card-stats{display:flex;gap:8px;flex-wrap:wrap;margin-block-end:auto}.sh-card-stats button{border:0;background:var(--paper2,#f7f9fc);border-radius:8px;padding:7px 10px;color:inherit}.sh-card-stats b{margin-inline-start:6px}
.sh-schedule{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sh-schedule p{flex:1 1 100%;font-size:16px;margin:0 0 3px}.sh-feedback{margin:0;overflow-wrap:anywhere;font-size:15px}
dialog.sh-drawer{position:fixed;inset-block:0;inset-inline-start:auto;inset-inline-end:0;margin:0;width:min(900px,94vw);max-width:94vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-inline-start:1px solid var(--border,#d9e0ed);border-radius:0;background:var(--paper,#fff);color:var(--text,#172033);box-shadow:0 0 60px #07142b26;overflow:hidden}
dialog.sh-drawer[open]{display:flex;flex-direction:column;animation:sh-enter .22s ease-out}dialog.sh-drawer::backdrop{background:#0b152a66;backdrop-filter:blur(3px)}
.sh-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px;border-block-end:1px solid var(--border,#d9e0ed);background:var(--paper,#fff);flex:none}.sh-drawer-header h2{font-size:23px;line-height:1.3;margin:0}.sh-close{width:44px;height:44px;border:1px solid var(--border,#d9e0ed);border-radius:10px;background:var(--paper2,#f7f9fc);color:inherit;font-size:26px;cursor:pointer}
.sh-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px;scrollbar-gutter:stable}.sh-drawer-body>section{min-width:0}.sh-drawer-body p{line-height:1.65}.sh-drawer-body :is(input,select,textarea,button){font-size:15px}.sh-drawer-body input[type=search]{min-width:0;flex:1 1 220px;min-height:44px;border:1px solid var(--border,#d9e0ed);border-radius:10px;padding:10px 12px;background:var(--paper2,#f7f9fc);color:inherit}
.sh-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-block:13px}.sh-actions button{min-height:42px}.sh-filters{display:flex;flex-wrap:wrap;gap:8px;margin-block-end:16px}.sh-filters button{display:flex;gap:8px;align-items:center;border:1px solid var(--border,#d9e0ed);border-radius:10px;padding:9px 11px;background:var(--paper2,#f7f9fc);color:inherit;min-height:42px}.sh-filters button[aria-pressed=true]{border-color:var(--accent,#3459e7);background:var(--soft,#eef2ff);color:var(--accent,#3459e7)}
.sh-account-list{display:grid;gap:12px;margin-block:16px}.sh-account{padding:16px;border:1px solid var(--border,#d9e0ed);border-radius:12px;background:var(--paper2,#f7f9fc);min-width:0}.sh-account-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-block-end:8px}.sh-account-head strong{overflow-wrap:anywhere;font-size:16px}.sh-account small{font-size:14px;color:var(--muted,#64748b);line-height:1.65}.sh-error{font-size:14px;color:var(--danger,#bd354a);overflow-wrap:anywhere}.sh-account .sh-actions{margin-block-end:0}
.sh-drawer #ocSharedFree .oc-list{max-height:430px;overflow:auto;overscroll-behavior:contain}.sh-drawer #ocSharedFree{margin-block:16px}.sh-drawer #ocSharedFree :is(h3,summary){font-size:16px}.sh-drawer #ocSharedFree .oc-import{margin-block:10px}.sh-drawer #ocSharedFree .oc-shared-summary{display:flex;gap:12px;flex-wrap:wrap;font-size:14px}
.sh-drawer .tma-gmail{padding:0!important;border:0!important;box-shadow:none!important}.sh-drawer .oc-local-domains{display:block}.sh-drawer #ocNativeDomains .table-scroll{overflow:auto;max-height:65dvh}.sh-import #shGmailImport details{padding:0;border:0}.sh-import #shGmailImport summary{display:none}
.sh-drawer :is(button,summary):focus-visible,.sh-center :is(button,input,select,textarea):focus-visible{outline:3px solid var(--accent,#3459e7);outline-offset:3px}
/* One row of compact provider buttons, shared by FREE and Pro Plus. */
#inboxModal #outlookSourceGroup .outlook-source-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#inboxModal #outlookSourceGroup .outlook-source-option{display:flex!important;align-items:center!important;gap:9px;min-height:70px!important;height:auto!important;padding:13px 12px!important;border-radius:12px!important;min-width:0;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
#inboxModal #outlookSourceGroup .outlook-source-option strong{font-size:16px!important;line-height:1.35!important;overflow-wrap:anywhere}#inboxModal #outlookSourceGroup .outlook-source-option svg{width:21px;height:21px;flex:none}
#inboxModal #outlookSourceGroup .outlook-source-option.is-unavailable{opacity:.55;cursor:not-allowed}#inboxModal #outlookSourceGroup .outlook-source-option:has(:focus-visible){outline:3px solid var(--accent,#3459e7);outline-offset:2px}
@keyframes sh-enter{from{opacity:.4;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:900px){.sh-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-import,.sh-source-card,.sh-schedule{padding:18px}}
@media(max-width:540px){.sh-cards{grid-template-columns:1fr}.sh-drawer-body{padding:16px}.sh-drawer-header{padding:16px}.sh-schedule .button{width:100%}#inboxModal #outlookSourceGroup .outlook-source-options{gap:7px!important}#inboxModal #outlookSourceGroup .outlook-source-option{padding:10px 7px!important;flex-direction:column!important;justify-content:center!important;text-align:center}#inboxModal #outlookSourceGroup .outlook-source-option strong{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){dialog.sh-drawer[open]{animation:none}.sh-source-card,.outlook-source-option{transition:none!important}.sh-source-card:hover{transform:none}}

#shGmailImportNotice{font-size:15px;overflow-wrap:anywhere}.sh-import #shGmailImport textarea{width:100%;box-sizing:border-box;font-size:15px;min-height:94px;max-height:240px}.sh-center,.sh-center *,.sh-drawer *{box-sizing:border-box}
