:root {
    color-scheme: light;
    font: 15px/1.55 "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
    color: #243530;
    background: #f5f4ef;
    --accent: #315d54;
    --line: #dce2db;
}
* { box-sizing: border-box; }
body { margin: 0; }
.masthead { background: #fdfcf8; border-bottom: 1px solid var(--line); }
.bar, main { max-width: 1450px; margin: auto; padding: 16px clamp(12px, 3vw, 36px); }
.bar, .toolbar, .section-heading, nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bar { justify-content: space-between; }
.brand { color: var(--accent); font-family: Georgia, serif; font-size: 1.4rem; text-decoration: none; }
.brand span { font: .8rem/1.2 "Yu Gothic UI", system-ui, sans-serif; margin-left: .6rem; }
nav a { color: var(--accent); }
form, p { margin: 0; }
h1 { font-size: 1.75rem; margin: .2rem 0 1rem; }
h2 { font-size: 1.12rem; margin: 0 0 .65rem; }
.section-heading h2 { margin: 0; }
.section-heading { margin-bottom: .7rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; padding: 16px; }
.sign-in { max-width: 420px; margin: 30px auto; padding: 22px; }
.sign-in form { display: grid; gap: 8px; }
.sign-in button { justify-self: start; margin-top: 8px; }
label { display: grid; gap: 3px; font-weight: 600; }
input, textarea, select, button { font: inherit; }
input:not([type="checkbox"], [type="hidden"]), textarea, select {
    border: 1px solid #aab8b0; border-radius: 5px; padding: 6px 7px; max-width: 100%; background: #fff; color: inherit;
}
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent); }
textarea { width: 100%; min-width: 128px; resize: vertical; }
button {
    border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff;
    cursor: pointer; padding: 7px 12px; font-weight: 600; white-space: nowrap;
}
button.quiet { color: var(--accent); background: white; }
button:hover { opacity: .86; }
.weather { display: grid; grid-template-columns: minmax(130px, 1fr) repeat(3, minmax(100px, .5fr)) auto; gap: 12px; align-items: end; }
.file-label { min-width: 180px; }
label.file-label, .toolbar > label { align-self: end; }
.toolbar { align-items: end; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
td, th { border-bottom: 1px solid var(--line); text-align: left; padding: 6px; white-space: nowrap; }
thead th { background: #eff4ef; }
tbody tr:nth-child(even) { background: #fafbf8; }
td input.room, td input.checkout { width: 88px; }
td input.nights { width: 65px; }
td input.name { width: 165px; }
.coordinates td input[type="number"] { width: 92px; }
.coordinates { margin-bottom: 12px; }
.message { background: #edf6ef; border: 1px solid #cae0cc; padding: 8px 12px; border-radius: 5px; margin: 0 0 12px; }
ul.message { padding-left: 29px; }
.message.warning { background: #fff7e1; border-color: #efdaa1; }
.message.error { background: #fff0ec; border-color: #e9b9ac; color: #8a3120; }
.note { color: #5a6b61; font-size: .9rem; }
p.note { margin-top: 8px; }
.list-actions { margin-left: auto; }
@media (max-width: 720px) {
    .weather { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
    .list-actions { margin-left: 0; }
}
