:root{color:#352023;background:#faf6ef;--nav:#410d19;--blue:#8e223d;--muted:#675451;--border:#e9dbcb;--gold:#d9b76d;--marun:#71192f}
#sidebar{background:linear-gradient(155deg,#671426,#340b15 85%);border-right:1px solid #a77445}
.brand small,.nav-group,.sidebar-end span{color:#f0cb87}.nav-link,.sidebar-end{color:#f7e6dc}
.nav-link:hover,.nav-link[aria-current=page]{background:#84273d}.nav-link[aria-current=page]{box-shadow:inset 3px 0 var(--gold)}
.top{color:#653444}.icon{background:#f5e9df;color:var(--marun)}
.hero{background:linear-gradient(115deg,#430c1a,#8b213c 76%,#9e2942);border-bottom:3px solid var(--gold)}
.hero p{color:#fff1e6}.hero .eyebrow{color:#ffda8e}
.hero .button,.button.primary{background:#f0ce87;color:#421420;border-color:#be9856}.hero .button:hover,.button.primary:hover{background:#f8dfa9}
.eyebrow,.org-kicker,.org-role,.stat .cap,.filter-grid label,.form-grid label,.scope,.doc summary{color:#77223a}
.button,input,select,textarea{border-color:#dbc6b4;color:#631b31}.button:hover,.button.ghost:hover{background:#f8ebde}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#a36b22}
.stat{border-top:3px solid var(--gold)}.stat strong{color:var(--marun)}
thead th{background:#f7eadc;color:#5f2133}
.track{background:#f4e9e0}.track i{background:#9c2d49}.track.old i{background:#c2984c}.track b{color:#491c2a;background:#fff7ebec}
.org-dashboard{background:linear-gradient(115deg,#fffaf3,#f4e6d6);border-top:3px solid var(--gold)}
.org-leaders img{max-width:385px}.org-leaders figcaption{background:#601629;border-top:2px solid var(--gold)}.org-leaders span{color:#f6dba8}
.org-structure{padding:clamp(17px,3vw,32px);background:linear-gradient(145deg,#fffaf3,#f6ede0);border-top:3px solid var(--gold)}
.org-structure h2,.org-dashboard h2,.org-card h3{font-family:Georgia,serif;font-weight:600;color:#541426}
.org-structure ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,2vw,22px);max-width:none;margin:24px 0 0;align-items:start}
.org-card{display:block;padding:0;overflow:hidden;background:#fffdf8;border:1px solid #d9c09b;border-top:3px solid #b48a42;box-shadow:0 8px 20px #4c152213}
.org-card+.org-card{margin-top:0}.org-card+.org-card:before{display:none}
.org-card .org-portrait{display:block;width:100%;height:clamp(176px,22vw,325px);border-radius:0;object-fit:cover;object-position:center 27%;background:#efe0cf}
.org-card .org-kadis{object-position:center 59%}
.org-card .org-placeholder{display:grid;place-items:center;background:radial-gradient(ellipse,#fdf6e8,#eddbc1);color:#6d4839}
.org-placeholder img{object-position:center 26%}
.org-card .org-caption{padding:16px;border-top:2px solid #d5af66;overflow-wrap:anywhere}
.org-card .org-role{min-height:3em;margin-bottom:8px}.org-card h3{font-size:clamp(17px,2vw,23px);line-height:1.23}.org-upload input{font-size:11px}
@media(max-width:660px){.org-structure ol{grid-template-columns:1fr;max-width:400px;margin-inline:auto}.org-card .org-portrait{height:clamp(215px,75vw,340px)}.org-card .org-role{min-height:0}}

/* Editorial leadership profile, scoped to the organization route. */
.org-structure{color:#f7f0e0;background:radial-gradient(ellipse at top right,#24364c 0%,#111c2b 55%,#0b1420 100%);border:1px solid #a9864f;border-top:3px solid #dbb871;padding:clamp(18px,4vw,42px)}
.org-structure .org-kicker,.org-structure .org-role{color:#e6bf76;letter-spacing:.14em}
.org-structure h2,.org-structure .org-card h3{color:#fff6e6}
.org-structure .org-unit,.org-structure .source,.org-structure #org-status{color:#ded3c2}
.org-structure ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:20px;border-top:1px solid #987842}
.org-structure .org-card{background:#192638;border:1px solid #8f7349;border-radius:9px;box-shadow:0 14px 28px #070e1880}
.org-structure .org-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:stretch}
.org-structure .org-card:first-child .org-caption{display:flex;flex-direction:column;justify-content:center;border-top:0;border-left:2px solid #d2a758;padding:clamp(16px,4vw,46px)}
.org-structure .org-card:first-child h3{font-size:clamp(25px,4vw,46px);line-height:1.12}
.org-structure .org-card .org-portrait{height:clamp(230px,31vw,385px);background:#202e40}
.org-structure .org-card .org-kadis{object-position:center 57%}
.org-structure .org-card .org-placeholder{background:radial-gradient(ellipse at center,#293b50,#121d2b);color:#e4cc9c}
.org-structure .org-placeholder span{border:1px solid #a48653;border-radius:4px;padding:8px 12px}
.org-structure .org-card .org-caption{padding:clamp(15px,2.5vw,26px);border-top-color:#caa059}
.org-structure .org-card .org-role{min-height:0;line-height:1.5}
.org-structure .org-upload input{color:#f4e2bf;background:#101a28;border-color:#90724b}
.org-structure .org-upload input::file-selector-button{background:#e9c582;color:#24202a;border:0;border-radius:3px;padding:5px 7px;margin-right:7px}
@media(max-width:660px){.org-structure ol{grid-template-columns:1fr;max-width:none}.org-structure .org-card:first-child{display:block}.org-structure .org-card:first-child .org-caption{border-left:0;border-top:2px solid #caa059;padding:18px}.org-structure .org-card .org-portrait{height:clamp(230px,74vw,345px)}}

/* Susunan jabatan: satu kartu per tingkat. */
.org-structure ol{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;max-width:850px;margin-inline:auto}
.org-structure .org-card,.org-structure .org-card:first-child{display:grid;grid-column:auto;grid-template-columns:clamp(180px,29%,248px) minmax(0,1fr);align-items:stretch;position:relative;overflow:visible}
.org-structure .org-card+.org-card::before{content:'';display:block;position:absolute;left:50%;top:-29px;width:1px;height:28px;background:#bd995d}
.org-structure .org-card .org-portrait{height:auto;width:100%;aspect-ratio:4/5;align-self:start;border-radius:8px 0 0 8px;object-position:center 28%;overflow:hidden}
.org-structure .org-card .org-portrait img{display:block;object-position:center 28%}
.org-structure .org-card .org-caption,.org-structure .org-card:first-child .org-caption{display:flex;flex-direction:column;justify-content:center;border-top:0;border-left:1px solid #a8834e;padding:clamp(16px,3vw,35px)}
.org-structure .org-card h3,.org-structure .org-card:first-child h3{font-size:clamp(22px,3vw,35px);line-height:1.18}
@media(max-width:580px){.org-structure .org-card,.org-structure .org-card:first-child{display:flex;flex-direction:column}.org-structure .org-card .org-portrait{width:min(100%,248px);margin:14px auto 0;align-self:center;border-radius:6px}.org-structure .org-card .org-caption,.org-structure .org-card:first-child .org-caption{border-left:0;text-align:center}.org-structure .org-upload input{max-width:250px;margin-inline:auto}}

/* Identitas SIPANDE dan pimpinan daerah pada baris pembuka. */
.hero.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);gap:28px;align-items:center;padding:28px 30px}
.dashboard-hero h1{font-size:clamp(40px,5vw,64px)}
.hero .cerah{margin:22px 0 18px;padding-left:14px;border-left:3px solid var(--gold)}
.cerah strong{display:block;color:#ffda8e;font-size:clamp(21px,2.5vw,30px);font-family:Georgia,serif}
.cerah span{display:block;font-size:14px;letter-spacing:.04em;margin-top:3px}
.hero .button{margin-top:14px}
#hero-leaders{min-width:0;align-self:end}
#hero-leaders .org-leaders img{max-width:385px}
#hero-leaders figcaption{background:#370a15b3;border:1px solid #bf985f;color:#fff5e7}
.org-dashboard{grid-template-columns:minmax(0,1fr)}
@media(max-width:800px){.hero.dashboard-hero{grid-template-columns:minmax(0,1fr);padding:22px;gap:24px}#hero-leaders{width:100%;max-width:440px;justify-self:center}}
