.a-wrap { max-width: 1040px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 120px; }
.login { max-width: 360px; margin: 0 auto; padding-top: 16vh; text-align: center; }
.login img { width: 140px; margin: 0 auto 8px; }
.login .label { margin-bottom: 36px; }
.login .field { text-align: left; }
.login .err { min-height: 22px; font-size: 14px; margin-top: 12px; }

.bell { position: relative; font-family: var(--gar); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.bell .n { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 8px; background: var(--blood); color: var(--cream); font-size: 11px; letter-spacing: 0; text-align: center; }
.bell .n.zero { background: transparent; color: var(--sage); border: 1px solid var(--rule); }
.bell.ring .n { animation: pulse 1.2s 3; }
@keyframes pulse { 50% { background: #5a0202; } }
.panel { position: absolute; right: 0; top: 36px; width: min(380px, 92vw); background: var(--cream); border: 1px solid var(--charcoal); z-index: 50; text-align: left; font-family: var(--sans); text-transform: none; letter-spacing: .02em; }
.panel .ph { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.panel .ph button { font-size: 14px; }
.panel .nl { max-height: 60vh; overflow: auto; }
.nitem { padding: 14px 18px; border-bottom: 1px solid var(--rule); display: block; width: 100%; text-align: left; font-size: 14px; line-height: 1.5; font-weight: 200; }
.nitem.unread { background: rgba(138,3,3,.07); box-shadow: inset 3px 0 0 var(--blood); }
.nitem time { display: block; color: var(--sage); font-size: 12px; margin-top: 2px; }
.panel .empty { padding: 22px 18px; color: var(--sage); font-size: 14px; }

.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--rule); margin: 8px 0 28px; }
.tabs button { padding: 12px 0 11px; font-family: var(--gar); font-weight: 500; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--charcoal); border-bottom-color: var(--charcoal); }

.bar-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.filters { display: flex; gap: 20px; flex-wrap: wrap; }
.filters button { font-size: 14px; color: var(--sage); padding: 2px 0; border-bottom: 1px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--charcoal); border-bottom-color: var(--charcoal); }

.newbox { border-top: 1px solid var(--charcoal); border-bottom: 1px solid var(--rule); padding: 28px 0 8px; margin-bottom: 32px; animation: up .6s var(--ease); }
.formchoice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 28px; }
@media (max-width: 560px) { .formchoice { grid-template-columns: 1fr; } }
.formchoice button { border: 1px solid var(--write); padding: 16px 18px; text-align: left; }
.formchoice button[aria-checked="true"] { border-color: var(--charcoal); background: var(--charcoal); color: var(--cream); }
.formchoice button .caption { color: inherit; opacity: .7; margin-top: 2px; }
.logoup { display: flex; gap: 18px; align-items: center; margin: 4px 0 26px; }
.logoup .prev { width: 96px; height: 56px; border: 1px dashed var(--write); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--sage); text-align: center; flex: none; }
.logoup .prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sublink { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.linkbox { display: flex; gap: 12px; align-items: center; border: 1px solid var(--charcoal); padding: 14px 16px; margin: 4px 0 24px; flex-wrap: wrap; }
.linkbox code { flex: 1; min-width: 200px; font: 200 14px var(--sans); word-break: break-all; }

.rows { border-top: 1px solid var(--rule); }
.rq { display: grid; grid-template-columns: 64px 1.6fr 1fr 1.1fr auto; gap: 8px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rq.new { animation: flash 2.4s var(--ease); }
@keyframes flash { from { background: rgba(138,3,3,.2); } to { background: transparent; } }
.rq .lg { width: 64px; height: 40px; display: flex; align-items: center; }
.rq .lg img { max-width: 64px; max-height: 40px; object-fit: contain; }
.rq .lg .ph { width: 40px; height: 40px; border: 1px solid var(--rule); font-family: var(--gar); font-size: 15px; display: flex; align-items: center; justify-content: center; color: var(--sage); }
.rq .hn { font-family: var(--gar); font-weight: 400; font-size: 20px; line-height: 1.2; }
.rq .ac { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; }
.rq .ac button, .rq .ac a { font-size: 14px; }
.st { display: inline-flex; align-items: center; gap: 8px; }
.st i { width: 7px; height: 7px; display: inline-block; border: 1px solid var(--charcoal); }
.st.submitted i { background: var(--charcoal); }
.st.in_progress i { background: var(--sage); border-color: var(--sage); }
@media (max-width: 820px) {
  .rq { grid-template-columns: 56px 1fr; }
  .rq > :nth-child(3), .rq > :nth-child(4) { grid-column: 2; }
  .rq .ac { grid-column: 1 / -1; justify-content: flex-start; }
}
.empty-state { padding: 60px 0; text-align: center; }

.drawer-bg { position: fixed; inset: 0; background: rgba(24,24,24,.32); z-index: 60; animation: fadeIn2 .4s forwards; }
@keyframes fadeIn2 { from { opacity: 0; } to { opacity: 1; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(760px, 100vw); background: var(--cream); border-left: 1px solid var(--charcoal); z-index: 61; overflow: auto; padding: 28px clamp(20px, 4vw, 44px) 80px; animation: slide .5s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer .dh { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.drawer .dh img { max-height: 56px; max-width: 150px; }
.drawer .acts { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0 8px; align-items: center; }

.hotel { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.hotel .prev { width: 96px; height: 56px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--sage); }
.hotel .prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hotel .ac { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.hotel .ac button, .hotel .ac label { font-size: 14px; cursor: pointer; }
@media (max-width: 640px) { .hotel { grid-template-columns: 80px 1fr; } .hotel .ac { grid-column: 1 / -1; justify-content: flex-start; } }
input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* hotel settings */
.hotelwrap { border-bottom: 1px solid var(--rule); }
.hotelwrap .hotel { border-bottom: 0; padding-bottom: 6px; }
.hset { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 12px 32px; padding: 4px 0 24px 116px; align-items: start; }
.hset .opts { margin: 8px 0 0; flex-direction: column; align-items: stretch; gap: 8px; }
.hset .opts button { padding: 9px 14px; font-size: 12px; text-align: left; letter-spacing: .12em; }
.pwline { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-top: 8px; }
.pwline button { font-size: 14px; }
.hset .linkbox { margin: 8px 0 0; padding: 10px 12px; }
.hset .linkbox code { font-size: 12px; min-width: 120px; }
.pwbox .linkbox { margin-top: 10px; }
@media (max-width: 900px) { .hset { grid-template-columns: 1fr; padding-left: 0; } }
