@font-face{
  font-family:'Urlaubsplaner Headings';
  src:url('assets/font001-webfont.ttf') format('truetype');
  font-display:swap;
  font-style:normal;
  font-weight:400;
}

:root {
  --bg:       #111521;
  --surface:  #171d2a;
  --surface2: #202735;
  --surface3: #283140;
  --border:   rgba(194,205,220,0.10);
  --border2:  rgba(194,205,220,0.18);
  --text:     #f2f4f7;
  --text2:    #929cab;
  --text3:    #596575;
  /* vacation palette */
  --teal:     #f29b45;
  --teal-bg:  rgba(242,155,69,0.13);
  --teal-b:   rgba(242,155,69,0.34);
  --coral:    #4e9ce8;
  --coral-bg: rgba(78,156,232,0.11);
  --coral-b:  rgba(78,156,232,0.30);
  --sun:      #f5bd68;
  --sun-bg:   rgba(245,189,104,0.11);
  --sun-b:    rgba(245,189,104,0.30);
  --success:  #59c99a;
  --success-bg: rgba(89,201,154,0.11);
  --danger:   #ef6b73;
  --danger-bg: rgba(239,107,115,0.11);
  --radius:   10px;
  --radius-lg:16px;
  --teal-text: #f2a85f;
  --sun-text:  #f5bd68;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Plus Jakarta Sans',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;font-size:14px;line-height:1.6}

/* ── LAYOUT ── */
.shell{display:flex;min-height:100vh}
.sidebar{width:268px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:0;position:fixed;top:0;left:0;bottom:0;z-index:10;overflow:hidden}
.app-body{margin-left:268px;flex:1;display:flex;align-items:flex-start;gap:0}
.main{flex:1;padding:32px 36px;max-width:1200px;min-width:0}
.right-panel{width:242px;flex-shrink:0;min-width:0;position:sticky;top:0;height:100vh;background:var(--surface);border-left:1px solid var(--border);overflow:hidden;transition:width .22s ease}
.right-panel.collapsed{display:none}
.sticky-todo{width:100%;height:100%;overflow-y:auto;padding:16px 14px;position:static;background:transparent;border-left:none}

/* ── SIDEBAR ── */
.sb-header{padding:22px 20px 18px;border-bottom:1px solid var(--border)}
.sb-logo{display:flex;align-items:center;gap:10px}
.sb-icon{width:36px;height:36px;background:var(--teal-bg);border:1px solid var(--teal-b);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px}
.sb-title{font-family:'Outfit',sans-serif;font-size:15px;font-weight:700;color:var(--text);letter-spacing:-0.2px}
.sb-sub{font-size:10px;color:var(--text2);margin-top:1px}
.sb-dest{padding:14px 48px 14px 20px;border-bottom:1px solid var(--border);background:rgba(41,217,184,0.04);position:relative}
.sb-trip-hide{position:absolute;right:16px;top:15px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--text3);cursor:pointer;padding:5px}
.sb-trip-hide svg{width:17px;height:17px}
.sb-trip-hide:hover{color:var(--danger);background:var(--danger-bg)}
.sb-dest-label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text3);margin-bottom:4px}
.sb-dest-name{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:var(--teal-text)}
.sb-dest-dates{font-size:11px;color:var(--text2);margin-top:2px}
.sb-dest-nights{display:inline-block;margin-top:5px;font-size:10px;font-weight:600;padding:2px 8px;border-radius:10px;background:var(--teal-bg);color:var(--teal-text);border:1px solid var(--teal-b)}
nav{padding:12px 0}
.nav-item{display:flex;align-items:center;gap:10px;padding:10px 20px;cursor:pointer;color:var(--text2);font-size:13px;font-weight:500;transition:all .15s;border-left:2px solid transparent;text-decoration:none}
.nav-item:hover{color:var(--text);background:rgba(255,255,255,0.03)}
.nav-item.active{color:var(--teal-text);border-left-color:var(--teal-text);background:var(--teal-bg)}
.nav-item svg{width:16px;height:16px;flex-shrink:0}

/* ── PAGE ── */
.page{display:none}
.page.active{display:block;animation:pageIn .2s cubic-bezier(0.4,0,0.2,1) both}
@keyframes pageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.page-title{font-family:'Outfit',sans-serif;font-size:24px;font-weight:700;color:var(--text);margin-bottom:4px;letter-spacing:-.5px}
.page-sub{font-size:13px;color:var(--text2);margin-bottom:24px}

/* ── CARDS ── */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px 22px;margin-bottom:16px}
.card-title{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:16px}

/* ── GRIDS ── */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}

/* ── METRICS ── */
.metric{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}
.metric-label{font-size:11px;color:var(--text2);margin-bottom:5px}
.metric-value{font-size:21px;font-weight:700;color:var(--text);font-family:'Outfit',sans-serif}
.metric-value.sm{font-size:15px;color:var(--teal-text)}
.metric-value.teal{color:var(--teal-text)}
.metric-value.coral{color:var(--coral)}
.metric-value.sun{color:var(--sun-text)}

/* ── COUNTDOWN ── */
.countdown-strip{display:flex;gap:10px;margin-bottom:16px}
.cd-tile{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cd-tile.accent{background:var(--teal-bg);border-color:var(--teal-b)}
.cd-num{font-family:'Outfit',sans-serif;font-size:30px;font-weight:700;color:var(--teal-text);line-height:1}
.cd-unit{font-size:10px;color:var(--text2);margin-top:4px;text-transform:uppercase;letter-spacing:.05em}
.cd-label{font-size:14px;font-weight:600;color:var(--text);line-height:1.3}

/* ── DEST HERO ── */
.dest-hero{background:linear-gradient(120deg,rgba(41,217,184,.13) 0%,rgba(255,112,88,.07) 100%);border:1px solid var(--teal-b);border-radius:var(--radius-lg);padding:20px 22px;display:flex;align-items:center;gap:16px;margin-bottom:16px}
.dest-icon{width:48px;height:48px;background:var(--teal-bg);border:1px solid var(--teal-b);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.dest-name{font-family:'Outfit',sans-serif;font-size:22px;font-weight:700;color:var(--teal-text)}
/* ── FORM ── */
.field-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.field-row label{font-size:13px;color:var(--text2);min-width:150px}
.field-row input,.field-row select{flex:1}
.field-row .unit{font-size:12px;color:var(--text3);flex-shrink:0}
input[type=text],input[type=number],input[type=date],input[type=time],select,textarea{background:var(--surface2);border:1px solid var(--border2);border-radius:var(--radius);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;padding:7px 12px;outline:none;transition:border-color .15s;width:100%;color-scheme:dark}
input:focus,select:focus,textarea:focus{border-color:var(--teal-text)}
input[type=checkbox]{width:16px;height:16px;accent-color:var(--teal-text);cursor:pointer;flex-shrink:0}
input:disabled{opacity:.5;cursor:not-allowed}
/* Statische Preisfelder auf den Unterseiten — Eingabe erfolgt in der Übersicht.
   Werden als reiner Text dargestellt, nicht als bearbeitbares Feld. */
input.price-static,select.price-static,
input.price-static:disabled,select.price-static:disabled{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  color:var(--text) !important;
  font-weight:700 !important;
  opacity:1 !important;
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  pointer-events:none;cursor:default;
  transition:none;
}
select.price-static{width:auto !important;color:var(--text2) !important;font-weight:500 !important}

/* ── LOCK BUTTON ── */
.lock-btn{width:32px;height:32px;flex-shrink:0;background:var(--surface3);border:1px solid var(--border2);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;color:var(--text2)}
.lock-btn:hover{border-color:var(--coral);color:var(--coral)}
.lock-btn.locked{background:var(--coral-bg);border-color:var(--coral-b);color:var(--coral)}
.lock-btn svg{width:14px;height:14px;pointer-events:none}

/* ── DEST BLOCKS ── */
.dest-block{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:8px}
.dest-block-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.dest-block-num{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--teal-text)}
.dest-search-wrap{position:relative}
.dest-search-wrap input{padding-left:30px}
.dest-search-icon{position:absolute;left:9px;top:50%;transform:translateY(-50%);color:var(--text3);pointer-events:none}
.dest-search-icon svg{width:13px;height:13px}
#page-overview .dest-search-wrap input{padding-left:36px}
#page-overview .dest-search-wrap:has(input:not(:placeholder-shown)) .dest-search-icon{display:none}
#page-overview .dest-search-wrap input:not(:placeholder-shown){padding-left:12px}
.dest-extra-toggle{display:flex;align-items:center;gap:8px;margin-top:8px;cursor:pointer;user-select:none}
.dest-extra-toggle input[type=checkbox]{margin:0}
.dest-extra-toggle span{font-size:12px;color:var(--text2)}
.dest-extra{display:none;margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}
.dest-extra.visible{display:block}

/* ── SIDE-BY-SIDE DATE/PEOPLE ── */
.inline-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}
.inline-col{}
.inline-col label{display:block;font-size:12px;color:var(--text2);margin-bottom:5px}
.inline-col .with-lock{display:flex;align-items:center;gap:6px}
.inline-col .with-lock input{flex:1;min-width:0}

/* ── FLIGHT ── */
.flight-visual{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;display:flex;align-items:center;gap:16px;margin-bottom:16px}
.f-city{text-align:center;min-width:64px}
.f-iata{font-family:'Outfit',sans-serif;font-size:24px;font-weight:700;color:var(--text)}
.f-city-name{font-size:11px;color:var(--text2);margin-top:2px}
.f-middle{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px}
.f-num{font-size:12px;font-weight:600;color:var(--teal-text)}
.f-line{width:100%;height:1px;background:var(--border2);position:relative}
.f-line::after{content:'✈';position:absolute;left:50%;top:-8px;transform:translateX(-50%);font-size:12px;color:var(--teal-text);background:var(--surface2);padding:0 4px}
.f-times{display:flex;justify-content:space-between;padding:0 4px}
.f-block{text-align:center}
.f-time{font-size:18px;font-weight:700;font-family:'Outfit',sans-serif;color:var(--text)}
.f-date{font-size:11px;color:var(--text2);margin-top:1px}
.divider{height:1px;background:var(--border);margin:16px 0}

/* ── CHECK-IN ── */
.checkin-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border)}
.checkin-row:last-child{border-bottom:none}
.badge{font-size:12px;font-weight:600;padding:5px 12px;border-radius:20px;white-space:nowrap}
.badge.blue{background:var(--teal-bg);color:var(--teal-text);border:1px solid var(--teal-b)}
.badge.green{background:var(--success-bg);color:var(--success);border:1px solid rgba(74,222,128,.3)}
.badge.coral{background:var(--coral-bg);color:var(--coral);border:1px solid var(--coral-b)}
.badge.muted{background:rgba(255,255,255,.04);color:var(--text2);border:1px solid var(--border)}

/* ── BUDGET (legacy) ── */
.dp{color:var(--success);font-size:12px;font-weight:600;text-align:right}
.dn{color:var(--danger);font-size:12px;font-weight:600;text-align:right}

/* ── FINANZEN ── */
.fin-row{display:grid;grid-template-columns:1fr 130px 130px 100px;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--border)}
.fin-row:last-child{border-bottom:none}
.fin-row.fin-header span{font-size:10px;color:var(--text3);font-weight:600;letter-spacing:.05em;text-transform:uppercase;text-align:right}
.fin-row.fin-header span:first-child{text-align:left}
.fin-section-hdr{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text3);padding:10px 0 4px;border-bottom:1px solid var(--border);margin-bottom:2px}
.fin-cat{font-size:13px;color:var(--text)}
.fin-indented{padding-left:10px}
.fin-bi{display:flex;align-items:center;gap:4px;justify-content:flex-end}
.fin-bi input{width:88px;text-align:right;font-size:13px}
.fin-price-wrap{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;text-align:right}
.fin-status-heart{display:inline-block;width:19px;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:16px;line-height:1;text-align:center;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12))}
.fin-bi span{font-size:12px;color:var(--text2)}
.fin-val{font-size:13px;font-weight:500;text-align:right;color:var(--text2)}
.fin-diff{font-size:12px;font-weight:600;text-align:right}
.fin-total-bar{display:grid;grid-template-columns:1fr 130px 130px 100px;gap:8px;align-items:center;padding:10px 20px;background:var(--surface2);border-top:2px solid var(--border);font-weight:700;font-size:13px;font-family:'Outfit',sans-serif}
.fin-total-bar span{text-align:right}
.fin-total-bar span:first-child{text-align:left;color:var(--text)}
/* Statische Spaltenbreiten: explizite grid-column-Zuweisung, layout ändert sich nie */
.fin-row>:nth-child(1),.fin-total-bar>:nth-child(1){grid-column:1}
.fin-row>:nth-child(2),.fin-total-bar>:nth-child(2){grid-column:2}
.fin-row>:nth-child(3),.fin-total-bar>:nth-child(3){grid-column:3}
.fin-row>:nth-child(4),.fin-total-bar>:nth-child(4){grid-column:4}
/* Budget- / Differenz-Spalte ausblenden — grid-template bleibt unverändert */
.fin-hide-budget .fin-b-col{display:none}
.fin-hide-budget .fin-diff,.fin-hide-budget .fin-d-col{display:none}
/* Budget ausblenden: auch die Budget-/Verbleibend-Kachel oben verstecken */
#fin-ov-metrics.fin-hide-budget-active .fin-ov-budget-tile{display:none}
#fin-ov-metrics.fin-hide-budget-active #fin-ov-ausgaben-tile{grid-column:1/-1}
/* Ausnahme: Gesamtbudget aktiv → Differenz sichtbar lassen */
.fin-hide-budget.fin-use-total-active .fin-diff,
.fin-hide-budget.fin-use-total-active .fin-d-col{display:block}

/* ── CHART BARS ── */
.bc-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.bc-label{font-size:12px;color:var(--text2);min-width:110px}
.bc-track{flex:1;height:10px;background:var(--surface2);border-radius:5px;overflow:hidden}
.bc-fill{height:10px;border-radius:5px;background:linear-gradient(90deg,var(--teal),var(--coral));transition:width .4s}
.bc-val{font-size:12px;color:var(--text);text-align:right;min-width:70px}

/* ── RATE ── */
.rate-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.rate-box{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}
.rate-label{font-size:11px;color:var(--text2);margin-bottom:6px}
.rate-val{font-family:'Outfit',sans-serif;font-size:20px;font-weight:700;color:var(--teal-text)}
.conv-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.conv-row input{flex:1}
.conv-eq{font-size:13px;color:var(--text2);flex-shrink:0}
.conv-result{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:var(--sun-text);min-width:130px;text-align:right}

