:root {
    --sidebar: #f9f9f9;
    --page: #ffffff;
    --text: #111111;
    --muted: #8a8a8a;
    --line: #ececec;
    --active: #ececec;
    --soft: #f1f1f1;
    --bubble: #f4f4f4;
    --blue: #1683ff;
    --shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: var(--page);
}

body.is-modal-open {
    overflow: hidden;
}

button,
a,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

[hidden] {
    display: none !important;
}

.app-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
    transition: grid-template-columns 180ms ease;
}

.app-layout.is-sidebar-collapsed {
    grid-template-columns: 68px minmax(0, 1fr);
}

.sidebar {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-width: 0;
    border-right: 1px solid var(--line);
    background: var(--sidebar);
    padding: 12px 6px 0;
    overflow: hidden;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 10px;
}

.app-layout.is-sidebar-collapsed .sidebar-top {
    justify-content: center;
    padding: 0;
}

.app-layout.is-sidebar-collapsed .app-logo {
    display: none;
}

.app-logo {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 800;
}

.sidebar-toggle {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #777;
}

.sidebar-toggle svg {
    transition: transform 180ms ease;
}

.app-layout.is-sidebar-collapsed .sidebar-toggle svg {
    transform: rotate(180deg);
}

.sidebar-toggle:hover,
.circle-button:hover {
    background: var(--soft);
}

.primary-nav,
.secondary-nav {
    display: grid;
    gap: 8px;
}

.app-layout.is-sidebar-collapsed .primary-nav,
.app-layout.is-sidebar-collapsed .secondary-nav {
    justify-items: center;
}

.primary-nav {
    margin-top: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--radius);
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.app-layout.is-sidebar-collapsed .nav-item {
    justify-content: center;
    width: 44px;
    padding: 0;
}

.nav-item:hover,
.nav-item.is-active,
.recent-item.is-active {
    background: var(--active);
}

.nav-item svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.nav-item span,
.recent-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-layout.is-sidebar-collapsed .nav-item span {
    display: none;
}

.recent-section {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    padding-top: 22px;
}

.app-layout.is-sidebar-collapsed .recent-section {
    display: none;
}

.recent-section p {
    margin: 0;
    padding: 0 10px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.recent-list {
    display: grid;
    gap: 4px;
}

.recent-item {
    display: block;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 14px;
}

.sidebar-bottom {
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
}

.app-layout.is-sidebar-collapsed .sidebar-bottom {
    justify-items: center;
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    border-radius: var(--radius);
    color: inherit;
    text-align: left;
}

.app-layout.is-sidebar-collapsed .profile-row {
    justify-content: center;
    width: 44px;
    padding: 0;
}

.profile-row:hover {
    background: var(--active);
}

.profile-avatar {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #19b66a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.profile-row span:last-child {
    display: grid;
    min-width: 0;
}

.app-layout.is-sidebar-collapsed .profile-row span:last-child {
    display: none;
}

.profile-row strong,
.profile-row small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-row strong {
    font-size: 13px;
}

.profile-row small {
    color: #777;
    font-size: 12px;
}

.main-panel {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--page);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 22px 0 28px;
}

.model-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 38px;
    border-radius: var(--radius);
    color: #111;
    font-size: 20px;
    font-weight: 700;
}

.model-button:hover,
.conversation-actions button:hover {
    background: #f5f5f5;
}

.model-button svg {
    width: 17px;
    height: 17px;
    color: #777;
}

.account-actions,
.conversation-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-button,
.signup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.login-button {
    background: #050505;
    color: #fff;
}

.signup-button {
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #111;
}

.conversation-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.conversation-actions svg {
    width: 18px;
    height: 18px;
}

.stage {
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: 34px;
    min-height: 0;
    padding: 32px clamp(18px, 5vw, 72px) 70px;
}

.resource-stage {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 40px clamp(18px, 6vw, 88px) 72px;
}

.resource-stage.is-detail-open {
    place-items: start center;
    padding: 24px clamp(16px, 2vw, 32px) 48px;
}

.resource-picker {
    display: grid;
    gap: 28px;
    width: min(880px, 100%);
}

.resource-picker-header {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.resource-picker-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
    font-weight: 700;
}

.resource-picker-header h1 {
    margin: 0;
    color: #050505;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.resource-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.resource-picker.is-detail-open {
    gap: 22px;
    width: 100%;
}

.resource-picker.is-detail-open .resource-picker-header {
    display: none;
}

.resource-picker.is-detail-open .resource-card-grid {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: thin;
}

.resource-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    min-height: 122px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(14px) saturate(1.7) brightness(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.7) brightness(1.08);
    color: #111;
    text-align: left;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 22px rgba(255, 255, 255, 0.38),
        0 8px 26px rgba(17, 17, 26, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.resource-card::before,
.resource-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.resource-card::before {
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0.58)),
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.95), transparent 38%);
}

.resource-card::after {
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow:
        inset 0 0 2px rgba(255, 255, 255, 0.9),
        inset 0 0 18px rgba(255, 255, 255, 0.28);
}

.resource-card > * {
    position: relative;
    z-index: 1;
}

.resource-picker.is-detail-open .resource-card {
    flex: 0 0 132px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 54px;
    padding: 8px 10px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 16px rgba(255, 255, 255, 0.32),
        0 8px 22px rgba(17, 17, 26, 0.05);
}

.resource-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.28),
        inset 0 0 24px rgba(255, 255, 255, 0.46),
        0 14px 34px rgba(17, 17, 26, 0.1);
}

.resource-picker.is-detail-open .resource-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.28),
        inset 0 0 18px rgba(255, 255, 255, 0.44),
        0 12px 28px rgba(17, 17, 26, 0.08);
}

.resource-picker.is-detail-open .resource-card.is-selected {
    border-color: rgba(17, 17, 17, 0.88);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 0 0 1px rgba(17, 17, 17, 0.88),
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 20px rgba(255, 255, 255, 0.42),
        0 12px 28px rgba(17, 17, 26, 0.08);
}

.resource-card.is-selected {
    border-color: rgba(17, 17, 17, 0.88);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 0 0 1px rgba(17, 17, 17, 0.88),
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 20px rgba(255, 255, 255, 0.42),
        0 12px 28px rgba(17, 17, 26, 0.08);
}

.resource-card:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.resource-card-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
}

.resource-picker.is-detail-open .resource-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.resource-card-icon svg {
    width: 23px;
    height: 23px;
}

.resource-picker.is-detail-open .resource-card-icon svg {
    width: 17px;
    height: 17px;
}

.resource-card-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.resource-card-copy strong,
.resource-card-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-card-copy strong {
    font-size: 18px;
    font-weight: 700;
}

.resource-picker.is-detail-open .resource-card-copy strong {
    font-size: 14px;
}

.resource-card-copy small {
    color: #777;
    font-size: 13px;
}

.resource-picker.is-detail-open .resource-card-copy small,
.resource-picker.is-detail-open .resource-card-arrow {
    display: none;
}

.resource-card-arrow {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #a0a0a0;
}

.resource-card-arrow svg {
    width: 18px;
    height: 18px;
}

.resource-card-hotel .resource-card-icon {
    background: #eff6ff;
    color: #1d6fdc;
}

.resource-card-dining .resource-card-icon {
    background: #fff4ed;
    color: #c65a24;
}

.resource-card-transport .resource-card-icon {
    background: #ecfdf5;
    color: #12835b;
}

.resource-card-ticket .resource-card-icon {
    background: #f5f3ff;
    color: #6d4fd3;
}

.resource-card-entertainment .resource-card-icon {
    background: #fff7e6;
    color: #a66a00;
}

.resource-card-other .resource-card-icon {
    background: #f3f4f6;
    color: #52525b;
}

