:root{--bg: #f7f7f9;--surface: #ffffff;--surface-hover: #f0f0f3;--surface-2: #f0f0f3;--text: #1a1a1f;--text-sub: #56565f;--text-faint: #87878f;--border: #eaeaee;--border-strong: #dededf;--primary: #4f46e5;--primary-dark: #4338ca;--primary-soft: #f2f2fb;--accent: #4f46e5;--success: #15803d;--success-dark: #166534;--danger: #dc2626;--danger-dark: #b91c1c;--shadow-sm: 0 1px 2px rgba(20, 20, 28, .04);--shadow: 0 1px 3px rgba(20, 20, 28, .05), 0 8px 18px -8px rgba(20, 20, 28, .09);--shadow-md: 0 2px 6px rgba(20, 20, 28, .05), 0 14px 30px -12px rgba(20, 20, 28, .11);--shadow-lg: 0 8px 28px -10px rgba(20, 20, 28, .14), 0 24px 56px -20px rgba(20, 20, 28, .12);--radius-sm: 8px;--radius: 12px;--radius-lg: 16px;--nav-height: 60px;--header-height: 56px;--safe-bottom: env(safe-area-inset-bottom, 0px);--z-chrome: 20;--z-overlay-ui: 30;--z-modal: 40;--z-toast: 60;font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,Yu Gothic UI,system-ui,-apple-system,sans-serif;color:var(--text);font-feature-settings:"palt" 1;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior-y:none;font-size:16px;line-height:1.65;letter-spacing:.005em}button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,opacity .2s}input,textarea,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:4px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-shell{display:flex;height:100%;background:var(--bg)}.app-content{flex:1;min-width:0;display:flex;flex-direction:column}.app-main{flex:1;overflow-y:auto;position:relative;display:flex;flex-direction:column}.sidebar{display:flex;flex-direction:column;width:232px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:18px 12px;gap:18px}.sidebar-logo{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;letter-spacing:.02em;padding:4px 10px;border:none;background:none;color:inherit;cursor:pointer;border-radius:var(--radius);width:100%;text-align:left}.sidebar-logo:active span{color:var(--primary)}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--text-sub);text-align:left}.sidebar-item:hover{background:var(--surface-hover);color:var(--text)}.sidebar-item[aria-current=page]{background:var(--primary-soft);color:var(--primary)}.sidebar-badge{margin-left:auto;min-width:24px;text-align:center;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--border);color:var(--text-sub)}.sidebar-badge.warn{background:#fee2e2;color:var(--danger)}.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding-top:12px}.topbar{display:flex;align-items:center;gap:16px;min-height:64px;padding:10px 24px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;z-index:var(--z-chrome)}.topbar h1{font-size:19px;font-weight:800;letter-spacing:-.01em;margin-right:auto}.topbar-search{width:min(320px,38vw)}.topbar-create{display:inline-flex;align-items:center;gap:7px;min-height:44px}.app-header{display:flex;align-items:center;gap:8px;height:var(--header-height);padding:0 12px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;z-index:var(--z-chrome)}.app-header h1,.app-header-home{font-size:20px;font-weight:800;letter-spacing:.02em;margin-right:auto;display:flex;align-items:center;gap:8px}.app-header-home{border:none;background:none;color:inherit;cursor:pointer;padding:4px 0;border-radius:var(--radius)}.app-header-home:active .app-header-home-label{color:var(--primary)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--text-sub)}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.search-input{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text-faint);transition:border-color .2s,box-shadow .2s,background-color .2s}.search-input:focus-within{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px #4f46e524}.search-input input{flex:1;min-width:0;border:none;background:transparent;color:var(--text)}.search-input input:focus{outline:none}.search-input.grow{flex:1}.search-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface);border-bottom:1px solid var(--border)}.bottom-nav{display:flex;height:calc(var(--nav-height) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:var(--surface);border-top:1px solid var(--border);flex-shrink:0;z-index:var(--z-chrome)}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:600;color:var(--text-faint);min-height:44px}.bottom-nav button[aria-current=page]{color:var(--primary)}.folder-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;overflow-x:auto;scrollbar-width:none;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0}.folder-bar::-webkit-scrollbar{display:none}@media(min-width:768px){.folder-bar{padding:10px 24px}}.folder-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:17px;border:1px solid var(--border);background:var(--bg);font-size:13px;font-weight:600;color:var(--text-sub);white-space:nowrap;flex-shrink:0}.folder-chip:hover{border-color:var(--text-faint);color:var(--text)}.folder-chip[aria-pressed=true]{background:var(--text);border-color:var(--text);color:#fff}.folder-chip .chip-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.folder-manage-button{margin-left:auto;flex-shrink:0}.balloon-field-wrap{flex:1;position:relative;overflow-y:auto;background:linear-gradient(180deg,#fafafb,#f5f5f7)}.balloon-field{position:relative;width:100%}.balloon{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:50%;padding:10px;text-align:center;user-select:none;-webkit-user-select:none;touch-action:none;isolation:isolate;backface-visibility:hidden;will-change:transform;box-shadow:inset -5px -7px 12px #0000001c,inset 6px 7px 13px #ffffff52,0 8px 18px -6px #14141c29;cursor:grab}.balloon:active{cursor:grabbing}.balloon:before{content:"";position:absolute;top:11%;left:16%;width:34%;height:25%;border-radius:50%;background:radial-gradient(closest-side,#fff9,#fff0);transform:rotate(-22deg);pointer-events:none}.balloon:after{content:"";position:absolute;bottom:-6px;left:50%;transform:translate(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid var(--balloon-color, #64748b);pointer-events:none}.balloon-string{position:absolute;top:calc(100% + 3px);left:50%;width:18px;height:114px;transform:translate(-50%);overflow:visible;pointer-events:none}.balloon-string path{fill:none;stroke:#1a1a1f2e;stroke-width:1.3;stroke-linecap:round;opacity:.9}.balloon-title{font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;max-width:100%}.balloon-meta{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:100%;flex-shrink:0}.balloon-due{font-size:.82em;font-weight:600;opacity:.92}.balloon-overdue-label{font-weight:800;padding:1px 8px;border-radius:9px;background:#ffffffeb;color:var(--danger);white-space:nowrap;max-width:calc(100% - 4px);overflow:hidden;text-overflow:ellipsis;line-height:1.2;flex-shrink:0}.balloon-imminent-label{font-size:.72em;font-weight:800;padding:1px 8px;border-radius:9px;background:#ffffffeb;color:var(--danger);white-space:nowrap}.balloon-folder-tag{font-size:max(8px,.62em);font-weight:700;line-height:1;padding:2px 6px;border-radius:8px;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis;pointer-events:none;flex-shrink:0}@keyframes balloon-shake{0%,to{transform:translate(var(--tx),var(--ty)) rotate(0)}20%{transform:translate(var(--tx),var(--ty)) rotate(-2.4deg)}40%{transform:translate(var(--tx),var(--ty)) rotate(2.4deg)}60%{transform:translate(var(--tx),var(--ty)) rotate(-1.6deg)}80%{transform:translate(var(--tx),var(--ty)) rotate(1.6deg)}}.balloon.overdue{animation:balloon-shake .9s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.balloon.overdue{animation:none}}@keyframes balloon-urgent-pulse{0%,to{filter:brightness(1);box-shadow:inset -8px -10px 18px #0000002e,inset 8px 10px 18px #ffffff47,0 8px 20px #0f172a38,0 0 #dc262600}50%{filter:brightness(1.14);box-shadow:inset -8px -10px 18px #0000002e,inset 8px 10px 18px #ffffff47,0 8px 20px #0f172a38,0 0 16px 6px #dc262699}}.balloon.imminent{animation:balloon-urgent-pulse 1s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.balloon.imminent{animation:none;box-shadow:inset -8px -10px 18px #0000002e,inset 8px 10px 18px #ffffff47,0 8px 20px #0f172a38,0 0 14px 5px #dc26268c}}@keyframes balloon-pop{0%{transform:translate(var(--tx),var(--ty)) scale(1);opacity:1}35%{transform:translate(var(--tx),var(--ty)) scale(1.25);opacity:1}to{transform:translate(var(--tx),var(--ty)) scale(1.6);opacity:0}}.balloon.popping{animation:balloon-pop .4s ease-out forwards;pointer-events:none}.pop-shards{position:absolute;width:0;height:0;pointer-events:none;z-index:var(--z-overlay-ui)}@keyframes shard-fly{0%{transform:translate(0) scale(1);opacity:1}to{transform:translate(var(--sx),var(--sy)) scale(.4);opacity:0}}.pop-shard{position:absolute;width:10px;height:10px;margin:-5px;border-radius:3px 8px 6px;animation:shard-fly .45s ease-out forwards}.empty-state{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--text-faint);text-align:center;padding:24px;pointer-events:none}.empty-state .empty-icon{display:inline-flex;color:#c9c9d0}.first-task-hint{position:absolute;right:16px;bottom:96px;display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 12px;font-size:13px;color:var(--text-sub);box-shadow:var(--shadow);z-index:var(--z-overlay-ui);max-width:230px}@media(min-width:768px){.first-task-hint{bottom:auto;top:12px;right:24px}}.first-task-hint button{display:inline-flex;align-items:center;justify-content:center;color:var(--text-faint);padding:4px;min-width:24px;min-height:24px;border-radius:50%}.first-task-hint button:hover{background:var(--surface-hover);color:var(--text)}.fab{position:absolute;right:16px;bottom:20px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;box-shadow:0 6px 16px -4px #4f46e566,0 2px 6px #14141c1f;z-index:var(--z-overlay-ui)}.fab:hover{background:var(--primary-dark)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:var(--z-modal);display:flex;align-items:flex-end;justify-content:center;overflow-x:hidden}@media(min-width:600px){.modal-backdrop{align-items:center;padding:24px}}@keyframes sheet-up{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-sheet{background:var(--surface);width:100%;max-width:560px;max-height:calc(100% - 48px);border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden;overflow-x:hidden;animation:sheet-up .22s ease-out;padding-bottom:var(--safe-bottom);min-width:0}@media(min-width:600px){.modal-sheet{border-radius:20px;max-height:100%;box-shadow:var(--shadow-lg)}}@media(prefers-reduced-motion:reduce){.modal-sheet{animation:none}}.modal-header{display:flex;align-items:center;gap:8px;padding:16px 18px 12px;border-bottom:1px solid var(--border);flex-shrink:0}.modal-header h2{font-size:17px;font-weight:700;margin-right:auto}.modal-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-body{flex:1;min-height:0;padding:10px 16px 16px;display:flex;flex-direction:column;gap:16px;min-width:0}.field-group{display:flex;flex-direction:column;gap:6px}.field-group label{font-size:13px;font-weight:700;color:var(--text-sub)}.field-group .required{color:var(--danger);margin-left:2px}.field-group input[type=text],.field-group input[type=datetime-local],.field-group textarea,.field-group select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);transition:border-color .2s,box-shadow .2s}.field-group input:focus,.field-group textarea:focus,.field-group select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #4f46e524}.field-group textarea{resize:vertical;min-height:88px}.field-error{font-size:12px;color:var(--danger);font-weight:600;white-space:pre-line;line-height:1.6}.field-counter{font-size:11px;color:var(--text-faint);text-align:right}.segmented{display:flex;gap:6px}.segmented button{flex:1;min-height:44px;border:1px solid var(--border);border-radius:10px;font-size:13px;font-weight:600;color:var(--text-sub);background:var(--surface)}.segmented button:hover{border-color:var(--text-faint)}.segmented button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:#fff}.task-color-swatches{display:flex;flex-direction:column;gap:6px}.color-swatches-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}@media(max-width:599px){.task-color-swatches{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.task-color-swatches .color-swatch-default{font-size:10px}}.task-color-swatches .color-swatch{width:100%;height:auto;aspect-ratio:1;min-height:unset;border-radius:8px;border:2px solid var(--border);padding:0;cursor:pointer;position:relative}.task-color-swatches .color-swatch:hover:not(:disabled){transform:scale(1.08)}.task-color-swatches .color-swatch.is-selected{border-color:var(--text);box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--text)}.task-color-swatches .color-swatch.is-selected:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:8px;height:8px;border-radius:50%;background:#ffffffe6}.task-color-swatches .color-swatch-default{width:100%;height:auto;aspect-ratio:1;min-width:unset;border-radius:8px;background:var(--surface);color:var(--text-sub);font-size:8px;font-weight:700;line-height:1;border:1px solid rgba(15,23,42,.28)}.task-color-swatches .color-swatch-default.is-selected:after{content:none}.task-color-swatches.is-disabled{pointer-events:none}.task-color-swatches.is-disabled .color-swatch:after{content:"✕";position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;width:auto;height:auto;margin:0;border-radius:0;background:transparent;font-size:14px;font-weight:700;line-height:1;color:#6b7280;text-shadow:0 0 2px rgba(255,255,255,.85)}.task-color-swatches.is-disabled .color-swatch-default{color:var(--text-sub)}.task-color-swatches .color-swatch:disabled{cursor:not-allowed}.button-primary{min-height:48px;border-radius:12px;background:var(--primary);color:#fff;font-weight:700;font-size:15px;padding:0 18px}.button-primary:hover{background:var(--primary-dark)}.button-primary:disabled{opacity:.5;cursor:not-allowed}.button-primary.with-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px}.button-complete{min-height:52px;border-radius:12px;background:var(--success);color:#fff;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px}.button-complete:hover{background:var(--success-dark)}.button-secondary{min-height:44px;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-weight:600;padding:0 16px}.button-secondary:hover{background:var(--surface-hover)}.task-detail-delete{display:flex;justify-content:center;padding:0 16px 12px}.button-text-danger{min-height:44px;color:var(--text-faint);font-size:13px;text-decoration:underline}.button-text-danger:hover{color:var(--danger)}.button-danger{min-height:44px;border-radius:12px;background:var(--danger);color:#fff;font-weight:700;padding:0 16px}.button-danger:hover{background:var(--danger-dark)}.card-list{display:grid;grid-template-columns:1fr;gap:10px;padding:14px;align-content:start}@media(min-width:768px){.card-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;padding:20px 24px}}.history-card{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;box-shadow:var(--shadow-sm);text-align:left;transition:box-shadow .2s,border-color .2s}.history-card:hover{box-shadow:var(--shadow);border-color:var(--border-strong)}.history-card .card-color{width:6px;align-self:stretch;border-radius:3px;flex-shrink:0}.history-card .card-main{flex:1;min-width:0}.history-card .card-title{font-weight:700;font-size:15px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}.history-card .card-sub{font-size:12px;color:var(--text-faint);margin-top:4px;display:flex;flex-wrap:wrap;gap:4px 10px}.history-card .card-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.card-action{min-height:38px;padding:0 12px;border-radius:10px;border:1px solid var(--border);font-size:12px;font-weight:700;color:var(--primary);white-space:nowrap}.card-action:hover{background:var(--primary-soft);border-color:var(--primary)}.card-action.danger{color:var(--danger)}.card-action.danger:hover{background:#fef2f2;border-color:var(--danger)}.toast{position:fixed;left:50%;bottom:calc(var(--nav-height) + var(--safe-bottom) + 16px);transform:translate(-50%);display:flex;align-items:center;gap:14px;background:#18181ef5;color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;z-index:var(--z-toast);box-shadow:var(--shadow-lg);max-width:calc(100% - 32px)}@media(min-width:768px){.toast{bottom:24px}}.toast button{color:#b3aef6;font-weight:800;white-space:nowrap;min-height:32px}.toast button:hover{color:#cdc9fb}.toast.error{background:var(--danger)}.folder-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.folder-row .folder-name{flex:1;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-color-swatches{display:flex;flex-direction:column;gap:6px}.folder-color-swatches .color-swatches-row{display:grid;grid-template-columns:repeat(7,28px);gap:6px;justify-content:start}.folder-color-swatches .color-swatch{width:28px;height:28px;min-height:unset;aspect-ratio:unset;border-radius:8px;border:2px solid transparent;display:flex;align-items:center;justify-content:center;color:#fff;padding:0;cursor:pointer}.folder-color-swatches .color-swatch:hover{border-color:var(--border-strong)}.folder-color-swatches .color-swatch[aria-pressed=true]{border-color:var(--text)}.settings-screen{padding:16px;display:flex;flex-direction:column;gap:20px;overflow-y:auto;width:100%;max-width:760px}@media(min-width:768px){.settings-screen{padding:24px;margin:0 auto}}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:var(--shadow-sm)}@media(min-width:768px){.settings-section{padding:20px}}.settings-section h3{font-size:15px;font-weight:800}.settings-section p{font-size:13px;color:var(--text-sub);line-height:1.7}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.settings-about-version{display:flex;flex-direction:column;align-items:center;gap:4px}.settings-about-version .settings-row{width:100%}.button-check-update{background:none;border:none;color:var(--text-faint);font-size:12px;font-weight:500;padding:2px 8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-align:center}.button-check-update:hover:not(:disabled){color:var(--text-sub)}.button-check-update:disabled{opacity:.65;cursor:wait}.permission-badge{font-size:12px;font-weight:700;padding:4px 10px;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.permission-badge.granted{color:var(--success)}.permission-badge.denied{color:var(--danger)}.notification-points{font-size:13px;color:var(--text-sub);display:flex;flex-wrap:wrap;gap:6px}.notification-points span{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:3px 8px}.confirm-box{padding:20px 16px;display:flex;flex-direction:column;gap:14px}.confirm-box p{font-size:14px;line-height:1.7}.confirm-actions{display:flex;gap:10px;justify-content:flex-end}.auth-loading{min-height:100dvh;display:grid;place-items:center;color:var(--text-sub);font-size:15px}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px 16px;background:var(--bg)}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:32px 28px;display:flex;flex-direction:column;gap:20px}.auth-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.auth-brand h1{font-size:28px;font-weight:900}.auth-brand p{font-size:13px;color:var(--text-sub);line-height:1.6}.auth-form h2{font-size:18px;font-weight:800;margin-bottom:4px}.auth-submit{width:100%;margin-top:4px}.auth-info{font-size:13px;color:var(--success)}.auth-local-hint{font-size:13px;color:var(--text-sub);line-height:1.6;padding:10px 12px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius)}.auth-link-prompt{display:flex;flex-direction:column;gap:12px;padding:12px;background:color-mix(in srgb,var(--accent, #4a90d9) 8%,var(--bg));border:1px solid color-mix(in srgb,var(--accent, #4a90d9) 30%,var(--border));border-radius:var(--radius)}.auth-link-prompt p{margin:0;font-size:13px;color:var(--text);line-height:1.7}.auth-link-cancel{align-self:center}.auth-links{display:flex;flex-direction:column;gap:8px;align-items:center}.auth-links button{background:none;border:none;color:var(--primary);font-size:13px;font-weight:600;cursor:pointer;padding:4px 8px}.auth-links button:hover{text-decoration:underline}.account-email{font-size:13px;color:var(--text-sub);word-break:break-all;text-align:right}.account-name-input{max-width:180px;font-size:13px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text)}.settings-account-actions{display:flex;flex-wrap:wrap;gap:8px}.account-name-prompt{display:flex;flex-direction:column;gap:12px;padding:12px 24px 28px}.account-name-prompt p{margin:0;font-size:13px;color:var(--text-sub);line-height:1.7}.account-name-prompt-actions{display:flex;flex-direction:column;gap:8px}.linked-providers{display:flex;flex-direction:column;gap:12px}.linked-providers-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.linked-providers-item{display:flex;align-items:center;gap:10px;font-size:14px}.linked-providers-status{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--surface-2, rgba(0, 0, 0, .06));color:var(--text-sub);flex-shrink:0}.linked-providers-status.linked{background:color-mix(in srgb,var(--accent, #4a90d9) 18%,transparent);color:var(--accent, #4a90d9)}.linked-providers-link{margin-left:auto;flex-shrink:0;font-size:12px;padding:4px 10px}.migration-dialog .migration-actions{display:flex;flex-direction:column;gap:10px}.button-ghost{background:none;border:none;color:var(--text-sub);font-size:13px;padding:8px;cursor:pointer}.button-ghost:hover{color:var(--text)}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--text-sub);font-size:12px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.button-google{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:14px;font-weight:600;cursor:pointer}.button-google:hover:not(:disabled){background:var(--bg)}.button-google:disabled{opacity:.6;cursor:not-allowed}.auth-oauth-buttons{display:flex;flex-direction:column;gap:10px}.button-oauth{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:14px;font-weight:600;cursor:pointer}.button-oauth:hover:not(:disabled){background:var(--bg)}.button-oauth:disabled{opacity:.6;cursor:not-allowed}