/* ── TODO ── */
.todo-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border)}
.todo-item:last-child{border-bottom:none}
.todo-item label{font-size:13px;color:var(--text);flex:1;cursor:pointer}
.todo-item label.done{text-decoration:line-through;color:var(--text3)}
.page-todo-global-item{flex-wrap:wrap;align-items:flex-start}
.page-todo-global-item>input[type=checkbox]{margin-top:3px}
.page-todo-content{flex:1;min-width:0}
.page-todo-content>label{display:block;line-height:1.35}
.page-todo-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px}
.page-todo-priority{font-size:9px;font-weight:700;color:var(--prio);border:1px solid color-mix(in srgb,var(--prio) 45%,transparent);background:color-mix(in srgb,var(--prio) 10%,transparent);border-radius:4px;padding:1px 6px}
.page-todo-assignee{font-size:10px;color:var(--text2)}
.page-todo-edit-btn{border:0;background:transparent;color:var(--text3);cursor:pointer;font-size:17px;line-height:1;padding:1px 5px;border-radius:5px}
.page-todo-edit-btn:hover{color:var(--teal-text);background:var(--teal-bg)}
.page-todo-editor{width:100%;margin:8px 0 3px 24px;padding:12px;background:var(--surface2);border:1px solid var(--border2);border-radius:var(--radius)}
.page-todo-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px}
.page-todo-editor-grid label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text3);cursor:default}
.page-todo-editor-grid label.wide{grid-column:1/-1}
.page-todo-editor-grid input,.page-todo-editor-grid select{display:block;width:100%;margin-top:4px;font-size:12px;text-transform:none;letter-spacing:normal}
.page-todo-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.page-todo-editor-actions button{font-size:12px;padding:6px 12px}
.page-todo-editor-error{display:none;color:var(--danger);font-size:11px;margin-top:8px}
@media(max-width:700px){.page-todo-editor{margin-left:0}.page-todo-editor-grid{grid-template-columns:1fr}.page-todo-editor-grid label.wide{grid-column:auto}}
.tc{font-size:10px;font-weight:600;padding:2px 8px;border-radius:10px;flex-shrink:0}
.tc-travel{background:var(--teal-bg);color:var(--teal-text)}
.tc-docs{background:rgba(167,139,250,.12);color:#a78bfa}
.tc-finance{background:var(--success-bg);color:var(--success)}
.tc-prep{background:var(--sun-bg);color:var(--sun-text)}
.btn-del{background:none;border:none;color:var(--text3);cursor:pointer;padding:4px;border-radius:6px;transition:all .15s;display:flex;align-items:center}
.btn-del:hover{color:var(--danger);background:var(--danger-bg)}
.btn-del svg{width:14px;height:14px}
.add-todo{display:flex;gap:8px;margin-top:14px}
.add-todo input{flex:1}
.add-todo select{width:130px}


/* ── USER LOGIN MODAL ── */
.user-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:1000;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.user-modal{background:var(--surface);border:1px solid var(--border2);border-radius:var(--radius-lg);padding:32px 36px;width:340px;box-shadow:0 24px 64px rgba(0,0,0,.6);text-align:center}
.user-modal-icon{font-size:40px;margin-bottom:16px}
.user-modal-title{font-family:'Outfit',sans-serif;font-size:20px;font-weight:700;color:var(--text);margin-bottom:6px}
.user-modal-sub{font-size:13px;color:var(--text2);margin-bottom:20px}
.user-modal input{width:100%;font-size:15px;padding:10px 14px;margin-bottom:12px;border-radius:var(--radius);background:var(--surface2);border:1px solid var(--border2);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;outline:none;transition:border-color .15s}
.user-modal input:focus{border-color:var(--teal-text)}
.user-modal-btn{width:100%;background:var(--teal);color:#0a1a16;border:none;border-radius:var(--radius);padding:10px;font-size:14px;font-weight:700;cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;transition:opacity .15s}
.user-modal-btn:hover{opacity:.85}
.user-modal-existing{margin-top:14px}
.user-modal-existing-title{font-size:11px;color:var(--text3);margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em}
.user-modal-profile{display:inline-flex;align-items:center;gap:8px;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:7px 14px;cursor:pointer;transition:all .15s;margin:3px;font-size:13px;color:var(--text)}
.user-modal-profile:hover{border-color:var(--teal-text);color:var(--teal-text)}
.sb-user{padding:10px 20px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}
.sb-user-avatar{width:28px;height:28px;border-radius:50%;background:var(--teal-bg);border:1px solid var(--teal-b);display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}
.sb-user-name{font-size:12px;font-weight:600;color:var(--text)}
.sb-user-switch{font-size:10px;color:var(--text3);cursor:pointer;margin-left:auto;padding:2px 6px;border-radius:4px;border:1px solid var(--border);transition:all .15s}
.sb-user-switch:hover{border-color:var(--teal-text);color:var(--teal-text)}
#trip-list-wrap{border-bottom:1px solid var(--border);padding:5px 0}
.trip-item{display:flex;align-items:center;gap:8px;padding:6px 18px;font-size:12px;cursor:pointer;color:var(--text2);transition:background .12s,color .12s;border-left:2px solid transparent;white-space:nowrap;overflow:hidden}
.trip-item:hover{background:var(--hover);color:var(--text1)}
.trip-item.active{color:var(--teal-text);border-left-color:var(--teal-text);font-weight:600;background:var(--teal-bg)}
.trip-item.shared{color:var(--text3)}
.trip-item.shared.active{color:var(--teal-text)}
.trip-item.trip-add{color:var(--text3);font-style:italic}
.trip-item.trip-add:hover{color:var(--teal-text);background:var(--teal-bg);font-style:normal}
.trip-item-name{flex:1;overflow:hidden;text-overflow:ellipsis}
.trip-rename-btn,.trip-copy-btn,.trip-delete-btn{display:none;background:none;border:none;cursor:pointer;color:var(--text3);padding:2px;line-height:0;flex-shrink:0;border-radius:3px}
.trip-rename-btn:hover,.trip-copy-btn:hover{color:var(--teal-text)}
.trip-delete-btn:hover{color:#e05555}
.trip-item:hover .trip-rename-btn,.trip-item:hover .trip-copy-btn,.trip-item:hover .trip-delete-btn{display:flex}
.trip-collab-item{display:flex;align-items:center;gap:7px;padding:4px 18px 4px 32px;font-size:11px;color:var(--text3);text-decoration:none;transition:color .12s,background .12s}
.trip-collab-item:hover{color:var(--teal-text);background:var(--hover)}

/* ── THEMES ── */
body.light {
  --bg:       #f2f5f8;
  --surface:  #ffffff;
  --surface2: #eef2f6;
  --surface3: #e4e9ef;
  --border:   rgba(28,45,64,0.09);
  --border2:  rgba(28,45,64,0.16);
  --text:     #17212c;
  --text2:    #74808d;
  --text3:    #a0aab5;
  --teal:     #2369d8;
  --teal-bg:  rgba(35,105,216,0.10);
  --teal-b:   rgba(35,105,216,0.26);
  --coral:    #ff785b;
  --coral-bg: rgba(255,120,91,0.10);
  --coral-b:  rgba(255,120,91,0.25);
  --sun:      #e5a642;
  --sun-bg:   rgba(229,166,66,0.11);
  --sun-b:    rgba(229,166,66,0.27);
  --success:  #2ea778;
  --success-bg: rgba(46,167,120,0.10);
  --danger:   #dc4c58;
  --danger-bg: rgba(220,76,88,0.10);
  --teal-text: #2369d8;
  --sun-text:  #b97812;
}
body.light input[type=text],body.light input[type=number],body.light input[type=date],body.light input[type=time],body.light select,body.light textarea{color-scheme:light}
body.vacation {
  --bg:       #f8f1e8;
  --surface:  #fffaf3;
  --surface2: #f3e8dc;
  --surface3: #eadbc9;
  --border:   rgba(69,48,35,0.10);
  --border2:  rgba(69,48,35,0.17);
  --text:     #31251f;
  --text2:    #8c796d;
  --text3:    #b0a094;
  --teal:     #d7653d;
  --teal-bg:  rgba(215,101,61,0.11);
  --teal-b:   rgba(215,101,61,0.28);
  --coral:    #287f79;
  --coral-bg: rgba(40,127,121,0.10);
  --coral-b:  rgba(40,127,121,0.27);
  --sun:      #e5a84b;
  --sun-bg:   rgba(229,168,75,0.12);
  --sun-b:    rgba(229,168,75,0.29);
  --success:  #4d936b;
  --success-bg: rgba(77,147,107,0.11);
  --danger:   #c94a3a;
  --danger-bg: rgba(201,74,58,0.10);
  --teal-text:#c45331;
  --sun-text: #a86b16;
}
body.vacation input[type=text],body.vacation input[type=number],body.vacation input[type=date],body.vacation input[type=time],body.vacation select,body.vacation textarea{color-scheme:light}
/* ── THEME TOGGLE ── */
.theme-btns{display:flex;gap:6px;padding:10px 20px 14px;border-bottom:1px solid var(--border)}
.theme-btn{flex:1;padding:5px 0;font-size:10px;font-weight:600;border-radius:6px;border:1px solid var(--border2);background:var(--surface2);color:var(--text2);cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;transition:all .15s;text-align:center;letter-spacing:.03em}
.theme-btn:hover{border-color:var(--teal-text);color:var(--teal-text)}
.theme-btn.active{background:var(--teal-bg);border-color:var(--teal-b);color:var(--teal-text)}

/* ── DEST AUTOCOMPLETE ── */
.dest-search-wrap{position:relative}
.dest-dropdown{position:absolute;top:100%;left:0;right:0;z-index:100;background:var(--surface);border:1px solid var(--border2);border-radius:var(--radius);margin-top:2px;box-shadow:0 8px 24px rgba(0,0,0,0.4);max-height:220px;overflow-y:auto;display:none}
.dest-dropdown.open{display:block}
.dest-dropdown-item{padding:8px 12px;font-size:12px;color:var(--text);cursor:pointer;border-bottom:1px solid var(--border);line-height:1.4}
.dest-dropdown-item:last-child{border-bottom:none}
.dest-dropdown-item:hover{background:var(--teal-bg);color:var(--teal-text)}
.dest-dropdown-item .dest-item-name{font-weight:600;font-size:13px}
.dest-dropdown-item .dest-item-sub{font-size:11px;color:var(--text2);margin-top:1px}
.dest-dropdown-loading{padding:10px 12px;font-size:12px;color:var(--text2);text-align:center}
/* ── CONV ROWS equal size ── */
.conv-row{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.conv-row input{flex:1;min-width:0}
/* ── NAV GROUP ── */
.nav-group-header{display:flex;align-items:center;gap:10px;padding:10px 20px 6px;color:var(--text2);font-size:13px;font-weight:500;border-left:2px solid transparent;cursor:pointer;transition:all .15s;user-select:none}
.nav-group-header:hover{color:var(--text);background:rgba(255,255,255,0.03)}
.nav-group-header.active{color:var(--teal-text);border-left-color:var(--teal-text);background:var(--teal-bg)}
.nav-group-header svg{width:16px;height:16px;flex-shrink:0}
.nav-group-header .nav-chevron{margin-left:auto;width:12px;height:12px;transition:transform .2s}
.nav-group-header.open .nav-chevron{transform:rotate(90deg)}
.nav-sub{overflow:hidden;max-height:0;transition:max-height .25s ease}
.nav-sub.open{max-height:500px}
.nav-sub-item{display:flex;align-items:center;gap:10px;padding:7px 20px 7px 38px;font-size:12px;color:var(--text2);cursor:pointer;text-decoration:none;transition:all .15s;border-left:2px solid transparent}
.nav-sub-item:hover{color:var(--text);background:rgba(255,255,255,0.03)}
.nav-sub-item.active{color:var(--teal-text);border-left-color:var(--teal-text);background:var(--teal-bg)}
.nav-sub-item.disabled{color:var(--text3);cursor:not-allowed;opacity:.5}
.nav-sub-item.disabled:hover{background:none;color:var(--text3)}
.nav-sub-item svg{width:13px;height:13px;flex-shrink:0}
.nav-sub-sub-item{display:flex;align-items:center;gap:10px;padding:6px 20px 6px 54px;font-size:11px;color:var(--text3);cursor:pointer;text-decoration:none;transition:all .15s;border-left:2px solid transparent}
.nav-sub-sub-item:hover{color:var(--text2);background:rgba(255,255,255,0.02)}
.nav-sub-sub-item.active{color:var(--teal-text);border-left-color:var(--teal-text);background:var(--teal-bg)}
.nav-sub-sub-item svg{width:12px;height:12px;flex-shrink:0}
/* ── VERPFLEGUNG LISTEN ── */
.vp-item{align-items:center;gap:7px;padding:7px 0;flex-wrap:nowrap}
.vp-qty{width:75px!important;max-width:75px;min-width:75px;padding:4px 6px;font-size:12px;text-align:center;flex-shrink:0;border-radius:6px;border:1px solid var(--border2);background:var(--surface2);color:var(--text)}
.vp-who{width:108px;font-size:11px;padding:3px 5px;flex-shrink:0;border-radius:6px;border:1px solid var(--border2);background:var(--surface2);color:var(--text2)}
.vp-price{width:68px!important;max-width:68px;min-width:68px;padding:4px 6px;font-size:12px;text-align:right;flex-shrink:0;border-radius:6px;border:1px solid var(--border2);background:var(--surface2);color:var(--text)}
.vp-add-row{display:flex;gap:7px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
/* ── PACKLISTE ── */
.rech-file-item{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid var(--border);font-size:12px;color:var(--text2)}
.rech-file-item:last-child{border-bottom:none}
.rech-file-name{flex:1;color:var(--teal-text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rech-file-name:hover{text-decoration:underline}
.rech-source-badge{max-width:132px;padding:2px 6px;border:1px solid var(--border2);border-radius:999px;color:var(--text3);font-size:9px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}
.rech-add-btn{display:flex;align-items:center;gap:6px;margin-top:10px;padding:6px 10px;font-size:11px;color:var(--text3);border:1px dashed var(--border);border-radius:6px;cursor:pointer;transition:all .15s;width:100%;box-sizing:border-box}
.rech-add-btn:hover{border-color:var(--teal-text);color:var(--teal-text);background:var(--teal-bg)}
.rech-rename-btn{display:none;background:none;border:none;cursor:pointer;color:var(--text3);padding:2px;line-height:0;flex-shrink:0;border-radius:3px}
.rech-rename-btn:hover{color:var(--teal-text)}
.rech-file-item:hover .rech-rename-btn{display:flex}
.pack-item{display:flex;align-items:flex-start;gap:7px;padding:5px 0;border-bottom:1px solid var(--border);font-size:12px;color:var(--text2);cursor:default;line-height:1.4}
.pack-item:last-child{border-bottom:none}
.pack-item input[type=checkbox]{margin-top:1px;width:13px;height:13px;flex-shrink:0;accent-color:var(--teal-text);cursor:pointer}
.pack-item.done span{text-decoration:line-through;color:var(--text3)}
.pack-item-text{flex:1;cursor:text;min-width:0}
.pack-item-text:hover{color:var(--teal-text)}
/* ── MAP ── */
.map-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:16px}
.map-card-bar{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}
.map-card-label{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text3)}
.map-card-dest{font-size:13px;font-weight:600;color:var(--teal-text)}
#ov-map{width:100%;height:340px}
/* ── STICKY TODO ── */
.sticky-todo-title{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}
.sticky-todo-title span{color:var(--teal-text);font-size:11px;font-weight:500;cursor:pointer;text-transform:none;letter-spacing:0}
.stodo-item{display:flex;align-items:flex-start;gap:8px;padding:6px 0;border-bottom:1px solid var(--border)}
.stodo-item:last-child{border-bottom:none}
.stodo-item input[type=checkbox]{margin-top:2px;width:14px;height:14px;accent-color:var(--teal-text);cursor:pointer;flex-shrink:0}
.stodo-item label{font-size:12px;color:var(--text);cursor:pointer;line-height:1.4;flex:1}
.stodo-item label.done{text-decoration:line-through;color:var(--text3)}
.stodo-del{background:none;border:none;color:var(--text3);cursor:pointer;padding:1px 3px;font-size:12px;line-height:1;border-radius:4px;flex-shrink:0;transition:color .15s}
.stodo-del:hover{color:var(--danger)}
.stodo-add{display:flex;gap:6px;margin-top:10px}
.stodo-add input{flex:1;font-size:12px;padding:6px 9px;background:var(--surface2);border:1px solid var(--border2);border-radius:var(--radius);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;outline:none}
.stodo-add input:focus{border-color:var(--teal-text)}
.stodo-add-btn{background:var(--teal);color:#ffffff;border:none;border-radius:var(--radius);padding:6px 10px;font-size:12px;font-weight:700;cursor:pointer}
.stodo-progress{height:3px;background:var(--surface2);border-radius:2px;margin-bottom:12px;overflow:hidden}
.stodo-progress-bar{height:3px;background:var(--teal);border-radius:2px;transition:width .3s}
/* ── TO-DO SIDEBAR EIN-/AUSBLENDEN ── */
.stodo-collapse-btn{cursor:pointer;color:var(--text2);font-size:15px;line-height:1;padding:2px 4px;border-radius:4px}
.stodo-collapse-btn:hover{color:var(--teal-text);background:rgba(255,255,255,.05)}
.stodo-reopen-tab{position:fixed;top:60px;right:0;background:var(--surface);border:1px solid var(--border2);border-right:none;border-radius:10px 0 0 10px;padding:10px 7px;cursor:pointer;z-index:50;display:none;flex-direction:column;align-items:center;gap:5px;color:var(--text2);font-size:11px;font-weight:600;box-shadow:-2px 0 10px rgba(0,0,0,.2)}
.stodo-reopen-tab:hover{color:var(--teal-text);border-color:var(--teal-b)}
.stodo-reopen-tab.visible{display:flex}
.stodo-reopen-tab .stodo-reopen-dot{width:8px;height:8px;border-radius:50%;background:var(--danger);display:none}
.stodo-reopen-tab .stodo-reopen-dot.visible{display:block}
.stodo-reopen-tab .stodo-reopen-label{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.05em}
.stodo-mode-icon{font-size:15px;line-height:1}
/* ── TO-DO FÄLLIGKEITSDATUM ── */
.stodo-item{flex-wrap:wrap}
.stodo-item-main{display:flex;align-items:flex-start;gap:8px;width:100%}
.stodo-due-row{display:flex;align-items:center;gap:6px;margin:3px 0 0 22px;width:100%}
.stodo-due-badge{font-size:9px;padding:1px 6px;border-radius:4px;background:var(--surface2);color:var(--text2);white-space:nowrap}
.stodo-due-badge.today{background:var(--sun-bg);color:var(--sun-text)}
.stodo-due-badge.overdue{background:var(--danger-bg);color:var(--danger)}
.stodo-due-btn{background:none;border:none;color:var(--text3);cursor:pointer;font-size:11px;padding:1px 3px;border-radius:4px}
.stodo-trip-badge{font-size:9px;padding:1px 6px;border-radius:4px;background:var(--teal-bg);color:var(--teal-text);border:1px solid var(--teal-b);white-space:nowrap;flex-shrink:0}
.stodo-due-btn:hover{color:var(--teal-text)}
.stodo-due-input{font-size:10px;padding:2px 4px;background:var(--surface2);border:1px solid var(--border2);border-radius:4px;color:var(--text);color-scheme:dark}
/* ── TO-DO ABLAUF-BENACHRICHTIGUNG ── */
.todo-notify-banner{margin-bottom:10px;background:var(--danger-bg);border:1px solid var(--coral-b);border-radius:var(--radius);padding:8px 10px}
.todo-notify-banner-title{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--danger);margin-bottom:4px}
.todo-notify-row{font-size:11px;color:var(--text);padding:2px 0}
.ov-todo-notify{margin-bottom:16px}
/* ── AIRLINE SEARCH ── */
.airline-wrap{position:relative;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}
.airline-badge{display:none;align-items:center;gap:8px;margin-top:10px;padding:8px 12px;background:var(--teal-bg);border:1px solid var(--teal-b);border-radius:var(--radius)}
.airline-badge.visible{display:flex}
.airline-badge-emoji{font-size:20px}
.airline-badge-name{font-size:13px;font-weight:600;color:var(--teal-text)}
.airline-badge-meta{font-size:11px;color:var(--text2)}
.airline-badge-checkin{font-size:11px;font-weight:600;color:var(--sun-text);margin-left:auto}
/* ── RESPONSIVE ── */
@media(max-width:900px){
  .sidebar{width:60px}
  .sb-header,.sb-dest{padding:14px 12px}
  .sb-title,.sb-sub,.sb-dest-label,.sb-dest-name,.sb-dest-dates,.sb-dest-nights,.nav-item span{display:none}
  .main{margin-left:60px;padding:20px 16px}
  .grid-4{grid-template-columns:1fr 1fr}
  .fin-row,.fin-total-bar{grid-template-columns:1fr 95px 90px}
  .fin-row>:nth-child(4),.fin-total-bar>:nth-child(4){display:none}
  .fin-bi input{width:72px}
  .ov-hero-countdown{grid-template-columns:1fr!important}
}
/* ── BUTTONS ── */
.btn-primary{background:var(--teal);color:#ffffff;border:none;border-radius:var(--radius);padding:8px 16px;font-size:13px;font-weight:700;cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;transition:opacity .15s;white-space:nowrap}
.btn-primary:hover{opacity:.85}
.btn-primary:disabled{opacity:.7;cursor:default}
/* ── BESTÄTIGEN-BUTTON (pro Seite) ── */
.confirm-bar{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}
.confirm-btn{min-width:200px;text-align:center;padding:12px 24px;font-size:19px}
/* ── FLUGSTATUS (angesehen/gebucht/bezahlt) ── */
.flight-status-group{display:flex;gap:6px;margin-top:10px}
.flight-status-btn{flex:1;font-size:11px;font-weight:600;padding:6px 4px;border-radius:8px;border:1px solid var(--border2);background:var(--surface2);color:var(--text2);cursor:pointer;transition:all .15s;text-align:center;font-family:'Plus Jakarta Sans',sans-serif}
.flight-status-btn:hover{border-color:var(--border2);opacity:.85}
.flight-status-btn.viewed.active{background:var(--sun-bg);border-color:var(--sun-b);color:var(--sun-text)}
.flight-status-btn.booked.active{background:var(--danger-bg);border-color:var(--coral-b);color:var(--danger)}
.flight-status-btn.paid.active{background:var(--success-bg);border-color:rgba(74,222,128,.3);color:var(--success)}
.status-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap}

/* Reihenfolge auf den Flugkarten: Flugnummer, Gepaeck, Preis/Status, Stammdaten. */
.flight-detail-stack{display:flex;flex-direction:column}
.flight-detail-stack>.flight-number-row{order:1}
.flight-detail-stack>.flight-baggage-block{order:2}
.flight-detail-stack>.flight-price-status-block{order:3}
.flight-detail-stack>.flight-data-row{order:4}
.flight-detail-stack>.flight-data-row:nth-child(2){margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.flight-detail-stack>.flight-airline-block{order:5}
.flight-detail-stack>.flight-source-note{order:6}
.status-legend-item{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--text2)}
.status-legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.collapse-toggle-link{font-size:11px;color:var(--teal-text);cursor:pointer;user-select:none}
.collapse-toggle-link:hover{text-decoration:underline}
.checkin-row.fs-viewed{border-left:3px solid var(--sun);padding-left:9px;background:var(--sun-bg)}
.checkin-row.fs-booked{border-left:3px solid var(--danger);padding-left:9px;background:var(--danger-bg)}
.checkin-row.fs-paid{border-left:3px solid var(--success);padding-left:9px;background:var(--success-bg)}
/* ── MINI FLIGHT CARD (sidebar) ── */
.sb-flights{padding:12px 14px;border-bottom:1px solid var(--border);overflow:hidden}
.sb-flights-title{font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:8px}
.mf{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:9px 10px;margin-bottom:7px}
.mf:last-child{margin-bottom:0}
.mf-label{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text3);margin-bottom:4px}
.mf-num{font-size:11px;font-weight:700;color:var(--teal-text);margin-bottom:5px}
.mf-route{display:flex;align-items:center;gap:5px;margin-bottom:6px}
.mf-iata{font-family:'Outfit',sans-serif;font-size:12px;font-weight:700;color:var(--text)}
.mf-time{font-size:10px;color:var(--text2)}
.mf-arrow{flex:1;height:1px;background:var(--border2);position:relative;margin:0 3px}
.mf-arrow::after{content:'›';position:absolute;right:-4px;top:-8px;color:var(--teal-text);font-size:11px}
.mf-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.mf-field label{display:block;font-size:9px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text3);margin-bottom:2px}
.mf-field input{font-size:11px;padding:4px 7px}

/* ═══════════════════════════════════════
   DESIGN REFINEMENTS
   ═══════════════════════════════════════ */

/* Consistent cubic-bezier across interactive elements */
.nav-item,.nav-group-header,.nav-sub-item,.nav-sub-sub-item,
.btn-primary,.card,.metric,.trip-item,.badge,.theme-btn,
.flight-status-btn,.lock-btn,.dest-dropdown-item,
input,select,.stodo-add-btn,.rech-add-btn{
  transition-timing-function:cubic-bezier(0.4,0,0.2,1);
}

/* Body: hauchzartes Glow-Overlay oben (Dark) */
body:not(.light):not(.vacation){
  background:
    radial-gradient(ellipse 140% 45% at 50% -5%,rgba(242,155,69,.10) 0%,transparent 65%),
    var(--bg);
}
/* Light mode: kühler Porcelain-Schimmer */
body.light{
  background:
    radial-gradient(ellipse 140% 45% at 50% -5%,rgba(35,105,216,.07) 0%,transparent 60%),
    var(--bg);
}
body.vacation{
  background:
    radial-gradient(ellipse 140% 45% at 50% -5%,rgba(215,101,61,.09) 0%,transparent 62%),
    var(--bg);
}

/* Cards: Tiefe durch Schichten */
.card{
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 4px 14px rgba(0,0,0,.10);
  transition:box-shadow .2s cubic-bezier(0.4,0,0.2,1),border-color .2s;
}
body.light .card{
  box-shadow:0 1px 3px rgba(0,0,0,.07),0 4px 16px rgba(0,0,0,.05);
}

/* Input focus: Glow-Ring */
input:focus,select:focus{
  box-shadow:0 0 0 3px var(--teal-bg);
  border-color:var(--teal-text);
}
body.light input:focus,body.light select:focus{
  box-shadow:0 0 0 3px rgba(234,193,65,.18);
}

/* Buttons: Lift + Shadow */
.btn-primary{
  box-shadow:0 1px 4px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.12);
  transition:opacity .15s,transform .12s cubic-bezier(0.4,0,0.2,1),box-shadow .15s;
}
.btn-primary:hover:not(:disabled){
  opacity:.92;
  transform:translateY(-1px);
  box-shadow:0 3px 12px rgba(0,0,0,.28),0 1px 4px rgba(0,0,0,.18);
}
.btn-primary:active:not(:disabled){
  transform:translateY(0);
  box-shadow:0 1px 4px rgba(0,0,0,.22);
}

/* Bestätigen-Button: minimale Kontrast-Linie */
.confirm-btn{
  letter-spacing:.01em;
}

/* Metrics: numerics ausrichten */
.metric-value,.cd-num,.rate-val,.conv-result,.f-time,.f-iata{
  font-variant-numeric:tabular-nums;
}
/* Metrics: leichter Tiefenschatten */
.metric{
  box-shadow:0 1px 3px rgba(0,0,0,.12);
}
body.light .metric{
  box-shadow:0 1px 3px rgba(0,0,0,.06);
}

/* Countdown accent: subtile Glut */
.cd-tile.accent{
  box-shadow:0 0 24px var(--teal-bg),0 1px 3px rgba(0,0,0,.15);
}

/* Sidebar-Header: dezenter Trennschatten */
.sb-header{
  box-shadow:0 1px 0 var(--border);
}
/* Logo-Icon: Glow */
.sb-icon{
  box-shadow:0 0 18px var(--teal-bg);
}

/* Dest-Hero: innen heller Rand + Tiefe */
.dest-hero{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 2px 8px rgba(0,0,0,.12);
}
body.light .dest-hero{
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

/* Modal: mehrschichtiger Schatten */
.user-modal{
  box-shadow:
    0 32px 80px rgba(0,0,0,.55),
    0 8px 24px rgba(0,0,0,.3),
    0 0 0 1px rgba(255,255,255,.04);
}
body.light .user-modal{
  box-shadow:
    0 32px 80px rgba(0,0,0,.15),
    0 8px 24px rgba(0,0,0,.08),
    0 0 0 1px rgba(0,0,0,.06);
}

/* Progress-Bar: Gradient statt Flat */
.stodo-progress-bar{
  background:linear-gradient(90deg,var(--teal) 0%,var(--sun) 100%);
}
.bc-fill{
  background:linear-gradient(90deg,var(--teal) 0%,var(--coral) 100%);
}

/* Flight visual: Schatten */
.flight-visual{
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}

/* Rate-Box */
.rate-box{
  box-shadow:0 1px 3px rgba(0,0,0,.10);
}

/* Dropdown: schärferer Schatten */
.dest-dropdown{
  box-shadow:0 8px 32px rgba(0,0,0,.45),0 2px 8px rgba(0,0,0,.2);
}
body.light .dest-dropdown{
  box-shadow:0 8px 24px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.07);
}

/* Nav-Item: links-Border animiert */
.nav-item,.nav-group-header{
  transition:
    color .18s cubic-bezier(0.4,0,0.2,1),
    background .18s cubic-bezier(0.4,0,0.2,1),
    border-color .18s cubic-bezier(0.4,0,0.2,1);
}

/* Reopen-Tab: Schatten */
.stodo-reopen-tab{
  box-shadow:-3px 0 14px rgba(0,0,0,.25);
}

/* Thin custom scrollbar */
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border2);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--text3)}

