.tm-bottom-nav{position:fixed;z-index:390;left:0;right:0;bottom:0;min-height:64px;border-top:1px solid var(--tm-border);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tm-bottom-nav a{display:grid;place-items:center;align-content:center;gap:.22rem;color:var(--tm-muted);font-size:.86rem;font-weight:700}.tm-bottom-nav a.is-active{color:var(--tm-accent-strong)}.tm-page-container{width:min(1392px,100%);margin:0 auto;padding:0 1.25rem}@media(max-width:860px){.tm-page-container{padding:0 .9rem}}.tm-surface-card{border-radius:24px;border:1px solid var(--tm-border);background:var(--tm-surface);box-shadow:var(--tm-shadow-soft)}.tm-language-switcher{display:inline-flex;align-items:center;border:1px solid #d0c9ba;border-radius:999px;background:#f6f4ef;overflow:hidden}.tm-language-switcher__button{border:0;min-height:2.3rem;min-width:2.8rem;padding:.3rem .6rem;background:transparent;color:#56665f;font-weight:700}.tm-language-switcher__button.is-active{color:#23352d;background:#ece8de}.tm-top-nav{position:sticky;top:0;z-index:400;border-bottom:1px solid var(--tm-border);background:#fffffff0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tm-top-nav__inner{width:min(1392px,100%);margin:0 auto;min-height:58px;padding:.6rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.tm-top-nav__brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--tm-text);font-weight:800;font-size:1.2rem}.tm-top-nav__brand-logo{width:34px;height:34px;border-radius:10px;display:block;object-fit:cover}.tm-top-nav__actions{display:inline-flex;align-items:center;gap:.5rem}.tm-top-nav__logout{border:1px solid var(--tm-border);border-radius:10px;min-height:2.25rem;padding:.35rem .75rem;color:var(--tm-accent-strong);background:var(--tm-surface);font-weight:700}@media(max-width:1180px){.tm-top-nav__inner{min-height:58px}}@media(max-width:860px){.tm-top-nav__inner{padding:.55rem .9rem;gap:.55rem}.tm-top-nav__brand{font-size:1.25rem;min-width:auto}.tm-top-nav__brand-logo{width:32px;height:32px;border-radius:10px}.tm-top-nav__actions{gap:.35rem}}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-shell__content{flex:1;padding:1.6rem 0 6rem}@media(max-width:860px){.app-shell__content{padding-top:1.3rem}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:#f6f8f3;font-family:"Source Sans 3",Source Sans Pro,Inter,sans-serif}.auth-page__layout{width:min(560px,100%)}.auth-shell{display:flex;align-items:center;justify-content:center;width:100%}.auth-card{width:min(520px,100%);min-height:620px;border-radius:24px;border:1px solid rgba(214,222,209,.55);background:#fff;box-shadow:0 2px 18px #232d250f,0 18px 42px #232d250f;padding:36px 52px 42px;display:grid;gap:18px;margin:0 auto}.auth-card>*{min-width:0}.auth-brand-inside{display:flex;justify-content:center;align-items:center;margin-top:-4px}.auth-brand-inside img{width:152px;height:152px;object-fit:contain}.auth-card-header{display:grid;gap:8px}.auth-card-header h1{margin:0;color:#2f3e34;font-size:clamp(2.2rem,4vw,3rem);line-height:1.02;text-align:center;letter-spacing:-.01em;font-weight:700;white-space:normal;text-wrap:balance}.auth-subtitle{margin:0;color:#8a978f;line-height:1.35;font-size:1.125rem;text-align:center}.auth-subtitle strong{font-weight:600;overflow-wrap:anywhere}.auth-form{display:grid;gap:14px;width:100%}.auth-field{display:grid;gap:6px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-input-wrap{width:100%;min-height:58px;border-radius:16px;border:1px solid #d6ded1;background:#f4f6f2;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:0 20px;transition:border-color .2s ease,box-shadow .2s ease}.auth-input-wrap:focus-within{border-color:#2f6a3f;box-shadow:0 0 0 3px #2f6a3f24}.auth-input-wrap--error{border-color:#b54c4c}.auth-input-dot{color:#78a17f;font-size:1.5rem;line-height:1}.auth-input{border:none;background:transparent;color:#2f3e34;width:100%;height:100%;padding:0;outline:none;font-size:1.125rem}.auth-input::placeholder{color:#9aa79f}.auth-input--error{color:#b54c4c}.auth-submit{width:100%;border:1px solid #3a6b46;border-radius:16px;min-height:58px;color:#fff;font-size:1.1875rem;font-weight:700;background:#2f5d3a;box-shadow:0 8px 18px #2f5d3a40;transition:filter .18s ease,opacity .18s ease}.auth-submit:hover{filter:brightness(.98)}.auth-submit:disabled{opacity:.75;cursor:not-allowed}.field-error{margin:0;color:#b54c4c;font-size:.9rem}.form-error{width:100%;margin:0;min-height:40px;border:1px solid rgba(181,76,76,.32);border-radius:12px;background:#fdeeee;color:#b54c4c;font-size:1rem;line-height:1.25;padding:10px 14px;display:flex;align-items:center}.auth-tg-section{display:flex;justify-content:center;margin-top:2px;width:100%;overflow:hidden}.auth-tg-pending{margin:0;min-height:44px;display:flex;align-items:center;color:#8a978f;font-size:.95rem}.tg-login-widget{display:flex;justify-content:center;align-items:center;width:100%;font-size:0;line-height:0;color:transparent}.tg-login-widget--ready{min-height:44px}.tg-login-widget iframe{display:block;margin:0 auto}.auth-back-button{border:none;background:transparent;color:#2f6a3f;font-size:1rem;font-weight:600;padding:0;width:fit-content;display:inline-flex;align-items:center;gap:6px}.auth-back-button:hover{text-decoration:underline}.otp-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;width:100%;max-width:380px;margin:0 auto}.otp-input{width:100%;height:58px;text-align:center;font-size:1.75rem;font-weight:700;border:1px solid #d6ded1;border-radius:16px;background:#f4f6f2;color:#2f3e34;outline:none;transition:border-color .18s ease,box-shadow .18s ease;caret-color:transparent}.otp-input:focus,.otp-input--filled{border-color:#2f6a3f}.otp-input--error{border-color:#d89a9a}.otp-input:focus{box-shadow:0 0 0 3px #2f6a3f24}.auth-resend{margin:-2px 0 0;text-align:center;color:#8a978f;font-size:1rem}.auth-resend__link{border:none;background:transparent;color:#2f6a3f;padding:0;font-weight:700;font-size:1rem;line-height:1;text-decoration:underline}.auth-resend__link:disabled{color:#8a978f;text-decoration:none;cursor:not-allowed}.auth-submit:focus-visible,.auth-back-button:focus-visible,.auth-resend__link:focus-visible{outline:none;box-shadow:0 0 0 3px #2f6a3f24}@media(max-width:720px){.auth-page{padding:0}.auth-page__layout{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center}.auth-card{width:min(342px,calc(100% - 24px));min-height:600px;padding:24px;border-radius:28px;gap:14px}.auth-brand-inside img{width:132px;height:132px}.auth-card-header h1{font-size:clamp(2.25rem,10vw,3.125rem);line-height:1.03}.auth-subtitle{font-size:1rem}.auth-input-wrap,.auth-submit{min-height:56px}.otp-inputs{gap:6px;max-width:100%}.otp-input{height:58px;border-radius:12px;font-size:1.5rem}.auth-resend__link{font-size:1rem}}.trips-page{display:grid;gap:1.45rem}.trips-page__header,.trip-detail__header,.trip-detail-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.trips-page__header h1,.trip-detail__header h1{margin:0;color:var(--tm-text);font-size:clamp(1.8rem,2.5vw,2.35rem);line-height:1.08}.trips-page__header p,.trip-detail__header p{margin:.35rem 0 0;color:var(--tm-muted)}.trip-button,.trip-link-button,.trip-icon-button{border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.55rem;padding:.55rem .9rem;font-weight:750}.trip-button{color:#fff;background:var(--tm-accent-strong)}.trip-button:disabled{cursor:not-allowed;opacity:.55}.trip-link-button:disabled,.trip-icon-button:disabled{cursor:not-allowed;opacity:.55}.trip-button--ghost,.trip-link-button{color:var(--tm-text);background:var(--tm-surface);border-color:var(--tm-border)}.trip-link-button--danger{color:var(--danger)}.trip-link-button input{display:none}.trip-icon-button{width:2.4rem;min-height:2.4rem;padding:0;color:var(--tm-text);background:transparent;border-color:var(--tm-border)}.trip-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.trip-card{position:relative;min-width:0;border:0;border-radius:12px;overflow:hidden;aspect-ratio:1 / 1;padding:0;background:var(--tm-surface);color:inherit;text-align:left;box-shadow:var(--tm-shadow-soft);display:block}.trip-card__media{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--tm-muted);background:linear-gradient(135deg,#e4e2da,#d5d8cf)}.trip-card__media:after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.58) 100%)}.trip-card__media svg{position:relative;z-index:1}.trip-card__media img{width:100%;height:100%;object-fit:cover}.trip-card__counter{position:absolute;z-index:1;top:.7rem;right:.7rem;border-radius:8px;padding:.22rem .5rem;color:var(--tm-text);background:#ffffffe6;font-size:.82rem;font-weight:800}.trip-card__body{position:absolute;z-index:1;right:0;bottom:0;left:0;display:grid;gap:.18rem;min-width:0;padding:1.8rem .75rem .7rem}.trip-card__body strong{min-width:0;overflow:hidden;color:#fff;font-size:.95rem;line-height:1.15;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.34);white-space:nowrap}.trip-card__body span{min-width:0;overflow:hidden;display:inline-flex;align-items:center;gap:.35rem;color:#ffffffdb;font-size:.82rem;line-height:1.15;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap}.trip-card__body>span:not(:first-of-type){display:none}.trip-card__body svg{flex:0 0 auto}.trips-empty,.trips-state{min-height:18rem;border:1px solid var(--tm-border);border-radius:12px;display:grid;align-content:center;justify-items:center;gap:.75rem;padding:2rem;color:var(--tm-muted);background:var(--tm-surface);text-align:center}.trips-empty h2,.trips-state h1{margin:0;color:var(--tm-text)}.trips-empty p,.trips-state p{margin:0}.statistics-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.statistics-row,.statistics-panel,.trip-detail-section{border:1px solid var(--tm-border);border-radius:12px;background:var(--tm-surface);box-shadow:var(--tm-shadow-soft)}.statistics-row{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:.8rem;min-height:5.3rem;padding:1rem 1.15rem}.statistics-row>span{color:var(--tm-accent-strong)}.statistics-row strong{color:var(--tm-text);font-size:1.7rem;line-height:1}.statistics-row p{margin:0;color:var(--tm-muted)}.statistics-panel{padding:1.15rem}.statistics-panel h2,.trip-detail-section h2{margin:0;color:var(--tm-text);font-size:1.05rem}.statistics-panel p{margin:0 0 .35rem;color:var(--tm-muted)}.statistics-panel>span{color:var(--tm-muted)}.country-bars{display:grid;gap:.85rem;margin-top:1rem}.country-bar{display:grid;grid-template-columns:minmax(6rem,10rem) 1fr auto;align-items:center;gap:.85rem}.country-bar>span,.country-bar strong{color:var(--tm-text)}.country-bar>div{height:.7rem;border-radius:6px;overflow:hidden;background:var(--tm-surface-muted)}.country-bar>div>span{display:block;height:100%;border-radius:inherit;background:var(--tm-accent)}.trip-detail{padding-bottom:1rem}.trip-detail-section{display:grid;gap:1rem;padding:1rem}.trip-detail-section>p,.trip-detail-list>p{margin:0;color:var(--tm-muted)}.trip-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.trip-photo-tile{aspect-ratio:1 / 1;border:1px solid var(--tm-border);border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--tm-muted);background:var(--tm-surface-muted)}.trip-photo-tile img{width:100%;height:100%;object-fit:cover}.trip-add-row{display:grid;grid-template-columns:1fr auto;gap:.5rem}.trip-add-row input{min-width:0;border:1px solid var(--tm-border);border-radius:10px;min-height:2.55rem;padding:.55rem .75rem;color:var(--tm-text);background:var(--tm-surface)}.trip-add-row button{width:2.55rem;border:1px solid var(--tm-border);border-radius:10px;color:var(--tm-text);background:var(--tm-surface)}.trip-detail-list{display:grid;gap:.45rem}.trip-detail-list button{border:1px solid var(--tm-border);border-radius:10px;min-height:2.6rem;padding:.5rem .65rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:var(--tm-text);background:var(--tm-surface)}.trip-detail-list button span{min-width:0;display:inline-flex;align-items:center;gap:.5rem}.trip-detail-list .is-done{color:var(--tm-muted);text-decoration:line-through}.trip-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:1rem}.trip-modal__backdrop{position:absolute;inset:0;background:#1c1c1cad}.trip-modal__panel{position:relative;z-index:1;width:min(28rem,100%);max-height:min(42rem,calc(100vh - 2rem));border:1px solid var(--tm-border);border-radius:12px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:var(--tm-surface);box-shadow:0 10px 28px #0000002e;overflow:hidden}.trip-modal__header,.trip-modal__footer{padding:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.trip-modal__header{border-bottom:1px solid var(--tm-border)}.trip-modal__header h2,.trip-modal__header p{margin:0}.trip-modal__header h2{color:var(--tm-text);font-size:1.15rem}.trip-modal__header p{margin-top:.2rem;color:var(--tm-muted);font-size:.92rem}.trip-modal__progress{display:flex;justify-content:center;gap:.35rem;padding:.8rem 1rem 0}.trip-modal__progress span{width:.45rem;height:.45rem;border-radius:999px;background:var(--tm-border)}.trip-modal__progress .is-active{width:1.3rem;background:var(--tm-accent-strong)}.trip-modal__body{overflow:auto;padding:1rem}.trip-modal__footer{border-top:1px solid var(--tm-border)}.trip-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.trip-choice{border:1px solid var(--tm-border);border-radius:12px;min-height:8.2rem;display:grid;align-content:center;justify-items:center;gap:.42rem;padding:1rem;color:var(--tm-text);background:var(--tm-surface)}.trip-choice svg{color:var(--tm-accent-strong)}.trip-choice span{color:var(--tm-muted);font-size:.88rem}.trip-choice.is-selected{border-color:var(--tm-accent-strong);box-shadow:inset 0 0 0 1px var(--tm-accent-strong)}.trip-form-grid{display:grid;gap:.9rem}.trip-field{display:grid;gap:.4rem}.trip-field span{color:var(--tm-text);font-weight:700}.trip-field input,.trip-field textarea{width:100%;border:1px solid var(--tm-border);border-radius:10px;padding:.65rem .75rem;color:var(--tm-text);background:var(--tm-surface)}.trip-field input:focus,.trip-field textarea:focus,.trip-add-row input:focus{outline:2px solid rgba(79,108,78,.24);border-color:var(--tm-accent)}.trip-field input:disabled{color:var(--tm-muted);background:var(--tm-surface-muted)}.trip-field-note,.trip-field-error{margin:0;color:var(--tm-muted);font-size:.9rem}.trip-field-error{color:var(--danger)}.trip-suggestions,.trip-suggestion-pills,.trip-draft-list{display:flex;flex-wrap:wrap;gap:.45rem}.trip-suggestions button,.trip-suggestion-pills button{border:1px solid var(--tm-border);border-radius:8px;min-height:2rem;padding:.35rem .55rem;color:var(--tm-text);background:var(--tm-surface)}.trip-inline-section{display:grid;gap:.65rem}.trip-inline-section__title{display:inline-flex;align-items:center;gap:.45rem;color:var(--tm-text)}.trip-draft-list{list-style:none;margin:0;padding:0}.trip-draft-list li{border:1px solid var(--tm-border);border-radius:8px;display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .45rem}.trip-draft-list button{border:0;padding:0;color:var(--tm-muted);background:transparent}.trip-photo-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.trip-photo-preview,.trip-photo-add{position:relative;aspect-ratio:1 / 1;border:1px solid var(--tm-border);border-radius:10px;overflow:hidden;display:grid;place-items:center;color:var(--tm-muted);background:var(--tm-surface-muted)}.trip-photo-preview img{width:100%;height:100%;object-fit:cover}.trip-photo-preview button{position:absolute;top:.35rem;right:.35rem;border:0;border-radius:8px;width:1.7rem;height:1.7rem;display:grid;place-items:center;color:var(--tm-text);background:#ffffffe6}.trip-photo-add{cursor:pointer;gap:.25rem}.trip-photo-add input{display:none}@media(max-width:900px){.statistics-list{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.trips-page__header,.trip-detail__header,.trip-detail-section>header{display:grid}.statistics-list,.trip-type-grid{grid-template-columns:1fr}.trip-card-grid{gap:.35rem}.trip-card{border-radius:8px}.trip-card__counter{top:.35rem;right:.35rem;border-radius:6px;padding:.12rem .28rem;font-size:.68rem}.trip-card__body{gap:.1rem;padding:1rem .42rem .38rem}.trip-card__body strong{font-size:.72rem}.trip-card__body>span{display:none}.country-bar{grid-template-columns:1fr auto}.country-bar>div{grid-column:1 / -1;order:3}.trip-modal{align-items:end;padding:0}.trip-modal__panel{width:100%;max-height:92vh;border-radius:12px 12px 0 0}}:root{--tm-bg: #faf9f6;--tm-surface: #ffffff;--tm-surface-muted: #f2f0e9;--tm-text: #2c382a;--tm-muted: #8c8982;--tm-muted-soft: #a8a59c;--tm-border: #e8e6df;--tm-accent: #4f6c4e;--tm-accent-strong: #2f5232;--tm-shadow-soft: 0 1px 2px rgba(0, 0, 0, .05);--danger: #b42318;--surface: var(--tm-surface-muted);--surface-strong: var(--tm-surface);--ink: var(--tm-text);--muted: var(--tm-muted);--accent: var(--tm-accent);--accent-soft: #e9f0e3;--border: var(--tm-border);--radius: 18px;font-family:Inter,sans-serif;line-height:1.45;font-weight:400;color:var(--tm-text);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--tm-surface-muted)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}#root{min-height:100vh}
