/* Component layout; colors and typography come from the shared brand.css. */
* { box-sizing: border-box; }
body.stay-page { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); }
.stay-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:78px; padding:.75rem 2rem; background:var(--ink-deep); color:white; }
.stay-header img { display:block; width:9.8rem; max-width:100%; height:3.15rem; object-fit:contain; object-position:left; }
.stay-header > a { flex-shrink:0; }
.stay-header nav { display:flex; flex-wrap:wrap; gap:.5rem; }
.stay-header button { margin:0; color:white; background:transparent; border-color:#ffffff40; box-shadow:none; }
.stay-header button:hover { background:#ffffff1f; }
main { width:100%; max-width:1240px; margin:0 auto; padding:clamp(1.25rem,3vw,2.5rem); min-width:0; }
.stay-heading { padding:clamp(1.5rem,2.6vw,2.25rem); border-radius:4px; color:white; background:linear-gradient(90deg,rgba(3,41,79,.9),rgba(3,41,79,.7) 46%,rgba(3,41,79,.12)),url('/assets/facade-navy.png') right 65%/cover no-repeat,var(--ink-deep); }
h1 { font-size:clamp(1.8rem,3vw,3rem); margin:.5rem 0 1rem; }
h2 { font-size:clamp(1.5rem,2.2vw,2rem); margin:0 0 1rem; }
h3 { font-size:1.125rem; margin:1.5rem 0 .75rem; }
.eyebrow { font-size:.875rem; font-weight:700; letter-spacing:.16em; color:var(--ink-soft); }
.stay-heading .eyebrow { color:#d3e2f1; margin:0; }
#message { margin:0; color:#e0ebf6; max-width:48rem; }
#message.error { color:white; border-left:3px solid var(--accent); padding-left:1rem; }
main > section, #stay-list article, #detail { background:white; border:1px solid var(--line); border-radius:4px; padding:clamp(1.25rem,2.6vw,2.25rem); margin:1.5rem 0 0; }
#stays { background:transparent; border:0; padding:0; }
#stay-list article { border-top:2px solid var(--accent); }
main > section > :first-child, #detail > :first-child { margin-top:0; }
label { display:block; margin:1rem 0; font-size:.9rem; font-weight:700; }
input, textarea, select { display:block; width:100%; max-width:660px; min-height:46px; border:1px solid #8ba3bc; border-radius:4px; padding:11px 12px; margin-top:.45rem; font:inherit; color:var(--ink-deep); background:white; }
textarea { min-height:110px; resize:vertical; }
button, .contact { display:inline-flex; align-items:center; justify-content:center; min-height:46px; max-width:100%; border:1px solid var(--accent-dark); border-radius:4px; background:var(--accent-dark); color:white; box-shadow:inset 0 3px var(--accent); font:inherit; line-height:1.35; font-weight:700; padding:12px 20px; cursor:pointer; margin:.25rem .5rem .25rem 0; text-decoration:none; overflow-wrap:anywhere; }
button:hover, .contact:hover { background:#b80049; border-color:#b80049; }
.secondary, .contact { background:var(--hero-blue); border-color:var(--hero-blue); box-shadow:none; color:white; }
.secondary:hover, .contact:hover { background:var(--ink-deep); border-color:var(--ink-deep); }
button:disabled { opacity:.5; cursor:wait; }
.check { display:flex; gap:.75rem; align-items:start; font-weight:400; }
.check input { width:20px; height:20px; min-height:20px; flex-shrink:0; margin-top:.25rem; accent-color:var(--accent-dark); }
.muted { color:var(--ink-soft); font-size:.875rem; }
.preserve { white-space:pre-wrap; overflow-wrap:anywhere; }
.grant { border-top:1px solid var(--line); padding:1rem 0; overflow-wrap:anywhere; }
#management-content > form + form { border-top:1px solid var(--line); margin-top:1.5rem; padding-top:.5rem; }
footer { max-width:1240px; padding:1.5rem clamp(1.25rem,3vw,2.5rem); margin:auto; color:var(--ink-soft); font-size:.8rem; }
[hidden] { display:none!important; }
@media(max-width:620px) { .stay-header { padding:.75rem 1rem; flex-wrap:wrap; } .stay-header img { width:128px; } .stay-header nav { width:100%; } .stay-header button { flex:1 1 auto; } main { padding:1rem; } .stay-heading { padding:1.5rem; } footer { padding:1.5rem 1rem; } }