/* ── 2026 REFRESH ── */

/* Body: tighter, more modern tracking */
body{
  font-family:'Plus Jakarta Sans',sans-serif;
  letter-spacing:-0.01em;
  line-height:1.55;
}

/* Sidebar: glassmorphism */
.sidebar{
  background:rgba(23,29,42,0.88);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
body.light .sidebar{
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
body.vacation .sidebar{background:rgba(255,250,243,0.88)}

/* Nav: pill-right — flush left (indicator line), rounded right */
.nav-item{
  border-radius:0 10px 10px 0;
  margin-right:10px;
}
.nav-group-header{
  border-radius:0 10px 10px 0;
  margin-right:10px;
}
.nav-sub-item{
  border-radius:0 8px 8px 0;
  margin-right:10px;
}
.nav-sub-sub-item{
  border-radius:0 6px 6px 0;
  margin-right:10px;
}

/* Page title: fluid + heavier */
.page-title{
  font-size:clamp(22px,2.4vw,30px);
  font-weight:800;
  letter-spacing:-0.7px;
}

/* Card: more generous radius + padding */
.card{
  border-radius:20px;
  padding:22px 24px;
}

/* Buttons: rounder */
.btn-primary{
  border-radius:12px;
  font-weight:600;
  letter-spacing:0.01em;
}
.confirm-btn{
  border-radius:14px;
}
.stodo-add-btn{
  border-radius:10px;
}

/* Metric numbers: fluid + bigger punch */
.metric-value{
  font-size:clamp(20px,2vw,26px);
  letter-spacing:-0.03em;
}
.metric-value.sm{
  font-size:clamp(14px,1.2vw,17px);
}
.cd-num{
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-0.04em;
}

/* Card-title labels: crisper */
.card-title{
  font-size:10.5px;
  letter-spacing:.10em;
  font-weight:700;
}

/* Outfit for all numeric/display elements */
.metric-value,.cd-num,.rate-val,.conv-result,.f-time,.f-iata,
.mf-iata,.sb-dest-name,.dest-name,.page-title,.fin-total-bar{
  font-family:'Outfit',sans-serif;
}

/* Input & select: slightly taller, rounder */
input[type=text],input[type=number],input[type=date],input[type=time],select{
  padding:8px 12px;
  border-radius:10px;
}

/* Modal: rounder */
.user-modal{
  border-radius:22px;
}

/* Badges: pill */
.badge{
  border-radius:999px;
}
.sb-dest-nights{
  border-radius:999px;
}

/* Theme buttons: rounder */
.theme-btn{
  border-radius:8px;
}

/* Trip items in sidebar */
.trip-item{
  border-radius:0 8px 8px 0;
  margin-right:8px;
}

/* Flight number pill */
.f-num{
  font-weight:700;
  letter-spacing:.02em;
}

/* Map card */
.map-card{
  border-radius:20px;
}

/* Dest-block: rounder */
.dest-block{
  border-radius:12px;
}

/* Airline badge */
.airline-badge{
  border-radius:12px;
}

/* ── Wetter: 6-Tage-Vorschau als Hover-Popover ── */
/* 5-Tage-Vorschau: kompakt horizontal, direkt in der Wetter-Kachel */
.wx-forecast{
  display:flex;
  justify-content:space-between;
  gap:4px;
  padding-top:10px;
  border-top:1px solid var(--border);
}
.wx-forecast:empty{display:none}
.wx-fc-col{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  flex:1;min-width:0;
}
.wx-fc-emoji{font-size:15px;line-height:1}
.wx-fc-t{font-family:'Outfit',sans-serif;font-size:12px;font-weight:700;color:var(--text)}
.wx-fc-wd{font-size:9px;color:var(--text3);text-transform:uppercase;letter-spacing:.02em}

/* ── Sidebar: scrollbarer oberer Teil, fixierter unterer Teil (Wetter + Wechselkurs) ── */
.sb-scroll{flex:1 1 auto;min-height:0;overflow-y:auto}
.sb-bottom{flex-shrink:0;border-top:1px solid var(--border);background:inherit}
.sb-tool-section{border-top:1px solid var(--border);padding:0 14px}
.sb-tool-toggle{
  width:100%;min-height:34px;padding:9px 1px 8px;border:0;border-radius:0;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  color:var(--text3);background:transparent;box-shadow:none;cursor:pointer;
  font-family:'Plus Jakarta Sans',sans-serif;font-size:9px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;text-align:left;
}
.sb-tool-toggle:hover{color:var(--text);background:transparent}
.sb-tool-toggle:focus-visible{outline:2px solid var(--teal-text);outline-offset:2px;border-radius:4px}
.sb-tool-chevron{font-family:'Plus Jakarta Sans',sans-serif;font-size:15px;font-weight:500;line-height:1;transition:transform .18s ease}
.sb-tool-body{padding:0 0 12px}
.sb-tool-section.is-collapsed .sb-tool-body{display:none}
.sb-tool-section.is-collapsed .sb-tool-chevron{transform:rotate(-90deg)}

/* ── OBERE LEISTE ── */
.topbar{
  position:sticky;top:0;z-index:16;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;
  margin:-32px -36px 20px;
  padding:12px 36px;
  background:rgba(17,21,33,0.86);
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
body.light .topbar{background:rgba(242,245,248,0.90);border-bottom-color:rgba(28,45,64,0.09)}
body.vacation .topbar{background:rgba(248,241,232,0.90);border-bottom-color:rgba(69,48,35,0.10)}
.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.topbar-center{flex:1;display:flex;justify-content:flex-end;align-items:center;gap:10px;min-width:0}
.topbar-countdown{
  position:fixed;left:50%;top:8px;z-index:17;transform:translateX(-50%);
  max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  padding:5px 16px;border:1px solid color-mix(in srgb,var(--teal) 72%,#fff 28%);border-radius:999px;
  background:var(--teal);box-shadow:0 5px 18px color-mix(in srgb,var(--teal) 30%,transparent);
  font-family:'Urlaubsplaner Headings',sans-serif;font-size:23px;font-weight:400;
  letter-spacing:.06em;line-height:1.2;color:#fff;pointer-events:none;text-align:center;
}
@media(max-width:1100px){.topbar-countdown{font-size:19px;max-width:34vw;top:10px;padding:4px 12px}}
@media(max-width:900px){.topbar-countdown{display:none}}
.theme-emojis{display:flex;gap:6px}
.theme-emoji{
  width:34px;height:34px;border-radius:10px;
  border:1px solid var(--border2);background:var(--surface2);
  font-size:16px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  filter:grayscale(.5);opacity:.65;transition:all .15s;
}
.theme-emoji:hover{opacity:1;filter:none;border-color:var(--teal-text)}
.theme-emoji.active{opacity:1;filter:none;border-color:var(--teal-text);background:var(--teal-bg);box-shadow:0 0 0 1px var(--teal-b)}
@media(max-width:900px){.topbar-center .theme-emojis{display:none!important}}
.topbar-newtrip{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:10px;border:none;background:var(--teal);color:#fff;cursor:pointer;font-size:13px;font-weight:600;white-space:nowrap}
.topbar-newtrip:hover{filter:brightness(1.08)}
.topbar-newtrip svg{width:14px;height:14px}
@media(max-width:720px){.topbar-newtrip span{display:none}}
.topbar-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.topbar-trips{position:relative;display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:10px;border:1px solid var(--border2);background:var(--surface2);cursor:pointer;font-size:13px;font-weight:600;color:var(--text);user-select:none}
.topbar-trips:hover{border-color:var(--teal-text)}
.topbar-chevron{width:14px;height:14px;transition:transform .18s;color:var(--text2)}
.topbar-trips.open .topbar-chevron{transform:rotate(180deg)}
.topbar-menu{
  display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:30;
  min-width:230px;max-height:340px;overflow-y:auto;
  background:var(--surface);border:1px solid var(--border2);border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.35);padding:6px;
}
.topbar-trips.open .topbar-menu{display:block}
.topbar-menu-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:500;color:var(--text)}
.topbar-menu-item:hover{background:var(--surface2)}
.topbar-menu-item.active{background:var(--teal-bg);color:var(--teal-text)}
.topbar-menu-item .tm-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-menu-item .tm-next{font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 6px;border-radius:999px;background:var(--teal-bg);color:var(--teal-text);border:1px solid var(--teal-b)}
.tm-hide-trip{display:flex;align-items:center;justify-content:center;width:25px;height:25px;padding:4px;border:0;background:transparent;color:var(--text3);cursor:pointer;flex:0 0 auto}
.tm-hide-trip svg{width:15px;height:15px}
.tm-hide-trip:hover{color:var(--danger);background:var(--danger-bg)}
.topbar-menu-item.tm-add{color:var(--teal-text);font-weight:600;border-top:1px solid var(--border);border-radius:0 0 8px 8px;margin-top:4px}
.topbar-right{display:flex;align-items:center;gap:16px}
.topbar-bell{position:relative;width:38px;height:38px;border-radius:10px;border:1px solid var(--border2);background:var(--surface2);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text2)}
.topbar-bell:hover{border-color:var(--teal-text);color:var(--teal-text)}
.topbar-bell-icon{display:block;width:22px;height:22px;object-fit:contain}
body:not(.light):not(.vacation) .topbar-bell-icon{filter:invert(1)}
.notif-dot{position:absolute;top:8px;right:9px;width:8px;height:8px;border-radius:50%;background:var(--coral);border:2px solid var(--surface2)}
.notif-panel{
  display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:30;
  width:300px;max-height:380px;overflow-y:auto;cursor:default;
  background:var(--surface);border:1px solid var(--border2);border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.35);padding:6px;text-align:left;
}
.topbar-bell.open .notif-panel{display:block}
.notif-item{padding:9px 10px;border-radius:8px}
.notif-item:hover{background:var(--surface2)}
.notif-text{font-size:12px;color:var(--text)}
.notif-time{font-size:10px;color:var(--text3);margin-top:2px}
.notif-empty{font-size:12px;color:var(--text3);padding:14px 10px;text-align:center}
.topbar-account{display:flex;align-items:center;gap:10px}
.topbar-user-name{font-size:13px;font-weight:600;color:var(--text);max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-user-name[role=button]{cursor:pointer;border-radius:6px;padding:3px 5px;margin:-3px -5px}
.topbar-user-name[role=button]:hover,.topbar-user-name[role=button]:focus-visible{color:var(--teal-text);background:var(--teal-bg);outline:none}
.topbar-avatar{width:34px;height:34px;border-radius:50%;background:var(--teal-bg);border:1px solid var(--teal-b);color:var(--teal-text);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;overflow:hidden;flex-shrink:0}
.topbar-avatar img{width:100%;height:100%;object-fit:cover}
.topbar-logout{cursor:pointer;color:var(--text3);font-size:16px;line-height:1;padding:2px 4px;border-radius:6px}
.topbar-logout:hover{color:var(--danger);background:var(--surface2)}
@media(max-width:640px){.topbar-user-name{display:none}}

/* Persönliche E-Mail-Erinnerungen. */
.notification-settings-overlay{display:none;padding:18px}
.notification-settings-overlay.open{display:flex}
.notification-settings-modal{position:relative;width:min(100%,480px);text-align:left;padding:30px 32px}
.notification-settings-modal .user-modal-icon,.notification-settings-modal .user-modal-title,.notification-settings-modal .user-modal-sub{text-align:center}
.notification-settings-close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:var(--text3);font-size:25px;line-height:1;cursor:pointer}
.notification-settings-close:hover{color:var(--danger)}
.notification-toggle{display:flex;align-items:center;gap:9px;padding:11px 12px;margin-bottom:14px;border:1px solid var(--teal-b);border-radius:10px;background:var(--teal-bg);font-size:13px;font-weight:650;color:var(--text);cursor:pointer}
.notification-toggle input{width:17px!important;height:17px;margin:0!important;accent-color:var(--teal)}
.notification-settings-fields{display:grid;gap:11px}
.notification-settings-fields label>span{display:block;margin-bottom:4px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text3)}
.notification-settings-fields label>span em{font-weight:500;text-transform:none;letter-spacing:0}
.notification-settings-fields input,.notification-settings-fields select{width:100%;margin:0!important;font-size:13px;padding:9px 11px}
.notification-settings-fields input[readonly]{opacity:.72;cursor:not-allowed}
.notification-settings-fields.disabled{opacity:.5}
.notification-settings-hint{margin-top:13px;font-size:10px;line-height:1.5;color:var(--text3)}
.notification-settings-error{display:none;margin-top:10px;font-size:11px;color:var(--danger)}
.notification-settings-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}

