/* The app recreation is scoped to the local product demo. Light appearance
   follows the supplied material-order screenshots; dark uses app tokens. */
.demo-intro { margin: 24px 0 22px; }
.demo-intro h2 { margin: 0 0 10px; font-size: clamp(23px, 2.4vw, 28px); line-height: 1.25; }
.demo-intro p { margin: 0 0 8px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.produktdemo {
    --app-text: #10161e;
    --app-muted: #56616d;
    --app-faint: #8f9ba7;
    --app-card: #fff;
    --app-header: #fff;
    --app-bg: linear-gradient(165deg, #fafafe 0%, #f4f6fc 48%, #cfdef7 100%);
    --app-primary: #2c68e8;
    --app-border: #dce3ed;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: clamp(16px, 2.7vw, 28px);
    margin: 0 0 32px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    background: var(--surface);
    scroll-margin-top: 84px;
}
:root[data-theme="dark"] .produktdemo {
    --app-text: #f3f6fa;
    --app-muted: #b0becb;
    --app-faint: #899aaa;
    --app-card: #1e2c3a;
    --app-header: #17212b;
    --app-bg: linear-gradient(165deg, #17212b, #172334 55%, #243c59);
    --app-primary: #3474ef;
    --app-border: #405469;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .produktdemo {
        --app-text: #f3f6fa;
        --app-muted: #b0becb;
        --app-faint: #899aaa;
        --app-card: #1e2c3a;
        --app-header: #17212b;
        --app-bg: linear-gradient(165deg, #17212b, #172334 55%, #243c59);
        --app-primary: #3474ef;
        --app-border: #405469;
    }
}
.produktdemo [hidden] { display: none !important; }
.produktdemo button, .produktdemo input { font: inherit; }
.produktdemo button { cursor: pointer; touch-action: manipulation; }
.produktdemo button:disabled { cursor: default; }
.produktdemo :is(button, input, a):focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.produktdemo :is(h2, h3)[tabindex]:focus { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.produktdemo h2 { font-size: clamp(25px, 2.4vw, 31px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 16px; overflow-wrap: anywhere; }
.demo-copy > p { margin: 0 0 18px; font-size: 15px; color: var(--text-muted); }
.demo-copy .demo-eyebrow { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.produktdemo > .demo-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 11px; line-height: 1.5; color: var(--text-muted); }
.demo-usecase { border-top: 1px solid var(--border); padding-top: 16px; margin: 18px 0; }
.demo-usecase h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.demo-usecase p { margin: 0 0 10px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.demo-usecase .demo-usecase-benefit { margin-bottom: 0; color: var(--text); font-size: 13px; }
.demo-view-nav { display: grid; gap: 6px; margin: 22px 0; }
.demo-view-nav button { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid transparent; padding: 9px 12px; min-height: 44px; border-radius: 10px; background: transparent; color: var(--text-muted); font-size: 12px; }
.demo-view-nav button span { font-size: 14px; }
.demo-view-nav button[aria-current] { color: var(--text); background: var(--brand-soft); border-color: var(--border); font-weight: 700; }
.demo-view-nav button:disabled { opacity: .5; }
.demo-copy .demo-guide { font-size: 14px; color: var(--text); min-height: 90px; }
.demo-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-tools button { font-size: 12px; color: var(--text); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 10px; min-height: 44px; }
.demo-tools button:hover { border-color: var(--brand); }
.demo-copy .demo-announcement { font-size: 12px; margin-top: 12px; margin-bottom: 0; }
.demo-device { min-width: 0; width: 100%; max-width: 400px; margin: 0 auto; align-self: start; border: 1px solid var(--app-border); border-radius: 22px; overflow: hidden; background: var(--app-header); color: var(--app-text); box-shadow: var(--shadow-md); font-size: 15px; line-height: 1.4; }
[data-demo-screen] { display: flex; flex-direction: column; height: 770px; max-height: 85svh; min-height: 580px; }
.app-icon { width: 21px; height: 21px; flex: 0 0 21px; vertical-align: middle; }
.app-header { display: flex; gap: 6px; align-items: center; padding: 12px 10px; min-height: 68px; background: var(--app-header); flex: none; }
.app-header h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: .005em; margin: 0; flex: 1; min-width: 0; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.app-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-height: 44px; flex: 0 0 36px; background: none; border: 0; padding: 6px; color: var(--app-text); border-radius: 8px; }
.app-icon-button .app-icon { width: 23px; height: 23px; flex-basis: 23px; }
.app-icon-button:disabled { opacity: .5; }
.app-icon-button.app-delete { color: #ec302c; }
.app-header-actions { display: flex; gap: 2px; }
.app-content { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 12px; background: var(--app-bg); scrollbar-width: thin; }
.app-list { display: flex; flex-direction: column; padding-bottom: 18px; }
.app-list > .app-order-card { flex: none; }
.app-order-card { display: block; width: 100%; border: 0; border-left: 3px solid var(--status-color); border-radius: 13px; background: var(--app-card); color: var(--app-text); padding: 13px 14px; text-align: left; margin-bottom: 8px; }
.app-card-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.app-card-top > strong { font-size: 17px; font-weight: 650; }
.app-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--status-color); background: color-mix(in srgb, var(--status-color) 13%, transparent); white-space: nowrap; }
.app-chip .app-icon { width: 12px; height: 12px; flex-basis: 12px; }
.app-status-open { --status-color: #e08a00; }
.app-status-confirmed { --status-color: #3b82f6; }
.app-status-purchased { --status-color: #8b5cf6; }
.app-status-delivered { --status-color: #10b981; }
.app-status-rejected { --status-color: #ef4444; }
.app-list-summary { display: block; margin: 7px 0; font-size: 14px; color: var(--app-muted); overflow-wrap: anywhere; }
.app-author { display: block; font-size: 12px; color: var(--app-faint); }
.app-fab { position: sticky; bottom: 0; align-self: flex-end; flex: none; margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 16px 20px; min-height: 54px; border: 0; border-radius: 17px; background: var(--app-primary); color: #fff; box-shadow: 0 4px 7px #1b356c40; font-size: 15px; letter-spacing: .02em; }
.app-fab .app-icon { width: 25px; height: 25px; flex-basis: 25px; }
.app-empty { text-align: center; color: var(--app-muted); padding: 100px 15px; }
.app-empty > .app-icon { width: 46px; height: 46px; display: block; margin: 0 auto 14px; }
.app-empty strong { display: block; }.app-empty p { font-size: 13px; }
.app-date-card { display: flex; align-items: center; gap: 16px; background: var(--app-card); border-radius: 13px; padding: 16px; position: relative; cursor: pointer; margin-bottom: 13px; }
.app-date-card > .app-icon:first-child { color: var(--app-primary); }
.app-date-card > .app-icon:last-of-type { margin-left: auto; color: var(--app-muted); }
.app-date-card > span > span { display: block; font-size: 12px; color: var(--app-muted); margin-bottom: 1px; }
.app-date-card strong { font-size: 16px; font-weight: 600; }
.app-date-card input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.app-date-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.app-section-label { margin: 10px 4px 7px; color: var(--app-muted); font-size: 13px; font-weight: 600; }
.app-position { background: var(--app-card); border-radius: 14px; padding: 14px 18px 17px; margin-bottom: 16px; }
.app-position-name { display: flex; align-items: center; gap: 5px; }
.app-position-name .app-icon-button { color: var(--app-faint); width: 30px; flex-basis: 30px; }
.app-field { display: block; min-width: 0; }
.app-field > span { display: block; color: var(--app-text); font-size: 11px; margin-bottom: 1px; }
.app-field input { border: 0; border-radius: 4px; min-width: 0; width: 100%; padding: 5px 0; height: 35px; background: transparent; color: var(--app-text); font-size: 16px; }
.app-position-name .app-field { flex: 1; }
.app-position-name .app-field:has(input:placeholder-shown) > span { font-size: 16px; }
.app-position-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 14px; margin-top: 6px; }
.app-position-name input { font-size: 17px; }
.app-outline { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 42px; border: 1px solid var(--app-text); border-radius: 28px; background: transparent; color: var(--app-primary); font-size: 14px; margin: 0 0 16px; padding: 8px; }
.app-note-field { display: block; margin: 0 0 24px; }
.app-note-field input { background: var(--app-card); color: var(--app-text); width: 100%; border: 0; border-radius: 13px; min-height: 50px; padding: 14px 18px; font-size: 16px; }
.app-note-field input::placeholder { color: var(--app-text); opacity: 1; }
.app-submit { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px; border: 0; border-radius: 28px; background: var(--app-primary); color: #fff; font-size: 15px; }
.app-detail { padding: 16px 12px; }
.app-detail-card { background: var(--app-card); border-radius: 15px; padding: 15px 14px; margin-bottom: 16px; }
.app-detail-card p { display: flex; gap: 7px; align-items: center; color: var(--app-muted); font-size: 12px; margin: 10px 0 0; overflow-wrap: anywhere; }
.app-detail-card p .app-icon { color: var(--app-faint); width: 14px; height: 14px; flex-basis: 14px; }
.app-detail-card h4 { margin: 0; font-size: 13px; }
.app-detail-positions { background: var(--app-card); border-radius: 14px; padding: 3px 14px; margin-bottom: 24px; }
.app-detail-position { display: flex; gap: 16px; align-items: center; padding: 15px 0; font-size: 13px; }
.app-detail-position > strong { font-size: 12px; font-weight: 600; min-width: 60px; }
.app-detail-position > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.app-detail-position small { display: inline; font-size: inherit; margin-left: 4px; }
.app-detail-position input { width: 19px; height: 19px; margin: 0; accent-color: #10b981; cursor: pointer; }
.app-detail-position.app-received > :is(span, strong) { text-decoration: line-through; color: var(--app-faint); }
.app-delivery-header { display: flex; align-items: center; gap: 8px; padding: 8px 2px 0; }
.app-received-count { flex: 1; min-width: 65px; font-size: 12px; font-weight: 600; color: #e08a00; margin: 0; }
.app-received-count.app-delivery-complete { color: #10b981; }
.app-mark-all { flex: 0 1 auto; max-width: 70%; min-height: 44px; padding: 6px 2px; font-size: 13px; line-height: 1.4; text-align: center; color: var(--app-primary); border: 0; border-radius: 6px; background: transparent; }
.app-mark-all:hover { background: color-mix(in srgb, var(--app-primary) 8%, transparent); }
.app-status-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.app-status-actions button { display: inline-flex; gap: 8px; align-items: center; border-radius: 30px; padding: 10px 16px; min-height: 42px; border: 0; background: color-mix(in srgb, var(--action-color) 12%, transparent); color: var(--action-color); font-size: 14px; }
.app-action-confirm { --action-color: #3b82f6; }.app-action-purchase { --action-color: #8b5cf6; }.app-action-reject { --action-color: #ef4444; }
.app-status-actions .app-icon { width: 18px; height: 18px; flex-basis: 18px; }
.app-chat-header { padding: 10px 5px; gap: 4px; }
.app-chat-header .app-icon-button { width: 28px; flex-basis: 28px; padding: 3px; }
.app-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; background: #19a6ed; color: #fff; border-radius: 50%; }
.app-chat-header h3 { font-size: 15px; }
.app-chat-tools { display: flex; flex: none; gap: 6px; }
.app-chat-tools .app-icon { width: 18px; height: 18px; flex-basis: 18px; }
.app-chat-header .app-channel-plugin { color: #3380b2; }
.app-chat-content { display: flex; flex-direction: column; padding: 12px 8px; }
.app-chat-messages { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; }
.app-today { align-self: center; background: var(--app-card); padding: 6px 15px; border-radius: 24px; font-size: 12px; color: var(--app-muted); }
.app-chat-bubble { align-self: flex-end; width: 88%; background: var(--app-primary); color: #fff; padding: 10px 13px 7px; border-radius: 18px 18px 3px 18px; box-shadow: 0 4px 12px #213b6f1a; }
.app-chat-author { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 12px; font-weight: 600; }
.app-chat-author img { border-radius: 50%; }
.app-chat-bubble p { font-size: 16px; margin: 6px 0; overflow-wrap: anywhere; }
.app-chat-time { display: block; text-align: right; font-size: 10px; opacity: .8; }
.app-composer { display: flex; align-items: center; gap: 13px; background: var(--app-card); color: var(--app-muted); border-radius: 32px; padding: 16px 12px; box-shadow: 0 0 12px #17305c12; }
.app-composer > span:first-child { display: flex; gap: 13px; }
.app-composer > span:nth-child(2) { flex: 1; color: var(--app-muted); font-size: 15px; }
.app-composer .app-icon { width: 18px; height: 18px; flex-basis: 18px; }
.demo-reject-dialog { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 18px; padding: 24px; width: min(400px, calc(100vw - 32px)); }
.demo-reject-dialog::backdrop { background: #08192f80; }
.demo-reject-dialog h3 { margin: 0 0 18px; font-size: 19px; }
.demo-reject-dialog label { display: block; font-size: 14px; }
.demo-reject-dialog input { display: block; width: 100%; border: 1px solid var(--border); color: var(--text); background: var(--bg); border-radius: 8px; padding: 10px; margin: 8px 0 18px; }
.demo-reject-dialog form > div { display: flex; justify-content: flex-end; gap: 10px; }
.demo-reject-dialog button { border: 1px solid var(--border); background: var(--bg-alt); color: var(--text); border-radius: 10px; min-height: 44px; padding: 10px 14px; }
.demo-fallback { padding: 20px; font-size: 14px; }
.demo-business-link { padding: 14px 16px; background: var(--brand-soft); border-radius: var(--radius); font-size: 15px; margin: 0 0 24px; }
.demo-business-link a { display: inline-block; min-height: 44px; padding: 10px 0; }
@media (min-width: 1150px) {
    .produktdemo { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (min-width: 700px) and (max-width: 899px) {
    .produktdemo { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (max-width: 699px) {
    .demo-view-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 16px 0; }
    .demo-view-nav button { padding: 8px 2px; flex-direction: column; gap: 2px; font-size: 10px; text-align: center; }
    .demo-view-nav button span { font-size: 11px; }
    .demo-copy .demo-guide { min-height: 0; }
}
@media (max-width: 380px) {
    .app-header { padding-left: 5px; padding-right: 5px; }
    .app-header h3 { font-size: 17px; }
    .app-header-actions { gap: 0; }
    .app-header-actions .app-icon-button { width: 30px; flex-basis: 30px; }
    .app-content { padding: 10px; }
    .app-position { padding: 12px; }
    .app-position-fields { gap: 10px; }
    .app-chat-header h3 { font-size: 14px; }
    .app-composer { gap: 10px; padding: 14px 10px; }
    .app-composer > span:first-child { gap: 8px; }
}

/* Scenario choice and shared-travel demo. All state stays in the browser. */
.produktdemo[hidden], .demo-scenarios[hidden] { display: none !important; }
.demo-scenarios { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.demo-scenarios button { min-height: 44px; padding: 10px 16px; font: inherit; font-size: 14px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.demo-scenarios button[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--text); font-weight: 650; }
.demo-scenarios button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[data-travel-screen] { display: flex; flex-direction: column; height: 770px; max-height: 85svh; min-height: 580px; }
.travel-device { position: relative; scroll-margin-top: 82px; }
.travel-demo .demo-guide { min-height: 110px; }
.travel-demo .app-content { padding: 14px; }
.travel-demo .app-header { min-height: 66px; }
.travel-demo .app-header-actions .app-icon-button { width: 32px; flex-basis: 32px; }
.travel-list, .travel-agenda, .travel-stays { display: flex; flex-direction: column; }
.travel-shared { display: flex; gap: 10px; align-items: center; background: color-mix(in srgb, var(--app-primary) 9%, var(--app-card)); border-radius: 12px; color: var(--app-muted); padding: 12px; font-size: 12px; line-height: 1.45; margin: 0 0 18px; }
.travel-shared > .app-icon { color: var(--app-primary); }
.travel-list h4 { font-size: 13px; color: var(--app-muted); letter-spacing: .02em; margin: 0 4px 12px; }
.travel-trip-card, .travel-stay-card { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: var(--app-card); color: var(--app-text); border: 0; border-radius: 14px; padding: 17px; margin-bottom: 10px; flex: none; }
.travel-trip-card > span:nth-child(2), .travel-stay-card > span { min-width: 0; flex: 1; }
.travel-trip-card strong, .travel-stay-card strong { display: block; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.travel-trip-card small, .travel-stay-card small { display: block; font-size: 12px; color: var(--app-faint); margin-top: 6px; }
.travel-trip-card small .app-icon { width: 12px; height: 12px; }
.travel-trip-icon { background: color-mix(in srgb, var(--app-primary) 11%, transparent); color: var(--app-primary); display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; border-radius: 13px; }
.travel-trip-icon .app-icon { width: 28px; height: 28px; }
.travel-trip-card > .app-icon, .travel-stay-card > .app-icon:last-child { color: var(--app-faint); }
.travel-stay-card > .app-icon:first-child { color: var(--app-primary); }
.travel-fab-spacer { flex: 1; min-height: 14px; }
.travel-demo .travel-fab { position: sticky; bottom: 0; width: 54px; height: 54px; min-height: 54px; padding: 14px; justify-content: center; border-radius: 16px; z-index: 1; }
.travel-empty { text-align: center; color: var(--app-muted); font-size: 14px; padding: 50px 10px; }
.travel-tabs { display: flex; flex: none; gap: 0; overflow-x: auto; background: var(--app-header); border-bottom: 1px solid var(--app-border); scrollbar-width: thin; }
.travel-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; min-width: 90px; min-height: 69px; padding: 9px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--app-muted); font-size: 13px; }
.travel-tabs button[aria-pressed="true"] { color: var(--app-primary); border-bottom-color: var(--app-primary); }
.travel-tabs button:disabled { color: var(--app-faint); }
.travel-demo .travel-agenda { padding: 8px 10px 14px; }
.travel-day { color: var(--app-faint); text-transform: uppercase; letter-spacing: .04em; font-size: 10px; font-weight: 650; margin: 14px 5px 8px; }
.travel-event-wrap { position: relative; margin-bottom: 5px; flex: none; }
.travel-event-card { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 14px 38px 14px 12px; min-height: 48px; background: var(--app-card); color: var(--app-text); border: 0; border-radius: 14px; text-align: left; }
.travel-event-card > .app-icon { width: 16px; height: 16px; flex-basis: 16px; color: var(--app-muted); margin-top: 1px; }
.travel-event-card > span:last-child { min-width: 0; flex: 1; }
.travel-event-card strong { font-size: 13px; line-height: 1.4; font-weight: 600; display: block; overflow-wrap: anywhere; }
.travel-event-card small { display: block; margin-top: 4px; font-size: 11px; color: var(--app-faint); overflow-wrap: anywhere; }
.travel-time { color: var(--app-primary); font-weight: 700; font-size: 13px; flex: 0 0 38px; }
.travel-frame { margin-bottom: 6px; flex: none; }
.travel-frame .travel-time { color: var(--app-faint); }
.travel-bell { position: absolute; right: 3px; top: 5px; color: var(--app-faint); width: 29px; min-height: 36px; padding: 5px; }
.travel-bell .app-icon { width: 17px; height: 17px; }
.travel-bell-active { color: var(--app-primary); }
.travel-chat-header { padding: 10px 5px; gap: 4px; }
.travel-chat-header .app-icon-button { flex: 0 0 25px; width: 25px; padding: 2px; }
.travel-chat-header .app-icon-button .app-icon { width: 20px; height: 20px; flex-basis: 20px; }
.travel-chat-header h3 { font-size: 16px; }
.travel-avatar { width: 29px; height: 29px; flex-basis: 29px; background: #58677b; }
.travel-calls { display: flex; align-items: center; gap: 5px; }
.travel-calls .app-icon { width: 18px; height: 18px; flex-basis: 18px; }
.travel-modules { border: 0; border-radius: 22px; background: var(--app-primary); color: #fff; min-height: 30px; padding: 4px 8px; font-size: 10px; }
.travel-presence { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 0 55px; background: var(--app-header); color: var(--app-faint); font-size: 11px; }
.travel-plane { color: var(--app-primary); }
.travel-attached-icons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; max-width: 65%; }
.travel-added-icon { color: var(--app-primary); }
.travel-module-context { display: flex; align-items: center; gap: 13px; padding: 14px; margin: 0 0 22px; background: color-mix(in srgb, var(--app-primary) 10%, var(--app-card)); border-radius: 13px; }
.travel-module-context > .app-icon { color: var(--app-primary); }
.travel-module-context strong { display: block; font-size: 14px; font-weight: 650; }
.travel-module-context small { display: block; color: var(--app-muted); font-size: 12px; margin-top: 5px; }
.travel-module-list h4 { margin: 18px 3px 10px; color: var(--app-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.travel-module-row { display: flex; align-items: center; gap: 14px; padding: 12px 3px; }
.travel-module-row > .app-icon { color: var(--app-muted); width: 23px; height: 23px; flex-basis: 23px; }
.travel-module-row > span { flex: 1; min-width: 0; }
.travel-module-row strong { display: block; font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
.travel-module-row small { display: block; margin-top: 5px; color: var(--app-faint); font-size: 12px; line-height: 1.45; }
.travel-module-active > .app-icon, .travel-add-module { color: var(--app-primary); }
.travel-module-active { width: 100%; border: 0; border-radius: 8px; background: transparent; color: var(--app-text); text-align: left; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.travel-module-active:hover { background: color-mix(in srgb, var(--app-primary) 5%, transparent); }
.travel-module-row .travel-add-module { flex: 0 0 32px; width: 32px; padding: 5px; }
.travel-active-modules { margin-bottom: 24px; }
.travel-detach-message { margin: 5px 9px 20px; color: var(--app-muted); font-size: 13px; line-height: 1.55; }
.travel-code-label { margin: 0 9px 15px; font-size: 14px; }
.travel-confirm-code { display: block; text-align: center; font-size: 25px; font-weight: 700; letter-spacing: 4px; margin: 12px 0 18px; user-select: none; -webkit-user-select: none; }
.travel-dialog-actions .travel-confirm-remove { color: #ef4444; }
.travel-dialog-actions .travel-confirm-remove:disabled { color: var(--app-faint); opacity: .6; }
.travel-demo .travel-chat-content { padding: 6px 8px 12px; }
.travel-update { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--app-muted); background: var(--app-card); font-size: 11px; padding: 8px 4px; margin: 0 -8px 12px; }
.travel-update .app-icon { width: 15px; height: 15px; color: var(--app-primary); }
.travel-bubble { width: 88%; padding: 12px 14px 7px; border-radius: 18px 18px 3px 18px; box-shadow: 0 4px 12px #213b6f1a; margin: 0 0 10px auto; }
.travel-bubble strong { display: block; text-align: right; font-size: 12px; }
.travel-bubble p { font-size: 16px; line-height: 1.4; margin: 6px 0; }
.travel-bubble small { display: block; text-align: right; font-size: 10px; opacity: .8; }
.travel-outgoing { background: var(--app-primary); color: #fff; }
.travel-incoming { margin-left: 0; margin-right: auto; background: var(--app-card); color: var(--app-text); border-radius: 18px 18px 18px 3px; }
.travel-incoming strong { text-align: left; color: #b753c7; }
.travel-incoming small { text-align: left; color: var(--app-muted); }
.travel-composer { display: flex; align-items: center; flex: none; gap: 12px; background: var(--app-card); color: var(--app-muted); padding: 14px 12px; margin: 4px 8px 10px; border-radius: 28px; font-size: 14px; }
.travel-composer span { flex: 1; }
.travel-composer .app-icon { width: 18px; height: 18px; flex-basis: 18px; }
.travel-has-dialog::after { content: ''; position: absolute; inset: 0; background: #0008; border-radius: inherit; z-index: 9; pointer-events: none; }
.travel-dialog { position: fixed; margin: 0; padding: 0; border: 1px solid var(--app-border); border-radius: 20px; background: var(--app-card); color: var(--app-text); max-width: none; overflow: hidden; font-size: 15px; }
.travel-dialog::backdrop { background: transparent; }
.travel-dialog form { display: flex; flex-direction: column; max-height: calc(var(--travel-modal-height, 80svh) - 2px); }
.travel-dialog h3 { padding: 23px 22px 12px; margin: 0; font-size: 23px; font-weight: 500; line-height: 1.3; flex: none; }
.travel-dialog-fields { padding: 0 22px; overflow: auto; min-height: 0; scrollbar-width: thin; }
.travel-form-field { display: block; border: 1px solid transparent; border-radius: 9px; padding: 8px 9px; min-width: 0; margin: 0 0 7px; }
.travel-form-field > span { display: block; font-size: 11px; margin-bottom: 6px; }
.travel-form-field :is(input, textarea) { font: inherit; color: var(--app-text); width: 100%; min-width: 0; background: transparent; border: 0; padding: 3px 0; border-radius: 0; min-height: 28px; font-size: 16px; box-sizing: border-box; }
.travel-form-field textarea { resize: vertical; }
.travel-form-field:focus-within { border-color: var(--app-primary); box-shadow: 0 0 0 1px var(--app-primary); }
.travel-dialog .travel-form-field :is(input, textarea):focus { outline: none; }
.travel-two-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.travel-two-fields input[type="date"] { font-size: 12px; }
.travel-dialog-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; flex: none; padding: 12px 15px 18px; }
.travel-dialog-actions > button, .travel-custom-reminder > button { border: 0; background: transparent; color: var(--app-primary); font-size: 14px; padding: 11px 13px; min-height: 44px; border-radius: 22px; }
.travel-dialog button:disabled { opacity: .45; }
.travel-dialog-actions .travel-delete { color: #ef4444; margin-right: auto; }
.travel-dialog-actions .travel-save-filled { flex: 1; background: var(--app-primary); color: #fff; }
.travel-sheet { border-radius: 18px 18px 0 0; }
.travel-sheet h3 { font-size: 17px; font-weight: 700; padding: 18px 17px 8px; }
.travel-sheet .travel-dialog-fields { padding: 0 16px; }
.travel-sheet .travel-form-field { padding: 10px 7px; }
.travel-sheet .travel-form-field:focus-within { border-color: transparent; box-shadow: none; }
.travel-sheet .travel-form-field input:focus-visible { outline: 2px solid var(--app-primary); outline-offset: 2px; }
.travel-clearable { display: flex; align-items: center; min-width: 0; }
.travel-clearable .travel-form-field { flex: 1; min-width: 0; }
.travel-clearable .app-icon-button { width: 25px; flex: 0 0 25px; padding: 3px; }
.travel-clearable .app-icon { width: 17px; height: 17px; }
.travel-clearable input[type="time"] { font-size: 13px; }
.travel-switch-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 9px; font-size: 14px; }
.travel-switch-row input { appearance: none; width: 42px; height: 25px; border: 1px solid var(--app-muted); border-radius: 25px; background: color-mix(in srgb, var(--app-faint) 25%, transparent); position: relative; flex: none; cursor: pointer; }
.travel-switch-row input::after { content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%; left: 3px; top: 3px; background: var(--app-muted); }
.travel-switch-row input:checked { background: var(--app-primary); border-color: var(--app-primary); }
.travel-switch-row input:checked::after { left: 21px; background: #fff; }
.travel-reminder-field { padding: 8px 9px; }
.travel-reminder-field > span { display: block; font-size: 11px; margin-bottom: 6px; }
.travel-reminder-field > button { display: flex; justify-content: space-between; gap: 8px; align-items: center; width: 100%; text-align: left; background: none; color: var(--app-text); border: 0; padding: 5px 0; min-height: 40px; font-size: 14px; }
.travel-reminder-note { font-size: 11px; color: var(--app-muted); padding: 0 9px 8px; margin: 0; }
.travel-reminder-option { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: var(--app-text); padding: 12px 9px; min-height: 44px; font-size: 14px; }
.travel-reminder-option > span:nth-child(2) { flex: 1; }
.travel-custom-reminder { display: flex; align-items: center; gap: 5px; border-top: 1px solid var(--app-border); padding-top: 8px; }
.travel-custom-reminder > label { flex: 1; }
.travel-choice { display: flex; align-items: center; gap: 12px; background: none; color: var(--app-text); width: 100%; border: 0; text-align: left; padding: 14px 4px; min-height: 55px; }
.travel-choice > span { min-width: 0; flex: 1; }
.travel-choice strong { font-size: 14px; font-weight: 500; }
.travel-choice small { display: block; font-size: 11px; color: var(--app-muted); margin-top: 4px; }
.travel-form-error { color: #d13838; font-size: 12px; margin: 8px 22px; }
@media (max-width: 699px) {
    .travel-demo .demo-guide { min-height: 0; }
}
@media (max-width: 380px) {
    .travel-chat-header { gap: 2px; }
    .travel-chat-header .app-icon-button { flex-basis: 21px; width: 21px; }
    .travel-chat-header .travel-calls { gap: 2px; }
    .travel-chat-header .travel-calls .app-icon { width: 15px; height: 15px; }
    .travel-modules { padding: 4px 5px; }
    .travel-chat-header h3 { font-size: 14px; }
    .travel-demo .app-header-actions .app-icon-button { flex-basis: 28px; width: 28px; }
    .travel-dialog-fields { padding: 0 12px; }
    .travel-dialog h3 { padding-left: 14px; }
    .travel-sheet .travel-dialog-fields { padding: 0 10px; }
    .travel-two-fields { gap: 2px; }
    .travel-form-field { padding-left: 5px; padding-right: 5px; }
    .travel-composer { gap: 8px; }
}
