:root { --sg-ink: #14303a; --sg-sea: #1c6e7d; --sg-sand: #f5efe6; --sg-line: #cfd9db; }
* { box-sizing: border-box; }
body.sg-body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--sg-ink); background: #fff; }
header { position: sticky; top: 0; z-index: 100; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--sg-line); }
.sg-trap header, .sg-trap .sg-launcher, .sg-trap .sg-summary { z-index: 2147483000; }
header nav ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
a { color: var(--sg-sea); }
.tb-brand { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main { max-width: 1040px; margin: 0 auto; padding: 24px 20px 60px; min-height: 60vh; }
footer { padding: 24px 20px; background: var(--sg-sand); font-size: 14px; }
button, .btn { font: inherit; padding: 8px 14px; border: 1px solid var(--sg-sea); border-radius: 6px; background: var(--sg-sea); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button[disabled] { opacity: .55; cursor: default; }
input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--sg-line); border-radius: 6px; }
label { display: inline-block; margin-right: 6px; }
.sg-actions { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.login-box { position: absolute; right: 20px; top: 100%; background: #fff; border: 1px solid var(--sg-line); padding: 12px; }
.login-box[hidden] { display: none; }
.sg-skeleton .sg-block { height: 90px; margin: 12px 0; background: #e6eced; border-radius: 8px; }
.sg-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sg-cards article { border: 1px solid var(--sg-line); border-radius: 10px; padding: 12px; height: 100%; }
.sg-cards img { max-width: 100%; height: auto; border-radius: 6px; }
.is-soldout { opacity: .6; }
.sg-error { color: #9b1c1c; }
[role=listbox] { list-style: none; margin: 4px 0; padding: 4px; border: 1px solid var(--sg-line); border-radius: 6px; background: #fff; max-width: 220px; }
[role=option] { padding: 5px 8px; cursor: pointer; }
[role=option][aria-selected=true], .is-active { background: var(--sg-sand); }
form[data-tb-form=room-search] { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.sg-textbox { min-height: 70px; border: 1px solid var(--sg-line); border-radius: 6px; padding: 8px; }
table { border-collapse: collapse; margin: 12px 0; }
td, th { border: 1px solid var(--sg-line); padding: 6px 10px; text-align: left; }
td.is-soldout { background: #f1d6d6; }
.sg-gallery { display: flex; gap: 10px; }
.sg-gallery button { padding: 0; background: none; border: 0; }
.sg-launcher { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; z-index: 100; }
.sg-summary { position: sticky; top: 56px; z-index: 100; background: var(--sg-sand); padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
dialog.sg-lightbox { border: 0; padding: 12px; }
dialog.sg-lightbox::backdrop { background: rgba(0, 0, 0, .6); }
iframe { border: 1px solid var(--sg-line); max-width: 100%; }