/* Unterkunft: Übersichtsdaten und Buchungsdetails in klarer Reihenfolge. */
.hotel-booking-card{display:flex;flex-direction:column;gap:15px}
.hotel-booking-card>.card-title{order:0;margin-bottom:0}
.hotel-booking-overview{order:1;display:flex;align-items:center;gap:13px;padding:14px 16px;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius)}
.hotel-booking-overview-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:var(--teal-bg);border:1px solid var(--teal-b);border-radius:10px;font-size:21px}
.hotel-booking-overview-copy{display:flex;min-width:0;flex-direction:column;gap:3px}
.hotel-booking-overview-copy strong{font-family:'Outfit',sans-serif;font-size:16px;color:var(--text)}
.hotel-booking-overview-copy span{font-size:11px;line-height:1.4;color:var(--text2)}
.hotel-rooms-block{order:2;margin:0!important;padding-top:2px}
.hotel-board-transfer-row{order:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;padding-top:14px;border-top:1px solid var(--border)}
.hotel-booking-field{display:block;min-width:0}
.hotel-booking-field>span{display:block;margin-bottom:5px;font-size:11px;color:var(--text2)}
.hotel-booking-field select{width:100%}
.hotel-transfer-field{min-width:0}
.hotel-transfer-toggle{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:11px;color:var(--text2);cursor:pointer}
.hotel-transfer-toggle input{width:16px!important;height:16px;margin:0!important;accent-color:var(--teal)}
.hotel-transfer-field select:disabled{opacity:.48;cursor:not-allowed}
.hotel-price-status-block{order:4;margin-top:0!important;padding-top:14px!important}
.hotel-notes-block{order:5;padding-top:14px;border-top:1px solid var(--border)}
@media(max-width:700px){.hotel-board-transfer-row{grid-template-columns:1fr}.hotel-booking-overview{align-items:flex-start}}

/* Kompaktes Formular fuer Mietwagen, Mietfahrrad und sonstige Mobilitaet vor Ort. */
.lt-detail-card{display:flex;flex-direction:column;gap:14px}
.lt-detail-card .card-title{margin-bottom:2px}
.lt-primary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lt-field{display:block;min-width:0}
.lt-field>span,.lt-section-label{
  display:block;margin-bottom:6px;font-size:10px;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--text3)
}
.lt-detail-card input,.lt-detail-card select,.lt-detail-card textarea{font-size:12px;padding:7px 10px;min-height:34px}
.lt-detail-card textarea{width:100%;min-height:60px;resize:vertical;line-height:1.4}
.lt-period-price-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:14px;padding-top:14px;border-top:1px solid var(--border)}
.lt-compact-section{min-width:0}
.lt-section-label span{font-weight:500;text-transform:none;color:var(--text2)}
.lt-period-values{display:flex;align-items:flex-start;gap:clamp(18px,4vw,54px);min-height:35px}
.lt-period-values div{display:flex;flex-direction:column;gap:2px}
.lt-period-values span{font-size:10px;color:var(--text3)}
.lt-period-values strong{font-size:13px;font-weight:650;color:var(--text);white-space:nowrap}
.lt-period-values strong.accent{color:var(--teal)}
.lt-help,.lt-budget-note{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--text3)}
.lt-help{margin-top:5px}
.lt-help svg,.lt-budget-note svg{width:11px;height:11px;flex:0 0 11px}
.lt-price-row{display:grid;grid-template-columns:minmax(90px,1fr) 82px minmax(88px,auto);gap:8px;align-items:start}
.lt-price-total{text-align:right;min-width:88px;padding-top:2px}
.lt-price-total strong{display:block;font-family:'Outfit',sans-serif;font-size:15px;color:var(--teal);white-space:nowrap}
.lt-price-total span{display:block;margin-top:1px;font-size:9px;color:var(--text3)}
.lt-status-section{padding-top:14px;border-top:1px solid var(--border)}
.lt-status-section .flight-status-group{margin-top:0}
.lt-booking-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:14px;border-top:1px solid var(--border)}
.lt-notes-field{padding-top:14px;border-top:1px solid var(--border)}
.lt-budget-note{margin-top:-4px}
@media(max-width:1100px){
  .lt-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lt-period-price-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .lt-primary-grid{grid-template-columns:1fr}
  .lt-booking-row{grid-template-columns:1fr}
  .lt-price-row{grid-template-columns:minmax(80px,1fr) 78px}
  .lt-price-total{grid-column:1/-1;text-align:left}
}

/* ── ÜBERSICHT: Karte + To-dos nebeneinander ── */
.ov-map-todos{display:grid;grid-template-columns:0.72fr 1.6fr;gap:12px;margin-bottom:16px;align-items:start}
@media(max-width:820px){.ov-map-todos{grid-template-columns:1fr}}
.ov-map-todos .map-card,.ov-map-todos #ov-todos-card{margin-bottom:0}
.ov-map-narrow #ov-map{height:100%;min-height:360px}
.ov-map-narrow{display:flex;flex-direction:column}

/* ── ÜBERSICHT: Statuskacheln (Vorbild-Layout) ── */
.ov-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
@media(max-width:720px){.ov-stat-row{grid-template-columns:1fr}}
.stat-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:16px;padding:16px 18px;
  box-shadow:0 1px 3px rgba(0,0,0,.12);
}
body.light .stat-card{box-shadow:0 1px 3px rgba(0,0,0,.06)}
.stat-label{font-size:11px;font-weight:600;color:var(--text2);margin-bottom:8px}
.stat-big{font-family:'Outfit',sans-serif;font-size:23px;font-weight:800;color:var(--text);letter-spacing:-.02em;line-height:1.15}
.stat-big .stat-unit{font-size:14px;font-weight:600;color:var(--text2)}
.stat-dates{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:12px;color:var(--text2)}
.stat-swap{width:20px;height:20px;border-radius:50%;background:var(--teal-bg);color:var(--teal-text);display:inline-flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}
.stat-avatars{display:flex;align-items:center;margin-top:11px;min-height:26px}
.ov-avatar{
  width:26px;height:26px;border-radius:50%;
  background:var(--teal-bg);border:2px solid var(--surface);
  color:var(--teal-text);display:inline-flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;margin-left:-6px;overflow:hidden;
}
.ov-avatar:first-child{margin-left:0}
.ov-avatar img{width:100%;height:100%;object-fit:cover}
.ov-avatar.more{background:var(--surface3);color:var(--text2)}
.stat-route{margin-top:9px;font-size:12px;color:var(--text2);font-weight:500}
.stat-route.dest-route-flags{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.dest-countries{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--text);min-width:0}
.dest-country{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dest-swap{color:var(--text3);flex-shrink:0}
.dest-flight{font-size:12px;color:var(--text2);white-space:nowrap;display:inline-flex;align-items:center;gap:4px}

/* To-do-Tabelle: Ein-/Ausklapp-Chevron */
.ovt-chevron{display:inline-block;transition:transform .18s;font-size:11px;color:var(--text3)}
#ov-todos-card.collapsed .ovt-chevron{transform:rotate(-90deg)}

/* ── ÜBERSICHT: To-do-Tabelle ── */
.ovt-side-toggle{
  font-size:10px;font-weight:600;letter-spacing:0;text-transform:none;
  color:var(--teal-text);cursor:pointer;
  padding:3px 9px;border-radius:999px;
  background:var(--teal-bg);border:1px solid var(--teal-b);
}
.ovt-side-toggle:hover{border-color:var(--teal-text)}
.ovt-table{width:100%;border-collapse:collapse;font-size:13px}
.ovt-table th{
  text-align:left;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text3);padding:0 8px 8px;border-bottom:1px solid var(--border);
}
.ovt-table td{padding:9px 8px;border-bottom:1px solid var(--border)}
.ovt-table tr:last-child td{border-bottom:none}
.ovt-num{color:var(--text3);font-family:'Outfit',sans-serif;font-weight:700}
.ovt-task{display:flex;align-items:center;gap:9px;cursor:pointer}
.ovt-task input[type=checkbox]{flex-shrink:0}
.ovt-task span{color:var(--text)}
.ovt-task .ovt-done{text-decoration:line-through;color:var(--text3)}
.ovt-assignee{width:100%;font-size:12px;padding:5px 8px}
.ovt-prio-badge{
  display:inline-flex;align-items:center;
  border-radius:999px;border:1px solid;padding:1px 4px 1px 10px;
}
.ovt-prio-badge select{
  background:transparent;border:none;outline:none;
  color:inherit;font-weight:700;font-size:12px;
  padding:2px 4px;cursor:pointer;-webkit-appearance:none;appearance:none;
}
.ovt-prio-badge select option{color:var(--text);background:var(--surface)}
.ovt-empty{color:var(--text3);text-align:center;padding:16px 8px}
.ovt-add{display:flex;gap:8px;margin-top:12px}
.ovt-add input{flex:1}
/* Priorität/Zuständig in der Seitenleisten-To-do-Liste */
.stodo-prio-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.stodo-assignee{font-size:10px;color:var(--text2)}

/* ── Fällige-To-dos-Warnbanner (über der Timeline, volle Rail-Breite) ── */
.ov-todo-notify{margin-bottom:12px}
.due-banner{
  background:var(--danger-bg);
  border:1px solid var(--danger);
  border-radius:16px;
  padding:16px 18px;
  text-align:center;
}
.due-banner-warn{font-size:26px;line-height:1;margin-bottom:6px}
.due-banner-title{
  font-family:'Outfit',sans-serif;font-size:15px;font-weight:800;
  color:var(--danger);letter-spacing:-.01em;margin-bottom:10px;
}
.due-banner-list{display:flex;flex-direction:column;gap:7px;text-align:left}
.due-banner-row{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--text)}
.due-banner-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.due-banner-date{font-size:11px;font-weight:700;color:var(--danger);white-space:nowrap}

/* ── ÜBERSICHT: 2-Spalten-Layout (Hauptbereich + Timeline-Rail) ── */
.ov-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.ov-main-col{min-width:0}
.ov-side-col{position:sticky;top:76px;align-self:start}
.ov-side-col #ov-timeline-card{margin-bottom:0}
/* Timeline im schmalen Rail: Kalender oben, Agenda darunter (gestapelt) */
.ov-side-col .tl-body{grid-template-columns:1fr;gap:16px}
@media(max-width:1100px){
  .ov-grid{grid-template-columns:1fr}
  .ov-side-col{position:static}
  .ov-side-col .tl-body{grid-template-columns:1fr 1fr}
}

@media(max-width:720px){.ov-side-col .tl-body{grid-template-columns:1fr}}

