/* Shared, content-first interface. Local fonts and assets only. */
:root{--paper:#fff;--canvas:#fff;--ink:#171717;--muted:#737373;--line:#e8e8e8;--wash:#f5f5f5;--green:#171717;--green-dark:#383838;--danger:#c43737;--radius:10px;--sidebar:224px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.6;font-synthesis:none;text-rendering:optimizeLegibility}

*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--canvas)}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button,summary{cursor:pointer}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1{font-size:25px;line-height:1.4;font-weight:600;letter-spacing:-.025em}
h2{font-size:18px;font-weight:600}
h3{font-size:15px;font-weight:600}
strong{font-weight:600}
small,.small{font-size:12px}
img{display:block;max-width:100%}
svg{flex-shrink:0;vertical-align:middle}
button:disabled{opacity:.4;cursor:not-allowed}
fieldset{border:0;padding:0;margin:0;min-width:0}
:focus-visible{outline:2px solid #4585c8;outline-offset:4px}
.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}
.muted{color:var(--muted)}
.grow{flex:1;min-width:0}
.row{display:flex;align-items:center;gap:12px}
.between{justify-content:space-between}
.wrap{flex-wrap:wrap}
.ml-auto{margin-left:auto}
.full{width:100%;justify-content:center}
.rotate{transform:rotate(180deg);display:inline-flex}
.body-text{white-space:pre-wrap;overflow-wrap:anywhere}
.danger,.error-text{color:var(--danger)!important}
.eyebrow{font-size:11px;color:var(--muted)}

