/* Shared utility surfaces: native Mac mirrors these spacing/type/color roles. */
.utility-brand{font:600 28px Georgia,"Songti SC",serif;color:var(--ink)}.utility-brand b{color:var(--accent)}
.sheet[data-sheet=settings],.sheet[data-sheet=reminders]{width:min(620px,calc(100vw - 32px));max-height:min(680px,calc(100dvh - 48px));background:var(--surface)}
.sheet[data-sheet=settings] .sheet-heading,.sheet[data-sheet=reminders] .sheet-heading,.today-guide-choice .sheet-heading{padding:24px;align-items:flex-start}
.sheet-heading .utility-brand+h2{font:600 25px/1.4 "Songti SC",serif;margin:8px 0 0;color:var(--ink)}
.utility-close{width:40px;height:40px;border:0!important;background:var(--canvas)!important;border-radius:12px;flex:none}
.settings-section{display:grid;gap:12px;margin:0 0 26px}.settings-section:last-child{margin-bottom:0}.settings-section h3{margin:0;font-size:16px;color:var(--ink)}.settings-section .help{margin:0}.settings-section .field{margin:0}.settings-section button,.settings-section .import-button{min-height:48px}.settings-link{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sheet[data-sheet=settings] .sheet-body,.sheet[data-sheet=reminders] .sheet-body{padding:24px}.sheet[data-sheet=settings] .sheet-footer-actions{padding:24px}
.today-guide-choice{width:min(560px,calc(100vw - 24px));background:var(--surface)}.today-guide-choice .sheet-body{padding:24px}.today-guide-choice h3{font:600 30px/1.4 "Songti SC",serif;margin:0 0 18px}.today-guide-choice .help{line-height:1.9}.today-guide-topics{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted);margin-top:18px}.today-guide-choice .sheet-footer-actions{display:grid;gap:12px;padding:24px}.today-guide-choice button.full{min-height:48px}
.welcome-skip{display:block!important;margin:10px auto 0}.drawer-heading [data-action=close-drawer]{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
@media(max-width:759px){.sheet[data-sheet=settings],.sheet[data-sheet=reminders]{width:100%;max-height:calc(100dvh - var(--top) - 24px)}}

.settings-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-tile{display:flex;gap:14px;align-items:center;text-align:left;padding:24px 18px;border:1.5px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 6px 18px #53422e08;min-height:116px}.settings-tile>svg:first-child{color:var(--accent);width:24px;flex:none}.settings-tile>svg:last-child{margin-left:auto;width:14px;color:var(--muted)}.settings-tile strong,.settings-tile small{display:block}.settings-tile strong{font-size:16px}.settings-tile small{font-size:12px;color:var(--muted);margin-top:8px}.settings-back{margin-bottom:18px}.settings-tile:hover{border-color:var(--accent)}.settings-status strong{font-size:13px;overflow-wrap:anywhere;max-width:70%;text-align:right}.welcome-skip{min-height:48px!important;min-width:144px!important;cursor:pointer}body.reordering{user-select:none;-webkit-user-select:none;cursor:grabbing}.card{-webkit-touch-callout:none}
@media(max-width:759px){.settings-home-grid{grid-template-columns:1fr}.settings-tile{min-height:88px;padding:20px}.drawer-heading [data-action=close-drawer]{display:none!important}body[data-account-entry=true] .account-shell{height:min(100%,var(--account-visible-height,100%));padding-bottom:0}body[data-account-entry=true] #account-root[data-keyboard=true] .account-shell{padding-bottom:0}body[data-account-entry=true] .account-entry{scroll-padding-bottom:16px}}
.feedback-entry{margin-top:auto;border:0;background:none;color:var(--muted);padding:16px 12px;text-align:left;font-size:11px;line-height:1.6;cursor:pointer}.backup-difference{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 0}.backup-difference>div{display:flex;flex-direction:column;gap:6px}.backup-difference strong{font:30px Georgia,serif}.backup-difference span{font-size:12px;color:var(--muted)}.sync-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.sync-row>span:first-child{font-weight:600}.sync-row>span:last-child{color:var(--muted);text-align:right}.sync-toggle{min-width:74px;min-height:38px;border-radius:22px;border:1px solid var(--line);background:var(--surface);color:var(--muted)}.sync-toggle[aria-pressed=true]{background:var(--accent);color:var(--surface)}[data-manual-restore]{margin-top:12px}@media(max-width:700px){.feedback-entry{position:static;font-size:10px;padding:10px 6px;max-width:100px}.sync-row{font-size:13px;gap:10px}}

.feedback-settings{display:none}@media(max-width:700px){.feedback-entry{display:none}.feedback-settings{display:block;text-align:left;margin-top:20px;font-size:12px}}

/* A separate follower never participates in card layout. */
.today-drag-placeholder{opacity:0!important;pointer-events:none!important}
.today-drag-float{z-index:10000!important;display:block!important;pointer-events:none!important;will-change:transform;transform-origin:center;filter:drop-shadow(0 10px 14px #473d2826)}
.today-drag-float>.card{width:100%;height:100%;margin:0;transform:none!important}
.today-drag-float .card-rotator{height:100%}
body.reordering,body.reordering *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
.card-front{-webkit-user-select:none;user-select:none}
.drag-announcement{position:fixed;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.feedback-entry{font-size:13px!important;line-height:1.8!important}
.feedback-entry span,.feedback-mobile span{color:var(--accent);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.feedback-mobile{display:none}
@media(max-width:759px){.feedback-mobile{display:block;width:100%;border:0;background:transparent;text-align:center;color:var(--muted);font-family:inherit;font-size:13px;line-height:1.8;padding:18px 0 12px}.feedback-entry{display:none!important}}
@media(prefers-reduced-motion:reduce){.today-drag-float{filter:none}.reordering .card{animation:none!important;transition:none!important}}

#feedback-message:empty{display:none}

/* Compact, explicit hierarchy for settings and feedback. */
.feedback-entry .feedback-thanks,.feedback-entry .feedback-invite,.feedback-mobile .feedback-thanks,.feedback-mobile .feedback-invite{display:block;color:var(--muted);font-weight:400;text-decoration:none;white-space:nowrap}
.feedback-entry b,.feedback-mobile b{color:var(--accent);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.today-guide-choice .sheet-heading h2{font-size:clamp(17px,5vw,22px);line-height:1.4;white-space:nowrap}
.today-guide-choice .sheet-footer-actions{background:transparent;border-top:0;box-shadow:none;margin:0;padding-top:8px}
.sheet[data-sheet=settings] .sheet-heading h2{margin:0;font:600 25px/1.4 "Songti SC",serif}
.welcome-import-note{font-size:12px;line-height:1.7;color:var(--muted);max-width:380px;margin:4px auto 0;text-align:center}
.cancel-setup-created{color:var(--accent);grid-column:1/-1}
.account-settings-back{display:flex;align-items:center;gap:6px;justify-content:flex-start}

.feedback-entry,.feedback-mobile{font-family:"Songti SC","STSong","Iowan Old Style",serif;font-weight:400}
.sheet[data-sheet=settings][data-settings-landing=true]{height:auto;min-height:0;padding-bottom:0}
.sheet[data-sheet=settings][data-settings-landing=true] .sheet-body{flex:0 1 auto;padding-bottom:24px}
.sheet[data-sheet=settings] .sheet-footer-actions:empty{display:none}