/* ── TIMELINE (Kalender + Agenda) ── */
.tl-add-btn{font-size:12px;padding:5px 12px;letter-spacing:0;text-transform:none}
.tl-body{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:720px){.tl-body{grid-template-columns:1fr}}
.tl-cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.tl-cal-nav span{font-family:'Outfit',sans-serif;font-weight:700;font-size:14px;color:var(--text);text-transform:capitalize}
.tl-cal-nav button{width:26px;height:26px;border-radius:8px;border:1px solid var(--border2);background:var(--surface2);color:var(--text);cursor:pointer;font-size:14px;line-height:1}
.tl-cal-nav button:hover{border-color:var(--teal-text);color:var(--teal-text)}
.tl-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.tl-cal-head{margin-bottom:5px}
.tl-cal-head span{text-align:center;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text3)}
.tl-day{
  position:relative;aspect-ratio:1;
  display:flex;align-items:center;justify-content:center;
  border:none;background:transparent;border-radius:9px;
  font-size:12px;color:var(--text);cursor:pointer;
  font-family:'Outfit',sans-serif;
  transition:background .12s;
}
.tl-day:hover{background:var(--surface3)}
.tl-day.other{color:var(--text3);opacity:.5}
.tl-day.trip{background:var(--teal-bg);color:var(--teal-text);font-weight:700}
.tl-day.today{box-shadow:none}
.tl-dots{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px}
.tl-dot{position:static;width:4px;height:4px;border-radius:50%;background:var(--coral)}
.tl-dot-todo{background:var(--teal)}
#page-overview #ov-timeline-card .tl-day.today:after{
  content:"";position:absolute;inset:-9%;z-index:2;pointer-events:none;
  background:url('assets/calendar-selected-frame.png?v=1') center/100% 100% no-repeat;
}
#page-overview #ov-timeline-card .tl-day.today>*{position:relative;z-index:3}
.tl-agenda-title{font-family:'Outfit',sans-serif;font-weight:700;font-size:13px;color:var(--text);margin-bottom:10px;text-transform:capitalize}
.tl-event{
  position:relative;
  background:var(--surface2);
  border:1px solid var(--border);
  border-left:3px solid var(--teal);
  border-radius:10px;
  padding:9px 12px;margin-bottom:8px;
}
.tl-event-todo{background:var(--teal-bg)}
.tl-event-todo.completed{opacity:.62}
.tl-event-todo.completed .tl-event-title{text-decoration:line-through}
.tl-event-time{font-size:11px;color:var(--text2);font-family:'Outfit',sans-serif;font-weight:600}
.tl-event-title{font-size:13px;color:var(--text);font-weight:500;margin-top:2px;display:flex;align-items:center;gap:7px}
.tl-ev-ic{font-size:13px}
.tl-ev-edit{margin-left:auto;background:none;border:none;color:var(--text3);cursor:pointer;font-size:13px;line-height:1;padding:2px 3px}
.tl-ev-edit:hover{color:var(--teal-text)}
.tl-ev-edit+.tl-ev-del{margin-left:2px}
.tl-ev-del{margin-left:auto;background:none;border:none;color:var(--text3);cursor:pointer;font-size:16px;line-height:1;padding:0 2px}
.tl-ev-del:hover{color:var(--danger)}
.tl-empty{font-size:12px;color:var(--text3);padding:10px 2px}

/* ── HERO mit Reisezielfoto ── */
.dest-hero#ov-hero{
  position:relative;
  overflow:hidden;
  min-height:170px;
  border-radius:20px;
  padding:22px 24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:0;
  border:1px solid var(--border);
  background:var(--surface2);
}
.hero-photo{
  position:absolute;inset:0;z-index:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:var(--surface3);
  transition:opacity .5s ease;
  opacity:0;
}
.hero-photo.loaded{opacity:1}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(10,14,30,.72) 0%,rgba(10,14,30,.42) 45%,rgba(10,14,30,.06) 100%);
}
.hero-todo-warning{
  position:absolute;z-index:4;top:22px;right:22px;
  display:flex;align-items:flex-start;gap:11px;width:max-content;max-width:min(390px,calc(100% - 44px));
  padding:11px 13px;border:1px solid rgba(255,255,255,.32);border-radius:14px;
  background:rgba(196,28,42,.94);color:#fff;cursor:pointer;text-align:left;
  font-family:'Plus Jakarta Sans',sans-serif;box-shadow:0 8px 24px rgba(100,0,8,.28);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:transform .16s ease,background .16s ease;
}
.hero-todo-warning[hidden]{display:none!important}
.hero-todo-warning:hover{background:#b91426;transform:translateY(-2px)}
.hero-todo-warning-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;margin-top:1px}
.hero-todo-warning-icon svg{width:28px;height:28px;display:block}
.hero-todo-warning-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.hero-todo-warning-copy strong{font-size:12px;line-height:1.15;letter-spacing:.045em;text-transform:uppercase}
.hero-todo-warning-copy span{font-size:11px;line-height:1.3;color:rgba(255,255,255,.9)}
.hero-todo-warning-list{display:flex!important;flex-direction:column;gap:5px;margin-top:6px;padding-top:7px;border-top:1px solid rgba(255,255,255,.25);max-height:122px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.6) transparent}
.hero-todo-warning-list::-webkit-scrollbar{width:4px}
.hero-todo-warning-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.6)}
.hero-todo-warning-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding-right:5px}
.hero-todo-warning-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font-weight:650}
.hero-todo-warning-status{white-space:nowrap;color:#fff!important;font-size:9px!important;font-style:normal;font-weight:750;text-transform:uppercase;letter-spacing:.035em;background:rgba(88,0,8,.27);padding:2px 5px;border-radius:4px}
.hero-todo-warning-arrow{font-size:19px;line-height:1;margin:4px 0 0 2px}
.hero-content{position:relative;z-index:2}
.hero-eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.04em;
  color:rgba(255,255,255,.9);
  margin-bottom:2px;
  text-shadow:0 1px 6px rgba(0,0,0,.4);
}
.dest-hero#ov-hero .dest-name{
  font-family:'Outfit',sans-serif;
  font-size:clamp(30px,4vw,46px);
  font-weight:800;
  letter-spacing:-1px;
  line-height:1.05;
  color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.45);
}
.hero-nav{position:relative;z-index:2;display:flex;gap:10px}
.hero-arrow{
  width:40px;height:40px;border-radius:50%;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.16);
  color:#fff;font-size:16px;cursor:pointer;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;
  transition:background .15s,transform .15s;
}
.hero-arrow:hover{background:rgba(255,255,255,.32);transform:translateY(-1px)}
.hero-arrow.primary{background:#fff;color:#15172b;border-color:#fff}
.hero-arrow.primary:hover{background:rgba(255,255,255,.88)}

/* ── AUSGABEN-Donut ── */
.ov-expenses-card{display:flex;flex-direction:column}
.expenses-donut{width:114px;height:104px;flex-shrink:0;position:relative}
.expenses-donut svg{width:100%;height:100%;transform:rotate(-90deg)}
.expenses-donut .donut-center{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
}
.expenses-donut .donut-total{font-family:'Outfit',sans-serif;font-size:15px;font-weight:800;color:var(--text);line-height:1}
.expenses-donut .donut-label{font-size:8px;letter-spacing:.06em;text-transform:uppercase;color:var(--text3);margin-top:2px}
.exp-legend-row{display:flex;align-items:center;gap:8px;padding:3px 0;font-size:12px}
.exp-legend-row .dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.exp-legend-row .exp-name{color:var(--text2);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.exp-legend-row .exp-val{font-family:'Outfit',sans-serif;font-weight:700;color:var(--text);white-space:nowrap}
.exp-empty{font-size:12px;color:var(--text3)}

/* ── ÜBERSICHT: lebendige Desktop-Collage ── */
#page-overview .page-sub{margin-bottom:18px}
#page-overview .ov-grid{
  position:relative;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:
    max(340px,calc(56dvh - 125.44px))
    max(260px,calc(44dvh - 98.56px))
    auto;
  gap:14px;
  align-items:stretch;
}
#page-overview .ov-main-col,
#page-overview .ov-hero-row,
#page-overview .ov-map-todos,
#page-overview .ov-side-col{display:contents}
#page-overview #ov-hero{
  grid-column:1 / span 5;
  grid-row:1 / span 2;
  min-height:0;
  margin:0;
  border-radius:26px;
  padding:28px;
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}
#page-overview #ov-hero .hero-overlay{
  background:linear-gradient(180deg,rgba(9,12,22,.02) 0%,rgba(9,12,22,.07) 44%,rgba(9,12,22,.52) 100%);
}
#page-overview #ov-hero .hero-content{margin-top:auto;margin-bottom:22px}
#page-overview #ov-hero .hero-eyebrow{
  display:inline-flex;padding:6px 10px;margin-bottom:10px;border-radius:999px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(8px);text-transform:uppercase;letter-spacing:.09em;font-size:9px;
}
#page-overview #ov-hero .dest-name{font-size:clamp(38px,4vw,58px)}
.hero-trip-meta{margin-top:9px;color:rgba(255,255,255,.88);font-size:13px;font-weight:600;text-shadow:0 1px 8px rgba(0,0,0,.55)}
#page-overview .ov-map-narrow{
  grid-column:6 / span 3;grid-row:1;margin:0;min-width:0;overflow:hidden;
  border-radius:24px;border:1px solid var(--border2);
  box-shadow:0 12px 30px rgba(0,0,0,.14);
}
#page-overview .ov-map-narrow #ov-map{height:100%;min-height:0}
#page-overview .ov-map-narrow .map-card-bar{padding:12px 14px}
#page-overview .ov-expenses-card{
  grid-column:6 / span 3;grid-row:2;margin:0;padding:20px;border-radius:24px;
  background:linear-gradient(145deg,var(--surface) 0%,var(--surface2) 100%);
  border-color:var(--border2);box-shadow:0 12px 30px rgba(0,0,0,.13);
}
#page-overview .ov-expenses-card .card-title{margin-bottom:10px;color:var(--text2)}
#page-overview #ov-expenses-body{flex:1;gap:14px!important;min-height:0!important}
#page-overview .expenses-donut{width:147px;height:134px}
#page-overview #ov-timeline-card{
  grid-column:9 / span 4;grid-row:1;margin:0;padding:18px;border-radius:24px;
  background:linear-gradient(155deg,var(--surface) 0%,var(--surface2) 100%);
  border-color:var(--border2);box-shadow:0 12px 30px rgba(0,0,0,.13);overflow:hidden;
  position:relative;display:flex;flex-direction:column;
}
#page-overview #ov-timeline-card .card-title{margin-bottom:10px}
#page-overview #ov-timeline-card .tl-body{
  grid-template-columns:1fr;gap:12px;min-height:0;flex:1;overflow-y:auto;padding-right:38px;
  scrollbar-width:none;-ms-overflow-style:none;
}
#page-overview #ov-timeline-card .tl-body::-webkit-scrollbar{display:none}
#page-overview #ov-timeline-card .tl-agenda-title{margin-bottom:6px;font-size:11px}
#page-overview #ov-timeline-card .tl-event{padding:7px 9px;margin-bottom:5px}
#page-overview #ov-timeline-card .tl-day{border-radius:8px;font-size:11px;aspect-ratio:auto;height:36px}
#page-overview #ov-timeline-card .tl-dots{bottom:2px}
#page-overview #ov-timeline-card .tl-add-btn{width:100%;margin-top:8px}

/* Manuell gepflegter Online-Check-in */
.manual-checkin-label{display:block;font-size:10px;font-weight:700;color:var(--text3);margin-bottom:4px;text-align:left}
.manual-checkin-input{display:block;width:190px;max-width:100%;font-size:11px;padding:6px 8px;margin-bottom:6px}

/* Unterkunftsseite: kompakte Hotelübersicht statt Check-in-/Gepäckkarten */
.accommodation-overview-row{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:16px 0;border-bottom:1px solid var(--border);
}
.accommodation-overview-row:last-child{border-bottom:0}
.accommodation-overview-icon{width:44px;height:44px;display:grid;place-items:center;font-size:24px;background:var(--surface2);border-radius:12px}
.accommodation-overview-main{min-width:0}
.accommodation-overview-name{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.accommodation-overview-meta{font-size:12px;color:var(--text2);margin-top:4px}
.accommodation-overview-board{font-size:11px;color:var(--text3);margin-top:4px}

@media(max-width:600px){
  .accommodation-overview-row{grid-template-columns:40px minmax(0,1fr);gap:10px}
  .accommodation-overview-row>.badge{grid-column:2;justify-self:start}
  .manual-checkin-input{width:100%}
}
#page-overview #ov-todos-card{
  grid-column:9 / span 4;grid-row:2;margin:0;padding:20px 20px 16px;border-radius:6px 20px 20px 6px;
  color:#382f20;background:#f8df83;border:0;box-shadow:0 14px 28px rgba(44,34,8,.18);
  transform:rotate(.35deg);overflow:hidden;position:relative;display:flex;flex-direction:column;
}
#page-overview #ov-todos-card:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;
  background:repeating-linear-gradient(to bottom,#ef735f 0 14px,transparent 14px 27px);opacity:.7;
}
#page-overview #ov-todos-card .card-title,#page-overview #ov-todos-card .ovt-chevron{color:#4a3c21}
#page-overview #ov-todos-card .card-title{font-family:'Outfit',sans-serif;font-size:13px;font-weight:800;letter-spacing:.02em;margin-bottom:8px}
#page-overview #ov-todos-card .ovt-table th:nth-child(1),
#page-overview #ov-todos-card .ovt-table td:nth-child(1),
#page-overview #ov-todos-card .ovt-table th:nth-child(3),
#page-overview #ov-todos-card .ovt-table td:nth-child(3),
#page-overview #ov-todos-card .ovt-table th:nth-child(4),
#page-overview #ov-todos-card .ovt-table td:nth-child(4){display:none}
#page-overview #ov-todos-card .ovt-table th{color:rgba(56,47,32,.58);border-color:rgba(56,47,32,.13)}
#page-overview #ov-todos-card .ovt-table td{color:#382f20;border-color:rgba(56,47,32,.13);padding:5px 3px}
#page-overview #ov-todos-card input[type=text]{background:rgba(255,255,255,.45);border-color:rgba(56,47,32,.18);color:#382f20;color-scheme:light}
#page-overview #ov-todos-card .btn-primary{background:#e7654c;color:#fff}
#page-overview #ov-todos-card .ovt-add{margin-top:9px}
.ov-price-mode{
  width:74px!important;min-width:74px;flex:0 0 74px;
  padding:7px 20px 7px 7px;font-size:12px;text-align:center;
}
.ov-price-entry-row{
  display:grid!important;grid-template-columns:minmax(96px,1fr) 74px 64px;
  gap:4px!important;align-items:center;
}
.ov-price-entry-row>input{width:100%!important;min-width:96px!important}
.ov-price-entry-row>.ov-price-mode{width:74px!important;min-width:74px!important}
.ov-price-entry-row>span{min-width:64px!important}
#page-overview #ov-flight-card input[id^="ov-price-"],
#page-overview #ov-acc-card input[id^="ov-price-"]{min-width:84px}
#page-overview #ov-todos-body{display:flex;flex-direction:column;min-height:0;flex:1}
#page-overview #ov-todos-scroll{
  min-height:0;flex:1;overflow-y:auto!important;padding-right:5px;
  scrollbar-width:none;-ms-overflow-style:none;
}
#page-overview #ov-todos-scroll::-webkit-scrollbar{display:none}
.ov-panel-scroll-arrows{
  position:absolute;right:6px;top:50%;z-index:7;transform:translateY(-50%);
  display:flex;flex-direction:column;gap:5px;
}
.ov-panel-scroll-arrows button{
  width:27px;height:27px;border-radius:9px;border:1px solid var(--border2);
  background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text);
  box-shadow:0 3px 10px rgba(0,0,0,.14);font-size:15px;line-height:1;cursor:pointer;
  backdrop-filter:blur(7px);transition:transform .12s,border-color .12s,background .12s;
}
.ov-panel-scroll-arrows button:hover{transform:translateX(-2px);border-color:var(--teal-text);background:var(--surface)}
#page-overview #ov-todos-card .ov-panel-scroll-arrows button{
  color:#4a3c21;background:rgba(255,250,224,.82);border-color:rgba(74,60,33,.2);
}
#page-overview #ov-todos-card .ov-panel-scroll-arrows button:hover{background:#fff7d2;border-color:rgba(74,60,33,.4)}
#page-overview .ov-stat-row{
  --ov-strip-start:#191d29;--ov-strip-end:#252c3c;
  --ov-strip-text:#241f19;--ov-strip-muted:rgba(36,31,25,.66);
  --ov-strip-soft:rgba(255,255,255,.1);--ov-strip-avatar:#222837;
  grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:minmax(240px,1.8fr) repeat(3,minmax(88px,.62fr));
  gap:0;margin:0 0 6px;padding:16px 28px;
  color:var(--ov-strip-text);background-color:transparent;
  background-image:url('assets/overview-status-brush-v1.png');background-position:center;background-repeat:no-repeat;background-size:100% 100%;
  border:0;border-radius:0;box-shadow:none;
}
.ov-trip-summary{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:center;padding-right:20px;min-width:0}
.ov-trip-summary-main{display:flex;align-items:center;gap:12px;grid-row:1 / span 3}
.ov-trip-pin{width:42px;height:42px;border-radius:14px;background:#ffcf5b;color:#382b07;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 6px 16px rgba(255,207,91,.22)}
#page-overview .ov-trip-summary .stat-label{color:var(--ov-strip-muted);margin:0;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
#page-overview .ov-trip-summary .stat-big{color:var(--ov-strip-text);font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.ov-trip-summary-meta{display:flex;align-items:center;gap:7px;color:var(--ov-strip-muted);font-size:11px;white-space:nowrap}
.ov-trip-summary-meta strong{color:var(--ov-strip-text)}
#page-overview .ov-trip-summary .stat-swap{width:auto;height:auto;background:none;color:var(--ov-strip-muted)}
#page-overview .ov-trip-summary .stat-route{margin:1px 0 0;color:var(--ov-strip-muted);font-size:10px;min-width:0}
#page-overview .ov-trip-summary .dest-countries{color:var(--ov-strip-text);font-size:10px}
#page-overview .ov-trip-summary .dest-flight{color:var(--ov-strip-muted);font-size:10px}
#page-overview .ov-trip-summary .stat-avatars{grid-column:2;margin:3px 0 0;min-height:0}
#page-overview .ov-trip-summary .ov-avatar{width:21px;height:21px;border-color:var(--ov-strip-avatar);font-size:9px}
.ov-status-cell{padding:4px 17px;border-left:1px solid var(--ov-strip-soft);display:grid;grid-template-columns:auto 1fr;align-content:center;column-gap:6px}
.ov-status-cell.paid{position:relative}
.ov-all-paid-stamp{
  position:absolute;z-index:4;left:50%;top:50%;width:min(112px,92%);aspect-ratio:79 / 60;
  transform:translate(-50%,-50%) rotate(-6deg);pointer-events:none;
}
.ov-all-paid-stamp[hidden]{display:none}
.ov-all-paid-stamp img{display:block;width:100%;height:100%;object-fit:contain}
.ov-all-paid-stamp.play-once{animation:ov-paid-stamp-in .72s cubic-bezier(.2,.9,.24,1.16) 1 both}
@keyframes ov-paid-stamp-in{
  0%{opacity:0;transform:translate(-50%,-50%) scale(1.8) rotate(-12deg)}
  62%{opacity:1;transform:translate(-50%,-50%) scale(.92) rotate(-4deg)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-6deg)}
}
@media(prefers-reduced-motion:reduce){.ov-all-paid-stamp.play-once{animation:none}}
.ov-status-cell strong{font-family:'Outfit',sans-serif;font-size:24px;line-height:1;color:var(--ov-strip-text)}
.ov-status-cell span{align-self:end;color:var(--ov-strip-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.ov-status-cell i{grid-column:1 / -1;height:4px;margin-top:10px;border-radius:4px;background:var(--ov-strip-soft);overflow:hidden}
.ov-status-cell i b{display:block;height:100%;width:0;border-radius:inherit;transition:width .45s ease}
.ov-status-cell.viewed i b{background:#f4bd4f}.ov-status-cell.booked i b{background:#f17464}.ov-status-cell.paid i b{background:#54c998}
#page-overview .ov-main-col>.card{grid-column:1 / -1;margin-bottom:0}
#page-overview #ov-masterdata-card{
  grid-column:1 / -1;width:100%;max-width:100%;min-width:0;
  box-sizing:border-box;overflow:hidden;contain:inline-size;
}
#page-overview #ov-masterdata-card>[style*="grid-template-columns:1fr 1fr 1fr 1fr"]{
  width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#page-overview #ov-masterdata-card>[style*="grid-template-columns:1fr 1fr 1fr 1fr"]>*{min-width:0}
#page-overview #ov-flight-card{grid-column:1 / span 6;min-width:0}
#page-overview #ov-acc-card{grid-column:7 / span 6;min-width:0}
#page-overview #ov-flight-card,#page-overview #ov-acc-card{
  width:100%;max-width:100%;overflow:hidden;isolation:isolate;
}
#page-overview #ov-flight-card>.card,#page-overview #ov-acc-card>.card{
  height:100%;margin:0;min-width:0;max-width:100%;overflow:hidden;
}
#page-overview #ov-flight-card [style*="grid-template-columns:1fr 1fr"],
#page-overview #ov-acc-card [style*="grid-template-columns:1fr 1fr"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#page-overview .ov-choice-row{position:relative;z-index:3;pointer-events:auto}
#page-overview .ov-choice-row label,
#page-overview .ov-choice-row input:not(:disabled){pointer-events:auto}
#page-overview .ov-acc-choice{
  display:inline-flex;align-items:center;gap:7px;padding:2px 0;border:0;
  background:transparent;color:var(--text);font:inherit;font-size:13px;
  line-height:1.35;cursor:pointer;box-shadow:none;appearance:none;
}
#page-overview .ov-acc-choice-dot{
  width:15px;height:15px;flex:0 0 15px;border:1px solid var(--text3);
  border-radius:50%;background:var(--surface);box-sizing:border-box;
}
#page-overview .ov-acc-choice.is-selected .ov-acc-choice-dot{
  border-color:var(--coral);box-shadow:inset 0 0 0 4px var(--surface);
  background:var(--coral);
}
#page-overview .ov-acc-choice:focus-visible{outline:2px solid var(--coral);outline-offset:4px;border-radius:3px}
#page-overview .ov-acc-choice:disabled{color:var(--text3);cursor:not-allowed;opacity:.55}
#page-overview #ov-todo-notify{position:absolute;right:14px;top:14px;z-index:8;max-width:290px}

