:root{font-family:Arial,sans-serif;color:#28352f;background:#f5f3ed;font-size:16px;--line:#d9ded6;--green:#314c3e}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid #a9b7ac;border-radius:5px;padding:.75rem 1rem;background:#fff;color:#28352f}button:hover{background:#e7ece6}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#203a2c}.top{display:flex;align-items:center;gap:1.5rem;padding:1.2rem 4vw;border-bottom:1px solid var(--line);background:#fff}.brand{font:1.35rem Georgia,serif;text-decoration:none}.owner,.eyebrow{font-size:.7rem;letter-spacing:.17em}.owner{color:#64756b}.actions{margin-left:auto;display:flex;align-items:center;gap:1rem}main{max-width:1180px;margin:auto;padding:3rem 2rem}.intro{max-width:720px}h1,h2,h3{font-family:Georgia,serif;font-weight:400}h1{font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.1;margin:.7rem 0 1rem}h2{font-size:1.9rem;margin-top:0}h3{font-size:1.3rem}.intro>p:last-child,.section-heading p,.hint,small{color:#5c6b61;line-height:1.6}#status{padding:1rem 1.2rem;background:#e8ede5;border:1px solid #d5dfd0;border-radius:5px;min-height:3.3rem;margin:2rem 0}#status.error{background:#f9e9df;color:#803916;border-color:#e5baa2}.tabs{display:flex;gap:.5rem;margin-bottom:0;flex-wrap:wrap}.tabs button{border-bottom-left-radius:0;border-bottom-right-radius:0;background:transparent}.tabs [aria-pressed=true]{background:#fff;border-bottom-color:#fff;position:relative;top:1px}.panel{border:1px solid var(--line);background:#fff;padding:2rem;border-radius:0 6px 6px 6px}label{display:grid;gap:.5rem;font-size:.88rem;line-height:1.4}input,textarea,select{width:100%;padding:.75rem;border:1px solid #aeb9b0;border-radius:4px;background:#fff;color:inherit}input[type=color]{height:48px;padding:5px}textarea{resize:vertical;line-height:1.5}.fields{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;margin:1.6rem 0}.wide{grid-column:1/-1}small{font-size:.8rem}.portrait{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--line);max-width:500px}.portrait img{max-width:140px;max-height:180px;object-fit:contain;margin-bottom:1rem}.gallery-layout{display:grid;grid-template-columns:220px 1fr;gap:2rem}#gallery-list{display:grid;gap:.5rem;margin-bottom:1rem}#gallery-list button{text-align:left;display:block;width:100%}#gallery-list button.selected{background:#e8ede5;border-color:var(--green)}#gallery-form{display:grid;gap:1rem}#gallery-form button{justify-self:start}.check{display:flex;align-items:center}.check input{width:auto}.upload-box{margin:1.5rem 0;border:1px dashed #9eae9f;border-radius:6px;background:#f5f7f1;padding:1.3rem}.upload-box p{font-size:.82rem;line-height:1.5;color:#536252}.photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.photo-card{border:1px solid var(--line);padding:.8rem;border-radius:6px;min-width:0}.photo-card img{width:100%;height:170px;object-fit:contain;background:#f2f1eb}.photo-card label{margin:.8rem 0}.photo-card input{padding:.5rem}.photo-tools{display:flex;gap:.4rem;flex-wrap:wrap}.photo-tools button{font-size:.78rem;padding:.5rem}.danger{color:#934229;margin-top:1.4rem}.version{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}footer{padding:1rem 2rem 2rem;text-align:center;font-size:.8rem;color:#657468}[hidden]{display:none!important}@media(max-width:720px){.top{flex-wrap:wrap;gap:.8rem}.actions{width:100%;margin:0;justify-content:space-between}.owner{margin-left:auto}main{padding:2rem 1rem}.panel{padding:1.2rem}.fields,.gallery-layout{grid-template-columns:1fr}.gallery-layout{gap:1.2rem}.photos{grid-template-columns:1fr}.tabs button{font-size:.8rem;padding:.7rem}.brand{font-size:1.15rem}}

/* Keep the editing room in the same brand family as the portfolio. */
:root{font-family:'Lato',Arial,sans-serif;color:#141516;background:#f3f1ec;--line:#c8d2d5;--green:#a9473f}
h1,h2,h3,.brand{font-family:'Noto Serif Display',Georgia,serif;font-weight:600}
.primary{background:#a9473f;border-color:#a9473f;color:#f3f1ec}.primary:hover{background:#8b3933}
#status{background:#edf0ef;border-color:#c8d2d5}
#gallery-list button.selected{background:#f3f1ec;border-color:#a9473f}
.upload-box{background:#f3f1ec;border-color:#657782}
.owner,.hint,small,.intro>p:last-child,.section-heading p{color:#4c5d68}

:root{font-family:'Montserrat',Arial,sans-serif}
h1,h2,h3{font-family:'League Gothic','Arial Narrow',sans-serif;font-weight:400}
.brand{font-family:'Montserrat',Arial,sans-serif;font-weight:600}
