/* My Travel — Ocean & Sage. Local fonts and assets; no external dependencies. */
:root{color-scheme:dark;--bg:#183d50;--paper:#204b5d;--raised:#28596b;--ink:#eef7f6;--muted:#bdd3d8;--line:#487082;--plum:#a6c5ad;--sage:#234f51;--green:#b9dec3;--accent:#a6c5ad;--radius:16px;--shadow:0 12px 30px #071e2b30}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#28586a 0,transparent 65%),var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}::selection{background:var(--accent);color:#163a43}#app{min-height:100vh}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:linear-gradient(155deg,#103545,#0e2e3d);border-right:1px solid #396272;display:flex;flex-direction:column;padding:30px 18px;overflow-y:auto;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 34px;font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.6px}.brandmark{font-size:35px;color:var(--accent);font-weight:400}.brand small{display:block;font:9px 'Segoe UI',sans-serif;letter-spacing:2px;color:#bdd3d8;margin-top:5px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#b0c9cc;padding:0 14px 12px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;border:1px solid transparent;background:transparent;padding:12px 13px;text-align:left;border-radius:10px;margin:4px 0;font-size:13px;color:#c6dce0}.nav-item>span{font-size:20px;width:22px;display:inline-flex}.nav-item.active{background:#28596b;border-color:#427487;color:#f4fbf8;font-weight:600}.nav-item:hover{background:#234b5b}.nav-item i{font-style:normal;font-size:11px;margin-left:auto;background:#345f68;color:#d9eee1;border-radius:6px;padding:1px 7px}.sidebar-bottom{margin-top:auto;padding:30px 7px 0}.private-label{font-size:11px;color:var(--accent)}.sidebar-bottom p{font-family:Georgia,serif;font-size:20px;color:#c0d6cd;line-height:1.55;margin:18px 0 24px}.profile{border-top:1px solid var(--line);padding-top:18px;margin-top:18px;display:flex;gap:10px;align-items:center;font-size:12px;overflow-wrap:anywhere}.profile small{display:block;color:var(--muted);font-size:11px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#365d64;border:1px solid #6c9690;color:#d8eddf;font-size:14px}.workspace{margin-left:232px;min-height:100vh}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#153747cc;border-bottom:1px solid #3e6575}.breadcrumb{color:var(--muted);font-size:12px}.breadcrumb span{padding:0 12px;color:#8fb0b7}.breadcrumb b{font-weight:500;color:var(--ink)}.top-actions{display:flex;gap:20px;align-items:center}.saved{font-size:11px;color:#b9d6c6}.saved.pending{color:#f0ca98}main{max-width:1500px;margin:0 auto;padding:32px 38px 24px;position:relative}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px}.eyebrow{font-size:10px;letter-spacing:2px;color:#b8d8c6;font-weight:600;margin-bottom:8px}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1px;font-size:40px;line-height:1.18;margin:0 0 10px}p{color:var(--muted);margin:8px 0;font-size:13px}h2{font-size:19px;font-weight:550;letter-spacing:-.3px;margin:0}h3{font-size:17px;font-weight:550;line-height:1.4;margin:0 0 8px}small{color:var(--muted)}.primary,.secondary{border-radius:9px;padding:11px 17px;white-space:nowrap;font-size:13px;font-weight:600;border:1px solid var(--accent);display:inline-block}.primary{background:var(--accent);color:#173b43;box-shadow:0 3px 12px #0c293426}.primary:hover{background:#c0dfc7;border-color:#c0dfc7;transform:translateY(-1px)}.secondary{background:#244e60;border-color:#638595;color:#e3efed}.secondary:hover{background:#326071}.small{padding:8px 12px;font-size:12px}.searchbar{background:#193f51;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;padding:10px 15px;gap:12px;margin-bottom:28px;color:var(--muted)}.searchbar>span:first-child{font-size:24px;line-height:1}.searchbar input{background:transparent;border:0;outline:none;flex:1;min-width:80px;font-size:13px;color:var(--ink)}.searchbar input:focus{outline:2px solid var(--accent);outline-offset:2px}.searchbar select{max-width:155px}.trip-count{font-size:11px;color:var(--muted)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 18px}.section-title h2 span{font-family:inherit;font-size:11px;background:#345f69;border-radius:6px;padding:3px 7px;vertical-align:middle;margin-left:7px;color:#d2e8dc}.section-title>span{font-size:12px;color:var(--muted)}.new-adventure{display:flex;align-items:center;gap:20px;padding:28px;border:1px dashed #638b8b;border-radius:var(--radius);background:#214e55}.compass{font-size:42px;color:var(--accent);line-height:1}.new-adventure h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0}.new-adventure button{margin-left:auto}.trip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.trip-card{background:var(--paper);border:1px solid #4a7182;padding:0;border-radius:var(--radius);overflow:hidden;text-align:left;min-width:0;box-shadow:var(--shadow)}.trip-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px #071e2b55;border-color:#8bafa8}.card-art{height:180px;position:relative;overflow:hidden;background:linear-gradient(145deg,#416879,#224f62);color:#b9d7cd}.card-art.spain{background:linear-gradient(140deg,#3e6e77,#3a6d69 40%,#284f63);color:#c9d6b6}.card-art.italy{background:linear-gradient(145deg,#467c75,#294c5a);color:#c3debd}.card-art.poland{background:linear-gradient(140deg,#4d7591,#284b64);color:#bbd4e3}.card-art.austria{background:linear-gradient(140deg,#65867a,#244c61);color:#d0ddbc}.card-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0c31414d,transparent 55%)}.city-art{width:100%;height:100%;position:absolute;bottom:0;left:0}.city-art .sun{fill:currentColor;opacity:.25}.city-art .hill{fill:currentColor;opacity:.1}.city-art .buildings{opacity:.8}.country-label{position:absolute;z-index:1;top:14px;left:14px;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:1px;color:#ecf6ed;background:#163b4bd9;border:1px solid #72939275;border-radius:7px;padding:5px 8px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-art>.badge{position:absolute;z-index:1;right:12px;top:14px;box-shadow:0 2px 12px #07253526}.card-content{padding:20px;background:linear-gradient(145deg,#245366,#1b4558)}.card-content>small{font-size:12px;color:#c7dbe0}.card-content h3{font-family:Georgia,serif;font-size:25px;font-weight:400;letter-spacing:-.3px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-content h3 span{font-family:Arial;font-size:18px;color:var(--accent)}.card-content p{min-height:36px;font-size:12px;line-height:1.55;margin:0 0 17px;color:var(--muted);overflow-wrap:anywhere}.card-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#c5dbdc;margin-bottom:14px}.progress{height:5px;overflow:hidden;background:#123949;border-radius:9px}.progress i{display:block;height:100%;background:linear-gradient(90deg,#9dc7ab,#b8dfce);border-radius:9px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:11px;color:#c4d9d7;margin-top:12px}.card-footer b{font-weight:500;color:#e2eee8;white-space:nowrap}.journal-note{margin-top:30px;padding:22px 25px;border:1px solid #466f79;border-radius:12px;display:flex;align-items:center;gap:18px;background:#1d4653;color:var(--muted)}.journal-note>span:first-child{font-size:30px;color:var(--accent)}.journal-note strong{font-size:14px;font-weight:500;color:#e3f0e9}.journal-note p{font-size:12px}.note-route{font-size:9px;letter-spacing:1.4px;margin-left:auto;white-space:nowrap;color:#bfd9cf}footer{padding:28px 38px;font-size:10px;color:#c2d5d7;text-align:center}.back{border:0;background:none;color:#b3d7c3;font-size:12px;padding:0;margin-bottom:22px}.trip-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px}.trip-title h1{font-size:42px}.title-actions{display:flex;gap:9px}.dot{padding:0 8px;color:#a4c0c2}.badge{display:inline-block;font-size:11px;background:#365d6b;color:#e0eef0;border:1px solid #638993;border-radius:7px;padding:4px 9px;font-weight:500;white-space:nowrap}.badge.green{color:#d4f0d9;background:#315d52;border-color:#6b9b80}.badge.amber{background:#695a3b;color:#ffdfaa;border-color:#a78d60}.badge.danger{background:#663f42;color:#ffd4cc;border-color:#ae7370}.tabs{display:flex;overflow-x:auto;gap:5px;padding:0 0 13px;border-bottom:1px solid var(--line);margin-bottom:28px}.tabs button{border:1px solid transparent;background:transparent;padding:10px 13px;white-space:nowrap;font-size:12px;color:var(--muted);border-radius:8px}.tabs button:hover{background:#245365}.tabs button.active{background:#315f62;color:#d7f0df;border-color:#638d85}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.stat{padding:20px;background:linear-gradient(135deg,#2b596a,#204859);border:1px solid var(--line);border-radius:12px;min-width:0}.stat span{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:9px;gap:8px}.stat i{font-style:normal;color:var(--accent)}.stat strong{font-size:23px;letter-spacing:-.4px;font-weight:500;overflow-wrap:anywhere}.overview-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-top:22px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:25px;margin:20px 0;box-shadow:0 6px 18px #071e2b15;min-width:0}.overview-grid .panel{margin:0}.panel .section-title{margin-top:0}.panel h3{margin-top:25px;font-size:15px}.text-button{border:0;background:transparent;padding:4px 0;color:#bce0c8;font-size:12px}.text-button:hover{color:#eff9f1;text-decoration:underline}dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px;font-size:13px;margin:20px 0}dt{color:var(--muted)}dd{margin:0;color:var(--ink);overflow-wrap:anywhere}.journey-art{height:150px;position:relative;color:var(--accent);margin-top:10px;background:#244f60;overflow:hidden;border-radius:10px}.large-count{font-family:Georgia,serif;font-size:42px;font-weight:400}.large-count span{font-size:23px;color:var(--muted)}.mini-task{padding:11px 0;border-bottom:1px solid #416a78;font-size:12px;color:var(--muted);display:flex;gap:10px}.mini-task:first-of-type{margin-top:16px}.mini-stay{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #416a78;font-size:12px}.mini-stay>span{font-size:24px;color:var(--accent)}.mini-stay strong{font-size:13px;font-weight:500;display:block}.mini-stay small{display:block;font-size:11px;margin-top:4px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.import-notice,.source-sheet{padding:18px 20px;border:1px solid var(--line);border-radius:10px;margin-top:20px;font-size:13px;background:var(--paper)}summary{cursor:pointer;color:#d2e7d6}.source-sheet small{float:right}.source-cell{white-space:pre-wrap;font-size:12px;padding:4px;overflow-wrap:anywhere}.source-cell b{color:#b9d9c3}.table-wrap{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}thead{background:#193f50}th{font-size:11px;font-weight:600;color:#d1e6dc;padding:15px 14px;white-space:nowrap}td{padding:15px 14px;border-top:1px solid #416879;vertical-align:top}tbody tr:hover{background:#2a5769}td:not(:first-child){white-space:nowrap}td:first-child{min-width:170px;max-width:360px}td strong{display:block;font-weight:500}td small{display:block;margin-top:5px;font-size:11px}.due{color:#f4cd98}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.row-actions button{border:0;background:none;font-size:12px;color:#b9dfc6;padding:5px}.row-actions .muted{font-size:20px;color:#c3d9db}.budget-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 15px}.hint{font-size:12px;color:var(--muted);margin:15px 0;line-height:1.65}.task-list{background:var(--paper);border:1px solid var(--line);border-radius:12px}.task{display:flex;align-items:center;gap:15px;padding:20px;border-bottom:1px solid #416a78}.task:last-child{border:0}.task>div:nth-child(2){flex:1}.task strong{font-size:14px;font-weight:500;display:block;margin-bottom:5px}.task small{font-size:12px;display:block;margin-bottom:6px}.task.done strong{text-decoration:line-through;color:#a7c1c2}.check{width:23px;height:23px;border:1px solid #91b6ae;border-radius:6px;background:#1b4352;flex-shrink:0;font-size:13px}.check.checked{background:var(--accent);border-color:var(--accent);color:#163b43}.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.record{padding:23px;border:1px solid var(--line);background:var(--paper);border-radius:13px;overflow-wrap:anywhere;min-width:0}.record-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.record-icon{font-size:28px;color:var(--accent)}.record h3{font-size:17px}.record-sub{font-size:12px;color:var(--muted)}.record dl{font-size:12px;grid-template-columns:95px minmax(0,1fr)}.record-notes{white-space:pre-wrap;font-size:12px}.record-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:18px;flex-wrap:wrap}.external{color:#c2e4ce;font-size:12px}.external:hover{text-decoration:underline}.day-group{background:var(--paper);border:1px solid var(--line);border-radius:14px;margin:20px 0;padding:25px}.day-heading{display:flex;gap:16px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.day-number{font-family:Georgia,serif;font-size:29px;background:#325f63;border-radius:10px;color:#d9edda;width:48px;height:48px;text-align:center;line-height:48px}.day-heading h3{font-size:16px;margin:0}.day-heading>div span{font-size:12px;color:var(--muted)}.timeline-item{display:flex;gap:18px;align-items:flex-start;position:relative;min-height:65px;padding-bottom:20px}.timeline-item time{width:45px;flex-shrink:0;font-size:13px;color:#c5e1d0}.timeline-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0;margin-top:6px}.timeline-item:before{content:'';position:absolute;left:66px;top:14px;width:1px;bottom:0;background:#5e8490}.timeline-item:last-child:before{display:none}.timeline-item>div:nth-of-type(2){flex:1;min-width:0}.timeline-item strong{font-size:14px;font-weight:500}.timeline-item p{font-size:12px;overflow-wrap:anywhere}.trip-mode{max-width:900px}.tripmode-toolbar{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:25px 0}.tripmode-toolbar label{font-size:12px;color:var(--muted)}.tripmode-toolbar input{margin-left:10px}.empty{text-align:center;color:var(--muted);padding:40px;font-size:13px}.notice{background:#4c5147;color:#f4dec0;border:1px solid #8d8567;padding:18px 22px;border-radius:10px;font-size:13px;margin:22px 0}.inline-form{display:flex;gap:12px;margin:22px 0}.inline-form select{flex:1}.modal-overlay{position:fixed;inset:0;background:#061d2ab8;backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;z-index:50;padding:24px}.modal{background:#1e4556;border:1px solid #60858c;border-radius:16px;width:720px;max-height:90vh;overflow:auto;box-shadow:0 25px 70px #06192477}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:25px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#1e4556;z-index:1}.modal-head button{border:0;background:none;color:#c2dccf;font-size:26px}.modal form{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#d0e5db}.field.wide{grid-column:1/-1}input,select,textarea{border:1px solid #658b95;padding:11px 12px;border-radius:8px;background:#173e50;color:var(--ink);min-width:0;font-size:13px}input::placeholder,textarea::placeholder{color:#b3cbd1;opacity:1}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}input[type=checkbox]{accent-color:var(--accent)}textarea{resize:vertical}.modal-foot{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:24px}.modal-foot span{font-size:12px;color:#ffd0b8;margin-right:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);padding:14px 23px;border-radius:10px;background:#a6c5ad;color:#173743;border:1px solid #d0e6d4;font-size:13px;transition:transform .2s;z-index:100;max-width:90vw;box-shadow:var(--shadow)}#toast.show{transform:translateX(-50%)}.loading{padding:30vh 30px;text-align:center;color:var(--muted)}.login-card{max-width:460px;padding:38px;margin:11vh auto;background:linear-gradient(145deg,#255366f2,#163c4ef2);border:1px solid #618590;border-radius:20px;text-align:center;box-shadow:0 24px 80px #061f2a66;backdrop-filter:blur(8px)}.login-card h1{margin-top:14px;font-size:35px}.login-card .primary,.login-card .secondary{display:block;margin-top:15px}.login-card label{text-align:left}.login-card input{width:100%}.login-card button{width:100%}.login-card .form-grid{display:block}.login-card .field{margin:18px 0}.login-card .error{color:#ffcabd}.login-card>small{display:block;font-size:11px;margin-top:18px}.login-body{min-height:100vh;padding:1px;background:linear-gradient(90deg,#0c2d43c9,#19465f75),url('/assets/images/ocean-hero.webp') center/cover fixed}.login-body .brandmark{font-size:42px}
/* Dashboard panorama and data-driven summary. */
.dashboard-main{max-width:1560px}.dashboard-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #57808b;border-radius:18px;min-height:355px;margin:0 0 24px;background:#214f62;box-shadow:var(--shadow)}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;z-index:-2}.dashboard-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#103849f2 0%,#123e52bc 38%,#133c4b24 80%),linear-gradient(0deg,#133d50b5,transparent 65%)}.hero-copy{position:relative;padding:45px 40px;max-width:66%}.hero-copy h1{font-size:clamp(36px,3.8vw,56px);line-height:1.09;letter-spacing:-1.6px;color:#f2f8f2;margin-bottom:16px}.hero-copy h1 em{font-weight:400;color:#c5e2cd}.hero-copy .eyebrow{color:#c0dec9;font-size:10px;letter-spacing:2.4px;margin-bottom:15px}.hero-copy p{font-size:15px;color:#d4e4e3;line-height:1.7;margin:14px 0 24px}.hero-copy .primary{padding:12px 20px;font-size:13px}.hero-facts{display:flex;gap:20px;margin-top:28px;color:#d3e2df;font-size:12px}.hero-facts span{border-right:1px solid #92b7b17a;padding-right:18px}.hero-facts span:last-child{border:0}.hero-facts b{font-weight:500;font-size:19px;padding-right:4px;color:#e1f0e1}.hero-caption{position:absolute;bottom:15px;right:20px;font-size:8px;color:#eef8f2;letter-spacing:1.4px;text-shadow:0 1px 4px #16382e}.dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 26px}.summary-card{display:flex;gap:17px;align-items:center;min-width:0;padding:20px 22px;border:1px solid #507c89;border-radius:14px;background:linear-gradient(140deg,#295b6c,#1c4559);box-shadow:var(--shadow)}.summary-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border:1px solid #719f9c;border-radius:12px;color:var(--accent);font-size:26px;background:#315e68}.summary-copy{min-width:0}.summary-copy small{display:block;font-size:12px;margin-bottom:5px}.summary-copy strong{font-family:Georgia,serif;font-size:25px;font-weight:400;display:block;line-height:1.2;overflow-wrap:anywhere}.summary-copy p{font-size:11px;margin:6px 0 0}.dashboard-explore{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start;margin-bottom:30px}.upcoming-panel{min-width:0}.upcoming-panel .section-title{margin:0 0 14px}.upcoming-panel .trip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.upcoming-panel .card-art{height:170px}.upcoming-panel .card-content{padding:17px}.upcoming-panel .card-content h3{font-size:23px}.upcoming-panel .card-meta,.upcoming-panel .card-footer{font-size:10px}.upcoming-panel .new-adventure{display:block;min-height:340px;padding:28px}.upcoming-panel .new-adventure .compass{margin:12px 0 24px}.upcoming-panel .new-adventure button{margin:20px 0 0}.section-link{font-size:12px;color:#c5e2ce;border:0;background:none;padding:5px 0;white-space:nowrap}.archive-heading{margin-top:28px}.atlas-panel{position:relative;background:linear-gradient(145deg,#163a4f,#245764);border:1px solid #628d91;border-radius:16px;padding:23px 24px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.atlas-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.atlas-head h2{font-family:Georgia,serif;font-size:25px;font-weight:400;color:#e9f4e9}.atlas-head .badge{font-size:10px;background:#315f60;color:#d8eddb}.atlas-body{margin-top:16px}.world-atlas{position:relative;aspect-ratio:2/1;min-height:200px;background:radial-gradient(ellipse,#34677655,transparent 75%);border-radius:10px;overflow:hidden}.world-atlas img{display:block;width:100%;height:100%;object-fit:contain}.atlas-label{position:absolute;bottom:8px;left:10px;font-size:9px;letter-spacing:2px;color:#c2dacc}.europe-atlas{border-top:1px solid #57838b;margin-top:12px;padding:16px 0 0;display:flex;gap:16px;align-items:center}.europe-atlas>small{font-size:9px;letter-spacing:1.5px;max-width:85px;color:#c9e0d3}.europe-atlas svg{display:block;width:118px;height:105px;flex-shrink:0}.destination-chips{display:flex;flex-wrap:wrap;gap:6px;position:relative}.destination-chips span{font-size:10px;border:1px solid #73988f;color:#d9eadc;border-radius:6px;padding:3px 7px;background:#2b5860}.trip-photo{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.journey-art .trip-photo{z-index:1}.nav-item,.primary,.secondary,.trip-card{transition:background .15s,transform .18s,box-shadow .18s}
@media(min-width:1550px){.trip-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-explore{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
@media(max-width:1200px){.sidebar{width:200px;padding:26px 14px}.brand{font-size:24px;padding-left:4px;gap:8px}.workspace{margin-left:200px}main{padding:28px}.topbar{padding:0 28px}.trip-grid,.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-explore{grid-template-columns:1fr}.atlas-body{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(0,1fr);gap:20px}.europe-atlas{border-top:0;border-left:1px solid #57838b;margin:0;padding:12px 0 12px 20px;flex-wrap:wrap;justify-content:center}.europe-atlas>small{max-width:none}.europe-atlas svg{width:130px;height:110px}.destination-chips{justify-content:center}.world-atlas{min-height:240px}.summary-card{padding:18px;gap:12px}.summary-icon{width:38px;height:38px;font-size:23px}.summary-copy strong{font-size:23px}.hero-copy{max-width:75%}.trip-title{align-items:flex-start}.title-actions{flex-direction:column}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:16px 18px 12px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;gap:5px;overflow:visible}.brand{font-size:25px;padding:0;flex:1 0 100%;margin-bottom:10px}.brandmark{font-size:29px}.brand small{font-size:8px}.nav-label,.sidebar-bottom{display:none}.sidebar .nav-item{width:auto;flex:1;justify-content:center;flex-direction:column;padding:7px 3px;font-size:9px;gap:3px;margin:0}.sidebar .nav-item>span{font-size:22px;width:auto}.sidebar .nav-item i{display:none}.workspace{margin:0}.topbar{height:52px;padding:0 18px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 7px}.top-actions{gap:10px}.top-actions .avatar{width:29px;height:29px}.saved{font-size:10px}main{padding:22px 18px 12px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:22px}h1{font-size:33px}.page-heading p{font-size:12px}.trip-count{display:none}.searchbar{gap:8px;padding:8px 10px;margin-bottom:22px}.searchbar input{font-size:12px;padding:10px 5px}.searchbar select{max-width:110px;font-size:11px;padding:8px}.section-title{margin-top:25px}.section-title>span{display:none}.new-adventure{padding:22px;flex-wrap:wrap;gap:13px}.compass{font-size:32px}.new-adventure h3{font-size:23px}.new-adventure button{margin-left:45px;padding:9px 12px;font-size:12px}.trip-grid,.record-grid,.upcoming-panel .trip-grid{grid-template-columns:1fr;gap:18px}.card-art,.upcoming-panel .card-art{height:195px}.card-content h3{font-size:27px}.card-content p{min-height:0}.card-meta,.card-footer,.upcoming-panel .card-meta,.upcoming-panel .card-footer{font-size:11px}.journal-note{padding:20px}.note-route{display:none}.trip-title{flex-direction:column}.trip-title h1{font-size:35px}.title-actions{flex-direction:row;width:100%}.title-actions button{flex:1;font-size:12px;padding:10px}.tabs{margin-bottom:20px;gap:0}.tabs button{font-size:11px;padding:9px 10px}.stats{grid-template-columns:1fr 1fr;gap:11px}.stat{padding:16px}.stat strong{font-size:20px}.stat span{font-size:11px}.overview-grid{grid-template-columns:1fr}.panel{padding:20px}.form-grid{grid-template-columns:1fr}.modal-overlay{padding:12px}.modal-head,.modal form{padding:20px}.task{padding:16px;gap:11px}.task .row-actions{flex-direction:column}.day-group{padding:20px 16px}.timeline-item{gap:12px}.timeline-item time{width:39px;font-size:12px}.timeline-item:before{left:54px}.timeline-item strong{font-size:13px}.budget-tools{align-items:flex-start}.inline-form{flex-direction:column}.tripmode-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.login-card{margin:7vh 18px;width:auto;padding:30px}.source-sheet{padding:15px}.source-sheet small{float:none;display:block}.record dl{grid-template-columns:90px minmax(0,1fr)}footer{padding:26px 18px}.dashboard-hero{margin:0 0 20px;min-height:365px}.hero-image{object-position:65% center}.hero-copy{padding:30px 24px;max-width:100%}.hero-copy h1{font-size:40px;max-width:300px}.hero-copy p{font-size:13px}.hero-facts{font-size:11px;gap:12px}.hero-facts b{font-size:17px}.hero-facts span{padding-right:11px}.hero-caption{font-size:7px;bottom:9px;right:12px}.dashboard-summary{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.summary-card{padding:16px 18px}.summary-copy{display:grid;grid-template-columns:1fr;gap:0}.summary-copy small{font-size:11px;margin-bottom:3px}.summary-copy strong{font-size:24px}.summary-copy p{margin-top:3px}.dashboard-explore{gap:24px;margin-bottom:25px}.atlas-panel{padding:20px 17px}.atlas-head h2{font-size:23px}.atlas-head .badge{display:none}.atlas-body{display:block}.world-atlas{min-height:180px}.atlas-label{font-size:8px;bottom:2px}.europe-atlas{border-left:0;border-top:1px solid #57838b;display:flex;flex-wrap:nowrap;padding:14px 0 0;margin-top:10px;gap:12px;justify-content:flex-start}.europe-atlas>small{display:none}.europe-atlas svg{width:95px;height:95px}.destination-chips{justify-content:flex-start}.destination-chips span{font-size:9px}.upcoming-panel .new-adventure{min-height:0}.archive-heading{margin-top:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* Printable trip mode remains light and legible on paper. */
@media print{:root{color-scheme:light;--ink:#152f37;--muted:#42585c;--line:#b7c8c8;--paper:#fff;--bg:#fff;--accent:#335c4e}.sidebar,.topbar,.tabs,.back,.title-actions,.row-actions,.primary,.secondary,footer,.tripmode-toolbar button,.dashboard-hero,.dashboard-summary,.atlas-panel{display:none!important}.workspace{margin:0;background:none}main{padding:0;max-width:none}body{background:#fff!important;color:#152f37!important}.day-group,.panel,.record,.stat,.table-wrap,.task-list,.source-sheet{background:#fff!important;color:#152f37!important;box-shadow:none;break-inside:avoid;border-color:#b7c8c8}p,small,dt,dd,.hint,.timeline-item time,.external,.day-heading>div span{color:#42585c!important}.trip-mode{max-width:none}.day-number{background:#e4eee6;color:#335c4e}.timeline-dot{background:#335c4e}.timeline-item:before{background:#b7c8c8}thead{background:#e5eee9}th{color:#335c4e}input,select,textarea{color:#152f37;background:#fff;border-color:#b7c8c8}}

/* Ocean & Sage — depth, glass and soft light. Screen only, preserving print. */
@media screen{
:root{--shadow:0 14px 34px #061d2b55,0 1px 0 #cceee31c inset;--line:#638b9699}
body{background:radial-gradient(ellipse at 85% 8%,#498d8460 0,transparent 37%),radial-gradient(ellipse at 12% 52%,#367baa44 0,transparent 43%),linear-gradient(135deg,#123344 0%,#1d4b60 45%,#173d4e 100%);background-attachment:fixed}
.sidebar{background:radial-gradient(ellipse at top left,#437e7642,transparent 65%),linear-gradient(160deg,#133e4deb,#0c2939ed);border-right-color:#6e9c9555;box-shadow:12px 0 35px #041b2826,inset -1px 0 #b8e3ca0d;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.brandmark{color:#badfc5;text-shadow:0 0 18px #a6d9b84a}.brand{color:#f2f7ee}
.nav-item.active{background:linear-gradient(120deg,#5c9e9657,#376f8559);border-color:#94c3ae80;box-shadow:inset 0 1px 0 #d0f6e228,0 0 22px #80cba617;color:#f0faf2}
.nav-item:hover{background:linear-gradient(110deg,#497c7466,#28556880);border-color:#8eb8aa45}
.topbar{background:linear-gradient(110deg,#133848b8,#265365b0);border-bottom-color:#80b3aa40;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 5px 24px #0a273121,inset 0 1px #d3eee40a}
.avatar{background:linear-gradient(140deg,#547f78,#2b5965);box-shadow:0 0 18px #9ed4b526,inset 0 1px #e5ffed24}
.dashboard-hero{border-color:#9bc3b573;box-shadow:0 22px 55px #041e2c55,0 0 45px #8bcbaa16,inset 0 1px 0 #efffef30;background:radial-gradient(ellipse at 85% 20%,#568d7e,#1b4e63 55%,#143b50)}
.dashboard-hero:after{background:linear-gradient(90deg,#0f3448f2 0%,#133e51c4 32%,#1a45594d 64%,#0f3c3d1a 100%),linear-gradient(0deg,#1035449c,transparent 65%)}
.hero-image{filter:saturate(.95) contrast(1.04)}.hero-copy h1{text-shadow:0 4px 20px #061c2c5c}.hero-copy h1 em{color:#c9e7cc;text-shadow:0 0 25px #b4debc24}
.primary{background:linear-gradient(145deg,#c0dfbf 0%,#a6cbb3 45%,#8fbaa6 100%);border-color:#c6e5c9;color:#153943;box-shadow:0 5px 18px #0928334d,0 0 22px #a6d2b226,inset 0 1px 0 #f0ffeb80}
.primary:hover{background:linear-gradient(145deg,#d0edcc,#b0d8be 55%,#9ecdb7);box-shadow:0 8px 24px #09283350,0 0 30px #a6d2b244,inset 0 1px #f4ffed90}
.secondary{background:linear-gradient(140deg,#41718591,#224e60b0);border-color:#8fb1b48c;box-shadow:0 4px 12px #09283330,inset 0 1px #d0eee31a}.secondary:hover{background:linear-gradient(140deg,#528a938c,#326174d9);box-shadow:0 0 20px #9bd0b921,inset 0 1px #d0eee32a}
.summary-card{background:radial-gradient(ellipse at 10% 0%,#88bea126,transparent 62%),linear-gradient(130deg,#3a7185b8,#204c60cc);border-color:#95bfb37a;box-shadow:0 12px 30px #061d2b44,inset 0 1px #dcf6e630,inset 0 -1px #061d2b33;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.summary-card:nth-child(2){background:radial-gradient(ellipse at 95% 0%,#83c6af25,transparent 65%),linear-gradient(130deg,#366f80b8,#204a60cc)}
.summary-card:nth-child(3){background:radial-gradient(ellipse at 20% 0%,#89aede28,transparent 65%),linear-gradient(130deg,#396d86b8,#204a60cc)}
.summary-icon{background:linear-gradient(135deg,#8dbba12f,#3d717549);border-color:#a4cebb80;box-shadow:0 0 24px #a6d6b42a,inset 0 1px #e4ffed33;color:#cce8ce}.summary-copy strong{color:#eff8ed;text-shadow:0 2px 8px #102e3529}
.searchbar{background:linear-gradient(115deg,#28556891,#194355c4);border-color:#8cafa36b;box-shadow:0 9px 24px #0825342b,inset 0 1px #dcf6e619}
.atlas-panel{background:radial-gradient(ellipse at 90% 5%,#82c49d24,transparent 48%),linear-gradient(145deg,#20485bd6,#30676dc9);border-color:#9ecaba85;box-shadow:0 18px 38px #08202f4d,0 0 32px #9cc8a51c,inset 0 1px #d5f2de36}
.world-atlas{background:radial-gradient(ellipse,#7eb2a125,transparent 76%);box-shadow:0 8px 22px #061e2b24;border:1px solid #7da7993d}
.world-atlas img{filter:drop-shadow(0 3px 8px #051e3033)}
.destination-chips span{background:linear-gradient(140deg,#689b7b33,#25596588);border-color:#a1c5a77a;box-shadow:inset 0 1px #e0f5dc16}
.new-adventure{background:radial-gradient(ellipse at 85% 0%,#9dc8a122,transparent 65%),linear-gradient(135deg,#3b776b66,#1d4b5896);border-color:#a5c9a98c;box-shadow:0 12px 25px #07243326,inset 0 1px #ddf4d91a}
.compass{color:#c5e3bc;text-shadow:0 0 22px #a4d19d44}
.trip-card{background:#204b5db8;border-color:#98bcaa6b;box-shadow:0 14px 30px #051d2b52,inset 0 1px #d7f3dc28}
.trip-card:hover{border-color:#b9ddbcbb;box-shadow:0 23px 42px #041b285c,0 0 28px #9fceae22}
.card-content{background:radial-gradient(ellipse at 90% 0%,#90bf9f16,transparent 65%),linear-gradient(140deg,#31667add,#1d475bdd);border-top:1px solid #afd8bd2b}
.card-art.spain{background:radial-gradient(ellipse at 78% 18%,#d0d7a95c,transparent 45%),linear-gradient(140deg,#477c89,#478880 48%,#29546a)}
.card-art.italy{background:radial-gradient(ellipse at 78% 18%,#c3dca76b,transparent 45%),linear-gradient(145deg,#558e80,#315e73)}
.card-art.poland{background:radial-gradient(ellipse at 78% 18%,#a7c4e466,transparent 45%),linear-gradient(140deg,#638da8,#375e7b)}
.card-art.austria{background:radial-gradient(ellipse at 78% 18%,#d3e4ad61,transparent 45%),linear-gradient(140deg,#6d9e85,#326275)}
.card-art .city-art{filter:drop-shadow(0 0 7px #b4e0cb26)}
.country-label{background:linear-gradient(140deg,#193e51a8,#1c4443c9);border-color:#b6d3b95c;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.badge{background:linear-gradient(135deg,#487989e6,#335868e6);border-color:#b0cfca73;box-shadow:inset 0 1px #f0ffe516}.badge.green{background:linear-gradient(135deg,#467a62ed,#2d584fec);color:#e0f5dc;border-color:#a7c89a87}.badge.amber{background:linear-gradient(135deg,#766544f0,#5a513beb)}.badge.danger{background:linear-gradient(135deg,#805558ef,#603c40ef)}
.progress{box-shadow:inset 0 1px 4px #031a2966}.progress i{background:linear-gradient(90deg,#8fbda0,#bee3c5);box-shadow:0 0 10px #b2deb966}
.panel,.record,.day-group,.stat,.table-wrap,.task-list,.import-notice,.source-sheet{background:radial-gradient(ellipse at top left,#85b89b13,transparent 55%),linear-gradient(145deg,#2d5e70ed,#204a5deb);border-color:#90b4ad69;box-shadow:0 10px 26px #06212e3d,inset 0 1px #d7f3dc20}
.stat{background:radial-gradient(ellipse at 92% 0%,#9ecbb328,transparent 60%),linear-gradient(145deg,#356a7edb,#214e60eb)}
.stat strong{color:#f0f8ee;text-shadow:0 0 14px #b9dec20f}.tabs button.active{background:linear-gradient(120deg,#6da89252,#35666c91);border-color:#a5cdb682;box-shadow:inset 0 1px #e1ffde29,0 0 17px #a5d4b013}
.journal-note{background:linear-gradient(120deg,#326458aa,#23485acc);border-color:#8bae9c69;box-shadow:0 10px 22px #08273424,inset 0 1px #e1f6d920}
input,select,textarea{background:linear-gradient(140deg,#163e51f0,#194459f0);border-color:#789d9fa8;box-shadow:inset 0 2px 5px #051d2c33,0 1px #e0f2de0c}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px #a6c5ad16,inset 0 2px 5px #051d2c22}
.searchbar input{background:transparent;box-shadow:none}
.modal{background:radial-gradient(ellipse at top right,#659b822b,transparent 60%),linear-gradient(135deg,#265265fa,#193e52fa);border-color:#a4cdb58c;box-shadow:0 28px 80px #021724a6,inset 0 1px #d7f7db33}.modal-head{background:linear-gradient(120deg,#295565fa,#214958fa);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.login-card{background:radial-gradient(ellipse at top right,#9ac7a136,transparent 60%),linear-gradient(145deg,#366b7ad9,#194155e6);border-color:#a1c9b89c;box-shadow:0 25px 85px #031b2b99,0 0 50px #94c99d1f,inset 0 1px #e2ffe136;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
#toast{background:linear-gradient(135deg,#c3e2bf,#a1c9b1);box-shadow:0 12px 35px #041f2c66,0 0 30px #b5ddbf33}
}
@media screen and (max-width:760px){body{background-attachment:scroll}.sidebar{backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 8px 24px #061d2b22}.summary-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(135deg,#346d7be8,#204d61e8)}.dashboard-hero{box-shadow:0 15px 35px #061f2e55,0 0 25px #9bcca917}}

/* Ocean Glass — stronger luminous layering, without changing planner behavior. */
@media screen{
body{background:radial-gradient(ellipse at 90% 5%,#599c875c 0,transparent 45%),radial-gradient(ellipse at 18% 45%,#3e86af55 0,transparent 50%),linear-gradient(140deg,#092b40 0%,#20536a 38%,#245c62 72%,#123b50 100%);background-attachment:fixed}
.workspace{position:relative;isolation:isolate}
.workspace:before{content:'';position:fixed;inset:150px -160px auto 220px;height:800px;background:url('/assets/images/world-background.svg?v=20261007-2004') center/contain no-repeat;opacity:.065;pointer-events:none;z-index:-1;filter:blur(.3px)}
.sidebar{background:radial-gradient(ellipse at 5% 12%,#6fbb9e38,transparent 58%),linear-gradient(160deg,#153e51ce,#09283cde 75%);border-right:1px solid #9bbfaf5c;box-shadow:18px 0 45px #03182840,inset -1px 0 #d0f3d51a;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.sidebar .brandmark{color:#d1edd2;text-shadow:0 0 12px #b6e7c56b,0 0 35px #a4e2b744}
.sidebar-bottom p{color:#d0e6d4;text-shadow:0 2px 16px #b3dabc18}
.nav-item.active{background:radial-gradient(ellipse at top left,#bbe6c138,transparent 75%),linear-gradient(115deg,#649f9861,#39768f66);border-color:#b1dac391;box-shadow:0 7px 22px #07253550,0 0 25px #a0dfb626,inset 0 1px #e9ffe159,inset 0 -1px #12384940}
.topbar{background:linear-gradient(120deg,#173e53a3,#43807c55);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid #a5cfc853;box-shadow:0 6px 28px #031c2a26,inset 0 1px #d1f1d919}
.dashboard-hero{min-height:420px;border-radius:22px;border:1px solid #bcdbca91;box-shadow:0 25px 65px #021b2b70,0 0 0 1px #e1ffe714,0 0 65px #8acdab26}
.dashboard-hero:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#d7f6e317,transparent 30%,transparent 70%,#a5c5ab18);box-shadow:inset 0 1px #e9fff34d,inset 0 -1px #d6f3e126;border-radius:inherit;z-index:0}
.dashboard-hero:after{background:linear-gradient(90deg,#082b41ee 0%,#153f52af 33%,#1b494d28 72%,#1339360a 100%),linear-gradient(0deg,#123c529c,transparent 50%)}
.hero-copy{padding:48px 44px 90px;max-width:68%;z-index:1}.hero-copy h1{font-size:clamp(43px,4.3vw,66px);letter-spacing:-1.9px}.hero-copy h1 em{color:#d0ebca;text-shadow:0 0 28px #b8e5b72e,0 3px 14px #06213433}.hero-copy p{color:#dfefeb;font-size:15px}.hero-caption{bottom:65px;z-index:1}
.dashboard-summary{position:relative;z-index:2;margin:-47px 22px 32px;gap:18px}
.summary-card{position:relative;overflow:hidden;min-height:118px;border-radius:17px;border:1px solid #cae9d298;background:radial-gradient(ellipse at 12% 0%,#c7eab844,transparent 66%),linear-gradient(125deg,#568d9999,#254f68c9);box-shadow:0 18px 38px #031b2b6b,0 0 24px #9edbb423,inset 0 1px #ecffe673,inset 0 -1px #0b2f4759;backdrop-filter:blur(23px) saturate(125%);-webkit-backdrop-filter:blur(23px) saturate(125%)}
.summary-card:nth-child(2){background:radial-gradient(ellipse at 95% 0%,#b2e4c342,transparent 65%),linear-gradient(125deg,#518c8496,#245469cf)}
.summary-card:nth-child(3){background:radial-gradient(ellipse at 18% 0%,#abcce944,transparent 66%),linear-gradient(125deg,#4e81a196,#274c66ce)}
.summary-card:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(145deg,#e0ffe524,transparent 42%,#0b2b461a);box-shadow:inset 1px 0 #e2ffe623}
.summary-card>span,.summary-card>div{position:relative}.summary-icon{width:50px;height:50px;border-radius:14px;background:radial-gradient(ellipse at 30% 15%,#ceeed155,transparent 75%),linear-gradient(135deg,#79b99755,#326e7d7a);border-color:#ceeaccaa;box-shadow:0 0 26px #c2efc34d,0 5px 12px #103c3d3b,inset 0 1px #f0ffe788;color:#dbf3d5}.summary-copy strong{color:#f3f9ed;font-size:27px}.summary-copy small{color:#d4e8e3}.summary-copy p{color:#cde0df}
.primary{position:relative;background:radial-gradient(ellipse at 50% -40%,#ecffcfbd,transparent 75%),linear-gradient(140deg,#c7e9b8,#a4d0b2 48%,#81b6a3);border-color:#e0f8cf;box-shadow:0 7px 20px #062c3b55,0 0 28px #bde5ad40,inset 0 1px #f6ffdcad,inset 0 -2px #52897944;transition:background .2s,transform .2s,box-shadow .2s}
.primary:hover{background:radial-gradient(ellipse at 50% -20%,#edffd8d9,transparent 75%),linear-gradient(140deg,#d4efc3,#b8ddc0,#91c6ad);box-shadow:0 12px 28px #082b3c5c,0 0 40px #c2eeb45c,inset 0 1px #f8ffe2cc;transform:translateY(-2px)}
.secondary{background:linear-gradient(135deg,#68a0984d,#3b718c6b);border-color:#bedbcc87;box-shadow:0 5px 15px #032b3b3d,inset 0 1px #e4ffdf3d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.searchbar{background:radial-gradient(ellipse at 5% 0%,#a0d2bf24,transparent 60%),linear-gradient(120deg,#457b8c5c,#28546b9c);border:1px solid #a7cdb98a;box-shadow:0 13px 28px #0525363d,inset 0 1px #e0ffe336;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.atlas-panel{position:relative;isolation:isolate;background:radial-gradient(ellipse at 80% 0%,#c1e4b43a,transparent 62%),radial-gradient(ellipse at 0% 90%,#69a5bf29,transparent 58%),linear-gradient(145deg,#2c697bd6,#17485dd9 47%,#3a7164d1);border:1px solid #bfdcc19c;border-radius:18px;box-shadow:0 24px 55px #021d2d70,0 0 35px #ace0b632,inset 0 1px #e6ffd650,inset 0 -1px #1c48395c}
.atlas-panel:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(130deg,#cceaca16,transparent 34%,transparent 67%,#9ccdd524);box-shadow:inset 1px 0 #e6ffdc2e;z-index:-1}
.atlas-head h2{color:#f0f6e7;text-shadow:0 2px 14px #102e3445}.world-atlas{border:1px solid #c0dcc67a;border-radius:12px;background:radial-gradient(ellipse at center,#bbdcbb20,transparent 70%);box-shadow:0 12px 25px #0823353b,inset 0 1px #d5f3df31}.world-atlas img{filter:drop-shadow(0 5px 14px #08263366) saturate(1.08)}
.destination-chips span{background:linear-gradient(135deg,#b2d9aa3d,#478b8178);border-color:#c0dfb98a;box-shadow:0 2px 6px #163f4233,inset 0 1px #eeffdf3b;color:#edf4df}
.new-adventure{background:radial-gradient(ellipse at 90% 0%,#c5e8b32d,transparent 55%),linear-gradient(140deg,#528d767a,#356d7a87);border-color:#bcd6a996;border-radius:17px;box-shadow:0 18px 36px #0726353d,inset 0 1px #e9ffd63d}.new-adventure h3{color:#ebf5e7}.compass{text-shadow:0 0 28px #c4ebaa88,0 0 55px #aed39140}
.trip-card{position:relative;border-color:#afd7bd9c;border-radius:18px;box-shadow:0 19px 35px #031d2f70,0 0 0 1px #d0f3da0c,inset 0 1px #e1ffe42b;transition:transform .25s,box-shadow .25s,border-color .25s}.trip-card:before{content:'';position:absolute;top:0;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,#e7ffccbb,transparent);z-index:3;pointer-events:none}.trip-card:hover{transform:translateY(-6px);border-color:#d2ecca;box-shadow:0 29px 52px #041b2b80,0 0 38px #bce6b447}
.card-content{background:radial-gradient(ellipse at 95% 10%,#b5dcb927,transparent 65%),linear-gradient(125deg,#3e7a8dd6,#235269e3 65%,#2c6265dd);border-top:1px solid #cde6c653}
.card-art.spain{background:radial-gradient(ellipse at 80% 13%,#deefbe88,transparent 42%),linear-gradient(130deg,#5c9da4,#528f81 48%,#2a5d77)}.card-art.italy{background:radial-gradient(ellipse at 80% 13%,#d9efb77d,transparent 43%),linear-gradient(140deg,#70aa8a,#397287)}.card-art.poland{background:radial-gradient(ellipse at 80% 13%,#c5dbec88,transparent 43%),linear-gradient(140deg,#70a4ba,#3b7194)}.card-art.austria{background:radial-gradient(ellipse at 80% 13%,#e8f0c278,transparent 43%),linear-gradient(140deg,#84b38d,#427c89)}
.progress i{box-shadow:0 0 13px #cdf0c194;background:linear-gradient(90deg,#89c4a2,#d3ecb8)}
.panel,.record,.day-group,.stat,.table-wrap,.task-list,.import-notice,.source-sheet{background:radial-gradient(ellipse at top right,#9bcaa825,transparent 63%),linear-gradient(135deg,#356e81eb,#214e64ee 60%,#2d5e65eb);border-color:#a2c4b683;box-shadow:0 17px 35px #051f304d,inset 0 1px #e2ffdd39,inset 0 -1px #173b4a33}
/* Dense working areas stay close to opaque for stable reading contrast. */
.table-wrap,.task-list,.source-sheet{background:linear-gradient(140deg,#2f6276f7,#204b60f7);backdrop-filter:none;-webkit-backdrop-filter:none}.panel,.record{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.stat{background:radial-gradient(ellipse at 80% -20%,#bee8be38,transparent 65%),linear-gradient(130deg,#477e8ac9,#245368e8);border-color:#b4d9be88;box-shadow:0 15px 29px #08203152,0 0 20px #a9d0aa13,inset 0 1px #e6ffdd47}
.tabs button.active{background:linear-gradient(125deg,#82b69964,#3f7c826e);border-color:#c2dfbbaa;box-shadow:0 0 22px #b6dea726,inset 0 1px #e9ffe057;color:#eff8e7}
.journal-note{background:radial-gradient(ellipse at 10% -10%,#c3ddb22c,transparent 62%),linear-gradient(125deg,#4c826469,#2b657c8c);border-color:#accbac88;box-shadow:0 14px 27px #0923373b,inset 0 1px #ebffdb35}
.modal-overlay{background:linear-gradient(130deg,#082a45a8,#163e37a6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.modal{background:radial-gradient(ellipse at 100% 0%,#afd9b238,transparent 70%),linear-gradient(135deg,#397487f5,#1a435cf7);border-color:#cae6c4a1;box-shadow:0 30px 95px #001522bb,0 0 60px #aedba926,inset 0 1px #edffe66b}.modal-head{background:linear-gradient(130deg,#487e8bcc,#26576edb)}
.login-body{background:radial-gradient(ellipse at 80% 20%,#d9f2c830,transparent 62%),linear-gradient(120deg,#062a43ac,#285f6561),url('/assets/images/ocean-hero.webp') center/cover fixed}
.login-card{background:radial-gradient(ellipse at top right,#c9e9be42,transparent 65%),linear-gradient(140deg,#51859899,#1d4b64c4);border-color:#d8edcea6;box-shadow:0 35px 90px #011d33a6,0 0 70px #b7e8bb30,inset 0 1px #edffe688,inset 1px 0 #eeffe624;backdrop-filter:blur(24px) saturate(120%);-webkit-backdrop-filter:blur(24px) saturate(120%)}
}
@media screen and (max-width:1200px){.hero-copy{max-width:85%;padding:40px 34px 85px}.dashboard-summary{margin:-40px 12px 28px;gap:12px}.summary-card{padding:18px 16px;gap:12px}.summary-icon{width:40px;height:40px}.summary-copy strong{font-size:24px}}
@media screen and (max-width:760px){body{background-attachment:scroll}.workspace:before{display:none}.sidebar{backdrop-filter:none;-webkit-backdrop-filter:none}.dashboard-hero{min-height:405px;border-radius:19px}.hero-copy{padding:32px 25px 70px;max-width:100%}.hero-copy h1{font-size:45px}.hero-copy p{font-size:13px}.hero-caption{bottom:44px;font-size:7px}.dashboard-summary{margin:-26px 9px 27px;gap:12px}.summary-card,.summary-card:nth-child(2),.summary-card:nth-child(3){min-height:105px;background:radial-gradient(ellipse at top left,#b3dca839,transparent 67%),linear-gradient(135deg,#497e8ae8,#214d66f0);backdrop-filter:none;-webkit-backdrop-filter:none}.summary-copy strong{font-size:25px}.summary-icon{width:45px;height:45px}.panel,.record{backdrop-filter:none;-webkit-backdrop-filter:none}.trip-card:hover{transform:none}.atlas-panel{box-shadow:0 19px 38px #021d2d66,0 0 25px #a5d4a62b}.login-card{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}

/* Requested layout/account/year-control adjustments. Existing theme retained. */
@media screen{
footer{font-size:13px;line-height:1.6}
.dashboard-main{padding-top:14px}
button.profile{width:100%;background:transparent;color:var(--ink);border:0;border-top:1px solid var(--line);border-radius:0;text-align:left;cursor:pointer;padding-bottom:10px}
button.profile:hover{background:#8cb5a51c;border-radius:0 0 10px 10px}
button.profile:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.profile-panel{max-width:720px}
/* Native year options are replaced by a keyboard-accessible listbox. */
.year-select{position:relative;flex-shrink:0;min-width:125px;color:#264b3f;z-index:8}
#archive-year{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;border:1px solid #bcd2b7;border-radius:8px;padding:10px 12px;background:linear-gradient(135deg,#e0ebd3,#c3d8bc);color:#234b3b;font-size:13px;font-weight:600;box-shadow:inset 0 1px #f3ffe9a6,0 3px 9px #0c2e3f26;cursor:pointer}
#archive-year:hover,#archive-year[aria-expanded=true]{background:linear-gradient(135deg,#e8f1df,#cfdfc7);color:#234b3b}
#archive-year-options{position:absolute;right:0;top:calc(100% + 7px);min-width:100%;max-height:260px;overflow:auto;z-index:12;background:#dce9d2;color:#264b3f;border:1px solid #bfd4b5;border-radius:9px;padding:5px;box-shadow:0 14px 28px #06243466}
#archive-year-options[hidden]{display:none}
#archive-year-options button{display:block;width:100%;padding:9px 12px;text-align:left;border:0;border-radius:5px;background:transparent;color:#264b3f;font-size:13px;white-space:nowrap;cursor:pointer}
#archive-year-options button[aria-selected=true]{background:#35684f;color:#fff;font-weight:600}
#archive-year-options button:hover,#archive-year-options button:focus-visible{background:#477a5c;color:#fff;outline:none}
.dashboard-explore{align-items:stretch}
.upcoming-panel{display:flex;flex-direction:column;border:1px dashed #bcd6a996;border-radius:17px;padding:23px 24px;background:radial-gradient(ellipse at 90% 0%,#c5e8b32d,transparent 55%),linear-gradient(140deg,#528d767a,#356d7a87);box-shadow:0 18px 36px #0726353d,inset 0 1px #e9ffd63d;min-width:0}
.upcoming-panel .section-title{margin:0 0 18px;min-height:60px;align-items:flex-start}
.upcoming-panel .section-title h2{padding-top:4px}
.upcoming-panel .new-adventure{flex:1;min-height:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:20px 4px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.upcoming-panel .new-adventure .compass{margin:0 0 22px}.upcoming-panel .new-adventure button{margin:20px 0 0}
.upcoming-panel .trip-grid{flex:1;align-content:start}
.europe-atlas img{display:block;width:118px;height:105px;flex-shrink:0;object-fit:contain}
}
@media screen and (max-width:1200px){.europe-atlas img{width:130px;height:110px}}
@media screen and (max-width:760px){footer{font-size:12px}.dashboard-main{padding-top:14px}.year-select{min-width:106px}#archive-year{font-size:12px;padding:9px 10px;gap:10px}.europe-atlas img{width:95px;height:95px}.upcoming-panel{padding:20px 17px}.upcoming-panel .section-title{min-height:0}.upcoming-panel .new-adventure{padding:12px 4px}}
.mobile-profile{display:none}
@media screen and (max-width:760px){.sidebar .brand{flex:1 0 calc(100% - 50px)}.mobile-profile{display:inline-flex;margin:0 0 10px;align-self:center}}
@media screen and (max-width:760px){.sidebar .brand{flex:1 0 55%}.mobile-profile{background:transparent;border:0;color:var(--ink);font-size:11px;text-align:right;justify-content:flex-end;max-width:40%;overflow-wrap:anywhere;cursor:pointer;padding:0}.mobile-profile small{display:block;font-size:9px;color:var(--muted)}.mobile-profile:focus-visible{outline:2px solid var(--accent);outline-offset:4px}}

/* Keep the copyright at a stable screen position without covering content. */
@media screen{.workspace{padding-bottom:64px}.workspace>footer{position:fixed;left:232px;right:0;bottom:0;z-index:6;margin:0;padding:14px 20px;background:linear-gradient(110deg,rgba(15,46,60,.94),rgba(29,65,69,.94));border-top:1px solid rgba(152,190,173,.22);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);text-align:center;font-size:13px;line-height:1.5}}
@media screen and (max-width:760px){.workspace{padding-bottom:88px}.workspace>footer{left:0;font-size:12px;padding:12px 16px}}

/* Dashboard preview limits and compact upcoming journeys. */
#archive-year-options{scrollbar-width:none;-ms-overflow-style:none}#archive-year-options::-webkit-scrollbar,select::-webkit-scrollbar{display:none;width:0;height:0}select{scrollbar-width:none}
@media screen and (min-width:1201px){.dashboard-past-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.upcoming-panel{box-sizing:border-box;overflow:hidden;min-height:0}.upcoming-panel .section-title{flex-shrink:0}.upcoming-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-height:0}.upcoming-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-width:0;min-height:0;padding:10px;border:1px solid #a3c5b85e;border-radius:12px;background:linear-gradient(120deg,#244f638f,#63988040);box-shadow:inset 0 1px #d9efd629;overflow:hidden}.upcoming-row:hover{background:linear-gradient(120deg,#356c788f,#79ac6959);border-color:#bbd7af}.upcoming-thumb{position:relative;display:block;width:66px;height:100%;max-height:68px;min-height:38px;flex-shrink:0;border-radius:8px;overflow:hidden;background:linear-gradient(145deg,#5c9199,#204e62)}.upcoming-thumb img,.upcoming-thumb svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.upcoming-info{min-width:0;flex:1}.upcoming-info strong,.upcoming-info small,.upcoming-info>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upcoming-info strong{font-size:15px;font-weight:550;color:#eef6eb}.upcoming-info small{font-size:11px}.upcoming-info>span{font-size:10px;color:#c7ded0}.upcoming-arrow{font-size:20px;color:var(--accent)}
@media screen and (max-width:760px){.upcoming-list{grid-template-rows:repeat(3,minmax(0,1fr))}.upcoming-row:nth-child(n+4){display:none}.upcoming-info strong{font-size:14px}.upcoming-panel .section-title{min-height:48px}.upcoming-panel .section-title h2{font-size:17px}}
/* Match the existing narrower sidebar at tablet widths. */
@media screen and (min-width:761px) and (max-width:1200px){.workspace>footer{left:200px}}

.dashboard-explore{align-items:start}

/* Account actions remain separate, with room to wrap on smaller screens. */
.companion-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}.companion-actions .text-button{margin:0;white-space:nowrap}
.signout-form{margin:0;padding:0}.signout-form .nav-item{width:100%}
/* Hide form scrollbars while keeping overflow scrolling and keyboard access. */
.modal,.modal-overlay,form,textarea,select{scrollbar-width:none;-ms-overflow-style:none}
.modal::-webkit-scrollbar,.modal-overlay::-webkit-scrollbar,form::-webkit-scrollbar,textarea::-webkit-scrollbar,select::-webkit-scrollbar{display:none;width:0;height:0}
.account-copyright{display:block;text-align:center;font-size:11px;line-height:1.6;margin-top:18px;overflow-wrap:anywhere}

/* Selected Flight Path identity. */
.flight-logo{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0}.sidebar .flight-logo{width:38px;height:38px;filter:drop-shadow(0 0 7px #b6dfae40)}.login-card>.flight-logo{width:78px;height:78px;margin:0 auto 16px}.footer-logo{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-right:5px}.account-copyright .footer-logo{width:17px;height:17px}
/* Lift the summary cards into the panorama. */
.dashboard-summary{margin-top:-88px}.summary-card{text-align:left}.summary-link{cursor:pointer}.summary-link:hover{border-color:#e1f5cc;box-shadow:0 20px 42px #031b2b70,0 0 28px #acd9a93d,inset 0 1px #ecffe673}.summary-link:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.summary-copy{display:block}.summary-detail{display:block;color:#cde0df;font-size:11px;margin-top:6px;line-height:1.55}
@media screen and (max-width:1200px){.dashboard-summary{margin-top:-76px}}
@media screen and (max-width:760px){.dashboard-summary{margin-top:-55px}.sidebar .flight-logo{width:34px;height:34px}.summary-detail{margin-top:3px}}
/* No visible scrollbars, with normal page and panel scrolling preserved. */
@media screen{html,body,*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none;width:0;height:0}}

/* Copyright follows page content and never stays fixed over the viewport. */
@media screen{
 .workspace{display:flex;flex-direction:column;min-height:100vh;padding-bottom:0}
 .workspace>main{width:100%;flex:1 0 auto}
 .workspace>footer{position:static;inset:auto;z-index:auto;margin-top:auto;flex-shrink:0;width:100%}
}
@media screen and (max-width:760px){
 #app{display:flex;flex-direction:column;min-height:100vh}
 .sidebar{flex-shrink:0}
 .workspace{flex:1;min-height:0;padding-bottom:0}
}

/* Keep covers flush with the top when neighbouring cards have longer text. */
.trip-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.trip-card>.card-art{flex:0 0 auto}
.trip-card>.card-content{flex:1 0 auto}

/* All form dropdowns match the existing year-filter palette. */
.mt-dropdown{position:relative;width:100%;min-width:0}
.mt-native-select{display:none!important}
.mt-dropdown-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:44px;border:1px solid #bcd2b7;border-radius:8px;padding:10px 12px;background:linear-gradient(135deg,#e0ebd3,#c3d8bc);color:#234b3b;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;text-align:left;box-shadow:inset 0 1px #f3ffe9a6,0 3px 9px #0c2e3f26;cursor:pointer}
.mt-dropdown-toggle>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-dropdown-toggle>span:last-child{flex-shrink:0}
.mt-dropdown-toggle:hover,.mt-dropdown-toggle[aria-expanded=true]{background:linear-gradient(135deg,#e8f1df,#cfdfc7);color:#234b3b}
.mt-dropdown-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.mt-dropdown-toggle:disabled{opacity:.6;cursor:default}
.mt-dropdown-menu{position:fixed;box-sizing:border-box;max-height:260px;overflow:auto;z-index:10000;background:#dce9d2;color:#264b3f;border:1px solid #bfd4b5;border-radius:9px;padding:5px;box-shadow:0 14px 28px #06243466}
.mt-dropdown-menu button{display:block;width:100%;padding:9px 12px;text-align:left;border:0;border-radius:5px;background:transparent;color:#264b3f;font-size:13px;line-height:1.4;white-space:normal;cursor:pointer}
.mt-dropdown-menu button[aria-selected=true]{background:#35684f;color:#fff;font-weight:600}
.mt-dropdown-menu button:hover,.mt-dropdown-menu button:focus-visible{background:#477a5c;color:#fff;outline:none}
.mt-dropdown-menu button:disabled{opacity:.5;cursor:default}
@media print{.mt-dropdown-menu{display:none}}

/* Logged-in user: distinct from the selected navigation item. */
.sidebar-bottom .profile{
 background:radial-gradient(ellipse at top left,#bbe6c145,transparent 75%),linear-gradient(115deg,#73afa572,#4a879b77);
 color:#f0faf2;
 border:1px solid #b1dac391;
 border-radius:10px;
 padding:12px 13px;
 margin-top:18px;
 margin-bottom:10px;
 box-shadow:inset 0 1px #e9ffe145,0 5px 16px #07253535;
}
.sidebar-bottom .profile:hover{background:radial-gradient(ellipse at top left,#bbe6c14d,transparent 75%),linear-gradient(115deg,#7cb7ad80,#5592a580)}
.sidebar-bottom .profile small{color:#d1e6dc}
.sidebar-bottom .profile>span{min-width:0;overflow-wrap:anywhere}

/* Clearer login panorama and a raised translucent login panel. */
.login-body{
 position:relative;
 isolation:isolate;
 background:#173e50;
}
.login-body::before{
 content:"";
 position:fixed;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:linear-gradient(120deg,#062a434d,#285f6526),url('/assets/images/ocean-hero.webp') center/cover no-repeat;
 filter:brightness(1.05) contrast(1.08) saturate(1.05);
}
.login-body .login-card{
 background:radial-gradient(ellipse at 95% 0%,#d3efc825,transparent 70%),linear-gradient(145deg,#548b9b80,#16425ba3);
 border:1px solid #d2e9ddad;
 border-top-color:#e9f7e7dc;
 border-left-color:#d9eee2b8;
 border-right-color:#81b0bba6;
 border-bottom-color:#547e90e0;
 box-shadow:0 4px 8px #031c2940,0 22px 42px #031c296b,0 48px 90px #011b328c,0 0 45px #c0e8c018,inset 0 2px 0 #f1ffe66b,inset 1px 0 0 #e4fae52b,inset 0 -2px 0 #082b4359;
 backdrop-filter:blur(10px) saturate(115%);
 -webkit-backdrop-filter:blur(10px) saturate(115%);
}
.login-body .login-card input{
 background:#143b52a6;
 border-color:#9dbdc3a1;
 box-shadow:inset 0 2px 5px #05273c40,0 1px 0 #edfce51f;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .login-body .login-card{background:linear-gradient(145deg,#386f83ed,#16425bf2)}
}

/* Budget column filters and trip statistics */
.column-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:pointer}.column-filter span{color:var(--accent);font-size:13px}.column-filter.is-filtered{color:#e7f5b4}.column-filter:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.budget-filter-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:var(--muted);font-size:12px}.budget-filter-dialog{background:#1e4556;color:var(--ink);border:1px solid #91b6ae;border-radius:14px;padding:20px;width:370px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;box-shadow:0 20px 70px #06192499}.budget-filter-dialog::backdrop{background:#061d2a99}.filter-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.filter-dialog-head button{background:none;border:0;color:inherit;font-size:25px;cursor:pointer}.filter-sort,.filter-select{display:flex;justify-content:space-between;gap:10px;margin:12px 0;flex-wrap:wrap}.filter-search{width:100%;box-sizing:border-box}.filter-values{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:6px}.filter-values label{display:flex;align-items:center;gap:10px;padding:8px;color:var(--ink);cursor:pointer;overflow-wrap:anywhere;font-size:13px}.filter-values label[hidden]{display:none}.filter-values input{flex-shrink:0}.filter-range{display:flex;gap:12px;margin-top:16px}.filter-range label{flex:1;min-width:0;font-size:12px}.filter-range input{display:block;width:100%;box-sizing:border-box;margin-top:6px}.filter-error{color:#ffcabd;font-size:12px}.statistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}.statistics-grid .panel{min-width:0}.statistics-controls{display:flex;gap:12px;flex-wrap:wrap}.statistics-select{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.statistics-select select{min-width:125px}.spending-bar-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(50px,1.5fr) auto;align-items:center;gap:10px;margin:18px 0;font-size:12px}.spending-bar-row>span{overflow-wrap:anywhere}.spending-bar-row strong{font-weight:500;white-space:nowrap;font-size:12px}.spending-track{height:12px;background:#082f4566;border-radius:4px;overflow:hidden}.spending-track i{display:block;height:100%;background:var(--accent);border-radius:4px}.spending-track i.refund{background:#e7ad8d}.fx-chart{width:100%;overflow-x:auto}.fx-chart svg{width:100%;min-width:550px;height:auto;display:block}.fx-chart text{fill:var(--ink);font-size:12px}.fx-grid{stroke:var(--line);stroke-width:1}.fx-chart circle:focus{outline:2px solid white}.fx-legend{display:flex;flex-wrap:wrap;gap:15px;margin:10px 0;font-size:12px}.fx-legend span{display:flex;gap:7px;align-items:center}.fx-legend i{width:12px;height:12px;border-radius:50%}@media(max-width:1000px){.statistics-grid{grid-template-columns:1fr}}@media(max-width:500px){.spending-bar-row{grid-template-columns:minmax(70px,1fr) minmax(35px,1fr) auto;gap:7px}.budget-filter-status{align-items:flex-start}.statistics-controls{width:100%}}@media print{.budget-filter-status,.statistics-controls,.statistics-select{display:none}.column-filter span{display:none}.fx-chart{overflow:visible}.fx-chart svg{min-width:0}.fx-chart text{fill:#152f37}.spending-track i{print-color-adjust:exact}.fx-legend i{print-color-adjust:exact}}

/* Numeric budget/statistics cells and filtered subtotals */
table td.amount-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.budget-data-table td.amount-cell small{text-align:right}.budget-data-table tfoot td{font-weight:600;border-top:2px solid var(--accent);background:#173e5080;padding-top:17px;padding-bottom:17px}.budget-data-table tfoot td:first-child{white-space:nowrap}.budget-data-table tfoot td small{font-weight:400}@media print{.budget-data-table tfoot td{background:#e5eee9!important}}

/* Keep the year menu above cards and panels: backdrop-filter makes the
   search bar a stacking context, so its parent needs the higher layer. */
.workspace main > .searchbar{position:relative;z-index:15;overflow:visible}

/* Wishlist and gently tightened navigation spacing. */
@media screen and (min-width:761px){
 .sidebar{padding-top:24px;padding-bottom:22px}
 .sidebar .brand{padding-bottom:24px}
 .sidebar .nav-label{padding-bottom:8px}
 .sidebar .nav-item{padding:10px 13px;margin:3px 0;min-height:44px}
 .sidebar-bottom{padding-top:20px}
 .sidebar-bottom .profile{margin-top:14px;margin-bottom:8px;padding:11px 13px}
}
.wishlist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.wishlist-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #4a7182;border-radius:var(--radius);background:var(--paper);box-shadow:var(--shadow);min-width:0}
.wishlist-card>.card-art{flex:0 0 180px}
.wishlist-content{display:flex;flex-direction:column;flex:1;padding:22px;background:linear-gradient(145deg,#245366,#1b4558)}
.wishlist-content h2{font-family:Georgia,serif;font-size:26px;font-weight:400;overflow-wrap:anywhere}
.wishlist-season{font-size:12px;margin:10px 0;color:#c7dbe0}
.wishlist-notes{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 20px}
.wishlist-budget{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto;padding:15px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.wishlist-budget strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.wishlist-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:4px}
.wishlist-remove{border:0;background:none;color:var(--muted);padding:8px 3px;font-size:12px;margin-left:auto;min-height:36px}
.wishlist-remove:hover{color:#ffcfbd}
.wishlist-linked{display:block;margin-top:13px;color:var(--accent)}
.wishlist-main #wishlist-priority{min-width:135px}
@media(max-width:1100px){.wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wishlist-grid{grid-template-columns:1fr}.wishlist-main .page-heading{align-items:flex-start;flex-wrap:wrap}.wishlist-main .searchbar{flex-wrap:wrap}.wishlist-main .searchbar input{flex:1 1 70%}.wishlist-main .searchbar .mt-dropdown{width:150px}}

/* Administration lists and comfortable traveller dropdowns. */
.admin-lists-panel{margin-top:24px}.admin-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-list{border:1px solid var(--line);border-radius:11px;background:#153e4d60;min-width:0}.admin-list>summary{cursor:pointer;padding:16px 18px;font-weight:600}.admin-list>summary span{float:right;font-size:12px;color:var(--accent);margin-left:10px}.admin-list-body{padding:0 18px 16px}.admin-list ul{list-style:none;padding:0;margin:14px 0 0;max-height:390px;overflow:auto}.admin-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.admin-list li>div:first-child{min-width:0;overflow-wrap:anywhere}.admin-list li strong{font-size:13px;font-weight:500}.admin-list li small{display:block;font-size:11px;margin-top:3px}.list-item-actions{display:flex;gap:5px;flex-shrink:0;flex-wrap:wrap}.list-item-actions button{background:#254e5e;border:1px solid #62828d;border-radius:6px;font-size:11px;padding:6px 8px;min-height:32px}.admin-backups{margin-top:24px}.admin-backups .title-actions{flex-wrap:wrap}.traveller-field>span{display:block;margin-bottom:7px;font-size:12px;color:var(--muted)}.traveller-picker{border:1px solid #bcd2b7;border-radius:8px;background:#dce9d2;color:#234b3b}.traveller-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;cursor:pointer;padding:12px;font-size:13px;font-weight:600;overflow-wrap:anywhere;color:#234b3b}
.traveller-picker>summary::-webkit-details-marker{display:none}
.traveller-picker>summary::after{content:"⌄";flex-shrink:0;color:#234b3b}
.traveller-picker[open]>summary::after{content:"⌃"}.traveller-picker>div{padding:5px 12px 12px;max-height:250px;overflow:auto;border-top:1px solid #abc6a4}.traveller-picker label{color:#234b3b;display:flex;align-items:center;gap:9px;padding:8px 0;cursor:pointer}.traveller-picker input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#35684f}.traveller-field>small{display:block;margin-top:7px}
@media(max-width:1100px){.admin-list-grid{grid-template-columns:1fr}}@media(max-width:500px){.admin-list li{align-items:flex-start;flex-wrap:wrap}.list-item-actions{width:100%;justify-content:flex-end}}

/* Give the statistics totals their own clearly separated sections. */
h2.statistics-totals-heading{margin:32px 0 14px}

/* Expense view uses the chosen soft-blue palette, at the end of the action row. */
.budget-section-heading{flex-wrap:wrap}
.budget-section-heading>div:first-child{flex:1 1 300px}
.expense-actions{align-items:center;flex:0 0 auto;max-width:100%}
.expense-actions>.primary,.expense-actions>.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.expense-view-control{display:flex;align-items:center;gap:10px;margin-left:8px;flex:0 0 auto;color:var(--muted);font-size:12px;white-space:nowrap}
.expense-view-control>select,.expense-view-control .expense-view-dropdown{width:210px;min-width:210px;flex:0 0 210px}
.expense-view-control>select,.expense-view-dropdown .mt-dropdown-toggle{background:#DDEAF7;border:1px solid #91AEC7;color:#254964;min-height:44px;border-radius:8px;white-space:nowrap;box-shadow:0 3px 9px #0c2e3f26}
.expense-view-dropdown .mt-dropdown-toggle:hover,.expense-view-dropdown .mt-dropdown-toggle[aria-expanded=true]{background:#E8F1FA;color:#254964;border-color:#91AEC7}
.expense-view-dropdown .mt-dropdown-toggle:focus-visible{outline:2px solid #91AEC7;outline-offset:3px}
.expense-view-menu{background:#DDEAF7;border-color:#91AEC7;color:#254964}
.expense-view-menu button{color:#254964;white-space:nowrap}
.expense-view-menu button[aria-selected=true]{background:#254964;color:#fff}
.expense-view-menu button:hover,.expense-view-menu button:focus-visible{background:#416985;color:#fff}
@media(max-width:600px){.expense-actions{justify-content:flex-start!important}.expense-view-control{margin-left:0}}

/* Administrator default checklist alongside trip backups. */
.admin-profile-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;align-items:start}
.admin-profile-tools .profile-panel{max-width:none;min-width:0;margin:0}
.default-checklist-panel .section-title{margin:0 0 14px;align-items:flex-start;flex-wrap:wrap}
.default-checklist-items{list-style:none;margin:0;padding:0;max-height:none;overflow:visible}
.default-checklist-items li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0}
.checklist-item-copy{min-width:0;overflow-wrap:anywhere}
.checklist-item-copy strong{font-size:13px;font-weight:500}
.checklist-item-copy small{display:block;font-size:11px;margin-top:3px}
.checklist-item-notes{white-space:pre-wrap}
.default-checklist-items .list-item-actions{justify-content:flex-end}
@media(max-width:1100px){.admin-profile-tools{grid-template-columns:1fr}}
@media(max-width:600px){.default-checklist-items li{align-items:flex-start;flex-wrap:wrap}.default-checklist-items .list-item-actions{width:100%}}

/* Keep photo optimisation beneath Backups, independently of checklist height. */
.admin-profile-left{display:flex;flex-direction:column;gap:24px;min-width:0}

/* Create a trip checklist: distinct sage green in the Tasks action row. */
.default-checklist-create{background:#CFE5D1;border:1px solid #82AA88;color:#204C2D}
.default-checklist-create:hover:not(:disabled){background:#BBD8BF;border-color:#6D9674;color:#163D22}
.default-checklist-create:focus-visible{outline:2px solid #82AA88;outline-offset:3px}
.default-checklist-create:disabled{opacity:.5;cursor:not-allowed}


/* Original forecast hierarchy and layout, recolored in Ocean & Sage hues. */
.funds-panel{padding:20px;min-width:0;background:#193F50;border:1px solid #487082;color:#EEF7F6;box-shadow:0 8px 24px #071B2520}
.funds-sections{display:grid;gap:18px}
.funds-panel .funds-table-wrap{border:1px solid #487082;border-radius:12px;overflow:auto;margin:0;background:#244F61}
.funds-panel .funds-table{width:100%;min-width:820px;table-layout:fixed;margin:0;border:0;border-collapse:collapse;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.funds-date-col{width:14%}.funds-label-col{width:38%}.funds-amount-col{width:14%}.funds-balance-col{width:16%}.funds-actions-col{width:18%}
.funds-panel .funds-table th,.funds-panel .funds-table td{border:0;border-bottom:1px solid #416879;padding:14px 16px;color:#EEF7F6;background:#244F61;vertical-align:middle}
.funds-panel .funds-table thead th{background:#193F50;color:#D1E6DC;font-weight:500;font-size:12px;letter-spacing:0;text-align:left}
.funds-panel .funds-table thead th:nth-child(3),.funds-panel .funds-table thead th:nth-child(4){text-align:right}
.funds-panel .funds-table .funds-section th{background:#204B5D;color:#B9D6DF;font-size:11px;letter-spacing:1.5px;font-weight:600;text-align:left;padding:12px 16px}
.funds-panel .funds-table .funds-item td{font-weight:400;background:#244F61}
.funds-panel .funds-table .funds-item .funds-label{padding-left:30px}
.funds-panel .funds-table .funds-subtotal td{background:#2D5B6E;font-weight:600}
.funds-panel .funds-table .funds-total td{background:#234E60;font-weight:600}
.funds-panel .funds-table .funds-grandtotal td{background:#346579;font-weight:700;border-top:1px solid #82A9B7}
.funds-panel .funds-table .funds-label{text-align:left;overflow-wrap:anywhere}
.funds-panel .funds-table .amount-cell{text-align:right;white-space:nowrap}
.funds-panel .funds-table td:first-child{white-space:nowrap;color:#C5DADE}
.funds-panel .funds-table tr:last-child td{border-bottom:0}
.funds-panel .funds-table .funds-negative{color:#FFD0C2}
.funds-panel .funds-table tbody tr:not(.funds-section):hover td{filter:brightness(1.06)}
.funds-panel .funds-continuation thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.funds-panel .list-item-actions{gap:6px;justify-content:flex-end}
.funds-panel .list-item-actions button{background:transparent;border:1px solid #638595;color:#E3EFED;border-radius:7px;padding:6px 10px;font-size:12px;font-weight:400}
.funds-panel .list-item-actions button:hover{background:#326071}
.funds-panel>.hint{color:#BDD3D8;font-size:12px;line-height:1.7;margin:16px 0 0}
.section-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.funds-delete-table{color:#FFD0C2;border-color:#BD8278}
@media(max-width:600px){.funds-panel{padding:12px}.funds-sections{gap:14px}.funds-panel .funds-table{min-width:780px;font-size:12px}.funds-panel .funds-table th,.funds-panel .funds-table td{padding:12px 14px}.funds-panel .funds-table .funds-item .funds-label{padding-left:26px}}

/* Readiness checks reuse the site's Ocean & Sage colors. */
.readiness-panel{margin:24px 0}.readiness-panel>.section-title{margin:0 0 16px;align-items:flex-start}.readiness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.readiness-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:#193f5080;color:var(--ink);text-align:left;font-size:12px}.readiness-item>span:first-child{color:var(--accent);font-size:18px;min-width:18px}.readiness-item>span:nth-child(2){flex:1}.readiness-item small{font-size:10px;white-space:nowrap}.readiness-item:hover{background:#2a5769;border-color:#82a9b7}.readiness-urgent{border-color:#bd8278}.readiness-urgent>span:first-child{color:#ffd0c2}.readiness-info{background:#193f5040}.readiness-note{margin:14px 0 0!important}@media(max-width:850px){.readiness-list{grid-template-columns:1fr}}@media(max-width:600px){.readiness-panel>.section-title{flex-wrap:wrap}.readiness-item{padding:12px;flex-wrap:wrap}.readiness-item small{margin-left:30px}}

.packing-template-bar{display:flex;align-items:flex-end;gap:16px;margin-bottom:22px;flex-wrap:wrap}.packing-template-bar .field{flex:1;min-width:200px;margin:0}.packing-template-bar button{margin-bottom:2px}.packing-templates-admin{margin-top:24px}.packing-templates-admin>.section-title{margin-top:0}.packing-template-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.packing-template-row small{display:block;margin-top:4px}.packing-items .task>div:nth-child(2){min-width:0;flex:1}.packing-items p{white-space:pre-wrap;overflow-wrap:anywhere}

.admin-profile-left .packing-templates-admin{margin:0;min-width:0}

/* Keep the Detailed expenses table within the page, with accessible scrollbars. */
.budget-data-table{max-width:100%;min-width:0;overflow-x:auto}
.budget-expenses-detailed{width:100%;overflow-x:scroll;scrollbar-width:auto;scrollbar-color:#a6c5ad #193f50}
.budget-expenses-detailed>table{min-width:1850px;table-layout:auto}
.budget-top-scroll{width:100%;max-width:100%;overflow-x:scroll;overflow-y:hidden;height:20px;background:#193f50;border:1px solid var(--line);border-radius:7px;margin:0 0 8px;scrollbar-width:auto;scrollbar-color:#a6c5ad #193f50}
.budget-top-scroll[hidden]{display:none}.budget-top-scroll>div{height:1px}
.budget-top-scroll::-webkit-scrollbar,.budget-expenses-detailed::-webkit-scrollbar{height:12px}
.budget-top-scroll::-webkit-scrollbar-track,.budget-expenses-detailed::-webkit-scrollbar-track{background:#193f50;border-radius:6px}
.budget-top-scroll::-webkit-scrollbar-thumb,.budget-expenses-detailed::-webkit-scrollbar-thumb{background:#83aaa4;border-radius:6px;border:2px solid #193f50}
.budget-top-scroll:focus-visible,.budget-expenses-detailed:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media print{.budget-top-scroll{display:none!important}.budget-expenses-detailed{overflow:visible}.budget-expenses-detailed>table{min-width:0}}

.reminder-trip+.reminder-trip{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.reminder-trip h3{margin:0 0 12px;color:var(--ink)}.reminder-trip h4{margin:16px 0 8px;font-size:12px;font-weight:600;letter-spacing:.05em;color:var(--muted)}
.login-reminders{max-height:60vh;overflow:auto;padding-right:6px}.copy-trip-options{display:grid;gap:10px}
.copy-trip-options>label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400}.copy-trip-options input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#346579;flex:0 0 17px}
.reminder-settings{margin-top:24px}.reminder-settings details{margin-top:16px}.reminder-settings summary{cursor:pointer}.reminder-settings dl{margin-top:18px}
.reminder-cron-url{width:100%;min-width:0;font-size:12px;padding:10px;border:1px solid #ccdce3;border-radius:8px;background:var(--bg);color:var(--ink)}
@media print{.trip-reminders-panel,.reminder-settings{display:none}}

/* Reminders are a fourth banner summary; details use the existing Ocean & Sage palette. */
.dashboard-main .dashboard-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.reminders-main{max-width:1560px}.reminder-page-list{display:grid;gap:22px}
.reminders-main .reminder-trip{margin:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(140deg,var(--raised),var(--paper));box-shadow:var(--shadow)}
.reminders-main .reminder-trip h3{font-size:24px;font-weight:400;font-family:Georgia,serif}
.reminders-main>.hint{margin-top:18px}
@media(max-width:1100px){.dashboard-main .dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-main .dashboard-summary{grid-template-columns:1fr}.reminders-main .reminder-trip{padding:18px}}

/* Compact summary cards grow naturally when a title or detail wraps. */
.dashboard-main .dashboard-summary .summary-card{min-height:0;height:auto;padding:11px 17px;gap:13px}
.dashboard-main .dashboard-summary .summary-icon{width:42px;height:42px;border-radius:12px;font-size:24px}
.dashboard-main .dashboard-summary .summary-copy small{margin-bottom:3px;line-height:1.35}
.dashboard-main .dashboard-summary .summary-detail{margin-top:4px;line-height:1.45}
@media(max-width:760px){.dashboard-main .dashboard-summary .summary-card{padding:11px 15px;gap:12px}.dashboard-main .dashboard-summary .summary-icon{width:38px;height:38px;font-size:22px}}

/* A slightly smaller headline and italic subtitle in the dashboard banner. */
.dashboard-main .hero-copy h1{font-size:clamp(39px,3.9vw,60px)}
.dashboard-main .hero-copy p{font-style:italic}
@media(max-width:760px){.dashboard-main .hero-copy h1{font-size:41px}}

/* Full guide retains its own layout above the existing planner. */
.guide-overlay{position:fixed;inset:0;z-index:1000;background:var(--bg)}
.guide-overlay iframe{width:100%;height:100%;border:0;display:block}
.guide-overlay-close{position:absolute;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:1;box-shadow:0 4px 18px #0005}

/* PDF and offline HTML are parallel trip-summary actions. */
.trip-summary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}
@media(max-width:760px){.readiness-panel>.section-title{flex-wrap:wrap;gap:12px}.trip-summary-actions{width:100%}.trip-summary-actions>button{flex:0 0 auto}}

/* Keep start times clear; optional endings sit beside the activity title. */
.timeline-activity-heading{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.timeline-end-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:400;line-height:1.5;padding:3px 9px;border:1px solid #91b6aa66;border-radius:999px;background:#b5d8ba14;color:#d4e8de}
.timeline-end-badge>span{font-size:14px;line-height:1}
@media print{.timeline-end-badge{color:#42585c;background:#edf4ee;border-color:#b7c8c8}}

/* Itinerary categories and copying share the existing compact controls. */
.itinerary-category-badge{display:inline-block;padding:2px 8px;border:1px solid #88aec366;border-radius:6px;background:#91b9d214;color:#d6e9f3;font-size:10px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere;max-width:240px}
.day-heading .itinerary-copy-day{margin-left:auto;flex-shrink:0;font-size:11px;padding:6px 10px}
.timeline-item .row-actions{flex-wrap:wrap;gap:6px}
@media(max-width:600px){.day-heading{flex-wrap:wrap}.day-heading .itinerary-copy-day{margin-left:0}}
@media print{.itinerary-copy-day{display:none!important}.itinerary-category-badge{background:#edf4f7;color:#42585c;border-color:#b7c8c8}}

/* A full, readable mobile menu replaces the crowded horizontal icon row. */
.mobile-menu-toggle{display:none}
.sidebar-menu{display:flex;flex-direction:column;flex:1;min-height:min-content}
@media screen and (max-width:760px){
 .sidebar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;width:100%;padding:12px 16px;border-right:0;overflow:visible;background:linear-gradient(155deg,#103545,#0e2e3d)}
 .sidebar .brand{min-width:0;flex:none;margin:0;padding:0;gap:10px;font-size:24px}
 .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #638595;border-radius:10px;background:#244e60;color:var(--ink);font-size:13px;font-weight:600;white-space:nowrap}
 .mobile-menu-toggle>span:first-child{font-size:20px;line-height:1}
 .sidebar-menu{display:none;grid-column:1/-1;min-height:0;max-height:calc(100vh - 82px);max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:14px}
 .sidebar.menu-open .sidebar-menu{display:flex}
 .sidebar .nav-label{display:block;padding:4px 12px 10px}
 .sidebar .nav-item{flex:none;width:100%;min-height:44px;flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 12px;margin:2px 0;font-size:14px;text-align:left}
 .sidebar .nav-item>span{font-size:21px;width:24px;flex-shrink:0}
 .sidebar .nav-item i{display:block;margin-left:auto}
 .sidebar .sidebar-bottom{display:block;position:sticky;bottom:0;flex-shrink:0;margin-top:12px;padding:10px 0 max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#0e2e3d}
 .sidebar-bottom .profile{width:100%;margin:0 0 8px;padding:10px 12px;min-height:44px;text-align:left;font-size:13px}
 .sidebar .signout-form{margin:0}
 .sidebar .signout-form .nav-item{border-color:#638595;background:#244e60;font-weight:600}
}

.demo-banner{padding:12px 24px;background:#355950;border-bottom:1px solid #98bead;color:#eef7eb;font-size:13px;line-height:1.6}.demo-banner strong{color:#ddf0ba}@media(max-width:760px){.demo-banner{padding:10px 16px;font-size:12px}}

.trip-document-shortcuts{margin:20px 0}.trip-document-links{gap:14px}.trip-document-links .record{min-width:0}.trip-document-links .external{overflow-wrap:anywhere}.reminder-target{outline:2px solid #badacb;outline-offset:-2px;background:#47796b55!important;scroll-margin-top:24px}

.trip-document-card{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}.trip-document-card:hover{background:#47796b55;border-color:#badacb}.trip-document-card:focus-visible{outline:2px solid #badacb;outline-offset:3px}

.mobile-scroll-hint{display:none}
@media screen and (max-width:760px){
 .mobile-scroll-hint{display:block;margin:8px 0;font-size:11px;color:var(--muted);text-align:right;line-height:1.5}
 .mobile-scroll-hint[hidden]{display:none!important}
 .budget-expense-scroll>table>thead>tr>th:first-child:not([colspan]),.budget-expense-scroll>table>tbody>tr>td:first-child:not([colspan]),.budget-expense-scroll>table>tfoot>tr>td:first-child:not([colspan]){position:sticky;left:0;z-index:2;background:#244f61;box-shadow:3px 0 5px #08273655;max-width:145px;white-space:normal;overflow-wrap:anywhere}
 .budget-expense-scroll>table>thead>tr>th:first-child{z-index:3}
 .budget-expense-scroll .column-filter{white-space:normal}
 .timeline-item>.row-actions{flex-direction:column;align-items:stretch;flex-wrap:nowrap;flex:0 0 auto;gap:5px;max-width:86px}
 .timeline-item>.row-actions button{white-space:normal;text-align:center}
}

/* Keep companion account actions on one compact line; the table can scroll on small screens. */
.companions-page .companion-actions{flex-wrap:nowrap;gap:8px}.companions-page .companion-actions .text-button{padding:4px 0;font-size:11px}.companions-page .table-wrap th,.companions-page .table-wrap td{padding:12px 10px}.companions-page .table-wrap td:nth-child(3),.companions-page .table-wrap td:nth-child(4){white-space:nowrap}