/* Unterseiten: Status/Zusammenfassung und Gesamtpreis gemeinsam oben */
.page-summary-price-grid{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.8fr);
  gap:16px;align-items:start;margin-bottom:16px;
}
.page-summary-price-grid>.summary-status-card{height:100%;margin:0;min-width:0}
.page-summary-price-grid .summary-price-card{display:flex;flex-direction:column;justify-content:center;margin:0}
.page-summary-price-grid .summary-price-card>.card-title{margin-bottom:10px}
.subpage-price-column{min-width:0;align-self:start;margin-top:-70px}
.subpage-invoice-upload{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;margin:2px 28px 0 42px;padding:12px 14px;border:1px dashed var(--border2);border-radius:12px;background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--text2)}
.subpage-invoice-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.subpage-invoice-copy strong{font-size:12px;color:var(--text);font-weight:700}
.subpage-invoice-copy span{font-size:10px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.subpage-invoice-button{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:7px 10px;border-radius:9px;background:var(--teal);color:#fff;font-size:11px;font-weight:700;cursor:pointer;transition:transform .15s,opacity .15s}
.subpage-invoice-button:hover{transform:translateY(-1px)}
.subpage-invoice-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.subpage-invoice-button.disabled{opacity:.42;cursor:not-allowed;transform:none}
.subpage-invoice-count{font-size:10px;color:var(--text3);white-space:nowrap}
@media(max-width:1100px){
  .page-summary-price-grid{grid-template-columns:1fr}
  .subpage-price-column{margin-top:0}
}

body.light #page-overview .ov-stat-row{
  --ov-strip-start:#eaf2fc;--ov-strip-end:#dce9f8;
  --ov-strip-text:#17263a;--ov-strip-muted:rgba(23,38,58,.62);
  --ov-strip-soft:rgba(35,105,216,.16);--ov-strip-avatar:#e1ebf7;
  box-shadow:none;
}
body.vacation #page-overview .ov-stat-row{
  --ov-strip-start:#c75f3e;--ov-strip-end:#a7432e;
  --ov-strip-text:#362218;--ov-strip-muted:rgba(54,34,24,.67);
  --ov-strip-soft:rgba(255,250,243,.18);--ov-strip-avatar:#a7432e;
  box-shadow:none;
}
body.vacation #page-overview #ov-todos-card{background:#f5d978}
body.vacation #page-overview .ov-map-narrow{border-color:rgba(215,101,61,.2)}

/* Handschriftlicher Display-Look aus dem Canva-Entwurf */
.page-title,
.sb-title,
.sb-dest-name,
#page-overview #ov-hero .dest-name,
.tl-cal-nav span,
.tl-agenda-title,
#page-overview #ov-todos-card .card-title,
.expenses-donut .donut-total,
#page-overview .ov-trip-summary .stat-big,
#page-overview .ov-status-cell strong{
  font-family:'Urlaubsplaner Headings','Outfit',sans-serif!important;
  font-weight:400!important;
  letter-spacing:.055em!important;
}
.page-title{font-size:clamp(30px,3vw,40px);line-height:1.05;margin-bottom:8px}
.sb-title{font-size:23px;line-height:1.05}
.sb-dest-name{font-size:20px;line-height:1.15}
#page-overview #ov-hero .dest-name{font-size:clamp(44px,4.5vw,64px);line-height:1.04}
.tl-cal-nav span{font-size:17px}
.tl-agenda-title{font-size:16px}
#page-overview #ov-todos-card .card-title{font-size:20px;line-height:1.1;text-transform:uppercase}
.expenses-donut .donut-total{font-size:19px}
#page-overview .ov-status-cell strong{font-size:29px}

/* Wetter: dieselbe Handschrift, gut lesbar in der kompakten Sidebar-Karte */
#ov-weather,#ov-weather #wx-temp,#ov-weather #wx-loc,#ov-weather #wx-cond,
#ov-weather .wx-fc-t,#ov-weather .wx-fc-wd{
  font-family:'Urlaubsplaner Headings','Outfit',sans-serif!important;
  font-weight:400!important;letter-spacing:.035em!important;
}
#ov-weather #wx-temp{font-size:30px!important;line-height:1!important}
#ov-weather #wx-loc,#ov-weather #wx-cond,#ov-weather .wx-fc-t{font-size:16px!important}
#ov-weather .wx-fc-wd{font-size:11px!important}

/* Skalierbare Linien-Icons auf Basis der ursprünglichen Navigation */
.nav-item>svg:first-child,
.nav-group-header>svg:first-child{
  display:block!important;width:21px!important;height:21px!important;flex:0 0 21px;
  stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible;
}
.nav-sub-item>svg:first-child{
  display:block!important;width:18px!important;height:18px!important;flex:0 0 18px;
  stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible;
}
.nav-sub-sub-item>svg:first-child{
  display:block!important;width:16px!important;height:16px!important;flex:0 0 16px;
  stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible;
}
.nav-item::before,.nav-group-header::before,.nav-sub-item::before,.nav-sub-sub-item::before{content:none!important}

/* Ruhigeres Canva-artiges Desktopbild */
@media(min-width:1101px){
  .sidebar{width:238px;padding-top:0}
  .app-body{margin-left:238px}
  .main{max-width:none}
  body.vacation .sidebar,body.light .sidebar{backdrop-filter:none;-webkit-backdrop-filter:none}
  .topbar-brand{position:static;width:auto;min-width:max-content}
  .topbar-brand .sb-title{white-space:nowrap}
  .nav-item,.nav-group-header{min-height:48px;border-radius:0 14px 14px 0}
  .nav-sub-item{min-height:40px}
  .page-sub{margin-bottom:18px}
}

@media(min-width:1101px) and (max-width:1350px){
  #page-overview .ov-grid{gap:10px}
  #page-overview #ov-hero{padding:22px}
  #page-overview #ov-hero .dest-name{font-size:36px}
  #page-overview .ov-expenses-card{padding:16px}
  #page-overview .expenses-donut{width:132px;height:120px}
  #page-overview #ov-timeline-card{padding:14px}
  #page-overview #ov-todos-card{padding:16px 14px 13px}
  #page-overview .ov-stat-row{padding:14px 12px}
  .ov-trip-summary{column-gap:9px;padding-right:10px}
  .ov-trip-summary-main{gap:8px}
  .ov-trip-pin{width:34px;height:34px;border-radius:11px}
  #page-overview .ov-trip-summary .stat-big{font-size:17px;max-width:120px}
  .ov-trip-summary-meta{font-size:9px;gap:4px}
  .ov-status-cell{padding:4px 9px}
  .ov-status-cell strong{font-size:20px}
  .ov-status-cell span{font-size:8px}
}

@media(max-width:1100px){
  #page-overview .ov-grid{grid-template-columns:1fr;grid-template-rows:auto}
  #page-overview #ov-hero,#page-overview .ov-map-narrow,#page-overview .ov-expenses-card,
  #page-overview #ov-timeline-card,#page-overview #ov-todos-card,#page-overview .ov-stat-row,
  #page-overview .ov-main-col>.card,#page-overview #ov-flight-card,#page-overview #ov-acc-card{grid-column:1;grid-row:auto}
  #page-overview #ov-hero{min-height:330px}
  #page-overview .ov-map-narrow{height:330px}
  #page-overview #ov-todos-card{transform:none}
  #page-overview .ov-stat-row{grid-template-columns:1fr repeat(3,minmax(110px,.5fr))}
}

@media(max-width:600px){
  .hero-todo-warning{top:16px;right:16px;max-width:calc(100% - 32px);padding:10px 11px;border-radius:12px}
  .hero-todo-warning-icon,.hero-todo-warning-icon svg{width:24px;height:24px}
  .hero-todo-warning-icon{flex-basis:24px}
}


/* ── Archivierte Reisen: abgeschlossen, nur Ansicht ── */
.trip-archive-toggle{
  display:flex;align-items:center;gap:7px;
  padding:8px 18px;margin-top:4px;
  font-size:11px;font-weight:600;color:var(--text3);
  cursor:pointer;user-select:none;
  border-top:1px solid var(--border);
}
.trip-archive-toggle:hover{color:var(--text2)}
.trip-archive-chevron{transition:transform .18s}
.trip-archive-toggle.open .trip-archive-chevron{transform:rotate(90deg)}
.trip-archive-list{padding-bottom:4px}
.trip-item.archived{opacity:.6}
.trip-item.archived:hover{opacity:.85}
.trip-item.archived .trip-item-name{font-style:italic}
.topbar-menu-item.archived{opacity:.55}
.topbar-menu-item.archived:hover{opacity:.85}
.tm-archive-label{
  font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text3);padding:8px 10px 4px;border-top:1px solid var(--border);margin-top:4px;
}
.view-only-banner.archived{
  background:var(--surface3);
  border-color:var(--border2);
  color:var(--text2);
}

/* ── Nächste Reise: Hervorhebung in der Navigation ── */
.trip-item.trip-next{
  box-shadow:inset 2px 0 0 var(--teal-text);
}
.trip-next-badge{
  flex-shrink:0;
  font-size:8px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:2px 6px;
  border-radius:999px;
  background:var(--teal-bg);
  color:var(--teal-text);
  border:1px solid var(--teal-b);
  white-space:nowrap;
}

/* ── Sticky-Todo: Reise-Filter-Chips ── */
.stodo-trip-chip{
  font-size:10px;
  font-weight:600;
  padding:3px 9px;
  border-radius:999px;
  background:var(--teal-bg);
  color:var(--teal-text);
  border:1px solid var(--teal-b);
  cursor:pointer;
  user-select:none;
  transition:all .15s;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
/* Titel in der Topbar: Stift zeigt, dass er bearbeitbar ist */
.sb-title-edit-icon{width:12px;height:12px;color:var(--text3);flex-shrink:0;opacity:.8}
.sb-title-row:hover .sb-title-edit-icon{color:var(--teal-text);opacity:1}

/* ── Zwischenstopps (Transport-Seite): Checkbox schaltet Felder frei ── */
.stop-slot{padding-top:2px}
.stop-fields{display:none;gap:6px;margin-top:8px;padding-left:22px}
.stop-fields input[type=text]{flex:1;font-size:12px;padding:6px 8px}
.stop-fields input[type=time]{width:90px;font-size:12px;padding:6px 6px}
.stop-fields input.stop-extra-field{flex:0 0 68px;width:68px}
@media(max-width:640px){.stops-grid{grid-template-columns:1fr!important}.stop-fields{flex-wrap:wrap}}

/* ausgewählt = hell; rausgewählt (ausgeblendet) = weiß mit orangenem Rand/Text */
.stodo-trip-chip.off{
  background:#fff;
  color:var(--coral);
  border-color:var(--coral);
}
body:not(.light) .stodo-trip-chip.off{
  background:var(--surface2);
}
.stodo-trip-chip:hover{
  border-color:var(--teal-text);
}

/* ── Fixiertes Reiseziel + scrollbar-gesteuerte Sidebar-Navigation ── */
.sidebar>.sb-dest{flex:0 0 auto;position:relative;z-index:3;background:var(--surface)}
body.vacation .sidebar>.sb-dest{background:#fffaf3}
body.light .sidebar>.sb-dest{background:#fff}
.sb-scroll-wrap{position:relative;display:flex;flex:1 1 auto;min-height:0;overflow:hidden}
.sb-scroll{scroll-behavior:smooth}

/* ── Responsive Webapp-Shell ─────────────────────────────────────────── */
.mobile-nav-toggle,.mobile-nav-backdrop{display:none}

@media (min-width:1025px) and (max-width:1180px){
  .sidebar{width:72px}
  .app-body{margin-left:72px;width:calc(100% - 72px)}
  .sidebar .sb-dest,.sidebar .sb-flights,.sidebar .sb-bottom,
  .sidebar .trip-archive-toggle,.sidebar .nav-sub-sub-item,
  .sidebar .nav-item span,.sidebar .nav-group-header span,
  .sidebar .nav-sub-item span,.sidebar .nav-chevron{display:none!important}
  .sidebar nav{padding-top:10px}
  .sidebar .nav-item,.sidebar .nav-group-header,.sidebar .nav-sub-item{
    width:56px;min-height:48px;margin:2px 8px;padding:0;border-radius:14px;
    justify-content:center;
  }
  .sidebar .nav-sub{padding:0}
  .sidebar .nav-item>svg:first-child,.sidebar .nav-group-header>svg:first-child{margin:0}
  .main{padding:24px;max-width:none}
  .topbar{margin:-24px -24px 18px;padding:10px 18px}
}

@media (max-width:1180px){
  .right-panel{
    position:fixed;right:0;top:0;bottom:0;z-index:110;width:min(92vw,370px);height:100dvh;
    box-shadow:-18px 0 44px rgba(0,0,0,.24);
  }
  .right-panel.collapsed{display:none}
  .stodo-reopen-tab{z-index:109;top:76px}
}

@media (min-width:768px) and (max-width:1100px){
  #page-overview .ov-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto 360px 310px auto;
    gap:14px;
  }
  #page-overview #ov-hero{grid-column:1 / -1;grid-row:1;min-height:440px}
  #page-overview .ov-map-narrow{grid-column:1;grid-row:2;height:auto}
  #page-overview #ov-timeline-card{grid-column:2;grid-row:2;min-height:0}
  #page-overview .ov-expenses-card{grid-column:1;grid-row:3;min-height:0}
  #page-overview #ov-todos-card{grid-column:2;grid-row:3;min-height:0}
  #page-overview .ov-stat-row{grid-column:1 / -1;grid-row:4;grid-template-columns:1fr 1fr}
  #page-overview .ov-trip-summary{grid-column:1 / -1;padding:4px 8px 14px}
  #page-overview .ov-status-cell{border-top:1px solid var(--ov-strip-soft);border-left:0}
  #page-overview .ov-main-col>.card,#page-overview #ov-flight-card,#page-overview #ov-acc-card{
    grid-column:1 / -1;grid-row:auto;
  }
}

@media (max-width:1024px){
  .mobile-nav-toggle{
    display:inline-flex;width:42px;height:42px;flex:0 0 42px;border:1px solid var(--border2);
    border-radius:12px;background:var(--surface2);align-items:center;justify-content:center;
    flex-direction:column;gap:4px;cursor:pointer;color:var(--text);
  }
  .mobile-nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s,opacity .18s}
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(2){opacity:0}
  body.mobile-nav-open .mobile-nav-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .mobile-nav-backdrop{
    display:block;position:fixed;inset:0;z-index:90;background:rgba(13,18,26,.42);
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;
    backdrop-filter:blur(2px);
  }
  body.mobile-nav-open{overflow:hidden}
  body.mobile-nav-open .mobile-nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .sidebar{
    width:min(86vw,320px)!important;z-index:100;transform:translateX(-103%);
    transition:transform .24s cubic-bezier(.22,.8,.25,1);box-shadow:18px 0 46px rgba(0,0,0,.24);
  }
  body.mobile-nav-open .sidebar{transform:translateX(0)}
  .sidebar .sb-dest,.sidebar .sb-flights,.sidebar .sb-bottom,
  .sidebar .nav-item span,.sidebar .nav-group-header span,.sidebar .nav-sub-item span,
  .sidebar .nav-sub-sub-item span,.sidebar .nav-chevron{display:initial!important}
  .sidebar .sb-dest-label,.sidebar .sb-dest-name,.sidebar .sb-dest-dates,.sidebar .sb-dest-nights{display:block!important}
  .sidebar .sb-bottom{display:block!important}
  .sidebar .nav-item,.sidebar .nav-group-header,.sidebar .nav-sub-item,.sidebar .nav-sub-sub-item{
    width:auto;justify-content:flex-start;
  }
  .app-body{margin-left:0;width:100%;min-width:0}
  .main{margin-left:0!important;width:100%;max-width:none;padding:20px}
  .topbar{margin:-20px -20px 18px;padding:10px 14px;gap:10px;z-index:70}
  .topbar-left{gap:10px}
  .topbar .sb-title{display:block!important}
  .topbar-right{gap:8px}
  .topbar-center{gap:8px}
  .card{padding:20px}
  .page-summary-price-grid{grid-template-columns:1fr}
}

