/* A review queue and a readable email composer, each with its own scroll area. */
.draft-review-page { min-width:0; }
.draft-review-page>.page-heading { margin-bottom:21px; }
.draft-review-page .page-heading h1 { font-size:28px; letter-spacing:-.9px; }
.draft-review-page .page-heading p { font-size:12px; line-height:1.7; }
.draft-review-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:18px; padding:13px 17px; border:1px solid var(--line); border-radius:10px; background:var(--card); }
.draft-status-filter { display:flex; align-items:center; gap:9px; font-size:11px; color:#9b8597; }
.draft-status-filter>.icon { width:14px; height:14px; color:#a48cab; }
.draft-status-filter>select { min-width:165px; height:37px; padding:8px 30px 8px 10px; border:1px solid #e2d8cd; border-radius:7px; background:#fffdf9; color:#766475; font-size:11px; }
.draft-review-toolbar>.search-input { width:min(100%,340px); min-height:37px; border-radius:7px; border-color:#e4dacf; background:#fffdf9; }
.draft-review-toolbar>.search-input:focus-within { border-color:#ad94b8; box-shadow:0 0 0 3px #9a7ea810; }
.draft-review-toolbar input { font-size:11px; }
.draft-review-page>.draft-layout { display:grid; grid-template-columns:clamp(280px,22vw,345px) minmax(0,1fr); gap:18px; height:clamp(580px,calc(100dvh - 245px),1100px); min-height:0; align-items:stretch; }
.draft-review-page .draft-list { display:flex; flex-direction:column; align-self:stretch; min-width:0; min-height:0; max-height:none; margin:0; padding:0; border-radius:12px; overflow:hidden; box-shadow:0 5px 24px #30233005; }
.draft-review-page .draft-list-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-shrink:0; margin:0; padding:18px 18px 16px; border-bottom:1px solid var(--line); font-size:10px; color:#af9caa; }
.draft-list-head>strong { color:#7e6b7b; font-size:12px; font-weight:600; }
.draft-list-items { flex:1; min-height:0; padding:9px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.draft-review-page .draft-item { position:relative; display:block; width:100%; min-width:0; max-width:none; padding:14px; margin:0 0 6px; border:1px solid transparent; border-radius:9px; background:transparent; text-align:left; cursor:pointer; transition:background .15s,border-color .15s; }
.draft-review-page .draft-item:last-child { margin-bottom:0; }
.draft-review-page .draft-item:hover { background:#faf6f0; }
.draft-review-page .draft-item.active { border-color:#e4cbb8; background:#fcf2e7; box-shadow:inset 3px 0 #b65031; }
.draft-review-page .draft-item:focus-visible { outline:2px solid #a588b1; outline-offset:-2px; }
.draft-review-page .draft-item-top { display:flex; align-items:center; gap:9px; margin-bottom:9px; }
.draft-review-page .draft-item-top>.avatar { flex:0 0 28px; width:28px; height:28px; border-radius:8px; font-size:9px; }
.draft-review-page .draft-item-top>strong { flex:1; min-width:0; font-size:11px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.draft-item-time { flex-shrink:0; font-size:9px; font-weight:400; color:#b19caa; }
.draft-review-page .draft-item .subject { margin:0 0 11px; font-size:11px; line-height:1.6; color:#9c8294; }
.draft-review-page .draft-item.active .subject { color:#a27f6c; }
.draft-review-page .draft-item-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:21px; }
.draft-review-page .draft-item-bottom>.chip { max-width:100%; font-size:9px; padding:4px 6px; border-radius:5px; }
.draft-review-page .draft-item-bottom>.icon { width:12px; height:12px; color:#c5b8bf; }
.draft-review-page .draft-item.active .draft-item-bottom>.icon { color:#b27a55; }
.draft-item-unsaved { color:#b58655; font-size:9px; }
.draft-review-page .draft-editor { display:flex; flex-direction:column; align-self:stretch; min-width:0; min-height:0; margin:0; padding:0; border-radius:12px; overflow:hidden; box-shadow:0 5px 24px #30233005; }
.draft-review-page .editor-heading { display:flex; align-items:center; flex-shrink:0; gap:12px; margin:0; padding:19px 24px; border-bottom:1px solid var(--line); background:var(--card); }
.draft-review-page .editor-heading>.avatar { flex:0 0 38px; width:38px; height:38px; font-size:11px; border-radius:11px; }
.draft-review-page .editor-heading>div { min-width:0; }
.draft-review-page .editor-heading h3 { font-size:15px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.draft-review-page .editor-heading p { margin-top:3px; font-size:10px; color:#a58e9e; line-height:1.6; overflow-wrap:anywhere; }
.draft-review-page .editor-heading>.chip { flex-shrink:0; margin-left:auto; padding:5px 8px; font-size:10px; border-radius:6px; }
.draft-editor-scroll { flex:1; min-height:0; padding:23px; overflow-y:auto; overscroll-behavior:contain; background:#f9f6f1; scrollbar-width:thin; }
.draft-editor-scroll>.alert,.draft-editor-scroll>.gmail-panel,.draft-editor-scroll>.notice-inline,.draft-editor-scroll>.hint { max-width:1120px; margin:0 auto 17px; }
.draft-editor-scroll>.btn { display:flex; width:max-content; margin:0 auto 15px; }
.draft-review-page .draft-editor .gmail-panel { margin:0 auto 17px; }
.draft-composer,.draft-designed-content { max-width:1120px; margin:0 auto; padding:23px 25px; border:1px solid #e5dcd1; border-radius:10px; background:var(--card); box-shadow:0 2px 7px #5f3d2403; }
.draft-review-page .draft-composer .field { min-width:0; margin:0; }
.draft-review-page .draft-composer .field>label { display:block; margin:0 0 7px; color:#a08a9a; font-size:10px; font-weight:500; }
.draft-review-page .editor-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:0 0 24px; padding:0 0 21px; border-bottom:1px solid #eee6dc; }
.draft-review-page .editor-meta .field>input,.draft-review-page .editor-meta .field>select { width:100%; height:41px; padding:10px 11px; border:1px solid #e3d8cc; border-radius:7px; background:#fffdf9; color:#7c6678; font-size:11px; }
.draft-review-page .editor-meta .field>input[readonly] { color:#9e8a98; background:#faf7f1; }
.draft-review-page .editor-meta .field>select { padding-right:26px; text-overflow:ellipsis; }
.draft-review-page .editor-meta select:focus { outline:none; border-color:#ad94b8; box-shadow:0 0 0 3px #9a7ea810; }
.draft-review-page .draft-composer .draft-subject { border-bottom:1px solid #e9e0d6!important; padding:7px 0 15px!important; font-size:19px!important; font-weight:550; line-height:1.5; letter-spacing:-.35px!important; }
.draft-review-page .draft-composer .draft-subject:focus { outline:none; border-bottom-color:#ac92b4!important; box-shadow:none; }
.draft-review-page .draft-composer .draft-message-field { margin-top:21px; }
.draft-review-page .draft-composer .draft-body { min-height:clamp(300px,39dvh,560px)!important; padding:6px 0 14px!important; border:0!important; border-radius:0; font-size:14px!important; line-height:1.95!important; color:#5e4e5d; resize:vertical; }
.draft-review-page .draft-composer .draft-body:focus { box-shadow:none; }
.draft-review-page #draft-validation:empty { display:none; }
.draft-review-page #draft-validation:not(:empty) { margin-top:16px; padding:12px 14px; border:1px solid #efcdbd; border-radius:7px; background:#fff4ec; }
.draft-review-page #draft-validation .form-error { font-size:11px; line-height:1.7; }
.draft-review-page .editor-footer { display:flex; align-items:center; flex-wrap:wrap; gap:9px; flex-shrink:0; margin:0; padding:15px 23px; border:0; border-top:1px solid var(--line); background:var(--card); }
.draft-review-page .editor-footer .push { margin-left:auto; }
.draft-review-page .editor-footer .btn { min-height:36px; padding:9px 12px; border-radius:7px; font-size:10px; }
.draft-review-page .editor-footer .btn.primary { padding-inline:15px; }
.draft-review-page .editor-footer .btn>.icon { width:13px; height:13px; }
.draft-review-page .editor-footer .unsaved { color:#b18a58; font-size:9px; }
.draft-design-heading { margin-bottom:20px; }
.draft-design-heading>span { display:block; color:#a08a9a; font-size:10px; }
.draft-design-heading h2 { margin-top:8px; font-size:20px; font-weight:550; letter-spacing:-.4px; overflow-wrap:anywhere; }
.draft-design-heading p { margin-top:9px; font-size:11px; color:#a08a9a; overflow-wrap:anywhere; }
.draft-review-page .draft-designed-content .cn-preview-frame { min-height:430px; background:white; border:1px solid #eee6dc; border-radius:8px; }
.draft-review-page .draft-designed-content .workspace-disclosure { margin:16px 0 0; }
.draft-designed-content>.hint { margin-top:13px; font-size:10px; line-height:1.8; }
.draft-review-empty { padding:32px 20px; border-radius:12px; }
@media(max-width:1100px) {
 .draft-review-page>.draft-layout { grid-template-columns:275px minmax(0,1fr); gap:14px; }
 .draft-editor-scroll { padding:18px; }
 .draft-composer,.draft-designed-content { padding:20px; }
 .draft-review-page .editor-meta { grid-template-columns:1fr; gap:15px; }
 .draft-review-page .editor-heading { padding:17px 20px; }
 .draft-review-page .editor-footer { padding:13px 18px; gap:7px; }
 .draft-review-page .editor-footer .btn { padding:8px 10px; }
}
@media(max-width:760px) {
 .draft-review-page>.draft-layout { grid-template-columns:230px minmax(0,1fr); gap:12px; }
 .draft-review-page .draft-item { padding:12px 10px; }
 .draft-review-page .draft-item-top>.avatar { display:none; }
 .draft-review-page .editor-heading { flex-wrap:wrap; gap:9px; }
 .draft-review-page .editor-heading>.avatar { flex-basis:31px; width:31px; height:31px; font-size:9px; }
 .draft-review-page .editor-heading h3 { font-size:13px; }
 .draft-review-page .editor-heading>.chip { font-size:9px; }
 .draft-composer,.draft-designed-content { padding:18px; }
 .draft-editor-scroll { padding:13px; }
 .draft-review-page .draft-composer .draft-subject { font-size:17px!important; }
 .draft-review-page .draft-composer .draft-body { font-size:13px!important; }
 .draft-review-page .editor-footer .push { flex-basis:100%; height:0; margin:0; }
}
@media(max-width:640px) {
 .draft-review-page>.page-heading { margin-bottom:17px; }
 .draft-review-page .page-heading h1 { font-size:25px; }
 .draft-review-page .page-heading p { font-size:11px; }
 .draft-review-toolbar { padding:12px; gap:12px; }
 .draft-review-toolbar>.search-input { width:100%; }
 .draft-status-filter { width:100%; }
 .draft-status-filter>select { flex:1; min-width:0; }
 .draft-review-page>.draft-layout { display:flex; flex-direction:column; height:auto; }
 .draft-review-page .draft-list { height:246px; flex:none; }
 .draft-review-page .draft-list-head { padding:13px 16px; }
 .draft-review-page .draft-item { padding:12px; }
 .draft-review-page .draft-item-top>.avatar { display:grid; }
 .draft-review-page .draft-editor { min-height:680px; overflow:visible; }
 .draft-review-page .editor-heading { border-radius:12px 12px 0 0; }
 .draft-editor-scroll { overflow:visible; }
 .draft-review-page .editor-footer { position:sticky; bottom:0; z-index:2; border-radius:0 0 12px 12px; }
 .draft-review-page .editor-footer .push { flex:1; flex-basis:auto; }
 .draft-review-page .draft-composer .draft-body { min-height:330px!important; }
 .draft-review-page .draft-designed-content .cn-preview-frame { min-height:360px; }
}
