/* Mesma estrutura da viagem no MAUI, com os tokens visuais do PWA. */
.trip-cover-card {
    position:relative; isolation:isolate; display:flex; flex-direction:column; justify-content:space-between;
    width:100%; min-height:208px; gap:24px; margin:12px 0; padding:16px; overflow:hidden;
    text-align:left; border:1px solid var(--h-border); border-radius:18px;
    background:var(--h-surface); color:var(--h-text); cursor:pointer;
}
.trip-cover-card.has-cover { background:#18151b; color:#fff; }
.trip-cover-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.trip-cover-card.has-cover::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#0005 0%,#0004 25%,#000b 70%,#000d 100%); }
.trip-cover-placeholder { position:absolute; right:20px; top:48px; font-size:112px; line-height:1; color:var(--h-accent); opacity:.1; pointer-events:none; }
.trip-cover-badges { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; font-size:10px; font-weight:600; }
.trip-cover-badges > span { max-width:60%; padding:6px 10px; border:1px solid var(--h-border); border-radius:18px; background:var(--h-soft); color:var(--h-accent); overflow-wrap:anywhere; }
.has-cover .trip-cover-badges > span { border-color:#fff4; background:#ffffff26; color:#fff; backdrop-filter:blur(8px); }
.trip-cover-badges > .trip-cover-status,.has-cover .trip-cover-badges > .trip-cover-status { background:var(--h-accent); color:var(--h-bg); border-color:transparent; }
.trip-cover-copy { position:relative; display:grid; gap:5px; min-width:0; }
.trip-cover-copy > strong { font:700 20px/1.25 var(--font-inter); overflow-wrap:anywhere; }
.trip-cover-budget { font-size:12px; font-weight:600; color:var(--h-accent); }
.has-cover .trip-cover-budget { color:#fff; }
.trip-cover-destination { font-size:12px; line-height:1.5; }
.trip-cover-footer { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:4px; font-size:11px; line-height:1.5; color:var(--h-muted); }
.has-cover .trip-cover-footer { color:#ffffffe6; }
.trip-cover-card:focus-visible { outline:2px solid var(--h-accent); outline-offset:3px; }
.trip-cover-skeleton { height:208px; margin:12px 0; border-radius:18px; }
.app-shell .trip-detail-page { width:100%; max-width:1100px; }
.app-shell .trip-hero { min-height:0; border:1px solid var(--h-border); background:var(--h-surface); color:var(--h-text); }
.app-shell .trip-hero::after { color:var(--h-accent); opacity:.08; top:10%; right:6%; }
.app-shell .trip-hero > img { opacity:.22; }
.app-shell .trip-hero-content { min-height:0; padding:20px; background:linear-gradient(180deg,transparent,var(--h-surface)); }
.app-shell .trip-hero-actions { position:static; margin-bottom:22px; }
.app-shell .trip-icon-button,.app-shell .trip-hero-tool { background:var(--h-raised); color:var(--h-accent); border:1px solid var(--h-border); }
.app-shell .trip-icon-button { width:44px; height:44px; }
.app-shell .trip-hero-tool { width:38px; height:38px; border-radius:12px; }
.app-shell .trip-hero h1 { font:400 clamp(28px,4vw,42px)/1.15 var(--h-serif); color:var(--h-text); margin:14px 0 6px; }
.app-shell .trip-hero-content > p { font-size:14px; color:var(--h-muted); margin:8px 0; }
.app-shell .trip-chips span { background:var(--h-soft); color:var(--h-accent); border-color:var(--h-border); font-size:11px; }
.app-shell .trip-chips span:last-child { background:var(--h-accent); color:var(--h-bg); }
.app-shell .trip-hero-summary-card { max-width:none; border-color:var(--h-border); background:var(--h-bg); padding:16px; border-radius:18px; backdrop-filter:none; }
.app-shell .trip-hero-summary { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:20px; }
.app-shell .trip-hero-summary > div:last-child { text-align:right; }
.app-shell .trip-hero-summary strong { font-size:16px; line-height:1.45; color:var(--h-text); }
.app-shell .trip-hero-summary .trip-summary-label { flex-direction:row; align-items:center; flex-wrap:wrap; gap:6px; }
.app-shell .trip-summary-label button { min-height:28px; color:var(--h-accent); text-decoration:underline; }
.app-shell .trip-hero-summary small,.app-shell .trip-hero-note small,.app-shell .trip-hero-progress { color:var(--h-muted); letter-spacing:0; }
.app-shell .trip-hero-note strong { color:var(--h-text); font-weight:400; line-height:1.6; }
.app-shell .trip-stage-heading { margin:24px 0 12px; }
.app-shell .trip-stage-heading h2 { margin:0; font-size:19px; }
.app-shell .trip-stage-heading p { font-size:13px; }
.app-shell .trip-stages button.active,.app-shell .trip-stages button.active span { color:var(--h-bg); }
.app-shell .trip-stage-body > .feature-card { padding:18px; border-radius:18px; }
.trip-card-heading { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.trip-card-heading > div { flex:1; min-width:0; }
.trip-card-heading h2 { margin:0; font:600 17px/1.35 var(--font-inter); }
.trip-card-heading small { display:block; margin-top:4px; color:var(--h-muted); font-size:11px; line-height:1.5; }
.trip-card-heading .btn { flex:none; padding:8px 12px; min-height:38px; font-size:12px; }
.trip-card-symbol { display:grid; place-items:center; flex:none; width:36px; height:36px; background:var(--h-soft); color:var(--h-accent); border-radius:12px; font-size:20px; }
.trip-kali-card p { line-height:1.7; font-size:14px; }
.trip-photo-section,.trip-tips-section { margin-top:24px; }
.trip-photo-upload { position:relative; overflow:hidden; cursor:pointer; }
.trip-photo-upload .image-cropper-input { position:absolute; inset:0; opacity:0; }
.trip-photo-upload input[type=file] { width:100%; height:100%; cursor:pointer; }
.trip-photo-carousel { position:relative; overflow:hidden; border:1px solid var(--h-border); border-radius:18px; }
.trip-photo-open { display:block; padding:0; width:100%; border:0; background:var(--h-surface); cursor:zoom-in; }
.trip-photo-open img { display:block; width:100%; aspect-ratio:1.55; object-fit:cover; }
.trip-photo-controls { position:absolute; inset:auto 0 12px; display:flex; justify-content:center; gap:12px; align-items:center; pointer-events:none; }
.trip-photo-controls span { padding:6px 12px; border-radius:20px; background:var(--h-surface); color:var(--h-text); font-size:12px; }
.trip-photo-controls button,.trip-photo-remove { pointer-events:auto; width:36px; height:36px; border-radius:50%; border:1px solid var(--h-border); background:var(--h-surface); color:var(--h-text); font-size:22px; }
.trip-photo-remove { position:absolute; top:12px; right:12px; }
.trip-full-photo { display:block; width:100%; max-height:70dvh; object-fit:contain; border-radius:14px; }
.trip-tip-grid { display:grid; gap:10px; }
.trip-tip { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid var(--h-border); border-radius:16px; color:var(--h-text); background:var(--h-surface); font-size:14px; line-height:1.6; text-decoration:none; }
.trip-tip > span:first-child,.trip-tip > span:last-child:not(:first-child) { color:var(--h-accent); }
.trip-tip > span:nth-child(2) { flex:1; color:var(--h-text); }
.trip-empty { margin:12px 0; padding:18px; border:1px dashed var(--h-border); border-radius:16px; color:var(--h-muted); font-size:13px; line-height:1.65; }
.trip-clear-field { position:relative; width:100%; }
.trip-clear-field input { padding-right:48px!important; }
.trip-clear-field button { position:absolute; right:6px; top:50%; transform:translateY(-50%); border:0; width:36px; height:36px; border-radius:50%; background:var(--h-soft); color:var(--h-accent); font-size:23px; }
.trip-weather-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.trip-weather-grid > div { display:grid; gap:6px; padding:14px; background:var(--h-bg); border:1px solid var(--h-border); border-radius:14px; }
.trip-weather-grid small { color:var(--h-accent); }
.trip-weather-grid p { margin:0; font-size:13px; line-height:1.6; }
.trip-weather-lists { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.trip-weather-lists h3 { font-size:16px; }
.trip-weather-lists p { margin:8px 0; padding:12px; border:1px solid var(--h-border); border-radius:14px; font-size:13px; line-height:1.6; }
.trip-checklist-items .feature-row,.trip-stage-body .feature-row { padding:14px; margin:10px 0; border:1px solid var(--h-border); border-radius:16px; background:var(--h-surface); }
.trip-stage-body .checkbox-row { flex:1; min-width:0; align-items:flex-start; }
.trip-stage-body .checkbox-row input { flex:none; }
.trip-stage-body .feature-row small { color:var(--h-muted); }
.trip-discussion-row { display:flex; align-items:flex-start; gap:10px; margin:14px 0; }
.trip-discussion-row.is-mine { flex-direction:row-reverse; }
.trip-discussion-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; background:var(--h-soft); flex:none; }
.trip-discussion-bubble { max-width:85%; padding:14px; border-radius:4px 18px 18px; border:1px solid var(--h-border); background:var(--h-surface); overflow-wrap:anywhere; }
.is-mine .trip-discussion-bubble { border-radius:18px 4px 18px 18px; background:var(--h-soft); }
.trip-discussion-bubble > header { display:flex; gap:12px; justify-content:space-between; margin-bottom:8px; font-size:12px; color:var(--h-accent); }
.trip-discussion-bubble > p { white-space:pre-wrap; margin:0; line-height:1.6; }
.trip-creating { text-align:center; padding:12px 0 8px; }
.trip-creating-art { position:relative; width:180px; height:160px; margin:0 auto 24px; display:grid; place-items:center; }
.trip-orbit { position:absolute; width:148px; height:148px; border:1px dashed var(--h-border); border-radius:50%; animation:trip-orbit 18s linear infinite; }
.trip-orbit.second { width:100px; height:100px; border-style:solid; opacity:.6; animation-direction:reverse; }
.trip-creating-heart { font:400 70px/1 var(--h-serif); color:var(--h-accent); animation:trip-breathe 2.6s ease-in-out infinite; }
.trip-creating-plane { position:absolute; color:var(--h-accent); font-size:28px; animation:trip-flight 6s linear infinite; }
.trip-creating-eyebrow { font-size:10px; font-weight:700; letter-spacing:2px; color:var(--h-accent); }
.trip-creating-message { animation:trip-message .4s ease both; }
.trip-creating-message h2 { font:400 28px/1.2 var(--h-serif); margin:14px 0 10px; }
.trip-creating-message p { max-width:370px; margin:0 auto; color:var(--h-muted); font-size:14px; line-height:1.65; }
.trip-creating-destination { display:inline-block; margin-top:16px; padding:7px 14px; border-radius:20px; background:var(--h-soft); color:var(--h-accent); font-size:12px; }
.trip-creating-steps { list-style:none; display:flex; padding:0; margin:28px 0 20px; justify-content:center; gap:16px; }
.trip-creating-steps li { display:grid; justify-items:center; gap:8px; color:var(--h-muted); font-size:11px; }
.trip-creating-steps li > span { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; border:1px solid var(--h-border); }
.trip-creating-steps .current,.trip-creating-steps .complete { color:var(--h-accent); }
.trip-creating-steps .current > span { background:var(--h-soft); border-color:var(--h-accent); animation:trip-breathe 2s ease-in-out infinite; }
.trip-creating-steps .complete > span { background:var(--h-accent); color:var(--h-bg); }
.trip-creating-note { max-width:340px; margin:0 auto; color:var(--h-muted); font-size:12px; line-height:1.65; }
.trip-create-modal .modal-footer:empty { display:none; }
@keyframes trip-orbit { to { transform:rotate(360deg); } }
@keyframes trip-flight { from { transform:rotate(0deg) translateY(-73px) rotate(45deg); } to { transform:rotate(360deg) translateY(-73px) rotate(45deg); } }
@keyframes trip-breathe { 50% { transform:scale(1.08); opacity:.65; } }
@keyframes trip-message { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media(min-width:820px) { .trip-tip-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .app-shell .trip-hero-content { padding:24px; } }
@media(max-width:380px) { .app-shell .trip-hero-summary { grid-template-columns:1fr; gap:12px; } .app-shell .trip-hero-summary > div:last-child { text-align:left; } .trip-weather-lists { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .trip-creating * { animation:none!important; } }
.trip-cover-options { display:grid; gap:12px; margin:20px 0; }
.trip-cover-options .trip-photo-upload { display:flex; justify-content:center; align-items:center; min-height:48px; }
.trip-cover-generating { padding:12px 0 20px; text-align:center; }
.trip-cover-art { position:relative; width:min(240px,80%); margin:4px auto 28px; border-radius:20px; color:var(--h-accent); background:var(--h-soft); overflow:hidden; }
.trip-cover-art svg { display:block; width:100%; height:auto; }
.trip-cover-sparkle { position:absolute; top:18%; left:15%; font-size:26px; animation:trip-breathe 2.6s ease-in-out infinite; }
.trip-cover-sparkle.second { top:60%; left:78%; font-size:18px; animation-delay:1s; }
.trip-cover-shimmer { position:absolute; inset:0; background:linear-gradient(110deg,transparent 25%,color-mix(in srgb,var(--h-accent) 18%,transparent) 50%,transparent 75%); transform:translateX(-100%); animation:trip-cover-sweep 3s ease-in-out infinite; }
.trip-cover-generating h2 { margin:12px 0; font:400 28px/1.25 var(--h-serif); }
.trip-cover-generating p { margin:0 auto; color:var(--h-muted); font-size:14px; line-height:1.65; max-width:380px; }
.trip-cover-wait-messages { display:grid; align-items:center; min-height:52px; margin:12px 0; color:var(--h-muted); font-size:12px; }
.trip-cover-wait-messages span { grid-area:1/1; opacity:0; animation:trip-cover-message 12s linear infinite; }
.trip-cover-wait-messages span:nth-child(2) { animation-delay:4s; }
.trip-cover-wait-messages span:nth-child(3) { animation-delay:8s; }
.trip-cover-loading-track { max-width:260px; height:4px; margin:10px auto 18px; background:var(--h-soft); border-radius:4px; overflow:hidden; }
.trip-cover-loading-track span { display:block; width:40%; height:100%; background:var(--h-accent); border-radius:4px; animation:trip-cover-sweep 1.8s ease-in-out infinite; }
.trip-cover-generating > small { color:var(--h-muted); font-size:11px; }
@keyframes trip-cover-sweep { to { transform:translateX(260%); } }
@keyframes trip-cover-message { 0%,28% { opacity:1; } 33%,100% { opacity:0; } }
@media(prefers-reduced-motion:reduce) {
    .trip-cover-generating * { animation:none!important; }
    .trip-cover-shimmer { display:none; }
    .trip-cover-wait-messages span:first-child { opacity:1; }
}
