.ar, .alee-rent-embed {
--paper: #f4f0e8;
--ink: #1a1714;
--muted: #6e675f;
--line: #e4ddd2;
--card: #fffcf8;
--teal: #0e6b66;
--teal-soft: #e5f3f1;
--teal-ink: #f4fbfa;
--clay: #c2410c;
--ok: #1b6b45;
--ok-soft: #e7f6ee;
--warn: #8a5a12;
--warn-soft: #fbf3e4;
--radius: 1.25rem;
--font: "IBM Plex Sans Thai", "Noto Sans Thai", sans-serif;
}
body.alee-rent-screen {
margin: 0;
background: #f4f0e8;
color: #1a1714;
font-family: "IBM Plex Sans Thai", sans-serif;
line-height: 1.5;
}
body.alee-rent-screen button,
body.alee-rent-screen a,
.alee-rent-embed button { cursor: pointer; }
.ar svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ar-side { display: none; }
.ar-main { min-height: 100vh; }
.ar-top, .ar-tab a, .ar-side a, .ar-search, .ar-row, .ar-switch, .ar-card, .ar-mine, .ar-dock {
display: flex;
align-items: center;
}
.ar-top {
position: sticky;
top: 0;
z-index: 5;
justify-content: space-between;
height: 3.5rem;
padding: 0 1rem;
background: rgba(244, 240, 232, 0.95);
border-bottom: 1px solid var(--line);
}
.ar-tagline { display: none; }
.ar-logo, .ar-brand { color: inherit; text-decoration: none; font-weight: 650; }
.ar-role {
border-radius: 999px;
background: var(--teal-soft);
color: var(--teal);
padding: 0.35rem 0.75rem;
font-size: 1rem;
text-decoration: none;
}
.ar-content { padding-bottom: 5.5rem; }
.ar-content.is-focus { padding-bottom: 6rem; }
.ar-pad { padding: 1rem; }
.ar h1, .ar h2 { text-wrap: balance; margin: 0 0 0.4rem; }
.ar-muted, .ar-count { color: var(--muted); font-size: 1rem; }
.ar-search { gap: 0.5rem; }
.ar-search label, .ar-form input, .ar-form textarea, .ar-form select, .ar-embed-search input {
display: flex;
align-items: center;
gap: 0.5rem;
min-height: 3rem;
width: 100%;
box-sizing: border-box;
border: 1px solid var(--line);
background: var(--card);
border-radius: 1rem;
padding: 0 0.8rem;
font: inherit;
color: inherit;
}
.ar-search label { flex: 1; }
.ar-search input, .ar-form input, .ar-form textarea, .ar-form select { border: 0; min-height: 2.6rem; width: 100%; padding: 0; background: transparent; }
.ar-form label, .ar-sheet label { display: block; font-weight: 600; font-size: 1rem; margin: 0.8rem 0; }
.ar-icon-btn, .ar-btn, .ar-tab a, .ar-side nav a, .ar-switch button, .ar-row button, .ar-row a, .ar-chips a {
min-height: 2.75rem;
border-radius: 1rem;
border: 1px solid var(--line);
background: var(--card);
color: var(--ink);
text-decoration: none;
padding: 0 0.9rem;
font: inherit;
}
.ar-btn, .ar-dock .ar-btn, .ar-switch button.is-on, .ar-chips a.is-on, .ar-side a.is-on, .ar-tab a.is-on {
background: var(--teal);
color: var(--teal-ink);
border-color: transparent;
}
.ar-chips, .ar-row, .ar-switch { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.ar-chips { flex-wrap: nowrap; overflow-x: auto; }
.ar-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 999px; }
.ar-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.ar-card, .ar-area, .ar-mine, .ar-person, .ar-empty {
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
color: inherit;
text-decoration: none;
}
.ar-card { flex-direction: column; align-items: stretch; }
.ar-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--line); }
.ar-photo img, .ar-hero img, .ar-thumbs img, .ar-mine img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-tag, .ar-verified, .ar-ok, .ar-warn {
position: absolute;
top: 0.7rem;
border-radius: 999px;
padding: 0.2rem 0.55rem;
font-size: 1rem;
}
.ar-tag { left: 0.7rem; background: var(--card); }
.ar-verified { right: 0.7rem; display: inline-flex; gap: 0.2rem; align-items: center; background: var(--teal); color: var(--teal-ink); }
.ar-card-body, .ar-area, .ar-pad .ar-empty { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem; }
.ar-card-body .ar-muted { display: flex; gap: 0.25rem; align-items: flex-start; }
.ar-price { color: var(--clay); font-weight: 700; }
.ar-price small { color: var(--muted); font-weight: 500; }
.ar-tab {
position: fixed;
left: 0; right: 0; bottom: 0;
display: grid;
grid-template-columns: repeat(4, 1fr);
background: var(--card);
border-top: 1px solid var(--line);
z-index: 6;
}
.ar-tab a { flex-direction: column; justify-content: center; gap: 0.15rem; border: 0; border-radius: 0; min-height: 4rem; font-size: 1rem; background: transparent; color: var(--muted); }
.ar-sheet[hidden] { display: none; }
.ar-sheet { position: fixed; inset: 0; z-index: 8; background: rgba(26, 23, 20, 0.4); display: flex; align-items: flex-end; }
.ar-sheet form { width: min(100%, 32rem); margin: 0 auto; background: var(--card); border-radius: 1.25rem 1.25rem 0 0; padding: 1rem; }
.ar-note, .ar-alert { border-radius: 1rem; padding: 0.8rem 1rem; }
.ar-note { background: var(--teal-soft); color: var(--teal); }
.ar-alert { background: var(--warn-soft); color: var(--warn); }
.ar-hero { position: relative; background: var(--ink); }
.ar-hero img { aspect-ratio: 4 / 3; }
.ar-back { position: absolute; top: 0.7rem; left: 0.7rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 1rem; }
.ar-thumbs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.7rem 1rem; }
.ar-thumbs img { width: 5.5rem; height: 4rem; border-radius: 0.7rem; }
.ar-facts { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.ar-facts li { background: var(--paper); border-radius: 999px; padding: 0.35rem 0.7rem; }
.ar-person { padding: 1rem; margin: 1rem 0; position: relative; }
.ar-ok, .ar-warn { position: static; }
.ar-ok { background: var(--ok-soft); color: var(--ok); }
.ar-warn { background: var(--warn-soft); color: var(--warn); }
.ar-copy { font-size: 1rem; }
.ar-dock { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--card); border-top: 1px solid var(--line); }
.ar-dock .ar-btn, .ar-dock .ar-ghost { flex: 1; justify-content: center; }
.ar-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.ar-visit { display: grid; gap: 0.5rem; }
.ar-visit input, .ar-visit select { min-height: 3rem; border: 1px solid var(--line); border-radius: 1rem; padding: 0 0.8rem; font: inherit; }
.ar-hp { position: absolute; left: -9999px; }
.ar-mine { display: flex; gap: 0.7rem; padding: 0.7rem; margin-top: 0.7rem; align-items: flex-start; }
.ar-mine img { width: 5rem; height: 5rem; border-radius: 0.8rem; }
.ar-list .ar-empty, .ar-queue { margin-top: 1rem; }
.ar-visits { margin: 0.4rem 0 0; padding-left: 1rem; color: var(--muted); font-size: 1rem; }
.ar-pages { margin: 1rem 0; }
.ar-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ar-three { grid-template-columns: 1fr 1fr 1fr; }
.ar-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.ar-stepbar { display: flex; justify-content: space-between; align-items: center; }
[data-ar-steps] [data-ar-next],
[data-ar-steps] [data-ar-back] { display: none; }
[data-ar-steps].is-wizard [data-ar-save] { display: none; }
[data-ar-steps].is-wizard [data-ar-next] { display: inline-flex; }
[data-ar-steps].is-wizard.is-last [data-ar-next] { display: none; }
[data-ar-steps].is-wizard.is-last [data-ar-save] { display: inline-flex; }
[data-ar-steps].is-wizard [data-ar-back].is-show { display: inline-flex; }
.alee-rent-embed { font-family: var(--font); color: var(--ink); }
.ar-embed-search { display: flex; gap: 0.5rem; }
.ar-embed-search button, .ar-embed-grid .ar-card { font: inherit; }
.ar-embed-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) {
.ar-side {
display: flex;
flex-direction: column;
position: fixed;
inset: 0 auto 0 0;
width: 15rem;
padding: 1.4rem 1rem;
background: var(--card);
border-right: 1px solid var(--line);
}
.ar-brand { display: flex; flex-direction: column; padding: 0 0.4rem 1rem; }
.ar-brand span { color: var(--teal); font-size: 1rem; }
.ar-brand strong { font-size: 1.5rem; }
.ar-side nav { display: flex; flex-direction: column; gap: 0.3rem; }
.ar-side nav a { gap: 0.6rem; justify-content: flex-start; }
.ar-version { margin-top: auto; color: var(--muted); font-size: 1rem; }
.ar-main { margin-left: 15rem; }
.ar-tab { display: none; }
.ar-content { padding-bottom: 2rem; }
.ar-logo { display: none; }
.ar-tagline { display: block; color: var(--muted); font-size: 1rem; }
.ar-grid { grid-template-columns: 1fr 1fr; }
.ar-dock { left: 15rem; }
.ar-sheet { align-items: center; }
.ar-sheet form { border-radius: 1.25rem; }
}
.ar, .ar *, .alee-rent-embed, .alee-rent-embed * { box-sizing: border-box; }
.ar, .alee-rent-embed { font-size: 16px; }
.ar-form input[type=radio], .ar-form input[type=checkbox], .ar-sheet input[type=checkbox] { display: inline-block; width: 20px; min-height: 20px; vertical-align: middle; }
.ar-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .ar-form textarea, .ar-form select, .ar-sheet input:not([type=checkbox]), .ar-sheet select { border: 1px solid var(--line); padding: .6rem; background: var(--card); font: inherit; width: 100%; min-width: 0; }
.ar-search label, .ar-search input, .ar-mine > div { min-width: 0; }
.ar-search input { font: inherit; }
.ar-sheet form { max-height: 90dvh; overflow: auto; }
.ar-dock .ar-btn { display: inline-flex; align-items: center; gap: .4rem; }
.ar-tab, .ar-dock { padding-bottom: max(.7rem, env(safe-area-inset-bottom)); }
.admin-bar .ar-top { top: 32px; }
.alee-rent-embed svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ar button:focus-visible, .ar a:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
@media(max-width:782px) { .admin-bar .ar-top { top: 46px; } }
@media(max-width:480px) { .ar-three { grid-template-columns: 1fr; } }