#photo-section,.publish-panel{border-top:1px solid #dce1e9;margin-top:36px;padding-top:24px}.photo-row{display:grid;grid-template-columns:140px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid #e5e8ef}.photo-row img{width:140px;height:110px;object-fit:cover;background:#f1f3f7}.photo-actions,.publish-actions{display:flex;flex-wrap:wrap;gap:8px}.photo-actions button{font-size:12px;padding:8px 12px}.publish-actions a{border:1px solid #c9d0dc;padding:12px 18px;border-radius:4px}#save-photos{margin-top:16px}@media(max-width:550px){.photo-row{grid-template-columns:1fr}.photo-row img{width:100%;height:180px}.publish-actions>*{width:100%;text-align:center}}

.area-input{display:flex;align-items:center;gap:12px;margin:7px 0 16px}.area-input input{flex:1;min-width:0;width:0;margin:0;padding:12px}.area-input>span{flex:none;display:block;min-width:30px;font-size:16px;font-weight:500;color:#182139;line-height:1;pointer-events:none}

/* Separate draft saving from the final publishing step. */
.editor>.actions{flex-direction:column;justify-content:center;gap:14px;margin-top:32px}
.editor>.actions button{min-width:220px;padding:14px 28px;background:#fff;color:#25314b;border-color:#8995ab;font-weight:600}
.editor>.actions button:hover{background:#f5f7fb}
.editor>.actions+.help{text-align:center;max-width:620px;margin:14px auto 0}
.editor>.publish-panel{margin-top:40px;padding:28px;background:#edf2ff;border:1px solid #d1dcff;border-radius:12px}
.publish-panel h2{margin:0 0 12px;color:#233eb5}
.publish-panel .help{color:#52627e}
.publish-panel #publish-readiness{font-size:14px;color:#344563;margin:20px 0}
.publish-panel #publish-result:empty{display:none}
.publish-panel .publish-actions{align-items:center;gap:10px;margin-top:22px}
.publish-panel .publish-actions a,.publish-panel #unpublish-project{background:#fff}
.publish-panel #publish-project{font-weight:700;padding:14px 24px;box-shadow:0 3px 10px #344de21a}
@media(max-width:550px){.editor>.publish-panel{padding:22px 18px}.editor>.actions button{width:100%;min-width:0}}

.visibility-badge{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:5px 10px;border-radius:999px;font-size:12px!important;font-weight:700;line-height:1.3;letter-spacing:0;white-space:nowrap}
.visibility-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.visibility-badge[data-state="public"]{background:#e3f4e9;color:#17643b;border:1px solid #b8dfc8}
.visibility-badge[data-state="private"]{background:#f0f1f4;color:#515b6d;border:1px solid #d8dce3}
.project-item-title{display:block;margin-top:10px;font-weight:600}
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.editor-heading h2{margin:0}

.photo-drag-handle{display:block;width:140px;align-self:start;padding:0;border:0;border-radius:5px;background:#f1f4fa;overflow:hidden;cursor:grab;touch-action:none;user-select:none}
.photo-drag-handle span{display:block;padding:7px 3px;color:#53627b;font-size:12px}
.photo-row.is-dragging{opacity:.45;background:#edf2ff}
.photo-row.is-dragging .photo-drag-handle{cursor:grabbing}
.photo-row.drop-before{box-shadow:0 -3px 0 #344de2}
.photo-row.drop-after{box-shadow:0 3px 0 #344de2}
@media(max-width:550px){.photo-drag-handle{width:100%}}

.project-management-card{padding:16px;border:1px solid #dfe4ee;border-radius:10px;background:#fff}
.project-management-card[data-selected="true"]{border-color:#465fff;background:#f2f5ff;box-shadow:inset 3px 0 #465fff}
.project-management-card h3{font-size:16px;line-height:1.5;margin:12px 0 6px}
.project-card-actions{display:flex;gap:8px;margin-top:16px}
.project-card-actions button{flex:1;padding:8px 10px;font-size:13px;font-weight:600}
.project-card-actions .edit-project{color:#304ac9;border-color:#c8d2ff}
.project-card-actions .delete-project{color:#a83b36;background:#fff;border-color:#ead6d4}
.project-trash{margin-top:28px;padding-top:20px;border-top:1px solid #dfe4ee}
.project-trash summary{cursor:pointer;font-size:14px;font-weight:600;color:#667085}
#trash-count{display:inline-block;margin-left:6px;background:#eef0f4;border-radius:10px;padding:1px 8px;font-size:12px}

/* Unified administration layout. */
body{background:#f4f6fa;font-size:14px;line-height:1.55;color:#202a40}
header{min-height:76px;padding:18px max(28px,calc((100vw - 1400px)/2));gap:22px}
header>span{color:#748095;font-size:13px}header button{padding:9px 16px}
main{max-width:1400px;padding:40px 32px 64px}
h1{font-size:28px;letter-spacing:-.04em;margin:6px 0 8px}.heading p{margin:0}.heading .eyebrow{font-size:11px;letter-spacing:.14em;margin-bottom:8px}.heading>button{flex-shrink:0}
h2{font-size:18px;letter-spacing:-.025em}h3{font-size:16px;letter-spacing:-.02em}
button,.publish-actions a{border-radius:7px;font-size:13px;transition:background .15s,border-color .15s}
button:hover:not(:disabled){border-color:#8999c8}button:disabled{cursor:not-allowed;opacity:.5}
.primary:hover:not(:disabled){background:#273fc5;border-color:#273fc5}
.admin-steps{display:flex;gap:0;margin:28px 0 0;padding:14px 20px;border:1px solid #e0e5ef;background:#fff;border-radius:10px}
.admin-steps a{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;color:#5b677e;font-size:13px;font-weight:600}.admin-steps a+a{border-left:1px solid #e7ebf2}.admin-steps span{color:#4357d7;font-size:11px;letter-spacing:.05em}
.layout{grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.layout>aside{position:sticky;top:24px;padding:22px;border-radius:12px;max-height:calc(100vh - 48px);overflow-y:auto}
.layout>aside>h2{font-size:16px;margin:0 0 8px}.layout>aside>.help{margin:0 0 20px}
.editor{min-width:0;padding:32px 36px;border-radius:12px;box-shadow:0 4px 24px #18213903}
.editor-heading{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid #e8ecf3}.editor-heading h2{font-size:21px}
#project-form,#photo-section,#publish-panel{scroll-margin-top:24px}
#project-form>h3{margin:0 0 8px}#project-form>.help{margin:0 0 24px;max-width:680px;line-height:1.8}
.grid{gap:22px 24px;align-items:start}.grid label{font-size:13px;font-weight:600}
input,select,textarea{font-size:14px;line-height:1.55;border-color:#d2dae7;border-radius:7px;padding:11px 13px;margin:8px 0 0;min-height:44px;box-shadow:0 1px 2px #18213903}
input::placeholder,textarea::placeholder{color:#929bac;font-size:13px}textarea{min-height:86px}
.area-input{margin:8px 0 0;gap:10px}.area-input input{padding:11px 13px}.area-input>span{min-width:24px;color:#647086}
.facility-field{position:relative}.facility-manage-link{position:absolute;top:0;right:0;font-size:12px;margin:0;min-height:0;padding:0;line-height:1.6}
.facility-manager{margin:28px 0 0;padding:22px;border-radius:10px}.facility-manager .facility-row input{margin:0}.facility-manager summary{font-size:14px}.facility-row{gap:8px}.facility-footer{padding-top:18px}
.help{font-size:12px;line-height:1.8;color:#7a869a}
#photo-section{margin-top:34px;padding-top:28px}#photo-section h2{font-size:16px;margin:0 0 8px}#photo-section>.help{margin:0 0 20px}
#photo-section>label{padding:18px 20px;background:#f7f9fc;border:1px dashed #cbd5e6;border-radius:9px;font-size:13px}
input[type=file]{border:0;padding:0;box-shadow:none;background:transparent;min-height:32px;font-size:12px}input[type=file]::file-selector-button{border:1px solid #cbd5e6;background:#fff;padding:8px 14px;border-radius:6px;margin-right:12px;color:#34405a;cursor:pointer}
#photo-help{margin:12px 0 4px}.photo-row{grid-template-columns:140px minmax(0,1fr);padding:20px 0;gap:20px}.photo-row>div{min-width:0}.photo-row label{font-size:13px}.photo-row input{margin:8px 0 12px}.photo-actions{gap:6px}.photo-drag-handle{border:1px solid #e0e6f0;border-radius:7px}.photo-row img{display:block}
.editor>.actions{padding-top:26px;margin-top:10px;gap:12px}.editor>.actions button{min-width:240px;border-radius:8px}.editor>.actions+.help{font-size:12px;margin-top:14px}
.editor>.publish-panel{margin-top:32px;padding:26px;border-radius:10px;background:#eef2ff}.publish-panel h2{font-size:16px}.publish-panel #publish-readiness{font-size:13px;margin:16px 0}.publish-panel #publish-result{font-size:13px}.publish-actions>*{font-size:12px}.publish-panel .publish-actions{gap:8px}.publish-panel .publish-actions a,.publish-panel .publish-actions button{padding:11px 14px}
.project-management-card{padding:14px;margin-bottom:10px}.project-management-card h3{font-size:14px;margin:10px 0 6px}.project-item small{font-size:12px}.project-card-actions{margin-top:14px}.project-card-actions button{font-size:12px}.visibility-badge{font-size:11px!important;padding:4px 9px}
#notice:not(:empty){border-radius:0 8px 8px 0;font-size:13px}
@media(max-width:1000px){.layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.layout>aside{padding:18px}.editor{padding:26px}.grid{gap:20px 18px}.publish-actions>*{flex:1 1 auto;text-align:center}}
@media(max-width:800px){main{padding:24px 20px 40px}header{padding:16px 20px;gap:14px}header>span{display:none}.heading{display:flex}.heading h1{font-size:24px}.heading p:not(.eyebrow){font-size:12px}.admin-steps{padding:12px 6px;margin-top:22px}.admin-steps a{font-size:11px;gap:6px}.layout{grid-template-columns:1fr}.layout>aside{position:static;max-height:360px}.editor{padding:24px}.grid{grid-template-columns:1fr 1fr}.wide{grid-column:1/-1}#project-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.project-management-card{margin:0}.project-trash{margin-top:20px}}
@media(max-width:550px){header>a:first-child{font-size:22px}header>a:nth-of-type(2){font-size:12px}header button{font-size:12px;padding:8px 10px}main{padding:22px 14px 32px}.heading{align-items:start;gap:12px}.heading>button{padding:10px 12px;font-size:12px}.heading p:not(.eyebrow){max-width:230px}.admin-steps a{flex-direction:column;gap:2px}.editor{padding:22px 18px}.grid{grid-template-columns:1fr;gap:20px}.wide{grid-column:auto}.editor-heading h2{font-size:19px}.photo-row{grid-template-columns:100px minmax(0,1fr);gap:12px}.photo-drag-handle{width:100px}.photo-row img{width:100px;height:90px}.photo-drag-handle span{font-size:10px}.photo-actions button{padding:6px 8px;font-size:11px}.editor>.publish-panel{padding:20px 16px}.facility-manager{padding:16px}.facility-row input{flex-basis:100%}.publish-actions>*{width:100%}#project-list{grid-template-columns:1fr}.editor>.actions button{min-width:0;width:100%}}
.admin-page-nav{display:flex;gap:8px;margin:0 0 28px;border-bottom:1px solid #dce2ed;padding-bottom:12px}.admin-page-nav a{padding:10px 16px;border-radius:7px;color:#637087;font-size:14px}.admin-page-nav a[aria-current=page]{background:#e9eeff;color:#304ac9;font-weight:700}.home-editor{margin-top:28px}.home-block+.home-block,.home-block{padding:24px 0;border-bottom:1px solid #e6eaf2}.home-block:first-child{padding-top:0}.home-block h2{margin:0 0 22px}.home-image-preview{display:block;width:100%;max-height:350px;object-fit:cover;border-radius:8px;margin:12px 0}.home-upload{margin-top:24px}.home-save{justify-content:center;margin:28px 0 0}.home-publish{padding:28px;background:#eef2ff;border:1px solid #d1dcff;border-radius:12px}.home-publish p{font-size:13px}.home-publish .publish-actions{margin-top:20px}#home-message{font-size:13px}

.home-featured{border-top:1px solid #e6eaf2;margin-top:24px;padding-top:20px}.home-featured h3{margin:0 0 10px}

/* Main content sections are separate editing cards. */
#home-form.home-editor{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
#home-fields{display:grid;gap:32px}
#home-fields>.home-block{margin:0;padding:28px 32px 32px;background:#fff;border:1px solid #dce3ee;border-radius:12px;box-shadow:0 3px 12px #18213904;overflow:hidden}
#home-fields>.home-block>h2{margin:-28px -32px 26px;padding:20px 32px;background:#edf1fa;border-bottom:1px solid #dce3ee;border-left:4px solid #4259d8;color:#243665;font-size:18px;font-weight:700;letter-spacing:-.02em}
#home-fields>.home-block:first-child>h2{background:#e8edf7}
#home-fields .home-featured{padding:22px;background:#f7f9fc;border:1px solid #e1e7f0;border-radius:9px;margin-top:26px}
#home-form>.home-save{display:flex;flex-direction:column;gap:8px;padding:28px;margin:32px 0 0;border:1px dashed #c6cfdf;border-radius:12px;background:#f9fafc;text-align:center}
.home-save>h2{font-size:16px;margin:0}.home-save>p{font-size:12px;margin:0 0 10px;color:#748095}
#home-workspace>.home-publish{margin-top:32px;padding:28px 32px;border:1px solid #bdcbff;border-top:4px solid #4259d8;background:#eaf0ff}
@media(max-width:550px){#home-fields{gap:24px}#home-fields>.home-block{padding:22px 18px}#home-fields>.home-block>h2{margin:-22px -18px 22px;padding:17px 18px;font-size:16px}#home-fields .home-featured{padding:16px}#home-workspace>.home-publish{padding:22px 18px}#home-form>.home-save{padding:24px 18px}}

.home-font-control{display:flex;align-items:center;gap:10px;margin-top:10px;color:#738097}.home-font-control label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400}.home-font-control input{width:82px;min-height:32px;margin:0;padding:5px 8px;font-size:12px}.home-font-control button{padding:5px 10px;font-size:11px;color:#647086}.home-font-control span{font-size:11px}

.home-font-control input{width:116px}.home-font-control button{white-space:nowrap}