@media (max-width:767px){
  .main{padding:18px 14px 28px}
  .topbar{margin:-18px -14px 16px;padding:9px 12px}
  .topbar-brand .sb-title{font-size:19px;white-space:nowrap}
  .topbar-trips{padding:8px 10px}
  .topbar-newtrip{width:40px;height:40px;padding:0;justify-content:center}
  .topbar-bell{width:40px;height:40px}
  .topbar-logout{display:none}
  .page-title{font-size:32px}
  .page-sub{font-size:13px;margin-bottom:16px}

  #page-overview .ov-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:13px}
  #page-overview #ov-hero,#page-overview .ov-map-narrow,#page-overview .ov-expenses-card,
  #page-overview #ov-timeline-card,#page-overview #ov-todos-card,#page-overview .ov-stat-row,
  #page-overview .ov-main-col>.card,#page-overview #ov-flight-card,#page-overview #ov-acc-card{
    grid-column:1;grid-row:auto;width:100%;min-width:0;
  }
  #page-overview #ov-hero{order:1;min-height:clamp(370px,68svh,520px);padding:22px;border-radius:22px}
  #page-overview .ov-map-narrow{order:2;height:310px;border-radius:20px}
  #page-overview #ov-timeline-card{order:3;min-height:420px;padding:17px 14px;border-radius:20px}
  #page-overview .ov-expenses-card{order:4;min-height:260px;padding:18px;border-radius:20px}
  #page-overview #ov-todos-card{order:5;min-height:360px;padding:18px 16px;border-radius:6px 20px 20px 6px;transform:none}
  #page-overview .ov-stat-row{order:6;grid-template-columns:1fr 1fr;padding:14px;border-radius:20px}
  #page-overview .ov-trip-summary{grid-column:1 / -1;padding:2px 4px 14px}
  #page-overview .ov-status-cell{padding:12px 8px;border-left:0;border-top:1px solid var(--ov-strip-soft)}
  #page-overview .ov-status-cell:last-child{grid-column:1 / -1}
  #page-overview #ov-hero .dest-name{font-size:clamp(38px,12vw,54px)}
  #page-overview #ov-expenses-body{justify-content:center;gap:20px!important}
  #page-overview .expenses-donut{width:156px;height:142px}
  #page-overview #ov-timeline-card .tl-body{padding-right:32px}
  #page-overview #ov-masterdata-card>[style*="grid-template-columns:1fr 1fr 1fr 1fr"]{grid-template-columns:1fr!important}
  #page-overview #ov-flight-card [style*="grid-template-columns:1fr 1fr"],
  #page-overview #ov-acc-card [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}

  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr!important}
  .page [style*="grid-template-columns:1fr 1fr"],
  .page [style*="grid-template-columns:repeat(2,1fr)"],
  .page [style*="grid-template-columns:1fr 1fr 1fr"],
  .page [style*="grid-template-columns:repeat(3,1fr)"],
  .page [style*="grid-template-columns:1fr 1fr 1fr 1fr"]{grid-template-columns:1fr!important}
  .field-row{flex-wrap:wrap}
  .field-row>*{min-width:0}
  .card{padding:17px 16px;border-radius:17px}
  .confirm-bar{justify-content:stretch}
  .confirm-btn{width:100%;min-width:0}
  .flight-status-group{flex-wrap:wrap}
  .flight-status-btn{min-width:92px;min-height:42px}
  input,select,textarea{font-size:16px!important;max-width:100%}
  .page table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .user-modal-overlay{padding:16px}
  .user-modal{width:min(100%,420px);padding:26px 22px}
  .notif-panel{position:fixed;left:12px;right:12px;top:68px;width:auto;max-height:70dvh}
}

@media (max-width:480px){
  .main{padding:14px 10px 24px}
  .topbar{margin:-14px -10px 14px;padding:8px 10px;gap:7px}
  .mobile-nav-toggle{width:38px;height:38px;flex-basis:38px}
  .topbar-brand .sb-title{font-size:16px;letter-spacing:.035em!important}
  .topbar-center,.topbar-right{gap:5px}
  .topbar-trips{padding:7px 8px;font-size:12px}
  .topbar-chevron{display:none}
  .topbar-newtrip,.topbar-bell{width:38px;height:38px}
  .topbar-account{display:none}
  .card{padding:15px 13px}
  #page-overview #ov-hero{min-height:390px;padding:18px}
  #page-overview .ov-map-narrow{height:280px}
  #page-overview #ov-expenses-body{align-items:center!important;gap:12px!important}
  #page-overview .expenses-donut{width:136px;height:124px}
  #page-overview .exp-legend-row{font-size:11px;gap:5px}
  #page-overview .ov-stat-row{grid-template-columns:1fr}
  #page-overview .ov-status-cell:last-child{grid-column:auto}
  .ov-price-entry-row{grid-template-columns:minmax(80px,1fr) 74px 62px}
  .tl-cal-grid{gap:2px}
  .tl-day{border-radius:7px;font-size:10px}
}

@media (max-width:360px){
  .topbar-trips{width:38px;height:38px;padding:0;justify-content:center}
  .topbar-trips-label{display:none}
  .topbar-brand .sb-title{font-size:15px}
}

/* Papierkarte zuletzt definieren, damit ihre Form auch mobile Card-Regeln überstimmt. */
#page-overview #ov-todos-card,
body.vacation #page-overview #ov-todos-card{
  --todo-content-left:clamp(38px,3.8vw,58px);
  width:100%;justify-self:stretch;
  background-color:transparent;
  background-image:url('assets/todo-paper-tape.png?v=2');
  background-repeat:no-repeat;background-position:center;background-size:100% 100%;
  border:0;border-radius:0;box-shadow:none;transform:none;
  padding:clamp(54px,5vw,68px) clamp(48px,6vw,72px) clamp(25px,2.7vw,38px) var(--todo-content-left);
}
#page-overview #ov-todos-card:before{content:none}
#page-overview #ov-todos-card .card-title{padding-right:25%}
#page-overview #ov-todos-card .ov-panel-scroll-arrows{
  right:calc(2.3% + var(--todo-content-left) - 5px);top:53%
}
#page-overview #ov-todos-card .ovt-table th,
#page-overview #ov-todos-card .ovt-table td{border-bottom:0!important}

@media (max-width:767px){
  #page-overview #ov-todos-card,
  body.vacation #page-overview #ov-todos-card{
    --todo-content-left:42px;padding:56px 48px 30px var(--todo-content-left)
  }
}
@media (max-width:480px){
  #page-overview #ov-todos-card,
  body.vacation #page-overview #ov-todos-card{
    --todo-content-left:34px;padding:54px 44px 27px var(--todo-content-left)
  }
}

/* Handgezeichnete Scrollpfeile aus der bereitgestellten PNG. */
.ov-panel-scroll-arrows button,
#page-overview #ov-todos-card .ov-panel-scroll-arrows button{
  width:38px;height:46px;padding:0;border:0!important;border-radius:0;
  background-color:transparent!important;background-repeat:no-repeat!important;
  background-position:center!important;background-size:auto 36px!important;
  box-shadow:none!important;backdrop-filter:none!important;
  color:transparent!important;font-size:0!important;opacity:.88;
  transition:opacity .15s,transform .15s;
}
.ov-panel-scroll-arrows button:first-child{
  background-image:url('assets/scroll-arrow-up.png?v=1')!important;
}
.ov-panel-scroll-arrows button:nth-child(2){
  background-image:url('assets/scroll-arrow-down.png?v=1')!important;
}
.ov-panel-scroll-arrows button:hover,
#page-overview #ov-todos-card .ov-panel-scroll-arrows button:hover{
  opacity:1;transform:scale(1.06)!important;background-color:transparent!important;border:0!important;
}
body:not(.light):not(.vacation) #ov-timeline-card .ov-panel-scroll-arrows button{filter:invert(1)}

/* Handgezeichnete Plus-/Minuszeichen fuer die Kartensteuerung. */
#ov-map .leaflet-control-zoom-in,
#ov-map .leaflet-control-zoom-out{
  font-size:0!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:22px auto!important;
}
#ov-map .leaflet-control-zoom-in{
  background-image:url('assets/map-zoom-in.png?v=1')!important;
}
#ov-map .leaflet-control-zoom-out{
  background-image:url('assets/map-zoom-out.png?v=1')!important;
}

/* Kartensteuerung ohne Umrandung und Schlagschatten. */
#ov-map .leaflet-control-zoom,
#ov-map .leaflet-control-zoom a{
  border:0!important;
  box-shadow:none!important;
}

/* Handgezeichnete Kontur ueber dem weiterhin dynamischen Budgetdiagramm. */
#page-overview .expenses-donut svg{
  position:relative;z-index:1;
}
#page-overview .expenses-donut:after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:url('assets/budget-stat-shape.png?v=1') center/100% 100% no-repeat;
}
#page-overview .expenses-donut .donut-center{z-index:3}
body:not(.light):not(.vacation) #page-overview .expenses-donut:after{filter:invert(1)}

/* Karte und Reisebudget auf der Startseite ohne Kartenrahmen. */
#page-overview .ov-map-narrow,
#page-overview .ov-expenses-card{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
#page-overview .ov-map-narrow .map-card-bar{
  border-bottom:0!important;
}

/* Kalenderkarte ohne Schlagschatten. */
#page-overview #ov-timeline-card{
  box-shadow:none!important;
}

/* Navigation wieder klassisch per Scrollleiste statt mit Pfeilen bedienen. */
.sb-scroll{padding-right:4px;scrollbar-width:thin;scrollbar-color:var(--border2) transparent}
.sb-scroll::-webkit-scrollbar{display:block;width:7px}
.sb-scroll::-webkit-scrollbar-track{background:transparent}
.sb-scroll::-webkit-scrollbar-thumb{background:var(--border2);border-radius:0}
.sb-scroll::-webkit-scrollbar-thumb:hover{background:var(--text3)}

/* Kalender im handgezeichneten Stil der bereitgestellten Referenz. */
#page-overview #ov-timeline-card{
  --calendar-contrast:var(--teal-text);
  border:0!important;border-radius:20px;padding:27px 34px 25px 29px;
  isolation:isolate;
}
#page-overview #ov-timeline-card:after{
  content:"";position:absolute;inset:7px;z-index:1;pointer-events:none;
  background-color:var(--calendar-contrast);
  -webkit-mask:url('assets/calendar-frame-mask-v2.png?v=1') center/100% 100% no-repeat;
  mask:url('assets/calendar-frame-mask-v2.png?v=1') center/100% 100% no-repeat;
}
#page-overview #ov-timeline-card>*{position:relative;z-index:2}
#page-overview #ov-timeline-card .tl-body{padding-right:27px;gap:19px}
#page-overview #ov-timeline-card .tl-cal-wrap{padding:1px 1px 3px}
#page-overview #ov-timeline-card .tl-cal-nav{justify-content:center;gap:27px;margin-bottom:13px}
#page-overview #ov-timeline-card .tl-cal-nav span{
  min-width:150px;text-align:center;font-family:'Urlaubsplaner Headings',sans-serif;
  font-size:19px;font-weight:400;letter-spacing:.055em;line-height:1.2;
}
#page-overview #ov-timeline-card .tl-cal-nav button{
  width:34px;height:28px;padding:0;border:0!important;border-radius:0!important;
  background-color:var(--calendar-contrast)!important;box-shadow:none!important;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  opacity:.92;transition:opacity .15s,transform .15s;
}
#page-overview #ov-timeline-card .tl-cal-nav button.tl-month-prev{
  -webkit-mask-image:url('assets/calendar-month-prev.png?v=1');mask-image:url('assets/calendar-month-prev.png?v=1');
}
#page-overview #ov-timeline-card .tl-cal-nav button.tl-month-next{
  -webkit-mask-image:url('assets/calendar-month-next.png?v=1');mask-image:url('assets/calendar-month-next.png?v=1');
}
#page-overview #ov-timeline-card .tl-cal-nav button:hover{opacity:1;transform:scale(1.12)}
#page-overview #ov-timeline-card .tl-cal-head{margin-bottom:7px}
#page-overview #ov-timeline-card .tl-cal-head span{font-size:10.5px;letter-spacing:.045em}
#page-overview #ov-timeline-card .tl-cal-grid{gap:4px}
#page-overview #ov-timeline-card .tl-day{
  height:39px;border-radius:8px;font-size:13.5px;font-weight:500;
}
#page-overview #ov-timeline-card .tl-day.trip{font-weight:700}
#page-overview #ov-timeline-card .tl-agenda-title{font-size:13px;letter-spacing:.02em}
#page-overview #ov-timeline-card .tl-empty{font-size:12px}

/* Scrollpfeile des Kalenders werden durch die zwei Originalpunkte ersetzt. */
#page-overview #ov-timeline-card .calendar-scroll-dots{
  position:absolute;right:18px;top:50%;z-index:5;transform:translateY(-50%);
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
#page-overview #ov-timeline-card .calendar-scroll-dots button{
  width:17px;height:17px;padding:0;border:0!important;border-radius:0!important;
  background-color:var(--calendar-contrast)!important;box-shadow:none!important;
  cursor:pointer;opacity:.27;transition:opacity .16s,transform .16s;
  -webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-size:contain;mask-size:contain;
}
#page-overview #ov-timeline-card .calendar-scroll-dots button:first-child{
  -webkit-mask-image:url('assets/calendar-scroll-dot-top.png?v=1');mask-image:url('assets/calendar-scroll-dot-top.png?v=1');
}
#page-overview #ov-timeline-card .calendar-scroll-dots button:nth-child(2){
  -webkit-mask-image:url('assets/calendar-scroll-dot-bottom.png?v=1');mask-image:url('assets/calendar-scroll-dot-bottom.png?v=1');
}
#page-overview #ov-timeline-card .calendar-scroll-dots button.is-active{opacity:1;transform:scale(1.08)}
#page-overview #ov-timeline-card .calendar-scroll-dots button:hover{opacity:.72}

/* Der handgezeichnete Kasten des heutigen Tages folgt der Theme-Kontrastfarbe. */
#page-overview #ov-timeline-card .tl-day.today:after{
  background:var(--calendar-contrast)!important;
  -webkit-mask:url('assets/calendar-selected-frame.png?v=1') center/100% 100% no-repeat;
  mask:url('assets/calendar-selected-frame.png?v=1') center/100% 100% no-repeat;
}

