/* Photo album and the PGM content panel share the established site palette. */
.album-primary,.album-advanced,.form-grid{display:grid;gap:16px}
.album-primary{grid-template-columns:1.25fr .8fr .8fr 1.25fr;align-items:end;margin:26px 0 14px}
.album-primary label,.album-advanced label,.panel-tools label,.form-grid label,.publication-box>label{display:flex;flex-direction:column;gap:8px;min-width:0}
.album-primary label>span,.album-advanced label>span,.panel-tools label>span,.form-grid label>span,.publication-box>label>span{font-size:12px;font-weight:600;color:#585a52}
.album-primary input,.album-primary select,.album-advanced input,.album-advanced select,.panel-tools input,.panel-tools select,.form-grid input,.form-grid select,.form-grid textarea,.publication-box select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:white;color:var(--ink);font:inherit;font-size:13px}
.album-filters details{border:1px solid var(--line);border-radius:12px;background:#fafaf7;padding:14px 16px}
.album-filters summary{cursor:pointer;font-size:13px;font-weight:600;width:fit-content}
.album-advanced{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}
.album-review{display:flex!important;flex-direction:row!important;align-items:center;font-size:12px}
.album-review input{width:17px;min-height:17px;accent-color:var(--red)}
.album-summary{display:flex;justify-content:space-between;align-items:center;margin:18px 0 25px;gap:18px;font-size:12px;color:var(--muted)}
.network-album{margin-top:32px}.network-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:18px}
.network-heading h3{font-size:16px;letter-spacing:.01em}.network-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}
.network-album .execution-card{text-align:left;background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;padding:0;transition:box-shadow .15s}
.network-album .execution-card:hover{box-shadow:0 6px 22px #20201f12}.network-album .execution-card>img{width:100%;height:220px;object-fit:cover}
.network-album .execution-card>div{padding:17px}.network-album .execution-card h4{font-size:16px;margin:9px 0;line-height:1.35}.network-album .execution-card p{line-height:1.6;font-size:12px;color:var(--muted)}
.network-album .execution-card small{font-size:10px;color:var(--muted)}.photo-flag{display:block;font-size:10px;color:#7c591e;margin-top:9px}
.execution-photo figure{margin:0}.execution-photo figcaption{font-size:11px;margin-top:7px;color:var(--muted)}
.execution-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;font-size:12px;margin:24px 0}.execution-meta dt{color:var(--muted);margin-bottom:5px}.execution-meta dd{margin:0;font-weight:600}
.album-empty{border:1px dashed #d4d4ca;border-radius:16px;text-align:center;padding:44px 22px;margin-top:22px}.album-empty h3{font-size:19px;margin-bottom:10px}.album-empty p{font-size:13px;color:var(--muted);line-height:1.7}
.album-empty .small-link{margin:18px auto 0}.admin-link{color:var(--red)!important}
.panel-header .header-inner{justify-content:space-between;gap:25px}.panel-header .identity{flex-shrink:0}.panel-header .identity span{font-size:12px}.panel-header .button{font-size:12px;padding:12px 16px;min-height:44px}
.panel-main{padding-top:42px;padding-bottom:30px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:25px}.panel-heading h1{font-size:34px;letter-spacing:-1.2px;margin:12px 0 10px;line-height:1.15}.panel-heading>div>p:last-child{font-size:14px;line-height:1.7;color:var(--muted)}
.panel-heading .hero-caption{font-size:11px;margin:0}.panel-heading .button{white-space:nowrap}.panel-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:30px 0 24px}.panel-stats>div{border:1px solid var(--line);background:#fff;border-radius:15px;padding:22px}.panel-stats span{display:block;color:var(--muted);font-size:12px}.panel-stats strong{display:block;font-size:30px;font-weight:600;margin-top:15px}.panel-stats>div:nth-child(2) strong{color:var(--red)}
.panel-note{padding:16px 20px;border-left:3px solid var(--red);background:#ecebe5;font-size:12px;line-height:1.8;border-radius:0 8px 8px 0}.panel-note a{text-decoration:underline;text-underline-offset:3px}
.panel-tools{display:grid;grid-template-columns:1.5fr 1fr .8fr auto;align-items:end;gap:15px;margin:30px 0}.panel-tools button{min-height:44px;padding:0 8px}.panel-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-list-heading h2{font-size:18px;letter-spacing:-.3px}.panel-list-heading p{font-size:12px;color:var(--muted)}
.panel-list{display:flex;flex-direction:column;gap:12px}.admin-record{display:grid;grid-template-columns:126px minmax(0,1fr) auto;gap:24px;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;padding:16px}.record-image{height:118px;border-radius:9px;overflow:hidden;background:#f0efe9;display:flex;align-items:center;justify-content:center}.record-image img{width:100%;height:100%;object-fit:cover}.record-image span{color:var(--muted);font-size:12px}.record-main h3{font-size:18px;margin:10px 0 7px;line-height:1.4}.record-main p{font-size:12px;color:#5f6058;line-height:1.6;margin-bottom:8px}.record-main small{font-size:11px;color:var(--muted)}.record-labels{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.record-status{padding:5px 8px;border-radius:5px;font-weight:600}.record-status.published{background:#edf4e7;color:#4c6438}.record-status.draft{background:#f5efdf;color:#87642a}.record-status.archived{background:#efefef;color:#646464}.record-highlight{color:var(--red)}.record-actions{display:flex;flex-direction:column;align-items:center;gap:16px}.record-actions .button{font-size:12px;padding:11px 17px;min-height:42px}.record-actions .small-link{font-size:11px}
.panel-empty{padding:60px 24px;border:1px dashed #cccec2;border-radius:15px;text-align:center}.panel-empty .empty-icon{margin:0 auto 20px;font-size:25px}.panel-empty h3{font-size:20px;margin-bottom:12px}.panel-empty p{font-size:13px;color:var(--muted);line-height:1.7;max-width:460px;margin:auto}.panel-footer{font-size:10px;color:var(--muted);margin-top:40px;border-top:1px solid var(--line);padding-top:22px}
.panel-message,.form-error{border:1px solid #bdcdb0;background:#eef4e8;color:#486139;border-radius:9px;padding:13px 16px;margin:18px 0;font-size:13px;line-height:1.6}.panel-message.error,.form-error{background:#fbeeed;border-color:#e7bebc;color:#932c30}
.editor-dialog{width:min(880px,calc(100% - 36px));max-height:calc(100dvh - 36px);border:none;border-radius:20px;padding:0;background:var(--paper);color:var(--ink)}.editor-dialog::backdrop{background:#22241e99;backdrop-filter:blur(3px)}.editor-dialog .dialog-toolbar{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:2;padding:15px 26px;font-size:15px}.editor-dialog .icon-button{font-size:19px;min-width:40px;min-height:40px}.execution-form{padding:25px 28px}.editor-intro{display:flex;align-items:center;gap:20px;margin-bottom:22px}.editor-intro p{font-size:11px;color:var(--muted);line-height:1.6}.editor-intro .state-tag{white-space:nowrap}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.form-grid .wide{grid-column:1/-1}.form-grid textarea{resize:vertical;min-height:95px;line-height:1.6}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.panel-tools input:focus,.panel-tools select:focus,.album-filters input:focus,.album-filters select:focus{outline:2px solid #b7232d66;outline-offset:2px}
.photo-editor{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.photo-editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.photo-editor h3{font-size:16px}.photo-editor-heading>span{font-size:12px;color:var(--muted)}.upload-zone{display:flex;flex-direction:column;align-items:center;text-align:center;border:1.5px dashed #babcaf;border-radius:12px;background:#fff;padding:24px 15px;gap:9px;cursor:pointer}.upload-zone>span{font-size:14px;font-weight:600}.upload-zone small{font-size:11px;color:var(--muted);line-height:1.7}.upload-zone input{max-width:100%;font-size:12px;margin-top:4px}.upload-zone.dragging{border-color:var(--red);background:#fff1f1}.photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.photo-preview{background:white;border:1px solid var(--line);border-radius:9px;padding:9px;min-width:0}.photo-preview img{width:100%;height:120px;object-fit:cover;border-radius:5px}.photo-preview p{font-size:10px;margin:10px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.photo-preview>label{display:flex;align-items:center;gap:6px;font-size:10px;margin-top:8px;cursor:pointer}.photo-preview input{accent-color:var(--red);width:15px;height:15px;flex-shrink:0}.photo-preview>span{font-size:10px;color:#567346;display:block;margin:5px 0 12px}.photo-preview .small-link{font-size:10px}.photo-preview.removed{opacity:.55;border-color:#b7232d55}.photo-preview.new{border-color:#bdcbb3}.field-hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:14px}.publication-box{background:#eae9e2;border:1px solid var(--line);border-radius:12px;padding:19px;margin-top:25px;display:grid;grid-template-columns:1.4fr 1fr;gap:16px;align-items:center}.publication-box .highlight-check{display:flex;flex-direction:row;align-items:center;gap:9px}.highlight-check input{accent-color:var(--red);width:18px;height:18px;flex-shrink:0}.publication-box .highlight-check>span{font-size:12px}.publication-box>p{grid-column:1/-1;font-size:11px;color:var(--muted);line-height:1.7}.editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.editor-actions .button{font-size:13px;min-height:46px}.access-message{padding-top:70px;padding-bottom:70px}.access-message h1{font-size:30px;margin-bottom:20px}.access-message p{margin-bottom:25px;line-height:1.7}.access-message>a{margin-right:20px}
[hidden]{display:none!important}
@media(max-width:900px){.album-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-heading h1{font-size:29px}.panel-stats{gap:10px}.panel-stats>div{padding:17px}.admin-record{grid-template-columns:100px minmax(0,1fr) auto;gap:16px}.record-image{height:110px}.panel-tools{grid-template-columns:1fr 1fr 1fr auto}.panel-search{grid-column:1/-1}.panel-header .identity span{max-width:100px;line-height:1.5}.execution-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.album-primary,.album-advanced{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.album-primary label:first-child,.album-primary label:last-child{grid-column:1/-1}.album-review{grid-column:1/-1}.network-heading h3{font-size:13px}.network-heading>span{font-size:10px}.panel-heading{align-items:flex-start;flex-direction:column;gap:19px}.panel-heading .button{width:100%;justify-content:center}.panel-main{padding-top:29px}.panel-heading h1{font-size:28px}.panel-heading>div>p:last-child{font-size:12px}.panel-stats{grid-template-columns:repeat(2,1fr);margin:23px 0}.panel-stats strong{font-size:28px}.panel-stats span{font-size:10px}.panel-note{font-size:11px;padding:14px}.panel-header .identity span{font-size:10px}.panel-header .button{font-size:10px;padding:10px}.panel-tools{grid-template-columns:1fr 1fr;gap:14px}.panel-tools .small-link{grid-column:1/-1;justify-self:end;min-height:32px}.panel-list-heading h2{font-size:16px}.admin-record{grid-template-columns:75px minmax(0,1fr);gap:13px;padding:12px}.record-image{height:92px}.record-main h3{font-size:14px}.record-main p{font-size:11px}.record-main small{font-size:10px}.record-labels{font-size:9px;gap:6px}.record-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px;gap:18px}.record-actions .button{padding:8px 15px;min-height:38px}.editor-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.execution-form{padding:18px}.editor-dialog .dialog-toolbar{padding:10px 18px}.editor-intro{align-items:flex-start;flex-direction:column;gap:9px}.form-grid{grid-template-columns:1fr;gap:16px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}.photo-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-preview img{height:110px}.publication-box{grid-template-columns:1fr}.editor-actions{gap:9px}.editor-actions .button{padding:13px 16px;flex:1;justify-content:center}.panel-empty{padding:40px 18px}.panel-empty h3{font-size:18px}.panel-empty p{font-size:12px}.album-summary{align-items:flex-start}.execution-meta{grid-template-columns:repeat(2,1fr);gap:14px}}
