/* My trips: a personal travel notebook, scoped to the account pages. */
.account-nav { font-size:14px; font-weight:600; white-space:nowrap; color:#edf0e9; text-decoration:none; }
.account-nav:hover { color:#c5d6c9; }
body[data-page="account"] :is(.selection-bar,.wa-fab) { display:none; }
.account-page { position:relative; padding-top:44px; padding-bottom:90px; min-height:75vh; max-width:1180px; }
.account-page *, .account-page *::before, .account-page *::after { box-sizing:border-box; }
.account-page [hidden] { display:none !important; }
.account-page :is(button,a,summary):focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
.account-page :is(h1,h2,h3) { overflow-wrap:anywhere; }
.account-heading { max-width:900px; margin-bottom:34px; }
.account-heading h1 { font-size:clamp(30px,3.6vw,44px); line-height:1.3; margin:12px 0 14px; }
.account-heading > p:last-child { color:var(--text-2); font-size:17px; line-height:1.8; margin:0; }
.account-page .eyebrow { color:var(--gold-deep); letter-spacing:.12em; font-size:12px; line-height:1.7; font-weight:500; text-transform:uppercase; }
.account-page h2 { font-size:26px; line-height:1.4; margin:0 0 18px; }
.account-page h3 { font-size:23px; line-height:1.4; margin:0 0 12px; }
.account-page :is(p,input,textarea,select,label) { font-size:16px; line-height:1.75; }
.account-page :is(input,textarea,select) { display:block; width:100%; min-width:0; border:1px solid #dce2d7; border-radius:11px; background:#fff; color:var(--text); padding:11px 13px; font-family:var(--font); }
.account-page :is(input,textarea,select):focus { outline:2px solid #91a68d; outline-offset:2px; }
.account-page :is(input,textarea,select):disabled { color:#69736a; background:#f1f2ed; }
.account-page textarea { resize:vertical; }
.account-page .btn { min-height:44px; border-radius:11px; font-size:14px; line-height:1.5; letter-spacing:0; text-transform:none; white-space:normal; margin:0; padding:11px 16px; }
.account-page button:disabled { opacity:.45; cursor:default; }
.account-field { display:flex; flex-direction:column; gap:7px; margin-bottom:17px; min-width:0; }
.account-field > span { font-size:14px; font-weight:500; color:#52614f; }
.account-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.account-check { display:flex; align-items:center; gap:9px; margin:2px 0 20px; }
.account-check input { width:18px; height:18px; flex-shrink:0; accent-color:var(--cyan-deep); }
.account-help,.account-unavailable { font-size:13px !important; color:var(--text-2); line-height:1.75; }
.account-login { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:620px; border:1px solid #e0e4da; border-radius:26px; overflow:hidden; background:#fff; }
.account-login__visual { position:relative; min-height:580px; overflow:hidden; color:#fff; }
.account-login__visual > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.account-login__visual::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(18,38,30,.05) 15%,rgba(14,34,27,.78)); }
.account-login__visual > div { position:absolute; z-index:1; bottom:0; padding:42px; }
.account-login__visual .eyebrow { color:#ece5cf; }
.account-login__visual h2 { font-size:clamp(30px,3vw,42px); line-height:1.45; max-width:440px; margin:18px 0; }
.account-login__visual p:last-child { color:#edf0e8; max-width:390px; margin:0; }
.account-login__form { align-self:center; min-width:0; padding:42px clamp(26px,4vw,56px); }
.account-login__form h1 { font-size:32px; line-height:1.4; margin:14px 0; }
.account-login__form > p:not(.eyebrow) { color:var(--text-2); }
.account-login-steps { display:flex; flex-wrap:wrap; list-style:none; padding:0; margin:28px 0; gap:12px 22px; color:#778172; font-size:13px; }
.account-login-steps li { padding-bottom:8px; border-bottom:2px solid #e4e7df; }
.account-login-steps [aria-current] { color:var(--cyan-deep); border-color:var(--cyan-deep); }
.account-optional-name { margin-bottom:20px; color:var(--text-2); }
.account-optional-name > summary { cursor:pointer; font-size:14px; }
.account-optional-name .account-field { margin:12px 0 0; }
.account-browse-link { display:inline-block; color:var(--cyan-deep); margin-top:26px; font-size:15px; text-decoration:underline; text-underline-offset:4px; }
.account-page .account-data-use { margin:20px 0 0; color:var(--text-2); font-size:12px; line-height:1.85; }
.account-page .account-otp { font-size:25px; letter-spacing:.25em; font-variant-numeric:tabular-nums; }
.account-code-recipient { overflow-wrap:anywhere; }
.account-login-links { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; }
.account-login-links .btn { padding:6px 0; border:0; background:transparent; min-height:36px; color:var(--text-2); font-size:13px; }
.account-login-links .btn:hover { color:var(--cyan-deep); text-decoration:underline; }
.account-local-note { font-size:12px !important; background:#f6f0df; border-radius:10px; padding:12px; margin:18px 0 0; }
.account-local-note a { text-decoration:underline; }
.account-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; border-bottom:1px solid #e1e5dc; padding-bottom:16px; }
.account-toolbar > div > .btn { border:0; background:transparent; color:var(--cyan-deep); padding-left:0; font-size:15px; }
.account-page[data-view="plans"] .account-heading { padding-right:200px; }
.account-page[data-view="plans"] .account-toolbar { position:absolute; right:0; top:44px; margin:0; padding:0; border:0; }
.account-page[data-view="plans"] .account-toolbar > div { display:none; }
.account-page[data-view="editor"] .account-toolbar { display:none; }
.account-menu { position:relative; }
.account-menu > summary { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; cursor:pointer; list-style:none; border-radius:10px; color:var(--cyan-deep); font-size:14px; }
.account-menu > summary::-webkit-details-marker { display:none; }
.account-user-menu > summary { padding:4px 9px; }
.account-user-menu > summary > span:nth-child(2) { max-width:210px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-avatar { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border-radius:50%; background:#e8eee2; font-size:14px; }
.account-menu__panel { position:absolute; z-index:12; right:0; top:calc(100% + 6px); min-width:190px; max-width:min(300px,calc(100vw - 48px)); padding:8px; background:#fff; border:1px solid #dce2d5; border-radius:13px; box-shadow:0 14px 36px rgba(28,54,42,.12); }
.account-menu__panel .btn { display:block; width:100%; text-align:left; border:0; margin:0; min-height:42px; padding:9px 12px; background:transparent; color:var(--text); }
.account-menu__panel .btn:hover { background:#eef2e8; }
.account-menu__panel [data-account-action="delete"],.account-menu__panel [data-account-action="remove"] { color:#9a5645; }
.account-section-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.account-section-head h2 { margin:0; }
.account-create { position:relative; }
.account-create > summary { display:flex; align-items:center; gap:22px; list-style:none; cursor:pointer; padding:12px 18px; border-radius:12px; background:var(--cyan-deep); color:#fff; font-size:15px; }
.account-create > summary::-webkit-details-marker { display:none; }
.account-create > form { position:absolute; z-index:10; top:calc(100% + 10px); right:0; width:340px; max-width:calc(100vw - 48px); background:#fff; border:1px solid var(--line); padding:24px; border-radius:17px; box-shadow:0 14px 40px rgba(28,54,42,.13); }
.account-create form p { color:var(--text-2); font-size:14px; }
.account-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:26px; }
.account-tabs .btn { background:transparent; color:var(--text-2); border-color:transparent; border-radius:99px; padding:8px 16px; min-height:40px; }
.account-tabs [aria-pressed="true"] { background:#e7edde; color:var(--cyan-deep); border-color:#d7e0ce; }
.account-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.account-plan-card { min-width:0; overflow:hidden; border:1px solid #e0e5d9; border-radius:20px; background:#fff; display:flex; flex-direction:column; }
.account-plan-card__cover { position:relative; display:block; aspect-ratio:1.75; overflow:hidden; background:#edeee5; }
.account-plan-cover { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.account-plan-card__cover:hover img { transform:scale(1.035); }
.account-cover-empty { display:grid; place-items:center; background:linear-gradient(135deg,#e6ecdd,#f2eee2); color:#7c916c; font-family:var(--font-display); font-size:58px; }
.account-plan-status { position:absolute; top:14px; left:14px; border-radius:99px; padding:4px 11px; font-size:12px; line-height:1.7; color:#244632; background:rgba(255,255,250,.93); }
.account-plan-card__body { flex:1; display:flex; flex-direction:column; padding:23px; }
.account-plan-card h3 { font-size:25px; margin:0 0 12px; }
.account-page .account-card-meta { color:var(--text-2); font-size:13px; margin:0 0 16px; }
.account-plan-card ul { padding:0; list-style:none; color:var(--text-2); font-size:14px; line-height:1.8; margin:0 0 22px; }
.account-plan-card li { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.account-plan-card li::before { content:'·'; padding-right:8px; color:var(--gold); }
.account-page .account-card-empty { color:var(--text-2); font-size:14px; }
.account-open-plan { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:auto; min-height:46px; padding:12px 16px; border:1px solid var(--cyan-deep); border-radius:11px; background:var(--cyan-deep); color:#fff; font-size:15px; font-weight:500; line-height:1.5; text-decoration:none; }
.account-open-plan:hover { background:#28574e; border-color:#28574e; color:#fff; }
.account-open-plan:active { background:#123e35; border-color:#123e35; }
.account-empty { grid-column:1/-1; text-align:center; padding:60px 24px; border:1px dashed #cdd9c4; border-radius:22px; background:#f5f5ef; }
.account-empty > span { display:block; color:var(--gold); font:56px/1.3 var(--font-display); margin-bottom:20px; }
.account-empty p { color:var(--text-2); margin:0 auto 24px; max-width:540px; }
.account-import { margin-bottom:26px; border:1px solid #dce5d2; border-radius:14px; background:#edf2e6; padding:16px 20px; }
.account-import > summary { cursor:pointer; color:var(--cyan-deep); font-size:15px; }
.account-import[open] > summary { margin-bottom:18px; }
.account-import > p { color:var(--text-2); font-size:14px; }
.account-import .account-fields { max-width:780px; }
.account-editor-toolbar { position:sticky; top:var(--header-h); z-index:8; display:flex; justify-content:space-between; align-items:center; gap:16px; background:#faf9f6; border-bottom:1px solid #e3e6dc; padding:12px 0; margin-bottom:28px; }
.account-editor-toolbar > a { color:var(--text-2); font-size:14px; }
.account-editor-toolbar > div { display:flex; align-items:center; gap:16px; min-width:0; }
.account-plan-more > summary { padding:8px 12px; background:#edf1e7; }
.account-editor-heading { margin-bottom:32px; }
.account-editor-heading h1 { font-size:clamp(30px,3.6vw,44px); line-height:1.35; margin:10px 0 14px; }
.account-editor-heading > p:last-child { color:var(--text-2); margin:0; }
.account-page [data-account-form="plan"] > fieldset { border:0; padding:0; margin:0; min-width:0; }
.account-plan-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:32px; align-items:start; }
.account-plan-main { min-width:0; }
.account-selected-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.account-selected-head > div { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.account-selected-head h2 { margin:0; }
.account-selected-head [data-item-count] { color:var(--text-2); font-size:13px; }
.account-items { list-style:none; margin:0; padding:0; }
.account-plan-item { position:relative; display:grid; grid-template-columns:100px minmax(0,1fr) 34px; gap:18px; align-items:start; padding:18px; margin-bottom:16px; border:1px solid #dfe5d7; border-radius:17px; background:#fff; }
.account-item-cover { width:100px; height:100px; object-fit:cover; border-radius:11px; font-size:36px; }
.account-item-main { min-width:0; }
.account-page .account-item-type { margin:0 0 5px; font-size:12px; color:var(--gold-deep); }
.account-item-type > span { margin-right:8px; color:#8a967f; }
.account-item-title { display:block; font-size:18px; line-height:1.65; color:var(--text); }
.account-item-title > span { color:var(--gold); font-size:14px; }
.account-page .account-item-note { margin:8px 0 0; color:var(--text-2); font-size:14px; white-space:pre-wrap; overflow-wrap:anywhere; }
.account-note-editor { margin-top:8px; }
.account-note-editor > summary { display:inline-block; color:var(--cyan-deep); cursor:pointer; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.account-note-editor .account-field { margin:12px 0 0; }
.account-note-editor input { font-size:15px; }
.account-item-actions > summary { width:34px; min-height:34px; font-size:24px; letter-spacing:2px; line-height:1; }
.account-item-actions > summary:hover { background:#edf2e7; }
.account-item-actions .account-menu__panel { min-width:145px; }
.account-selected-empty { padding:40px 24px; border:1px dashed #cfdcc7; border-radius:18px; text-align:center; margin-bottom:20px; }
.account-selected-empty > span { color:var(--gold); font-size:36px; }
.account-selected-empty p { color:var(--text-2); }
.account-plan-aside { position:sticky; top:calc(var(--header-h) + 88px); min-width:0; }
.account-preferences { border:1px solid #dce4d2; border-radius:17px; background:#eff3e8; overflow:hidden; }
.account-preferences > summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:20px; font-size:19px; cursor:pointer; list-style:none; }
.account-preferences > summary::-webkit-details-marker { display:none; }
.account-preferences > div { padding:2px 20px 20px; }
.account-preferences .account-fields { gap:12px; }
.account-preferences .account-fields .account-field > span { font-size:13px; }
.account-preferences .account-fields input { padding:10px; }
.account-budget { border-block:1px solid #dce4d3; padding:14px 0; margin-bottom:18px; }
.account-budget > summary { font-size:14px; cursor:pointer; color:var(--cyan-deep); }
.account-budget > div { padding-top:16px; }
.account-budget .account-help { margin-bottom:0; }
.account-page .account-autosave-hint { color:var(--text-2); font-size:12px; margin:0 0 10px; }
.account-page .account-booking-note { margin:18px 6px 0; font-size:13px; line-height:1.85; color:var(--text-2); }
.account-search { margin-top:24px; border:1px solid #dce3d5; border-radius:16px; background:#f0f3e9; padding:18px; scroll-margin-top:calc(var(--header-h) + 90px); }
.account-search > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none; cursor:pointer; color:var(--cyan-deep); font-size:16px; }
.account-search > summary::-webkit-details-marker { display:none; }
.account-search > div { padding-top:20px; }
.account-search .account-field { margin-bottom:0; }
.account-search [data-catalogue-results] > div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:14px; margin-top:14px; border-top:1px solid #d9e0d1; }
.account-search [data-catalogue-results] span { font-size:15px; min-width:0; }
.account-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.account-settings > div { min-width:0; border:1px solid #e0e5d8; border-radius:20px; background:#fff; padding:28px; }
.account-settings hr { border:0; border-top:1px solid #e0e5d8; margin:28px 0; }
.account-settings form { margin-bottom:20px; }
.account-settings .btn { margin:4px 8px 4px 0; }
.account-settings p { color:var(--text-2); overflow-wrap:anywhere; }
.account-message { border:1px solid #dce5d1; border-left:3px solid #829773; border-radius:12px; background:#eef3e7; padding:14px 18px; overflow-wrap:anywhere; font-size:14px !important; }
.account-message[data-error="true"] { border-color:#e5ceb0; border-left-color:#ab7d4c; background:#faf0e4; }
.account-conflict { background:#faf0e4; border:1px solid #dfc49e; border-radius:16px; padding:24px; margin-bottom:28px; scroll-margin-top:calc(var(--header-h) + 80px); }
.account-conflict .btn { margin:5px 8px 5px 0; }
.account-cloud { background:#fffaf1; padding:16px; border-radius:10px; margin:18px 0; }
.account-cloud p { white-space:pre-wrap; overflow-wrap:anywhere; }
.account-history:not(:empty),.account-delete-confirm,.account-readonly { padding:24px; margin-top:24px; border:1px solid #e1e4d8; border-radius:16px; background:#f2f3eb; scroll-margin-top:calc(var(--header-h) + 80px); }
.account-history > div { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:12px; }
.account-history span { font-size:14px; }
.account-delete-confirm .btn { margin-right:10px; }
.account-page [data-save-status] { display:inline-flex; align-items:center; gap:7px; color:#56724c; font-size:12px; line-height:1.6; }
.account-page [data-save-status]::before { content:''; width:6px; height:6px; border-radius:50%; flex-shrink:0; background:currentColor; }
.account-page [data-save-status][data-state="saving"] { color:#81754e; }
.account-page [data-save-status]:is([data-state="failed"],[data-state="conflict"],[data-state="unsaved"]) { color:#9c6439; }
.account-mobile-actions { display:none; }
@media (max-width:1450px) { .account-nav { font-size:13px; } }
@media (max-width:1100px) { .account-nav { display:none; } .account-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .account-plan-layout { grid-template-columns:minmax(0,1fr) 290px; gap:22px; } .account-plan-item { grid-template-columns:80px minmax(0,1fr) 30px; gap:12px; padding:14px; } .account-item-cover { width:80px; height:94px; } }
@media (max-width:850px) {
  .account-plan-layout { grid-template-columns:1fr; }
  .account-plan-aside { position:static; grid-row:1; }
  .account-plan-main { grid-row:2; }
  .account-preferences > summary { padding:16px 18px; }
}
@media (max-width:720px) {
  .account-page { padding-top:24px; padding-bottom:60px; }
  .account-page[data-view="plans"] .account-heading { padding-right:76px; }
  .account-page[data-view="plans"] .account-toolbar { top:24px; }
  .account-page[data-view="plans"] .account-user-menu > summary > span:nth-child(2) { display:none; }
  .account-page[data-view="editor"] { padding-bottom:180px; }
  .account-heading { margin-bottom:26px; }
  .account-heading h1 { font-size:30px; }
  .account-login { grid-template-columns:1fr; border-radius:20px; }
  .account-login__visual { min-height:160px; }
  .account-login__visual > div { padding:20px; }
  .account-login__visual h2 { font-size:24px; line-height:1.35; margin:8px 0; }
  .account-login__visual .eyebrow { font-size:10px; }
  .account-login__visual p:last-child { display:none; }
  .account-login__form { padding:28px 22px; }
  .account-login__form h1 { font-size:27px; }
  .account-fields { grid-template-columns:1fr; gap:0; }
  .account-plan-grid { grid-template-columns:1fr; gap:20px; }
  .account-section-head { gap:14px; }
  .account-section-head h2 { font-size:23px; }
  .account-create > summary { padding:11px 14px; font-size:14px; gap:10px; }
  .account-create > form { width:min(320px,calc(100vw - 48px)); padding:20px; }
  .account-toolbar { margin-bottom:20px; }
  .account-user-menu > summary > span:nth-child(2) { max-width:110px; font-size:13px; }
  .account-toolbar > div > .btn { font-size:14px; }
  .account-editor-toolbar { align-items:flex-start; gap:8px; margin-bottom:22px; }
  .account-editor-toolbar > a { font-size:12px; padding-top:10px; }
  .account-editor-toolbar > div { gap:8px; flex-wrap:wrap; justify-content:flex-end; }
  .account-editor-toolbar > div > [data-save-status] { display:none; }
  .account-editor-heading h1 { font-size:31px; }
  .account-editor-heading > p:last-child { font-size:14px; }
  .account-selected-head { align-items:flex-start; flex-direction:column; }
  .account-selected-head .btn { display:none; }
  .account-selected-head h2 { font-size:23px; }
  .account-plan-item { grid-template-columns:70px minmax(0,1fr) 26px; gap:11px; padding:13px; }
  .account-item-cover { width:70px; height:88px; }
  .account-item-title { font-size:17px; }
  .account-item-actions > summary { width:26px; min-height:34px; font-size:23px; }
  .account-note-editor > summary { min-height:30px; }
  .account-page .account-item-type { font-size:11px; }
  .account-preferences .account-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .account-settings { grid-template-columns:1fr; }
  .account-settings > div { padding:22px; }
  .account-import { padding:16px; }
  .account-search [data-catalogue-results] > div { align-items:flex-start; }
  .account-search [data-catalogue-results] .btn { flex-shrink:0; }
  .account-mobile-actions { position:fixed; inset:auto 0 0; z-index:25; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; border-top:1px solid #dbe3d2; padding:12px 18px max(12px,env(safe-area-inset-bottom)); background:rgba(250,249,246,.98); box-shadow:0 -5px 24px rgba(35,53,54,.05); }
  .account-mobile-actions > [data-save-status] { flex:1 1 110px; }
  .account-mobile-actions .btn { margin-left:auto; padding:10px 12px; font-size:13px; }
  .account-history > div { flex-wrap:wrap; }
}
