@charset "UTF-8";:root,[data-theme=light]{--bg: #f8f8f8;--bg-secondary: #ffffff;--bg-tertiary: #f1f1f1;--text: #111111;--text-secondary: #555555;--text-muted: #999999;--border: #e4e4e4;--border-hover: #c8c8d8;--sidebar-w: 220px;--sidebar-bg: #ededed;--sidebar-text: #555555;--sidebar-text-hi: #111111;--sidebar-text-lo: #999999;--sidebar-divider: #e4e4e4;--sidebar-hover-bg: rgba(0,0,0,.04);--sidebar-active-bg: color-mix(in srgb, var(--hint) 10%, transparent);--sidebar-active-text: var(--hint);--sidebar-badge-bg: rgba(0,0,0,.05);--sidebar-badge-text: #999999;--sidebar-new-border: #d0d0d0;--sidebar-scroll: rgba(0,0,0,.08);--surface-dark: #181818;--hint: #6366f1;--hint-light: #6366f122;--error: #ef4444;--error-bg: rgba(239,68,68,.08);--success: #22c55e;--success-bg: rgba(34,197,94,.08);--radius: 12px;--radius-sm: 8px;--t: .15s ease;--shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);--shadow-md: 0 8px 24px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.04)}[data-theme=dark]{--bg: #181818;--bg-secondary: #111111;--bg-tertiary: #222222;--text: #f0f0f0;--text-secondary: #999999;--text-muted: #555555;--border: #2a2a2a;--border-hover: #3a3a3a;--sidebar-bg: #1e1e1e;--sidebar-text: rgba(255,255,255,.55);--sidebar-text-hi: rgba(255,255,255,.9);--sidebar-text-lo: rgba(255,255,255,.25);--sidebar-divider: rgba(255,255,255,.06);--sidebar-hover-bg: rgba(255,255,255,.08);--sidebar-active-bg: rgba(255,255,255,.1);--sidebar-active-text: rgba(255,255,255,.95);--sidebar-badge-bg: rgba(255,255,255,.07);--sidebar-badge-text: rgba(255,255,255,.3);--sidebar-new-border: rgba(255,255,255,.15);--sidebar-scroll: rgba(255,255,255,.1);--surface-dark: #0e0e0e;--shadow: 0 2px 8px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.04);--shadow-md: 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh}a{color:inherit;text-decoration:none}button{font-family:inherit}ul{list-style:none;padding:0}p{margin:0}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-full{width:100%}.hidden{display:none!important}.accent{color:var(--hint)}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--radius-sm);font-size:14px;font-weight:500;cursor:pointer;border:1.5px solid transparent;transition:background var(--t),color var(--t),border-color var(--t),opacity var(--t);white-space:nowrap;line-height:1.4}.btn:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.btn-primary{background:var(--hint);color:#fff;border-color:var(--hint)}.btn-primary:hover{filter:brightness(1.1)}.btn-outline{background:transparent;color:var(--text);border-color:var(--border)}.btn-outline:hover{background:var(--bg-tertiary);border-color:var(--border-hover)}.btn-ghost{background:transparent;color:var(--text-secondary);border-color:transparent}.btn-ghost:hover{background:var(--bg-tertiary);color:var(--text)}.btn-danger{background:var(--error);color:#fff;border-color:var(--error)}.btn-danger:hover{filter:brightness(1.1)}.btn-sm{padding:5px 12px;font-size:13px}.btn-lg{padding:12px 24px;font-size:15px}.btn-icon{padding:6px;width:32px;height:32px;justify-content:center}.spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.form-group{margin-bottom:20px}.form-label{display:block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary);margin-bottom:6px}.form-control{display:block;width:100%;padding:10px 14px;background:var(--bg-secondary);border:1.5px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-size:14px;font-family:inherit;transition:border-color var(--t),box-shadow var(--t);outline:none}.form-control:focus{border-color:var(--hint);box-shadow:0 0 0 3px var(--hint-light)}.form-control::placeholder{color:var(--text-muted)}.form-control:disabled{opacity:.6;cursor:not-allowed}textarea.form-control{line-height:1.6}.form-hint{font-size:12px;color:var(--text-muted);margin-top:5px;line-height:1.5}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.badge-primary{background:var(--hint-light);color:var(--hint)}.badge-outline{border:1.5px solid var(--border);color:var(--text-secondary);background:transparent}.tab-switch{display:inline-flex;background:var(--bg-tertiary);border-radius:var(--radius-sm);padding:3px;gap:2px}.tab-btn{padding:6px 14px;border:none;background:transparent;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:background var(--t),color var(--t)}.tab-btn.active{background:var(--bg-secondary);color:var(--text);box-shadow:var(--shadow)}.modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .15s ease}.modal{background:var(--bg-secondary);border-radius:var(--radius);box-shadow:var(--shadow-md);width:100%;max-width:520px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;margin:16px;animation:scaleIn .15s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid var(--border)}.modal-title{font-size:16px;font-weight:600}.modal-body{padding:20px 24px;overflow-y:auto;flex:1;min-height:0}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 24px 20px;border-top:1px solid var(--border)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.toast-container{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:8px;max-width:360px}.toast{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--bg-secondary);box-shadow:var(--shadow-md);border:1px solid var(--border);font-size:14px;animation:slideUp .2s ease}.toast-success{border-left:3px solid var(--success)}.toast-error{border-left:3px solid var(--error)}.toast-info{border-left:3px solid var(--hint)}.toast-message{flex:1;line-height:1.4}.toast-close{background:none;border:none;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;flex-shrink:0;padding:2px;border-radius:4px;transition:color var(--t)}.toast-close:hover{color:var(--text)}@keyframes slideUp{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.skeleton{background:linear-gradient(90deg,var(--bg-tertiary) 25%,var(--border) 50%,var(--bg-tertiary) 75%);background-size:200% 100%;animation:shimmer 1.4s ease-in-out infinite;border-radius:var(--radius-sm)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}app-sidebar{display:contents}.app-layout{display:flex;height:100vh;overflow:hidden}.app-main{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}.app-header{display:flex;align-items:center;justify-content:space-between;padding:6px 28px 4px;min-height:56px;border-bottom:1px solid var(--border);flex-shrink:0}.app-header-title{font-size:20px;font-weight:700;letter-spacing:-.02em}.app-header-subtitle{font-size:13px;color:var(--text-muted)}.app-header-actions{display:flex;align-items:center;gap:8px}.app-header-owner{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--text-muted);margin-top:3px}.sidebar{width:var(--sidebar-w);background:var(--sidebar-bg);display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;box-shadow:1px 0 0 0 var(--sidebar-divider)}.sidebar-header{padding:16px 14px 8px}.sidebar-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--sidebar-text-hi);text-decoration:none}.logo-mark{width:32px;height:32px;background:var(--hint);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.sidebar-section{padding:10px 10px 4px}.sidebar-section-title{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sidebar-text-lo);padding:0 6px 4px}.sidebar-item{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--sidebar-text);cursor:pointer;transition:background var(--t),color var(--t);text-decoration:none}.sidebar-item:hover{background:var(--sidebar-hover-bg);color:var(--sidebar-text-hi)}.sidebar-item.active{background:var(--sidebar-active-bg);color:var(--sidebar-active-text)}.sidebar-item-icon{width:16px;height:16px;flex-shrink:0;color:var(--sidebar-text-lo);transition:opacity var(--t)}.sidebar-item-icon.colored,.sidebar-item:hover .sidebar-item-icon,.sidebar-item.active .sidebar-item-icon{opacity:1}.sidebar-item-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item-count{font-size:11px;font-weight:600;color:var(--sidebar-badge-text);background:var(--sidebar-badge-bg);border-radius:10px;padding:1px 6px;min-width:20px;text-align:center}.sidebar-boards-wrapper{flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--sidebar-scroll) transparent}.sidebar-boards{padding:0 10px}.sidebar-group-header{display:flex;align-items:center;gap:4px;padding:6px 10px 2px;cursor:pointer;-webkit-user-select:none;user-select:none}.sidebar-group-chevron{width:14px;height:14px;flex-shrink:0;opacity:.5;transition:transform .15s ease}.sidebar-group-chevron.collapsed{transform:rotate(-90deg)}.sidebar-group-chevron.small{width:12px;height:12px}.sidebar-group-name{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sidebar-text-lo);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-group-count{font-size:10px;font-weight:600;color:var(--sidebar-badge-text);background:var(--sidebar-badge-bg);border-radius:10px;padding:0 5px;min-width:16px;text-align:center;flex-shrink:0}.sidebar-color-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.sidebar-shared-icon{flex-shrink:0;opacity:.4}.sidebar-item-star{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:transparent;color:var(--sidebar-text-lo);cursor:pointer;flex-shrink:0;opacity:0;transition:opacity .15s ease,color .15s ease;padding:0;border-radius:4px}.sidebar-item:hover .sidebar-item-star{opacity:1}.sidebar-item-star.active{opacity:1;color:#f59e0b}.sidebar-item-star:hover{background:var(--sidebar-hover-bg)}.sidebar-icon-btn{display:flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;cursor:pointer;flex-shrink:0;border-radius:4px;transition:background .1s ease}.sidebar-icon-btn:hover{background:var(--sidebar-hover-bg, rgba(0, 0, 0, .06))}.sidebar-color-picker{position:fixed;background:var(--card-bg, var(--bg-secondary));border:1px solid var(--border);border-radius:var(--radius, 8px);padding:6px;box-shadow:0 8px 24px #00000026;z-index:2000}.ctx-color-row{display:flex;align-items:center;gap:4px;padding:6px 8px;flex-wrap:wrap}.ctx-color-swatch{width:20px;height:20px;border-radius:50%;border:2px solid transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .1s ease,border-color .1s ease;padding:0}.ctx-color-swatch:hover{transform:scale(1.15)}.ctx-color-swatch.selected{border-color:var(--sidebar-text-hi)}.ctx-color-clear{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--sidebar-text-lo);background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sidebar-text-lo);padding:0;transition:border-color .1s ease,color .1s ease}.ctx-color-clear:hover{border-color:var(--sidebar-text);color:var(--sidebar-text)}.sidebar-new-board{display:flex;align-items:center;gap:8px;width:calc(100% - 20px);margin:8px 10px;padding:8px 12px;border-radius:var(--radius-sm);border:1.5px dashed var(--sidebar-new-border);background:transparent;color:var(--sidebar-text-lo);font-size:13px;font-weight:500;cursor:pointer;transition:border-color var(--t),color var(--t),background var(--t)}.sidebar-new-board:hover{border-color:var(--sidebar-text-lo);color:var(--sidebar-text);background:var(--sidebar-hover-bg)}.sidebar-footer{border-top:1px solid var(--sidebar-divider);padding:12px 10px;margin-top:auto}.sidebar-user{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-sm)}.sidebar-avatar{width:32px;height:32px;border-radius:var(--radius-sm);background:var(--hint);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:#fff;flex-shrink:0}.sidebar-user-profile{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer;border-radius:var(--radius-sm);transition:opacity var(--t)}.sidebar-user-name{font-size:13px;font-weight:600;color:var(--sidebar-text-hi)}.sidebar-user-plan{font-size:11px;color:var(--sidebar-text-lo);cursor:pointer;transition:color var(--t)}.sidebar-user-plan:hover{color:var(--sidebar-text)}.sidebar-user-info{flex:1;min-width:0}.sidebar-upgrade-wrapper{padding:4px 10px 0;border-top:1px dashed var(--sidebar-divider)}.sidebar-upgrade{color:var(--sidebar-text-lo)!important;font-size:12px;margin-bottom:3px}.sidebar-upgrade .sidebar-item-label{flex:1}.sidebar-upgrade .sidebar-item-icon{color:var(--sidebar-text-lo);width:14px;height:14px}.sidebar-upgrade:hover{color:var(--sidebar-text)!important}.sidebar-upgrade:hover .sidebar-item-icon{color:var(--sidebar-text)}.sidebar-logout-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-sm);border:none;background:transparent;color:var(--sidebar-text-lo);cursor:pointer;flex-shrink:0;transition:background var(--t),color var(--t)}.sidebar-logout-btn:hover{background:#ef444426;color:#f87171}.dashboard-content{flex:1;overflow-y:auto;padding:24px 28px 28px}.board-tabs{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);margin-bottom:24px}.board-tabs-left{display:flex;align-items:center;gap:2px}.board-tab{display:flex;align-items:center;gap:7px;padding:9px 14px;border:none;background:transparent;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:var(--radius-sm) var(--radius-sm) 0 0;transition:color var(--t),border-color var(--t),background var(--t)}.board-tab:hover{background:var(--bg-tertiary);color:var(--text)}.board-tab.active{color:var(--hint);border-bottom-color:var(--hint)}.board-tab-icon{display:flex;align-items:center}.board-tab-count{font-size:11px;font-weight:600;background:var(--bg-tertiary);color:var(--text-muted);border-radius:10px;padding:1px 6px;min-width:18px;text-align:center}.board-tab.active .board-tab-count{background:var(--hint-light);color:var(--hint)}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.board-card{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--t),border-color var(--t),transform var(--t);cursor:pointer}.board-card:hover{box-shadow:var(--shadow-md);border-color:var(--border-hover);transform:translateY(-2px)}.board-card-strip{height:4px;background:var(--sidebar-text);flex-shrink:0;opacity:.65;transition:opacity var(--t)}.board-card:hover .board-card-strip{opacity:1}.board-card-body{flex:1;padding:18px 18px 14px;display:flex;flex-direction:column}.board-card-icon{width:38px;height:38px;border-radius:10px;background:var(--hint-light);color:var(--hint);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;margin-bottom:12px;flex-shrink:0}.board-card-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.board-card-name-row .board-card-name{margin-bottom:0}.board-card-name{font-size:14px;font-weight:600;margin-bottom:4px}.board-card-desc{font-size:12px;color:var(--text-secondary);line-height:1.5;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.board-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:11px;border-top:1px solid var(--border)}.board-card-meta{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text-muted)}.board-card-delete{display:flex;align-items:center;background:none;border:none;color:var(--text-muted);cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0;opacity:0;transition:opacity var(--t),background var(--t),color var(--t)}.board-card:hover .board-card-delete{opacity:1}.board-card-delete:hover{background:var(--error-bg);color:var(--error)}.board-card-actions{display:flex;align-items:center;gap:2px}.board-card-fav{display:flex;align-items:center;background:none;border:none;color:var(--text-muted);cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0;opacity:0;transition:opacity var(--t),background var(--t),color var(--t)}.board-card:hover .board-card-fav{opacity:1}.board-card-fav.active{color:#f59e0b;opacity:1}.board-card-fav:hover{background:var(--bg-tertiary);color:#f59e0b}.board-card-permission{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);background:var(--bg-tertiary);border-radius:6px;padding:2px 7px;flex-shrink:0}.board-card-owner{display:flex;align-items:flex-start;gap:5px;font-size:11px;color:var(--text-secondary);margin-top:6px;line-height:1.4}.board-card-owner svg{flex-shrink:0;margin-top:1px;color:var(--text-muted)}.board-card-owner-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.shared-filter{display:flex;align-items:center;margin-bottom:-1px;padding-right:4px}.shared-filter-btn{color:var(--text-secondary)}.shared-filter-btn:hover{color:var(--text)}.shared-filter-chip{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--text);cursor:default;white-space:nowrap;max-width:200px}.shared-filter-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-filter-chip svg{flex-shrink:0;color:var(--text-muted);cursor:pointer;border-radius:50%;padding:1px}.shared-filter-chip svg:hover{color:var(--text)}.shared-filter-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;max-width:260px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:4px;z-index:100}.shared-filter-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;font-size:13px;color:var(--text);background:none;border:none;border-radius:calc(var(--radius) - 2px);cursor:pointer;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shared-filter-menu-item svg{flex-shrink:0;color:var(--text-muted)}.shared-filter-menu-item:hover{background:var(--bg-hover)}.share-form{display:flex;gap:8px;margin-bottom:20px}.share-form .form-control{flex:1}.share-form-select{flex:0 0 90px!important}.share-form .btn{flex-shrink:0}.share-list{display:flex;flex-direction:column;gap:2px}.share-item{display:flex;align-items:center;gap:10px;padding:8px 4px;border-radius:var(--radius-sm);transition:background var(--t)}.share-item:hover{background:var(--bg-tertiary)}.share-item-avatar{width:32px;height:32px;border-radius:50%;background:var(--hint-light);color:var(--hint);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0}.share-item-info{flex:1;min-width:0}.share-item-name{font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-item-email{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-item-permission{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);background:var(--bg-tertiary);border-radius:6px;padding:2px 7px;flex-shrink:0}.share-item-revoke{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;flex-shrink:0;opacity:0;transition:opacity var(--t),background var(--t),color var(--t)}.share-item:hover .share-item-revoke{opacity:1}.share-item-revoke:hover{background:var(--error-bg);color:var(--error)}.empty-state{text-align:center;padding:64px 24px;color:var(--text-secondary)}.empty-state-icon{width:56px;height:56px;background:var(--bg-tertiary);border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:var(--text-muted)}.empty-state-title{font-size:16px;font-weight:600;color:var(--text);margin-bottom:6px}.empty-state-desc{font-size:14px;color:var(--text-secondary)}.board-view{flex:1;overflow:hidden;display:flex;flex-direction:column}.board-canvas{flex:1;overflow-y:auto;padding:20px 24px}.board-hint{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 24px;font-size:11px;color:var(--text-muted);opacity:.6}.board-empty-state{text-align:center;padding:80px 24px;color:var(--text-secondary)}.board-empty-state-icon{width:56px;height:56px;background:var(--bg-tertiary);border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:var(--text-muted)}.board-empty-state h3{font-size:18px;font-weight:600;color:var(--text);margin-bottom:8px}.board-empty-state p{font-size:14px;max-width:400px;margin:0 auto}.board-empty-actions{display:flex;gap:8px;justify-content:center;margin-top:20px;flex-wrap:wrap}.grid-stack{background:transparent}.grid-stack-item-content{border-radius:12px;overflow:hidden}.grid-stack>.grid-stack-item>.grid-stack-item-content{inset:5px}.grid-stack-placeholder>.placeholder-content{background:var(--hint-light);border:2px dashed var(--hint);border-radius:12px}.widget{background:var(--bg-secondary);border:1px solid var(--border);border-radius:12px;padding:10px;height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative}.widget-drag-handle{position:absolute;top:8px;left:50%;transform:translate(-50%);width:28px;height:4px;background:#0000001a;border-radius:2px;cursor:grab;opacity:0;transition:opacity var(--t)}[data-theme=dark] .widget-drag-handle{background:#ffffff26}.widget:hover .widget-drag-handle{opacity:1}.widget-actions{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:0;transition:opacity var(--t)}.widget:hover .widget-actions{opacity:1}.widget-action-btn{width:26px;height:26px;border-radius:6px;border:none;background:var(--bg-tertiary);color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background var(--t),color var(--t)}.widget-action-btn:hover{background:var(--border);color:var(--text)}.widget-action-btn.danger:hover{background:var(--border);color:var(--error)}.grid-stack-item>.ui-resizable-se{background:none!important}.grid-stack-item>.ui-resizable-se:before,.grid-stack-item>.ui-resizable-se:after{display:none!important}.widget-title{font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:8px}.widget-link-inner{display:flex;align-items:flex-start;gap:10px;flex:1;text-decoration:none;color:inherit}.widget-icon{color:var(--hint);flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-top:1px}.widget-body .widget-title{font-size:15px;font-weight:700;color:var(--text);margin:0 0 2px}.widget-subtitle{font-size:12px;color:var(--text-muted)}.widget-links-group .widget-title{color:var(--hint)}.links-group-list{display:flex;flex-direction:column;gap:6px;margin-top:6px;flex:1;overflow:hidden}.links-group-item{font-size:13px;color:var(--accent);text-decoration:none;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.links-group-item:hover{opacity:.8}.links-group-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.links-group-icon{width:14px;height:14px;flex-shrink:0;border-radius:2px}.links-group-link-icon{width:14px;height:14px;flex-shrink:0;color:var(--accent);opacity:.6}.links-group-form-item{display:flex;align-items:center;gap:6px;margin-bottom:6px;border-radius:6px;padding:4px;transition:background .15s}.links-group-form-item .form-control{flex:1}.links-group-form-item.dragging{opacity:.4}.links-group-form-item.drag-over{background:var(--bg-secondary);box-shadow:0 -2px 0 0 var(--accent) inset}.links-group-drag-handle{cursor:grab;color:var(--text-muted);flex-shrink:0;display:flex;align-items:center;padding:2px}.links-group-drag-handle:active{cursor:grabbing}.widget-clock .widget-title,.widget-note .widget-title{color:var(--hint)}.widget-clock{align-items:center;justify-content:center;text-align:center}.widget-clock-time{font-size:1.6rem;font-weight:700;color:var(--text);line-height:1;margin:10px 0 4px;font-variant-numeric:tabular-nums;letter-spacing:.02em;font-feature-settings:"tnum" 1}.widget-clock-date{font-size:12px;font-weight:500;color:var(--text-secondary);margin-bottom:2px}.widget-clock-tz{font-size:11px;color:var(--text-muted)}.widget-clock-analog{justify-content:center}.widget-analog-clock{display:flex;align-items:center;justify-content:center;flex:1;width:100%;padding:4px 0}.analog-clock-face{display:block;width:min(80%,110px);height:auto}.clock-face-bg{fill:var(--bg-tertiary);stroke:var(--border);stroke-width:1.5}.clock-tick{stroke:var(--text-muted);stroke-width:2;stroke-linecap:round}.clock-hand{stroke-linecap:round}.clock-hand-hour{stroke:var(--text);stroke-width:5}.clock-hand-min{stroke:var(--text);stroke-width:3}.clock-hand-sec{stroke:var(--hint);stroke-width:1.5}.clock-center-dot{fill:var(--hint)}.widget-note-content{font-size:13px;color:var(--text-secondary);line-height:1.6;flex:1;overflow-y:auto}.widget-menu-backdrop{position:fixed;inset:0;z-index:99}.widget-type-menu{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:6px;min-width:220px}.widget-type-btn{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:var(--radius-sm);border:none;background:transparent;cursor:pointer;text-align:left;transition:background var(--t)}.widget-type-btn:hover{background:var(--bg-tertiary)}.widget-type-btn-icon{width:32px;height:32px;background:var(--hint-light);color:var(--hint);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.widget-type-btn-body{display:flex;flex-direction:column}.widget-type-btn-name{font-size:13px;font-weight:600;color:var(--text)}.widget-type-btn-desc{font-size:11px;color:var(--text-muted);margin-top:1px}.widget-todo .widget-title,.widget-countdown .widget-title{color:var(--hint)}.widget-todo-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.todo-progress{font-size:11px;font-weight:600;color:var(--text-muted);white-space:nowrap}.todo-progress-bar{height:3px;border-radius:2px;background:var(--bg-tertiary);margin-bottom:8px;overflow:hidden}.todo-progress-fill{height:100%;border-radius:2px;background:var(--hint);transition:width .3s ease}.todo-items{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.todo-item{display:flex;align-items:flex-start;gap:8px;padding:4px 2px;border-radius:4px;font-size:13px;color:var(--text);line-height:1.4;transition:background var(--t)}.todo-item:hover{background:var(--bg-tertiary)}.todo-item-delete{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border:none;border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer;opacity:0;transition:opacity var(--t),background var(--t),color var(--t);margin-left:auto;align-self:center}.todo-item:hover .todo-item-delete{opacity:1}.todo-item-delete:hover{background:var(--bg-tertiary);color:var(--error)}.todo-item input[type=checkbox]{appearance:none;width:16px;height:16px;border:2px solid var(--border-hover);border-radius:4px;flex-shrink:0;margin-top:1px;cursor:pointer;position:relative;transition:background var(--t),border-color var(--t)}.todo-item input[type=checkbox]:checked{background:var(--hint);border-color:var(--hint)}.todo-item input[type=checkbox]:checked:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.todo-item.done .todo-item-text{text-decoration:line-through;color:var(--text-muted)}.todo-form-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}.todo-form-row .form-control{flex:1}.todo-item-body{flex:1;min-width:0}.todo-deadline-info{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--text-muted);margin-top:1px;line-height:1.3;font-variant-numeric:tabular-nums}.todo-deadline-info svg{flex-shrink:0;opacity:.6}.todo-deadline-remaining{opacity:.8}.todo-deadline-remaining:before{content:"\b7";margin:0 2px}.todo-deadline-info.overdue{color:var(--error)}.todo-deadline-info.overdue svg{opacity:1}.todo-item.done .todo-deadline-info{display:none}.todo-item[draggable=true]{cursor:grab}.todo-item[draggable=true]:active{cursor:grabbing}.todo-item.todo-cross-dragging{opacity:.3}.widget-todo.todo-drop-highlight{outline:2px dashed var(--hint);outline-offset:-2px;background:color-mix(in srgb,var(--hint) 5%,transparent)}.todo-insert-indicator{height:2px;background:var(--hint);border-radius:1px;margin:1px 0;pointer-events:none}.todo-quick-add{display:flex;align-items:center;gap:6px;padding:4px 2px;margin-top:2px;opacity:0;transition:opacity var(--t)}.widget-todo:hover .todo-quick-add{opacity:1}.todo-quick-add:focus-within{opacity:1}.todo-quick-add svg{color:var(--text-muted);flex-shrink:0}.todo-quick-input{flex:1;background:transparent;border:none;border-bottom:1px solid var(--border);color:var(--text);font-size:13px;font-family:inherit;padding:2px 0;outline:none;min-width:0}.todo-quick-input::placeholder{color:var(--text-muted)}.todo-quick-input:focus{border-color:var(--hint)}.todo-form-item{margin-bottom:8px;padding:4px 4px 8px;border-bottom:1px solid var(--border);border-radius:6px;transition:background .15s}.todo-form-item.dragging{opacity:.4}.todo-form-item.drag-over{background:var(--bg-secondary);box-shadow:0 -2px 0 0 var(--accent) inset}.todo-form-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:4px}.todo-drag-handle{cursor:grab;color:var(--text-muted);flex-shrink:0;display:flex;align-items:center;padding:2px}.todo-drag-handle:active{cursor:grabbing}.todo-form-deadline{display:flex;align-items:center;gap:6px;margin-top:4px;padding-left:2px}.todo-deadline-label{display:flex;align-items:center;gap:3px;font-size:11px;color:var(--text-muted);white-space:nowrap;font-weight:500}.todo-form-deadline .form-control-sm{padding:4px 8px;font-size:12px;height:28px}.todo-form-deadline app-date-picker,.todo-form-deadline app-time-picker{flex-shrink:0}.btn-xs{padding:2px;min-width:auto;min-height:auto}.widget-countdown{align-items:center;justify-content:center;text-align:center}.countdown-display{display:flex;align-items:center;justify-content:center;gap:4px;margin:10px 0 4px}.countdown-segment{display:flex;flex-direction:column;align-items:center;min-width:36px}.countdown-value{font-size:1.6rem;font-weight:700;line-height:1;color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.countdown-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-top:4px}.countdown-sep{font-size:1.5rem;font-weight:700;color:var(--text-muted);margin-bottom:18px}.countdown-target{font-size:12px;font-weight:500;color:var(--text-secondary)}.widget-google-calendar{overflow:hidden}.widget-google-calendar .widget-title{color:var(--hint)}.widget-calendar-container{flex:1;min-height:0;border-radius:6px;overflow:hidden}.widget-calendar-iframe{width:100%;height:100%;border:none;display:block}.widget-weather{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.widget-weather .widget-title{color:var(--hint);margin-bottom:4px}.weather-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:0}.weather-condition{display:flex;align-items:center;gap:16px}.weather-icon img{width:44px;height:44px;display:block}[data-theme=dark] .weather-icon img,[data-theme=dark] .weather-hour-icon img,[data-theme=dark] .weather-day-icon img{filter:brightness(1.35)}.weather-temp{font-size:1.6rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;color:var(--text)}.weather-unit{font-size:.75rem;font-weight:500;color:var(--text-secondary);vertical-align:super}.weather-label{font-size:14px;color:var(--text-secondary)}.weather-details{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.weather-detail-item{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--text-muted)}.weather-detail-item svg{color:var(--text-muted)}.weather-attribution{font-size:10px;color:var(--text-muted);opacity:.6;margin-top:auto;padding-top:4px}.weather-error{font-size:13px;color:var(--text-muted);padding:12px}.weather-skeleton{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}.weather-skeleton-icon{width:48px;height:48px;border-radius:50%;background:var(--bg-hover);animation:skeleton-pulse 1.5s ease-in-out infinite}.weather-skeleton-temp{width:80px;height:28px;border-radius:6px;background:var(--bg-hover);animation:skeleton-pulse 1.5s ease-in-out infinite;animation-delay:.15s}.weather-skeleton-line{width:120px;height:14px;border-radius:4px;background:var(--bg-hover);animation:skeleton-pulse 1.5s ease-in-out infinite;animation-delay:.3s}@keyframes skeleton-pulse{0%,to{opacity:.4}50%{opacity:.8}}.weather-city-search{position:relative}.weather-city-loading{font-size:12px;color:var(--text-muted);padding:6px 0 0}.weather-city-dropdown{position:absolute;top:100%;left:0;right:0;z-index:1100;background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #0000002e;margin-top:4px;max-height:280px;overflow-y:auto}.weather-city-option{display:flex;flex-direction:column;width:100%;padding:8px 12px;border:none;background:none;text-align:left;cursor:pointer;transition:background var(--t);font-size:14px;color:var(--text)}.weather-city-option:hover{background:var(--bg-hover)}.weather-city-option:first-child{border-radius:8px 8px 0 0}.weather-city-option:last-child{border-radius:0 0 8px 8px}.weather-city-option:only-child{border-radius:8px}.weather-city-name{font-weight:500}.weather-city-detail{font-size:12px;color:var(--text-muted)}.weather-hourly{display:flex;overflow-x:auto;gap:2px;width:100%;padding:4px 0;scrollbar-width:none;-ms-overflow-style:none}.weather-hourly::-webkit-scrollbar{display:none}.weather-hour{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:44px;padding:4px 6px;border-radius:8px;transition:background var(--t)}.weather-hour:first-child{background:var(--bg-hover)}.weather-hour-time{font-size:11px;font-weight:600;color:var(--text-muted);white-space:nowrap}.weather-hour-icon img{width:24px;height:24px;display:block}.weather-hour-temp{font-size:12px;color:var(--text);font-variant-numeric:tabular-nums}.weather-weekly{display:flex;flex-direction:column;gap:2px;width:100%}.weather-day{display:flex;align-items:center;gap:10px;padding:3px 8px;border-radius:6px;transition:background var(--t)}.weather-day:first-child{background:var(--bg-hover)}.weather-day-name{font-size:13px;font-weight:500;color:var(--text);min-width:42px}.weather-day-icon img{width:24px;height:24px;display:block}.weather-day-temps{font-size:12px;color:var(--text-secondary);font-variant-numeric:tabular-nums;margin-left:auto}.datetime-row{display:flex;gap:12px}.datetime-row .form-group{flex:1;margin-bottom:0}.datetime-row .form-group:first-child{flex:1.3}.dp-wrap,.tp-wrap{position:relative}.dp-trigger,.tp-trigger{display:flex!important;align-items:center;gap:8px;cursor:pointer;text-align:left;font-size:14px;white-space:nowrap}.dp-trigger.open,.tp-trigger.open{border-color:var(--hint);box-shadow:0 0 0 3px var(--hint-light)}.dp-icon,.tp-icon{flex-shrink:0;color:var(--text-muted)}.dp-placeholder,.tp-placeholder{color:var(--text-muted)}.dp-clear,.tp-clear{margin-left:auto;display:flex;align-items:center;justify-content:center;padding:2px;border:none;background:none;color:var(--text-muted);cursor:pointer;border-radius:4px;transition:color var(--t),background var(--t)}.dp-clear:hover,.tp-clear:hover{color:var(--error);background:var(--error-bg)}.dp-dropdown{z-index:200;width:280px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:12px;animation:scaleIn .12s ease}.dp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dp-month-year{font-size:14px;font-weight:600;color:var(--text)}.dp-nav{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;background:none;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);transition:background var(--t),color var(--t)}.dp-nav:hover{background:var(--bg-tertiary);color:var(--text)}.dp-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;margin-bottom:4px}.dp-weekday{font-size:11px;font-weight:600;color:var(--text-muted);padding:4px 0;text-transform:uppercase;letter-spacing:.03em}.dp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.dp-day{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;font-size:13px;font-weight:500;color:var(--text);border:none;background:none;border-radius:50%;cursor:pointer;transition:background var(--t),color var(--t)}.dp-day:hover:not(.dp-selected):not(.dp-empty){background:var(--bg-tertiary)}.dp-day.dp-empty{cursor:default}.dp-day.dp-outside{color:var(--text-muted);opacity:.4;cursor:default;pointer-events:none}.dp-day.dp-today{box-shadow:inset 0 0 0 1.5px var(--hint);color:var(--hint);font-weight:700}.dp-day.dp-selected{background:var(--hint);color:#fff;font-weight:700}.dp-day.dp-selected.dp-today{box-shadow:none;color:#fff}.dp-footer{display:flex;justify-content:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}.dp-today-btn{font-size:12px;font-weight:600;color:var(--hint);background:none;border:none;cursor:pointer;padding:4px 12px;border-radius:var(--radius-sm);transition:background var(--t)}.dp-today-btn:hover{background:var(--hint-light)}.tp-dropdown{z-index:200;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:8px;animation:scaleIn .12s ease}.tp-columns{display:flex;gap:8px}.tp-col{flex:1;display:flex;flex-direction:column}.tp-col-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);text-align:center;padding:4px 0 6px}.tp-col-list{max-height:200px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.tp-col-list::-webkit-scrollbar{width:4px}.tp-col-list::-webkit-scrollbar-track{background:transparent}.tp-col-list::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.tp-cell{display:flex;align-items:center;justify-content:center;padding:6px 8px;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--text);border:none;background:none;border-radius:var(--radius-sm);cursor:pointer;transition:background var(--t),color var(--t)}.tp-cell:hover:not(.tp-active){background:var(--bg-tertiary)}.tp-cell.tp-active{background:var(--hint);color:#fff;font-weight:700}.settings-layout{display:flex;flex:1;overflow:hidden}.settings-nav{width:220px;flex-shrink:0;border-right:1px solid var(--border);padding:24px 12px;display:flex;flex-direction:column;gap:2px}.settings-nav-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;color:var(--text-secondary);text-decoration:none;transition:background var(--t),color var(--t);cursor:pointer}.settings-nav-item:hover{background:var(--bg-tertiary);color:var(--text)}.settings-nav-item.active{background:var(--hint-light);color:var(--hint)}.settings-nav-item.danger{color:var(--error)}.settings-nav-item.danger:hover,.settings-nav-item.danger.active{background:var(--error-bg);color:var(--error)}.danger-zone{border:1px solid var(--error);border-radius:var(--radius);padding:20px 24px;margin-top:12px;background:var(--error-bg)}.danger-zone-warning{display:flex;align-items:flex-start;gap:8px;font-size:14px;color:var(--error);line-height:1.6;margin-bottom:8px}.danger-zone-warning svg{flex-shrink:0;margin-top:3px}.danger-zone-list{font-size:13px;color:var(--text-secondary);line-height:1.8;padding-left:36px;margin:0}.btn-danger{background:var(--error);color:#fff;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;font-weight:600}.btn-danger:hover{opacity:.9}.btn-danger:disabled{opacity:.4;cursor:not-allowed}.settings-content{flex:1;overflow-y:auto;padding:32px 40px}.settings-section-title{font-size:18px;font-weight:700;letter-spacing:-.02em;margin-bottom:6px}.settings-section-desc{font-size:14px;color:var(--text-secondary);margin-bottom:24px;line-height:1.6}.theme-mode-grid{display:flex;gap:20px}.theme-mode-option{cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:10px}.theme-mode-option input{display:none}.theme-mode-preview{width:220px;height:148px;border-radius:12px;border:2px solid var(--border);overflow:hidden;position:relative;display:flex;flex-direction:column;transition:border-color .18s,box-shadow .18s,transform .18s}.theme-mode-option:hover .theme-mode-preview{transform:translateY(-2px);box-shadow:0 8px 24px #00000021}.theme-mode-option input:checked+.theme-mode-preview{border-color:var(--hint);box-shadow:0 0 0 3px var(--hint-light)}.tpm-topbar{height:22px;flex-shrink:0;display:flex;align-items:center;padding:0 9px;gap:5px;border-bottom:1px solid transparent}.tpm-logo{width:8px;height:8px;border-radius:50%;background:var(--hint);flex-shrink:0;opacity:.9}.tpm-bar-line{height:3px;border-radius:2px;width:30px}.tpm-bar-line-sm{width:18px}.tpm-topbar-spacer{flex:1}.tpm-avatar{width:10px;height:10px;border-radius:50%;flex-shrink:0}.tpm-body{flex:1;display:flex;min-height:0}.tpm-sidebar{width:34px;flex-shrink:0;padding:7px 5px;display:flex;flex-direction:column;gap:5px;border-right:1px solid transparent}.tpm-nav-item{display:block;height:3px;border-radius:2px;width:100%}.tpm-nav-item-bottom{opacity:.5}.tpm-sidebar-spacer{flex:1}.tpm-content{flex:1;padding:8px 9px;display:flex;flex-direction:column;gap:6px}.tpm-content-header{display:flex;flex-direction:column;gap:3px;margin-bottom:2px}.tpm-heading{display:block;height:4px;width:50%;border-radius:2px}.tpm-heading-sub{display:block;height:3px;width:32%;border-radius:2px;opacity:.5}.tpm-content-row{display:flex;gap:5px;flex:1}.tpm-card{flex:1;border-radius:5px;padding:6px;display:flex;flex-direction:column;gap:4px}.tpm-card-wide{flex:0 0 100%}.tpm-card-header{display:block;height:3px;width:60%;border-radius:2px}.tpm-card-line{display:block;height:2px;width:85%;border-radius:1px;opacity:.5}.tpm-card-line-short{width:55%}.tpm-check-badge{position:absolute;top:8px;right:8px;width:18px;height:18px;border-radius:50%;background:var(--hint);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.5);transition:opacity .15s,transform .15s}.theme-mode-option input:checked+.theme-mode-preview .tpm-check-badge{opacity:1;transform:scale(1)}.theme-preview-light{background:#f5f5fa}.theme-preview-light .tpm-topbar{background:#ecedf5;border-bottom-color:#dddde8}.theme-preview-light .tpm-bar-line{background:#c8c8d8}.theme-preview-light .tpm-avatar{background:#c0c0d0}.theme-preview-light .tpm-sidebar{background:#e8e8f2;border-right-color:#dddde8}.theme-preview-light .tpm-nav-item{background:#c5c5d5}.theme-preview-light .tpm-nav-item:first-child{background:var(--hint);opacity:.55}.theme-preview-light .tpm-heading{background:#b0b0c0}.theme-preview-light .tpm-heading-sub{background:#c5c5d5}.theme-preview-light .tpm-card{background:#eaeaf2}.theme-preview-light .tpm-card-header{background:var(--hint);opacity:.45}.theme-preview-light .tpm-card-line{background:#c8c8d6}.theme-preview-dark{background:#111118}.theme-preview-dark .tpm-topbar{background:#0c0c13;border-bottom-color:#1e1e2a}.theme-preview-dark .tpm-bar-line,.theme-preview-dark .tpm-avatar{background:#2a2a3a}.theme-preview-dark .tpm-sidebar{background:#0a0a10;border-right-color:#1e1e2a}.theme-preview-dark .tpm-nav-item{background:#232330}.theme-preview-dark .tpm-nav-item:first-child{background:var(--hint);opacity:.45}.theme-preview-dark .tpm-heading{background:#3a3a4c}.theme-preview-dark .tpm-heading-sub{background:#2a2a3a}.theme-preview-dark .tpm-card{background:#181822}.theme-preview-dark .tpm-card-header{background:var(--hint);opacity:.35}.theme-preview-dark .tpm-card-line{background:#252533}.theme-mode-label{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--text-secondary);transition:color .15s}.theme-mode-option input:checked~.theme-mode-label{color:var(--hint)}.color-picker-row{display:flex;flex-wrap:wrap;gap:8px}.color-preset{width:28px;height:28px;border-radius:50%;cursor:pointer;transition:transform var(--t),box-shadow var(--t);border:2px solid transparent}.color-preset:hover{transform:scale(1.15)}.color-preset.selected{border-color:var(--text);box-shadow:0 0 0 2px var(--bg-secondary);transform:scale(1.1)}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.plan-card{background:var(--bg-secondary);border:2px solid var(--border);border-radius:var(--radius);padding:20px;cursor:pointer;transition:border-color var(--t);display:flex;flex-direction:column;gap:12px;position:relative}.plan-card.selected,.plan-card:has(input:checked){border-color:var(--hint)}.plan-card.popular{border-color:var(--hint)}.plan-popular-badge{position:absolute;top:-10px;right:12px;background:var(--hint);color:#fff;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 10px;border-radius:10px}.plan-name{font-size:15px;font-weight:700}.plan-tagline{font-size:12px;color:var(--text-muted);margin-top:2px}.plan-price{display:flex;align-items:baseline;gap:4px}.plan-price-free{font-size:22px;font-weight:700;color:var(--hint)}.plan-price-amount{font-size:22px;font-weight:700}.plan-price-period{font-size:13px;color:var(--text-muted)}.plan-features{display:flex;flex-direction:column;gap:4px}.plan-features li{font-size:13px;color:var(--text-secondary)}.plan-features li:before{content:"\2713  ";color:var(--hint);font-weight:700}.plan-select-indicator{display:none;font-size:12px;font-weight:600;color:var(--hint)}.plan-card.selected .plan-select-indicator{display:block}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.auth-card{width:100%;max-width:420px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);padding:36px 32px;box-shadow:var(--shadow-md)}.auth-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px;color:var(--text);text-decoration:none;margin-bottom:28px}.auth-title{font-size:22px;font-weight:700;letter-spacing:-.02em;margin-bottom:6px}.auth-subtitle{font-size:14px;color:var(--text-secondary);margin-bottom:24px}.auth-footer-link{text-align:center;font-size:13px;color:var(--text-secondary);margin-top:20px}.auth-footer-link a{color:var(--hint);font-weight:500}.auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.google-btn-wrap{position:relative}.google-btn-wrap>div{display:flex;justify-content:center}.google-signin-progress{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-muted)}.google-signin-progress .spinner{width:18px!important;height:18px!important;border:2px solid color-mix(in srgb,var(--hint) 30%,transparent)!important;border-top-color:var(--hint)!important;border-radius:50%}.public-nav{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 32px;height:60px;background:var(--surface-dark);border-bottom:1px solid rgba(255,255,255,.06)}.nav-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:#fff;text-decoration:none}.nav-logo-mark{width:32px;height:32px;background:var(--hint);border-radius:6px;display:flex;align-items:center;justify-content:center}.nav-links{display:flex;align-items:center;gap:24px}.nav-link{font-size:14px;font-weight:500;color:#ffffff8c;text-decoration:none;transition:color var(--t)}.nav-link:hover,.nav-link.active{color:#ffffffe6}.nav-actions{display:flex;align-items:center;gap:10px}.public-nav .btn-outline{color:#ffffffd9;border-color:#ffffff40}.public-nav .btn-outline:hover{background:#ffffff14;border-color:#ffffff73;color:#fff}.hero{text-align:center;padding:80px 24px 60px;max-width:900px;margin:0 auto}.hero-label{font-size:13px;font-weight:600;color:var(--hint);letter-spacing:.06em;text-transform:uppercase;margin-bottom:16px}.hero-title{font-size:clamp(2.2rem,5vw,3.5rem);font-weight:800;letter-spacing:-.04em;line-height:1.1;margin-bottom:20px}.hero-subtitle{font-size:18px;color:var(--text-secondary);max-width:560px;margin:0 auto 32px;line-height:1.6}.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:48px}.hero-preview{background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md);max-width:680px;margin:0 auto}.hero-preview-bar{display:flex;align-items:center;padding:10px 14px;background:var(--bg-tertiary);border-bottom:1px solid var(--border);gap:6px}.window-dot{width:10px;height:10px;border-radius:50%;background:var(--border-hover)}.hero-preview-content{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.preview-widget{background:var(--bg-tertiary);border:1px solid var(--border);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:4px;min-height:0}.preview-widget-title{font-size:13px;font-weight:700}.preview-widget-sub{font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-link-inner{display:flex;align-items:center;gap:10px}.pw-link-icon{width:32px;height:32px;border-radius:8px;background:var(--bg-secondary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.pw-link-icon img{border-radius:3px}.pw-links-group{gap:2px}.pw-links-group-list{display:flex;flex-direction:column;gap:4px}.pw-links-group-item{font-size:12px;color:var(--accent);text-decoration:none;cursor:default}.pw-clock{align-items:center;justify-content:center;text-align:center;gap:2px}.pw-clock-title{font-size:11px;font-weight:600;color:var(--hint);text-transform:uppercase;letter-spacing:.04em}.pw-clock-time{font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.02em}.pw-clock-date{font-size:11px;color:var(--text-muted)}.pw-note-title{font-size:12px;font-weight:700;color:var(--hint)}.pw-note-content{font-size:12px;color:var(--text-secondary);line-height:1.65}.pw-countdown{align-items:center;text-align:center;gap:6px}.pw-countdown-title{font-size:12px;font-weight:700;color:var(--hint)}.pw-countdown-display{display:flex;align-items:center;gap:4px}.pw-cd-segment{display:flex;flex-direction:column;align-items:center;min-width:36px}.pw-cd-value{font-size:1.3rem;font-weight:700;font-variant-numeric:tabular-nums}.pw-cd-label{font-size:9px;text-transform:uppercase;color:var(--text-muted);letter-spacing:.05em}.pw-cd-sep{font-size:1.1rem;font-weight:600;color:var(--text-muted);margin-top:-10px}.pw-todo{gap:6px}.pw-todo-header{display:flex;align-items:center;justify-content:space-between}.pw-todo-title{font-size:12px;font-weight:700;color:var(--hint)}.pw-todo-progress{font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}.pw-todo-bar{height:3px;border-radius:2px;background:var(--border)}.pw-todo-bar-fill{height:100%;border-radius:2px;background:var(--hint);transition:width .3s}.pw-todo-items{display:flex;flex-direction:column;gap:4px}.pw-todo-item{display:flex;align-items:flex-start;gap:6px;font-size:12px;color:var(--text-primary)}.pw-todo-item.done{color:var(--text-muted);text-decoration:line-through}.pw-todo-item-body{display:flex;flex-direction:column}.pw-todo-deadline{font-size:9px;color:var(--text-muted);margin-top:1px;font-variant-numeric:tabular-nums}.pw-todo-deadline.overdue{color:var(--error)}.pw-todo-check{width:14px;height:14px;border-radius:3px;border:1.5px solid var(--border-hover);flex-shrink:0;display:flex;align-items:center;justify-content:center}.pw-todo-check.checked{background:var(--hint);border-color:var(--hint)}.pw-todo-check.checked:after{content:"";display:block;width:4px;height:7px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-1px}.pw-weather{align-items:center;text-align:center;justify-content:center;gap:4px}.pw-weather-title{font-size:11px;font-weight:600;color:var(--hint);text-transform:uppercase;letter-spacing:.04em}.pw-weather-condition{display:flex;align-items:center;gap:8px}.pw-weather-condition img{width:24px;height:24px}[data-theme=dark] .pw-weather-condition img{filter:brightness(1.35)}.pw-weather-temp{font-size:1.3rem;font-weight:700;font-variant-numeric:tabular-nums}.pw-weather-unit{font-size:.65rem;font-weight:500;color:var(--text-secondary);vertical-align:super}.pw-weather-label{font-size:11px;color:var(--text-muted)}.container{max-width:1100px;margin:0 auto;padding:0 24px}.features{padding:64px 0;background:var(--bg-secondary)}.section-title{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;letter-spacing:-.03em;text-align:center;margin-bottom:8px}.section-subtitle{font-size:16px;color:var(--text-secondary);text-align:center;margin-bottom:40px}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.feature-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:24px;transition:box-shadow var(--t),transform var(--t)}.feature-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.feature-icon{color:var(--hint);margin-bottom:14px}.feature-title{font-size:15px;font-weight:700;margin-bottom:8px}.feature-desc{font-size:14px;color:var(--text-secondary);line-height:1.6}.pricing-section{padding:64px 0}.contact-section{padding:64px 0;background:var(--surface-dark)}.contact-inner{text-align:center;color:#fff}.contact-inner h2{font-size:2rem;font-weight:700}.contact-email{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--hint);font-size:15px;font-weight:600;text-decoration:none;transition:opacity var(--t)}.contact-email:hover{opacity:.8}.public-footer{background:var(--surface-dark);color:#fff6;text-align:center;padding:28px 24px;font-size:13px;border-top:1px solid rgba(255,255,255,.06)}.dropdown{position:relative}.dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);min-width:180px;z-index:200;padding:4px;display:none}.dropdown-menu.open{display:block;animation:scaleIn .12s ease}.dropdown-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;border:none;background:none;width:100%;text-decoration:none}.dropdown-item:hover{background:var(--bg-tertiary);color:var(--text)}.dropdown-item.danger{color:var(--error)}.dropdown-item.danger:hover{background:#ef44441a}.dropdown-divider{height:1px;background:var(--border);margin:4px 0}.input-password-wrap{position:relative;width:100%}.input-password-wrap .form-control{padding-right:40px}.input-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;padding:2px;transition:color var(--t)}.input-password-toggle:hover{color:var(--text-secondary)}.form-error-banner{background:var(--error-bg);border:1px solid rgba(239,68,68,.25);color:var(--error);font-size:13px;border-radius:var(--radius-sm);padding:9px 14px;margin-bottom:16px}.view-page{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.view-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:52px;border-bottom:1px solid var(--border);flex-shrink:0}.view-topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.view-logo-mark{width:32px;height:32px;background:var(--hint);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.view-board-name{font-weight:600;font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);border:1px solid var(--border);border-radius:20px;padding:3px 10px;flex-shrink:0}.view-canvas{flex:1;padding:20px 24px 40px}.view-loading{flex:1;display:flex;align-items:center;justify-content:center;padding:80px 24px}.view-skeleton{flex:1;padding:20px 24px 40px}.view-skeleton-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:80px;gap:12px}.vsk-c2{grid-column:span 2}.vsk-c3{grid-column:span 3}.vsk-c4{grid-column:span 4}.vsk-r1{grid-row:span 1}.vsk-r2{grid-row:span 2}.vsk-r3{grid-row:span 3}.view-skeleton-grid .skeleton{border-radius:var(--radius)}.view-empty{text-align:center;padding:80px 24px;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;gap:12px;font-size:14px}.view-canvas .grid-stack-item{cursor:default}.sidebar-hamburger{display:none;position:fixed;top:12px;left:12px;z-index:1001;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-sm);width:40px;height:40px;align-items:center;justify-content:center;cursor:pointer;color:var(--text);box-shadow:var(--shadow);padding:0}.sidebar-overlay{display:none}.nav-mobile-toggle{display:none;background:none;border:none;color:#fffc;cursor:pointer;padding:4px;align-items:center}.nav-menu{display:flex;align-items:center;gap:24px}@media(max-width:767.98px){.sidebar-hamburger{display:flex}.sidebar-overlay{display:block;position:fixed;inset:0;background:#0006;z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .25s ease;box-shadow:none}.sidebar.open{transform:translate(0);box-shadow:4px 0 24px #00000026}.app-main{padding-top:56px}.nav-mobile-toggle{display:flex}.public-nav{padding:0 16px;height:auto;min-height:56px;flex-wrap:wrap}.nav-menu{display:none;width:100%;flex-direction:column;padding:12px 0 16px;gap:16px;border-top:1px solid rgba(255,255,255,.08)}.nav-menu.open{display:flex}.nav-links{flex-direction:column;gap:12px;width:100%;text-align:center}.nav-actions{width:100%;justify-content:center}.hero{padding:48px 16px 40px}.hero-subtitle{font-size:16px}.hero-preview{max-width:100%}.hero-preview-content{grid-template-columns:repeat(2,1fr)}.hero-preview-bar span{display:none}.pw-countdown{grid-column:span 2}.hero-actions .btn-lg{width:100%;justify-content:center}.features,.pricing-section,.contact-section{padding:40px 0}.plans-grid{grid-template-columns:1fr;max-width:380px;margin-left:auto;margin-right:auto}.auth-page{padding:16px}.auth-card{padding:28px 20px}.app-header{padding:16px;flex-direction:column;align-items:flex-start;gap:12px}.app-header-actions{width:100%}.app-header-actions .btn{width:100%;justify-content:center}.dashboard-content{padding:16px}.dashboard-grid{grid-template-columns:1fr;gap:12px}.board-tabs{gap:0}.board-tab{flex:1;justify-content:center;padding:10px 8px;font-size:12px}.board-card .board-card-delete,.board-card .board-card-fav{opacity:1}.modal{max-width:calc(100vw - 32px)}.modal-body{padding:16px}.modal-header{padding:16px 16px 12px}.modal-footer{padding:12px 16px 16px}.settings-layout{flex-direction:column}.settings-nav{width:100%;flex-direction:row;overflow-x:auto;border-right:none;border-bottom:1px solid var(--border);padding:8px 12px;gap:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.settings-nav::-webkit-scrollbar{display:none}.settings-nav-item{white-space:nowrap;padding:6px 12px;font-size:12px}.settings-content{padding:20px 16px}.theme-mode-grid{flex-wrap:wrap;gap:12px}.theme-mode-preview{width:100%;max-width:220px;height:auto;aspect-ratio:220/148}}
