/* Personal-flow refinements. Existing 12KM tokens, no crew/motion selectors. */
#sheet.auth-sheet{inset:50% auto auto 50%;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border-radius:24px;transform:translate(-50%,-50%);overflow:auto;scroll-padding:20px}
#sheet.auth-sheet .handle{display:none}
#sheet.auth-sheet .sheet-head{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:0;border:0}
#sheet.auth-sheet .sheet-head h2{flex:1;min-width:0;font-size:22px;line-height:1.4;margin:0;letter-spacing:-.035em;word-break:keep-all}
#sheet.auth-sheet .close{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;font-size:24px}
#sheet.auth-sheet .account-login{width:100%;max-width:none;min-height:0;margin:0;padding:0;display:block;border:0;border-radius:0;box-shadow:none;background:transparent}
#sheet.auth-sheet .login-brand{margin:0 0 20px;text-align:left;align-items:flex-start}
#sheet.auth-sheet .login-brand strong{font-size:36px;line-height:1.1}
#sheet.auth-sheet .login-brand span{font-size:12px;margin-top:4px;letter-spacing:.08em}
#sheet.auth-sheet .auth-switch{margin:0 0 16px;padding:4px}
#sheet.auth-sheet .auth-switch button{min-height:44px;font-size:15px}
#sheet.auth-sheet .email-auth{gap:14px;margin:0}
#sheet.auth-sheet .email-auth label{font-size:14px;line-height:1.5}
#sheet.auth-sheet .email-auth input:not([type=checkbox]){height:48px;min-height:48px;margin-top:6px;font-size:16px}
#sheet.auth-sheet .auth-remember{margin:0;min-height:44px}
#sheet.auth-sheet .email-auth-submit{height:48px;min-height:48px;margin:0;font-size:16px}
#sheet.auth-sheet .auth-error{margin:0;min-height:20px;font-size:14px}
#sheet.auth-sheet .login-terms{font-size:12px;line-height:1.5;margin:12px 0 0;word-break:keep-all}
.today-main .task-popover{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible;white-space:normal;margin:8px 0 0;padding:10px;border-radius:16px}
.today-main .task-popover button{width:auto;min-width:0;min-height:60px;padding:8px 4px;gap:3px;font-size:14px;white-space:normal;border-radius:10px}
.today-main .task-popover button small{max-width:100%;font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.today-main .task-popover button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}
.today-main .task-menu{margin-right:0;align-self:start;min-width:44px;min-height:44px}
.today-main .task{grid-template-columns:30px minmax(0,1fr) 44px;gap:8px}
.today-main .property-editor{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:8px 0 0;padding:12px;align-items:center;border-radius:14px}
.today-main .property-editor label{grid-column:1/-1;margin:0;font-size:14px}
.today-main .property-editor :is(input,select){width:100%;min-width:0;min-height:44px;height:44px;margin:0;font-size:16px;border-radius:10px;padding:8px 12px}
.today-main .property-editor select{appearance:none;padding-right:36px;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='%235e7292' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px}
.today-main .property-editor[data-field=duration]{grid-template-columns:minmax(0,220px) auto;justify-content:start}
.today-main .property-editor .property-close{font-size:14px;min-height:44px;height:44px;min-width:70px;padding:8px 12px;border-radius:10px;gap:6px}
.today-main .task-title{overflow-wrap:anywhere}
.today-main .today-overview{margin:24px 0 0}
.today-main .suggestions{margin:24px 0}
.today-main .suggestion{grid-template-columns:minmax(0,1fr) auto 44px;gap:8px}
.today-main .suggestion>button{min-width:44px;min-height:44px;width:auto;white-space:normal;padding:6px 10px;font-size:14px}
.hidden-suggestions{font-size:14px;margin-top:12px}
.hidden-suggestions summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.hidden-suggestions>div{display:flex;gap:12px;align-items:center;justify-content:space-between}
.hidden-suggestions button{min-height:44px;flex-shrink:0;border:0;border-radius:10px;color:var(--accent);background:var(--accent-soft);padding:8px}
.personal-save-status{position:fixed;bottom:16px;right:16px;z-index:31;max-width:calc(100vw - 32px);background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:8px 12px;font-size:13px;color:var(--muted);box-shadow:0 4px 20px #20396112}
.personal-save-status[hidden]{display:none}
#app:has(.crew-content) .personal-save-status{display:none}
@media(max-width:600px){
 #sheet.auth-sheet{inset:auto 0 0;width:100%;max-height:calc(100dvh - 16px);padding:16px 20px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;transform:none}
 #sheet.auth-sheet .handle{display:block;margin:0 auto 16px;width:40px;height:4px}
 #sheet.auth-sheet .sheet-head h2{font-size:20px}
 #sheet.auth-sheet .login-brand{margin-bottom:14px}
 .today-main .task-popover{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}
 .today-main .property-editor[data-field=duration]{grid-template-columns:minmax(0,1fr) auto}
 .today-main .suggestion{grid-template-columns:minmax(0,1fr) 44px}
 .today-main .suggestion>div{grid-column:1/-1}
 .today-main .suggestion>button[data-action=accept-suggestion]{justify-self:start}
 .personal-save-status{bottom:calc(88px + env(safe-area-inset-bottom));font-size:12px}
}
