@font-face{font-family:Manrope;src:url('/_astro/manrope-latin-wght-normal.DHIcAJRg.woff2') format('woff2');font-weight:200 800;font-display:swap}
.inbox-summary{margin-bottom:1rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.inbox-summary article{padding:1.2rem;border:1px solid var(--line);border-radius:1rem;background:#fff}.inbox-summary span{display:block;color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.1em}.inbox-summary strong{margin-top:.45rem;display:block;font-family:Georgia,serif;font-size:2.4rem}.submission-panel{border:1px solid var(--line);border-radius:1rem;overflow:hidden;background:#fff}.submission-toolbar{padding:.9rem 1rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#f5f8f6}.submission-toolbar span{font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.submission-toolbar a{color:var(--green);font-size:.72rem;font-weight:800}.submission-list{min-height:260px}.submission-message{padding:3rem 1rem;color:var(--muted);text-align:center}.submission-item{padding:1rem;border-top:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1rem;align-items:center}.submission-item:first-child{border-top:0}.submission-icon{width:3.5rem;height:3.5rem;border-radius:.8rem;display:grid;place-items:center;color:#fff;background:var(--green);font-size:.72rem;font-weight:900}.submission-icon--zip{color:var(--green);background:var(--lime)}.submission-item__copy{min-width:0;display:grid}.submission-item__copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.submission-item__copy span{margin-top:.25rem;color:var(--muted);font-size:.68rem}.submission-item__copy small{margin-top:.4rem;color:var(--green-2);font-size:.65rem}.submission-item__state{padding:.35rem .55rem;border-radius:999px;color:#6a5100;background:#fff0b8;font-size:.62rem;font-weight:800}.submission-note{padding:1rem;border-left:4px solid var(--coral);color:var(--muted);background:#fff;font-size:.74rem;line-height:1.5}
@media(max-width:560px){.inbox-summary{grid-template-columns:1fr}.submission-item{grid-template-columns:auto minmax(0,1fr)}.submission-item__state{grid-column:2;justify-self:start}}
.submission-item__actions{display:flex;align-items:center;gap:.5rem}.submission-process{padding:.45rem .65rem;border:1px solid var(--green);border-radius:.55rem;color:var(--green);background:#fff;font-size:.66rem;font-weight:900;cursor:pointer}.submission-view{color:#fff;background:var(--green)}.submission-item__state--done{color:var(--green);background:#dff5e9}.candidate-section{margin-top:2rem;scroll-margin-top:1rem}.candidate-heading{margin-bottom:1rem;display:flex;align-items:end;justify-content:space-between;gap:1rem}.candidate-heading h2{margin:.2rem 0;font-family:Georgia,serif;font-size:2.2rem}.candidate-heading>div>p:last-child{margin:0;color:var(--muted);font-size:.78rem}.candidate-heading>span{padding:.4rem .65rem;border-radius:999px;background:var(--lime);font-size:.68rem;font-weight:900}.candidate-status{min-height:1.4rem;color:var(--green-2);font-size:.72rem;font-weight:800}.candidate-clear-filter{margin-left:.5rem;padding:.35rem .55rem;border:1px solid var(--green);border-radius:.5rem;color:var(--green);background:#fff;font:inherit;cursor:pointer}.candidate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.candidate-card{border:1px solid var(--line);border-radius:1rem;overflow:hidden;background:#fff}.candidate-card__visual{aspect-ratio:4/3;position:relative;display:grid;place-items:center;background:#dce8e4}.candidate-card__visual img{width:100%;height:100%;object-fit:cover}.candidate-card__visual span{padding:.3rem .5rem;position:absolute;top:.6rem;left:.6rem;border-radius:999px;color:#fff;background:rgba(6,63,53,.88);font-size:.58rem;font-weight:900}.candidate-card__body{padding:.9rem}.candidate-card__body strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.candidate-card__body small{margin-top:.35rem;display:block;color:var(--muted);font-size:.62rem}.candidate-card__actions{padding:.8rem;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:.5rem}.candidate-card__actions button{padding:.55rem .6rem;border:1px solid var(--green);border-radius:.55rem;background:#fff;font-size:.65rem;font-weight:900;cursor:pointer}.candidate-card__actions button:first-child{color:#fff;background:var(--green)}.candidate-card__actions button:last-child{color:var(--danger);border-color:#e5b8ae}.candidate-card__actions button:disabled{opacity:.5}.candidate-placeholder{color:var(--muted);font-size:.7rem}.candidate-card--busy{opacity:.55;pointer-events:none}@media(max-width:1200px){.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.candidate-grid{grid-template-columns:1fr}.candidate-heading{align-items:start;flex-direction:column}.submission-item__actions{grid-column:2;justify-self:start}}
:root{--green:#063f35;--green-2:#0c6654;--mint:#dff3ef;--lime:#d9ef72;--coral:#ff7e61;--violet:#7655d9;--paper:#f8f6ef;--white:#fff;--ink:#12342e;--muted:#667772;--line:#d6dfdc;--danger:#a83421;--shadow:0 14px 45px rgba(6,63,53,.10)}
*{box-sizing:border-box}
html{font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--paper);scroll-behavior:smooth}
body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}
button,a{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
button{color:inherit}
[hidden]{display:none!important}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:200;padding:.7rem 1rem;color:#fff;background:var(--green);border-radius:.5rem}.skip-link:focus{top:1rem}
.eyebrow{margin:0 0 .8rem;color:var(--green-2);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.primary-button,.secondary-button,.danger-button{min-height:2.9rem;padding:.65rem 1rem;border:2px solid var(--green);border-radius:.75rem;display:inline-flex;align-items:center;justify-content:center;gap:.8rem;font-weight:800;cursor:pointer}
.primary-button{color:#fff;background:var(--green);box-shadow:4px 4px 0 var(--lime)}
.primary-button:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 var(--lime)}
.secondary-button{color:var(--green);background:#fff}
.danger-button{border-color:var(--danger);color:#fff;background:var(--danger)}
.form-status{min-height:1.3rem;margin:.4rem 0 0;color:var(--danger);font-size:.78rem;font-weight:700}

/* Login */
.login-view{min-height:100vh;padding:1.4rem clamp(1rem,4vw,4.5rem);background:radial-gradient(circle at 2% 3%,rgba(217,239,114,.55),transparent 25rem),radial-gradient(circle at 95% 95%,rgba(103,215,220,.34),transparent 28rem),#fffdf8}
.login-brand{max-width:1420px;margin:auto;display:flex;align-items:center;gap:1rem}
.login-brand a{width:112px;height:72px;display:block}.login-brand img{width:100%;height:100%;object-fit:contain}
.login-brand div{padding-left:1rem;border-left:1px solid var(--line);display:grid}.login-brand span{color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.12em}.login-brand strong{font-size:.86rem}
.login-grid{width:min(100%,1420px);min-height:calc(100vh - 112px);margin:auto;border:2px solid var(--green);border-radius:2rem;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;box-shadow:16px 18px 0 rgba(6,63,53,.12)}
.login-story{padding:clamp(2rem,6vw,7rem);display:flex;flex-direction:column;justify-content:center;color:#fff;background:radial-gradient(circle at 90% 0,rgba(103,215,220,.22),transparent 25rem),var(--green)}
.login-story .eyebrow{color:var(--lime)}
.login-story h1{margin:0;font-family:Georgia,serif;font-size:clamp(3rem,6vw,6.4rem);line-height:.9;letter-spacing:-.055em}.login-story h1 em{color:var(--coral);font-weight:400}
.login-story>p:not(.eyebrow){max-width:650px;margin:2rem 0;color:rgba(255,255,255,.8);font-size:1.06rem;line-height:1.65}
.login-story ul{margin:1rem 0 0;padding:0;list-style:none;display:grid;gap:.7rem}.login-story li{padding:.8rem 0;border-top:1px solid rgba(255,255,255,.18);display:flex;gap:1rem;font-weight:700}.login-story li span{color:var(--lime);font-size:.72rem}
.login-card{width:min(500px,calc(100% - 3rem));margin:auto;padding:clamp(1.5rem,4vw,3.5rem);border:1px solid var(--line);border-radius:1.5rem;background:#fff;box-shadow:var(--shadow)}
.environment-pill{padding:.35rem .65rem;border-radius:999px;color:var(--green);background:var(--lime);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.login-card h2{margin:1.2rem 0 .5rem;font-family:Georgia,serif;font-size:2.35rem;line-height:1}.login-card>p{color:var(--muted);font-size:.9rem;line-height:1.55}
.demo-credentials{margin:1.4rem 0;padding:1rem;border:1px dashed var(--green-2);border-radius:1rem;display:grid;grid-template-columns:1fr auto;gap:.35rem;background:var(--mint)}.demo-credentials strong{font-size:.78rem}.demo-credentials button{padding:0;border:0;color:var(--green-2);background:none;font-size:.72rem;font-weight:800;text-decoration:underline;cursor:pointer}.demo-credentials code{grid-column:1/-1;color:var(--green);font-size:.78rem}
.login-card label,.settings-form label{margin-top:1rem;display:grid;gap:.35rem;font-size:.78rem;font-weight:800}.login-card input,.settings-form input,.editor-body input,.editor-body select,.editor-body textarea{width:100%;min-height:3rem;padding:.65rem .8rem;border:1.5px solid var(--line);border-radius:.7rem;color:var(--ink);background:#fff}.login-card input:focus,.settings-form input:focus,.editor-body input:focus,.editor-body select:focus,.editor-body textarea:focus{border-color:var(--green);outline:3px solid rgba(217,239,114,.55)}
.login-card>.primary-button{width:100%;margin-top:1.25rem}.login-card>small{display:block;color:var(--muted);font-size:.68rem;line-height:1.45}

/* App shell */
.app{min-height:100vh;display:grid;grid-template-columns:268px 1fr;background:#f3f5f2}
.sidebar{height:100vh;padding:1rem;position:sticky;top:0;display:flex;flex-direction:column;color:#fff;background:var(--green);z-index:60}
.sidebar-brand{height:82px;padding:0 .6rem 1rem;border-bottom:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;align-items:center}.sidebar-brand a{width:110px;height:68px;padding:.25rem;border-radius:.6rem;display:block;background:#fff}.sidebar-brand img{width:100%;height:100%;object-fit:contain}.sidebar-close{display:none;border:0;color:#fff;background:transparent;font-size:1.7rem}
.sidebar nav{margin-top:1rem;display:grid;gap:.18rem}.sidebar nav p{margin:1rem .75rem .35rem;color:rgba(255,255,255,.48);font-size:.62rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.sidebar nav button{width:100%;padding:.72rem .75rem;border:0;border-radius:.7rem;display:flex;align-items:center;gap:.75rem;color:rgba(255,255,255,.78);background:transparent;font-size:.83rem;font-weight:700;text-align:left;cursor:pointer}.sidebar nav button span{width:1.8rem;height:1.8rem;border-radius:.5rem;display:grid;place-items:center;background:rgba(255,255,255,.08)}.sidebar nav button:hover,.sidebar nav button.is-active{color:var(--green);background:var(--lime)}.sidebar nav button.is-active span{background:rgba(6,63,53,.1)}
.sidebar-user{margin-top:auto;padding:1rem;border-radius:.8rem;background:rgba(255,255,255,.08);display:grid}.sidebar-user span{color:rgba(255,255,255,.55);font-size:.62rem;text-transform:uppercase}.sidebar-user strong{margin:.2rem 0 .65rem;font-size:.75rem;overflow:hidden;text-overflow:ellipsis}.sidebar-user button{justify-self:start;padding:0;border:0;color:var(--lime);background:transparent;font-size:.72rem;font-weight:800;cursor:pointer}
.app-main{min-width:0}.topbar{height:78px;padding:0 clamp(1rem,3vw,2.4rem);position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:1rem;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.topbar>div:nth-child(2){display:grid}.topbar span{color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.topbar strong{font-size:.9rem}.menu-button{display:none;border:0;background:transparent;font-size:1.3rem}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:1rem}.topbar-actions a{padding:.55rem .8rem;border:1px solid var(--line);border-radius:.6rem;color:var(--green);font-size:.72rem;font-weight:800;text-decoration:none}.save-state{display:flex!important;align-items:center;gap:.45rem}.save-state i{width:.5rem;height:.5rem;border-radius:50%;background:var(--coral)}
.workspace{width:min(100%,1600px);margin:auto;padding:clamp(1rem,3vw,2.5rem)}
.view{animation:enter .2s ease}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* Dashboard */
.welcome-card{min-height:300px;padding:clamp(1.5rem,4vw,3.5rem);border-radius:1.5rem;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:2rem;color:#fff;background:radial-gradient(circle at 82% 15%,rgba(103,215,220,.25),transparent 20rem),radial-gradient(circle at 100% 100%,rgba(217,239,114,.14),transparent 22rem),var(--green)}.welcome-card h1{margin:.3rem 0 1rem;font-family:Georgia,serif;font-size:clamp(2.8rem,5vw,5.3rem);line-height:.9;letter-spacing:-.05em}.welcome-card h1 em{color:var(--coral);font-weight:400}.welcome-card>div:first-child>p:last-child{max-width:650px;color:rgba(255,255,255,.72);line-height:1.6}.welcome-card .eyebrow{color:var(--lime)}.welcome-date{align-self:flex-start;width:10rem;height:10rem;padding:1rem;border-radius:52% 48% 45% 55%;display:grid;place-content:center;text-align:center;color:var(--green);background:var(--lime);font-family:Georgia,serif;font-size:1.35rem;line-height:1;transform:rotate(5deg)}
.stats-grid{margin:1.2rem 0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.stat-card{padding:1.3rem;border:1px solid var(--line);border-radius:1rem;background:#fff}.stat-card>span{width:2.6rem;height:2.6rem;border-radius:.7rem;display:grid;place-items:center;color:var(--green);background:var(--mint);font-weight:900}.stat-card div{margin-top:1.2rem;display:flex;align-items:end;justify-content:space-between}.stat-card strong{font-family:Georgia,serif;font-size:2.4rem;line-height:1}.stat-card small{color:var(--muted);font-size:.7rem}.stat-card:nth-child(2)>span{background:#ffe2da}.stat-card:nth-child(3)>span{background:#e7e0ff}.stat-card:nth-child(4)>span{background:var(--lime)}
.dashboard-grid,.settings-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem}.panel{padding:1.4rem;border:1px solid var(--line);border-radius:1rem;background:#fff}.panel-heading{margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.panel-heading span{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.12em}.panel-heading h2{margin:.2rem 0 0;font-family:Georgia,serif;font-size:1.55rem}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.quick-grid button{min-height:94px;padding:1rem;border:1px solid var(--line);border-radius:.8rem;display:flex;align-items:center;gap:.85rem;background:#fff;text-align:left;cursor:pointer}.quick-grid button:hover{border-color:var(--green);transform:translateY(-2px)}.quick-grid b{width:2.7rem;height:2.7rem;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:var(--lime)}.quick-grid span{display:grid}.quick-grid strong{font-size:.78rem}.quick-grid small{margin-top:.2rem;color:var(--muted);font-size:.67rem}.activity-feed ol,.activity-feed{min-width:0}.activity-feed ol{margin:0;padding:0;list-style:none}.activity-feed li{padding:.75rem 0;border-top:1px solid var(--line);display:grid;grid-template-columns:.65rem 1fr auto;gap:.65rem;align-items:start}.activity-feed li i{width:.55rem;height:.55rem;margin-top:.25rem;border-radius:50%;background:var(--coral)}.activity-feed li span{display:grid;min-width:0}.activity-feed li strong{font-size:.74rem}.activity-feed li small,.activity-feed time{color:var(--muted);font-size:.63rem}

/* Collections */
.collection-heading{margin-bottom:1.6rem;display:flex;align-items:end;justify-content:space-between;gap:2rem}.collection-heading h1{margin:.2rem 0 .4rem;font-family:Georgia,serif;font-size:clamp(2.5rem,4vw,4.4rem);line-height:.9}.collection-heading>div>p:last-child{max-width:720px;margin:0;color:var(--muted);line-height:1.5}.toolbar{min-height:64px;padding:.65rem;border:1px solid var(--line);border-bottom:0;border-radius:1rem 1rem 0 0;display:flex;align-items:center;gap:.65rem;background:#fff}.search-box{min-width:260px;display:flex!important;align-items:center;gap:.5rem}.toolbar label{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-size:.68rem;font-weight:700}.toolbar input,.toolbar select{height:2.45rem;padding:.45rem .7rem;border:1px solid var(--line);border-radius:.55rem;background:#f9fbfa}.search-box input{width:100%}.toolbar button{height:2.45rem;padding:.45rem .7rem;border:1px solid var(--line);border-radius:.55rem;background:#fff;font-size:.7rem;font-weight:800;cursor:pointer}.record-count{margin-left:auto;color:var(--muted);font-size:.68rem}
.content-table-wrap{min-height:360px;border:1px solid var(--line);border-radius:0 0 1rem 1rem;overflow:auto;background:#fff}.content-table{width:100%;border-collapse:collapse;white-space:nowrap}.content-table th{padding:.85rem 1rem;color:var(--muted);background:#f5f8f6;font-size:.62rem;text-align:left;text-transform:uppercase;letter-spacing:.08em}.content-table td{padding:1rem;border-top:1px solid var(--line);font-size:.76rem}.content-table tr{cursor:pointer}.content-table tbody tr:hover{background:#fbfcf8}.title-cell{display:flex;align-items:center;gap:.75rem}.title-cell .thumb{width:3.1rem;height:3.1rem;border-radius:.65rem;object-fit:cover;background:var(--mint)}.title-cell span{display:grid}.title-cell strong{max-width:360px;overflow:hidden;text-overflow:ellipsis}.title-cell small{color:var(--muted);font-size:.64rem}.status-pill{padding:.3rem .55rem;border-radius:999px;color:#5e4a00;background:#fff1bc;font-size:.62rem;font-weight:800}.status-pill--published{color:#145240;background:#daf3e8}.status-pill--archived{color:#5d6260;background:#e8ecea}.table-action{padding:.35rem .6rem;border:1px solid var(--line);border-radius:.45rem;background:#fff;font-weight:800;cursor:pointer}.empty-state{padding:4rem 1rem;text-align:center}.empty-state>span{width:3.2rem;height:3.2rem;margin:auto;border-radius:50%;display:grid;place-items:center;background:var(--lime)}.empty-state h3{margin:.8rem 0 .3rem}.empty-state p{margin:0;color:var(--muted);font-size:.78rem}

/* Communications and settings */
.consent-grid{margin-bottom:1rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.consent-card{padding:1.3rem;border-radius:1rem;color:#fff;background:var(--green)}.consent-card:nth-child(2){color:var(--green);background:var(--lime)}.consent-card:nth-child(3){color:var(--green);background:#dce8ff}.consent-card span{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em}.consent-card strong{margin-top:.8rem;display:block;font-family:Georgia,serif;font-size:2.7rem}.consent-card small{opacity:.7}.integration-card{display:flex;gap:1rem}.integration-card--green{background:var(--mint)}.integration-icon{width:3.4rem;height:3.4rem;flex:0 0 auto;border-radius:.9rem;display:grid;place-items:center;color:#fff;background:var(--violet);font-size:1.3rem;font-weight:900}.integration-card--green .integration-icon{background:var(--green-2)}.integration-card h2{margin:.2rem 0}.integration-card small{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em}.integration-card p{color:var(--muted);font-size:.78rem;line-height:1.5}.integration-card button{padding:.55rem .7rem;border:1px solid var(--line);border-radius:.5rem;color:var(--muted);background:#f3f4f3;font-size:.68rem;font-weight:700}.consent-table-panel{margin-top:1rem;overflow:auto}.consent-table-panel .panel-heading>button{padding:.5rem .7rem;border:1px solid var(--line);border-radius:.55rem;background:#fff;font-size:.68rem;font-weight:800;cursor:pointer}.mini-table{width:100%;border-collapse:collapse}.mini-table th,.mini-table td{padding:.7rem;border-top:1px solid var(--line);font-size:.7rem;text-align:left}.consent-yes{color:#187255;font-weight:800}.consent-no{color:var(--muted)}
.settings-form{display:grid;align-content:start}.settings-form .panel-heading{margin-bottom:0}.settings-form>.primary-button{margin-top:1rem;justify-self:start}.connection-panel ul{margin:0;padding:0;list-style:none}.connection-panel li{padding:.9rem 0;border-top:1px solid var(--line);display:grid;grid-template-columns:.65rem 1fr auto;gap:.7rem;align-items:center}.connection-panel li i{width:.6rem;height:.6rem;border-radius:50%;background:var(--coral)}.connection-panel li i.is-ready{background:#3ebd88}.connection-panel li span{display:grid}.connection-panel li strong{font-size:.75rem}.connection-panel li small{color:var(--muted);font-size:.63rem}.connection-panel li b{font-size:.64rem}

/* Editor */
dialog{padding:0;border:0}.editor-dialog{width:min(760px,calc(100% - 2rem));max-height:calc(100vh - 2rem);border-radius:1.2rem;box-shadow:0 30px 100px rgba(0,0,0,.28)}dialog::backdrop{background:rgba(6,35,30,.62);backdrop-filter:blur(3px)}.editor-shell>header{padding:1.1rem 1.3rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:2}.editor-shell>header span{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.1em}.editor-shell>header h2{margin:.2rem 0 0;font-family:Georgia,serif;font-size:1.7rem}.editor-shell>header button{border:0;background:transparent;font-size:1.6rem;cursor:pointer}.editor-body{padding:1.3rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.editor-body label{display:grid;align-content:start;gap:.35rem;font-size:.7rem;font-weight:800}.editor-body label small{color:var(--muted);font-weight:500;line-height:1.4}.editor-body label.is-wide{grid-column:1/-1}.editor-body textarea{min-height:110px;resize:vertical}.editor-body .image-preview{grid-column:1/-1;min-height:150px;border:1px dashed var(--line);border-radius:.8rem;display:grid;place-items:center;overflow:hidden;background:#f6f8f7}.image-preview img{width:100%;max-height:280px;object-fit:cover}.check-field{padding:.75rem;border:1px solid var(--line);border-radius:.7rem;display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:.6rem}.check-field input{width:1rem!important;min-height:auto!important}.editor-shell>footer{padding:1rem 1.3rem;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;background:#fff}.editor-shell>footer>div{display:flex;gap:.6rem}.danger-link{padding:.5rem;border:0;color:var(--danger);background:transparent;font-weight:800;cursor:pointer}.editor-shell>.form-status{padding:0 1.3rem 1rem}.confirm-dialog{width:min(430px,calc(100% - 2rem));border-radius:1rem}.confirm-dialog form{padding:2rem;text-align:center}.confirm-dialog form>span{width:3rem;height:3rem;margin:auto;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--danger);font-weight:900}.confirm-dialog h2{font-family:Georgia,serif}.confirm-dialog p{color:var(--muted);font-size:.8rem;line-height:1.5}.confirm-dialog form>div{display:flex;justify-content:center;gap:.7rem}.toast{max-width:360px;padding:.8rem 1rem;position:fixed;right:1.2rem;bottom:1.2rem;z-index:200;border-radius:.7rem;color:#fff;background:var(--green);box-shadow:var(--shadow);font-size:.76rem;font-weight:700;opacity:0;transform:translateY(1rem);pointer-events:none}.toast.is-visible{opacity:1;transform:none}

@media(max-width:1100px){.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.login-grid{grid-template-columns:1fr}.login-story{min-height:430px}.login-card{margin-block:3rem}.consent-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:820px){.app{grid-template-columns:1fr}.sidebar{width:280px;position:fixed;left:0;transform:translateX(-102%);transition:transform .2s ease}.sidebar.is-open{transform:none}.sidebar-close,.menu-button{display:block}.topbar{height:66px}.save-state{display:none!important}.workspace{padding:1rem}.collection-heading{align-items:start;display:grid;gap:1rem}.collection-heading .primary-button{justify-self:start}.toolbar{align-items:stretch;flex-wrap:wrap}.search-box{min-width:100%}.record-count{margin-left:0}.welcome-card{min-height:360px}.welcome-date{width:7.5rem;height:7.5rem;font-size:1rem}.editor-body{grid-template-columns:1fr}.editor-body label.is-wide,.editor-body .image-preview{grid-column:auto}.login-brand div{display:none}}
@media(max-width:560px){.login-view{padding:.7rem}.login-grid{border-radius:1.2rem;box-shadow:7px 8px 0 rgba(6,63,53,.12)}.login-story{min-height:360px;padding:1.4rem}.login-story h1{font-size:3.15rem}.login-story>p:not(.eyebrow){margin:1.2rem 0;font-size:.88rem}.login-story li{font-size:.76rem}.login-card{width:calc(100% - 1.4rem);margin-block:.7rem;padding:1.2rem}.login-card h2{font-size:1.85rem}.demo-credentials{grid-template-columns:1fr}.demo-credentials button{justify-self:start}.stats-grid,.quick-grid,.consent-grid{grid-template-columns:1fr}.welcome-card{padding:1.3rem;display:block}.welcome-date{margin-top:1rem}.topbar-actions a{font-size:0}.topbar-actions a::after{content:'↗';font-size:.85rem}.content-table th:nth-child(n+3),.content-table td:nth-child(n+3):not(:last-child){display:none}.editor-shell>footer{align-items:stretch;flex-direction:column-reverse}.editor-shell>footer>div{display:grid}.editor-shell>footer .danger-link{text-align:left}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.candidate-play{padding:.6rem .8rem;position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%);border:0;border-radius:999px;color:#fff;background:rgba(6,63,53,.92);box-shadow:0 5px 20px rgba(0,0,0,.25);font-size:.68rem;font-weight:900;cursor:pointer;white-space:nowrap}.candidate-play:hover{background:var(--green-2)}.video-dialog{width:min(1000px,calc(100% - 2rem));border-radius:1rem;color:#fff;background:#071d19;box-shadow:0 30px 100px rgba(0,0,0,.5)}.video-dialog__shell>header{padding:1rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.video-dialog__shell>header span{color:#a9c5be;font-size:.62rem;text-transform:uppercase;letter-spacing:.1em}.video-dialog__shell>header h2{max-width:760px;margin:.2rem 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,serif;font-size:1.4rem}.video-dialog__shell>header button{border:0;color:#fff;background:transparent;font-size:1.8rem;cursor:pointer}.video-dialog__player{min-height:360px;padding:0 1.2rem 1.2rem;display:grid;place-items:center}.video-dialog__player video{width:100%;max-height:72vh;border-radius:.6rem;background:#000}.video-dialog__player p{color:#a9c5be;font-size:.75rem}@media(max-width:560px){.video-dialog__player{min-height:240px;padding:0 .7rem .7rem}.video-dialog__shell>header{padding:.8rem}.candidate-play{font-size:.62rem}}

/* Archivio selezionato e pubblicazione esplicita in galleria */
.archive-gallery-manager{display:grid;gap:1rem}.archive-gallery-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.archive-gallery-summary article{padding:1.15rem;border:1px solid var(--line);border-radius:1rem;background:#fff}.archive-gallery-summary span{display:block;color:var(--muted);font-size:.64rem;text-transform:uppercase;letter-spacing:.09em}.archive-gallery-summary strong{margin-top:.4rem;display:block;font-family:Georgia,serif;font-size:2.25rem}.archive-gallery-toolbar{min-height:64px;padding:.65rem;border:1px solid var(--line);border-radius:1rem;display:flex;align-items:center;gap:.7rem;background:#fff}.archive-gallery-toolbar label{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.68rem;font-weight:800}.archive-gallery-toolbar input,.archive-gallery-toolbar select{height:2.45rem;padding:.45rem .7rem;border:1px solid var(--line);border-radius:.55rem;background:#f9fbfa}.archive-gallery-status{min-height:1.6rem;margin:0;color:var(--green-2);font-size:.72rem;font-weight:800}.archive-gallery-more{margin-left:.5rem;padding:.38rem .65rem;border:1px solid var(--green);border-radius:.5rem;color:#fff;background:var(--green);font-size:.68rem;font-weight:900;cursor:pointer}.archive-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.archive-gallery-card{min-width:0;border:1px solid var(--line);border-radius:1rem;overflow:hidden;background:#fff}.archive-gallery-card__visual{aspect-ratio:4/3;position:relative;display:grid;place-items:center;background:#dce8e4}.archive-gallery-card__visual img{width:100%;height:100%;object-fit:cover}.archive-gallery-card__visual>span{padding:.3rem .5rem;position:absolute;top:.6rem;left:.6rem;border-radius:999px;color:#fff;background:rgba(6,63,53,.88);font-size:.58rem;font-weight:900}.archive-gallery-card__body{padding:.9rem;display:grid;gap:.32rem}.archive-gallery-card__body>div{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.archive-gallery-card__body strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.archive-gallery-card__body small{display:block;overflow:hidden;color:var(--muted);font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.archive-gallery-badge{flex:0 0 auto;padding:.25rem .45rem;border-radius:999px;font-size:.55rem;text-transform:uppercase}.archive-gallery-badge--private{color:#6a5100;background:#fff0b8}.archive-gallery-badge--published{color:#145240;background:#daf3e8}.archive-gallery-card__actions{padding:.8rem;border-top:1px solid var(--line)}.archive-gallery-card__actions button{width:100%;min-height:2.45rem;padding:.5rem .65rem;border:1px solid var(--green);border-radius:.6rem;color:#fff;background:var(--green);font-size:.67rem;font-weight:900;cursor:pointer}.archive-gallery-card__actions .archive-gallery-published{border-color:#b9d9ce;color:#145240;background:#daf3e8;cursor:default}.publish-gallery-dialog{width:min(620px,calc(100% - 2rem));border-radius:1.1rem;box-shadow:0 30px 100px rgba(0,0,0,.3)}.publish-gallery-form>header{padding:1rem 1.2rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.publish-gallery-form>header span{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.1em}.publish-gallery-form>header h2{margin:.2rem 0 0;font-family:Georgia,serif;font-size:1.65rem}.publish-gallery-form>header button{border:0;background:transparent;font-size:1.7rem;cursor:pointer}.publish-gallery-form>div{padding:1.2rem;display:grid;gap:1rem}.publish-gallery-form label{display:grid;gap:.35rem;font-size:.72rem;font-weight:800}.publish-gallery-form input,.publish-gallery-form textarea{width:100%;min-height:3rem;padding:.7rem .8rem;border:1.5px solid var(--line);border-radius:.7rem;color:var(--ink);background:#fff}.publish-gallery-form textarea{min-height:105px;resize:vertical}.publish-gallery-form>div>p{margin:0;padding:.75rem;border-left:4px solid var(--lime);color:var(--muted);background:#f6f8f7;font-size:.7rem;line-height:1.5}.publish-gallery-form>footer{padding:1rem 1.2rem;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:.65rem}.publish-gallery-form>.form-status{padding:0 1.2rem 1rem}.publish-gallery-form button:disabled{opacity:.55}
.ai-suggestion-panel{margin:1rem 1.2rem 0;padding:.9rem;border:1px solid #c8d9d4;border-radius:.85rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem 1rem;align-items:center;background:linear-gradient(135deg,#edf7f4,#f8fbea)}.ai-suggestion-panel>div{min-width:0;display:flex;align-items:center;gap:.7rem}.ai-suggestion-panel>div>span{width:2.2rem;height:2.2rem;flex:0 0 auto;border-radius:.65rem;display:grid;place-items:center;color:var(--green);background:var(--lime);font-weight:900}.ai-suggestion-panel>div>div{min-width:0;display:grid}.ai-suggestion-panel strong{font-size:.72rem}.ai-suggestion-panel small{margin-top:.15rem;color:var(--muted);font-size:.62rem;line-height:1.35}.ai-suggestion-panel>button{min-height:2.55rem;padding:.55rem .8rem;border:1px solid var(--green);border-radius:.65rem;color:#fff;background:var(--green);font-size:.67rem;font-weight:900;cursor:pointer}.ai-suggestion-panel>p{min-height:.9rem;margin:0;grid-column:1/-1;color:var(--green-2);font-size:.62rem;font-weight:700;line-height:1.4}
@media(max-width:1200px){.archive-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){.archive-gallery-summary{grid-template-columns:1fr 1fr 1fr}.archive-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-gallery-toolbar{align-items:stretch;flex-wrap:wrap}.archive-gallery-toolbar .search-box{width:100%}}@media(max-width:560px){.archive-gallery-summary,.archive-gallery-grid{grid-template-columns:1fr}.archive-gallery-toolbar label:not(.search-box){width:100%;justify-content:space-between}.archive-gallery-toolbar select{flex:1}.publish-gallery-form>footer{align-items:stretch;flex-direction:column-reverse}.ai-suggestion-panel{grid-template-columns:1fr}.ai-suggestion-panel>button{width:100%}}
