/* Shared, geometric visual language. Map markers retain their geographic shapes. */
.login-card,.home-card,.community-card,.profile-card,.install-dialog{border-radius:8px}
.brand-icon,.account-menu summary,.account-menu nav,.account-nav>a,.category-tabs,.category-tabs a,.recommendation-card,.outline-button,.small-button,.primary-button,.back-button,.install-button,.wizard-tabs button,.place-result,.establishment-search,.profile-summary,.invitation-box,.form-error,.form-notice,.directions,.record-options{border-radius:4px}
input,select,textarea,.profile-grid input,.profile-grid select,.profile-grid textarea,.establishment-search input,.invite-form input{border-radius:4px!important}
.recommendation-card img,.record-icon,.place-photos img,.photo-preview img,#location-map{border-radius:4px}
.category-tile{align-items:center;justify-content:center;text-align:center;gap:16px;min-height:176px;padding:24px 16px;border-radius:4px;background:#fff;border-color:#dbe2eb;box-shadow:0 3px 12px #20395b06;transition:border-color .15s,background .15s,box-shadow .15s}
.category-tile:hover{background:#f5f8fc;border-color:#7c96be;box-shadow:0 5px 16px #20395b10}
.category-icon{display:grid;place-items:center;width:70px;height:70px;background:none;border-radius:0;margin:0;font-size:inherit}
.category-art{display:block;width:62px;height:62px;max-width:100%;flex-shrink:0}
.category-arrow{display:none}
.category-empty>span{display:flex;justify-content:center}.record-icon .category-art{width:48px;height:48px}
@media(max-width:600px){.category-tile{min-height:160px;padding:20px 10px;gap:12px;font-size:15px}.category-icon{width:60px;height:60px}.category-art{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){.category-tile{transition:none}}
.remember-option{display:flex;align-items:center;gap:10px;margin:18px 0 8px;line-height:1.5;font-size:14px}.remember-option input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0;padding:0}.device-section{margin-top:28px}.device-list{list-style:none;padding:0;margin:20px 0}.device-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid #dbe2eb}.device-list p{font-size:13px;color:#647189;margin:6px 0}.device-list strong{font-size:15px}@media(max-width:480px){.device-list li{align-items:flex-start;flex-direction:column}}
/* e-knows: logo-inspired navy, sky blue and warm orange accents. */
:root{--background:#f3f7fa;--foreground:#18384b;--primary:#006b96;--border:#dce6ec;--input:#b7cbd7}
body{background:radial-gradient(ellipse at 8% 0%,#e0f2fa 0,transparent 48%),var(--background);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--foreground)}
.login-shell{border-top:0;padding-top:28px}.brand{font-size:23px;letter-spacing:-1px;gap:12px;color:#032b43}.brand-icon{width:44px;height:44px;border-radius:10px;background:transparent;font-size:0}.brand-icon img{display:block;width:100%;height:100%}
.login-card,.home-card,.profile-card,.community-card{background:#ffffff;border-color:#dce6ec;border-radius:12px;box-shadow:0 16px 60px #032b4309;padding:36px}.home-card{max-width:960px;margin-top:32px}.login-card:not(.home-card):not(.profile-card){padding:40px}
h1{color:#032b43;font-weight:700;letter-spacing:-.045em}.home-card h1{font-size:38px}.eyebrow{color:#607789;font-size:11px;letter-spacing:.16em}.intro,.field-hint,.muted,.footnote,footer{color:#5e7382}.intro strong{color:#18384b}.categories-title{margin-top:32px;color:#526d80;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.category-grid{gap:14px}.category-tile{background:#eaf5fb;border:1px solid #d4e8f2;border-radius:8px;min-height:170px;gap:14px;box-shadow:none;position:relative;overflow:hidden;color:#032b43}.category-tile:nth-child(3n+2){background:#fff3df;border-color:#f1dfbd}.category-tile:nth-child(3n){background:#eef3f8;border-color:#dbe5ee}.category-tile:after{content:"";position:absolute;width:28px;height:3px;background:#00ace4;bottom:0;left:calc(50% - 14px)}.category-tile:hover{background:#dff2fb;border-color:#6ab8d9;box-shadow:0 5px 16px #032b430c;transform:translateY(-2px)}.category-icon{width:66px;height:66px}.category-art{width:60px;height:60px}
.primary-button{background:#006b96;border-radius:6px;box-shadow:0 3px 0 #032b43;font-size:15px;letter-spacing:.01em}.primary-button:hover{background:#032b43}.outline-button,.small-button,.install-button,.account-menu summary,.account-nav>a{border-radius:6px;border-color:#c6d9e4;background:#ffffff;color:#006b96}.outline-button:hover,.small-button:hover,.account-nav a:hover{background:#eaf5fb}.install-button{color:#006b96}.account-menu nav{border-radius:8px;background:#ffffff;box-shadow:0 10px 30px #032b4317}.account-nav>span{color:#627989}
.category-tabs{background:#e9f1f6;padding:5px;border-radius:7px}.category-tabs a{color:#567083;border-radius:4px}.category-tabs a[aria-current]{background:#006b96;color:#fff;box-shadow:none}
.recommendation-card{background:#ffffff;border-color:#dce6ec;border-radius:8px;padding:20px;box-shadow:0 3px 12px #032b4305}.recommendation-card:hover{background:#f0f8fc;border-color:#82b9d1}.recommendation-card h2,.recommendation-card h3{color:#032b43}.recommendation-card p,.recommendation-card div>span{color:#5e7382}.record-icon{background:#eaf5fb;border-radius:6px}.recommendation-card img,.place-photos img{border-radius:6px}.place-details{padding:0 22px 22px;background:#f4f8fb;border:1px solid #dce6ec;border-radius:8px;gap:8px}.place-details dt{color:#567083;font-size:12px;font-weight:600;letter-spacing:.04em}.place-details dd{color:#18384b}.place-photos img{background:#f3f7fa}
.form-notice,.directions,.profile-summary,.invitation-box,.invite-form,.category-empty,.establishment-search{background:#edf6fb;color:#264d65;border-color:#d6e7f0;border-radius:8px}.form-notice{border-left:3px solid #00ace4}.directions a{border-radius:5px;background:#ffffff}.mail-icon{background:#edf6fb;color:#006b96;border-radius:8px}.device-list p,.place-details dt,.directions p,.record-options p{color:#5e7382}.device-list li{border-color:#dce6ec}
input,select,textarea,.profile-grid input,.profile-grid select,.profile-grid textarea,.establishment-search input,.invite-form input{border-radius:6px!important;background:#ffffff;color:#18384b;border-color:#b7cbd7}input::placeholder,textarea::placeholder{color:#728694}input[type=checkbox]{accent-color:#006b96}:is(input,select,textarea,button,a,summary):focus-visible{outline:3px solid #ee9800;outline-offset:3px}.wizard-tabs{background:#e9f1f6}.wizard-tabs button[aria-selected=true]{background:#006b96;color:#fff}.wizard-actions{background:#fffffff5;border-color:#dce6ec}.place-result{background:#f4f9fc;border-color:#dce6ec}
@media(max-width:600px){.login-shell{padding:20px 14px}.brand{font-size:21px}.brand-icon{width:38px;height:38px}.home-card,.profile-card,.community-card{padding:24px 18px;margin-top:24px;border-radius:10px}.home-card h1{font-size:30px}.category-grid{gap:10px}.category-tile{min-height:146px;padding:18px 10px;gap:10px;font-size:14px}.category-art{width:54px;height:54px}.category-icon{width:58px;height:58px}.account-nav{gap:8px}.recommendation-card{padding:14px}.place-details{padding:0 16px 18px}.login-card:not(.home-card):not(.profile-card){padding:28px 22px}}
@media(prefers-reduced-motion:reduce){.category-tile:hover{transform:none}}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.profile-heading h2{margin:0}.edit-profile-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:var(--primary);border-radius:6px}.edit-profile-icon:hover{background:#dfedf5}
.brand{width:210px;height:62px;overflow:hidden;position:relative}.brand .brand-full{position:absolute;width:250px;height:125px;max-width:none;left:-20px;top:-34px;mix-blend-mode:multiply}.device-section{border:1px solid var(--border);border-radius:6px;padding:0 14px;margin-top:20px}.device-section>summary{font-size:15px;font-weight:600;cursor:pointer;padding:14px 0;min-height:48px}.device-section .field-hint{font-size:12px;margin:8px 0}.device-section .remember-option{margin:10px 0;font-size:13px}.device-list{margin:12px 0}.device-list li{padding:10px 0;gap:8px}.device-list strong{font-size:13px}.device-list p{font-size:12px;margin:3px 0}.device-list .small-button{font-size:12px;padding:6px 10px}.delete-friend{width:44px;padding:10px;color:#a73d33;border:0;background:transparent}.delete-friend:hover{background:#fcebe7}@media(max-width:480px){.device-list li{flex-direction:row;align-items:center}.device-list li>div{min-width:0;overflow-wrap:anywhere}.device-list li form{flex-shrink:0}.brand{width:190px;height:57px}.brand .brand-full{width:230px;height:115px;left:-19px;top:-31px}}
/* Keep the full logo artwork inside its mobile frame. */
.brand{width:220px;max-width:100%;height:68px}.brand .brand-full{width:250px;height:125px;left:-19px;top:-32px}@media(max-width:480px){.brand{width:210px;max-width:100%;height:65px}.brand .brand-full{width:230px;height:115px;left:-17px;top:-28px}}
/* Keep each friend's action alongside their name on narrow screens. */
.people-list li{flex-direction:row;align-items:center}.people-list li>span{flex:1;min-width:0}.people-list li>form{flex:0 0 auto;margin:0}.people-list .delete-friend{flex-shrink:0}

.category-tile:nth-child(3n+2):after{background:#f5a400}.category-tile:nth-child(3n):after{background:#032b43}

.category-icon{width:100px;height:100px}.category-icon .category-image{width:100px;height:100px;object-fit:contain;mix-blend-mode:multiply}.category-image{object-fit:contain;mix-blend-mode:multiply}.record-icon img.category-image{width:48px;height:48px}.category-empty .category-image{width:100px;height:100px}@media(max-width:600px){.category-icon,.category-icon .category-image{width:82px;height:82px}}

/* Match recommendation steps to the shared navigation tabs. */
.wizard-tabs{gap:6px;padding:5px;margin:24px 0;border-radius:7px;background:#e9f1f6}.wizard-tabs button{min-height:48px;padding:14px 8px;border:0;border-radius:4px;background:transparent;color:#567083;font-size:15px;line-height:1.3;box-shadow:none}.wizard-tabs button[aria-current="step"]{background:#006b96;color:#fff;font-weight:700;border:0;box-shadow:none}@media(max-width:480px){.wizard-tabs button{font-size:14px;padding:14px 4px}}

#photos{padding:6px;max-width:100%;font:inherit;color:#567083}#photos::file-selector-button{min-height:44px;margin-right:12px;padding:10px 16px;border:0;border-radius:6px;background:#006b96;color:#fff;font:inherit;font-weight:600;cursor:pointer}#photos::file-selector-button:hover{background:#032b43}

.recommendation-card.latest-card{display:grid;grid-template-columns:44px minmax(0,1fr) 80px;gap:14px;align-items:center}.latest-card .latest-category-icon{display:grid;place-items:center}.latest-card .latest-category-icon img,.latest-card .latest-category-icon svg{width:44px;height:44px;object-fit:contain;border-radius:0}.latest-copy{min-width:0;overflow-wrap:anywhere}.latest-card .latest-category-name{font-size:12px;font-weight:600;color:#006b96}.latest-card h2{margin:5px 0}.latest-card p{margin:4px 0}.latest-card time{font-size:12px;color:#567083}.latest-card .latest-photo{width:80px;height:80px;object-fit:cover;border-radius:6px}.latest-card .latest-no-photo{display:grid;place-items:center;background:#e9f1f6;color:#567083;font-size:11px}@media(max-width:480px){.recommendation-card.latest-card{grid-template-columns:34px minmax(0,1fr) 62px;gap:9px;padding:12px 10px}.latest-card .latest-category-icon img,.latest-card .latest-category-icon svg{width:34px;height:34px}.latest-card .latest-photo{width:62px;height:70px}.latest-card h2{font-size:16px}.latest-card p{font-size:13px}}
.place-categories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.place-category{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #d4e8f2;border-radius:6px;color:#032b43;background:#f3f7fa;text-decoration:none;font-size:14px}.place-category.is-current{border-color:#006b96;background:#e3f3fb;font-weight:700}.place-category img,.place-category svg{display:block;width:32px;height:32px;object-fit:contain}.place-category:hover{border-color:#006b96}

/* Shared accessible navigation, retained while reading long pages. */
.account-nav{position:sticky;top:0;top:env(safe-area-inset-top,0px);z-index:1200;isolation:isolate;padding:12px 0;margin-bottom:24px;background:#fff;border-bottom:1px solid #d4e8f2;box-shadow:0 5px 8px -8px #032b4380;gap:10px;min-height:72px}.account-nav>a,.account-nav .account-menu>summary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:11px 15px;line-height:1.35;font-size:14px;font-weight:600;border-radius:6px;text-decoration:none;cursor:pointer}.account-nav>a{background:#e9f4fa;border:1px solid #b9d8e8;color:#032b43}.account-nav>a:hover{background:#d8edf7;border-color:#006b96}.account-nav .account-menu>summary{background:#006b96;color:#fff;border:1px solid #006b96;white-space:nowrap}.account-nav .account-menu>summary:hover,.account-nav .account-menu[open]>summary{background:#032b43;border-color:#032b43}.account-nav a:focus-visible,.account-nav summary:focus-visible,.account-nav button:focus-visible{outline:3px solid #f5a400;outline-offset:3px}.account-nav .account-menu nav{max-width:calc(100vw - 48px);max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain;border-color:#c6d9e4}.account-nav .account-menu nav a,.account-nav .account-menu nav button{min-height:48px}.account-nav .account-menu nav a:hover{background:#e9f4fa;color:#032b43}html{scroll-padding-top:90px}@media(max-width:600px){.account-nav{padding:9px 0;gap:8px;min-height:66px}.account-nav>a,.account-nav .account-menu>summary{padding:10px 12px;font-size:13px}.account-nav>a{max-width:calc(100% - 100px);text-align:center}}
.brand-home{display:block;width:100%;height:100%;position:relative;cursor:pointer;border-radius:4px}.brand:has(.brand-home:focus-visible){outline:3px solid #006b96;outline-offset:4px}.brand-home:focus-visible{outline:none}
.share-card-panel{margin:18px 0}.share-card-panel>summary{cursor:pointer;width:fit-content;min-height:48px}.share-card-content{padding:16px;margin-top:12px;background:#f0f7fb;border:1px solid #c6d9e4;border-radius:6px}.share-card-content canvas{display:block;width:100%;max-width:380px;height:auto;margin:12px auto;border:1px solid #d4e8f2}.share-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.share-card-actions>*{min-height:48px}.share-card-content textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #c6d9e4;border-radius:6px;margin-top:8px}.share-card-content label{font-weight:600}.share-card-actions .primary-button{width:auto}@media(max-width:480px){.share-card-actions>*{width:100%;justify-content:center}}
.category-record{flex-wrap:wrap}.category-record .record-actions{display:flex;gap:12px;flex-basis:100%;border-top:1px solid #e1ebf1;padding-top:8px}.record-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:6px;color:#006b96;background:#e9f4fa;font-weight:600;font-size:14px;text-decoration:none}.record-actions a:hover{background:#d8edf7}.record-actions a:focus-visible{outline:3px solid #f5a400;outline-offset:2px}.share-card-panel{scroll-margin-top:90px}.directions+.share-card-panel{margin-top:10px}@media(max-width:480px){.record-actions a{flex:1}}
.recommendation-card.category-record{display:block;padding:0}.record-toggle{display:flex;align-items:center;gap:16px;padding:16px;cursor:pointer;list-style:none;min-height:76px}.record-toggle::-webkit-details-marker{display:none}.record-toggle>div{flex:1;min-width:0;overflow-wrap:anywhere}.record-toggle:focus-visible{outline:3px solid #f5a400;outline-offset:2px;border-radius:6px}.record-chevron{color:#006b96;font-size:22px;flex-shrink:0}.category-record[open] .record-chevron{transform:rotate(180deg)}.category-record .record-actions{margin:0 16px;padding:10px 0}.category-record:not([open]) .record-actions{display:none}.record-toggle:hover{background:#f0f7fb}@media(max-width:480px){.record-toggle{padding:12px;gap:10px}.category-record .record-actions{margin:0 12px}}
.welcome-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 20px}.welcome-card{text-align:center;max-width:600px;width:100%;padding:16px 24px 28px}.welcome-logo{display:block;width:min(100%,400px);height:auto;margin:-26px auto -22px;mix-blend-mode:multiply}.welcome-card h1{font-size:clamp(36px,7vw,58px);line-height:1.12;letter-spacing:-.035em;margin:20px 0;color:#032b43}.welcome-card h1 span{color:#006b96}.welcome-tagline{font-size:20px;font-weight:600;color:#032b43;margin:18px 0}.welcome-description{max-width:380px;margin:0 auto 28px;font-size:17px;line-height:1.6;color:#567083}.welcome-enter{display:flex;align-items:center;justify-content:center;gap:32px;max-width:300px;min-height:54px;margin:0 auto;text-decoration:none}.welcome-shell footer{margin:24px 0 0}.welcome-card .eyebrow{font-size:11px;letter-spacing:.14em}.welcome-card .field-hint{margin:18px 0 0}@media(max-width:480px){.welcome-shell{padding:20px 14px}.welcome-card{padding:8px}.welcome-logo{width:310px;margin:-24px auto -18px}.welcome-tagline{font-size:18px}.welcome-description{font-size:16px}.welcome-card h1{margin:18px 0}}
.account-menu nav .menu-logout{margin:4px 0 0;border-top:1px solid #dce6ed;padding-top:4px}.account-menu nav .menu-logout button{display:block;width:100%;text-align:left;border:0;border-radius:4px;background:transparent;color:#032b43;font:inherit;font-size:14px;padding:12px;cursor:pointer}.account-menu nav .menu-logout button:hover{background:#e9f4fa}

.share-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.share-card-actions>*{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;margin:0;padding:8px 10px;font-size:13px;line-height:1.3;text-align:center;box-sizing:border-box;box-shadow:none}.share-card-actions .primary-button{width:100%;margin:0;font-size:13px;box-shadow:none}.share-card-actions>[hidden]{display:none}@media(min-width:700px){.share-card-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}
