
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#233748;background:#f5f7f8;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.8px}h2{font-size:17px;letter-spacing:-.25px}h3{font-size:14px}p{line-height:1.6}small,.muted{color:#7e8b97}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9cd6e1;outline-offset:2px}
.layout{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:#172c39;color:#dae6ea;padding:24px 15px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:5px 10px 33px}.brandmark{width:39px;height:39px;border-radius:12px;background:#289d8f;display:grid;place-items:center;color:white;font-size:24px;font-weight:700}.brand-name{font-size:20px;font-weight:850;letter-spacing:-.9px;color:#fff}.brand-sub{font-size:10px;letter-spacing:1.5px;color:#a4bbc2}.nav-label{padding:3px 12px 12px;font-size:10px;letter-spacing:1.4px;color:#96aeb7;font-weight:700}.menu{display:grid;gap:4px}.nav{border:0;width:100%;display:flex;align-items:center;gap:12px;background:transparent;color:#c9d8de;text-align:left;border-radius:9px;padding:12px 13px;font-weight:650;font-size:13px}.nav.active{background:#285263;color:white}.nav:hover{background:#244757}.nav-icon{width:23px;text-align:center;color:#80d5c6;font-size:18px}.sidebar-footer{margin-top:auto;padding:14px;border:1px solid #365360;border-radius:11px;font-size:11px;line-height:1.55;color:#bbccd2}.sidebar-footer strong{color:#83dbcc;display:block;font-size:10px;letter-spacing:1px;margin-bottom:6px}.main{min-width:0;flex:1}.topbar{height:72px;background:white;border-bottom:1px solid #e5ecef;display:flex;justify-content:space-between;align-items:center;padding:0 36px;font-size:12px}.crumb{font-weight:700;color:#485d6a}.top-actions{display:flex;align-items:center;gap:10px}.content{max-width:1560px;margin:auto;padding:28px 36px 22px}.hero{background:linear-gradient(115deg,#e6f4f1,#eaf3f2);border-radius:18px;display:flex;justify-content:space-between;min-height:220px;padding:31px 38px;overflow:hidden}.hero h1{max-width:650px;margin:12px 0;font-size:31px;line-height:1.22}.hero p{max-width:600px;color:#647b81;font-size:13px;margin-bottom:18px}.hero-art{color:#74c7b7;font-size:120px;opacity:.4;align-self:center;padding:0 25px}.eyebrow{font-size:10px;letter-spacing:1.65px;color:#188d81;font-weight:850;text-transform:uppercase}.btn{border:1px solid transparent;background:#198c7c;color:white;padding:10px 15px;border-radius:9px;min-height:36px;font-size:12px;font-weight:750;white-space:nowrap}.btn:hover{background:#116f62}.btn.secondary{background:white;color:#486171;border-color:#dbe6ea}.btn.secondary:hover{background:#f3f8f9}.btn.ghost{background:transparent;color:#188d81;border:0;padding:6px 7px}.btn.mini{padding:7px 10px;min-height:28px}.btn.full{width:100%}.badge{padding:6px 9px;border-radius:99px;background:#edf2f6;color:#617585;font-size:10px;font-weight:800;display:inline-block;line-height:1.2}.badge.success{background:#dff4e9;color:#237a52}.badge.warn{background:#fff0d5;color:#a16a0c}.badge.danger{background:#ffe4e4;color:#bd3838}.badge.info{background:#e1efff;color:#326cae}.badge.blue{background:#e1efff;color:#306cb1}.badge.green{background:#def5e8;color:#237b4f}.badge.yellow{background:#fff0d5;color:#a16a0c}.badge.red{background:#ffe4e4;color:#bd3838}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.metric{background:white;border:1px solid #e5ebef;border-radius:13px;padding:22px;min-height:123px}.metric .label{font-size:12px;color:#667b89}.metric .number{font-size:29px;letter-spacing:-.6px;font-weight:820;margin-top:13px}.metric small{display:block;font-size:10px;margin-top:5px}.rowcols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{background:#fff;border:1px solid #e3eaef;border-radius:13px;padding:20px;min-width:0}.panelhead{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px}.panelhead h2{margin:0 0 6px}.panelhead p{margin:0;color:#82909a;font-size:12px}.list-item{width:100%;display:flex;align-items:center;text-align:left;gap:11px;background:transparent;border:0;border-bottom:1px solid #edf1f3;padding:13px 2px;color:#253949}.list-item:last-child{border-bottom:0}.list-item:hover{background:#f7fbfa}.avatar{width:38px;height:38px;flex-shrink:0;background:#e7f4f0;border-radius:10px;display:grid;place-items:center;color:#238878;font-weight:800}.item-main{min-width:0;flex:1}.item-main strong{font-size:12px;display:block;margin-bottom:5px}.item-main small{font-size:10px;line-height:1.4;display:block}.notice{margin:18px 0;background:#eaf4f7;border:1px solid #d7e9ee;border-radius:11px;padding:14px 16px;color:#4c6d79;font-size:12px;line-height:1.7}.notice.warning{background:#fff5e4;border-color:#f1deb5;color:#8d682b}.page-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.page-head h1{margin:8px 0 7px}.page-head p{color:#81909b;font-size:13px;margin:0}.split{display:grid;grid-template-columns:minmax(290px,38%) minmax(0,62%);gap:16px;align-items:start}.demand-list{max-height:760px;overflow:auto}.search{width:100%;padding:11px;border:1px solid #dbe5e9;border-radius:9px;background:#fff;font-size:12px;margin-bottom:12px}.demand-option{display:block;text-align:left;width:100%;padding:15px 11px;border:0;border-bottom:1px solid #eaf0f3;background:white;border-radius:4px;color:#253949}.demand-option.selected{background:#edf8f5;border-left:3px solid #239d8a}.demand-option:hover{background:#f2f8f7}.demand-option strong{display:block;font-size:12px;margin-bottom:8px}.demand-option small{display:block;font-size:10px;margin-bottom:8px}.detailhead{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:10px}.detailhead h2{font-size:21px;margin:7px 0}.kv-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:22px 0}.kv small,.kv strong{display:block}.kv small{font-size:10px;margin-bottom:5px}.kv strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.subhead{border-top:1px solid #e8eef1;padding-top:19px;margin:22px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.subhead h3{margin:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:740;color:#617585;min-width:0}.field.wide{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:38px;background:white;border:1px solid #dce5e9;border-radius:8px;padding:9px 10px;color:#293f4e;font-weight:450;font-size:12px}.field textarea{resize:vertical}.activity{display:flex;align-items:center;gap:12px;border:1px solid #e4edef;background:#fafcfb;border-radius:10px;padding:12px;margin-top:9px}.activity strong{display:block;font-size:12px;margin-bottom:6px}.activity small{display:block;font-size:10px;line-height:1.5}.activity .item-main{flex:1}.activity select{max-width:165px;padding:8px;border:1px solid #dce5e9;border-radius:7px;font-size:11px}.activity-controls{display:flex;align-items:center;gap:8px}.tablewrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:12px}.table th{text-align:left;background:#f8fafb;color:#83919c;font-size:10px;letter-spacing:.5px;text-transform:uppercase}.table td,.table th{padding:14px 12px;border-bottom:1px solid #ebf0f2;vertical-align:middle}.table td small{display:block;margin-top:5px;font-size:10px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.artist-card{background:#fff;border:1px solid #e3eaee;border-radius:13px;padding:20px}.artist-card .avatar{height:49px;width:49px;font-size:20px;margin-bottom:14px}.artist-card h3{margin-bottom:6px}.artist-card p{font-size:11px;color:#7c8e9a;margin:8px 0 16px}.artist-card .btn{margin-top:16px}.artist-card .eval-list{font-size:10px;line-height:1.6;color:#81919a;margin-top:13px}.form-modal{position:fixed;inset:0;z-index:12;display:grid;place-items:center;background:#142939b3;padding:16px}.dialog{background:white;border-radius:16px;padding:24px;width:min(720px,100%);max-height:90vh;overflow:auto;box-shadow:0 25px 90px #071d3550}.modalhead{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:19px}.modalhead h2{font-size:21px;margin:0 0 7px}.modalhead p{font-size:12px;color:#85939d;margin:0}.close{border:0;background:#f0f3f5;color:#637583;border-radius:7px;width:31px;height:31px;font-size:22px}.actions{border-top:1px solid #ebf0f2;margin-top:20px;padding-top:17px;display:flex;justify-content:flex-end;gap:9px}.dialog form{display:grid;gap:14px}.checkboxline{display:flex;align-items:start;gap:11px;border-bottom:1px solid #edf1f3;padding:11px 0;font-size:12px}.checkboxline input{accent-color:#208c7d;width:16px;height:16px;margin:0}.stepbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px}.step{background:#f2f6f8;border-radius:8px;padding:8px 10px;color:#758694;font-size:10px;font-weight:800}.step.active{background:#dbf4ee;color:#187b67}.draft{border:1px solid #dfe8ee;border-radius:9px;background:#f8fafb;padding:15px;white-space:pre-wrap;font-size:12px;line-height:1.7;max-height:315px;overflow:auto;font-family:inherit}.rating-row{display:grid;grid-template-columns:1fr 140px 35px;gap:10px;align-items:center;font-size:12px}.rating-row input{accent-color:#208c7d;width:100%}.inline-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e3ebef;margin-top:26px;padding-top:18px;font-size:11px;color:#83939e}.empty{padding:32px 10px;color:#8695a0;text-align:center;font-size:12px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#toast{position:fixed;right:22px;bottom:24px;z-index:15;background:#1b3545;color:white;border-radius:10px;padding:0;max-width:400px;font-size:12px;box-shadow:0 7px 25px #1b354533}#toast.show{padding:13px 17px}.two-buttons{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:1180px){.sidebar{width:212px}.topbar{padding:0 24px}.content{padding:24px}.cards{grid-template-columns:repeat(2,1fr)}.rowcols{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:17px}}
@media(max-width:820px){.layout{display:block}.sidebar{width:100%;padding:10px 12px;position:sticky;top:0;z-index:8}.brand{padding:0 0 9px}.brand-name{font-size:17px}.brandmark{width:30px;height:30px}.brand-sub,.nav-label,.sidebar-footer{display:none}.menu{display:flex;overflow:auto;gap:4px}.nav{white-space:nowrap;width:auto;padding:9px 11px;font-size:11px}.nav-icon{font-size:14px;width:auto}.topbar{height:57px;padding:0 16px}.content{padding:18px 15px}.split{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.hero{padding:22px}.hero-art{display:none}.hero h1{font-size:23px}.page-head h1{font-size:23px}}
@media(max-width:560px){.page-head{align-items:start;flex-direction:column}.cards{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.field.wide{grid-column:1}.hero{min-height:0}.metric{min-height:105px;padding:13px}.metric .number{font-size:24px}.panel{padding:15px}.dialog{padding:18px}.activity{align-items:stretch;flex-direction:column}.activity-controls{justify-content:flex-start}.kv-grid{gap:12px}.rating-row{grid-template-columns:1fr 110px 32px}.inline-footer{flex-direction:column;align-items:start}}

/* Atalhos de estimativa e registro de público */
.audience-picker{border:1px solid #e0eaed;background:#f8fbfa;border-radius:10px;padding:14px}
.audience-picker .field{width:100%}
.audience-picker input{background:white}
.audience-help{display:block;color:#526a78;font-size:11px;font-weight:750;margin:12px 0 8px}
.audience-options{display:flex;flex-wrap:wrap;gap:8px}
.audience-chip{appearance:none;background:white;border:1px solid #cfdfe3;border-radius:9px;color:#2f6471;padding:9px 14px;font-size:12px;font-weight:800;min-width:56px}
.audience-chip:hover{border-color:#168a78;background:#edf8f5}
.audience-chip.selected{background:#197e70;border-color:#197e70;color:white}
.audience-note{display:block;margin-top:10px;line-height:1.6;font-size:11px;font-weight:450;color:#69808a}


/* Visão geral: mantém a lista de demandas e apresenta agenda mensal destacada */
.dashboard-home-grid{display:grid;grid-template-columns:minmax(290px,0.85fr) minmax(0,1.6fr);gap:17px;align-items:start}
.dashboard-recent{min-width:0}
.dashboard-home-grid .agenda-area{min-width:0;background:white;border:1px solid #e3eaef;border-radius:13px;padding:20px}
.dashboard-home-grid .agenda-area .dashboard-area-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:15px}
.dashboard-home-grid .agenda-area .dashboard-area-head h2{font-size:17px;letter-spacing:-.25px;margin:4px 0 5px}
.dashboard-home-grid .agenda-area .dashboard-area-head p{font-size:11.5px;color:#82909a;margin:0}
.dashboard-home-grid .agenda-area .dashboard-area-head .eyebrow{font-size:9px}
.dashboard-home-grid .agenda-area .dashboard-area-head .btn{padding:7px 9px;min-height:30px;font-size:11px}
.dashboard-home-grid .agenda-group{margin:16px 0 22px}
.dashboard-home-grid .agenda-group-label{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.dashboard-home-grid .agenda-group-label>span{display:block;background:#259c88;border-radius:3px;width:4px;height:19px}
.dashboard-home-grid .agenda-group-label strong{font-size:13px;color:#3c6272;letter-spacing:.9px}
.dashboard-home-grid .agenda-group-label small{margin-left:auto;font-size:10px}
.dashboard-home-grid .agenda-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.dashboard-home-grid .agenda-card{display:flex;align-items:stretch;gap:12px;text-align:left;color:#273c4c;background:#fff;border:1px solid #e1eaee;border-radius:11px;padding:13px;width:100%;min-height:141px;transition:border-color .2s,box-shadow .2s}
.dashboard-home-grid .agenda-card:hover{border-color:#77b9ad;box-shadow:0 5px 15px #203d4e17}
.dashboard-home-grid .agenda-date{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;background:#e3f4ef;border:1px solid #cce9e0;border-radius:10px;min-width:70px;height:104px;padding:8px}
.dashboard-home-grid .agenda-month{font-size:15px;letter-spacing:1.2px;color:#167f6c;font-weight:900}
.dashboard-home-grid .agenda-day{font-size:39px;line-height:1.05;letter-spacing:-1px;color:#224b54}
.dashboard-home-grid .agenda-year{font-size:11px;letter-spacing:.6px;font-weight:750;color:#74908b}
.dashboard-home-grid .agenda-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;font-size:10px;color:#7d8e98;line-height:1.4}
.dashboard-home-grid .agenda-info>strong{font-size:12px;color:#2e4351;line-height:1.4;overflow-wrap:anywhere}
.dashboard-home-grid .agenda-weekday{text-transform:capitalize;font-weight:800;color:#228d7e}
.dashboard-home-grid .agenda-status{margin-top:auto;padding-top:3px}
.dashboard-home-grid .agenda-status .badge{font-size:9px}
.dashboard-home-grid .agenda-none{border:1px dashed #d5e0e4;border-radius:11px;padding:22px;color:#899aa4;font-size:12px}
@media(max-width:1450px){.dashboard-home-grid .agenda-grid{grid-template-columns:1fr}}
@media(max-width:980px){.dashboard-home-grid{grid-template-columns:1fr}.dashboard-home-grid .agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-home-grid .agenda-grid{grid-template-columns:1fr}.dashboard-home-grid .agenda-area .dashboard-area-head{flex-direction:column}.dashboard-home-grid .agenda-card{min-height:133px}}

/* Controle de programação: consulta leve e visão completa da planilha */
.planning-switch{display:inline-flex;gap:4px;background:#f2f6f7;border:1px solid #e3ecf0;border-radius:9px;padding:4px;margin-bottom:18px;flex-wrap:wrap}
.planning-switch-btn{border:0;border-radius:7px;padding:9px 13px;color:#627d87;background:transparent;font-size:11px;font-weight:760}
.planning-switch-btn.selected{background:white;color:#177c6c;box-shadow:0 1px 4px rgba(18,52,62,.12)}
.plan-summary-table td{max-width:225px;line-height:1.5}
.plan-summary-table .pending-cell{min-width:135px;overflow-wrap:anywhere}
.plan-hint{font-size:11px;color:#728592;margin:0 0 13px}
.form-section-title{font-weight:850;font-size:13px;color:#2b5260;padding-top:4px}
.form-expand{border:1px solid #dee9ed;background:#f8fbfa;border-radius:11px;padding:14px}
.form-expand summary{cursor:pointer;font-size:12px;font-weight:850;color:#277b6d}
.form-expand[open] summary{margin-bottom:18px}
.activity-check{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:650;color:#526b77;padding:8px 0}
.activity-check input{width:17px;height:17px;accent-color:#198c7c}
@media(max-width:700px){.plan-summary-table{min-width:850px}.form-expand{padding:12px}}

/* Cadastro de artistas: edição e referência de credenciamento */
.artist-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.artist-card-header .avatar{margin-bottom:14px}
.artist-card-header .btn{margin-top:0}
.artist-credential{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:56px;margin-bottom:13px}
.artist-credential .badge{white-space:normal;line-height:1.4;font-size:10px}
.artist-credential small{font-size:10px;color:#708491;overflow-wrap:anywhere}

/* Exclusão de artistas: fluxo com duas confirmações e prevenção de perda de vínculos */
.artist-card-actions{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}
.artist-card-actions .btn{margin-top:0}
.btn.danger-outline{background:white;color:#ac3e45;border-color:#edc5ca}
.btn.danger-outline:hover{background:#fff0f1;color:#a12832}
.btn.danger{background:#b73a43;color:white;border-color:#b73a43}
.btn.danger:hover{background:#922b34;color:white}
.delete-artist-summary{display:flex;flex-direction:column;gap:7px;background:#f7f9fa;border:1px solid #e2e9ed;border-radius:10px;padding:16px;font-size:12px;overflow-wrap:anywhere}
.delete-artist-summary strong{font-size:16px;color:#2c4050}
.delete-artist-summary span{font-size:11px;color:#728692}
.delete-artist-dependencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.delete-artist-dependencies>div{display:flex;flex-direction:column;gap:5px;padding:14px;background:#f4f7f9;border-radius:9px;align-items:center}
.delete-artist-dependencies strong{font-size:24px;color:#365064}
.delete-artist-dependencies span{font-size:11px;color:#7b8d9a}
.delete-artist-warning{line-height:1.7;font-size:13px;margin-bottom:20px}
@media(max-width:420px){.artist-card-actions .btn{padding:7px 8px}.delete-artist-dependencies{gap:6px}.delete-artist-dependencies>div{padding:10px 5px}}


/* Artistas: a classificação colore o cartão inteiro, com nome em destaque. */
.artist-card{
 --artist-card-bg:#ffffff;
 --artist-card-outline:#e3eaee;
 --artist-card-title:#263e4b;
 background:var(--artist-card-bg);
 border:1px solid var(--artist-card-outline);
 border-radius:14px;
 padding:20px;
 box-shadow:0 2px 10px rgba(19,48,58,.035);
 display:flex;
 flex-direction:column;
 transition:box-shadow .16s ease,border-color .16s ease;
}
.artist-card:hover{box-shadow:0 7px 22px rgba(22,49,60,.10);}
.artist-card--blue{--artist-card-bg:#eaf3ff;--artist-card-outline:#b8d5f4;--artist-card-title:#173c69;}
.artist-card--green{--artist-card-bg:#e8f6ed;--artist-card-outline:#b9e3ca;--artist-card-title:#1b563b;}
.artist-card--yellow{--artist-card-bg:#fff5dc;--artist-card-outline:#efd291;--artist-card-title:#725213;}
.artist-card--red{--artist-card-bg:#fcebec;--artist-card-outline:#eab7bf;--artist-card-title:#782b35;}
.artist-card--neutral{--artist-card-bg:#fff;--artist-card-outline:#e3eaee;--artist-card-title:#263e4b;}
.artist-card-header{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:10px 14px;margin-bottom:9px;}
.artist-card .artist-card-name{flex:1 1 155px;min-width:0;margin:0;font-size:19px;font-weight:850;line-height:1.28;letter-spacing:-.45px;color:var(--artist-card-title);overflow-wrap:anywhere;}
.artist-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto;flex-wrap:wrap;}
.artist-card .artist-card-proposal{font-size:12px;font-weight:650;line-height:1.45;color:#465f6e;overflow-wrap:anywhere;}
.artist-card p{font-size:11px;color:#576e79;margin:9px 0 15px;}
.artist-card .artist-credential{min-height:0;margin-bottom:12px;}
.artist-card .artist-credential small{color:#506a78;}
.artist-card .artist-rating{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;font-weight:700;}
.artist-card .artist-rating small{font-size:10px;color:#596f7c;}
.artist-card .eval-list{margin-top:13px;margin-bottom:14px;color:#607481;}
.artist-card>.btn.full{margin-top:auto;}
.artist-card .artist-card-actions .btn{margin-top:0;}
@media(max-width:600px){.artist-card .artist-card-name{font-size:20px;}}


/* Controle completo: visão vertical e agrupada dos 22 campos. */
.plan-complete-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.plan-search-label{display:grid;gap:6px;flex:1 1 260px;max-width:460px;font-size:11px;font-weight:760;color:#576f7d}
.plan-search-label input{width:100%;min-height:39px;padding:10px 12px;background:#fff;border:1px solid #dce6e9;border-radius:9px;color:#293f4e;font:inherit;font-weight:450}
.plan-search-label input:focus-visible{outline:2px solid #1b9080;outline-offset:2px}
.plan-pending-toggle{display:inline-flex;align-items:center;gap:9px;min-height:39px;padding:8px 12px;background:#f7f9fa;border:1px solid #e0e9ed;border-radius:9px;color:#405b6a;font-size:11px;font-weight:750;cursor:pointer}
.plan-pending-toggle input{width:15px;height:15px;margin:0;accent-color:#188b7a}
.plan-results-count{font-size:11px;color:#667e8b;align-self:center;margin-left:auto}
.plan-record-list{display:grid;gap:14px}
.plan-record{border:1px solid #e0e9ed;border-left:4px solid #b2c9d0;border-radius:12px;background:#fff;overflow:hidden;min-width:0}
.plan-record[hidden],.plan-no-matches[hidden]{display:none!important}
.plan-record--attention{border-left-color:#d7a33b}
.plan-record--finished{border-left-color:#42a785}
.plan-record--cancelled{border-left-color:#ce6c75}
.plan-record-header{display:flex;align-items:start;justify-content:space-between;gap:18px;padding:19px 20px 14px}
.plan-record-identity{flex:1;min-width:0}
.plan-record-eyebrow{display:block;font-size:10px;color:#6d8593;font-weight:750;letter-spacing:.15px;margin-bottom:7px}
.plan-record-identity h3{font-size:16px;line-height:1.35;margin:0 0 5px;color:#233b4a;overflow-wrap:anywhere}
.plan-record-identity p{font-size:12px;color:#6c8390;margin:0;overflow-wrap:anywhere}
.plan-record-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px;flex:0 0 auto}
.plan-record-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.plan-record-highlights{display:grid;grid-template-columns:1.15fr .8fr .95fr 1.4fr;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3;background:#f9fbfb}
.plan-record-highlight{padding:13px 17px;border-right:1px solid #e8eff1;min-width:0}
.plan-record-highlight:last-child{border-right:0}
.plan-record-highlight>span:first-child{display:block;color:#788b96;font-size:10px;font-weight:730;margin-bottom:7px}
.plan-record-highlight strong{color:#2f4654;font-size:12px;line-height:1.45;display:block;overflow-wrap:anywhere;font-weight:700}
.plan-record-highlight--money strong{color:#126e61;font-size:14px}
.plan-record-highlight .badge{max-width:100%;white-space:normal}
.plan-record-highlight--pending strong{font-weight:600}
.plan-record-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 20px;color:#187b6d;font-weight:760;font-size:12px;min-height:46px}
.plan-record-details summary::-webkit-details-marker{display:none}
.plan-record-details summary::before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;background:#e5f3ef;border-radius:6px;font-size:16px;font-weight:500;flex-shrink:0}
.plan-record-details[open] summary::before{content:"−"}
.plan-record-details summary:hover{background:#f5faf8}
.plan-record-details summary:focus-visible{outline:2px solid #188b7a;outline-offset:-3px}
.plan-record-summary-note{color:#81919c;font-size:10px;font-weight:500;margin-left:auto}
.plan-record-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:5px 20px 20px}
.plan-record-group{background:#fbfcfd;border:1px solid #e5ecef;border-radius:10px;min-width:0;padding:15px}
.plan-record-group h4{margin:0 0 15px;display:flex;align-items:center;gap:8px;color:#2e5262;font-size:12px;font-weight:800}
.plan-group-number{display:inline-grid;place-items:center;width:21px;height:21px;background:#e5f2f0;color:#17796b;border-radius:6px;font-size:10px;flex-shrink:0}
.plan-record-fields{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px}
.plan-record-field{min-width:0}
.plan-record-field dt{color:#8496a1;font-size:10px;font-weight:750;line-height:1.45;margin-bottom:4px}
.plan-record-field dd{color:#2f4553;font-size:12px;line-height:1.45;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:1160px){
 .plan-record-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
 .plan-record-highlight:nth-child(2){border-right:0}
 .plan-record-highlight:nth-child(-n+2){border-bottom:1px solid #e8eff1}
 .plan-record-groups{grid-template-columns:1fr}
}
@media(max-width:600px){
 .plan-record-header{padding:15px;flex-direction:column;gap:10px}
 .plan-record-actions{width:100%;align-items:flex-start;flex-direction:row;justify-content:space-between}
 .plan-record-badges{justify-content:flex-start}
 .plan-record-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
 .plan-record-highlight{padding:11px}
 .plan-record-details summary{padding:12px 14px}
 .plan-record-summary-note{width:100%;margin-left:30px}
 .plan-record-groups{padding:4px 13px 15px;gap:10px}
 .plan-record-group{padding:13px}
 .plan-results-count{flex:1 1 100%;margin-left:0}
}
@media(max-width:400px){
 .plan-record-highlights{grid-template-columns:1fr}
 .plan-record-highlight{border-right:0;border-bottom:1px solid #e8eff1}
 .plan-record-highlight:last-child{border-bottom:0}
 .plan-record-fields{grid-template-columns:1fr}
}


/* Check rápido de público informado em sistema externo (registro manual). */
.demand-activity-followup{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:5px 0 14px}
.demand-activity-followup>.field{flex:1 1 175px;max-width:245px}
.external-audience-check{display:inline-flex;align-items:center;gap:9px;border:1px solid #dce6e9;border-radius:9px;background:#f5f8f9;color:#536c79;padding:9px 11px;min-height:38px;font-size:11px;font-weight:650;cursor:pointer;max-width:100%}
.external-audience-check.is-done{background:#eaf6f0;border-color:#b7dcc8;color:#206c4d}
.external-audience-check input{margin:0;width:16px;height:16px;flex-shrink:0;accent-color:#16846c;cursor:pointer}
.external-audience-label{line-height:1.35;overflow-wrap:anywhere}
.external-audience-result{white-space:nowrap;font-size:10px;font-weight:800;border-radius:5px;background:#e7edf0;color:#526774;padding:4px 6px}
.external-audience-check.is-done .external-audience-result{background:#cae9da;color:#196844}
.external-audience-explanation{font-size:11px;color:#607783;line-height:1.6;margin:0 0 13px}
.external-audience-check--form{grid-column:1/-1;justify-content:flex-start}
.external-audience-check--form .external-audience-result{margin-left:auto}
.table .external-audience-check{min-width:180px}
@media(max-width:600px){
 .demand-activity-followup{flex-direction:column;align-items:stretch}
 .demand-activity-followup>.field{max-width:none;width:100%}
 .external-audience-check{width:100%;justify-content:flex-start}
 .external-audience-result{margin-left:auto}
}
