.advisory-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;padding:24px}.ad-template-list h3{margin:0 0 16px}.ad-template-row{position:relative;margin-bottom:10px}.ad-template{width:100%;border:1px solid #e4ddd5;background:#fff;text-align:left;border-radius:12px;padding:16px 30px 16px 16px;color:#272521}.ad-template strong,.ad-template span{display:block}.ad-template span{font-size:12px;color:#6c655e;margin-top:7px}.ad-template.selected{background:#fff2e6;border-color:#e9aa70}.ad-template-delete{position:absolute;right:4px;top:4px;padding:2px 6px!important;min-width:0!important}.ad-composer{min-width:0}.ad-composer label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-weight:600;font-size:13px}.ad-composer input,.ad-composer select,.ad-composer textarea{width:100%;max-width:100%;margin:0;font:inherit;font-weight:400;border:1px solid #d8d6d1;border-radius:8px;padding:11px;background:#fff;color:#262421;box-sizing:border-box}.ad-composer textarea{line-height:1.6;resize:vertical;min-height:180px}.ad-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.ad-composer [hidden]{display:none!important}.ad-channel-status{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:12px}.ad-channel-status span{background:#f7f4f0;border:1px solid #e4ddd5;padding:7px 10px;border-radius:20px}.ad-connection-note{padding:12px;background:#fff4e9;color:#704820;border-radius:8px;font-size:13px;line-height:1.5}.ad-audience-count{font-size:13px;color:#615548;padding:12px;border:1px solid #eee2d6;border-radius:8px}.ad-message-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#6e665e;margin-bottom:18px}.ad-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}#ad-error{color:#a32620}.ad-history{padding:24px;border-top:1px solid #ece4da}.ad-history>p{font-size:13px;color:#6e665e}.ad-table-scroll{overflow:auto}.ad-history table{width:100%;border-collapse:collapse;font-size:13px}.ad-history td,.ad-history th{padding:12px;text-align:left;border-bottom:1px solid #eee6dd}.ad-review{width:min(760px,calc(100vw - 32px));max-height:88vh;overflow:auto;border:1px solid #e5d8ca;border-radius:16px;padding:24px;box-sizing:border-box;color:#28231f}.ad-review::backdrop{background:#201b1860}.ad-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ad-review-heading h2{margin:0}.ad-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65;padding:20px;border:1px solid #f0d8c1;background:#fff8f1;border-radius:12px}.ad-recipient-list{max-height:250px;overflow:auto;margin:12px 0}.ad-recipient-list>div{display:flex;flex-wrap:wrap;gap:4px 16px;padding:10px;border-bottom:1px solid #eee}.ad-recipient-list small{flex-basis:100%;color:#73665b}.ad-review details{margin-top:16px}.ad-review summary{cursor:pointer}.advisory-icon .ad-sound{transform-origin:16px 10px;animation:ad-pulse 2.5s ease-in-out infinite}@keyframes ad-pulse{0%,100%{opacity:.35}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.advisory-icon .ad-sound{animation:none}}@media(max-width:780px){.advisory-workspace{grid-template-columns:1fr;padding:16px;gap:18px}#ad-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-template-row{margin:0}.ad-form-grid{grid-template-columns:1fr}.ad-history{padding:16px}.ad-review{padding:16px}}
.ad-channel-picker{grid-column:1/-1;border:0;padding:0;margin:0 0 16px;min-width:0}.ad-channel-picker legend{font-size:13px;font-weight:600;margin-bottom:10px}.ad-channel-picker>div{display:flex;flex-wrap:wrap;gap:10px}.ad-composer .ad-channel-picker label{flex-direction:row;align-items:center;gap:9px;border:1px solid #ded5cb;border-radius:8px;padding:11px 15px;margin:0;font-size:14px;cursor:pointer;background:#fff}.ad-composer .ad-channel-picker label:has(input:checked){background:#fff1e4;border-color:#e6a269}.ad-composer .ad-channel-picker input{width:17px;height:17px;padding:0;accent-color:#df762e;cursor:pointer}.ad-channel-picker small{display:block;margin-top:8px;font-size:12px;color:#6e665e}.ad-review-channels>section{padding:14px 0;border-top:1px solid #ece4da}.ad-review-channels h3 small{font-size:12px;font-weight:400;color:#75695c;margin-left:12px}
.ad-template-category{margin-bottom:24px;min-width:0}.ad-category-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ad-category-heading h4{margin:0;font-size:14px}.ad-category-heading h4 small{font-size:11px;font-weight:400;color:#807267;margin-left:5px}.ad-category-add{font-size:22px!important;line-height:1;width:32px!important;height:32px;min-width:32px!important;padding:0!important;display:inline-flex;justify-content:center;align-items:center}.ad-category-empty{font-size:12px;color:#786d63}.ad-template-editor form>label{display:flex;flex-direction:column;font-size:13px;font-weight:600;gap:7px;margin:16px 0}.ad-template-editor input,.ad-template-editor select,.ad-template-editor textarea{width:100%;box-sizing:border-box;border:1px solid #d8d0c7;border-radius:8px;padding:10px;font:inherit;font-weight:400;background:white;color:#262421}.ad-template-editor textarea{line-height:1.6;resize:vertical}.ad-template-editor small{color:#796e62;font-size:12px}.ad-template-error{color:#a32620}@media(max-width:780px){#ad-templates{display:block}.ad-template-category{margin-bottom:20px}.ad-template-category .ad-template-row{margin-bottom:10px}}
.ad-category-heading h4{flex:1;min-width:0}.ad-category-toggle{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:10px 0;color:inherit;text-align:left;font:inherit;font-weight:600;cursor:pointer}.ad-category-toggle:focus-visible{outline:2px solid #df762e;outline-offset:3px;border-radius:4px}.ad-category-chevron{width:12px;color:#8c6748}.ad-category-items[hidden]{display:none!important}
