:root {
            --ink: #0b0b0b;
            --muted: #4a4a4a;
            --accent: #0b0b0b;
            --paper: #ffffff;
            --card: #ffffff;
            --shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
            --stroke: #e5e5e5;
            --city-width: 95px;
            --timeline-gap: 2px;
        }
        * { box-sizing: border-box; }
        body {
            margin: 0;
            font-family: "Inter", system-ui, sans-serif;
            color: var(--ink);
            background: #f7f7f5;
            min-height: 100vh;
            padding: 52px 18px 80px;
        }
        .top-strip {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            padding: 6px 14px;
            font-size: 11px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #111;
            background: linear-gradient(90deg, #f0f0f0, #ffffff, #f0f0f0);
            border-bottom: 1px solid #e5e5e5;
            z-index: 10;
            text-align: center;
        }
        .page {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            gap: 24px;
        }
        header.hero {
            padding: 24px 26px;
            border-radius: 16px;
            background: var(--card);
            box-shadow: var(--shadow);
            border: 1px solid var(--stroke);
        }
        h1 {
            font-family: "Inter", system-ui, sans-serif;
            font-size: 34px;
            margin: 0 0 6px;
            font-weight: 700;
        }
        .subtitle {
            color: var(--muted);
            font-size: 15px;
            margin: 0 0 14px;
        }
        .chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .chip {
            background: #f5f5f5;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            color: var(--muted);
        }
        .layout {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 24px;
        }
        .stack { display: grid; gap: 20px; }
        .card {
            background: var(--card);
            padding: 20px 22px;
            border-radius: 14px;
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow);
            position: relative;
        }
        .card.ticket {
            border-radius: 18px;
            border: 1px solid #dcdcdc;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        .card.ticket::before,
        .card.ticket::after {
            content: "";
            position: absolute;
            width: 22px;
            height: 22px;
            border-radius: 999px;
            background: #f7f7f5;
            border: 1px solid #dcdcdc;
            top: 50%;
            transform: translateY(-50%);
        }
        .card.ticket::before {
            left: -12px;
        }
        .card.ticket::after {
            right: -12px;
        }
        .card.ticket .ticket-rule {
            height: 1px;
            background: repeating-linear-gradient(
                to right,
                #d8d8d8,
                #d8d8d8 6px,
                transparent 6px,
                transparent 12px
            );
            margin: 14px -22px 18px;
        }
        h2 {
            font-family: "Inter", system-ui, sans-serif;
            margin: 0 0 12px;
            font-size: 20px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        h3 { font-size: 18px; }
        label {
            font-size: 13px;
            color: var(--muted);
            display: block;
            margin-bottom: 6px;
        }
        input, select, textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--stroke);
            border-radius: 8px;
            font-family: inherit;
            background: #fff;
        }
        textarea { min-height: 110px; resize: vertical; }
        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }
        button {
            padding: 10px 16px;
            background: var(--accent);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }
        button:hover { background: #000; }
        .mode-btn:hover {
            background: #f5f5f5;
            color: var(--ink);
        }
        .btn-accent { background: var(--accent); }
        .btn-accent:hover { background: #000; }
        .btn-ghost {
            background: transparent;
            color: var(--ink);
            border: 1px solid var(--stroke);
        }
        .timeline {
            overflow-x: hidden;
            padding-bottom: 6px;
            width: 100%;
        }
        .timeline-grid {
            display: grid;
            row-gap: 10px;
            align-items: start;
            width: 100%;
        }
        .timeline-step {
            position: relative;
            padding: 5px 6px;
            border-radius: 8px;
            border: 1px solid var(--stroke);
            background: #fff;
            width: var(--city-width);
        }
        .timeline-step strong {
            display: block;
            font-size: 11px;
        }
        .timeline-step span {
            color: var(--muted);
            font-size: 9px;
        }
        .timeline-connector {
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted);
            font-size: 12px;
            white-space: nowrap;
            width: var(--city-width);
            justify-self: center;
        }
        .mode-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 6px;
            border-radius: 6px;
            border: 1px solid var(--stroke);
            background: #fff;
            color: var(--ink);
            cursor: pointer;
        }
        .mode-btn span {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            display: none;
        }
        .timeline-connector .icon {
            width: 40px;
            height: 40px;
            display: inline-block;
        }
        .destination {
            padding: 14px;
            border-radius: 12px;
            border: 1px solid var(--stroke);
            background: #fff;
        }
        .destination h3 {
            margin: 0 0 6px;
            font-size: 18px;
        }
        .destination small { color: var(--muted); }
        .total {
            font-size: 26px;
            font-weight: 700;
            color: var(--ink);
        }
        .delete {
            background: #f87171;
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 6px;
        }
        .delete:hover { background: #ef4444; }
        .muted { color: var(--muted); font-size: 13px; }
        .participants {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 4px;
        }
        .participant {
            width: 40px;
            height: 40px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            color: #fff !important;
            letter-spacing: 0.02em;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
        }
        .participant img,
        .attendee img {
            width: 100%;
            height: 100%;
            border-radius: 999px;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }
        .has-avatar {
            background: transparent !important;
            padding: 0;
            overflow: hidden;
        }
        .participant.draggable {
            cursor: grab;
        }
        .attendance {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-top: 6px;
            min-height: 26px;
            padding: 3px;
            border-radius: 8px;
            border: 1px dashed var(--stroke);
            background: #faf9f6;
        }
        .attendance.empty::before {
            content: "Drag participants here";
            color: var(--muted);
            font-size: 11px;
        }
        .attendee {
            width: 24px;
            height: 24px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 800;
            color: #fff !important;
            border: none;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
        }
        .attendee.removable {
            cursor: pointer;
        }
        .transport-grid {
            display: grid;
            gap: 10px;
        }
        .transport-card {
            border: 1px solid var(--stroke);
            border-radius: 10px;
            padding: 8px 10px;
            background: #fff;
            display: grid;
            gap: 6px;
        }
        .transport-card h4 {
            margin: 0;
            font-size: 14px;
        }
        .transport-card .row {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 6px;
        }
        .transport-card input,
        .transport-card select {
            padding: 6px 8px;
            font-size: 12px;
        }
        .transport-card label {
            font-size: 11px;
            margin-bottom: 4px;
        }
        .lodging-grid {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .lodging-card {
            border: 1px solid var(--stroke);
            border-radius: 10px;
            padding: 8px 10px;
            background: #fff;
            display: grid;
            gap: 6px;
            scroll-margin-top: 20px;
            min-width: 260px;
        }
        .lodging-card .row,
        .lodging-card .row-3 {
            gap: 6px;
        }
        .lodging-card.active {
            border-color: var(--ink);
            box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
        }
        .lodging-card h4 {
            margin: 0;
            font-size: 14px;
        }
        .lodging-card .row {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 8px;
        }
        .lodging-card .row-3 {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
        }
        .lodging-card input,
        .lodging-card select {
            padding: 6px 8px;
            font-size: 12px;
        }
        .lodging-card label {
            font-size: 11px;
            margin-bottom: 4px;
        }
        .status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
        }
        @media (max-width: 900px) {
            .layout { grid-template-columns: 1fr; }
        }
        @media (max-width: 600px) {
            body { padding: 48px 12px 60px; }
            .page { gap: 16px; }
            .card { padding: 16px; }
            h1 { font-size: 26px; }
            h2 { font-size: 16px; }
            .grid-2, .grid-3 { grid-template-columns: 1fr; }
            .timeline { overflow-x: auto; }
            .timeline-grid { min-width: 640px; }
            .participant { width: 34px; height: 34px; font-size: 12px; }
            .attendee { width: 26px; height: 26px; font-size: 11px; }
            .lodging-card { min-width: 100%; }
            .transport-card { min-width: 100%; }
            .top-strip { font-size: 10px; padding: 5px 10px; }
        }