.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 17px;border:0;border-radius:8px;background:#f0f0f0;color:var(--ink);font-size:13px;font-weight:600;line-height:1.5;transition:background .15s}
.button:hover:not(:disabled){background:#e6e6e6}
.button.primary{background:var(--ink);color:#fff}
.button.primary:hover:not(:disabled){background:#383838}
.button.small{min-height:36px;padding:8px 14px;font-size:12px}
.button.danger{background:#fff0f0}
.text-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;border:0;padding:6px 0;background:none;color:var(--ink);font-size:13px}
.text-button:hover{color:var(--muted)}
.text-button.small{font-size:12px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--ink)}
.icon-button:hover,.icon-button.active{background:var(--wash)}
.chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 13px;border:1px solid var(--line);border-radius:20px;background:#fff;font-size:12px;color:var(--muted)}
.chip.active{border-color:var(--ink);color:var(--ink);background:var(--wash)}

.skip-link{position:fixed;top:10px;left:12px;transform:translateY(-180%);z-index:300;padding:10px 16px;background:#fff;border:2px solid var(--ink);border-radius:8px}
.skip-link:focus{transform:none}
.sidebar{width:var(--sidebar);height:100dvh;position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;padding:36px 18px 22px;background:#fff;border-right:1px solid var(--line)}
.brand{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:40px;letter-spacing:-2px;line-height:1.2}
.sidebar>.brand{padding:0 16px}
.sidebar .brand-initial{display:none}
.primary-nav{display:flex;flex-direction:column;gap:8px;margin-top:42px}
.nav-item{display:flex;align-items:center;gap:16px;padding:13px 16px;border:0;border-radius:8px;min-height:50px;font-size:15px;background:transparent;color:var(--ink)}
.nav-item:hover{background:var(--wash)}
.nav-item.active{font-weight:600;background:var(--wash)}
.nav-item.active svg{stroke-width:2.3}
.nav-item .avatar{width:26px;height:26px;font-size:13px}
.sidebar-bottom{margin-top:auto;padding-top:25px}
.sidebar-bottom .app-menu>summary{width:100%;justify-content:flex-start;padding-left:16px}
.sidebar-bottom .app-menu>summary:after{content:attr(data-label);margin-left:16px;font-size:15px}
.main-content{margin-left:var(--sidebar);padding:48px 44px 70px;min-height:100dvh}
.main-content>div{max-width:920px;margin-inline:auto}
.main-content>:is(.reading-page,.stream-page,.editor-page){max-width:640px}
.main-content>:is(.settings-page,.recap-page){max-width:760px}
.main-content:has(>.login-required){display:grid;place-items:center;padding-block:0}
.login-required{width:100%}
.mobile-header,.mobile-nav{display:none}
.main-content>.verification-banner{max-width:640px;margin:0 auto 28px}
.main-content:has(>.settings-page)>.verification-banner{max-width:760px}
.main-content:has(>.profile-page)>.verification-banner{max-width:920px}

.more-menu{position:relative;flex-shrink:0}
.more-menu>summary{list-style:none}
.more-menu>summary::-webkit-details-marker{display:none}
.more-menu[open]>summary{background:var(--wash)}
.menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:50;min-width:190px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 30px #00000012}
.menu-panel>a,.menu-item{display:flex;align-items:center;gap:12px;padding:12px;min-height:44px;width:100%;border:0;border-radius:7px;background:none;color:var(--ink);font-size:13px;text-align:left}
.menu-panel>a:hover,.menu-item:hover{background:var(--wash)}
.sidebar-bottom .menu-panel{top:auto;bottom:calc(100% + 8px);left:0;right:auto;width:210px}
.legal-links{display:flex;gap:12px;flex-wrap:wrap;padding:12px;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}

.avatar{width:38px;height:38px;flex-shrink:0;object-fit:cover;border-radius:50%;background:var(--wash);border:1px solid var(--line)}
.avatar.initials{display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:500;color:#666}
.avatar.large{width:104px;height:104px;font-size:38px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;min-height:40px}
.page-heading p{font-size:13px;margin-top:7px}
.page-heading>.text-button{white-space:nowrap}
.profile-header{display:grid;grid-template-columns:124px minmax(0,1fr) auto;align-items:center;gap:28px;padding:8px 20px 36px}
.profile-info{min-width:0}
.profile-name{gap:8px 12px;align-items:baseline}
.profile-name h1{font-size:24px;overflow-wrap:anywhere}
.handle{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.bio{font-size:14px;line-height:1.7;margin-top:14px;max-width:520px}
.profile-website{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}
.profile-stats{display:flex;flex-wrap:wrap;gap:22px;margin-top:20px}
.profile-stat{display:inline-flex;align-items:baseline;gap:6px;font-size:13px}
.profile-stat strong{font-size:15px}
.profile-buttons{display:flex;align-items:center;gap:8px;align-self:start;padding-top:4px}
.journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:14px 0;margin:0 0 10px}
.month-nav{display:flex;align-items:center;gap:5px}
.month-nav h2{font-size:15px;font-weight:600;white-space:nowrap}
.view-toggle{display:flex;gap:2px}
.journal-toolbar>.row{gap:8px}
.view-toggle .active{background:transparent;box-shadow:inset 0 -2px var(--ink);border-radius:0}
.days-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.day-link{min-width:0}
.day-tile{position:relative;overflow:hidden;background:var(--wash)}
.day-cover,.text-cover{width:100%;aspect-ratio:1;object-fit:cover}
.day-tile:hover{filter:brightness(.96)}
.text-cover{display:flex;align-items:center;justify-content:center;padding:30px;background:#f5f5f3}
.text-cover p{font-size:16px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.days-grid .day-link:nth-child(3n+2) .text-cover{background:#f1f0ed}
.tile-date{position:absolute;bottom:12px;left:12px;color:#fff;background:#0006;padding:2px 7px;border-radius:4px;font-size:11px;letter-spacing:.04em}
.text-cover~.tile-date{background:transparent;color:#777;padding:0}
.tile-count{position:absolute;right:12px;top:12px;color:#fff;filter:drop-shadow(0 1px 3px #0009)}
.text-cover~.tile-count{color:#888;filter:none}
.days-list{display:flex;flex-direction:column}
.day-list-row{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.list-date{width:56px;flex-shrink:0;text-align:center}
.list-date strong{display:block;font-size:26px;font-weight:500}
.list-date span{font-size:11px;color:var(--muted)}
.day-list-row h3{font-size:14px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.day-list-row small{display:block;color:var(--muted);margin-top:5px}
.list-cover,.list-placeholder{width:68px;height:68px;object-fit:cover;border-radius:4px;flex-shrink:0}
.list-placeholder{display:flex;align-items:center;justify-content:center;background:var(--wash);color:var(--muted)}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.weekday{text-align:center;color:var(--muted);padding:10px 0;font-size:12px}
.calendar-day{position:relative;overflow:hidden;min-height:95px;padding:8px;background:#fafafa;display:flex;align-items:flex-start;flex-direction:column;color:#777;font-size:13px}
.calendar-day strong,.calendar-day small{position:relative;z-index:1}
.calendar-day.has-note strong,.calendar-day.has-note small{background:#ffffffe0;padding:0 4px;color:var(--ink);border-radius:3px}
.calendar-day small{font-size:10px}
.calendar-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.fragment-card{position:relative;background:#fff;border-bottom:1px solid var(--line);padding:0 0 24px;margin-bottom:28px;overflow-wrap:anywhere}
.fragment-header{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.fragment-author{display:flex;flex-direction:column}
.author-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.fragment-header .small{font-size:11px;color:var(--muted)}
.privacy-label{display:flex;align-items:center;color:var(--muted)}
.fragment-photos{margin:0 0 16px;overflow:hidden;border-radius:3px}
.fragment-photos.multiple{display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x mandatory}
.photo-button{border:0;padding:0;background:var(--wash);display:block;width:100%;min-width:100%;scroll-snap-align:start}
.fragment-photos.multiple .photo-button{min-width:92%;width:92%;flex-shrink:0}
.reading-photo{width:100%;max-height:680px;object-fit:contain;margin:auto}
.fragment-body{font-size:14px;line-height:1.85;margin:10px 0}
.mood-label{display:inline-block;margin:0 0 8px;font-size:12px;color:var(--muted)}
.record-list{margin-top:14px}
.record-item{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.record-icon{color:var(--muted);padding:3px 0}
.record-content{flex:1;min-width:0}
.type-label{font-size:10px;color:var(--muted)}
.record-item h3,.record-name{display:block;font-size:14px;font-weight:600}
.record-content .body-text{font-size:13px;margin-top:6px;line-height:1.8}
.rating{font-size:12px;white-space:nowrap;color:var(--muted)}
.item-photos{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.item-photo{width:85px;height:85px;object-fit:cover;border-radius:4px}
.fragment-actions{display:flex;align-items:center;gap:12px;margin-top:8px}
.action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:44px;padding:6px 0;border:0;background:none;color:var(--ink);font-size:12px}
.action:hover{opacity:.6}
.action.active svg{fill:var(--ink)}
.action.like-action.active{color:#e53f58}
.action.like-action.active svg{fill:#e53f58}
.comments{border-top:1px solid var(--line);margin-top:10px;padding-top:12px}
.comment{display:flex;align-items:flex-start;gap:10px;padding:12px 0}
.comment .avatar{width:28px;height:28px;font-size:12px}
.comment .body-text{font-size:13px}
.comment-form{display:flex;align-items:flex-start;gap:10px;margin-top:14px}
.comment-form textarea{flex:1}
.image-missing{display:flex;align-items:center;justify-content:center;min-height:40px;background:var(--wash);color:var(--muted);font-size:11px}
.lightbox-photo{max-height:70dvh;width:100%;object-fit:contain}
.lightbox .row{margin-top:12px}
.evidence-photo{max-height:400px;object-fit:contain;margin:12px auto}

.field{display:flex;flex-direction:column;gap:7px;margin:20px 0;min-width:0}
.field-label{font-size:13px;font-weight:500}
.field small{font-size:12px;color:var(--muted)}
input,textarea,select{border:1px solid #ddd;border-radius:7px;padding:11px 12px;width:100%;min-width:0;background:#fff;color:var(--ink);line-height:1.5}
select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;cursor:pointer}
@media(forced-colors:active){select{appearance:auto;-webkit-appearance:auto;background-image:none}}
input:focus,textarea:focus,select:focus{outline:2px solid #ccc;outline-offset:1px}
input::placeholder,textarea::placeholder{color:#888}
.password-input{position:relative;display:block;width:100%;min-width:0}
.password-input.has-caps-lock input{padding-right:152px}
.caps-lock-warning{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:500;line-height:1.5;color:#8a4b00;pointer-events:none;white-space:nowrap}
.caps-lock-warning:empty{display:none}
textarea{resize:vertical}
input:disabled{background:var(--wash);color:var(--muted)}
input[type=checkbox]{width:16px;height:16px;flex-shrink:0;accent-color:var(--ink)}
input[type=file]{font-size:12px}
input[type=time],input[type=number]{font-variant-numeric:tabular-nums}
.checkbox{display:flex;align-items:flex-start;gap:9px;font-size:13px;margin:16px 0}
.checkbox input{margin-top:4px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.panel{padding:24px 0;margin-bottom:8px;border-top:1px solid var(--line);min-width:0}
.panel>h2{font-size:17px;margin-bottom:16px}
.panel>p,.panel>div>p{font-size:13px;line-height:1.8}
.panel details{font-size:13px}
.panel summary{cursor:pointer}
.settings-layout{display:block}
.settings-content{max-width:640px;margin:auto}
.settings-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap;margin-bottom:28px}
.settings-tabs a,.settings-tabs button{display:flex;align-items:center;gap:8px;padding:14px 0;border:0;background:transparent;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}
.settings-tabs .active{border-bottom-color:var(--ink);color:var(--ink);font-weight:600}
.settings-grid{display:block}
.settings-panel{margin:0;padding:24px 0}
.setting-fold{padding:0}
.setting-fold>summary{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:72px;padding:20px 2px;font-size:15px;font-weight:500}
.setting-fold>summary::-webkit-details-marker{display:none}
.setting-fold>summary:after{content:'';width:7px;height:7px;border-right:1.5px solid #888;border-bottom:1.5px solid #888;transform:rotate(-45deg);margin-right:6px}
.setting-fold[open]>summary:after{transform:rotate(45deg)}
.setting-fold-content{padding:0 2px 24px}
.settings-profile{border:0;padding-top:4px}
.settings-profile>h2{display:none}
.settings-avatar{display:flex;align-items:center;gap:24px;margin-bottom:28px}
.settings-avatar .avatar.large{width:76px;height:76px;font-size:30px}
.settings-details{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
.settings-details>summary{min-height:36px}
.settings-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.settings-email{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.settings-email strong{font-size:14px;overflow-wrap:anywhere}
.settings-email p{margin-top:4px}
.settings-empty{padding:14px 0;font-size:13px}
.device-row,.export-row,.trash-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}
.device-row strong,.device-row small,.export-row small,.trash-row small{display:block;overflow-wrap:anywhere}
.device-row small,.export-row small,.trash-row small{font-size:11px;color:var(--muted);margin-top:4px}
.status-chip{font-size:11px;color:var(--muted);white-space:nowrap}
.import-preview{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}
.import-preview>.row{padding:10px 0;font-size:12px;border-bottom:1px solid var(--line)}
.danger-zone p{font-size:13px;color:var(--danger)}
.settings-danger>summary{color:var(--danger)}
.json-preview{white-space:pre-wrap;word-break:break-all;background:var(--wash);padding:14px;border-radius:6px;max-height:420px;overflow:auto;font-size:11px}
.person-row{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}
.person-row strong,.person-row small{display:block}
.person-row small{font-size:11px;color:var(--muted)}
.person-actions{display:flex;gap:8px;flex-shrink:0}
.relationship-panel{border:0;padding-top:0}
.relationship-tabs{margin-bottom:8px;flex-wrap:wrap}
.sharing-groups .group-form{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.sharing-groups .person-row{flex-wrap:wrap}
.selected-sharing h3{font-size:13px;margin:16px 0 8px}
.selected-sharing .checkbox{margin:8px 0}
.staff-auth{max-width:480px}
.staff-content>.field{max-width:220px}

.editor-topbar{position:sticky;top:0;z-index:18;display:grid;gap:8px;padding:8px 0 14px;background:#fff;border-bottom:1px solid var(--line);margin:-12px 0 20px}
.editor-heading{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;min-width:0}
.editor-heading h1{grid-column:2;text-align:center;font-size:20px;white-space:nowrap}
.editor-heading time{display:inline-flex;align-items:baseline;justify-content:center;gap:10px}
.editor-weekday{font-size:12px;font-weight:400;color:var(--muted)}
.editor-back{width:40px;height:40px}
.editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0}
.editor-status{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:40px}
.save-state{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;color:var(--muted)}
.editor-status small{font-size:10px;line-height:1.4;margin-top:3px}
.editor-actions{display:flex;align-items:stretch;gap:0}
.editor-actions>.button{min-width:64px;min-height:40px;padding:8px 16px;border-radius:8px 0 0 8px;white-space:nowrap}
.editor-more>summary{width:40px;height:100%;min-height:40px;border-left:1px solid #ffffff40;border-radius:0 8px 8px 0;background:var(--ink);color:#fff}
.editor-more>summary:hover,.editor-more[open]>summary{background:#383838}
.editor-more>summary svg{width:18px;height:18px;transition:transform .15s}
.editor-more[open]>summary svg{transform:rotate(180deg)}
.editor-fragment{padding:0 0 12px 20px;margin-bottom:32px;border-left:2px solid var(--line)}
.editor-fragment>header{gap:10px;padding-bottom:8px}
.fragment-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.fragment-title h2{flex-shrink:0}
.fragment-title h2>.text-button{font-size:13px;font-weight:500;min-height:40px}
.fragment-drag-handle{flex-shrink:0;width:44px;height:44px;touch-action:none;cursor:grab;color:var(--muted)}
.fragment-drag-handle:disabled{cursor:default;opacity:.3}
.fragment-sorting,.fragment-sorting *{cursor:grabbing!important;user-select:none!important}
.editor-fragment.is-dragging{opacity:.45}
.editor-fragment.drop-before,.editor-fragment.drop-after{position:relative}
.editor-fragment.drop-before:before,.editor-fragment.drop-after:after{content:'';position:absolute;left:-2px;right:0;height:2px;background:var(--ink);pointer-events:none}
.editor-fragment.drop-before:before{top:-16px}
.editor-fragment.drop-after:after{bottom:-16px}
.fragment-drag-preview{position:fixed;z-index:100;pointer-events:none;padding:8px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 3px 14px #0001;font-size:13px}
.fragment-number{font-size:12px;color:#888}
.fragment-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}
.collapse-chevron{display:inline-flex;transform:rotate(180deg)}
.collapse-chevron.expanded{transform:rotate(-90deg)}
.journal-input{display:block;border:0;border-radius:0;padding:12px 0;min-height:120px;font-size:16px;line-height:1.9;resize:none;overflow:hidden;margin-bottom:12px}
.journal-input:focus{outline:none;box-shadow:0 1px var(--line)}
.editor-photos{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.editor-photo,.upload-tile{width:90px;height:90px;border-radius:6px;overflow:hidden;position:relative;background:var(--wash)}
.editor-photo .cover{width:100%;height:100%;object-fit:cover}
.photo-remove{position:absolute;top:4px;right:4px;font-size:10px;padding:3px 6px;border:0;border-radius:4px;background:#fffe}
.photo-order{position:absolute;bottom:0;width:100%;display:flex;justify-content:space-between;background:#fffd}
.photo-order .icon-button{width:30px;min-width:30px;height:28px;font-size:12px}
.upload-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--muted);font-size:12px;cursor:pointer}
.upload-tile input{position:absolute;inset:0;opacity:0;cursor:pointer}
.upload-tile:focus-within{outline:2px solid #4585c8;outline-offset:3px}
.empty-photos .upload-tile{width:auto;height:40px;flex-direction:row;padding:0 12px;background:var(--wash);color:var(--ink)}
.editor-section{border-top:1px solid var(--line)}
.editor-section>summary{display:flex;align-items:center;gap:8px;position:relative;padding:15px 0;min-height:50px;font-size:13px;list-style:none}
.editor-section>summary::-webkit-details-marker{display:none}
.editor-section>summary:after{content:'+';margin-left:auto;font-size:18px;color:var(--muted)}
.editor-section[open]>summary:after{content:'−'}
.moods{gap:8px;margin:0 0 16px}
.item-add{margin-bottom:16px}
.item-add select{flex:1}
.edit-item{padding:16px;background:#fafafa;border-radius:8px;margin-bottom:12px}
.edit-item .field{margin:14px 0}
.edit-item>header{gap:8px}
.item-toggle{min-width:0;text-align:left;overflow-wrap:anywhere;font-size:13px}
.location-options{font-size:12px;margin:14px 0}
.edit-item .editor-photo,.edit-item .upload-tile{width:76px;height:76px}
.edit-item .empty-photos .upload-tile{width:auto;height:40px}
.sharing>.field{margin-top:0}
.recipient-list{display:flex;flex-wrap:wrap;gap:6px}
.add-fragment{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;background:var(--wash);border:0;border-radius:8px;font-size:13px;color:var(--ink)}
.editor-page :is(input,textarea,select,summary,button){scroll-margin-top:140px;scroll-margin-bottom:100px}

.search-bar{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.search-input{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0 14px;background:var(--wash);border-radius:9px}
.search-input>svg{color:#888;width:18px}
.search-input input{border:0;outline:0;background:transparent;min-height:44px;padding:10px 0;box-shadow:none}
.search-input .icon-button{margin-right:-10px;color:var(--muted);transform:rotate(180deg)}
.search-input:focus-within{outline:2px solid #bbb}
.search-filters{display:flex;align-items:center;gap:6px}
.search-filters select{width:auto;max-width:100%;border:0;background-color:var(--wash);font-size:13px;padding:11px 40px 11px 12px;cursor:pointer}
.people-results{margin-bottom:24px}
.people-results h2{font-size:15px}
.notifications-toolbar{margin:-12px 0 14px}
.notification-row{display:flex;align-items:center;gap:14px;width:100%;background:#fff;border:0;border-bottom:1px solid var(--line);padding:20px 8px;text-align:left;color:var(--ink)}
.notification-row:hover{background:var(--wash)}
.notification-row .grow>strong{font-size:13px;display:block}
.notification-row .grow>span{font-size:13px;display:block;margin-top:2px}
.notification-row time{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.unread-dot{width:7px;height:7px;border-radius:50%;background:#3897f0;flex-shrink:0}
.recap-hero{padding:12px 0 28px;border-bottom:1px solid var(--line)}
.recap-totals{display:flex;gap:50px}
.recap-total{display:flex;flex-direction:column}
.recap-total strong{font-size:38px;font-weight:500;line-height:1.4}
.recap-total span{font-size:12px;color:var(--muted)}
.recap-hero p{font-size:12px;color:var(--muted);margin-top:15px}
.recap-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:24px 0}
.stat-card{display:flex;flex-direction:column}
.stat-card>span{font-size:12px}
.stat-card strong{font-size:27px;font-weight:500}
.mood-summary{display:flex;flex-wrap:wrap;gap:24px}
.mood-stat{display:flex;gap:14px;font-size:13px}
.recap-page .record-item:first-child{margin-top:16px}

.auth-layout{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,1fr)}
.auth-media{grid-column:1;grid-row:1;position:sticky;top:0;height:100dvh;min-height:480px;overflow:hidden;border:0;border-radius:0;outline:0;box-shadow:none;background:#34433b;color:#fff;isolation:isolate;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility .9s}
.is-media-ready .auth-media{opacity:1;visibility:visible}
/* Overscan inside the clipped panel prevents seams at fractional pixel sizes. */
.auth-media-poster,.auth-media-video{display:block;position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);max-width:none;border:0;border-radius:0;outline:0;box-shadow:none;object-fit:cover;object-position:center}
.auth-media-video{opacity:0;transition:opacity .7s ease}
.auth-media-video.is-visible{opacity:1}
.auth-form-panel{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 32px calc(56px + var(--safe-bottom));transform:translateX(calc((100% - 100vw) / 2));transition:transform .9s cubic-bezier(.22,1,.36,1);z-index:1}
.is-media-ready .auth-form-panel{transform:translateX(0)}
.auth-story{text-align:center;margin-bottom:38px}
.auth-story .brand{font-size:54px}
.auth-form-wrap{width:100%;max-width:330px;min-width:0}
.auth-heading{text-align:center;margin-bottom:28px}
.auth-heading h1{font-size:19px;font-weight:500}
.auth-result.status-block{padding:0}
.auth-result .status-title{font-size:19px;font-weight:500;line-height:1.5}
.auth-result .status-message{margin-top:16px;font-size:14px}
.auth-result .status-actions{display:block;margin-top:28px}
.auth-result-message{display:grid;gap:8px;text-align:center;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.auth-result-message .muted{font-size:13px}
.auth-result .button{min-height:44px}
.auth-form .field{margin:18px 0}
.auth-form .button.full{margin-top:12px}
.auth-switch{margin-top:18px;gap:10px}
.auth-switch .text-button{font-size:12px}
.auth-footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:48px;color:var(--muted);font-size:11px}
.auth-footer>a{white-space:nowrap}
.auth-footer .language-picker{color:inherit}
.auth-footer .language-trigger{padding:0;font-size:inherit}
.auth-footer .language-trigger:hover:not(:disabled){background:none;text-decoration:underline}
.auth-footer .language-dropdown{left:auto;right:0;transform:none}
.auth-footer a:hover{text-decoration:underline}
.auth-credits{max-width:100%;margin-top:14px;color:#8a8a8a;font-size:10px;line-height:1.9;letter-spacing:.02em;text-align:center;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.auth-layout .auth-media-video,.auth-layout .auth-media,.auth-layout .auth-form-panel{transition:none}}
.legal-page p,.legal-page li{font-size:14px;line-height:1.9}
.legal-page .panel{padding:24px 0}
.legal-footer{border-top:1px solid var(--line);padding-top:24px;color:var(--muted);font-size:13px}
.legal-footer small{display:block;margin-top:12px}
.initial{max-width:620px;margin:12vh auto;padding:28px}
.initial>a{display:inline-flex;margin-top:24px;min-height:40px;align-items:center;padding:8px 16px;border-radius:8px;background:var(--ink);color:#fff}
.initial p{margin-top:20px}

/* One hierarchy for result screens, empty states, verification and errors. */
.status-block{min-width:0;--status-color:var(--ink);--status-wash:var(--wash)}
.status-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--status-wash);color:var(--status-color);flex-shrink:0}
.status-content{min-width:0}
.status-title{font-size:18px;line-height:1.5;font-weight:600;color:inherit;overflow-wrap:anywhere}
.status-message{margin-top:10px;font-size:13px;line-height:1.85;color:var(--muted);overflow-wrap:anywhere}
.status-message:first-child{margin-top:0}
.status-message p+p{margin-top:6px}
.status-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px;margin-top:24px}
.status-actions>.button{min-height:44px}
.status-centered{padding:56px 24px;text-align:center}
.status-centered>.status-icon{margin:0 auto 20px}
.status-centered>.status-content{max-width:400px;margin-inline:auto}
.status-inline{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:12px}
.status-inline>.status-icon{width:36px;height:36px}
.status-inline>.status-icon svg{width:20px;height:20px}
.status-inline>.status-content{flex:1}
.status-inline .status-title{font-size:14px}
.status-inline .status-message{margin-top:4px;font-size:12px}
.status-inline .status-message:first-child{margin-top:0}
.status-inline .status-actions{justify-content:flex-start;margin-top:12px;gap:8px 16px}
.status-error{--status-color:#a32626;--status-wash:#fff0f0;color:#a32626}
.status-error .status-message{color:inherit}
.status-error.status-inline{border-color:#efd7d7;background:#fffafa}
.status-block.notice.error{margin:16px 0}
.verification-banner .status-content{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:center}
.verification-banner .status-title,.verification-banner .status-message{grid-column:1}
.verification-banner .status-actions{grid-column:2;grid-row:1 / 3;margin:0}
.verification-banner .status-actions a{white-space:nowrap}
.verification-address{font-size:13px;color:var(--ink);font-weight:500}
.verification-feedback{font-size:12px}
.verification-feedback:empty{display:none}
.empty .status-title{font-size:16px;font-weight:500}
.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px;color:var(--muted);font-size:12px}
.spinner{display:inline-block;width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}
.initial-loading{position:fixed;inset:0;background:var(--canvas)}
.initial-loading .spinner{width:28px;height:28px}
.initial:has(.initial-preview) .initial-loading{display:none}
@keyframes spin{to{transform:rotate(360deg)}
}
.notice{padding:16px;background:var(--wash);border-radius:8px;margin:16px 0;font-size:13px;overflow-wrap:anywhere}
.notice p+p{margin-top:8px}
.notice.conflict h3{font-size:15px}
.notice.conflict .row{margin-top:16px}
.modal-open{overflow:hidden}
.modal-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#0006;padding:24px}
.modal{background:#fff;border-radius:12px;max-width:650px;width:100%;max-height:90dvh;overflow:auto;padding:26px}
.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.modal-header h2{font-size:18px}
.modal p{font-size:13px}
.modal .row input{min-width:0;flex:1}
.modal .row .button{white-space:nowrap}
.picker-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;font-size:13px}
.picker-row small{color:var(--muted)}
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:200;display:flex;align-items:center;gap:18px;width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;border-radius:9px;background:#242424;color:#fff;box-shadow:0 4px 25px #0002;font-size:13px}
.toast-error{background:#9d2f2f}
.toast-close{border:0;background:none;color:inherit;font-size:22px;min-width:30px;min-height:30px}

@media(max-width:1200px){:root{--sidebar:80px}
.sidebar{padding:30px 14px 20px}
.sidebar>.brand{font-size:29px;padding:0;text-align:center}
.sidebar .brand-name{display:none}
.sidebar .brand-initial{display:inline}
.sidebar .nav-item{padding:13px;justify-content:center}
.sidebar .nav-item>span:not(.avatar){display:none}
.sidebar-bottom .app-menu>summary{justify-content:center;padding:8px}
.sidebar-bottom .app-menu>summary:after{display:none}
.primary-nav{margin-top:32px}
.main-content{padding:36px 32px 60px}
.profile-header{grid-template-columns:96px minmax(0,1fr);gap:20px;padding-inline:12px}
.profile-header>.avatar{width:86px;height:86px;font-size:32px}
.profile-buttons{grid-column:2;grid-row:2;padding:0;margin-top:-6px}
.profile-stats{gap:18px}
}

@media(max-width:720px){:root{--sidebar:0px}
.sidebar{display:none}
.main-content{margin:0;padding:calc(80px + var(--safe-top)) 18px calc(88px + var(--safe-bottom))}
.main-content:has(>.login-required){padding-top:calc(58px + var(--safe-top));padding-bottom:calc(58px + var(--safe-bottom))}
.mobile-header{position:fixed;inset:0 0 auto;z-index:30;display:flex;align-items:center;justify-content:space-between;height:calc(58px + var(--safe-top));padding:var(--safe-top) 14px 0;background:#fff;border-bottom:1px solid var(--line)}
.mobile-header .brand{font-size:32px}
.mobile-header .row{gap:2px}
.mobile-nav{position:fixed;inset:auto 0 0;z-index:30;display:flex;justify-content:space-around;align-items:center;background:#fff;border-top:1px solid var(--line);height:calc(58px + var(--safe-bottom));padding:2px 8px calc(2px + var(--safe-bottom))}
.mobile-nav>a{display:flex;align-items:center;justify-content:center;min-width:48px;height:48px;color:var(--ink);border-radius:6px}
.mobile-nav>a>span{display:none}
.mobile-nav>a.active svg{stroke-width:2.6}
.mobile-nav .create-nav svg{width:27px;height:27px;border:1.7px solid currentColor;border-radius:7px;padding:3px}
.editing .mobile-header{display:none}
.editing .main-content{padding-top:calc(24px + var(--safe-top))}
.editing .editor-topbar{top:var(--safe-top)}
.editing .editor-page :is(input,textarea,select,summary,button){scroll-margin-top:135px}
.page-heading{margin-bottom:24px;gap:12px}
.page-heading h1{font-size:22px}
.page-heading>.button{min-height:36px;font-size:12px}
.page-heading>.text-button{font-size:12px}
.profile-header{grid-template-columns:72px minmax(0,1fr);gap:16px;padding:0 0 26px}
.profile-header>.avatar{width:68px;height:68px;font-size:27px}
.profile-name{display:block}
.profile-name h1{font-size:20px}
.handle{font-size:12px}
.bio{font-size:13px;margin-top:10px;line-height:1.7}
.profile-stats{gap:12px;margin-top:16px}
.profile-stat{font-size:11px;gap:4px}
.profile-stat strong{font-size:14px}
.profile-buttons{grid-column:1/-1;grid-row:auto;margin:0;gap:8px}
.profile-buttons>.button{flex:1}
.journal-toolbar{padding:10px 0;margin:0 0 4px;gap:4px}
.month-nav{gap:0}
.month-nav h2{font-size:14px}
.month-nav .icon-button{min-width:30px;width:30px}
.journal-toolbar>.row{gap:2px}
.view-toggle{gap:0}
.view-toggle .icon-button,.recap-link{width:34px;min-width:34px}
.profile-page .days-grid{margin-inline:-18px;gap:3px}
.text-cover{padding:18px 12px 27px}
.text-cover p{font-size:12px;line-height:1.8;-webkit-line-clamp:3}
.tile-date{bottom:7px;left:7px;font-size:9px;padding:1px 4px}
.tile-count{top:7px;right:7px}
.tile-count svg{width:12px;height:12px}
.day-list-row{gap:14px;padding:18px 0}
.list-date{width:42px}
.list-date strong{font-size:24px}
.list-cover,.list-placeholder{width:58px;height:58px}
.calendar{gap:3px}
.calendar-day{min-height:68px;padding:4px;font-size:11px}
.calendar-day small{font-size:9px}
.weekday{font-size:11px}
.fragment-card{margin-bottom:24px;padding-bottom:20px}
.fragment-header{gap:8px}
.fragment-header .avatar{width:34px;height:34px}
.fragment-photos{margin-inline:-18px;border-radius:0}
.fragment-body{font-size:14px}
.item-photo{width:64px;height:64px}
.comment-form textarea{font-size:16px}
.record-item{gap:10px}
.record-content .body-text{font-size:13px}
.record-item .rating{font-size:11px}
.field{margin:18px 0}
input,textarea,select{font-size:16px;min-height:44px}
input[type=checkbox]{min-height:0}
.form-grid{grid-template-columns:1fr;gap:0}
.settings-tabs{gap:0;justify-content:space-between;margin-bottom:24px}
.settings-tabs a,.settings-tabs button{font-size:12px;padding:13px 4px;gap:0}
.settings-nav svg{display:none}
.settings-panel{padding:20px 0}
.setting-fold{padding:0}
.setting-fold>summary{min-height:66px;font-size:14px}
.settings-avatar{gap:18px;margin-bottom:22px}
.settings-avatar .avatar.large{width:68px;height:68px}
.settings-email{gap:10px}
.settings-actions{margin-top:20px}
.device-row,.export-row,.trash-row{font-size:12px;gap:9px}
.device-row .button,.trash-row .button{font-size:11px;padding:8px 10px;white-space:nowrap}
.person-row{gap:9px}
.person-actions{gap:6px}
.person-actions .button{font-size:11px;padding:8px 10px}
.editor-topbar{top:calc(58px + var(--safe-top));margin:-14px 0 16px}
.editor-heading h1{font-size:19px}
.editor-actions>.button{font-size:12px}
.editor-fragment{padding:0 0 8px 12px;margin-bottom:28px}
.fragment-preview{display:none}
.fragment-title{gap:6px}
.journal-input{font-size:16px}
.editor-photo,.upload-tile{width:82px;height:82px}
.edit-item{padding:12px}
.edit-item>header{gap:4px}
.editor-page :is(input,textarea,select,summary,button){scroll-margin-top:195px}
.search-bar{gap:8px}
.search-input{padding-left:10px;gap:6px}
.search-filters select{font-size:13px;min-height:44px}
.notification-row{padding:18px 0;gap:12px}
.notification-row .grow>span{font-size:12px}
.recap-totals{gap:44px}
.recap-total strong{font-size:34px}
.recap-stats{gap:12px}
.stat-card strong{font-size:24px}
.mood-summary{gap:20px}
.auth-layout{display:block;position:relative;padding:0;isolation:isolate}
.auth-media{position:fixed;inset:0;height:100dvh;min-height:0;z-index:0}
.auth-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#07110d66,#07110da6 40%,#07110db3);pointer-events:none}
.auth-form-panel{position:relative;min-height:100dvh;padding:calc(72px + var(--safe-top)) 24px calc(40px + var(--safe-bottom));transform:none;transition:color .9s ease;pointer-events:none}
.auth-form-wrap{pointer-events:auto}
.is-media-ready .auth-credits{color:#ffffff99}
.is-media-ready .auth-form-panel{color:#fff}
.is-media-ready .auth-form-panel .text-button{color:#fff}
.is-media-ready .auth-form-panel .muted,.is-media-ready .auth-footer{color:#ffffffe6}
.is-media-ready .auth-form-panel .notice:not(.error){color:var(--ink)}
.is-media-ready .auth-result .status-icon{background:#ffffff26;color:#fff}
.is-media-ready .auth-result .status-message{color:#ffffffe6}
.is-media-ready .auth-form .button.primary,.is-media-ready .auth-result .button.primary{background:#fff;color:var(--ink)}
.is-media-ready .auth-form .button.primary:hover:not(:disabled),.is-media-ready .auth-result .button.primary:hover{background:#eee}
.is-media-ready .auth-form-panel a:focus-visible{outline-color:#fff}
.auth-story{margin-bottom:22px}
.auth-story .brand{font-size:44px}
.auth-heading{margin-bottom:24px}
.auth-footer{margin-top:32px}
.status-centered{padding:40px 12px}
.status-inline{padding:16px;gap:12px}
.status-inline .status-actions{gap:8px 14px}
.status-centered .status-actions{flex-direction:column;gap:8px}
.status-centered .status-actions>.button{width:100%}
.verification-banner .status-content{display:block}
.verification-banner .status-actions{margin-top:8px}
.email-verification .status-title{font-size:17px}
.verification-banner .status-title{font-size:13px}
.modal-overlay{padding:14px}
.modal{padding:20px;max-height:88dvh}
.toast{bottom:calc(76px + var(--safe-bottom));font-size:12px}
.auth-root .toast{bottom:24px}
.initial{margin:8vh 10px}
.legal-page p,.legal-page li{font-size:13px}
}

@media(max-width:370px){.profile-header{grid-template-columns:60px minmax(0,1fr);gap:12px}
.profile-header>.avatar{width:56px;height:56px;font-size:23px}
.profile-name h1{font-size:18px}
.profile-stats{gap:8px}
.profile-stat{font-size:10px}
.profile-stat strong{font-size:13px}
.month-nav .icon-button{width:25px;min-width:25px;padding:4px}
.month-nav h2{font-size:13px}
.view-toggle .icon-button,.recap-link{width:30px;min-width:30px;padding:6px}
.journal-toolbar>.row{gap:0}
.text-cover{padding:14px 10px 25px}
.text-cover p{font-size:11px}
.editor-heading h1{font-size:18px}
.editor-heading time{gap:8px}
.settings-tabs a{font-size:11px;padding-inline:2px}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
.spinner{animation:none!important}
}

@media print{.sidebar,.mobile-header,.mobile-nav,.skip-link,.fragment-actions,.toast,.settings-tabs,.profile-buttons,.more-menu{display:none!important}
.main-content{margin:0;padding:0}
.fragment-card,.panel{break-inside:avoid}
.fragment-photos.multiple{display:block}
.fragment-photos.multiple .photo-button{width:100%}
.body-text{color:#000}
}


/* EyesNeed: the photo is the first action; details stay one step away. */
.advanced-memory{margin-top:24px;padding-top:18px}.advanced-memory>summary{display:flex;align-items:center;gap:6px;list-style:none;font-size:13px;color:var(--muted);cursor:pointer;padding:8px 0}.advanced-memory>summary::-webkit-details-marker{display:none}.advanced-chevron{display:inline-flex;transform:rotate(-90deg)}.advanced-memory[open]>summary{margin-bottom:16px}.advanced-memory[open]>summary .advanced-chevron{transform:rotate(0)}
.empty-photos .upload-tile{min-height:210px;width:100%;border-radius:12px}
.editor-fragment .fragment-fields{gap:0}.correction-notice{margin-top:18px}.create-tag{margin-top:22px}.create-tag>summary{cursor:pointer;margin-bottom:16px}.create-tag>p{font-size:12px;line-height:1.8;color:var(--muted)}
.archive-settings>h2{margin-bottom:18px}.archive-memory{padding:20px 0;border-bottom:1px solid var(--line,#dedede)}.archive-memory>p{margin:14px 0}.archive-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:12px 0}.archive-photos img{width:100%;height:150px;object-fit:cover;border-radius:8px}.archive-item{margin:12px 0;font-size:13px}
@media(max-width:700px){.empty-photos .upload-tile{min-height:190px}.brand{font-size:22px}}

.language-picker{position:relative;display:inline-flex;max-width:100%;color:var(--muted)}
.language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:none;color:inherit;font-size:12px;white-space:nowrap}
.language-trigger:hover:not(:disabled){background:#80808012}
.language-chevron{transition:transform .15s}
.language-trigger[aria-expanded=true] .language-chevron{transform:rotate(180deg)}
.language-dropdown{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:60;min-width:164px;padding:5px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #00000018}
.language-option{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;width:100%;padding:9px 12px;border:0;border-radius:6px;background:none;color:inherit;text-align:left;font-size:13px}
.language-option:hover,.language-option:focus-visible,.language-option[aria-checked=true]{background:var(--wash)}
.language-check{width:16px;text-align:center}
.sidebar-bottom>.language-picker{margin:10px 0 0 6px}
.sidebar-bottom .language-dropdown{left:0;transform:none}
.app-language-footer{display:none}
@media(min-width:721px) and (max-width:1200px){.sidebar-bottom>.language-picker{margin-left:0}.sidebar-bottom .language-current{display:none}.sidebar-bottom .language-trigger{gap:5px;padding:8px}}
@media(max-width:720px){.app-language-footer{display:flex;justify-content:center;padding:0 18px calc(76px + var(--safe-bottom))}.app-shell>.main-content{min-height:calc(100dvh - 120px - var(--safe-bottom));padding-bottom:32px}}
@media print{.language-picker,.app-language-footer{display:none!important}}
