:is(#palladiumEmailPanel){border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#102b50}
:is(#palladiumEmailPanel)>.section-heading{padding:20px 18px!important;margin:0 0 14px;background:linear-gradient(110deg,#fff,#f7faff);border:1px solid #cfe0f8!important;border-radius:10px;box-shadow:0 4px 14px #1c559b08;display:flex;justify-content:space-between;gap:18px;align-items:center}
:is(#palladiumEmailPanel)>.section-heading h2{font-size:27px;margin:0 0 2px;color:#10264d}:is(#palladiumEmailPanel)>.section-heading p{margin:0;color:#21416b}
:is(#palladiumEmailPanel)>.section-heading>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
:is(#palladiumEmailPanel) button{cursor:pointer}:is(#palladiumEmailPanel) button:disabled{cursor:default;opacity:.5}
:is(#palladiumEmailPanel) .secondary-button{border:1px solid #cadcf5;background:linear-gradient(#fff,#f0f6ff);color:#073d83;border-radius:7px;box-shadow:none;font-weight:600}
:is(#palladiumEmailPanel) svg{width:21px;height:21px;flex:none;vertical-align:middle}
:is(#palladiumEmailPanel)>.section-heading button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 15px}
:is(#austinEmailStatus,#adminEmailStatus):empty{display:none}:is(#austinEmailStatus,#adminEmailStatus){margin:0 0 10px;padding:0 8px;font-size:13px}
:is(#palladiumEmailPanel) .admin-email-layout{display:grid;grid-template-columns:230px minmax(310px,1fr) minmax(370px,1.14fr);gap:10px;min-height:650px;align-items:stretch}
:is(#palladiumEmailPanel) .admin-email-folders,:is(#palladiumEmailPanel) .admin-email-list,:is(#palladiumEmailPanel) .admin-email-reader{border:1px solid #d5e3f8;border-radius:10px;background:#fff;box-shadow:0 3px 14px #16488a05;min-width:0;overflow:hidden}
:is(#palladiumEmailPanel) .admin-email-folders{padding:14px 16px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(140deg,#fff,#f8fbff)}
:is(#palladiumEmailPanel) .admin-email-compose-button{display:flex;justify-content:center;align-items:center;gap:12px;background:linear-gradient(110deg,#0963db,#005cdd);border:0;border-radius:8px;min-height:54px;padding:14px;font-size:17px;color:white;box-shadow:0 5px 14px #0063dd15}
:is(#palladiumEmailPanel) .admin-email-folder-list{display:flex;flex-direction:column;gap:8px}
:is(#palladiumEmailPanel) .admin-email-folder-list button{position:relative;display:flex;align-items:center;gap:16px;min-height:46px;padding:10px 15px;background:transparent;border:0;color:#1a3965;font-weight:500;text-align:left}
:is(#palladiumEmailPanel) .admin-email-folder-list button.active{background:#e7f2ff;color:#0062dd;font-weight:700;box-shadow:inset 3px 0 #086bff}
:is(#palladiumEmailPanel) .email-folder-count{margin-left:auto;background:#006bdf;color:white;border-radius:16px;font-size:12px;padding:3px 7px}
:is(#palladiumEmailPanel) .admin-email-management{border-top:1px solid #dce7f7;padding-top:14px;margin-top:8px}:is(#palladiumEmailPanel) .admin-email-management p{font-size:12px;margin:0 0 8px;color:#7288a8}
:is(#palladiumEmailPanel) .admin-email-management button{border:0;background:none;display:flex;gap:14px;align-items:center;padding:8px 4px;font-size:15px}
:is(#palladiumEmailPanel) .admin-email-list{display:flex;flex-direction:column}
:is(#palladiumEmailPanel) .admin-email-list-heading{padding:18px 16px 0}:is(#palladiumEmailPanel) .admin-email-list-heading h3{font-size:24px;margin:0 0 2px}:is(#palladiumEmailPanel) .admin-email-list-heading p{font-size:12px;margin:0;color:#7188a8}
:is(#palladiumEmailPanel) .admin-email-search{padding:12px 16px 0;margin:0;display:block}:is(#palladiumEmailPanel) .admin-email-search label{display:flex;align-items:center;gap:10px;border:1px solid #cddcf3;border-radius:7px;padding:8px 11px;background:#fbfdff}
:is(#palladiumEmailPanel) .admin-email-search input{border:0;background:none;outline:none;box-shadow:none;width:100%;min-width:0;padding:0;height:20px;font-size:13px}
:is(#palladiumEmailPanel) .email-search-buttons{display:flex;gap:6px;margin-top:6px}:is(#palladiumEmailPanel) .email-search-buttons button{padding:3px 10px;font-size:11px}
:is(#palladiumEmailPanel) .email-list-filters{display:flex;gap:7px;flex-wrap:wrap;padding:10px 16px 12px;border-bottom:1px solid #e4edfa}
:is(#palladiumEmailPanel) .email-list-filters select{width:auto;max-width:150px;min-width:0;background:#f7faff;border:1px solid #ccdff7;border-radius:7px;color:#193d70;font-size:12px;padding:7px 6px;height:34px;box-shadow:none}
:is(#palladiumEmailPanel) .email-list-filters select:last-child{margin-left:auto;background:white;border-color:transparent}
:is(#palladiumEmailPanel) .admin-email-message-list{flex:1;max-height:520px;overflow-y:auto}
:is(#palladiumEmailPanel) .admin-email-message{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:4px 12px;position:relative;align-items:center;min-height:93px;padding:16px 16px 16px 36px;background:#fff;border:0;border-bottom:1px solid #e9eff9;border-radius:0;text-align:left;box-shadow:none;color:#112c54;width:100%;overflow:hidden}
:is(#palladiumEmailPanel) .admin-email-message.selected{background:linear-gradient(110deg,#e9f3ff,#edf5ff);box-shadow:inset 3px 0 #006aff}
:is(#palladiumEmailPanel) .admin-email-message:hover{background:#f1f7ff}
:is(#palladiumEmailPanel) .admin-email-message-avatar{grid-column:1;grid-row:1/4;display:grid;place-items:center;border:2px solid #fff;background:#e4f0fd;width:44px;height:44px;border-radius:50%;font-size:18px;color:#4d81c9}
:is(#palladiumEmailPanel) .admin-email-message-sender{grid-column:2;grid-row:1;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#palladiumEmailPanel) .admin-email-message time{grid-column:3;grid-row:1;font-size:11px;white-space:nowrap;color:#647f9f}
:is(#palladiumEmailPanel) .admin-email-message strong{grid-column:2/4;grid-row:2;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#palladiumEmailPanel) .email-message-snippet{grid-column:2/4;grid-row:3;font-size:12px;color:#7187a4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#palladiumEmailPanel) .admin-email-unread{position:absolute;left:13px;top:50%;width:9px;height:9px;border-radius:50%;background:#0072ec;transform:translateY(-50%)}
:is(#palladiumEmailPanel) .admin-email-pagination{padding:10px;display:flex;gap:12px;justify-content:center;align-items:center;border-top:1px solid #e3edf9;font-size:12px}:is(#palladiumEmailPanel) .admin-email-pagination button{border-radius:20px;padding:5px 10px}
:is(#palladiumEmailPanel) .admin-email-reader{padding:0;max-height:760px;overflow-y:auto}
:is(#palladiumEmailPanel) .admin-email-reader-toolbar{display:flex;gap:18px;margin:0 20px;padding:15px 0;border-bottom:1px solid #e1ebf9}
:is(#palladiumEmailPanel) .admin-email-reader-toolbar button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:5px 2px;font-size:13px;color:#173e74}
:is(#palladiumEmailPanel) .admin-email-reader-content{padding:16px 20px}
:is(#palladiumEmailPanel) .admin-email-reader-content>h3{font-size:21px;line-height:1.35;margin:0 0 18px;color:#10274f;overflow-wrap:anywhere}
:is(#palladiumEmailPanel) .admin-email-sender-card{display:flex;align-items:center;gap:14px;padding:0 0 18px;border-bottom:1px solid #e5edfa;margin:0 0 12px;min-width:0}
:is(#palladiumEmailPanel) .admin-email-sender-avatar{display:grid;place-items:center;width:50px;height:50px;flex:none;border-radius:50%;background:linear-gradient(120deg,#548cff,#96b0ff);color:white;font-size:23px}
:is(#palladiumEmailPanel) .admin-email-sender-card strong{font-size:13px;overflow-wrap:anywhere}:is(#palladiumEmailPanel) .admin-email-sender-card p,:is(#palladiumEmailPanel) .admin-email-sender-card time{font-size:13px;margin:3px 0;color:#6983a6}
:is(#palladiumEmailPanel) .admin-email-attachments{background:linear-gradient(110deg,#f3f8ff,#eef5ff);border:1px solid #d3e4fc;border-radius:8px;padding:12px;margin:0 0 18px}
:is(#palladiumEmailPanel) .admin-email-attachments>strong{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:13px}
:is(#palladiumEmailPanel) .email-attachment-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dbe7fa;border-radius:8px;padding:12px;min-width:0}
:is(#palladiumEmailPanel) .email-attachment-row+.email-attachment-row{margin-top:8px}
:is(#palladiumEmailPanel) .email-file-type{background:#fff0ed;border-radius:7px;padding:7px;color:#ef5547;font-size:10px;font-weight:800;flex:none}
:is(#palladiumEmailPanel) .email-file-name{flex:1;min-width:0}:is(#palladiumEmailPanel) .email-file-name b{display:block;font-size:13px;overflow-wrap:anywhere}:is(#palladiumEmailPanel) .email-file-name small{font-size:12px;color:#6d86a7}
:is(#palladiumEmailPanel) .email-attachment-row button{display:flex;align-items:center;gap:8px;padding:9px 12px;font-size:13px;white-space:nowrap}
:is(#palladiumEmailPanel) .royalty-email-actions{margin:0 0 20px;padding:0;border:0;background:none}:is(#palladiumEmailPanel) .royalty-post-history{display:flex;gap:14px;align-items:center;border:1px solid #bae4ce;background:linear-gradient(110deg,#f1fbf5,#edf9f5);border-radius:8px;padding:16px;margin:8px 0}
:is(#palladiumEmailPanel) .email-royalty-check{display:grid;place-items:center;background:linear-gradient(130deg,#3dab74,#83d5a1);width:44px;height:44px;border-radius:50%;color:#fff;flex:none;font-size:25px}
:is(#palladiumEmailPanel) .email-royalty-copy{flex:1;min-width:0}:is(#palladiumEmailPanel) .royalty-post-history strong{font-size:16px}:is(#palladiumEmailPanel) .royalty-post-history p{margin:5px 0 0;font-size:12px;color:#51718c}
:is(#palladiumEmailPanel) .royalty-post-history button{display:flex;align-items:center;gap:8px;white-space:nowrap;border:0;background:#0064dc;padding:12px 14px;color:white;border-radius:7px;font-size:13px}
:is(#palladiumEmailPanel) .admin-email-body{background:none;border:0;border-top:1px solid #d5e1f3;border-radius:0;padding:16px 0;margin:0;font:13px/1.65 Arial,sans-serif;color:#233e68;white-space:pre-wrap;overflow-wrap:anywhere}
:is(#palladiumEmailPanel) button:focus-visible,:is(#palladiumEmailPanel) select:focus-visible,:is(#palladiumEmailPanel) input:focus-visible{outline:2px solid #0869e6;outline-offset:2px}
@media(min-width:1500px){:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:238px minmax(0,1fr) minmax(0,1.14fr)}}
@media(max-width:1150px){:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:165px minmax(245px,.9fr) minmax(0,1.1fr)}:is(#palladiumEmailPanel) .admin-email-folders{padding:12px 8px}:is(#palladiumEmailPanel) .email-attachment-row{flex-wrap:wrap}:is(#palladiumEmailPanel) .email-file-name{flex-basis:70%}:is(#palladiumEmailPanel) .royalty-post-history{flex-wrap:wrap}:is(#palladiumEmailPanel) .admin-email-message time{grid-column:2/4;grid-row:3}:is(#palladiumEmailPanel) .email-message-snippet{display:none}}
@media(max-width:800px){:is(#palladiumEmailPanel)>.section-heading{align-items:flex-start;flex-direction:column;padding:16px}:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:minmax(0,1fr)}:is(#palladiumEmailPanel) .admin-email-folders{gap:10px}:is(#palladiumEmailPanel) .admin-email-folder-list{flex-direction:row;flex-wrap:wrap;gap:4px}:is(#palladiumEmailPanel) .admin-email-folder-list button{padding:8px 12px;gap:8px;min-height:36px}:is(#palladiumEmailPanel) .admin-email-management{margin:0;padding-top:8px}:is(#palladiumEmailPanel) .admin-email-management p{display:none}:is(#palladiumEmailPanel) .admin-email-message-list{max-height:320px}:is(#palladiumEmailPanel) .admin-email-reader{max-height:none}:is(#palladiumEmailPanel) .email-list-filters select:last-child{margin-left:0}:is(#palladiumEmailPanel) .admin-email-reader-content{padding:16px}:is(#palladiumEmailPanel) .admin-email-reader-content>h3{font-size:19px}}
@media(max-width:800px){:is(#palladiumEmailPanel) .email-royalty-copy{flex:1 1 calc(100% - 60px)}:is(#palladiumEmailPanel) .royalty-post-history button{flex:1 0 100%;justify-content:center;white-space:normal}:is(#palladiumEmailPanel) .royalty-post-history strong{word-break:normal;overflow-wrap:normal}}

#adminEmailPanel>.section-heading .eyebrow{display:none}

.admin-email-message time .email-accounting-tick{display:inline-flex;margin-left:7px;color:#15803d;font-size:17px;font-weight:800;vertical-align:middle;line-height:1}.admin-email-reader-content>.royalty-email-actions,.admin-email-reader-content>.invoice-items-email-note{margin-top:0;margin-bottom:16px}

.email-purchase-copy{flex:1;min-width:0}.email-purchase-copy>small,.email-royalty-copy>small{display:block;margin-bottom:4px;color:#526783}.invoice-items-email-note .email-royalty-check{align-self:center}

/* Three-column mailbox reference layout. */
:is(#palladiumEmailPanel)>.section-heading{padding:10px 14px!important;margin-bottom:10px;min-height:56px}
:is(#palladiumEmailPanel)>.section-heading h2{font-size:20px}
:is(#palladiumEmailPanel)>.section-heading p{font-size:12px}
:is(#palladiumEmailPanel)>.section-heading button{min-height:34px;padding:6px 10px;font-size:12px}
:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:220px minmax(0,1fr) minmax(0,1.03fr);min-height:720px}
:is(#palladiumEmailPanel) .admin-email-list{position:relative}
:is(#palladiumEmailPanel) .admin-email-list-heading{padding:16px 14px 0;width:115px}
:is(#palladiumEmailPanel) .admin-email-search{position:absolute;top:12px;left:126px;right:14px;padding:0}
:is(#palladiumEmailPanel) .email-search-buttons{justify-content:flex-end}
:is(#palladiumEmailPanel) .email-list-filters{padding-top:22px;justify-content:flex-end;gap:7px}
:is(#palladiumEmailPanel) .admin-email-message{min-height:82px;padding:12px 16px 12px 22px;gap:3px 12px}
:is(#palladiumEmailPanel) .admin-email-message-list{max-height:620px;scroll-behavior:auto;overflow-anchor:none}
:is(#palladiumEmailPanel) .admin-email-reader{min-height:720px;max-height:850px;scroll-behavior:auto;overflow-anchor:none}
:is(#palladiumEmailPanel) .email-delete-button{margin-left:auto;color:#b42318!important}
:is(#palladiumEmailPanel) .invoice-items-email-note{background:linear-gradient(110deg,#f1fbf5,#edf9f5);border-color:#bae4ce}
:is(#palladiumEmailPanel) .admin-email-reader-content>h3{font-size:23px}
:is(#palladiumEmailPanel) .admin-email-unread{left:7px;width:7px;height:7px}
:is(#austinEmailStatus,#adminEmailStatus):not(:empty){position:fixed;bottom:16px;right:18px;z-index:30;max-width:min(450px,90vw);padding:10px 14px;background:#fff;border:1px solid #cddff5;border-radius:8px;box-shadow:0 4px 18px #102b5020}
@media(min-width:1250px){:is(#palladiumEmailPanel) .admin-email-message time{grid-column:3;grid-row:1}.admin-email-reader-toolbar{position:sticky;top:0;background:#fff;z-index:1}}
@media(min-width:801px) and (max-width:1100px){:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:150px minmax(0,1fr) minmax(0,1.1fr)}:is(#palladiumEmailPanel) .admin-email-search{position:static;padding:10px 12px 0}:is(#palladiumEmailPanel) .admin-email-list-heading{width:auto}:is(#palladiumEmailPanel) .email-list-filters{padding-top:10px}}
@media(max-width:800px){:is(#palladiumEmailPanel) .admin-email-layout{grid-template-columns:minmax(0,1fr);min-height:0}:is(#palladiumEmailPanel) .admin-email-search{position:static;padding:10px 12px 0}:is(#palladiumEmailPanel) .admin-email-list-heading{width:auto}:is(#palladiumEmailPanel) .email-list-filters{padding-top:10px}:is(#palladiumEmailPanel) .admin-email-reader{min-height:420px;max-height:none}:is(#palladiumEmailPanel) .admin-email-message-list{max-height:320px}:is(#palladiumEmailPanel) .admin-email-reader-toolbar{gap:12px}:is(#palladiumEmailPanel) .admin-email-reader-content>h3{font-size:20px}}