.resource-detail {
    display: grid;
    gap: 20px;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.resource-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.resource-detail-header p,
.resource-detail-header h2 {
    margin: 0;
}

.resource-detail-header p {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.resource-detail-header h2 {
    margin-top: 4px;
    color: #050505;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.resource-detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.resource-secondary-button,
.resource-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.resource-secondary-button {
    border: 1px solid #dadada;
    background: #fff;
}

.resource-primary-button {
    background: #050505;
    color: #fff;
}

.hotel-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hotel-metrics article {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fafafa;
}

.hotel-metrics span {
    overflow: hidden;
    color: #777;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-metrics strong {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.hotel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.hotel-search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: min(360px, 100%);
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    background: #fff;
    color: #777;
}

.hotel-search svg {
    width: 17px;
    height: 17px;
}

.hotel-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 14px;
}

.hotel-search input::placeholder {
    color: #9a9a9a;
}

.hotel-filter {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #f7f7f7;
}

.hotel-filter button {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hotel-filter button.is-active {
    background: #fff;
    color: #111;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.hotel-table-wrap {
    min-width: 0;
    overflow-x: auto;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.hotel-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    text-align: left;
}

.hotel-resource-panel .hotel-table {
    min-width: 1420px;
}

.hotel-table th,
.hotel-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
    white-space: nowrap;
}

.hotel-table th {
    background: #fafafa;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.hotel-table tbody tr:last-child td {
    border-bottom: 0;
}

.hotel-table tbody tr:hover {
    background: #fbfbfb;
}

.hotel-table td:first-child {
    width: 76px;
    min-width: 76px;
}

.hotel-table td:nth-child(2) {
    min-width: 220px;
}

.meal-table {
    min-width: 1120px;
    table-layout: auto;
}

.ticket-table {
    min-width: 980px;
    table-layout: auto;
}

.transport-table {
    min-width: 1360px;
    table-layout: auto;
}

.entertainment-table {
    min-width: 1260px;
    table-layout: auto;
}

.other-table {
    min-width: 1080px;
    table-layout: auto;
}

.meal-table th:nth-child(9),
.meal-table td:nth-child(9) {
    width: 176px;
    min-width: 176px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.ticket-table th:nth-child(7),
.ticket-table td:nth-child(7) {
    width: 176px;
    min-width: 176px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.entertainment-table th:nth-child(8),
.entertainment-table td:nth-child(8),
.entertainment-table th:nth-child(10),
.entertainment-table td:nth-child(10) {
    width: 96px;
    min-width: 96px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.transport-table th:nth-child(11),
.transport-table td:nth-child(11) {
    width: 86px;
    min-width: 86px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.hotel-table th:nth-child(14),
.hotel-table td:nth-child(14) {
    width: 92px;
    min-width: 92px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.transport-table th:nth-child(12),
.transport-table td:nth-child(12) {
    width: 92px;
    min-width: 92px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.other-table th:nth-child(8),
.other-table td:nth-child(8) {
    width: 86px;
    min-width: 86px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.other-table th:nth-child(9),
.other-table td:nth-child(9) {
    width: 92px;
    min-width: 92px;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
}

.meal-table td:nth-child(2) strong,
.meal-table td:nth-child(2) small,
.transport-table td:nth-child(2) strong,
.transport-table td:nth-child(2) small,
.ticket-table td:nth-child(2) strong,
.ticket-table td:nth-child(2) small,
.entertainment-table td:nth-child(2) strong,
.entertainment-table td:nth-child(2) small,
.other-table td:nth-child(2) strong,
.other-table td:nth-child(2) small,
.meal-table td:not(:first-child):not(:last-child),
.transport-table td:not(:first-child):not(:last-child),
.ticket-table td:not(:first-child):not(:last-child),
.entertainment-table td:not(:first-child):not(:last-child),
.other-table td:not(:first-child):not(:last-child),
.meal-table th,
.transport-table th,
.ticket-table th,
.entertainment-table th,
.other-table th {
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-table td strong,
.hotel-table td small {
    display: block;
}

.hotel-table td strong {
    color: #111;
    font-weight: 800;
}

.hotel-table td small {
    margin-top: 4px;
    color: #858585;
    font-size: 12px;
}

.meal-menu-cell strong,
.ticket-count-cell strong,
.entertainment-count-cell strong {
    font-size: 13px;
}

.hotel-action-cell,
.transport-action-cell,
.other-action-cell {
    width: 92px;
    min-width: 92px;
}

.meal-action-cell,
.ticket-action-cell,
.entertainment-action-cell {
    width: 172px;
    min-width: 172px;
}

.meal-actions {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 34px);
    gap: 7px;
    width: max-content;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: center;
}

.ticket-actions {
    grid-template-columns: repeat(4, 34px);
}

.entertainment-actions {
    grid-template-columns: repeat(4, 34px);
}

.meal-resource-actions {
    grid-template-columns: repeat(4, 34px);
}

.transport-actions {
    grid-template-columns: repeat(2, 34px);
}

.other-actions {
    grid-template-columns: repeat(2, 34px);
}

.meal-action-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    color: #111;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.meal-action-button:hover,
.meal-action-button[aria-expanded="true"] {
    border-color: #111;
    background: #f8f8f8;
}

.meal-action-button:hover {
    transform: translateY(-1px);
}

.meal-action-button.is-danger:hover {
    border-color: #c82929;
    color: #c82929;
}

.meal-action-button svg {
    width: 17px;
    height: 17px;
}

.meal-menu-detail-row td {
    padding: 0 !important;
    border-bottom: 0;
    background: #fff;
}

.meal-menu-detail-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0 16px 0 92px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fafafa;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        max-height 340ms ease,
        margin 240ms ease,
        padding 240ms ease,
        border-color 240ms ease,
        opacity 180ms ease,
        transform 240ms ease;
}

.meal-menu-detail-row.is-open .meal-menu-detail-panel {
    gap: 10px;
    max-height: 560px;
    margin: 0 16px 12px 92px;
    padding: 12px;
    border-color: #e7e7e7;
    opacity: 1;
    transform: translateY(0);
}

.meal-menu-detail-panel article {
    display: grid;
    gap: 4px;
    min-width: 0;
    min-height: 62px;
    padding: 10px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
    color: #111;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 260ms ease;
    white-space: normal;
}

.meal-menu-detail-panel article .detail-item-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.meal-menu-detail-panel article .detail-item-actions .meal-action-button {
    width: 28px;
    height: 28px;
    min-height: 28px;
}

.meal-menu-detail-panel article .detail-item-actions svg {
    width: 14px;
    height: 14px;
}

.meal-menu-card-actions {
    display: flex;
    gap: 7px;
    margin-top: 4px;
}

.meal-menu-card-actions .meal-action-button {
    width: 30px;
    height: 30px;
    min-height: 30px;
}

.meal-menu-card-actions .meal-action-button svg {
    width: 15px;
    height: 15px;
}

.ticket-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.ticket-detail-heading strong {
    min-width: 0;
}

.ticket-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, 28px);
    gap: 6px;
    flex: 0 0 auto;
}

.ticket-detail-action-button {
    width: 28px;
    height: 28px;
    min-height: 28px;
    border-radius: 7px;
}

.ticket-detail-action-button svg {
    width: 14px;
    height: 14px;
}

.meal-menu-detail-row.is-open .meal-menu-detail-panel article {
    opacity: 1;
    transform: translateY(0);
}

.meal-menu-detail-panel strong,
.meal-menu-empty {
    margin: 0;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.meal-menu-detail-panel small {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
}

.meal-menu-empty {
    grid-column: 1 / -1;
    padding: 10px;
}

.hotel-folder-thumb {
    --folder-color: #70a1ff;
    --folder-back-color: #4785ff;
    --paper-1: #e6e6e6;
    --paper-2: #f2f2f2;
    --paper-3: #ffffff;
    display: inline-block;
    position: relative;
    width: 48px;
    height: 42px;
    transform-origin: left center;
    cursor: default;
}

.hotel-folder-thumb.has-images {
    cursor: pointer;
}

.hotel-folder-back {
    position: relative;
    display: block;
    width: 48px;
    height: 36px;
    margin-top: 4px;
    border-radius: 0 6px 6px 6px;
    background: var(--folder-back-color);
}

.hotel-folder-back::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 98%;
    left: 0;
    width: 16px;
    height: 6px;
    border-radius: 4px 4px 0 0;
    background: var(--folder-back-color);
}

.hotel-folder-paper {
    position: absolute;
    z-index: 2;
    bottom: 10%;
    left: 50%;
    width: 70%;
    height: 80%;
    border-radius: 5px;
    background: var(--paper-1);
    transform: translate(-50%, 10%);
    transition: transform 220ms ease, height 220ms ease;
}

.hotel-folder-paper.paper-2 {
    width: 80%;
    height: 70%;
    background: var(--paper-2);
}

.hotel-folder-paper.paper-3 {
    width: 90%;
    height: 60%;
    background: var(--paper-3);
}

.hotel-folder-paper.has-image {
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.hotel-folder-count {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 5;
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.hotel-folder-front {
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: 4px 6px 6px 6px;
    background: var(--folder-color);
    transform-origin: bottom;
    transition: transform 220ms ease;
}

.hotel-folder-front.right {
    display: none;
}

.hotel-folder-thumb:hover {
    transform: translateY(-3px);
}

.hotel-folder-thumb:hover .hotel-folder-paper.paper-1 {
    transform: translate(-118%, -58%) rotateZ(-15deg);
}

.hotel-folder-thumb:hover .hotel-folder-paper.paper-2 {
    height: 80%;
    transform: translate(8%, -58%) rotateZ(15deg);
}

.hotel-folder-thumb:hover .hotel-folder-paper.paper-3 {
    height: 80%;
    transform: translate(-50%, -84%) rotateZ(5deg);
}

.hotel-folder-thumb:hover .hotel-folder-front {
    transform: skew(15deg) scaleY(0.62);
}

.hotel-folder-blue {
    --folder-color: #70a1ff;
    --folder-back-color: #4785ff;
}

.hotel-folder-green {
    --folder-color: #47c28a;
    --folder-back-color: #2d9b6a;
}

.hotel-folder-orange {
    --folder-color: #f09a42;
    --folder-back-color: #cf6f23;
}

.hotel-folder-slate {
    --folder-color: #8b9ab0;
    --folder-back-color: #64748b;
}

.hotel-folder-sea {
    --folder-color: #4fc3d8;
    --folder-back-color: #238aa0;
}

.hotel-folder-photo {
    --folder-color: #70a1ff;
    --folder-back-color: #4785ff;
}

.meal-folder-coral {
    --folder-color: #f27667;
    --folder-back-color: #ca4d43;
}

.meal-folder-mint {
    --folder-color: #5cc9a7;
    --folder-back-color: #2f9b7a;
}

.meal-folder-gold {
    --folder-color: #e3ad42;
    --folder-back-color: #b77b20;
}

.meal-folder-red {
    --folder-color: #e85b5b;
    --folder-back-color: #bb3434;
}

.meal-folder-sea {
    --folder-color: #44b7c8;
    --folder-back-color: #248596;
}

.meal-folder-purple {
    --folder-color: #9885db;
    --folder-back-color: #6d58b9;
}

.meal-folder-photo {
    --folder-color: #f27667;
    --folder-back-color: #ca4d43;
}

.transport-folder-emerald {
    --folder-color: #4fc18f;
    --folder-back-color: #25845f;
}

.transport-folder-teal {
    --folder-color: #45bfc0;
    --folder-back-color: #238284;
}

.transport-folder-blue {
    --folder-color: #5f95e8;
    --folder-back-color: #3767b8;
}

.transport-folder-slate {
    --folder-color: #7f8da3;
    --folder-back-color: #566276;
}

.transport-folder-amber {
    --folder-color: #e0a442;
    --folder-back-color: #a96f21;
}

.transport-folder-cyan {
    --folder-color: #4bb7db;
    --folder-back-color: #237fa0;
}

.transport-folder-photo {
    --folder-color: #4fc18f;
    --folder-back-color: #25845f;
}

.ticket-folder-violet {
    --folder-color: #8f7cf4;
    --folder-back-color: #6654c8;
}

.ticket-folder-jade {
    --folder-color: #48c293;
    --folder-back-color: #24976d;
}

.ticket-folder-cyan {
    --folder-color: #45b8d9;
    --folder-back-color: #2384a3;
}

.ticket-folder-rose {
    --folder-color: #ed6b8b;
    --folder-back-color: #c13d61;
}

.ticket-folder-sea {
    --folder-color: #4eb5bd;
    --folder-back-color: #2a858d;
}

.ticket-folder-amber {
    --folder-color: #e5a83d;
    --folder-back-color: #b7781f;
}

.ticket-folder-photo {
    --folder-color: #8f7cf4;
    --folder-back-color: #6654c8;
}

.entertainment-folder-sun {
    --folder-color: #efb64a;
    --folder-back-color: #b9791f;
}

.entertainment-folder-mint {
    --folder-color: #5ac9a8;
    --folder-back-color: #2f9078;
}

.entertainment-folder-coral {
    --folder-color: #f07a6a;
    --folder-back-color: #be4a3d;
}

.entertainment-folder-red {
    --folder-color: #e85b5f;
    --folder-back-color: #b93642;
}

.entertainment-folder-sea {
    --folder-color: #4ab9d1;
    --folder-back-color: #267f96;
}

.entertainment-folder-purple {
    --folder-color: #9a86e8;
    --folder-back-color: #6853bd;
}

.entertainment-folder-photo {
    --folder-color: #efb64a;
    --folder-back-color: #b9791f;
}

.other-folder-blue {
    --folder-color: #6f98e8;
    --folder-back-color: #436ab8;
}

.other-folder-green {
    --folder-color: #57bd84;
    --folder-back-color: #2f865b;
}

.other-folder-amber {
    --folder-color: #dba64a;
    --folder-back-color: #a36f24;
}

.other-folder-violet {
    --folder-color: #9b87e8;
    --folder-back-color: #6955bd;
}

.other-folder-rose {
    --folder-color: #e86f8a;
    --folder-back-color: #b84462;
}

.other-folder-photo {
    --folder-color: #6f98e8;
    --folder-back-color: #436ab8;
}

.hotel-empty-state {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 170px;
    border-top: 1px solid #eeeeee;
    background: #fff;
    text-align: center;
}

.hotel-empty-state strong {
    font-size: 15px;
    font-weight: 800;
}

.hotel-empty-state small {
    color: #777;
    font-size: 13px;
}

.hotel-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hotel-status.is-active {
    background: #eaf8f1;
    color: #127447;
}

.hotel-status.is-warning {
    background: #fff6df;
    color: #8a5a00;
}

.chat-home {
    display: grid;
    justify-items: center;
}

.chat-home h1 {
    margin: 0;
    color: #020202;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.chat-thread {
    width: 100%;
    min-height: 0;
    overflow-y: auto;
}

.thread-inner {
    display: grid;
    gap: 28px;
    width: min(768px, 100%);
    margin: 0 auto;
    padding: 28px 0 36px;
}

.chat-message {
    display: grid;
    min-width: 0;
}

.chat-message.user {
    justify-items: end;
}

.user-bubble {
    max-width: min(620px, 78%);
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--bubble);
    color: #111;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.chat-message.assistant {
    justify-items: start;
    gap: 12px;
}

.assistant-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8a8a8a;
    font-size: 14px;
}

.assistant-text {
    max-width: min(680px, 100%);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.message-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.message-tools button {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #777;
}

.message-tools button:hover {
    background: var(--soft);
}

.message-tools svg {
    width: 17px;
    height: 17px;
}

.composer-wrap {
    display: grid;
    gap: 22px;
    width: min(768px, 100%);
}

.prompt-bar {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 6px 8px 6px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}

.tool-menu-wrap {
    position: relative;
}

.circle-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #202020;
}

.add-button {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.tool-menu {
    position: absolute;
    left: -2px;
    bottom: calc(100% + 10px);
    z-index: 20;
    display: grid;
    width: 370px;
    padding: 8px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.tool-menu button {
    display: grid;
    grid-template-columns: 28px auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    text-align: left;
}

.tool-menu button:hover,
.tool-menu button.is-active {
    background: #f2f2f2;
}

.tool-menu span:not(.tool-icon) {
    font-size: 14px;
    font-weight: 600;
}

.tool-menu small {
    overflow: hidden;
    color: #7c7c7c;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tool-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    font-size: 18px;
}

.tool-icon svg {
    width: 20px;
    height: 20px;
}

.tool-icon.web {
    color: #20bdf8;
}

.tool-icon.research {
    color: #1683ff;
}

.selected-tool {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

#selectedToolIcon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
}

.prompt-input {
    grid-column: 3;
    min-width: 0;
}

.mic-button {
    grid-column: 4;
}

.send-button {
    grid-column: 5;
}

textarea {
    display: block;
    width: 100%;
    max-height: 120px;
    min-height: 26px;
    padding: 2px 0 0;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
    overflow: hidden;
}

textarea::placeholder {
    color: var(--muted);
}

.mic-button svg {
    width: 19px;
    height: 19px;
}

.send-button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #050505;
    color: #fff;
}

.send-button svg {
    width: 20px;
    height: 20px;
}

.tool-content {
    width: 100%;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.content-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.content-nav {
    display: flex;
    gap: 8px;
}

.content-nav button {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #eeeeee;
    border-radius: 999px;
    color: #777;
    font-size: 24px;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: 144px repeat(4, minmax(120px, 1fr));
    gap: 14px;
}

.upload-card,
.inspiration-card {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: 18px;
    text-align: left;
}

.upload-card {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 48px;
    background: #fafafa;
    color: #707070;
}

.upload-card span {
    font-size: 32px;
    font-weight: 300;
}

.upload-card small {
    font-size: 13px;
}

.inspiration-card {
    display: flex;
    align-items: flex-end;
    padding: 12px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.inspiration-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.54), transparent 55%);
}

.inspiration-card span {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 700;
}

.card-portrait {
    background-image:
        linear-gradient(135deg, rgba(70, 134, 180, 0.1), rgba(0, 0, 0, 0.1)),
        radial-gradient(circle at 48% 32%, #f1c2a8 0 18%, transparent 19%),
        linear-gradient(130deg, #7cb7d3, #314b61 58%, #161b20);
}

.card-poster {
    background-image:
        radial-gradient(circle at 18% 20%, #e92e2e 0 7%, transparent 8%),
        radial-gradient(circle at 70% 30%, #163f9f 0 11%, transparent 12%),
        linear-gradient(135deg, #ffffff 0 35%, #d9ecff 36% 58%, #c92626 59% 100%);
}

.card-family {
    background-image:
        radial-gradient(circle at 45% 42%, #ffd0a5 0 13%, transparent 14%),
        radial-gradient(circle at 65% 60%, #ffdaa6 0 10%, transparent 11%),
        linear-gradient(135deg, #3aa7ff, #81d6ff);
}

.card-hotel {
    background-image:
        linear-gradient(135deg, rgba(40, 28, 18, 0.1), rgba(0, 0, 0, 0.12)),
        linear-gradient(90deg, #d9c0a4, #85694f 48%, #ead8bd);
}

.research-content {
    display: grid;
    gap: 20px;
}

.research-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
}

.research-tabs button {
    color: #8a8a8a;
    font-size: 18px;
}

.research-tabs button.is-active {
    color: #111;
    font-weight: 600;
}

.research-list {
    display: grid;
    gap: 18px;
}

.research-list button {
    display: grid;
    grid-template-columns: 22px auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 34px;
    text-align: left;
}

.research-list span {
    color: #909090;
    font-size: 22px;
}

.research-list strong {
    white-space: nowrap;
    font-size: 14px;
}

.research-list small {
    overflow: hidden;
    color: #7b7b7b;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-footnote {
    margin: 0;
    padding: 0 20px 14px;
    color: #858585;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.upload-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}

.auth-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    width: min(420px, 100%);
    padding: 24px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.auth-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.auth-header p,
.auth-header h2,
.auth-error {
    margin: 0;
}

.auth-header p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.auth-header h2 {
    margin-top: 4px;
    font-size: 24px;
    line-height: 1.2;
}

.auth-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #666;
    font-size: 26px;
    line-height: 1;
}

.auth-close:hover {
    background: var(--soft);
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field span {
    color: #666;
    font-size: 13px;
    font-weight: 800;
}

.auth-field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #111;
}

.auth-field input:focus {
    border-color: #111;
}

.auth-error {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
}

.auth-submit {
    min-height: 42px;
    border-radius: 999px;
    background: #050505;
    color: #fff;
    font-weight: 850;
}

.auth-submit:disabled {
    opacity: 0.65;
    cursor: progress;
}

.upload-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.upload-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    width: min(520px, 100%);
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.upload-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.upload-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.upload-header p {
    margin: 6px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.upload-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #666;
    font-size: 24px;
    line-height: 1;
}

.upload-close:hover {
    background: var(--soft);
}

.upload-dropzone {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 190px;
    padding: 24px;
    border: 1px dashed #d8d8d8;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
    cursor: pointer;
}

.upload-dropzone:hover {
    border-color: #bfbfbf;
    background: #f7f7f7;
}

.upload-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.upload-plus {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.upload-dropzone strong {
    font-size: 16px;
}

.upload-dropzone small {
    color: #888;
    font-size: 13px;
}

.upload-file-list {
    display: grid;
    gap: 8px;
}

.upload-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #333;
    font-size: 13px;
}

.upload-file span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-file small {
    flex: 0 0 auto;
    color: #888;
}

.upload-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.upload-cancel,
.upload-confirm {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.upload-cancel {
    background: #f1f1f1;
}

.upload-confirm {
    background: #050505;
    color: #fff;
}

.hotel-drawer-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    justify-items: end;
}

.hotel-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
}

.hotel-drawer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(560px, 100vw);
    height: 100vh;
    height: 100svh;
    border-left: 1px solid #e8e8e8;
    border-radius: 18px 0 0 18px;
    background: #fff;
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
}

.hotel-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid #eeeeee;
}

.hotel-drawer-header p,
.hotel-drawer-header h2 {
    margin: 0;
}

.hotel-drawer-header p {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.hotel-drawer-header h2 {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.hotel-drawer-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #666;
    font-size: 26px;
    line-height: 1;
}

.hotel-drawer-close:hover {
    background: var(--soft);
}

.hotel-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 16px 12px;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 24px;
}

.hotel-field,
.hotel-image-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.hotel-field.is-full,
.hotel-image-field.is-full,
.hotel-image-name,
.hotel-form-footer {
    grid-column: 1 / -1;
}

.hotel-field span {
    color: #555;
    font-size: 13px;
    font-weight: 800;
}

.hotel-field input,
.hotel-field select,
.hotel-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
}

.hotel-field input:focus,
.hotel-field select:focus,
.hotel-field textarea:focus,
.hotel-image-field:focus-within {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.hotel-field textarea {
    min-height: 116px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

.hotel-field input::placeholder,
.hotel-field textarea::placeholder {
    color: #a0a0a0;
}

.hotel-image-field {
    position: relative;
    place-items: center;
    min-height: 190px;
    overflow: hidden;
    border: 1px dashed #d8d8d8;
    border-radius: 8px;
    background: #fafafa;
    text-align: center;
    cursor: pointer;
}

.hotel-image-field:hover {
    border-color: #bdbdbd;
    background: #f7f7f7;
}

.hotel-image-field input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.hotel-image-empty {
    display: grid;
    gap: 6px;
    padding: 20px;
}

.hotel-image-empty strong {
    font-size: 15px;
    font-weight: 800;
}

.hotel-image-empty small,
.hotel-image-name {
    color: #777;
    font-size: 13px;
}

.hotel-image-preview-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 10px;
}

.hotel-image-preview-list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
}

.hotel-image-name {
    min-height: 18px;
    margin: -6px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-form-footer {
    position: sticky;
    bottom: -24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 4px -24px -24px;
    padding: 16px 24px;
    border-top: 1px solid #eeeeee;
    background: #fff;
}

.hotel-image-hover-preview {
    position: fixed;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, 72px);
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px) saturate(1.6);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.hotel-image-hover-preview img,
.hotel-image-hover-preview span {
    width: 72px;
    height: 54px;
    border-radius: 7px;
}

.hotel-image-hover-preview img {
    object-fit: cover;
}

.hotel-image-hover-preview span {
    display: inline-grid;
    place-items: center;
    background: #f1f1f1;
    color: #555;
    font-size: 14px;
    font-weight: 800;
}

.hotel-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 28px;
}

.hotel-image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}

.hotel-image-viewer-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    width: min(920px, 100%);
    max-height: min(760px, calc(100vh - 56px));
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.hotel-image-viewer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.hotel-image-viewer-header p,
.hotel-image-viewer-header h2 {
    margin: 0;
}

.hotel-image-viewer-header p {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.hotel-image-viewer-header h2 {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 800;
}

.hotel-image-viewer-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #666;
    font-size: 26px;
    line-height: 1;
}

.hotel-image-viewer-close:hover,
.hotel-image-nav:hover {
    background: var(--soft);
}

.hotel-image-viewer-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.hotel-image-viewer-stage img {
    display: block;
    max-width: 100%;
    max-height: min(560px, calc(100vh - 250px));
    object-fit: contain;
}

.hotel-image-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #111;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
}

.hotel-image-nav.prev {
    left: 12px;
}

.hotel-image-nav.next {
    right: 12px;
}

.hotel-image-nav:disabled {
    opacity: 0.36;
    cursor: default;
}

.hotel-image-viewer-thumbs {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.hotel-image-viewer-thumbs button {
    flex: 0 0 auto;
    width: 74px;
    height: 54px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #f4f4f4;
}

.hotel-image-viewer-thumbs button.is-active {
    border-color: #111;
}

.hotel-image-viewer-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-center {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 0;
    padding: 24px clamp(16px, 2.4vw, 32px) 34px;
    background: #f6f7f9;
}

.quote-center-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.quote-center-header p,
.quote-center-header h1,
.quote-resource-header p,
.quote-resource-header h2 {
    margin: 0;
}

.quote-center-header p,
.quote-resource-header p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.quote-center-header h1 {
    margin-top: 4px;
    font-size: 26px;
    line-height: 1.2;
}

.quote-center-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.quote-center-actions .resource-secondary-button {
    min-height: 36px;
    background: #fff;
}

.quote-center-actions svg,
.quote-sheet-actions svg {
    width: 17px;
    height: 17px;
}

.quote-mobile-brief-toggle,
.quote-mobile-resource-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.quote-mobile-brief-button,
.quote-mobile-resource-button,
.quote-mobile-resource-backdrop,
.quote-mobile-resource-close {
    display: none;
}

.quote-brief {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.quote-field,
.quote-summary-card {
    display: grid;
    gap: 7px;
    min-width: 0;
    min-height: 74px;
    padding: 13px 14px;
    border: 1px solid #e7e9ec;
    border-radius: 8px;
    background: #fff;
}

.quote-field span,
.quote-summary-card span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.quote-field input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: #111;
    font-size: 15px;
    font-weight: 700;
}

.quote-field input::placeholder {
    color: #b0b0b0;
    font-weight: 600;
}

.quote-summary-card strong {
    overflow: hidden;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-center-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 16px;
    min-height: 0;
}

.quote-sheet-panel,
.quote-resource-panel {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.quote-sheet-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.quote-sheet-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #ececec;
}

.quote-insert-target {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.quote-sheet-toolbar label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 800;
}

.quote-sheet-toolbar select {
    min-height: 34px;
    padding: 0 30px 0 12px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-weight: 800;
}

.quote-sheet-toolbar small {
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.quote-sheet-actions,
.quote-total-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.quote-sheet-actions .resource-secondary-button,
.quote-sheet-actions .resource-primary-button,
.quote-total-actions .resource-secondary-button,
.quote-total-actions .resource-primary-button {
    min-height: 34px;
}

.quote-day-list {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 0;
    overflow: auto;
    padding: 16px;
}

.quote-day-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
}

.quote-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eeeeee;
    background: #fbfbfb;
}

.quote-day-header div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.quote-day-header span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.quote-day-header strong {
    font-size: 17px;
    line-height: 1.2;
}

.quote-day-header button,
.quote-row-delete {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #666;
}

.quote-day-header button:hover,
.quote-row-delete:hover {
    border-color: #111;
    color: #111;
}

.quote-day-header svg,
.quote-row-delete svg {
    width: 16px;
    height: 16px;
}

.quote-table-wrap {
    min-width: 0;
    overflow-x: auto;
}

.quote-table {
    width: 100%;
    min-width: 1030px;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}

.quote-table-other {
    min-width: 890px;
}

.quote-table th,
.quote-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    white-space: nowrap;
}

.quote-table th:not(:last-child),
.quote-table td:not(:last-child) {
    border-right: 1px solid #f4f4f4;
}

.quote-table th {
    background: #fafafa;
    color: #777;
    font-weight: 850;
}

.quote-table td:nth-child(2) {
    min-width: 0;
}

.quote-table th:nth-child(1),
.quote-table td:nth-child(1) {
    width: 112px;
}

.quote-table th:nth-child(2),
.quote-table td:nth-child(2) {
    width: auto;
}

.quote-table th:nth-child(3),
.quote-table td:nth-child(3) {
    width: 78px;
}

.quote-table th:nth-child(4),
.quote-table td:nth-child(4) {
    width: 92px;
}

.quote-table th:nth-child(5),
.quote-table td:nth-child(5) {
    width: 68px;
}

.quote-table th:nth-child(6),
.quote-table td:nth-child(6) {
    width: 104px;
}

.quote-table th:nth-child(7),
.quote-table td:nth-child(7) {
    width: 260px;
}

.quote-table th:nth-child(8),
.quote-table td:nth-child(8) {
    width: 42px;
    text-align: center;
}

.quote-table-other th:nth-child(1),
.quote-table-other td:nth-child(1) {
    width: auto;
}

.quote-table-other th:nth-child(2),
.quote-table-other td:nth-child(2) {
    width: 82px;
}

.quote-table-other th:nth-child(3),
.quote-table-other td:nth-child(3) {
    width: 92px;
}

.quote-table-other th:nth-child(4),
.quote-table-other td:nth-child(4) {
    width: 68px;
}

.quote-table-other th:nth-child(5),
.quote-table-other td:nth-child(5) {
    width: 104px;
}

.quote-table-other th:nth-child(6),
.quote-table-other td:nth-child(6) {
    width: 260px;
}

.quote-table-other th:nth-child(7),
.quote-table-other td:nth-child(7) {
    width: 42px;
    text-align: center;
}

.quote-table td strong,
.quote-table td small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-table td small {
    margin-top: 4px;
    max-width: 100%;
    color: #777;
    font-size: 12px;
    text-overflow: ellipsis;
}

.quote-table tfoot td {
    border-bottom: 0;
    background: #fbfbfb;
    color: #111;
    font-weight: 850;
}

.quote-table tfoot td:first-child {
    color: #666;
    text-align: right;
}

.quote-type-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef3ff;
    color: #2254a5;
    font-size: 12px;
    font-weight: 850;
}

.quote-time-input,
.quote-project-input,
.quote-unit-input,
.quote-number-input,
.quote-note-input {
    width: 58px;
    min-height: 32px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 750;
}

.quote-time-input,
.quote-project-input,
.quote-unit-input,
.quote-note-input {
    width: 100%;
    padding: 0 9px;
}

.quote-note-input {
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.45;
    resize: vertical;
    white-space: pre-wrap;
}

.quote-project-input {
    min-width: 0;
    font-weight: 800;
}

.quote-number-input {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    text-align: right;
}

.quote-time-input:focus,
.quote-project-input:focus,
.quote-unit-input:focus,
.quote-number-input:focus,
.quote-note-input:focus {
    border-color: #111;
    outline: 0;
}

.quote-empty-row td {
    padding: 22px 16px;
    color: #888;
    text-align: center;
}

.quote-resource-panel {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 12px;
    position: sticky;
    top: 24px;
    height: min(660px, calc(100vh - 228px));
    min-height: 420px;
    overflow: hidden;
    padding: 16px;
}

.quote-resource-header h2 {
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.25;
}

.quote-total-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
    border-top: 1px solid #ececec;
    background: #fbfbfb;
}

.quote-total-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.quote-total-summary article {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
}

.quote-total-summary span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.quote-total-summary strong {
    overflow: hidden;
    font-size: 20px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-total-card-main {
    border-color: #111 !important;
}

.quote-total-card-main strong {
    font-size: 24px;
}

.quote-total-actions {
    align-self: center;
    padding-left: 8px;
    border-left: 1px solid #e6e6e6;
}

.quote-total-actions .resource-primary-button {
    min-width: 104px;
}

.quote-resource-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
}

.quote-resource-search {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    color: #777;
}

.quote-resource-search svg {
    width: 16px;
    height: 16px;
}

.quote-resource-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 13px;
}

.quote-city-filter select {
    width: 100%;
    min-height: 38px;
    padding: 0 9px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.quote-resource-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quote-resource-tabs button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 12px;
    font-weight: 850;
}

.quote-resource-tabs button.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.quote-resource-list {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
}

.quote-resource-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
}

.quote-resource-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.quote-resource-copy strong,
.quote-resource-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-resource-copy strong {
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.quote-resource-copy small {
    display: -webkit-box;
    color: #777;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.quote-resource-item b {
    align-self: start;
    color: #111;
    font-size: 13px;
    white-space: nowrap;
}

.quote-resource-item button {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.quote-resource-empty {
    margin: 0;
    padding: 18px 12px;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

.quote-records {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 0;
    padding: 24px clamp(16px, 2.4vw, 32px) 34px;
    background: #f6f7f9;
}

.quote-records-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.quote-records-header p,
.quote-records-header h1 {
    margin: 0;
}

.quote-records-header p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.quote-records-header h1 {
    margin-top: 4px;
    font-size: 26px;
    line-height: 1.2;
}

.quote-record-filterbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 150px 160px auto auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.quote-record-search {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    color: #777;
}

.quote-record-search svg {
    width: 16px;
    height: 16px;
}

.quote-record-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 13px;
}

.quote-record-select {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 38px;
    padding: 0 10px 0 12px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #fff;
}

.quote-record-select span {
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.quote-record-select select {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.quote-record-filterbar > small {
    justify-self: end;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.quote-record-list {
    display: grid;
    gap: 10px;
}

.quote-record-card,
.quote-record-empty {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.quote-record-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 16px 18px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.quote-record-card:hover {
    border-color: #cfd5dd;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.quote-record-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quote-record-card-header div:first-child {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.quote-record-badge {
    justify-self: start;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef6f0;
    color: #2f6f45;
    font-size: 11px;
    font-weight: 850;
}

.quote-record-card-header strong,
.quote-record-card-header small,
.quote-record-sections {
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-record-card-header strong {
    font-size: 18px;
    line-height: 1.25;
    white-space: nowrap;
}

.quote-record-card-header small {
    color: #777;
    font-size: 13px;
    line-height: 1.35;
}

.quote-record-sections {
    margin: 0;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.quote-record-body {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.quote-record-total {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: #fff;
}

.quote-record-total small,
.quote-record-total span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 800;
}

.quote-record-total strong {
    overflow: hidden;
    font-size: 28px;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-record-actions {
    display: inline-flex;
    gap: 6px;
    flex: 0 0 auto;
}

.quote-record-actions button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 850;
}

.quote-record-actions button:first-child {
    border-color: #111;
    background: #111;
    color: #fff;
}

.quote-record-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.quote-record-meta span {
    display: grid;
    gap: 4px;
    min-width: 0;
    min-height: 76px;
    padding: 12px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fbfbfb;
}

.quote-record-meta small {
    color: #777;
    font-size: 11px;
    font-weight: 800;
}

.quote-record-meta b {
    overflow: hidden;
    color: #111;
    font-size: 19px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-record-empty {
    display: grid;
    gap: 6px;
    justify-items: center;
    padding: 42px 18px;
    color: #777;
    text-align: center;
}

.quote-record-empty strong {
    color: #111;
    font-size: 18px;
}

.quote-record-empty small {
    font-size: 13px;
}

.settings-view {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 0;
    padding: 24px clamp(16px, 2.4vw, 32px) 34px;
    background: #f6f7f9;
}

.settings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.settings-header p,
.settings-header h1,
.settings-group-header p,
.settings-group-header h2,
.settings-side-card p {
    margin: 0;
}

.settings-header p,
.settings-group-header p,
.settings-side-card p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.settings-header h1 {
    margin-top: 4px;
    font-size: 26px;
    line-height: 1.2;
}

.settings-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.settings-status-pill.is-ready {
    border-color: #b7e1c5;
    background: #f0fbf4;
    color: #26703a;
}

.settings-status-pill.is-warning {
    border-color: #f0d39a;
    background: #fff8e8;
    color: #8a5b00;
}

.settings-tabs {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px;
    border: 1px solid #e3e5e8;
    border-radius: 8px;
    background: #fff;
}

.settings-tabs button {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    font-weight: 850;
}

.settings-tabs button.is-active {
    background: #111;
    color: #fff;
}

.settings-tab-panel {
    min-width: 0;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 16px;
}

.settings-account-layout {
    grid-template-columns: minmax(0, 1fr);
}

.sales-account-panel {
    padding: 16px;
}

.settings-panel {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.settings-form {
    display: grid;
}

.settings-group {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid #ececec;
}

.settings-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.settings-group-header h2 {
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.25;
}

.settings-switch,
.settings-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.settings-switch input,
.settings-check input {
    width: 16px;
    height: 16px;
    accent-color: #111;
}

.settings-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.settings-field,
.settings-check {
    min-width: 0;
}

.settings-field {
    display: grid;
    gap: 7px;
}

.settings-field span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.settings-field input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.settings-field input:focus {
    border-color: #111;
}

.settings-field input::placeholder {
    color: #a7a7a7;
    font-weight: 600;
}

.settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 18px;
    background: #fbfbfb;
}

.settings-side {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.settings-side-card {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fbfbfb;
}

.settings-side-card strong {
    overflow: hidden;
    color: #111;
    font-size: 20px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-side-card small,
.settings-side-card a {
    overflow: hidden;
    color: #777;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-side-card a {
    color: #1d6fdc;
}

.sales-account-panel {
    display: grid;
    gap: 0;
}

.sales-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid #ececec;
}

.sales-account-header p,
.sales-account-header h2 {
    margin: 0;
}

.sales-account-header p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.sales-account-header h2 {
    margin-top: 4px;
    font-size: 20px;
    line-height: 1.2;
}

.sales-account-header small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 12px;
    font-weight: 750;
}

.sales-account-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sales-account-actions strong {
    color: #555;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.sales-user-table-wrap {
    position: relative;
    min-width: 0;
    overflow-x: auto;
    padding: 0 18px 18px;
}

.sales-user-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: fixed;
}

.sales-user-table th,
.sales-user-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #eeeeee;
    color: #222;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
}

.sales-user-table th {
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.sales-user-table td {
    font-weight: 750;
}

.sales-user-table td:nth-child(2) {
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sales-user-table th:nth-child(1),
.sales-user-table td:nth-child(1) {
    width: 18%;
}

.sales-user-table th:nth-child(3),
.sales-user-table td:nth-child(3) {
    width: 180px;
}

.sales-user-table th:nth-child(4),
.sales-user-table td:nth-child(4) {
    width: 140px;
}

.sales-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sales-user-actions button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 850;
}

.sales-user-actions button:hover {
    border-color: #111;
}

.sales-user-empty {
    padding: 22px 10px 4px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.sales-user-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.sales-user-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}

.sales-user-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    width: min(460px, 100%);
    padding: 24px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.sales-user-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sales-user-modal-header p,
.sales-user-modal-header h2,
.sales-user-form-hint {
    margin: 0;
}

.sales-user-modal-header p {
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.sales-user-modal-header h2 {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.2;
}

.sales-user-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #666;
    font-size: 26px;
    line-height: 1;
}

.sales-user-close:hover {
    background: var(--soft);
}

.sales-user-form {
    display: grid;
    gap: 12px;
}

.sales-user-form label {
    display: grid;
    gap: 7px;
}

.sales-user-form span {
    color: #666;
    font-size: 13px;
    font-weight: 800;
}

.sales-user-form input {
    width: 100%;
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 750;
}

.sales-user-form input:focus {
    border-color: #111;
}

.sales-user-form-hint {
    color: #777;
    font-size: 12px;
    font-weight: 750;
}

.sales-user-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
}

.sales-user-form-actions .resource-secondary-button,
.sales-user-form-actions .resource-primary-button {
    min-height: 36px;
}

.quote-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 60;
    transform: translateX(-50%);
    max-width: min(420px, calc(100vw - 32px));
    padding: 11px 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
}

.main-panel.is-chatting .stage {
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 0;
    padding-top: 4px;
    padding-bottom: 8px;
}

.main-panel.is-chatting .composer-wrap {
    align-self: end;
}

.main-panel.is-chatting .tool-content {
    display: none !important;
}

.main-panel.is-chatting .page-footnote {
    font-size: 12px;
}

.main-panel.is-resource-manager,
.main-panel.is-quote-center,
.main-panel.is-quote-records,
.main-panel.is-settings {
    grid-template-rows: minmax(0, 1fr);
}

.main-panel.is-resource-manager .main-header,
.main-panel.is-resource-manager .page-footnote,
.main-panel.is-quote-center .main-header,
.main-panel.is-quote-center .page-footnote,
.main-panel.is-quote-records .main-header,
.main-panel.is-quote-records .page-footnote,
.main-panel.is-settings .main-header,
.main-panel.is-settings .page-footnote {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1000px) {
    .inspiration-grid {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 900px) {
    .app-layout {
        grid-template-columns: 224px minmax(0, 1fr);
    }

    .main-header {
        padding-inline: 18px;
    }

    .resource-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-picker.is-detail-open .resource-card {
        flex-basis: 118px;
    }

    .hotel-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .hotel-search {
        width: 100%;
    }

    .hotel-filter {
        align-self: flex-start;
    }

    .quote-center-layout {
        grid-template-columns: 1fr;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .quote-resource-panel {
        position: static;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .quote-resource-list {
        max-height: 430px;
    }

    .quote-total-summary {
        grid-template-columns: 1fr;
    }

    .quote-total-actions {
        justify-content: flex-end;
        padding-top: 12px;
        padding-left: 0;
        border-top: 1px solid #e6e6e6;
        border-left: 0;
    }

    .quote-record-body {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .quote-record-filterbar {
        grid-template-columns: minmax(0, 1fr) minmax(140px, auto) minmax(150px, auto);
    }

    .quote-record-search {
        grid-column: 1 / -1;
    }

    .quote-record-filterbar > small {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .app-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .app-layout.is-sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: 5;
        grid-template-rows: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 8px;
    }

    .sidebar-top,
    .sidebar-bottom,
    .recent-section {
        display: none;
    }

    .primary-nav {
        display: flex;
        gap: 8px;
        margin: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .primary-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0 12px;
    }

    .app-layout.is-sidebar-collapsed .nav-item {
        justify-content: flex-start;
        width: auto;
        padding: 0 12px;
    }

    .app-layout.is-sidebar-collapsed .nav-item span {
        display: inline;
    }

    .main-panel {
        min-height: calc(100vh - 53px);
        min-height: calc(100svh - 53px);
    }

    .main-header {
        min-height: 54px;
        padding-inline: 14px;
    }

    .model-button {
        font-size: 17px;
    }

    .signup-button,
    .conversation-actions span {
        display: none;
    }

    .stage {
        gap: 26px;
        padding: 24px 16px 48px;
    }

    .resource-stage {
        padding: 28px 16px 46px;
    }

    .resource-stage.is-detail-open {
        padding-top: 18px;
    }

    .quote-center {
        gap: 14px;
        padding: 14px 10px 24px;
    }

    .quote-records {
        padding: 18px 14px 28px;
    }

    .settings-view {
        padding: 18px 14px 28px;
    }

    .quote-center-header {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .quote-records-header {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-header {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-record-filterbar {
        grid-template-columns: 1fr;
    }

    .quote-record-filterbar > small {
        justify-self: start;
    }

    .quote-record-select {
        min-height: 40px;
    }

    .quote-center-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .quote-brief {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .quote-field,
    .quote-summary-card {
        min-height: 66px;
        padding: 11px 12px;
    }

    .quote-summary-card strong {
        font-size: 20px;
    }

    .quote-center-layout {
        gap: 12px;
    }

    .quote-sheet-panel,
    .quote-resource-panel {
        border-radius: 8px;
        box-shadow: none;
    }

    .quote-sheet-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .quote-insert-target {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .quote-sheet-toolbar label {
        justify-content: space-between;
    }

    .quote-sheet-toolbar select {
        flex: 0 0 auto;
        min-width: 150px;
        min-height: 38px;
    }

    .quote-sheet-actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .quote-sheet-actions .resource-secondary-button,
    .quote-sheet-actions .resource-primary-button {
        flex: 1 1 130px;
        justify-content: center;
    }

    .quote-day-list {
        gap: 12px;
        padding: 12px;
        overflow: visible;
    }

    .quote-day-card {
        overflow: hidden;
    }

    .quote-day-header {
        padding: 12px;
    }

    .quote-day-header strong {
        font-size: 16px;
    }

    .quote-table-wrap {
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .quote-table-wrap::after {
        display: block;
        padding: 8px 12px 10px;
        color: #888;
        font-size: 12px;
        font-weight: 700;
        content: "左右滑动查看完整报价表";
    }

    .quote-table {
        min-width: 980px;
    }

    .quote-table-other {
        min-width: 840px;
    }

    .quote-table th,
    .quote-table td {
        padding: 8px 7px;
    }

    .quote-time-input,
    .quote-project-input,
    .quote-unit-input,
    .quote-number-input,
    .quote-note-input {
        min-height: 38px;
        font-size: 13px;
    }

    .quote-note-input {
        min-height: 56px;
    }

    .quote-total-summary {
        gap: 12px;
        padding: 12px;
    }

    .quote-total-cards {
        gap: 8px;
    }

    .quote-total-summary article {
        padding: 10px;
    }

    .quote-total-actions {
        align-items: stretch;
        flex-direction: row;
    }

    .quote-total-actions .resource-secondary-button,
    .quote-total-actions .resource-primary-button {
        flex: 1 1 140px;
        justify-content: center;
    }

    .quote-resource-panel {
        gap: 10px;
    }

    .quote-resource-tools {
        grid-template-columns: 1fr;
    }

    .quote-city-filter select {
        min-height: 40px;
    }

    .quote-resource-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .quote-resource-tabs::-webkit-scrollbar {
        display: none;
    }

    .quote-resource-tabs button {
        flex: 0 0 auto;
    }

    .quote-resource-list {
        max-height: 360px;
        padding-right: 0;
    }

    .quote-resource-item {
        gap: 8px;
        padding: 10px;
    }

    .resource-picker {
        gap: 22px;
    }

    .resource-picker.is-detail-open .resource-card-grid {
        justify-content: flex-start;
    }

    .resource-detail {
        padding: 18px;
    }

    .resource-detail-header {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-detail-actions {
        justify-content: flex-start;
    }

    .hotel-drawer {
        width: min(520px, 100vw);
    }

    .resource-picker-header h1 {
        font-size: 22px;
    }

    .tool-menu {
        width: min(370px, calc(100vw - 44px));
    }

    .main-panel.is-chatting .stage {
        padding: 0 12px 8px;
    }
}

@media (max-width: 560px) {
    .chat-home h1 {
        font-size: 22px;
    }

    .prompt-bar {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        min-height: 52px;
        padding-right: 7px;
    }

    .mic-button {
        display: none;
    }

    .send-button {
        grid-column: 4;
    }

    .selected-tool {
        max-width: 112px;
        overflow: hidden;
    }

    .inspiration-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .resource-card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .resource-card {
        grid-template-columns: 42px minmax(0, 1fr) 22px;
        min-height: 86px;
        padding: 14px;
    }

    .resource-picker.is-detail-open .resource-card {
        flex-basis: 108px;
    }

    .resource-card-icon {
        width: 42px;
        height: 42px;
    }

    .resource-card-copy strong {
        font-size: 16px;
    }

    .resource-picker.is-detail-open .resource-card-copy strong {
        font-size: 13px;
    }

    .hotel-metrics {
        grid-template-columns: 1fr;
    }

    .quote-brief {
        grid-template-columns: 1fr;
    }

    .quote-center-header h1 {
        font-size: 22px;
    }

    .quote-center-actions .resource-secondary-button,
    .quote-center-actions .resource-primary-button {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
    }

    .quote-field,
    .quote-summary-card {
        min-height: auto;
    }

    .quote-summary-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .quote-summary-card strong {
        font-size: 19px;
        text-align: right;
    }

    .settings-field-grid {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .settings-actions .resource-secondary-button,
    .settings-actions .resource-primary-button {
        width: 100%;
    }

    .quote-record-list {
        grid-template-columns: 1fr;
    }

    .quote-record-card-header {
        flex-direction: column;
    }

    .quote-record-actions {
        align-self: flex-start;
    }

    .quote-record-body {
        grid-template-columns: 1fr;
    }

    .quote-record-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quote-center-actions .resource-secondary-button,
    .quote-center-actions .resource-primary-button,
    .quote-sheet-actions .resource-secondary-button,
    .quote-sheet-actions .resource-primary-button,
    .quote-total-actions .resource-secondary-button,
    .quote-total-actions .resource-primary-button {
        flex: 1 1 150px;
    }

    .quote-total-cards,
    .quote-record-meta {
        grid-template-columns: 1fr;
    }

    .quote-total-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-day-list,
    .quote-resource-panel {
        padding: 10px;
    }

    .quote-sheet-toolbar {
        padding: 10px;
    }

    .quote-table {
        min-width: 920px;
    }

    .quote-table-other {
        min-width: 800px;
    }

    .quote-resource-list {
        max-height: 320px;
    }

    .quote-resource-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-resource-item b {
        justify-self: start;
    }

    .quote-resource-item button {
        width: 100%;
        justify-self: stretch;
    }

    .hotel-filter {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hotel-filter::-webkit-scrollbar {
        display: none;
    }

    .meal-menu-detail-panel,
    .meal-menu-detail-row.is-open .meal-menu-detail-panel {
        margin-left: 12px;
    }

    .hotel-drawer {
        width: 100vw;
        border-left: 0;
        border-radius: 0;
    }

    .hotel-drawer-header {
        padding: 18px 18px 14px;
    }

    .hotel-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .hotel-form-footer {
        bottom: -18px;
        margin: 2px -18px -18px;
        padding: 14px 18px;
    }

    .hotel-image-hover-preview {
        grid-template-columns: repeat(2, 68px);
    }

    .hotel-image-hover-preview img,
    .hotel-image-hover-preview span {
        width: 68px;
        height: 51px;
    }

    .hotel-image-viewer {
        padding: 12px;
    }

    .hotel-image-viewer-dialog {
        max-height: calc(100vh - 24px);
        padding: 14px;
    }

    .hotel-image-viewer-stage img {
        max-height: calc(100vh - 230px);
    }

    .research-list button {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .research-list small {
        grid-column: 2;
    }

    .user-bubble {
        max-width: 86%;
    }

    .page-footnote {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .nav-item {
        gap: 8px;
        padding: 0 10px;
        font-size: 13px;
    }

    .login-button {
        min-height: 34px;
        padding: 0 13px;
        font-size: 13px;
    }

    textarea {
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    .quote-center {
        padding: 12px 10px 22px;
    }

    .quote-center-header p,
    .quote-resource-header p {
        display: none;
    }

    .quote-brief {
        gap: 8px;
    }

    .quote-brief .quote-summary-card {
        display: none;
    }

    .quote-field {
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: center;
        min-height: 48px;
        padding: 10px 12px;
    }

    .quote-field input {
        text-align: right;
    }

    .quote-sheet-toolbar small {
        display: none;
    }

    .quote-sheet-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .quote-sheet-actions .resource-secondary-button,
    .quote-sheet-actions .resource-primary-button {
        flex: 0 0 auto;
        min-height: 42px;
        border-radius: 8px;
    }

    .quote-day-header span {
        display: none;
    }

    .quote-table-wrap {
        overflow: visible;
        background: #f7f8fa;
    }

    .quote-table-wrap::after {
        display: none;
        content: none;
    }

    .quote-table,
    .quote-table-other {
        display: block;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        table-layout: auto;
    }

    .quote-table thead {
        display: none;
    }

    .quote-table tbody {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .quote-table tbody tr {
        display: grid;
        min-width: 0;
    }

    .quote-table tbody tr:not(.quote-empty-row) {
        gap: 0;
        padding: 10px 12px;
        border: 1px solid #e6e8eb;
        border-radius: 8px;
        background: #fff;
    }

    .quote-table tbody tr:not(.quote-empty-row) td {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        width: auto !important;
        min-width: 0;
        padding: 7px 0;
        border: 0 !important;
        color: #111;
        font-size: 13px;
        text-align: left;
        white-space: normal;
    }

    .quote-table tbody tr:not(.quote-empty-row) td::before {
        color: #74777d;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.25;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(1)::before {
        content: "\9884\4F30\65F6\6BB5";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(2)::before {
        content: "\9879\76EE\540D\79F0";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(3)::before {
        content: "\8BA1\4EF7\5355\4F4D";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(4)::before {
        content: "\5355\4EF7";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(5)::before {
        content: "\6570\91CF";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(6)::before {
        content: "\5C0F\8BA1";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(7)::before {
        content: "\5907\6CE8";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(8)::before {
        content: "\64CD\4F5C";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(1)::before {
        content: "\9879\76EE\540D\79F0";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(2)::before {
        content: "\8BA1\4EF7\5355\4F4D";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(3)::before {
        content: "\5355\4EF7";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(4)::before {
        content: "\6570\91CF";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(5)::before {
        content: "\5C0F\8BA1";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(6)::before {
        content: "\5907\6CE8";
    }

    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(7)::before {
        content: "\64CD\4F5C";
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(6),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(5) {
        font-size: 14px;
        font-weight: 900;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(7),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(6) {
        align-items: start;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(8),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(7) {
        grid-template-columns: 1fr;
        justify-items: end;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid #f0f1f3 !important;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(8)::before,
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(7)::before {
        display: none;
    }

    .quote-time-input,
    .quote-project-input,
    .quote-unit-input,
    .quote-number-input,
    .quote-note-input {
        min-height: 30px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: transparent;
        box-shadow: none;
        font-size: 14px;
    }

    .quote-time-input:focus,
    .quote-project-input:focus,
    .quote-unit-input:focus,
    .quote-number-input:focus,
    .quote-note-input:focus {
        padding-right: 8px;
        padding-left: 8px;
        background: #f8fafc;
        box-shadow: inset 0 0 0 1px #d5d9df;
        outline: 0;
    }

    .quote-note-input {
        min-height: 42px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .quote-row-delete {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .quote-empty-row td {
        display: block;
        padding: 20px 12px;
        border: 0;
        white-space: normal;
    }

    .quote-table tfoot {
        display: block;
        border-top: 1px solid #e8e8e8;
        background: #fff;
    }

    .quote-table tfoot tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }

    .quote-table tfoot td {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        white-space: normal;
    }

    .quote-table tfoot td:first-child {
        color: #666;
        text-align: left;
    }

    .quote-table tfoot td:last-child {
        font-size: 16px;
        text-align: right;
    }

    .quote-total-summary {
        gap: 10px;
        padding: 12px;
    }

    .quote-total-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        width: 100%;
        padding-top: 10px;
    }

    .quote-total-actions .resource-secondary-button,
    .quote-total-actions .resource-primary-button {
        flex: 0 0 auto;
        width: 100%;
        min-height: 42px;
        border-radius: 8px;
    }

    .quote-resource-panel {
        padding: 12px;
    }

    .quote-resource-header h2 {
        font-size: 16px;
    }

    .quote-resource-search,
    .quote-city-filter select {
        border-radius: 8px;
    }

    .quote-resource-list {
        max-height: none;
    }

    .quote-resource-item {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .quote-resource-item b {
        justify-self: end;
    }

    .quote-resource-item button {
        grid-column: 1 / -1;
        justify-self: end;
        width: auto;
        min-height: 34px;
        border-radius: 8px;
    }

    .quote-mobile-brief-button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        border: 1px solid #d8dbe0;
        border-radius: 8px;
        background: #fff;
        color: #111;
        font-size: 14px;
        font-weight: 900;
    }

    .quote-mobile-brief-close {
        display: none;
    }

    .quote-mobile-brief-toggle:checked + .quote-mobile-brief-button .quote-mobile-brief-open {
        display: none;
    }

    .quote-mobile-brief-toggle:checked + .quote-mobile-brief-button .quote-mobile-brief-close {
        display: inline;
    }

    .quote-mobile-brief-toggle:not(:checked) + .quote-mobile-brief-button + .quote-brief {
        display: none;
    }

    .quote-mobile-brief-toggle:checked + .quote-mobile-brief-button + .quote-brief {
        display: grid;
    }

    .quote-table tbody {
        gap: 6px;
        padding: 8px;
    }

    .quote-table tbody tr:not(.quote-empty-row) {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 10px;
        padding: 9px 44px 9px 12px;
    }

    .quote-table tbody tr:not(.quote-empty-row) td {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 2px;
        padding: 0;
        font-size: 12px;
    }

    .quote-table tbody tr:not(.quote-empty-row) td::before {
        font-size: 11px;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(2),
    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(7),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(1),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(6) {
        grid-column: 1 / -1;
    }

    .quote-table tbody tr:not(.quote-empty-row) td:nth-child(8),
    .quote-table-other tbody tr:not(.quote-empty-row) td:nth-child(7) {
        position: absolute;
        top: 8px;
        right: 8px;
        display: block;
        width: auto !important;
        margin: 0;
        padding: 0;
        border: 0 !important;
    }

    .quote-time-input,
    .quote-project-input,
    .quote-unit-input,
    .quote-number-input,
    .quote-note-input {
        min-height: 22px;
        font-size: 13px;
        line-height: 1.25;
    }

    .quote-note-input {
        min-height: 24px;
        height: 24px !important;
        max-height: 48px;
        padding-top: 2px;
        padding-bottom: 2px;
        overflow: auto;
        resize: none;
    }

    .quote-note-input:focus {
        height: 64px !important;
        max-height: 90px;
        resize: vertical;
    }

    .quote-row-delete {
        width: 30px;
        height: 30px;
    }

    .quote-table tfoot tr {
        padding: 9px 12px;
    }

    .quote-total-summary {
        gap: 8px;
        padding: 10px;
    }

    .quote-total-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .quote-total-summary article {
        min-height: 46px;
        gap: 2px;
        padding: 8px 7px;
    }

    .quote-total-summary span {
        font-size: 11px;
    }

    .quote-total-summary strong,
    .quote-total-card-main strong {
        font-size: 16px;
    }

    .quote-mobile-resource-button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 8px;
        background: #111;
        color: #fff;
        font-size: 14px;
        font-weight: 900;
    }

    .quote-mobile-resource-toggle:not(:checked) ~ .quote-mobile-resource-backdrop,
    .quote-mobile-resource-toggle:not(:checked) ~ .quote-resource-panel {
        display: none;
    }

    .quote-mobile-resource-toggle:checked ~ .quote-mobile-resource-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(15, 23, 42, 0.36);
    }

    .quote-mobile-resource-toggle:checked ~ .quote-resource-panel {
        position: fixed;
        inset: 70px 10px 10px;
        z-index: 71;
        display: grid;
        height: auto;
        max-height: calc(100svh - 80px);
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
    }

    .quote-resource-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding-right: 2px;
    }

    .quote-mobile-resource-close {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        border: 1px solid #dddddd;
        border-radius: 8px;
        background: #fff;
        color: #111;
        font-size: 22px;
        line-height: 1;
    }

    .quote-resource-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 8px;
        padding: 9px 10px;
    }

    .quote-resource-copy strong {
        font-size: 13px;
    }

    .quote-resource-copy small {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }

    .quote-resource-item b {
        font-size: 12px;
    }

    .quote-resource-item button {
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }
}

.quote-center {
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 14px;
    height: 100%;
    overflow: auto;
}

.quote-center-header {
    align-items: center;
    padding: 2px 2px 0;
}

.quote-center-header h1 {
    font-size: 24px;
}

.quote-center-actions .resource-secondary-button {
    border-color: #d8dbe0;
}

.quote-brief {
    grid-template-columns: 1.1fr 1.25fr 0.72fr 0.9fr repeat(4, minmax(92px, 0.7fr));
    align-items: stretch;
}

.quote-field,
.quote-summary-card {
    min-height: 64px;
    padding: 11px 12px;
}

.quote-summary-card {
    border-color: #e3e5e8;
    background: #fbfbfc;
}

.quote-summary-card strong {
    font-size: 20px;
}

.quote-center-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    gap: 12px;
    min-height: 0;
}

.quote-sheet-panel,
.quote-resource-panel {
    border-color: #e1e4e8;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.quote-sheet-panel {
    align-self: start;
    min-height: 0;
    overflow: hidden;
}

.quote-sheet-toolbar {
    min-height: 62px;
    background: #fff;
}

.quote-insert-target {
    flex-wrap: wrap;
}

.quote-sheet-toolbar small {
    flex-basis: 100%;
    padding-left: 0;
}

.quote-day-list {
    padding: 14px;
    background: #f8f9fb;
    min-height: 240px;
    max-height: calc(100vh - 342px);
}

.quote-day-card {
    border-color: #e2e5e9;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.quote-day-header {
    padding: 12px 14px;
    background: #fff;
}

.quote-table th {
    background: #f6f7f9;
}

.quote-table {
    min-width: 640px;
}

.quote-table-other {
    min-width: 560px;
}

.quote-table th,
.quote-table td {
    padding: 9px 6px;
}

.quote-table th:nth-child(1),
.quote-table td:nth-child(1) {
    width: 104px;
}

.quote-table th:nth-child(3),
.quote-table td:nth-child(3) {
    width: 90px;
}

.quote-table th:nth-child(4),
.quote-table td:nth-child(4) {
    width: 92px;
}

.quote-table th:nth-child(5),
.quote-table td:nth-child(5) {
    width: 72px;
}

.quote-table th:nth-child(6),
.quote-table td:nth-child(6) {
    width: 108px;
}

.quote-table th:nth-child(7),
.quote-table td:nth-child(7) {
    width: 90px;
}

.quote-table th:nth-child(8),
.quote-table td:nth-child(8) {
    width: 44px;
}

.quote-table-other th:nth-child(2),
.quote-table-other td:nth-child(2) {
    width: 90px;
}

.quote-table-other th:nth-child(3),
.quote-table-other td:nth-child(3) {
    width: 92px;
}

.quote-table-other th:nth-child(4),
.quote-table-other td:nth-child(4) {
    width: 72px;
}

.quote-table-other th:nth-child(5),
.quote-table-other td:nth-child(5) {
    width: 108px;
}

.quote-table-other th:nth-child(6),
.quote-table-other td:nth-child(6) {
    width: 90px;
}

.quote-table-other th:nth-child(7),
.quote-table-other td:nth-child(7) {
    width: 44px;
}

.quote-resource-panel {
    top: 14px;
    height: min(690px, calc(100vh - 206px));
    min-height: 390px;
    padding: 12px;
}

.quote-resource-header {
    padding-bottom: 2px;
}

.quote-resource-tools {
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: stretch;
}

.quote-resource-search,
.quote-city-filter select {
    border-radius: 8px;
}

.quote-resource-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.quote-resource-tabs::-webkit-scrollbar {
    display: none;
}

.quote-resource-tabs button {
    flex: 0 0 auto;
}

.quote-resource-list {
    gap: 8px;
    padding-right: 0;
}

.quote-resource-item {
    gap: 6px 8px;
    padding: 9px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.quote-resource-item.is-option-group {
    border-color: #d8dce3;
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.quote-resource-item:hover {
    border-color: #cfd4dc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.quote-resource-copy strong {
    font-size: 13px;
}

.quote-resource-copy small {
    -webkit-line-clamp: 1;
}

.quote-resource-item b {
    font-size: 12px;
}

.quote-resource-item button {
    border-radius: 8px;
}

.quote-resource-option-dialog[hidden] {
    display: none;
}

.quote-resource-option-dialog {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.38);
}

.quote-resource-option-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(560px, calc(100vw - 32px));
    max-height: min(720px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.quote-resource-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #eceff3;
}

.quote-resource-option-header p,
.quote-resource-option-header h2,
.quote-resource-option-header small {
    margin: 0;
}

.quote-resource-option-header p {
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.quote-resource-option-header h2 {
    margin-top: 4px;
    font-size: 19px;
    line-height: 1.25;
}

.quote-resource-option-header small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.quote-resource-option-header button {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 22px;
    line-height: 1;
}

.quote-resource-option-list {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    background: #f7f8fa;
}

.quote-resource-option-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    background: #fff;
}

.quote-resource-option-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.quote-resource-option-copy strong,
.quote-resource-option-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-resource-option-copy strong {
    color: #111;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.quote-resource-option-copy small {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.quote-resource-option-row b {
    color: #111;
    font-size: 13px;
    white-space: nowrap;
}

.quote-resource-option-row button {
    min-height: 32px;
    padding: 0 13px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.quote-total-summary {
    align-items: center;
    background: #fff;
}

.quote-total-summary article {
    min-height: 58px;
}

.quote-total-card-main {
    background: #111 !important;
    color: #fff;
}

.quote-total-card-main span,
.quote-total-card-main strong {
    color: #fff;
}

@media (max-width: 1180px) {
    .quote-brief {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .quote-center-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

@media (max-width: 900px) {
    .quote-center {
        height: auto;
        overflow: visible;
    }

    .quote-center-layout {
        grid-template-columns: 1fr;
    }

    .quote-sheet-panel {
        min-height: auto;
        overflow: visible;
    }

    .quote-day-list {
        min-height: 0;
        max-height: none;
        overflow: visible;
    }

    .quote-resource-panel {
        height: auto;
    }
}

@media (max-width: 560px) {
    .quote-center {
        grid-template-rows: auto auto auto;
        gap: 10px;
    }

    .quote-center-header {
        padding: 0;
    }

    .quote-center-layout {
        gap: 10px;
    }

    .quote-sheet-panel,
    .quote-day-card,
    .quote-resource-panel {
        box-shadow: none;
    }

    .quote-table,
    .quote-table-other {
        min-width: 0;
    }

    .quote-sheet-toolbar {
        min-height: auto;
    }

    .quote-total-card-main {
        border-color: #111 !important;
    }

    .quote-resource-item:hover {
        box-shadow: none;
        transform: none;
    }
}
