.communicados-page{padding-bottom:48px}.communicados-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px}.communicados-compose,.communicados-recipients,.communicados-status-panel{min-width:0}.communicados-policy{display:flex;gap:10px;align-items:flex-start;margin:16px 0;padding:12px 14px;border:1px solid var(--border,#dfe3e7);border-radius:10px;background:var(--surface-muted,#f7f8f8);font-size:13px}.communicados-policy strong{white-space:nowrap}.communicados-policy span{color:var(--muted,#68717d)}.communicados-recipient-toolbar{display:flex;gap:8px;margin-bottom:12px}.communicados-recipient-toolbar input{min-width:0;flex:1}.communicados-student-list{max-height:520px;overflow:auto;border-top:1px solid var(--border,#e1e4e8)}.communicados-student-row{display:flex;align-items:center;gap:10px;padding:11px 4px;border-bottom:1px solid var(--border,#edf0f2);cursor:pointer}.communicados-student-row input{accent-color:#b8ff00}.communicados-student-row span{display:grid;gap:3px}.communicados-student-row small{color:var(--muted,#707883)}.communicados-status-panel{margin-top:18px}.communicados-status{display:grid;gap:8px}.communicados-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--border,#e1e4e8);border-radius:10px}.communicados-status-row span,.communicados-status-row small{color:var(--muted,#707883)}@media(max-width:900px){.communicados-grid{grid-template-columns:1fr}.communicados-status-row{grid-template-columns:1fr}.communicados-policy{display:grid}.communicados-recipient-toolbar{flex-wrap:wrap}.communicados-recipient-toolbar input{flex-basis:100%}}

/* Refinamento visual alinhado ao padrão do Hub. */
.communicados-page{max-width:1240px;margin:0 auto;padding:28px 0 72px}
.communicados-page .page-header{padding:0 0 22px;border-bottom:1px solid rgba(17,18,20,.12)}
.communicados-page .page-header h1{letter-spacing:-.035em}
.communicados-page .page-header p:last-child{max-width:720px;color:#68717d}
.communicados-grid{gap:20px;margin-top:22px;align-items:stretch}
.communicados-page .panel{position:relative;overflow:hidden;border:1px solid rgba(85,92,105,.16);border-radius:16px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(34,39,48,.055)}
.communicados-page .panel::before{content:"";position:absolute;inset:0 auto auto 0;width:48px;height:3px;background:#c9f23a}
.communicados-page .panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid rgba(85,92,105,.1)}
.communicados-page .panel-title h2{margin:0 0 5px;font-size:18px;letter-spacing:-.02em}
.communicados-page .panel-title p{margin:0;max-width:530px;line-height:1.45;color:#68717d;font-size:13px}
.communicados-page .badge{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border:1px solid #dfe7c6;border-radius:999px;background:#f7faed;color:#667226;font-size:11px;font-weight:700;white-space:nowrap}
.communicados-compose form,.communicados-recipients>.panel-title+*,.communicados-status-panel>.communicados-status{margin-left:22px;margin-right:22px}
.communicados-compose form{padding-top:20px}
.communicados-page label{display:grid;gap:7px;color:#6e7580;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.communicados-page select,.communicados-page input,.communicados-page textarea{border:1px solid #d9dde1;border-radius:10px;background:#fff;color:#17181a;font:inherit;box-shadow:inset 0 1px 0 rgba(17,18,20,.03);transition:border-color .15s,box-shadow .15s}
.communicados-page select,.communicados-page input{min-height:42px;padding:0 12px}
.communicados-page textarea{padding:12px;line-height:1.5;resize:vertical}
.communicados-page select:focus,.communicados-page input:focus,.communicados-page textarea:focus{outline:0;border-color:#9cdb00;box-shadow:0 0 0 3px rgba(184,255,0,.2)}
.communicados-page small{font-size:11px;line-height:1.4;color:#78818b}
.communicados-policy{margin:17px 0;border-color:#e3e8d4;background:#fafbf5;border-radius:10px}
.communicados-policy strong{color:#59631f;font-weight:700}
.communicados-page .form-actions{display:flex;align-items:center;gap:12px;padding:0 0 22px}
.communicados-page .button.primary{border:1px solid #b7dc32;background:#c9f23a;color:#273000;font-weight:750;box-shadow:0 4px 10px rgba(124,151,31,.14)}
.communicados-page .button.primary:hover{background:#c0e832;transform:translateY(-1px)}
.communicados-page .button.secondary{border:1px solid #dfe3e7;background:#fff;color:#4f5762}
.communicados-recipient-toolbar{padding-top:20px}
.communicados-student-list{max-height:454px;margin-bottom:22px;border:1px solid #e7eaed;border-radius:10px;background:#fcfdfc}
.communicados-student-row{padding:12px 13px;border-bottom:1px solid #edf0f1}
.communicados-student-row:last-child{border-bottom:0}
.communicados-student-row:hover{background:#f8faef}
.communicados-status-panel{margin-top:20px;padding-bottom:20px}
.communicados-status-panel .panel-title{align-items:center}
.communicados-status{margin-top:16px}
.communicados-status-row{padding:14px;border-color:#e5e8eb;border-radius:10px;background:#fcfdfc}
@media(max-width:900px){.communicados-page{padding:20px 0 64px}.communicados-grid{gap:14px}.communicados-page .panel-title{padding:19px 17px 15px}.communicados-compose form,.communicados-recipients>.panel-title+*,.communicados-status-panel>.communicados-status{margin-left:17px;margin-right:17px}.communicados-page .panel-title{flex-wrap:wrap}.communicados-page .form-grid{grid-template-columns:1fr}}

/* Refinamento delicado v4 */
.communicados-page{max-width:1280px;padding:24px 0 64px}
.communicados-page .page-header{padding:0 4px 18px;border-bottom:0}
.communicados-page .page-header h1{font-size:clamp(28px,3vw,42px);font-weight:750;letter-spacing:-.045em;line-height:1.05;margin:4px 0 9px}
.communicados-page .page-header p:last-child{font-size:14px;color:#7a818a;line-height:1.55}
.communicados-page .page-header:after{content:"";display:block;width:34px;height:3px;margin-top:17px;border-radius:4px;background:#c9f23a}
.communicados-grid{gap:16px;margin-top:8px}
.communicados-page .panel{border:1px solid #e4e7e8;border-radius:14px;background:rgba(255,255,255,.82);box-shadow:0 5px 16px rgba(33,38,44,.035)}
.communicados-page .panel::before{width:28px;height:2px;background:#c9f23a}
.communicados-page .panel-title{padding:19px 20px 15px;border-bottom:1px solid #eef0f1}
.communicados-page .panel-title h2{font-size:16px;font-weight:750;letter-spacing:-.015em;color:#262a2e}
.communicados-page .panel-title p{font-size:12px;color:#828992;line-height:1.5}
.communicados-page .badge{min-height:26px;padding:0 10px;border-color:#e3e9cc;background:#fbfcf4;color:#7a842f;font-size:10px;font-weight:700}
.communicados-compose form{padding-top:18px}
.communicados-compose form,.communicados-recipients>.panel-title+*,.communicados-status-panel>.communicados-status{margin-left:20px;margin-right:20px}
.communicados-page label{gap:6px;color:#858c94;font-size:10px;letter-spacing:.07em}
.communicados-page select,.communicados-page input,.communicados-page textarea{border-color:#e1e5e7;border-radius:8px;box-shadow:none;color:#394049}
.communicados-page select,.communicados-page input{min-height:40px}
.communicados-page textarea{min-height:148px;background:#fdfefd}
.communicados-page select:focus,.communicados-page input:focus,.communicados-page textarea:focus{border-color:#c3db72;box-shadow:0 0 0 3px rgba(201,242,58,.13)}
.communicados-policy{margin:15px 0;padding:10px 12px;border-radius:8px;background:#fcfdf9;font-size:12px}
.communicados-page .form-actions{padding-bottom:20px}
.communicados-page .button{border-radius:8px;min-height:38px}
.communicados-page .button.primary{border-color:#c0df50;background:#c9f23a;color:#384600;box-shadow:none}
.communicados-page .button.primary:hover{background:#c3eb3a;transform:none}
.communicados-page .button.secondary{color:#69727c}
.communicados-recipient-toolbar{padding-top:18px}
.communicados-student-list{max-height:454px;margin-bottom:20px;border:1px solid #edf0f1;border-radius:8px;background:#fdfefd}
.communicados-student-row{padding:11px 12px;border-bottom-color:#f0f2f3}
.communicados-student-row:hover{background:#fbfdf4}
.communicados-status-panel{margin-top:16px;padding-bottom:16px}
.communicados-status-row{padding:12px;border-color:#edf0f1;border-radius:8px;background:#fdfefd}
@media(max-width:900px){.communicados-page{padding:18px 0 48px}.communicados-page .panel-title{padding:17px 16px 14px}.communicados-compose form,.communicados-recipients>.panel-title+*,.communicados-status-panel>.communicados-status{margin-left:16px;margin-right:16px}}

/* Hero padrão do Hub: cabeçalhos de página consistentes */
.page > .page-header,
.page > header.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 25px;padding:0 0 22px;border-bottom:1px solid rgba(85,92,105,.12)}
.page > .page-header>div:first-child,.page > header.page-header>div:first-child{min-width:0}
.page > .page-header .eyebrow,.page > header.page-header .eyebrow{margin:0 0 5px;color:#777e88;font-size:14px;font-weight:800;letter-spacing:.1em;line-height:1.2;text-transform:uppercase}
.page > .page-header h1,.page > header.page-header h1{margin:0;color:#17191c;font-size:34px;font-weight:800;letter-spacing:-.045em;line-height:1.05}
.page > .page-header>div:first-child:after,.page > header.page-header>div:first-child:after{content:"";display:block;width:50px;height:4px;margin-top:16px;border-radius:0;background:#b8ff00}
.page > .page-header>div:first-child>p:last-child,.page > header.page-header>div:first-child>p:last-child{max-width:760px;margin:14px 0 0;color:#737b86;font-size:15px;line-height:1.5}
.page > .page-header .page-actions{flex:0 0 auto;margin-top:30px}
.communicados-page .page-header{border-bottom:1px solid rgba(85,92,105,.12)}
.communicados-page .page-header:after{display:none}
.communicados-page .page-header h1{font-size:34px;font-weight:800;line-height:1.05;margin:0}
@media(max-width:760px){.page > .page-header,.page > header.page-header{display:block;margin-bottom:20px;padding-bottom:18px}.page > .page-header h1,.page > header.page-header h1{font-size:30px}.page > .page-header .page-actions{margin-top:18px}.page > .page-header .eyebrow,.page > header.page-header .eyebrow{font-size:12px}.page > .page-header>div:first-child>p:last-child,.page > header.page-header>div:first-child>p:last-child{font-size:14px}}

/* O componente global do Hub já desenha a linha do título; evita duplicação. */
.page > .page-header>div:first-child:after,.page > header.page-header>div:first-child:after,.communicados-page .page-header:after{content:none!important;display:none!important}

/* Destinatários: linha compacta e seleção discreta */
.communicados-page .communicados-recipient-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.communicados-page .communicados-recipient-toolbar input{width:100%;height:44px}
.communicados-page .communicados-recipient-toolbar .button{height:44px;white-space:nowrap}
.communicados-page label.communicados-student-row{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:11px;width:auto;min-height:62px;margin:0 0 7px;padding:11px 13px;border:1px solid #e8ebed;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.communicados-page label.communicados-student-row{grid-template-columns:minmax(0,1fr)}
.communicados-page .communicados-student-row input[type=checkbox]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}
.communicados-page label.communicados-student-row:hover{border-color:#d6e59b;background:#fcfef6}
.communicados-page label.communicados-student-row:has(input:checked){border-color:#d0e67b;background:#fbfdf3;box-shadow:0 2px 8px rgba(118,145,24,.08)}
.communicados-page .communicados-student-row input[type=checkbox]{appearance:none;width:20px;height:20px;margin:0;border:1.5px solid #cfd5da;border-radius:6px;background:#fff;box-shadow:none;cursor:pointer}
.communicados-page .communicados-student-row input[type=checkbox]:checked{border-color:#b8e52c;background-color:#b8e52c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10.5 3.5 3.5L16 5.5' fill='none' stroke='%233a4700' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.communicados-page .communicados-student-row span{display:flex;flex-direction:column;gap:3px;min-width:0}
.communicados-page .communicados-student-row strong{color:#30363d;font-size:13px;font-weight:750;line-height:1.2;text-transform:none}
.communicados-page .communicados-student-row small{color:#8a929b;font-size:11px;line-height:1.25}
.communicados-page .communicados-student-list{padding:10px;background:#fbfcfb}
@media(max-width:620px){.communicados-page .communicados-recipient-toolbar{grid-template-columns:1fr}.communicados-page .communicados-recipient-toolbar .button{width:100%}}
.communicados-page .communicados-recipient-actions{display:flex;gap:8px}
.communicados-page .communicados-recipient-actions .button{min-width:0}
@media(max-width:620px){.communicados-page .communicados-recipient-actions{display:grid;grid-template-columns:1fr 1fr}.communicados-page .communicados-recipient-actions .button{width:100%}}

.communicados-page .communicados-attachment{display:grid;gap:10px}
.communicados-page .communicados-attachment-picker{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:12px 14px;border:1px dashed #d6dfb0;border-radius:10px;background:#fbfdf4;cursor:pointer}
.communicados-page .communicados-attachment-picker input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}
.communicados-page .communicados-attachment-picker>span{grid-row:1 / span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e9f7bd;color:#607500;font-size:22px;line-height:1}
.communicados-page .communicados-attachment-picker b{color:#53621c;font-size:12px;line-height:1.25}
.communicados-page .communicados-attachment-picker small{font-size:11px;line-height:1.25}
.communicados-page .communicados-attachment-selected{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e3e9cc;border-radius:10px;background:#fcfdf7}
.communicados-page .communicados-attachment-selected[hidden]{display:none!important}
.communicados-page .communicados-attachment-selected img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #e4e7e8}
.communicados-page .communicados-attachment-selected>div{min-width:0;display:grid;gap:3px;flex:1}
.communicados-page .communicados-attachment-selected strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30363d;font-size:12px}
.communicados-page .communicados-attachment-selected small{color:#7b838c;font-size:11px}
@media(max-width:520px){.communicados-page .communicados-attachment-selected{align-items:flex-start;flex-wrap:wrap}.communicados-page .communicados-attachment-selected .button{margin-left:76px}}