@media(max-width:1100px){
  #page-overview #ov-timeline-card{padding:25px 31px 24px 27px}
  #page-overview #ov-timeline-card .tl-day{height:42px;font-size:14px}
}
@media(max-width:560px){
  #page-overview #ov-timeline-card{padding:23px 27px 22px 22px}
  #page-overview #ov-timeline-card .tl-body{padding-right:22px}
  #page-overview #ov-timeline-card .tl-cal-nav{gap:12px}
  #page-overview #ov-timeline-card .tl-cal-nav span{min-width:128px;font-size:17px}
  #page-overview #ov-timeline-card .tl-day{height:36px;font-size:12px}
  #page-overview #ov-timeline-card .calendar-scroll-dots{right:13px}
}

/* ── Polaroid-Hero, Pinsel-Countdown und offener Kalender ── */
.topbar-countdown{
  min-width:360px;max-width:46vw;padding:11px 30px 10px;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#fff;text-shadow:0 1px 1px rgba(104,73,0,.25);overflow:visible;
}
.topbar-countdown:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url('assets/countdown-brush-v1.png?v=1') center/100% 100% no-repeat;
}

#page-overview #ov-hero{
  aspect-ratio:417/469;min-height:0!important;padding:0!important;
  overflow:visible!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
#page-overview #ov-hero .hero-photo,
#page-overview #ov-hero .hero-overlay{
  inset:15.56% 7.43% auto;height:63.1%;border-radius:0;
}
#page-overview #ov-hero .hero-overlay{
  background:linear-gradient(180deg,rgba(9,12,22,0) 35%,rgba(9,12,22,.48) 100%);
}
#page-overview #ov-hero .hero-polaroid-frame{
  position:absolute;inset:0;z-index:3;width:100%;height:100%;object-fit:fill;pointer-events:none;
}
#page-overview #ov-hero .hero-content{
  position:absolute;z-index:4;left:11%;right:11%;bottom:23.5%;margin:0;
}
#page-overview #ov-hero .hero-eyebrow{margin-bottom:7px}
#page-overview #ov-hero .dest-name{font-size:clamp(35px,3.6vw,54px)}
#page-overview #ov-hero .hero-trip-meta{
  position:absolute;z-index:4;left:10.5%;right:10.5%;bottom:8.1%;margin:0;
  color:#413b37;text-shadow:none;font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(10px,.9vw,13px);font-weight:600;line-height:1.35;white-space:normal;
}
#page-overview #ov-hero .hero-nav{
  position:absolute;z-index:4;left:10.5%;bottom:1.9%;gap:13px;
}
#page-overview #ov-hero .hero-arrow{
  width:29px;height:23px;padding:0;border:0!important;border-radius:0!important;
  background-color:#413b37!important;box-shadow:none!important;backdrop-filter:none!important;
  -webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-size:contain;mask-size:contain;opacity:.86;
}
#page-overview #ov-hero .hero-arrow-prev{
  -webkit-mask-image:url('assets/calendar-month-prev.png?v=1');mask-image:url('assets/calendar-month-prev.png?v=1');
}
#page-overview #ov-hero .hero-arrow-next{
  -webkit-mask-image:url('assets/calendar-month-next.png?v=1');mask-image:url('assets/calendar-month-next.png?v=1');
}
#page-overview #ov-hero .hero-arrow:hover{opacity:1;transform:scale(1.08)}
#page-overview #ov-hero .hero-todo-warning{top:18%;right:10%;z-index:5}

#page-overview #ov-timeline-card{
  padding:20px 31px 24px 22px!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
#page-overview #ov-timeline-card:after{inset:2px}
#page-overview #ov-timeline-card .tl-body{padding-right:22px;gap:16px}
#page-overview #ov-timeline-card .tl-cal-wrap{padding:0}
#page-overview #ov-timeline-card .calendar-scroll-dots{right:28px}
#page-overview #ov-timeline-card .tl-agenda{padding:0 3px 12px 1px}
#page-overview #ov-timeline-card .tl-agenda-title{
  margin:0 0 10px;font-family:'Plus Jakarta Sans',sans-serif!important;
  font-size:12px!important;font-weight:600!important;letter-spacing:0!important;
}
#page-overview #ov-timeline-card .tl-empty{margin-bottom:10px}
#page-overview #ov-timeline-card .tl-add-btn{margin-top:9px;margin-bottom:7px}

@media(max-width:1100px){
  .topbar-countdown{min-width:300px;max-width:40vw;padding:9px 24px;font-size:19px}
  #page-overview #ov-hero{width:min(100%,560px);justify-self:center}
  #page-overview #ov-timeline-card{padding:18px 29px 23px 20px!important}
  #page-overview #ov-timeline-card .calendar-scroll-dots{right:26px}
}
@media(max-width:560px){
  #page-overview #ov-hero{width:100%;aspect-ratio:417/469}
  #page-overview #ov-hero .dest-name{font-size:clamp(34px,11vw,48px)}
  #page-overview #ov-hero .hero-trip-meta{font-size:10px}
  #page-overview #ov-timeline-card{padding:17px 26px 22px 18px!important}
  #page-overview #ov-timeline-card .tl-body{padding-right:18px}
  #page-overview #ov-timeline-card .calendar-scroll-dots{right:23px}
}

/* Theme-spezifische Originalgrafiken und feinere Polaroid-Beschriftung. */
body.vacation #page-overview #ov-hero .hero-polaroid-frame{
  content:url('assets/hero-polaroid-frame-vacation-v1.png?v=1');
}
#page-overview #ov-hero .hero-trip-meta{bottom:12%}
#page-overview #ov-hero .hero-nav{bottom:5.1%;align-items:center}
#page-overview #ov-hero .hero-nav-label{
  color:#413b37;font-family:'Plus Jakarta Sans',sans-serif;font-size:10px;font-weight:600;
  line-height:1;white-space:nowrap;
}

/* Im Lightmode bleiben die hochgeladenen Kalendergrafiken schwarz/grau. */
body.light #page-overview #ov-timeline-card:after{
  background:transparent url('assets/calendar-frame-mask-v2.png?v=1') center/100% 100% no-repeat;
  -webkit-mask:none;mask:none;
}
body.light #page-overview #ov-timeline-card .tl-cal-nav button{
  background-color:transparent!important;-webkit-mask:none;mask:none;
  background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;
}
body.light #page-overview #ov-timeline-card .tl-cal-nav button.tl-month-prev{
  background-image:url('assets/calendar-month-prev.png?v=1')!important;
}
body.light #page-overview #ov-timeline-card .tl-cal-nav button.tl-month-next{
  background-image:url('assets/calendar-month-next.png?v=1')!important;
}
body.light #page-overview #ov-timeline-card .calendar-scroll-dots button{
  background-color:transparent!important;-webkit-mask:none;mask:none;
  background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;
}
body.light #page-overview #ov-timeline-card .calendar-scroll-dots button:first-child{
  background-image:url('assets/calendar-scroll-dot-top.png?v=1')!important;
}
body.light #page-overview #ov-timeline-card .calendar-scroll-dots button:nth-child(2){
  background-image:url('assets/calendar-scroll-dot-bottom.png?v=1')!important;
}
body.light #page-overview #ov-timeline-card .tl-day.today:after{background:#2c2927!important}

body.light #page-overview #ov-todos-card .ovt-task .ovt-done,
body.vacation #page-overview #ov-todos-card .ovt-task .ovt-done,
body.light #page-overview #ov-todos-card .stodo-item label.done,
body.vacation #page-overview #ov-todos-card .stodo-item label.done{
  color:#ffffff!important;
}

/* ── Reisebudget direkt auf dem hochgeladenen Papier ── */
#page-overview .ov-expenses-card{
  position:relative;
  padding:72px 25px 27px 38px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;
  background-color:transparent!important;
  background-image:url('assets/subpage-price-paper-v1.png?v=1')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;
}
#page-overview .ov-budget-title{
  position:absolute;z-index:2;top:16.95%;left:55.7%;width:49%;transform:translate(-50%,-50%);
  margin:0;text-align:center;white-space:nowrap;color:#342a24;
  font-family:'Urlaubsplaner Headings','Outfit',sans-serif;font-size:24px;font-weight:400;
  line-height:1;letter-spacing:.035em;
}
#page-overview #ov-expenses-body{
  width:100%;min-height:0!important;margin:0;background:transparent!important;
  align-items:center!important;justify-content:center;gap:11px!important;
}
#page-overview .expenses-donut,
#page-overview .expenses-donut svg,
#page-overview .expenses-donut .donut-center,
#page-overview .expenses-donut .donut-total,
#page-overview .expenses-donut .donut-label,
#page-overview .expenses-legend,
#page-overview .exp-legend-row,
#page-overview .exp-legend-row .exp-name,
#page-overview .exp-legend-row .exp-val{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#page-overview .expenses-donut{width:132px;height:120px}
#page-overview .expenses-donut:after{background-color:transparent!important}
#page-overview .expenses-legend{padding:0!important}
#page-overview .exp-legend-row{padding:3px 0}

@media(min-width:1101px) and (max-width:1350px){
  #page-overview .ov-expenses-card{padding:64px 19px 23px 32px!important}
  #page-overview .expenses-donut{width:119px;height:108px}
  #page-overview .exp-legend-row{font-size:11px;gap:6px}
}
@media(max-width:1100px){
  #page-overview .ov-expenses-card{
    min-height:0!important;aspect-ratio:368/297;padding:23% 9% 9% 12%!important;
    justify-self:center;max-width:600px;
  }
}

/* Bei Rundreisen kennzeichnet die Handschrift nur das aktuell gültige Ziel. */
.sb-dest-name .trip-destination-segment,
#page-overview #ov-hero .dest-name .trip-destination-segment,
.sb-dest-name .trip-destination-separator,
#page-overview #ov-hero .dest-name .trip-destination-separator{
  font-family:'Outfit',sans-serif!important;font-weight:400!important;letter-spacing:0!important;
}
.sb-dest-name .trip-destination-segment.is-current,
#page-overview #ov-hero .dest-name .trip-destination-segment.is-current{
  font-family:'Urlaubsplaner Headings','Outfit',sans-serif!important;
  font-weight:400!important;letter-spacing:.055em!important;
}
#page-overview #ov-hero .dest-name .trip-destination-segment:not(.is-current),
#page-overview #ov-hero .dest-name .trip-destination-separator{
  font-size:.5em!important;
  line-height:1.15;
}
.sb-dest-name .trip-destination-segment:not(.is-current),
.sb-dest-name .trip-destination-separator{
  font-size:13px!important;line-height:1.35;color:var(--text2)!important;
}
.sb-dest-name .trip-destination-segment.is-current{
  font-size:20px!important;line-height:1.15;color:var(--teal-text)!important;
}
@media(max-width:560px){
  #page-overview .ov-expenses-card{padding:23% 7% 8% 12%!important}
  #page-overview #ov-expenses-body{gap:8px!important}
  #page-overview .expenses-donut{width:128px;height:116px}
  #page-overview .exp-legend-row{font-size:11px;gap:5px}
}

/* Budget optisch groesser, ohne die Grid-Geometrie der Nachbarkarten zu veraendern. */
#page-overview .ov-expenses-card{
  transform:scale(1.06);transform-origin:center;
}
#page-overview .expenses-donut .donut-total{font-size:15px!important;letter-spacing:.02em!important}
@media(max-width:1100px){#page-overview .ov-expenses-card{transform:scale(1.03)}}
@media(max-width:560px){
  #page-overview .ov-expenses-card{transform:scale(1.015)}
  #page-overview .expenses-donut .donut-total{font-size:14px!important}
  #page-overview .ov-budget-title{font-size:21px}
}

/* Freigestellte Modus-Icons aus der gelieferten PNG-Vorlage. */
.topbar .theme-emojis{gap:8px}
.topbar .theme-emoji{
  position:relative;width:42px;height:42px;padding:2px;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;filter:none!important;opacity:1;
}
.topbar .theme-emoji:before{
  content:"";display:block;width:100%;height:100%;background-color:var(--text);
  -webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-size:contain;mask-size:contain;transition:background-color .16s,transform .16s,opacity .16s;
  opacity:.88;
}
.topbar .theme-emoji-dark:before{
  -webkit-mask-image:url('assets/theme-mode-dark-v1.png?v=1');mask-image:url('assets/theme-mode-dark-v1.png?v=1');
}
.topbar .theme-emoji-light:before{
  -webkit-mask-image:url('assets/theme-mode-light-v1.png?v=1');mask-image:url('assets/theme-mode-light-v1.png?v=1');
}
.topbar .theme-emoji-vacation:before{
  -webkit-mask-image:url('assets/theme-mode-vacation-v1.png?v=1');mask-image:url('assets/theme-mode-vacation-v1.png?v=1');
}
.topbar .theme-emoji:hover:before{opacity:1;transform:scale(1.06)}
.topbar .theme-emoji.active:before{background-color:var(--teal-text);opacity:1}

/* Preisübersichten der Unterseiten direkt auf dem gelieferten Notizpapier. */
.page-summary-price-grid .subpage-price-card{
  position:relative;display:flex;flex-direction:column;justify-content:center;
  min-height:292px!important;padding:78px 38px 34px 52px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;
  background-color:transparent!important;
  background-image:url('assets/subpage-price-paper-v1.png?v=1')!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;
}
.subpage-price-card .subpage-price-title{
  position:absolute;z-index:2;top:16.95%;left:55.7%;width:49%;transform:translate(-50%,-50%);
  margin:0;text-align:center;color:#342a24;
  font-family:'Urlaubsplaner Headings','Outfit',sans-serif;font-size:24px;font-weight:400;
  line-height:1;letter-spacing:.035em;text-transform:none;white-space:nowrap;
}
.subpage-price-card>div:not(.subpage-price-title){background:transparent!important}
.subpage-price-card [style*="border-left"]{border-left-color:rgba(98,84,73,.22)!important}
.subpage-price-card [style*="border-bottom"]{border-bottom-color:rgba(98,84,73,.18)!important}

@media(max-width:1100px){
  .page-summary-price-grid .subpage-price-card{
    width:100%;max-width:680px;min-height:330px!important;justify-self:center;
    padding:88px 46px 40px 60px!important;
  }
  .subpage-price-card .subpage-price-title{font-size:24px}
}
@media(max-width:560px){
  .page-summary-price-grid .subpage-price-card{
    min-height:300px!important;padding:76px 28px 30px 42px!important;
  }
  .subpage-price-card .subpage-price-title{font-size:21px}
  .subpage-price-card>div[style*="grid-template-columns"]{grid-template-columns:1fr!important;gap:12px!important}
  .subpage-price-card [style*="border-left"]{
    min-width:0!important;padding:12px 0 0!important;border-left:0!important;border-top:1px solid rgba(98,84,73,.22)!important;
  }
  .subpage-invoice-upload{grid-template-columns:minmax(0,1fr) auto;margin:0 12px;padding:11px 12px}
  .subpage-invoice-count{grid-column:2;grid-row:2;text-align:center}
}

/* Persönliche Zusatzkosten auf der Finanzseite. */
.fin-custom-add-card{margin-top:16px}
.fin-custom-form{display:grid;grid-template-columns:160px minmax(220px,1fr) 150px 150px auto;gap:12px;align-items:end}
.fin-custom-form label{display:flex;flex-direction:column;gap:6px;min-width:0}
.fin-custom-form label>span{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text3)}
.fin-custom-form input,.fin-custom-form select{width:100%;min-width:0}
.fin-custom-form>.btn-primary{height:38px;white-space:nowrap}
.fin-custom-error{min-height:18px;margin-top:7px;font-size:11px;color:var(--danger)}
.fin-custom-list{margin-top:4px;border-top:1px solid var(--border)}
.fin-custom-list.empty{display:none}
.fin-custom-item{display:grid;grid-template-columns:minmax(0,1fr) 170px 34px;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--border)}
.fin-custom-item:last-child{border-bottom:0}
.fin-custom-item-info{display:flex;align-items:center;gap:10px;min-width:0}
.fin-custom-item-info strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fin-custom-item-category{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:var(--teal-bg);color:var(--teal-text);font-size:10px;font-weight:700}
.fin-custom-item-value{text-align:right;font-family:'Outfit',sans-serif;font-size:14px;font-weight:700;color:var(--text)}
.fin-custom-item-value small{display:block;margin-top:2px;font-family:'Plus Jakarta Sans',sans-serif;font-size:9px;font-weight:400;color:var(--text3)}
.fin-custom-delete{width:30px;height:30px;border:0;background:transparent;color:var(--text3);font-size:22px;line-height:1;cursor:pointer}
.fin-custom-delete:hover{color:var(--danger)}
@media(max-width:1100px){.fin-custom-form{grid-template-columns:1fr 1.5fr 1fr 1fr}.fin-custom-form>.btn-primary{grid-column:1/-1}}
@media(max-width:680px){
  .fin-custom-form{grid-template-columns:1fr 1fr}
  .fin-custom-form label:nth-child(2){grid-column:1/-1}
  .fin-custom-item{grid-template-columns:minmax(0,1fr) auto 30px}
  .fin-custom-item-info{align-items:flex-start;flex-direction:column;gap:4px}
}
