:root{--primary: #6366f1;--primary-hover: #4f46e5;--bg-main: #f8fafc;--bg-card: #ffffff;--text-main: #1e293b;--text-muted: #64748b;--border: #e2e8f0;--success: #22c55e;--warning: #eab308;--danger: #ef4444;--info: #3b82f6;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--radius: .5rem;--font-sans: "Inter", system-ui, -apple-system, sans-serif}[data-theme=dark]{--bg-main: #0f172a;--bg-card: #1e293b;--text-main: #f8fafc;--text-muted: #94a3b8;--border: #334155}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-sans);background-color:var(--bg-main);color:var(--text-main);transition:background-color .3s,color .3s;min-height:100vh}h1,h2,h3,h4,h5,h6{color:var(--text-main)}a{text-decoration:none;color:inherit}button{cursor:pointer;border:none;outline:none;font-family:inherit}input,textarea,select{font-family:inherit;font-size:1rem}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:var(--radius);font-weight:500;transition:opacity .2s}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.flex-col{flex-direction:column}.gap-2{gap:.5rem}.gap-4{gap:1rem}.notif-bell{position:relative;display:flex;align-items:center}.notif-bell__button{position:relative;width:2.75rem;height:2.75rem;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:#ffffff1f;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.notif-bell__button:hover,.notif-bell__button[aria-expanded=true]{background:#ffffff3d}.notif-bell__badge{position:absolute;top:-4px;right:-4px;min-width:1.25rem;height:1.25rem;padding:0 .3rem;border-radius:999px;background:#ef4444;color:#fff;font-size:.7rem;font-weight:700;line-height:1.25rem;text-align:center;box-shadow:0 0 0 2px #1a1f71}.notif-bell__dropdown{position:absolute;top:calc(100% + .6rem);right:0;width:24rem;max-width:calc(100vw - 2rem);background:#fff;color:#1f2937;border-radius:.75rem;box-shadow:0 12px 32px #0f172a40;border:1px solid #e5e7eb;z-index:60;overflow:hidden}.notif-bell__head{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;background:#f8fafc}.notif-bell__title{font-weight:700;font-size:.95rem}.notif-bell__head-actions{display:flex;align-items:center;gap:.5rem}.notif-bell__link{display:inline-flex;align-items:center;gap:.3rem;border:none;background:none;color:#1a1f71;font-size:.8rem;font-weight:600;cursor:pointer;padding:.25rem .4rem;border-radius:.375rem}.notif-bell__link:hover:not(:disabled){background:#e0e7ff}.notif-bell__link:disabled{color:#9ca3af;cursor:default}.notif-bell__icon-btn{border:none;background:none;color:#475569;cursor:pointer;padding:.3rem;border-radius:.375rem;display:inline-flex}.notif-bell__icon-btn:hover{background:#e2e8f0;color:#1a1f71}.notif-bell__list{list-style:none;margin:0;padding:0;max-height:26rem;overflow-y:auto}.notif-bell__empty{padding:1.5rem 1rem;text-align:center;color:#6b7280;font-size:.9rem}.notif-bell__item{width:100%;display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;border:none;border-bottom:1px solid #f1f5f9;background:#fff;text-align:left;cursor:pointer;color:inherit}.notif-bell__item:hover{background:#f8fafc}.notif-bell__item--unread{background:#f5f7ff}.notif-bell__type{flex-shrink:0;width:1.9rem;height:1.9rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#334155}.notif-bell__type--assigned{background:#dbeafe;color:#1d4ed8}.notif-bell__type--mentioned{background:#ede9fe;color:#6d28d9}.notif-bell__type--commented{background:#e0f2fe;color:#0369a1}.notif-bell__type--reopened{background:#ffedd5;color:#c2410c}.notif-bell__type--due_soon{background:#fef3c7;color:#b45309}.notif-bell__type--overdue{background:#fee2e2;color:#b91c1c}.notif-bell__type--stale_timer{background:#fce7f3;color:#be185d}.notif-bell__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}.notif-bell__item-title{font-size:.875rem;font-weight:600;line-height:1.3}.notif-bell__item--unread .notif-bell__item-title{color:#111827}.notif-bell__item-body{font-size:.8rem;color:#4b5563;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notif-bell__time{font-size:.72rem;color:#9ca3af}.notif-bell__dot{flex-shrink:0;width:.5rem;height:.5rem;border-radius:50%;background:#2563eb;margin-top:.4rem}.notif-prefs-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.notif-prefs-modal{background:#fff;color:#1f2937;width:100%;max-width:30rem;max-height:90vh;overflow-y:auto;border-radius:.75rem;box-shadow:0 20px 50px #0f172a59}.notif-prefs-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.notif-prefs-header h2{margin:0;font-size:1.1rem}.notif-prefs-close{border:none;background:none;cursor:pointer;color:#6b7280;display:inline-flex;padding:.25rem;border-radius:.375rem}.notif-prefs-close:hover{background:#f1f5f9;color:#111827}.notif-prefs-body{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:1rem}.notif-prefs-muted{padding:1.5rem;color:#6b7280;text-align:center}.notif-prefs-fieldset{border:1px solid #e5e7eb;border-radius:.5rem;padding:.5rem .9rem .75rem;margin:0}.notif-prefs-fieldset legend{font-weight:700;font-size:.85rem;color:#374151;padding:0 .3rem}.notif-prefs-row{display:flex;align-items:flex-start;gap:.6rem;padding:.35rem 0;cursor:pointer;font-size:.9rem}.notif-prefs-row input{margin-top:.2rem;accent-color:#1A1F71}.notif-prefs-row span{display:flex;flex-direction:column}.notif-prefs-row small{color:#6b7280;font-size:.78rem}.notif-prefs-switch{padding:.25rem 0}.notif-prefs-footer{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;padding:.9rem 1.25rem;border-top:1px solid #e5e7eb;background:#f8fafc}.notif-prefs-error{color:#b91c1c;font-size:.85rem;margin-right:auto}.notif-prefs-saved{color:#15803d;font-size:.85rem;margin-right:auto}.notif-prefs-btn{border:1px solid #d1d5db;background:#fff;color:#374151;padding:.45rem .9rem;border-radius:.5rem;font-weight:600;cursor:pointer}.notif-prefs-btn-primary{background:#1a1f71;border-color:#1a1f71;color:#fff}.notif-prefs-btn:disabled{opacity:.6;cursor:default}@media(max-width:768px){.notif-bell__dropdown{position:fixed;top:4rem;right:.5rem;left:.5rem;width:auto;max-width:none;max-height:calc(100dvh - 5rem);overflow-y:auto}}.billing-page{max-width:1100px;margin:0 auto;padding:1.5rem 1rem 3rem;color:var(--text-main, #1e293b)}.billing-page h1{font-size:1.5rem;margin:0 0 .25rem}.billing-page h2{font-size:1.1rem;margin:0 0 .75rem}.billing-muted{color:var(--text-muted, #64748b);font-size:.875rem}.billing-section{background:var(--bg-card, #fff);border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:1.25rem;margin-top:1.25rem}.billing-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.billing-stat-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted, #64748b)}.billing-stat-value{font-size:1.15rem;font-weight:600;margin-top:.15rem}.billing-meter{height:6px;background:var(--border, #e2e8f0);border-radius:3px;margin-top:.4rem;overflow:hidden}.billing-meter span{display:block;height:100%;background:var(--primary, #6366f1)}.billing-meter--full span{background:var(--danger, #ef4444)}.billing-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.billing-plan{border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:1rem;display:flex;flex-direction:column;gap:.5rem}.billing-plan--current{border-color:var(--primary, #6366f1);box-shadow:0 0 0 1px var(--primary, #6366f1)}.billing-plan--suggested{border-color:var(--warning, #eab308)}.billing-plan-price{font-size:1.4rem;font-weight:700}.billing-plan-price small{font-size:.8rem;font-weight:400;color:var(--text-muted, #64748b)}.billing-plan .billing-btn{margin-top:auto}.billing-btn{border:1px solid var(--border, #cbd5e1);background:var(--bg-card, #fff);color:var(--text-main, #1e293b);border-radius:6px;padding:.5rem .9rem;font-size:.875rem;font-weight:500;cursor:pointer}.billing-btn:disabled{opacity:.55;cursor:not-allowed}.billing-btn-primary{background:var(--primary, #6366f1);border-color:var(--primary, #6366f1);color:#fff}.billing-btn-danger{color:var(--danger, #ef4444);border-color:var(--danger, #ef4444)}.billing-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.billing-input,.billing-select{border:1px solid var(--border, #cbd5e1);border-radius:6px;padding:.45rem .6rem;font-size:.875rem;background:var(--bg-card, #fff);color:var(--text-main, #1e293b)}.billing-table-wrap{overflow-x:auto}.billing-table{width:100%;border-collapse:collapse;font-size:.875rem}.billing-table th,.billing-table td{text-align:left;padding:.55rem .5rem;border-bottom:1px solid var(--border, #e2e8f0);vertical-align:top}.billing-table th{font-weight:600;color:var(--text-muted, #64748b);font-size:.75rem;text-transform:uppercase}.billing-table td.num,.billing-table th.num{text-align:right;white-space:nowrap}.billing-quote{display:grid;grid-template-columns:1fr auto;gap:.3rem 1.5rem;max-width:420px;font-size:.9rem}.billing-quote .total{font-weight:700;border-top:1px solid var(--border, #e2e8f0);padding-top:.3rem}.billing-error{color:var(--danger, #b91c1c);background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:.6rem .8rem;font-size:.875rem}.billing-notice{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:.6rem .8rem;font-size:.875rem}.billing-badge{display:inline-block;font-size:.7rem;font-weight:600;text-transform:uppercase;border-radius:999px;padding:.1rem .5rem;background:var(--border, #e2e8f0);color:var(--text-main, #1e293b)}.billing-badge--active{background:#dcfce7;color:#166534}.billing-badge--trial,.billing-badge--trialing{background:#dbeafe;color:#1e40af}.billing-badge--read_only,.billing-badge--past_due,.billing-badge--grace{background:#fef3c7;color:#92400e}.billing-badge--locked,.billing-badge--expired{background:#fee2e2;color:#991b1b}.billing-banner{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;text-align:center}.billing-banner--info{background:#eff6ff;color:#1e3a8a}.billing-banner--warning{background:#fffbeb;color:#92400e}.billing-banner--danger{background:#fef2f2;color:#991b1b}.billing-banner-link{font-weight:600;color:inherit;text-decoration:underline}.billing-banner-note{opacity:.8}.billing-modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:10050}.billing-modal{background:var(--bg-card, #fff);color:var(--text-main, #1e293b);border-radius:12px;padding:1.5rem;max-width:440px;width:100%;box-shadow:0 20px 40px #0003}.billing-modal h2{margin:0 0 .5rem;font-size:1.2rem}.billing-modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.25rem}.console-tabs{display:flex;flex-wrap:wrap;gap:.25rem;border-bottom:1px solid var(--border, #e2e8f0);margin:1rem 0 0}.console-tab{padding:.55rem .9rem;border-bottom:2px solid transparent;color:var(--text-muted, #64748b);text-decoration:none;font-weight:500;font-size:.9rem}.console-tab--active{color:var(--primary, #6366f1);border-bottom-color:var(--primary, #6366f1)}.console-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem 1rem;align-items:end}.console-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-muted, #64748b)}.console-form label.checkbox{flex-direction:row;align-items:center;gap:.4rem}@media(max-width:640px){.billing-page{padding:1rem .75rem 2rem}.billing-section{padding:1rem}}.account-locked:has(.account-locked-billing){flex-direction:column;gap:1.5rem}.account-locked-billing{width:100%;max-width:1100px;background:var(--bg-main, #f8fafc);border-radius:12px}.billing-branding{display:grid;gap:10px;max-width:520px;margin-top:18px}.billing-branding label{display:grid;gap:4px;font-size:14px}.billing-branding input{padding:8px 10px;border:1px solid var(--border-color, #d0d5dd);border-radius:6px;font:inherit}.billing-branding .billing-btn{justify-self:start}.billing-muted a{color:inherit;text-decoration:underline;text-underline-offset:2px}.company-banner{display:flex;align-items:center;gap:.6rem;padding:.55rem 1rem;font-size:.875rem;line-height:1.4;flex-wrap:wrap}.company-banner span{flex:1 1 18rem}.company-banner button,.company-banner a{border:1px solid currentColor;background:transparent;color:inherit;border-radius:.4rem;padding:.25rem .8rem;font-weight:600;cursor:pointer;text-decoration:none;font-size:.85rem}.company-banner--impersonation{background:#7c2d12;color:#fff7ed;position:sticky;top:0;z-index:60}.company-banner--read-only{background:#fef3c7;color:#78350f}.company-banner--welcome{background:#eef2ff;color:#3730a3}.company-banner a.company-banner-inline-link{border:none;padding:0;border-radius:0;text-decoration:underline;text-underline-offset:2px}.legal-links{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1rem 16px 1.25rem;font-size:.8rem;color:#64748b;text-align:center}.legal-links nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1rem}.legal-links a{color:inherit;text-decoration:underline;text-underline-offset:2px;display:inline-block;padding:.35rem 0}.legal-links a:hover,.legal-links a:focus-visible{color:#1a1f71}.legal-links--compact{padding:.5rem 16px 1rem}.login-page .legal-links{color:#cbd5e1}.login-page .legal-links a:hover,.login-page .legal-links a:focus-visible{color:#fff}.layout{display:flex;flex-direction:column;min-height:100vh}.header-gradient{position:relative;z-index:30;background-color:#1a1f71;color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.header-top{padding:.75rem 1.5rem;border-bottom:1px solid rgba(59,130,246,.3);display:flex;align-items:center;justify-content:space-between}.header-brand-section{display:flex;align-items:center;gap:1rem}.header-logo{width:2.5rem;height:2.5rem;background:#fff3;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.header-title{font-size:1.5rem;font-weight:700;margin:0;color:#fff}.header-subtitle{font-size:.875rem;color:#c7d2fe;margin:.25rem 0 0}.header-subtitle span{font-weight:500;color:#fff}.header-user-section{display:flex;align-items:center;gap:.75rem}.header-user-info{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;position:relative;z-index:10}.header-user-name{font-weight:500;color:#fff;font-size:.95rem}.header-logout-btn{background:none;border:none;color:#c7d2fe;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;padding:.25rem .5rem;line-height:1;transition:color .2s;pointer-events:auto;position:relative;z-index:10}.header-logout-btn:hover{color:#fff}.header-user-menu{position:relative}.header-avatar{width:2.75rem;height:2.75rem;padding:0;cursor:pointer;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#1a1f71;box-shadow:inset 0 1px #ffffff4d,inset 0 -1px #0003,0 2px 4px #00000026,0 1px 2px #0000001a;border:1px solid rgba(0,0,0,.1);position:relative;overflow:hidden}.header-avatar:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,#fff3,#ffffff0d,#0000000d);pointer-events:none}.header-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.header-avatar span{font-size:.875rem;z-index:1}.header-nav{padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.header-nav-left{display:flex;align-items:center;justify-content:space-between;flex:1;gap:.75rem;min-width:0}.header-project-search{position:relative;flex:1;max-width:18rem;min-width:8rem}.header-project-search__input{width:100%;padding:.4rem .65rem;border-radius:.375rem;border:1px solid rgba(255,255,255,.35);background:#ffffff1f;color:#fff;font-size:.8125rem;outline:none}.header-project-search__input::placeholder{color:#ffffff8c}.header-project-search__input:focus{border-color:#ffffffa6;background:#ffffff2e}.header-project-search__dropdown{position:absolute;top:calc(100% + 4px);right:0;width:28rem;max-width:calc(100vw - 2rem);margin:0;padding:.25rem 0;list-style:none;background:#fff;border-radius:.375rem;box-shadow:0 10px 25px #00000026;z-index:200;max-height:24rem;overflow-y:auto;color:#0f172a}.header-search__group{margin:0;padding:0;list-style:none}.header-search__group+.header-search__group{border-top:1px solid #e2e8f0;margin-top:.25rem;padding-top:.25rem}.header-search__group-title{padding:.35rem .75rem .15rem;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.header-search__empty{padding:.6rem .75rem;font-size:.8125rem;color:#64748b}.header-project-search__option.is-active{background:#e0e7ff}.header-project-search__option.header-search__task{flex-direction:column;align-items:stretch;gap:.15rem}.header-search__task-top{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.header-search__task-meta{font-size:.72rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-search__task-snippet{font-size:.75rem;color:#475569;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.header-search__task-snippet mark{background:#fef08a;color:inherit;padding:0 1px;border-radius:2px}.header-search__priority{flex-shrink:0;font-size:.7rem;font-weight:600;padding:0 .4rem;border-radius:9999px;background:#f1f5f9;color:#334155}.header-project-search__option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;border:none;background:none;cursor:pointer;font-size:.8125rem;text-align:left;color:#0f172a}.header-project-search__option:hover{background:#f1f5f9}.header-project-search__name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-project-search__code{flex-shrink:0;font-size:.75rem;color:#64748b}.header-nav-right{display:flex;align-items:center;gap:.75rem}.header-nav-menu{display:flex;align-items:center;gap:.25rem}.nav-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;color:#c7d2fe;text-decoration:none;transition:all .2s;font-size:.875rem}.nav-item:hover{color:#fff;background:#ffffff1a}.nav-item-active{background:#fff3;color:#fff}.nav-item svg{width:1.25rem;height:1.25rem}.mobile-menu-btn{display:none;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;background:none;border:none;color:#fff;cursor:pointer;padding:0;border-radius:.5rem;transition:background .2s}.mobile-menu-btn:hover{background:#ffffff1a}.mobile-menu-btn svg{width:1.5rem;height:1.5rem}.header-user-dropdown{position:absolute;top:calc(100% + .5rem);right:0;z-index:70;min-width:15rem;max-width:calc(100vw - 1rem);padding:.35rem;background:#fff;color:#0f172a;border-radius:.75rem;border:1px solid #e2e8f0;box-shadow:0 12px 32px #0f172a40}.header-user-dropdown__who{display:flex;flex-direction:column;gap:.1rem;padding:.6rem .75rem;border-bottom:1px solid #e2e8f0;margin-bottom:.25rem;font-size:.9rem;overflow-wrap:anywhere}.header-user-dropdown__who span{font-size:.8rem;color:#64748b}.header-user-dropdown__item{display:flex;align-items:center;gap:.6rem;width:100%;min-height:2.75rem;padding:0 .75rem;border-radius:.5rem;background:none;color:#0f172a;font-size:.9rem;font-weight:500;text-align:left}.header-user-dropdown__item:hover,.header-user-dropdown__item:focus-visible{background:#eef2ff}.header-user-dropdown__hint{display:flex;gap:.6rem;align-items:flex-start;padding:.6rem .75rem;font-size:.85rem;color:#334155}.header-user-dropdown__hint svg{flex-shrink:0;margin-top:.1rem}.mobile-menu{display:none;background:#1e3a8a;border-top:1px solid rgba(59,130,246,.3)}.mobile-menu-open{display:block}.mobile-nav{padding:1rem 1.5rem;display:flex;flex-direction:column;gap:.5rem}.mobile-nav-item{display:flex;align-items:center;gap:.5rem;padding:.75rem;border-radius:.5rem;color:#c7d2fe;text-decoration:none;transition:all .2s;font-size:.875rem}.mobile-nav-item:hover,.mobile-nav-active{color:#fff;background:#1e40af}.mobile-nav-item svg{width:1.25rem;height:1.25rem}.header-action-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;color:#0284c7;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.header-action-btn:hover{background:#f0f9ff;box-shadow:0 2px 4px #0000001a;transform:translateY(-1px)}.header-action-btn svg{width:1.25rem;height:1.25rem}.team-add-btn-header{box-shadow:0 1px 2px #0000001a}@media(max-width:768px){.header-nav-right{display:none}}.content{flex:1;overflow-y:auto;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}@media(max-width:1100px){.header-nav-menu{flex-wrap:wrap}.nav-item{padding:.5rem .65rem}}@media(max-width:768px){.header-top{padding:.5rem .75rem;padding-top:max(.5rem,env(safe-area-inset-top));gap:.5rem}.header-brand-section{gap:.6rem;min-width:0}.header-brand-text{min-width:0}.header-logo{flex-shrink:0}.header-subtitle{display:none}.header-user-section{gap:.4rem;flex-shrink:0}.header-nav-menu{display:none}.header-nav{display:none;padding:.5rem .75rem .75rem}.layout--menu-open .header-nav{display:flex}.header-project-search{max-width:none}.header-project-search__input{min-height:2.75rem;font-size:1rem}.header-project-search__dropdown{left:0;right:0;width:auto;max-width:none}.header-project-search__option{min-height:2.75rem}.mobile-menu-btn{display:inline-flex}.mobile-menu{display:none}.mobile-menu-open{display:block}.mobile-nav{padding:.5rem .75rem .75rem;gap:.25rem}.mobile-nav-item{min-height:2.75rem;font-size:1rem}.header-title{font-size:1.25rem}.header-user-info{display:none}}@media(min-width:769px){.mobile-menu{display:none!important}}.login-page{min-height:100vh;background:linear-gradient(135deg,#0f172a,#312e81);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.login-main{margin:0 auto;display:flex;min-height:100vh;max-width:1200px;flex-direction:column;align-items:center;justify-content:center;gap:2.5rem;padding:3rem 1rem}@media(min-width:1024px){.login-main{flex-direction:row}}.login-form-section{width:100%;max-width:28rem;border-radius:1rem;background:#fffffff2;padding:2.5rem;box-shadow:0 25px 50px -12px #00000040;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideUp .6s ease-out}.login-header{text-align:center}.login-brand{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.3em;color:#6366f1;margin:0}.login-title{margin-top:.75rem;font-size:1.875rem;font-weight:700;color:#0f172a;margin-bottom:0}.login-subtitle{margin-top:.5rem;font-size:.875rem;color:#64748b;line-height:1.5}.status-banner{margin-top:2rem;border-radius:.75rem;border:1px solid;padding:.75rem 1rem;font-size:.875rem}.login-form{margin-top:2rem;display:flex;flex-direction:column;gap:1.25rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:#334155}.form-input{margin-top:.5rem;width:100%;border-radius:.5rem;border:1px solid #e2e8f0;background-color:#f8fafc;padding:.75rem 1rem;font-size:1rem;color:#0f172a;transition:all .2s;box-shadow:inset 0 2px 4px #0000000f}.form-options{display:flex;align-items:center;justify-content:space-between;font-size:.875rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;color:#475569;cursor:pointer}.checkbox-input{width:1rem;height:1rem;border-radius:.25rem;border:1px solid #cbd5e1;accent-color:#6366f1;cursor:pointer}.forgot-link{font-weight:600;color:#6366f1;text-decoration:none;transition:color .2s}.forgot-link:hover{color:#4f46e5}.login-button{width:100%;border-radius:.5rem;background-color:#6366f1;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#fff;border:none;transition:background-color .2s;cursor:pointer}.login-button:hover:not(:disabled){background-color:#4f46e5}.login-button:disabled{cursor:not-allowed;opacity:.6}.divider{margin:1.5rem 0;display:flex;align-items:center;text-align:center;color:#94a3b8;font-size:.875rem}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid #e2e8f0}.divider span{padding:0 1rem}.google-btn{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:.875rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.875rem;font-weight:600;color:#0f172a;transition:all .2s;box-shadow:0 1px 2px #0000000d;cursor:pointer}.google-btn:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.google-btn img{width:20px;height:20px}.login-footer{margin-top:2rem;text-align:center;font-size:.875rem;color:#64748b}.verify-link-inline{font-weight:600;color:#6366f1;text-decoration:none;transition:color .2s}.verify-link-inline:hover{color:#4f46e5;text-decoration:underline}.login-info-section{width:100%;max-width:28rem;border-radius:1.5rem;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;padding:2.5rem;color:#fff;box-shadow:0 25px 50px -12px #00000040;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.info-label{font-size:.875rem;text-transform:uppercase;letter-spacing:.3em;color:#c7d2fe;margin:0 0 1.5rem}.info-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:1.25rem;font-size:.875rem;line-height:1.75;color:#e2e8f0}.info-list li{margin:0}.info-link{font-weight:600;color:#fff;text-decoration:underline;transition:opacity .2s}.info-link:hover{opacity:.8}.otp-info{margin-bottom:1.5rem;padding:1rem;background:#f1f5f9;border-radius:.5rem;text-align:center}.otp-info p{margin:.5rem 0;color:#475569;font-size:.875rem}.otp-info p:first-child{font-size:.9375rem;color:#1e293b}.otp-hint{font-size:.8125rem!important;color:#64748b!important}.otp-input{text-align:center;font-size:1.5rem;letter-spacing:.5rem;font-weight:600}.otp-actions{display:flex;gap:1rem;margin-top:1.5rem}.back-button{flex:1;padding:.75rem 1.5rem;background:#fff;border:2px solid #e2e8f0;border-radius:.5rem;color:#475569;font-weight:500;cursor:pointer;transition:all .2s}.back-button:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.back-button:disabled{opacity:.5;cursor:not-allowed}.first-login-page{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;align-items:center;justify-content:center;padding:3rem 1rem}.first-login-main{width:100%;max-width:28rem}.first-login-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;padding:2rem;animation:slideUp .6s ease-out}.first-login-header{text-align:center;margin-bottom:2rem}.first-login-brand{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.3em;color:#6366f1;margin:0}.first-login-title{margin-top:.5rem;font-size:1.5rem;font-weight:700;color:#0f172a;margin-bottom:0}.first-login-subtitle{margin-top:.5rem;font-size:.875rem;color:#64748b;line-height:1.5}.first-login-form{display:flex;flex-direction:column;gap:1rem}.first-login-form.form-disabled{opacity:.4;pointer-events:none}.first-login-help{margin-top:1.5rem;text-align:center;font-size:.875rem;color:#64748b}.first-login-expiry{margin-top:.5rem;text-align:center;font-size:.75rem;color:#94a3b8}.expiry-link{font-weight:600;color:#6366f1;text-decoration:none;transition:color .2s}.expiry-link:hover{color:#4f46e5}.forgot-password-page{min-height:100vh;background:linear-gradient(135deg,#141e30,#243b55);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;align-items:center;justify-content:center;padding:3rem 1rem}.forgot-password-main{width:100%;max-width:28rem}.forgot-password-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;padding:2rem;animation:slideUp .6s ease-out}.forgot-password-header{text-align:center;margin-bottom:2rem}.forgot-password-brand{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.3em;color:#6366f1;margin:0}.forgot-password-title{margin-top:.5rem;font-size:1.5rem;font-weight:700;color:#0f172a;margin-bottom:0}.forgot-password-subtitle{margin-top:.5rem;font-size:.875rem;color:#64748b;line-height:1.5}.status-banner{margin-bottom:1.5rem;border-radius:.75rem;border:1px solid;padding:.75rem 1rem;font-size:.875rem}.status-banner.otp-status{margin-bottom:1rem}.status-success{border-color:#a7f3d0;background-color:#ecfdf5;color:#065f46}.status-error{border-color:#fecdd3;background-color:#fff1f2;color:#991b1b}.status-info{border-color:#bae6fd;background-color:#f0f9ff;color:#0c4a6e}.forgot-password-form{display:flex;flex-direction:column;gap:1rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:#334155;margin-bottom:.5rem}.form-input{width:100%;border-radius:.5rem;border:1px solid #e2e8f0;background-color:#f8fafc;padding:.75rem 1rem;font-size:1rem;color:#0f172a;transition:all .2s;box-shadow:inset 0 2px 4px #0000000f}.form-input:focus{outline:none;border-color:#6366f1;background-color:#fff;box-shadow:0 0 0 3px #6366f11a}.form-input:disabled{cursor:not-allowed;opacity:.6}.code-input{text-align:center;letter-spacing:.5em;font-size:1.125rem;font-weight:600;padding:.75rem 1rem}.submit-button{width:100%;border-radius:.5rem;background-color:#6366f1;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#fff;border:none;transition:background-color .2s;cursor:pointer;margin-top:.5rem}.submit-button:hover:not(:disabled){background-color:#4f46e5}.submit-button:disabled{cursor:not-allowed;opacity:.6}.otp-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #f1f5f9}.otp-section-title{font-size:1rem;font-weight:600;color:#0f172a;margin:0 0 .25rem}.otp-section-subtitle{margin-top:.25rem;font-size:.875rem;color:#64748b}.otp-form{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}.otp-submit-button{width:100%;border-radius:.5rem;background-color:#10b981;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#fff;border:none;transition:background-color .2s;cursor:pointer;margin-top:.5rem}.otp-submit-button:hover:not(:disabled){background-color:#059669}.otp-submit-button:disabled{cursor:not-allowed;opacity:.6}.forgot-password-help{margin-top:2rem;display:flex;flex-direction:column;gap:.75rem;font-size:.875rem;color:#64748b}.help-link{font-weight:600;color:#6366f1;text-decoration:none;transition:color .2s}.help-link:hover{color:#4f46e5}.verify-page{min-height:100vh;background:linear-gradient(120deg,#020617,#312e81);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;align-items:center;justify-content:center;padding:3rem 1rem;color:#0f172a}.verify-main{width:100%;max-width:64rem;display:grid;gap:1.5rem;grid-template-columns:1fr}@media(min-width:1024px){.verify-main{grid-template-columns:repeat(2,1fr)}}.verify-form-section{border-radius:1rem;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;box-shadow:0 25px 50px -12px #00000040;animation:slideUp .6s ease-out}.verify-header{margin-bottom:1.5rem;text-align:center}.verify-brand{font-size:.75rem;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:#6366f1;margin:0 0 .5rem}.verify-title{margin:.5rem 0;font-size:1.5rem;font-weight:700;color:#0f172a}.verify-subtitle{margin:.5rem 0 0;font-size:.875rem;color:#64748b;line-height:1.5}.status-banner{margin-bottom:1.5rem;border-radius:.75rem;border:1px solid;padding:.75rem 1rem;font-size:.875rem;animation:slideUp .3s ease-out}.status-success{border-color:#10b981;background-color:#d1fae5;color:#065f46}.status-error{border-color:#f43f5e;background-color:#fee2e2;color:#991b1b}.status-info{border-color:#0ea5e9;background-color:#e0f2fe;color:#0c4a6e}.status-info-section.status-success{border-color:#10b9814d;background-color:#d1fae54d;color:#fff}.status-info-section.status-error{border-color:#f43f5e4d;background-color:#fee2e24d;color:#fff}.status-info-section.status-info{border-color:#fff6;background-color:#ffffff1a;color:#fff}.verify-form{display:flex;flex-direction:column;gap:1rem}.resend-form{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}.form-label{display:block;font-size:.875rem;font-weight:500;color:#1e293b;margin-bottom:.5rem}.form-label-light{color:#ffffffe6}.form-input{width:100%;margin-top:.5rem;border-radius:.5rem;border:1px solid #e2e8f0;background-color:#f8fafc;padding:.75rem 1rem;font-size:1rem;color:#0f172a;box-shadow:inset 0 2px 4px #0000000f;transition:all .2s}.form-input:focus{outline:none;border-color:#6366f1;background-color:#fff;box-shadow:0 0 0 2px #6366f11a}.form-input::placeholder{color:#94a3b8}.code-input{text-align:center;letter-spacing:.5em;font-size:1.125rem;font-weight:600}.form-input-light{border-color:#fff6;background-color:#fff3;color:#fff}.form-input-light::placeholder{color:#fff9}.form-input-light:focus{border-color:#fff;background-color:#ffffff4d;box-shadow:0 0 0 2px #fff6}.verify-button{width:100%;border-radius:.5rem;background:#6366f1;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#fff;border:none;cursor:pointer;transition:all .2s}.verify-button:hover:not(:disabled){background:#4f46e5}.verify-button:disabled{cursor:not-allowed;opacity:.6}.verify-button-secondary{width:100%;border-radius:.5rem;border:1px solid rgba(15,23,42,.1);background:#fff;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#0f172a;cursor:pointer;transition:all .2s}.verify-button-secondary:hover:not(:disabled){background:#f8fafc}.verify-button-secondary:disabled{cursor:not-allowed;opacity:.6}.resend-button{width:100%;border-radius:.5rem;background:#ffffffe6;padding:.75rem;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#312e81;border:none;cursor:pointer;transition:all .2s}.resend-button:hover:not(:disabled){background:#fff}.resend-button:disabled{cursor:not-allowed;opacity:.6}.verify-help-text{margin-top:1rem;font-size:.75rem;color:#64748b;line-height:1.5}.verify-divider{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #f1f5f9}.divider-title{font-size:1rem;font-weight:600;color:#0f172a;margin:0 0 .25rem}.divider-subtitle{margin:.25rem 0 1rem;font-size:.875rem;color:#64748b}.verify-footer{margin-top:1.5rem;text-align:center;font-size:.875rem;color:#64748b}.verify-link{font-weight:600;color:#6366f1;text-decoration:none;transition:color .2s}.verify-link:hover{color:#4f46e5}.verify-info-section{border-radius:1rem;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;box-shadow:0 25px 50px -12px #00000040;color:#fff;animation:slideUp .6s ease-out .1s both}.info-title{font-size:1.125rem;font-weight:600;letter-spacing:.025em;margin:0 0 .5rem;color:#fff}.info-subtitle{margin:.5rem 0 0;font-size:.875rem;color:#fffc;line-height:1.5}.info-list{margin-top:1.5rem;padding:0;list-style:none;display:flex;flex-direction:column;gap:.5rem;font-size:.875rem;color:#fffc;line-height:1.6}.info-list li{padding-left:0}@media(max-width:1023px){.verify-main{grid-template-columns:1fr}.verify-info-section{order:-1}}@media(max-width:640px){.verify-page{padding:1.5rem 1rem}.verify-form-section,.verify-info-section{padding:1.5rem}.verify-title{font-size:1.25rem}.code-input{font-size:1rem;letter-spacing:.3em}}.modal-content.template-dialog{max-width:720px!important}.template-options{display:flex;flex-direction:column;gap:.75rem;margin:1.5rem 0 0}.template-options .sprints-toggle{margin-bottom:0}.template-error{margin:1rem 0 0;padding:.75rem 1rem;border-radius:.5rem;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:.875rem}.template-empty{margin:0;color:#64748b;font-size:.9rem}.template-description{margin:.25rem 0 0;color:#475569;font-size:.85rem}.template-counts,.template-meta{margin:.25rem 0 0;color:#64748b;font-size:.8rem}.create-mode-switch{display:inline-flex;gap:.25rem;margin:1.25rem 2.5rem 0;padding:.25rem;border-radius:.5rem;background:#f1f5f9;align-self:flex-start}.create-mode-switch button{border:none;background:transparent;padding:.5rem 1rem;border-radius:.375rem;font-weight:600;font-size:.875rem;color:#475569;cursor:pointer}.create-mode-switch button[aria-pressed=true]{background:#fff;color:#1d4ed8;box-shadow:0 1px 2px #00000014}.template-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem}.template-choice{display:flex;gap:.75rem;align-items:flex-start;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:.75rem;background:#fff;cursor:pointer}.template-choice.is-selected{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.template-choice input{margin-top:.2rem;accent-color:#2563eb}.template-choice span{display:flex;flex-direction:column;min-width:0}.template-choice strong{color:#1e293b;font-size:.95rem}.template-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.template-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.25rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff}.template-row strong{color:#1e293b}.template-delete{flex-shrink:0;width:2.25rem;height:2.25rem;border-radius:50%;border:1px solid #fecaca;background:#fef2f2;color:#dc2626;display:flex;align-items:center;justify-content:center;cursor:pointer}.template-delete:hover{background:#fee2e2}.template-dialog-footer{padding:1rem 2.5rem}.btn-templates{background:#fff;color:#1e293b;border:1px solid #cbd5e1;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;font-size:.95rem;display:flex;align-items:center;gap:.5rem;cursor:pointer}.btn-templates:hover{background:#f8fafc}.projects-toolbar-actions{display:flex;gap:.75rem;align-items:center}.action-clone{background:linear-gradient(135deg,#34d399,#059669);color:#fff}.action-template{background:linear-gradient(135deg,#fbbf24,#d97706);color:#fff}@media(max-width:640px){.create-mode-switch{margin:1rem 1rem 0}.template-dialog .form-grid{grid-template-columns:1fr}.template-dialog-footer{padding:1rem}}.projects-page{min-height:100vh;background:#f8fafc;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.btn-add-project{background:#3b82f6;color:#fff;border:none;padding:.5rem 1rem;border-radius:.5rem;font-weight:700;font-size:1rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px -1px #0000001a}.btn-add-project:hover{background:#2563eb;box-shadow:0 6px 8px -1px #00000026}.metrics-section{margin-top:120px;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.metric-card{border-radius:.5rem;padding:1rem;background:linear-gradient(to bottom right,var(--metric-start),var(--metric-end))}.metric-blue{--metric-start: #dbeafe;--metric-end: #bfdbfe}.metric-green{--metric-start: #d1fae5;--metric-end: #a7f3d0}.metric-purple{--metric-start: #e9d5ff;--metric-end: #d8b4fe}.metric-orange{--metric-start: #fed7aa;--metric-end: #fdba74}.metric-content{display:flex;align-items:center;justify-content:space-between}.metric-label{font-size:.875rem;font-weight:500;color:#4b5563;margin:0 0 .25rem}.metric-value{font-size:1.5rem;font-weight:700;color:#111827;margin:.25rem 0}.metric-subtext{font-size:.75rem;color:#4b5563;margin:.25rem 0 0}.metric-icon{width:3rem;height:3rem;background:var(--metric-icon-bg);border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:var(--metric-icon-color)}.metric-blue .metric-icon{--metric-icon-bg: #3b82f6;--metric-icon-color: white}.metric-green .metric-icon{--metric-icon-bg: #10b981;--metric-icon-color: white}.metric-purple .metric-icon{--metric-icon-bg: #a855f7;--metric-icon-color: white}.metric-orange .metric-icon{--metric-icon-bg: #f59e0b;--metric-icon-color: white}.projects-main{padding:1.25rem 1.5rem 2rem;max-width:1600px;margin:0 auto}.projects-toolbar{margin-bottom:1.25rem;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:1rem}.projects-toolbar-left{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;min-width:0}.projects-page-title{margin:0;font-size:1.5rem;font-weight:700;color:#0f172a;letter-spacing:-.02em}.projects-show-completed{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;font-size:.875rem;color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none;max-width:100%}.projects-show-completed-row{display:inline-flex;align-items:center;gap:.5rem}.projects-show-completed-hint{font-size:.75rem;font-weight:400;color:#64748b;line-height:1.35;padding-left:1.5rem;max-width:22rem}.projects-show-completed input{width:1rem;height:1rem;accent-color:#2563eb}.project-status-tabs{display:flex;align-items:center;gap:.5rem;margin:0 0 1.25rem;padding:.375rem;width:fit-content;max-width:100%;overflow-x:auto;border:1px solid #dbe3ee;border-radius:.75rem;background:#f8fafce6}.project-status-tab{border:0;border-radius:.5rem;padding:.5rem .75rem;white-space:nowrap;color:#475569;background:transparent;font-size:.8125rem;font-weight:650;cursor:pointer}.project-status-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;margin-left:.25rem;padding:0 .25rem;border-radius:999px;color:#64748b;background:#e2e8f0;font-size:.6875rem}.project-status-tab:hover,.project-status-tab:focus-visible{color:#1d4ed8;background:#eff6ff;outline:none}.project-status-tab.is-active{color:#fff;background:#1d4ed8;box-shadow:0 2px 5px #1d4ed83d}.project-status-tab.is-active span{color:#1e40af;background:#dbeafe}.project-card--highlight{outline:2px solid #2563eb;outline-offset:2px;box-shadow:0 0 0 4px #2563eb33}.projects-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:1.5rem!important;width:100%}.project-card{background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;cursor:pointer;transition:all .2s;position:relative;overflow:visible;min-width:0;width:100%}.project-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.project-card-actions{position:absolute;top:.75rem;right:.75rem;display:flex;gap:.5rem;opacity:0;transition:opacity .2s;z-index:10}.project-card:hover .project-card-actions{opacity:1}.action-btn{width:2.5rem;height:2.5rem;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 6px -1px #0000001a;transition:all .2s}.action-edit{background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#fff}.action-delete{background:linear-gradient(135deg,#f87171,#dc2626);color:#fff}.action-backlog{background:linear-gradient(135deg,#a78bfa,#7c3aed);color:#fff}.sprints-toggle{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;margin-bottom:1rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;cursor:pointer}.sprints-toggle input{width:1.1rem;height:1.1rem;margin-top:.15rem;accent-color:#7c3aed}.sprints-toggle span{display:flex;flex-direction:column;gap:.15rem}.sprints-toggle strong{color:#1e293b;font-size:.95rem}.sprints-toggle small{color:#64748b;font-size:.8rem}.action-btn:hover{transform:scale(1.1);box-shadow:0 6px 8px -1px #00000026}.project-card-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem}.project-icon{width:3rem;height:3rem;background:linear-gradient(to bottom right,#3b82f6,#2563eb);border-radius:.75rem;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.project-title-section{flex:1;min-width:0}.project-title-section h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0 0 .25rem}.project-description{font-size:.875rem;color:#6b7280;margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;flex-shrink:0}.badge-success{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}.badge-info{background-color:#dbeafe;color:#0c2d6b;border:1px solid #93c5fd}.badge-warning{background-color:#fed7aa;color:#7c2d12;border:1px solid #fdba74}.badge-danger{background-color:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5}.badge-secondary{background-color:#e2e8f0;color:#1e293b;border:1px solid #cbd5e0}.project-progress{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;font-size:.875rem;color:#4b5563;margin-bottom:.5rem}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:9999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(to right,#60a5fa,#a855f7);border-radius:9999px;transition:width .3s}.project-sprint-info{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.sprint-card{background:#f9fafb;border-radius:.5rem;padding:.75rem}.sprint-label{font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.sprint-value{font-weight:600;color:#111827;font-size:.875rem}.project-footer{display:flex;align-items:center;justify-content:space-between}.team-avatar-overflow{color:#111827;border-color:#cbd5e1;background:#e5e7eb;box-shadow:0 2px 4px #0000001a}.project-budget{text-align:right}.project-card-financials{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.project-deadline{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;color:#475569;font-size:.75rem;text-align:right}.project-deadline svg{flex:0 0 auto}.project-deadline span,.project-deadline strong{display:block}.project-deadline span{color:#64748b;font-size:.6875rem;font-weight:500}.project-deadline strong{color:inherit;font-weight:700}.project-deadline--soon{color:#b45309}.project-deadline--overdue{color:#dc2626}.budget-value{font-size:.875rem;font-weight:600;color:#111827;margin-bottom:.25rem}.budget-link{font-size:.75rem;font-weight:500;color:#3b82f6;background:none;border:none;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;padding:0}.budget-link:hover{color:#2563eb}.allocated-hours-indicator{font-size:.75rem;color:#6b7280;margin-top:.25rem}.modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;overflow-y:auto}.modal-content{background:#fff;border-radius:1rem;box-shadow:0 25px 50px -12px #00000040;width:100%;max-width:990px!important;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:2rem 2.5rem;border-bottom:1px solid #e5e7eb;display:flex;align-items:flex-start;justify-content:space-between;flex-shrink:0}.modal-header h2{font-size:1.875rem;font-weight:700;color:#111827;margin:0 0 .5rem}.modal-header p{color:#6b7280;font-size:.875rem;margin:0}.project-name-text{font-size:.75rem;color:#9ca3af;margin-top:.5rem}.modal-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:.5rem;border-radius:.5rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#f3f4f6;color:#111827}.modal-form{flex:1;overflow-y:auto;padding:1.25rem 2.5rem}.form-section{background:#f9fafb;border:1px solid #d1d5db;border-radius:1.5rem;padding:2rem;margin-bottom:1.5rem}.section-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0 0 1rem;display:flex;align-items:center;gap:.75rem}.section-icon{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:600}.form-section:nth-of-type(1) .section-icon{background:#3b82f6;color:#fff}.form-section:nth-of-type(2) .section-icon{background:#10b981;color:#fff}.form-section:nth-of-type(3) .section-icon{background:#a855f7;color:#fff}.form-section:nth-of-type(4) .section-icon{background:#f59e0b;color:#fff}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;margin-top:1rem}.form-field{display:flex;flex-direction:column;gap:.625rem}.form-field.full-width{grid-column:1 / -1}.form-field label{font-size:.875rem;font-weight:700;color:#111827;display:flex;align-items:center;gap:.25rem}.required{color:#3b82f6;font-size:.75rem}.form-field input,.form-field select,.form-field textarea{width:100%;padding:1rem 1.25rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:.875rem;transition:all .2s;background:#fff;box-shadow:0 1px 2px #0000000d}.form-field input:hover,.form-field select:hover,.form-field textarea:hover{border-color:#d1d5db}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.form-field input:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.form-field textarea{resize:vertical;min-height:100px}.form-help{font-size:.75rem;color:#6b7280;margin:.5rem 0 0}.modal-footer{padding:1.5rem 2.5rem;border-top:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;flex-shrink:0}.btn-secondary,.btn-primary{flex:1;max-width:200px;padding:.75rem 1.25rem;border-radius:.5rem;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s;border:none}.btn-secondary{background:#fff;color:#374151;border:2px solid #d1d5db}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af;box-shadow:0 4px 6px -1px #0000001a}.btn-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 4px 6px -1px #0000001a}.btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 6px 8px -1px #00000026;transform:translateY(-1px)}.budget-modal{max-width:1000px}.budget-summary{padding:1rem 2.5rem;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.budget-summary-item{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;box-shadow:0 1px 2px #0000000d}.summary-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;margin-bottom:.25rem}.summary-value{font-size:1.125rem;font-weight:600;color:#111827;margin-top:.25rem}.summary-subtext{font-size:.75rem;color:#6b7280;margin-top:.25rem}.budget-utilization-item{grid-column:1 / -1}.utilization-progress-container{margin-top:.5rem}.utilization-progress-bar{width:100%;height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.utilization-progress-fill{height:100%;transition:width .3s ease,background-color .3s ease;border-radius:4px}.utilization-text{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.utilization-percent{font-weight:600;color:#111827}.utilization-details{color:#6b7280;font-size:.75rem}.utilization-cost{font-size:.75rem;color:#6b7280;margin-top:.25rem}.actual-hours-display{font-weight:500;color:#374151}.member-utilization{display:flex;align-items:center;gap:.5rem}.utilization-progress-bar-small{flex:1;height:6px;background-color:#e5e7eb;border-radius:3px;overflow:hidden}.utilization-progress-fill-small{height:100%;transition:width .3s ease,background-color .3s ease;border-radius:3px}.utilization-percent-small{font-size:.75rem;font-weight:600;color:#111827;min-width:35px;text-align:right}.no-allocation{color:#9ca3af;font-style:italic}.budget-table-container{flex:1;overflow-y:auto;padding:1rem 2.5rem}.budget-table{width:100%;border-collapse:collapse;font-size:.875rem}.budget-table thead{background:#f9fafb}.budget-table th{text-align:left;padding:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;color:#6b7280;border-bottom:1px solid #e5e7eb}.budget-table td{padding:1rem .75rem;border-bottom:1px solid #e5e7eb;color:#374151}.member-info{display:flex;align-items:center;gap:.75rem}.member-avatar-small{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:.75rem;text-transform:uppercase}.member-name{font-weight:600;color:#111827}.member-role{font-size:.75rem;color:#6b7280}.hours-input,.notes-input{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem}.hours-input{width:7rem}.empty-state{grid-column:1 / -1;text-align:center;padding:4rem 2rem;color:#6b7280}.empty-state h2{font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:#111827}.empty-state p{font-size:1rem;color:#6b7280}.loading-state{text-align:center;padding:4rem 2rem;color:#6b7280;font-size:1.125rem}@media(max-width:1800px){.projects-main{padding:1.25rem 1.25rem 2rem}.projects-grid{gap:1.25rem}.modal-content{max-width:990px!important}}@media(max-width:1024px){.projects-grid{grid-template-columns:repeat(2,1fr)!important;gap:1rem}}@media(max-width:1024px){.metrics-section{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}}@media(max-width:768px){.projects-toolbar{flex-direction:column;align-items:stretch}.btn-add-project{width:100%;justify-content:center}.metrics-section,.projects-grid{grid-template-columns:1fr}.project-status-tabs{width:100%}.project-footer{align-items:flex-end;gap:.75rem}.modal-content{max-width:95%!important;margin:1rem}.modal-header,.modal-form{padding:1.5rem}.budget-summary{grid-template-columns:repeat(2,1fr)}}.label-manager{display:flex;flex-direction:column;gap:8px}.label-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.label-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}.label-row-new{background:#fff;border-style:dashed}.label-swatch{width:14px;height:14px;border-radius:999px;flex-shrink:0;border:1px solid rgba(15,23,42,.15)}.label-name{flex:1;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.label-color-input{width:32px;height:28px;padding:0;border:1px solid #d1d5db;border-radius:6px;background:transparent;cursor:pointer;flex-shrink:0}.label-name-input{flex:1;min-width:0;padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.label-btn{padding:5px 10px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.label-btn:hover{background:#f3f4f6}.label-btn-primary{background:#2563eb;border-color:#2563eb;color:#fff}.label-btn-primary:hover{background:#1d4ed8}.label-btn-danger{color:#b91c1c;border-color:#fecaca}.label-btn-danger:hover{background:#fef2f2}.label-error{margin:0;font-size:13px;color:#b91c1c}.ai-guidance-bar{position:sticky;bottom:1rem;margin-top:1.25rem;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6fffa,#dbeafef2);box-shadow:0 18px 40px #1e40af24;border-radius:1rem;padding:1rem;display:grid;gap:1rem;z-index:5}.ai-guidance-bar__main{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start}.ai-guidance-bar__content{display:grid;gap:.45rem}.ai-guidance-bar__badge{align-self:start;background:#1d4ed8;color:#fff;border-radius:999px;padding:.4rem .75rem;font-size:.78rem;font-weight:700;letter-spacing:.04em}.ai-guidance-bar__main h3,.ai-guidance-bar__main p,.ai-guidance-bar__main small{margin:0}.ai-guidance-bar__main h3{color:#0f172a;font-size:1.2rem;line-height:1.35}.ai-guidance-bar__main p,.ai-guidance-bar__main small{color:#475569}.ai-guidance-bar__meta{display:flex;flex-wrap:wrap;gap:.6rem;font-size:.86rem}.ai-guidance-bar__meta span{border-radius:999px;background:#ffffffa8;padding:.25rem .55rem}.ai-guidance-bar__why{display:grid;gap:.5rem;padding:.9rem 1rem;border-radius:.9rem;background:#ffffff85}.ai-guidance-bar__why strong{color:#0f172a;font-size:.9rem}.ai-guidance-bar__why ul{margin:0;padding-left:1.1rem;color:#334155;display:grid;gap:.35rem;font-size:.88rem}.ai-guidance-bar__actions{display:grid;grid-template-columns:1.2fr .8fr;gap:.75rem}.ai-guidance-bar__secondary-actions{display:grid;gap:.75rem}.ai-guidance-bar__quick{border:1px solid rgba(59,130,246,.25);background:#ffffffd1;border-radius:.9rem;text-align:left;padding:.8rem .85rem;display:grid;gap:.35rem;cursor:pointer}.ai-guidance-bar__quick--primary{padding:1rem;box-shadow:0 10px 24px #1e40af14}.ai-guidance-bar__quick-label{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#2563eb}.ai-guidance-bar__quick strong{color:#0f172a}.ai-guidance-bar__quick span{color:#475569;font-size:.82rem}.ai-guidance-bar__toolbar{display:flex;justify-content:flex-end;gap:.75rem}@media(max-width:900px){.ai-guidance-bar__actions{grid-template-columns:1fr}.ai-guidance-bar__toolbar{justify-content:stretch;flex-wrap:wrap}}.md-body{line-height:1.5;word-break:break-word;overflow-wrap:anywhere}.md-body>:first-child{margin-top:0}.md-body>:last-child{margin-bottom:0}.md-body p{margin:0 0 .5em}.md-body h1,.md-body h2,.md-body h3,.md-body h4,.md-body h5,.md-body h6{margin:.6em 0 .3em;font-size:1em;font-weight:700;line-height:1.3}.md-body h1{font-size:1.15em}.md-body h2{font-size:1.08em}.md-body ul,.md-body ol{margin:0 0 .5em;padding-left:1.4em}.md-body li{margin:.1em 0}.md-body a{color:#2563eb;text-decoration:underline}.md-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:.05em .35em}.md-body pre{margin:0 0 .5em;padding:.6em .75em;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;overflow-x:auto;white-space:pre}.md-body pre code{padding:0;border:0;background:transparent}.md-body blockquote{margin:0 0 .5em;padding:.1em 0 .1em .75em;border-left:3px solid #cbd5e1;color:#64748b}.md-body table{border-collapse:collapse;margin:0 0 .5em;font-size:.95em}.md-body th,.md-body td{border:1px solid #e2e8f0;padding:.25em .5em;text-align:left}.md-body img{max-width:100%;height:auto}.md-body hr{border:0;border-top:1px solid #e2e8f0;margin:.6em 0}.md-body input[type=checkbox]{margin-right:.4em}.md-mention{display:inline-block;padding:0 .3em;border-radius:4px;background:#e0e7ff;color:#3730a3;font-weight:600;line-height:1.35}.cmt-panel{margin-top:16px;padding-top:14px;border-top:1px solid #e5e7eb;font-size:14px;color:#1f2937}.cmt-header{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#374151}.cmt-title{margin:0;font-size:14px;font-weight:700}.cmt-count{padding:1px 8px;border-radius:9999px;background:#f3f4f6;border:1px solid #e5e7eb;font-size:12px;font-weight:600;color:#4b5563}.cmt-error{margin-bottom:10px;padding:8px 10px;border-radius:6px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:13px}.cmt-empty{margin:0 0 10px;color:#6b7280;font-size:13px}.cmt-readonly{margin-top:6px;font-style:italic}.cmt-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:12px}.cmt-item{display:flex;gap:10px;align-items:flex-start}.cmt-avatar{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#e0e7ff;color:#3730a3;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;object-fit:cover}.cmt-avatar-sm{width:22px;height:22px;font-size:10px}.cmt-main{flex:1;min-width:0}.cmt-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:4px;font-size:12px;color:#6b7280}.cmt-author{font-weight:700;color:#111827;font-size:13px}.cmt-edited{font-style:italic}.cmt-actions{margin-left:auto;display:inline-flex;align-items:center;gap:4px}.cmt-icon-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid transparent;border-radius:4px;background:transparent;color:#6b7280;font-size:12px;cursor:pointer}.cmt-icon-btn:hover{background:#f3f4f6;color:#111827}.cmt-icon-btn-danger:hover{background:#fef2f2;color:#b91c1c}.cmt-confirm{display:inline-flex;align-items:center;gap:6px;color:#991b1b;font-weight:600}.cmt-body{padding:8px 10px;border-radius:8px;background:#f9fafb;border:1px solid #eef0f3;color:#1f2937;font-size:14px}.cmt-composer{position:relative}.cmt-textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;line-height:1.5;resize:vertical;min-height:72px}.cmt-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.cmt-mention-list{position:absolute;left:0;right:0;z-index:20;margin:2px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 30px #0000001f;max-height:220px;overflow-y:auto}.cmt-mention-option{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:13px}.cmt-mention-option.is-active{background:#eef2ff;color:#3730a3}.cmt-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.cmt-hint{font-size:12px;color:#9ca3af}.cmt-hint.is-warning{color:#b45309}.cmt-composer-actions{display:flex;gap:6px}.cmt-btn{padding:6px 12px;border-radius:6px;border:1px solid #d1d5db;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer}.cmt-btn:hover:not(:disabled){background:#f3f4f6}.cmt-btn:disabled{opacity:.6;cursor:not-allowed}.cmt-btn-primary{background:#4f46e5;border-color:#4f46e5;color:#fff}.cmt-btn-primary:hover:not(:disabled){background:#4338ca}.cmt-btn-danger{background:#dc2626;border-color:#dc2626;color:#fff;padding:3px 8px;font-size:12px}.cmt-btn-danger:hover:not(:disabled){background:#b91c1c}.cmt-confirm .cmt-btn{padding:3px 8px;font-size:12px}@media(max-width:768px),(pointer:coarse){.cmt-btn,.cmt-confirm .cmt-btn{min-height:44px;padding:0 14px;font-size:14px}.cmt-attach-btn,.cmt-icon-btn{min-width:44px;min-height:44px;justify-content:center}.cmt-textarea{font-size:16px}.cmt-composer-footer{flex-wrap:wrap;gap:8px}}.att-panel{margin-top:16px;padding-top:14px;border-top:1px solid #e5e7eb;font-size:14px;color:#1f2937}.att-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#374151}.att-title{margin:0;font-size:14px;font-weight:700}.att-count{padding:0 7px;border-radius:9999px;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:600}.att-error{margin-bottom:8px;padding:8px 10px;border-radius:6px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:13px}.att-empty{margin:0;color:#6b7280;font-size:13px}.att-drop{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;margin-bottom:10px;padding:14px 12px;border:1.5px dashed #c7d2fe;border-radius:8px;background:#f8fafc;color:#4b5563;text-align:center;transition:background .15s,border-color .15s}.att-drop.is-dragging{background:#eef2ff;border-color:#6366f1;color:#3730a3}.att-drop.is-busy{opacity:.7}.att-hint{flex-basis:100%;font-size:12px;color:#9ca3af}.att-file-input{display:none}.att-link-btn{padding:0;border:none;background:none;color:#4f46e5;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}.att-link-btn:disabled{cursor:default;color:#9ca3af}.att-progress{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-size:12px;color:#4b5563}.att-progress-track{height:6px;border-radius:9999px;background:#e5e7eb;overflow:hidden}.att-progress-bar{height:100%;background:#6366f1;transition:width .15s}.att-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.att-item{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 8px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.att-thumb{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px;background:#f3f4f6;color:#6b7280;overflow:hidden}.att-thumb img{width:100%;height:100%;object-fit:cover}.att-main{flex:1;min-width:0}.att-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1f2937;font-weight:600;text-decoration:none}.att-name:hover{color:#4f46e5;text-decoration:underline}.att-meta{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:12px;color:#6b7280}.att-tag{padding:0 6px;border-radius:9999px;background:#eef2ff;color:#4338ca}.att-actions{flex-shrink:0;display:flex;align-items:center;gap:4px}.att-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid transparent;border-radius:4px;background:none;color:#6b7280;cursor:pointer}.att-icon-btn:hover{background:#f3f4f6;color:#374151}.att-icon-btn-danger:hover{background:#fef2f2;color:#b91c1c}.att-confirm{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#374151}.att-btn{padding:3px 8px;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#374151;font-size:12px;cursor:pointer}.att-btn-danger{border-color:#dc2626;background:#dc2626;color:#fff}.att-btn:disabled{opacity:.6;cursor:default}.att-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.att-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 8px;border:1px solid #e5e7eb;border-radius:9999px;background:#f9fafb;color:#374151;font-size:12px;text-decoration:none}.att-chip:hover{border-color:#c7d2fe;background:#eef2ff}.att-chip-thumb{width:18px;height:18px;border-radius:3px;object-fit:cover}.att-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.att-chip-size{color:#9ca3af}.att-chip-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;border-radius:9999px;background:none;color:#9ca3af;cursor:pointer}.att-chip-remove:hover{background:#fee2e2;color:#b91c1c}@media(max-width:768px),(pointer:coarse){.att-btn,.att-link-btn{min-height:44px}.att-icon-btn,.att-chip-remove{min-width:44px;min-height:44px;justify-content:center}}.dashboard-page{min-height:calc(100vh - 140px);background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dashboard-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}.loading-spinner{width:48px;height:48px;border-radius:50%;border:4px solid rgba(255,255,255,.2);border-top-color:#818cf8;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard-tabs{border-bottom:1px solid #e2e8f0;margin-bottom:1rem;display:flex;gap:2rem}.tab-active,.tab-inactive{padding:.5rem .25rem;border:none;background:none;font-size:.875rem;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s;color:#6b7280}.tab-active{color:#1e40af;border-bottom-color:#3b82f6;background:#3b82f60d}.tab-inactive:hover{color:#374151;background:#00000005}.dashboard-info-banner{margin-bottom:1rem;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;border-radius:.5rem;padding:.6rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.875rem}.dashboard-info-banner__close{border:none;background:transparent;color:#0369a1;cursor:pointer;font-size:1rem;line-height:1;padding:.15rem .25rem}.dashboard-content{animation:slideIn .3s ease-out}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out;position:relative}.metric-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;transform:translateY(-1px)}.metric-card:after{content:"";position:absolute;top:-1px;right:-1px;width:6px;height:calc(100% + 2px);background:linear-gradient(180deg,var(--metric-accent, #6366f1),var(--metric-accent-strong, #4f46e5));border-top-right-radius:inherit;border-bottom-right-radius:inherit}.metric-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.metric-label{font-size:.875rem;color:#64748b;margin:0 0 .5rem}.metric-value{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0 0 .25rem}.metric-caption{font-size:.75rem;color:#94a3b8;margin:.25rem 0 0}.metric-icon{width:3rem;height:3rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.bg-amber-100{background-color:#fef3c7}.bg-emerald-100{background-color:#d1fae5}.text-amber-600{color:#d97706}.text-emerald-600{color:#059669}.text-red-600{color:#dc2626}.dual-metric{display:flex;gap:1rem;margin-top:.5rem}.dual-metric__group{flex:1}.dual-metric__label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin:0}.dual-metric__value{font-size:1.4rem;font-weight:600;color:#0f172a;margin:.25rem 0 0}.metric-progress{margin-top:1rem}.metric-progress-track{height:.45rem;background:#e2e8f0;border-radius:999px;overflow:hidden}.metric-progress-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:inherit;transition:width .3s ease}.metric-progress-fill.is-over{background:linear-gradient(90deg,#f97316,#dc2626)}.metric-delta{margin-top:.4rem;font-size:.85rem;font-weight:500}.status-composition{margin-top:1rem}.status-composition-bar{display:flex;height:.5rem;border-radius:999px;overflow:hidden;background:#e2e8f0}.status-segment{height:100%;transition:width .3s ease}.status-segment--track{background:#3b82f6}.status-segment--review{background:#f97316}.status-segment--blocked{background:#dc2626}.status-legend{display:flex;gap:1rem;margin-top:.75rem;flex-wrap:wrap}.status-legend__item{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:#475569}.status-legend__item strong{font-weight:600;color:#0f172a}.status-dot{width:.5rem;height:.5rem;border-radius:999px}.status-dot--track{background:#3b82f6}.status-dot--review{background:#f97316}.status-dot--blocked{background:#dc2626}.urgency-pills{display:flex;gap:.75rem;margin-top:1.25rem}.urgency-pill{flex:1;padding:.65rem .75rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#f8fafc}.urgency-pill__label{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin:0 0 .25rem}.urgency-pill__value{font-size:1.2rem;font-weight:600;color:#0f172a;margin:0}.urgency-pill.is-alert{border-color:#fecaca;background:#fef2f2}.urgency-pill.is-warning{border-color:#fde68a;background:#fffbeb}.urgency-pill.is-mellow{border-color:#bfdbfe;background:#eff6ff}.completion-trend{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e2e8f0}.completion-trend__row{display:flex;align-items:center;justify-content:space-between;font-size:.9rem;color:#475569;margin-bottom:.5rem}.completion-trend__value{font-size:1rem;font-weight:600;color:#0f172a}.completion-trend__delta{margin-top:.6rem;font-size:.85rem;font-weight:500}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.project-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out;cursor:pointer}.project-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;transform:translateY(-1px)}.project-card__header{margin-bottom:1rem}.project-card__title{font-size:1.125rem;font-weight:600;color:#0f172a;margin:0 0 .5rem}.project-card__description{font-size:.875rem;color:#64748b;margin:0 0 .75rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-card__progress{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;font-size:.875rem;color:#64748b;margin-bottom:.5rem}.progress-bar{width:100%;height:.5rem;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:#2563eb;border-radius:inherit;transition:width .3s ease}.project-card__footer{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#64748b;margin-bottom:1rem}.project-card__date{display:flex;align-items:center;gap:.5rem}.project-card__tasks{font-weight:500}.project-card__team{margin-top:1rem}.project-card__actions{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.project-card__link-btn{display:inline-block;padding:.375rem .75rem;font-size:.875rem;font-weight:500;color:#2563eb;background:transparent;border:1px solid #2563eb;border-radius:.375rem;cursor:pointer;transition:background .15s,color .15s}.project-card__link-btn:hover{background:#2563eb;color:#fff}.team-avatars{display:flex;gap:-.5rem;flex-wrap:wrap}.team-avatar{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#fffffff2;border:2px solid rgba(255,255,255,.95);background:radial-gradient(circle at 30% 25%,#ffffff8c,#fff0 45%);box-shadow:inset 0 1px 2px #ffffff8c,inset 0 -2px 4px #0000002e,0 6px 14px #0f172a2e;position:relative;margin-left:-.5rem}.team-avatar:first-child{margin-left:0}.bg-blue-300{background-color:#60a5fa}.bg-purple-300{background-color:#a78bfa}.bg-pink-300{background-color:#f472b6}.bg-green-300{background-color:#86efac}.bg-yellow-300{background-color:#facc15}.team-avatar.bg-blue-300,.team-avatar.bg-purple-300,.team-avatar.bg-pink-300,.team-avatar.bg-green-300,.team-avatar.bg-yellow-300{background-blend-mode:overlay}.tasks-content{max-width:1200px;margin:0 auto}.tasks-filter-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.tasks-filter-header span{font-size:.9rem;color:#64748b}.tasks-filter-header strong{color:#0f172a;font-weight:600}.clear-filter-btn{padding:.5rem 1rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:.375rem;font-size:.875rem;font-weight:500;color:#475569;cursor:pointer;transition:all .2s}.clear-filter-btn:hover{background:#e2e8f0;color:#0f172a}.tasks-toolbar{display:flex;align-items:center;justify-content:flex-end;margin-bottom:1rem;gap:.75rem}.tasks-search{display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:.4rem .6rem;box-shadow:0 8px 14px #0f172a0f}.tasks-search input{border:none;outline:none;font-size:.85rem;min-width:220px;color:#0f172a;background:transparent}.tasks-search-clear{border:none;background:#eef2ff;color:#4f46e5;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:.5rem;cursor:pointer}.tasks-search-clear:hover{background:#e0e7ff}.tasks-log-filter{display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:.35rem .6rem;box-shadow:0 8px 14px #0f172a0f}.tasks-log-filter input[type=date]{border:none;outline:none;font-size:.85rem;color:#0f172a;background:transparent}.tasks-log-download{border:none;background:#2563eb;color:#fff;font-size:.8rem;font-weight:600;padding:.35rem .65rem;border-radius:.5rem;cursor:pointer;transition:all .2s}.tasks-log-download:hover{background:#1d4ed8}.tasks-log-download:disabled{cursor:not-allowed;opacity:.6}.tasks-container{display:flex;flex-direction:column;gap:.75rem}.no-tasks-message{padding:3rem 1.5rem;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;color:#64748b}.no-tasks-message p{margin:0;font-size:1rem}.task-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out}.task-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.task-card__header{display:flex;flex-direction:column;gap:0}.task-title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.375rem}.task-card__title{font-size:1.125rem;font-weight:700;color:#0f172a;margin:0;line-height:1.3;flex:1}.task-actions-inline{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.task-card__description{font-size:.875rem;color:#64748b;margin:0 0 .875rem;line-height:1.4}.task-hierarchy-row{display:flex;flex-wrap:wrap;gap:0;margin-bottom:.75rem;align-items:center;padding:.5rem .625rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0}.hierarchy-item-inline{display:flex;align-items:center;gap:.375rem;padding:0 .75rem;border-right:1px solid #e2e8f0}.hierarchy-item-inline:last-child{border-right:none}.hierarchy-item-inline:first-child{padding-left:0}.hierarchy-item{display:flex;flex-direction:column;gap:.25rem}.hierarchy-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.hierarchy-value{font-size:.875rem;color:#0f172a;font-weight:500}.hierarchy-item-inline .hierarchy-label{font-size:.75rem;font-weight:500;color:#94a3b8;text-transform:none;letter-spacing:normal}.hierarchy-item-inline .hierarchy-value{font-size:.8125rem;color:#1e293b;font-weight:600}.task-logs-section{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8f0}.task-logs-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.task-logs-download{margin-left:auto;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;padding:.2rem .45rem;border-radius:.45rem}.task-logs-download:hover{background:#e2e8f0}.task-logs-load-more{align-self:center;margin-top:.25rem;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;padding:.25rem .6rem;border-radius:.45rem}.task-logs-load-more:hover:not(:disabled){background:#e2e8f0}.task-logs-load-more:disabled{opacity:.6;cursor:wait}.task-card-toggle{border:none;background:#f8fafc;color:#475569;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;padding:.25rem .5rem;border-radius:.45rem;border:1px solid #e2e8f0}.task-card-toggle:hover{background:#f1f5f9;color:#1f2937}.task-logs-icon{width:1rem;height:1rem;color:#64748b}.task-logs-title{font-size:.8125rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em}.task-logs-container{display:flex;flex-direction:column;gap:.375rem;max-height:calc(3*(56px + .375rem));overflow-y:auto;padding-right:.25rem}.task-log-item{display:flex;gap:.5rem;padding:.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.375rem;transition:all .2s ease}.task-log-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0000000d}.task-log-icon-wrapper{flex-shrink:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;background:#f1f5f9}.task-log-icon{width:1rem;height:1rem}.task-log-icon-start{color:#10b981}.task-log-icon-pause{color:#f59e0b}.task-log-icon-stop{color:#ef4444}.task-log-icon-default{color:#64748b}.task-log-content{flex:1;min-width:0}.task-log-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.25rem}.task-log-action{font-size:.875rem;font-weight:600;color:#0f172a}.task-log-reason{font-weight:400;color:#64748b;font-size:.8125rem}.task-log-time{display:flex;flex-direction:column;gap:.15rem;font-size:.7rem;color:#94a3b8;white-space:nowrap;flex-shrink:0;text-align:right}.task-log-time-ago{color:#cbd5f5;font-size:.65rem}.task-log-user{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:#64748b;margin-top:.125rem}.task-log-user-icon{width:.875rem;height:.875rem;color:#94a3b8}.task-log-details{font-size:.75rem;color:#475569;margin-top:.375rem;padding-top:.375rem;border-top:1px solid #f1f5f9;line-height:1.4}.task-complete-label{font-size:.75rem;font-weight:600;color:#16a34a;background:#dcfce7;border:1px solid #bbf7d0;padding:.2rem .45rem;border-radius:.5rem;text-transform:uppercase;letter-spacing:.04em}.task-logs-container::-webkit-scrollbar{width:6px}.task-logs-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.task-logs-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.task-logs-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.task-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.875rem;color:#64748b;margin-top:.75rem}.task-meta__item{display:flex;align-items:center;gap:.5rem}.task-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem}.task-actions-inline .timer-active{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.375rem .75rem;border-radius:.5rem;font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums}.timer-active{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.5rem .75rem;border-radius:.5rem;font-family:Courier New,monospace;font-size:.875rem;font-weight:600;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.action-buttons,.task-actions-inline .action-buttons{display:flex;gap:.5rem;align-items:center}.btn-start,.btn-pause,.btn-stop{padding:.375rem .75rem;border-radius:.5rem;font-size:.875rem;font-weight:500;border:none;cursor:pointer;transition:all .2s}.btn-start{background:#10b981;color:#fff}.btn-start:hover:not(:disabled){background:#059669}.btn-start:disabled{opacity:.6;cursor:not-allowed}.btn-pause{background:#f59e0b;color:#fff}.btn-pause:hover{background:#d97706}.btn-stop{background:#ef4444;color:#fff}.btn-stop:hover:not(:disabled){background:#dc2626}.btn-stop--disabled,.btn-stop:disabled{opacity:.6;cursor:not-allowed}.status-badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:999px;font-size:.75rem;font-weight:600;border:1px solid}.status-todo{background:#f3f4f6;color:#374151;border-color:#d1d5db}.status-in-progress{background:#dbeafe;color:#1e40af;border-color:#3b82f6}.status-review{background:#fef3c7;color:#92400e;border-color:#fbbf24}.status-completed{background:#d1fae5;color:#065f46;border-color:#10b981}.status-blocked{background:#fee2e2;color:#991b1b;border-color:#ef4444}.status-paused{background:#fef3c7;color:#92400e;border-color:#facc15}.status-stopped{background:#f3f4f6;color:#1f2937;border-color:#d1d5db}.status-yet{background:#e0f2fe;color:#0c4a6e;border-color:#38bdf8}.empty-state{text-align:center;padding:3rem;color:#64748b}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 25px 50px -12px #00000040;width:100%;max-width:28rem;max-height:90vh;overflow-y:auto}.modal-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:0}.modal-close{background:none;border:none;font-size:1.5rem;color:#94a3b8;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem}.modal-close:hover{background:#f1f5f9;color:#64748b}.modal-subtitle{font-size:.875rem;color:#64748b;margin:.5rem 0 0}.modal-body{padding:1.5rem}.modal-body label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.modal-body textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;font-family:inherit;resize:vertical}.modal-body textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e2e8f0}.pause-validation-hint{margin:0;padding:0 1.5rem 1rem;font-size:.8125rem;color:#b45309}.custom-pause-note .optional-indicator{color:#6b7280;font-size:.75rem;font-weight:400}.btn-primary,.btn-secondary,.btn-submit,.btn-complete{padding:.5rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:500;border:none;cursor:pointer;transition:all .2s}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-submit{background:#2563eb;color:#fff}.btn-submit:hover{background:#1d4ed8}.btn-complete{background:#16a34a;color:#fff}.btn-complete:hover{background:#15803d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover{background:#f9fafb}.pause-reasons-list{padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;max-height:400px;overflow-y:auto}.pause-reason-btn{width:100%;text-align:left;padding:1rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#fff;cursor:pointer;transition:all .2s}.pause-reason-btn:hover{background:#f8fafc;border-color:#cbd5e1}.pause-reason-btn.selected{border-color:#3b82f6;background:#eff6ff;box-shadow:0 0 0 3px #3b82f61a}.pause-reason-content{display:flex;align-items:center;gap:.75rem}.pause-reason-icon{width:2rem;height:2rem;border-radius:50%;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:600;color:#475569;flex-shrink:0}.pause-reason-name{font-weight:500;color:#0f172a;margin-bottom:.25rem}.pause-reason-desc{font-size:.875rem;color:#64748b}.required-indicator{color:#ef4444;font-weight:600;margin-left:2px}.custom-pause-note{padding:0 1.5rem 1.5rem}.custom-pause-note label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.custom-pause-note textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;font-family:inherit;resize:vertical;transition:border-color .2s}.custom-pause-note textarea.invalid{border-color:#ef4444;outline:none}.custom-pause-note textarea:focus{outline:none;border-color:#818cf8;box-shadow:0 0 0 3px #818cf81a}.custom-pause-note .required-indicator{color:#ef4444;font-size:.75rem;font-weight:400}.custom-pause-note .word-count{margin-top:.5rem;font-size:.75rem;font-weight:500}.custom-pause-note .word-count.valid{color:#10b981}.custom-pause-note .word-count.invalid{color:#ef4444}@media(max-width:768px){.metrics-grid,.projects-grid{grid-template-columns:1fr}.task-card__header{flex-direction:column}.task-actions{align-items:stretch;width:100%}.action-buttons{width:100%}.task-hierarchy-row{flex-direction:column;align-items:flex-start;gap:.5rem}.hierarchy-item-inline{border-right:none;border-bottom:1px solid #e2e8f0;padding:.5rem 0;width:100%}.hierarchy-item-inline:last-child{border-bottom:none}.hierarchy-item-inline:first-child{padding-left:0}.btn-start,.btn-pause,.btn-stop{flex:1}.dashboard-tabs{gap:.5rem}.tab-active,.tab-inactive{min-height:2.75rem;padding:0 .75rem;font-size:.95rem}.tasks-toolbar{flex-wrap:wrap;justify-content:stretch}.tasks-search,.tasks-log-filter{flex:1 1 100%;min-width:0}.tasks-search input{flex:1;min-width:0;min-height:2.25rem;font-size:1rem}.tasks-search-clear{min-height:2.75rem;padding:0 .75rem}.tasks-log-filter{justify-content:space-between}.tasks-log-filter input[type=date]{min-height:2.75rem;font-size:1rem}.tasks-log-download{min-height:2.75rem;white-space:nowrap}.task-logs-download,.clear-filter-btn{min-height:2.75rem}.task-title-row{flex-wrap:wrap;gap:.75rem}.task-actions-inline{display:contents}.task-card__title{flex:1 1 60%;min-width:0;order:0}.task-card-toggle{order:1;flex:0 0 auto}.task-actions-inline .timer-active{order:2;flex:0 0 auto}.task-actions-inline .action-buttons,.task-actions-inline .task-complete-label{order:3;flex:1 1 60%}.btn-start,.btn-pause,.btn-stop{min-height:2.75rem;font-size:1rem;font-weight:600}.task-card-toggle{min-height:2.75rem;min-width:2.75rem}.task-actions-inline .timer-active{min-height:2.75rem;display:inline-flex;align-items:center;font-size:1rem}.dashboard-page .modal-overlay{padding:0;align-items:stretch}.dashboard-page .modal-content{max-width:none!important;width:100%;margin:0;max-height:none;height:100dvh;border-radius:0;display:flex;flex-direction:column}.dashboard-page .modal-header{padding:.75rem 1rem;padding-top:max(.75rem,env(safe-area-inset-top))}.dashboard-page .modal-body{flex:1;overflow-y:auto;padding:1rem}.dashboard-page .modal-body textarea{font-size:1rem}.dashboard-page .modal-close{width:2.75rem;height:2.75rem}.dashboard-page .pause-reasons-list{padding:1rem;max-height:none;overflow:visible}.dashboard-page .custom-pause-note{padding:0 1rem 1rem}.dashboard-page .custom-pause-note textarea{font-size:1rem}.dashboard-page .modal-content>.modal-subtitle{padding:.75rem 1rem 0}.dashboard-page .modal-footer{margin-top:auto;padding:.75rem 1rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom));flex-wrap:wrap}.dashboard-page .modal-footer button{flex:1 1 auto;min-height:2.75rem}}.project-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:50vh;padding:48px 16px;text-align:center}.project-not-found h2{font-size:1.25rem;color:var(--text-main)}.project-not-found p{max-width:32rem;color:var(--text-muted)}.project-not-found__link{margin-top:8px;padding:8px 16px;border-radius:var(--radius);background:var(--primary);color:#fff;font-weight:500}.project-not-found__link:hover{background:var(--primary-hover)}.milestones-page{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.milestones-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}.milestones-error,.milestones-empty{text-align:center;padding:48px 24px;color:#64748b;font-size:18px}.milestones-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:16px;flex-wrap:wrap}.milestones-header-left{flex:1;min-width:200px}.milestones-title{font-size:28px;font-weight:700;color:#1f2937;margin:0 0 4px}.milestones-subtitle{font-size:14px;color:#64748b;margin:0}.milestones-header-right{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.btn-primary-sm,.btn-secondary-sm{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all .2s ease;text-transform:none;letter-spacing:0}.btn-primary-sm{background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff}.btn-primary-sm:hover{transform:translateY(-2px);box-shadow:0 10px 25px #3b82f64d}.btn-secondary-sm{background:#fff;color:#3b82f6;border:1px solid #dbeafe}.btn-secondary-sm:hover{background:#eff6ff}.milestones-container{max-width:98%;margin:0 auto}.milestone-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:0;margin-bottom:16px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease}.milestone-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#3b82f6}.milestone-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;background:linear-gradient(to right,#f9fafb,#fff);border-radius:8px 8px 0 0;border-bottom:1px solid #f3f4f6;flex-wrap:wrap}.milestone-header-left{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.milestone-icon{display:flex;align-items:center;color:#3b82f6;flex-shrink:0}.milestone-name-section{min-width:0;flex-shrink:0}.milestone-title-text{font-size:16px;font-weight:600;color:#1f2937;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.milestone-separator{width:1px;height:24px;background:#d1d5db;flex-shrink:0}.milestone-separator.separator-1{display:none}@media(min-width:640px){.milestone-separator.separator-1{display:block}}.milestone-description-section{flex:1;min-width:0;display:none}@media(min-width:640px){.milestone-description-section{display:block}}.milestone-description-text{font-size:14px;color:#6b7280;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.milestone-separator.separator-2{display:none}@media(min-width:768px){.milestone-separator.separator-2{display:block}}.milestone-date-section{display:none;flex-direction:column;gap:4px;flex-shrink:0;align-items:flex-start}@media(min-width:768px){.milestone-date-section{display:flex}}.milestone-date-text,.milestone-owner-text{font-size:12px;font-weight:500;color:#374151;white-space:nowrap;margin:0;display:flex;align-items:center;gap:4px}.milestone-header-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.milestone-status{display:inline-block;padding:6px 14px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.milestone-status-pending{background:#fef3c7;color:#b45309}.milestone-status-in-progress{background:#bfdbfe;color:#1e40af}.milestone-status-review{background:#e9d5ff;color:#6b21a8}.milestone-status-completed{background:#d1fae5;color:#065f46}.milestone-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-edit-sm,.btn-add-task-sm,.btn-delete-sm{padding:6px 12px;font-size:12px;border-radius:6px;border:none;cursor:pointer;transition:all .2s;font-weight:500;white-space:nowrap}.btn-edit-sm{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}.btn-edit-sm:hover{background:#bfdbfe;transform:translateY(-1px);box-shadow:0 2px 4px #3b82f633}.btn-add-task-sm{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.btn-add-task-sm:hover{background:#bbf7d0;transform:translateY(-1px);box-shadow:0 2px 4px #22c55e33}.btn-delete-sm{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.btn-delete-sm:hover{background:#fecaca;transform:translateY(-1px);box-shadow:0 2px 4px #ef444433}.major-tasks-container{padding:12px 16px;margin-top:0}.task-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;background:linear-gradient(to right,#f9fafb,#fff);border:1px solid #e5e7eb;border-radius:6px;margin-bottom:8px;transition:all .2s;flex-wrap:wrap}.task-item:hover{background:#f3f4f6;border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a}.task-item-left{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.task-name-section{flex-shrink:0;min-width:fit-content}.task-name{font-size:16px;font-weight:600;color:#1f2937;margin:0;white-space:nowrap;cursor:pointer;transition:color .2s}.task-name:hover{color:#3b82f6}.task-separator{width:1px;height:20px;background:#d1d5db;flex-shrink:0}.task-description-section{flex:1;min-width:0}.task-description-text{font-size:14px;color:#6b7280;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-date-section,.task-owner-section,.task-progress-section{flex-shrink:0;min-width:fit-content}.task-date-text,.task-owner-text,.task-progress-text{font-size:14px;font-weight:500;color:#374151;white-space:nowrap;display:flex;align-items:center;gap:4px}.task-item-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.task-status{padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.task-actions{display:flex;gap:4px}.btn-edit-xs,.btn-delete-xs{padding:6px 10px;font-size:12px;border-radius:4px;border:none;cursor:pointer;transition:all .2s;font-weight:500}.btn-edit-xs{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}.btn-edit-xs:hover{background:#bfdbfe}.btn-delete-xs{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.btn-delete-xs:hover{background:#fecaca}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease-out}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.modal-title{font-size:18px;font-weight:700;color:#1f2937;margin:0}.modal-close-btn{background:none;border:none;color:#9ca3af;cursor:pointer;transition:color .2s;padding:4px;display:flex;align-items:center;justify-content:center}.modal-close-btn:hover{color:#1f2937}.modal-body{padding:24px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:6px}.form-group input,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;transition:all .2s;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group textarea{resize:vertical;min-height:80px}.modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;gap:10px;justify-content:flex-end}.btn{padding:10px 18px;border-radius:6px;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;text-transform:uppercase;letter-spacing:.5px}.btn-primary{background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 25px #3b82f64d}.btn-secondary{background:#e5e7eb;color:#374151}.btn-secondary:hover{background:#d1d5db}.modal-content::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.modal-content::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}@media(max-width:768px){.milestones-page{padding:16px}.milestone-header{flex-direction:column;align-items:flex-start}.milestone-header-right{width:100%;justify-content:space-between}.task-item{flex-direction:column;align-items:flex-start}.task-item-right{width:100%;justify-content:space-between}}.dep-panel{margin-top:16px;padding-top:14px;border-top:1px solid #e5e7eb;font-size:14px;color:#1f2937}.dep-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#374151}.dep-title{margin:0;font-size:14px;font-weight:700}.dep-blocked-pill{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:9999px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:11px;font-weight:700}.dep-subtitle{margin:10px 0 6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#6b7280}.dep-error{margin-bottom:8px;padding:8px 10px;border-radius:6px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:13px}.dep-empty{margin:0;color:#6b7280;font-size:13px}.dep-list,.dep-results{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.dep-item,.dep-result{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 8px;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb}.dep-result{width:100%;text-align:left;cursor:pointer;font:inherit;color:inherit;background:#fff}.dep-result:hover,.dep-result:focus-visible{border-color:#93c5fd;background:#eff6ff}.dep-task-code{flex:none;font-size:12px;font-weight:600;color:#6b7280}.dep-task-title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dep-task-status{flex:none;padding:1px 8px;border-radius:9999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;font-weight:600;text-transform:capitalize}.dep-task-status.is-done{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.dep-remove{flex:none;display:inline-flex;padding:2px;border:none;border-radius:4px;background:transparent;color:#6b7280;cursor:pointer}.dep-remove:hover{background:#fee2e2;color:#b91c1c}.dep-search{margin-top:8px}.dep-search-box{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#6b7280}.dep-search-box input{flex:1;min-width:0;border:none;outline:none;font-size:13px;background:transparent;color:#1f2937}.dep-results{margin-top:4px}.dep-results-empty{padding:6px 2px}.saved-filters{position:relative;display:inline-flex}.saved-filters__toggle{display:inline-flex;align-items:center;gap:5px}.saved-filters__toggle.is-on{border-color:#1a1f71;color:#1a1f71;background:#eef2ff}.saved-filters__count{min-width:18px;padding:0 5px;border-radius:9999px;background:#e2e8f0;color:#334155;font-size:11px;line-height:18px;text-align:center}.saved-filters__backdrop{display:none}.saved-filters__panel{position:absolute;top:calc(100% + 6px);right:0;z-index:60;width:340px;max-height:min(70vh,560px);overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 12px 32px #0f172a2e;color:#0f172a;font-size:13px;text-align:left}.saved-filters__header{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 14px;border-bottom:1px solid #e2e8f0;font-weight:700}.saved-filters__empty{margin:0;padding:14px;color:#64748b}.saved-filters__lists{padding:4px 0}.saved-filters__group{padding:8px 14px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b}.saved-filters__list{list-style:none;margin:0;padding:0}.saved-filters__row{display:flex;align-items:center;gap:2px;padding:2px 6px}.saved-filters__row:hover,.saved-filters__row.is-applied{background:#f8fafc}.saved-filters__row.is-editing{gap:6px;padding:6px 10px}.saved-filters__apply{flex:1;min-width:0;display:flex;align-items:center;gap:6px;padding:7px 6px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:6px}.saved-filters__apply:focus-visible,.saved-filters__icon:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.saved-filters__check{display:inline-flex;width:14px;flex-shrink:0;color:#1a1f71}.saved-filters__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-filters__row.is-applied .saved-filters__name{font-weight:600}.saved-filters__badge{flex-shrink:0;padding:1px 7px;border-radius:9999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:600}.saved-filters__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border:none;border-radius:6px;background:transparent;color:#64748b;cursor:pointer}.saved-filters__icon:hover:not(:disabled){background:#e2e8f0;color:#0f172a}.saved-filters__icon.is-on,.saved-filters__icon.is-on:hover:not(:disabled){color:#d97706}.saved-filters__icon:disabled{opacity:.5;cursor:default}.saved-filters__rename{flex:1;display:flex;align-items:center;gap:4px}.saved-filters__rename input,.saved-filters__field input{flex:1;min-width:0;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;color:#0f172a;background:#fff}.saved-filters__confirm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-filters__text-btn{padding:5px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px;font-weight:600;color:#334155;cursor:pointer}.saved-filters__text-btn.is-danger{border-color:#dc2626;background:#dc2626;color:#fff}.saved-filters__save{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-top:1px solid #e2e8f0;background:#f8fafc}.saved-filters__field{display:flex;flex-direction:column;gap:4px;font-weight:600;color:#334155}.saved-filters__scope{display:flex;flex-wrap:wrap;gap:4px 14px}.saved-filters__scope label,.saved-filters__default{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.saved-filters__hint{margin:0;font-size:12px;color:#64748b}.saved-filters__save-btn{align-self:flex-start;padding:6px 16px;border:none;border-radius:8px;background:#1a1f71;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.saved-filters__save-btn:disabled{opacity:.5;cursor:default}.saved-filters__error{margin:0;padding:8px 14px 12px;color:#b91c1c;font-size:12px}@media(max-width:768px){.saved-filters__backdrop{display:block;position:fixed;inset:0;z-index:1090;background:#0f172a59}.saved-filters__panel{position:fixed;inset:auto 0 0;z-index:1100;width:auto;max-height:80vh;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom);font-size:15px}.saved-filters__apply,.saved-filters__text-btn,.saved-filters__save-btn{min-height:44px}.saved-filters__icon{width:44px;height:44px}.saved-filters__rename input,.saved-filters__field input{min-height:44px;font-size:16px}.saved-filters__scope label,.saved-filters__default{min-height:36px}}.scrum-board-page{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;flex-direction:column}.scrum-board-page.kanban-full-screen{position:fixed;inset:0;z-index:1000;overflow:hidden}.scrum-recurring-block{border:1px solid #e2e8f0;border-radius:10px;padding:12px;background:#f8fafc}.scrum-recurring-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.scrum-recurring-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#475569}.scrum-recurring-options{display:grid;gap:12px}.scrum-recurring-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:6px}.scrum-recurring-day{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;border:1px solid #e2e8f0;border-radius:6px;padding:6px 4px;background:#fff}.scrum-recurring-cycles-row{display:flex;align-items:center;gap:12px}.scrum-recurring-warning{margin:6px 0 0;font-size:12px;color:#b45309}.scrum-recurring-note{margin:0;font-size:12px;color:#64748b}.scrum-recurring-badge{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;width:22px;height:22px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:11px;font-weight:700;flex-shrink:0}.scrum-board-loading,.scrum-board-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}.loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.scrum-board-error{text-align:center;padding:48px 24px;color:#64748b;font-size:18px}.scrum-board-header{background-color:#1a1f71;color:#fff;box-shadow:0 4px 6px #0000001a}.scrum-board-header-top{padding:12px 24px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center;gap:16px}.scrum-board-header-left{display:flex;align-items:center;gap:16px;flex:1}.scrum-board-breadcrumb{cursor:pointer;transition:all .2s ease}.scrum-board-breadcrumb:hover{opacity:.8}.scrum-board-icon{width:40px;height:40px;background:#fff3;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.scrum-board-title{font-size:24px;font-weight:700;margin:0 0 4px;color:#fff}.scrum-board-subtitle{font-size:14px;color:#fffc;margin:0}.scrum-board-header-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.scrum-board-toggle-btn,.scrum-board-add-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all .2s ease;color:#fff}.scrum-board-toggle-btn{background:#ffffff1f;border:1px solid rgba(255,255,255,.35)}.scrum-board-toggle-btn:hover{background:#ffffff2e;transform:translateY(-1px)}.scrum-board-toggle-btn.active{background:#fff;color:#1e3a8a;border-color:#1e3a8a73;box-shadow:0 6px 18px #1e40af40}.scrum-board-add-btn{background:linear-gradient(135deg,#1e40af,#3b82f6)}.scrum-board-add-btn:hover{background:linear-gradient(135deg,#1d4ed8,#2563eb);transform:translateY(-1px);box-shadow:0 4px 12px #1e40af4d}.scrum-sprint-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:24px;background:#fff;border-bottom:1px solid #e5e7eb}.scrum-metric-card{padding:16px;border-radius:8px;border-left:4px solid;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out}.scrum-metric-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;transform:translateY(-1px)}.scrum-progress-card{background:#f8fafc;border-left-color:#3b82f6}.scrum-metric-blue{background:#fff;border-left-color:#3b82f6}.scrum-metric-green{background:#fff;border-left-color:#10b981}.scrum-metric-orange{background:#fff;border-left-color:#f59e0b}.scrum-metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.scrum-metric-header h3{font-size:14px;font-weight:600;color:#374151;margin:0}.scrum-progress-percentage{font-size:24px;font-weight:700;color:#3b82f6}.scrum-sprint-badge{display:inline-block;background:linear-gradient(to bottom,#3b82f6,#1e40af);color:#fff;font-size:12px;font-weight:700;padding:6px 12px;border-radius:9999px;margin-bottom:12px;box-shadow:inset 0 1px #ffffff4d,0 4px 12px #00000040}.scrum-progress-bar-container{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.scrum-progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#10b981);border-radius:4px;transition:width .8s ease-in-out,background .5s ease-in-out}.scrum-metric-content{display:flex;justify-content:space-between;align-items:center}.scrum-metric-label{font-size:14px;color:#6b7280;margin:0 0 4px}.scrum-metric-value{font-size:24px;font-weight:700;color:#1f2937;margin:0;transition:all .3s ease-in-out}.scrum-metric-value.updated{transform:scale(1.1);color:#3b82f6}.scrum-metric-sublabel{font-size:12px;color:#9ca3af;margin:4px 0 0}.scrum-metric-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center}.scrum-icon-blue{background:#dbeafe;color:#3b82f6}.scrum-icon-green{background:#d1fae5;color:#10b981}.scrum-icon-orange{background:#fed7aa;color:#f59e0b}.scrum-board-main{flex:1;padding:24px;overflow:hidden;display:flex;flex-direction:column}.scrum-board-container{flex:1;overflow-x:auto;overflow-y:auto;padding-bottom:16px}.scrum-board-columns{display:flex;gap:24px;min-width:max-content;height:100%}.scrum-board-column{width:320px;display:flex;flex-direction:column;flex-shrink:0}.scrum-column-header{padding:16px;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid}.scrum-column-gray{background:#e5e7eb;border-bottom-color:#9ca3af}.scrum-column-yellow{background:#fef3c7;border-bottom-color:#f59e0b}.scrum-column-blue{background:#dbeafe;border-bottom-color:#3b82f6}.scrum-column-purple{background:#e9d5ff;border-bottom-color:#8b5cf6}.scrum-column-green{background:#d1fae5;border-bottom-color:#10b981}.scrum-column-title{font-size:16px;font-weight:600;color:#1f2937;margin:0}.scrum-column-count{padding:4px 12px;border-radius:9999px;font-size:12px;font-weight:700;color:#fff}.scrum-badge-gray{background:#6b7280}.scrum-badge-yellow{background:#f59e0b}.scrum-badge-blue{background:#3b82f6}.scrum-badge-purple{background:#8b5cf6}.scrum-badge-green{background:#10b981}.scrum-column-content{flex:1;background:#f9fafb;border-radius:0 0 8px 8px;padding:16px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;min-height:400px;transition:all .2s}.scrum-column-content.scrum-drag-over{background:#dbeafe;border:2px dashed #3b82f6}.scrum-task-card{background:#fff;border:1px solid #e2e8f0;border-left:4px solid;border-radius:8px;padding:16px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out;cursor:grab;position:relative}.scrum-task-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;transform:translateY(-1px)}.scrum-task-card:active{cursor:grabbing}.scrum-task-card.scrum-card-gray{border-left-color:#6b7280}.scrum-task-card.scrum-card-yellow{border-left-color:#f59e0b}.scrum-task-card.scrum-card-blue{border-left-color:#3b82f6}.scrum-task-card.scrum-card-purple{border-left-color:#8b5cf6}.scrum-task-card.scrum-card-green{border-left-color:#10b981}.scrum-task-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px;gap:8px}.scrum-task-title{font-size:16px;font-weight:600;color:#1f2937;margin:0;flex:1}.scrum-task-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.scrum-task-edit-btn{padding:4px;font-size:12px;color:#6b7280;background:transparent;border:none;border-radius:4px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden}.scrum-task-card:hover .scrum-task-edit-btn{opacity:1;visibility:visible}.scrum-task-edit-btn:hover{background:#f3f4f6;color:#374151}.scrum-task-log-btn{padding:4px 8px;font-size:12px;font-weight:600;color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;transition:all .2s;flex-shrink:0}.scrum-task-comments-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;font-size:12px;font-weight:600;color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;transition:all .2s;flex-shrink:0}.scrum-task-comments-btn:hover{background:#e5e7eb;color:#374151}.scrum-task-comments-btn.has-comments{color:#3730a3;background:#eef2ff;border-color:#c7d2fe}.scrum-task-comments-btn.has-comments:hover{background:#e0e7ff}.scrum-task-attachments-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;font-size:12px;font-weight:600;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:4px;cursor:pointer;flex-shrink:0}.scrum-task-attachments-btn:hover{background:#fef3c7}.scrum-comments-modal{max-width:640px}.scrum-comments-description{font-size:14px;color:#4b5563;padding:10px 12px;background:#f9fafb;border:1px solid #eef0f3;border-radius:8px}.scrum-modal-body-comments{padding-top:0;flex:0 0 auto}.scrum-task-log-btn:hover{background:#e5e7eb;color:#374151}.scrum-task-reopen-btn{padding:4px 8px;font-size:12px;font-weight:600;color:#1d4ed8;background:#eef2ff;border:1px solid #c7d2fe;border-radius:4px;cursor:pointer;transition:all .2s;flex-shrink:0}.scrum-task-reopen-btn:hover{background:#e0e7ff;color:#1e40af}.scrum-task-description{font-size:14px;color:#6b7280;margin:0 0 12px;line-height:1.5}.scrum-task-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:8px}.scrum-task-status-group{display:inline-flex;align-items:center;gap:6px}.scrum-task-reopen-badge{padding:3px 8px;border-radius:9999px;font-size:10px;font-weight:700;color:#1f2937;background:#fef3c7;border:1px solid #fcd34d;white-space:nowrap}.scrum-task-assignee{display:flex;align-items:center;gap:6px;font-size:14px;color:#6b7280}.scrum-task-status{padding:4px 10px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;white-space:nowrap}.scrum-status-gray{background:#f3f4f6;color:#374151}.scrum-status-yellow{background:#fef3c7;color:#92400e}.scrum-status-blue{background:#dbeafe;color:#1e40af}.scrum-status-purple{background:#e9d5ff;color:#6b21a8}.scrum-status-green{background:#d1fae5;color:#065f46}.scrum-task-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6b7280;padding-top:12px;border-top:1px solid #f3f4f6}.scrum-task-hours{display:flex;flex-direction:column;gap:4px}.scrum-task-points{background:#dbeafe;color:#1e40af;padding:4px 8px;border-radius:9999px;font-size:12px;font-weight:600}.scrum-modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.scrum-modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease-out;display:flex;flex-direction:column}.scrum-log-modal{max-width:800px}.scrum-modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:flex-start;flex-shrink:0}.scrum-modal-title{font-size:18px;font-weight:700;color:#1f2937;margin:0}.scrum-modal-subtitle{font-size:14px;color:#6b7280;margin:4px 0 0}.scrum-modal-close{background:none;border:none;color:#9ca3af;cursor:pointer;transition:color .2s;padding:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.scrum-modal-close:hover{color:#1f2937}.scrum-modal-body{padding:24px;flex:1;overflow-y:auto}.scrum-form-group{margin-bottom:16px}.scrum-form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:6px}.scrum-form-group input,.scrum-form-group textarea,.scrum-form-group select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;transition:all .2s;box-sizing:border-box}.scrum-form-group input:focus,.scrum-form-group textarea:focus,.scrum-form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.scrum-form-group textarea{resize:vertical;min-height:80px}.scrum-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.scrum-modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;background:#f9fafb}.scrum-modal-footer-right{display:flex;gap:12px}.scrum-btn{padding:10px 18px;border-radius:6px;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;text-transform:uppercase;letter-spacing:.5px}.scrum-btn-primary{background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff}.scrum-btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 25px #3b82f64d}.scrum-btn-secondary{background:#e5e7eb;color:#374151}.scrum-btn-secondary:hover{background:#d1d5db}.scrum-btn-danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.scrum-btn-danger:hover{background:#fecaca}.scrum-log-content{padding:24px}.scrum-log-table{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.scrum-log-table table{width:100%;border-collapse:collapse}.scrum-modal-header-actions{display:flex;align-items:center;gap:.75rem}.scrum-log-download-btn{border:1px solid #d1d5db;background:#f8fafc;color:#1f2937;font-size:.75rem;font-weight:600;padding:.35rem .6rem;border-radius:.5rem;cursor:pointer;transition:all .2s ease}.scrum-log-download-btn:hover:not(:disabled){background:#e2e8f0}.scrum-log-download-btn:disabled{opacity:.6;cursor:not-allowed}.scrum-log-status{display:flex;flex-direction:column;gap:.25rem}.scrum-log-reason{font-size:.75rem;color:#64748b;line-height:1.4}.scrum-log-table thead{background:#f9fafb}.scrum-log-table th{text-align:left;font-weight:600;font-size:14px;color:#374151;padding:12px 16px;border-bottom:1px solid #e5e7eb}.scrum-log-table td{padding:12px 16px;font-size:14px;color:#6b7280;border-top:1px solid #f3f4f6}.scrum-log-empty{text-align:center;color:#9ca3af;font-style:italic;padding:24px!important}.scrum-log-load-more-row{text-align:center;padding:12px!important}.scrum-notification{position:fixed;top:20px;right:20px;padding:16px 20px;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:2000;animation:slideInRight .3s ease-out;max-width:400px;font-size:14px;font-weight:500}@keyframes slideInRight{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.scrum-notification-success{background:#d1fae5;color:#065f46;border-left:4px solid #10b981}.scrum-notification-error{background:#fee2e2;color:#7f1d1d;border-left:4px solid #ef4444}.scrum-notification-info{background:#dbeafe;color:#1e40af;border-left:4px solid #3b82f6}.scrum-notification-warning{background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b}.scrum-floating-add-btn{position:fixed;bottom:32px;right:24px;z-index:55;display:flex;align-items:center;gap:8px;padding:12px 20px;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 12px 24px #1e40af40;transition:all .2s}.scrum-floating-add-btn:hover{transform:translateY(-2px);box-shadow:0 16px 32px #1e40af4d}.scrum-exit-fullscreen-btn{position:fixed;top:24px;right:24px;z-index:60;display:flex;align-items:center;gap:8px;padding:10px 16px;background:#0f172ad9;color:#f8fafc;border:1px solid rgba(148,163,184,.35);border-radius:9999px;font-size:14px;font-weight:500;cursor:pointer;box-shadow:0 10px 30px #0f172a59;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:all .2s}.scrum-exit-fullscreen-btn:hover{transform:translateY(-1px);opacity:.95}.scrum-board-container::-webkit-scrollbar,.scrum-column-content::-webkit-scrollbar,.scrum-modal-body::-webkit-scrollbar{width:8px;height:8px}.scrum-board-container::-webkit-scrollbar-track,.scrum-column-content::-webkit-scrollbar-track,.scrum-modal-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.scrum-board-container::-webkit-scrollbar-thumb,.scrum-column-content::-webkit-scrollbar-thumb,.scrum-modal-body::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:4px}.scrum-board-container::-webkit-scrollbar-thumb:hover,.scrum-column-content::-webkit-scrollbar-thumb:hover,.scrum-modal-body::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}body.kanban-full-screen{overflow:hidden;background:#f1f5f9}body.kanban-full-screen .scrum-board-page{height:100vh;overflow:hidden}body.kanban-full-screen .scrum-sprint-overview{display:none}body.kanban-full-screen .scrum-board-main{padding-top:24px;padding-bottom:24px}body.kanban-full-screen .scrum-board-container{overflow-x:auto;overflow-y:auto;padding-bottom:16px}body.kanban-full-screen #kanban-board-container{min-height:calc(100vh - 220px)}.scrum-priority{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;border:1px solid transparent;white-space:nowrap}.scrum-priority-critical{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.scrum-priority-high{background:#ffedd5;color:#9a3412;border-color:#fdba74}.scrum-priority-medium{background:#fef9c3;color:#854d0e;border-color:#fde047}.scrum-priority-low{background:#e0f2fe;color:#075985;border-color:#7dd3fc}.scrum-task-labels{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}.scrum-label-chip{display:inline-flex;align-items:center;max-width:100%;padding:2px 8px;border-radius:9999px;border:1px solid;font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scrum-label-picker{display:flex;flex-wrap:wrap;gap:6px}.scrum-label-option{padding:4px 10px;border-radius:9999px;border:1px solid;font-size:12px;font-weight:600;cursor:pointer;background:transparent;transition:transform .1s ease,box-shadow .1s ease}.scrum-label-option:hover{transform:translateY(-1px);box-shadow:0 1px 4px #0f172a26}.scrum-label-option:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.scrum-form-hint{margin:0;font-size:12px;color:#6b7280}.scrum-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 14px;margin-bottom:14px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 2px #0f172a0a}.scrum-filter-bar__icon{display:inline-flex;color:#64748b}.scrum-filter-bar__search{display:inline-flex;align-items:center;gap:6px;flex:1 1 220px;min-width:180px;max-width:360px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b}.scrum-filter-bar__search:focus-within{border-color:#1a1f71;background:#fff}.scrum-filter-bar__search input{flex:1;min-width:0;padding:7px 0;border:none;background:transparent;font-size:13px;color:#0f172a;outline:none}.scrum-filter-bar__select{padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;font-size:13px;color:#0f172a}.scrum-filter-bar__labels{display:flex;flex-wrap:wrap;gap:6px}.scrum-filter-chip{cursor:pointer;background:transparent;font-size:12px;padding:4px 10px;transition:transform .1s ease,box-shadow .1s ease}.scrum-filter-chip:hover{transform:translateY(-1px);box-shadow:0 2px 6px #0f172a1f}.scrum-filter-chip:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.scrum-filter-bar__status{display:inline-flex;align-items:center;gap:10px;margin-left:auto}.scrum-filter-bar__count{font-size:12px;font-weight:600;color:#1a1f71;background:#eef2ff;padding:4px 10px;border-radius:9999px}.scrum-filter-bar__clear{padding:6px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:12px;font-weight:600;color:#334155;cursor:pointer}.scrum-filter-bar__clear:hover:not(:disabled){background:#f1f5f9}.scrum-filter-bar__clear:disabled{opacity:.5;cursor:default}@media(max-width:768px){.scrum-filter-bar__status{margin-left:0;width:100%;justify-content:space-between;flex-wrap:wrap;gap:8px}}.scrum-watch-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border-radius:.5rem;border:1px solid #d1d5db;background:#fff;color:#374151;font-size:.85rem;font-weight:600;cursor:pointer;margin-right:.5rem}.scrum-watch-btn:hover:not(:disabled){background:#f3f4f6}.scrum-watch-btn--on{background:#e0e7ff;border-color:#a5b4fc;color:#1a1f71}.scrum-watch-btn:disabled{opacity:.6;cursor:default}.scrum-task-card--focus{outline:2px solid #2563eb;box-shadow:0 0 0 4px #2563eb40}.scrum-task-blocked-badge{display:inline-flex;align-items:center;gap:3px;padding:3px 8px;border-radius:9999px;font-size:10px;font-weight:700;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;white-space:nowrap;cursor:help}.scrum-filter-blocked{display:inline-flex;align-items:center;gap:4px;border:1px solid #fecaca;border-radius:9999px;color:#b91c1c;font-weight:600}.scrum-filter-blocked.is-on{background:#dc2626;border-color:#dc2626;color:#fff}.scrum-select-toggle{display:inline-flex;align-items:center;gap:5px}.scrum-select-toggle.is-on{background:#1a1f71;border-color:#1a1f71;color:#fff}.scrum-select-toggle.is-on:hover:not(:disabled){background:#12165a}.scrum-column-select-all{display:block;width:100%;margin:0 0 8px;padding:5px 10px;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;font-size:12px;font-weight:600;color:#1a1f71;cursor:pointer}.scrum-column-select-all:hover{background:#eef2ff}.scrum-column-select-all[aria-pressed=true]{border-style:solid;background:#eef2ff}.scrum-task-card--selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.scrum-task-card--selected{outline:2px solid #1A1F71;box-shadow:0 0 0 4px #1a1f7126;background:#f5f7ff}.scrum-task-select{flex-shrink:0;width:16px;height:16px;margin:2px 8px 0 0;accent-color:#1A1F71;cursor:pointer}.scrum-bulk-bar{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:900;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:10px 14px;background:#0f172a;color:#f8fafc;border-radius:12px;box-shadow:0 10px 30px #0f172a59}.scrum-bulk-bar__count{font-size:13px;font-weight:700;padding-right:6px;white-space:nowrap}.scrum-bulk-bar__select{padding:6px 8px;border:1px solid #334155;border-radius:8px;background:#1e293b;color:#f8fafc;font-size:13px;cursor:pointer}.scrum-bulk-bar__select:disabled,.scrum-bulk-bar__delete:disabled,.scrum-bulk-bar__ghost:disabled{opacity:.45;cursor:default}.scrum-bulk-bar__delete,.scrum-bulk-bar__ghost{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}.scrum-bulk-bar__delete{border:1px solid #ef4444;background:#b91c1c;color:#fff}.scrum-bulk-bar__delete:hover:not(:disabled){background:#991b1b}.scrum-bulk-bar__ghost{border:1px solid #334155;background:transparent;color:#e2e8f0}.scrum-bulk-bar__ghost:hover:not(:disabled){background:#1e293b}.scrum-bulk-bar__result{flex-basis:100%;font-size:12px;font-weight:600}.scrum-bulk-bar__result--success{color:#86efac}.scrum-bulk-bar__result--warning{color:#fcd34d;cursor:help}.scrum-bulk-bar__result--error{color:#fca5a5}.scrum-bulk-bar__result--busy{color:#cbd5e1}.scrum-board-page:has(.scrum-bulk-bar) .scrum-board-main{padding-bottom:96px}.scrum-modal-small{max-width:460px}.scrum-column-picker,.scrum-task-move{display:none}@media(pointer:coarse){.scrum-task-edit-btn{opacity:1;visibility:visible}.scrum-task-move{display:block}}@media(max-width:768px){.scrum-board-header-top{padding:10px 12px;flex-wrap:wrap;gap:10px}.scrum-board-header-left{gap:10px;min-width:0;flex:1 1 100%}.scrum-board-header-left>div:last-child{min-width:0}.scrum-board-icon{display:none}.scrum-board-title{font-size:18px;overflow-wrap:anywhere}.scrum-board-header-right{flex:1 1 100%}.scrum-board-toggle-btn{display:none}.scrum-board-add-btn{flex:1;justify-content:center;min-height:44px}.scrum-sprint-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.scrum-progress-card{grid-column:1 / -1}.scrum-sprint-overview .scrum-metric-card{padding:10px 12px}.scrum-sprint-overview .scrum-metric-icon{display:none}.scrum-sprint-overview .scrum-metric-value{font-size:20px}.scrum-board-main{padding:12px;overflow:visible}.scrum-filter-bar{padding:10px;gap:8px}.scrum-filter-bar__icon{display:none}.scrum-filter-bar__search{flex:1 1 100%;min-height:44px}.scrum-filter-bar__search input{font-size:16px;width:100%}.scrum-filter-bar__select{flex:1 1 calc(50% - 4px);min-width:0;min-height:44px;font-size:16px}.scrum-filter-bar__sprint{flex-basis:calc(100% - 110px)}.scrum-filter-chip,.scrum-filter-bar__clear{min-height:44px;padding-left:14px;padding-right:14px}.scrum-filter-bar__labels{flex:1 1 100%;flex-wrap:wrap}.scrum-column-picker{display:flex;gap:6px;overflow-x:auto;margin:0 -12px 10px;padding:0 12px 2px;scrollbar-width:none}.scrum-column-picker::-webkit-scrollbar{display:none}.scrum-column-picker__tab{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:14px;font-weight:600;white-space:nowrap}.scrum-column-picker__tab.is-active{background:#1a1f71;border-color:#1a1f71;color:#fff}.scrum-column-picker__count{min-width:22px;padding:1px 6px;border-radius:999px;background:#0f172a14;font-size:12px;text-align:center}.scrum-column-picker__tab.is-active .scrum-column-picker__count{background:#fff3}.scrum-board-container{overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:0}.scrum-board-container::-webkit-scrollbar{display:none}.scrum-board-columns{gap:0;min-width:0;height:auto}.scrum-board-column{flex:0 0 100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;padding:0 1px}.scrum-column-content{min-height:240px;padding:10px;overflow:visible}.scrum-task-card{cursor:default;padding:12px}.scrum-task-card:hover{transform:none}.scrum-task-header{flex-wrap:wrap}.scrum-task-title{flex:1 1 60%;min-width:0;overflow-wrap:anywhere}.scrum-task-actions{flex:1 1 100%;flex-wrap:wrap;gap:6px}.scrum-task-edit-btn,.scrum-task-comments-btn,.scrum-task-attachments-btn,.scrum-task-log-btn,.scrum-task-reopen-btn{min-width:44px;min-height:44px;justify-content:center;opacity:1;visibility:visible}.scrum-task-edit-btn{border:1px solid #e5e7eb}.scrum-task-select{width:24px;height:24px;margin:10px}.scrum-task-move{display:block;width:100%;min-height:44px;margin-top:10px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#1f2937;font-size:16px}.scrum-column-select-all{min-height:44px}.scrum-bulk-bar{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));transform:none;max-width:none;max-height:60vh;overflow-y:auto;padding:10px}.scrum-bulk-bar__count{flex:1 1 100%}.scrum-bulk-bar__select{flex:1 1 calc(50% - 4px);min-width:0;min-height:44px;font-size:16px}.scrum-bulk-bar__delete,.scrum-bulk-bar__ghost{flex:1 1 auto;justify-content:center;min-height:44px;min-width:44px}.scrum-board-page:has(.scrum-bulk-bar) .scrum-board-main{padding-bottom:240px}.scrum-modal-overlay{align-items:stretch}.scrum-modal-content,.scrum-modal-content.scrum-modal-small,.scrum-log-modal{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;animation:none}.scrum-modal-content>form{display:flex;flex-direction:column;flex:1;min-height:0}.scrum-modal-header{padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top));gap:8px}.scrum-modal-close{min-width:44px;min-height:44px}.scrum-modal-body{flex:1;padding:12px}.scrum-modal-footer{margin-top:auto;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.scrum-modal-footer .scrum-btn,.scrum-modal-footer-right{flex:1 1 auto}.scrum-btn{min-height:44px;justify-content:center}.scrum-modal-content input,.scrum-modal-content select,.scrum-modal-content textarea{font-size:16px}.scrum-form-row{grid-template-columns:1fr}}.backlog-page{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1e293b}.backlog-empty{text-align:center;padding:48px 24px;color:#64748b;font-size:18px}.backlog-header{display:flex;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.backlog-header__title{flex:1;min-width:220px}.backlog-header__title h1{margin:0;font-size:24px;font-weight:700}.backlog-header__title p{margin:4px 0 0;color:#64748b;font-size:14px}.backlog-header__title a{color:#2563eb}.backlog-back,.backlog-secondary{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:14px;cursor:pointer}.backlog-primary{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:none;border-radius:8px;background:#7c3aed;color:#fff;font-size:14px;font-weight:600;cursor:pointer}.backlog-primary:disabled{opacity:.6;cursor:default}.backlog-primary--danger{background:#dc2626}.backlog-banner{margin-bottom:16px;padding:12px 16px;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;color:#92400e;font-size:14px}.backlog-notice{margin-bottom:16px;padding:10px 14px;border-radius:8px;font-size:14px}.backlog-notice--success{background:#ecfdf5;border:1px solid #6ee7b7;color:#065f46}.backlog-notice--error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}.backlog-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}@media(max-width:900px){.backlog-columns{grid-template-columns:minmax(0,1fr)}}.backlog-sprints{display:flex;flex-direction:column;gap:16px}.backlog-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 1px 3px #0f172a0f;transition:border-color .15s,box-shadow .15s}.backlog-panel--active{border-left:4px solid #16a34a}.backlog-panel--planned{border-left:4px solid #7c3aed}.backlog-panel.is-drop-target{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed2e}.backlog-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}.backlog-panel__header h2{margin:0;font-size:17px;font-weight:700;display:flex;align-items:center;gap:8px}.backlog-panel__dates,.backlog-panel__stats{display:inline-flex;align-items:center;gap:4px;color:#64748b;font-size:13px}.backlog-panel__goal{display:flex;align-items:center;gap:6px;margin:6px 0;color:#334155;font-size:14px}.backlog-panel__empty,.backlog-panel__footnote{margin:12px 0 0;color:#94a3b8;font-size:14px}.backlog-panel__actions{display:flex;align-items:center;gap:6px}.backlog-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;cursor:pointer}.backlog-action{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.backlog-action:disabled{opacity:.5;cursor:not-allowed}.backlog-action--start{background:#16a34a}.backlog-action--close{background:#ea580c}.sprint-state{padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.sprint-state--active{background:#dcfce7;color:#166534}.sprint-state--planned{background:#ede9fe;color:#5b21b6}.sprint-state--closed{background:#f1f5f9;color:#475569}.backlog-task-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.backlog-task{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.backlog-task[draggable=true]{cursor:grab}.backlog-task.is-dragging{opacity:.5}.backlog-task__main{flex:1;min-width:0;display:flex;flex-direction:column}.backlog-task__title{color:#1e293b;font-weight:600;font-size:14px;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backlog-task__title:hover{color:#2563eb;text-decoration:underline}.backlog-task__meta{color:#64748b;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backlog-task__status{padding:2px 8px;border-radius:999px;background:#e0e7ff;color:#3730a3;font-size:11px;text-transform:capitalize;white-space:nowrap}.backlog-task__status.is-done{background:#dcfce7;color:#166534}.backlog-task__points{min-width:28px;text-align:center;font-weight:700;color:#475569;font-size:13px}.backlog-task__move{max-width:130px;padding:4px 6px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.backlog-closed__toggle{border:none;background:none;color:#2563eb;font-size:14px;cursor:pointer;padding:4px 0}.backlog-closed__list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.backlog-closed__list li{display:flex;flex-wrap:wrap;gap:12px;padding:8px 12px;border-radius:8px;background:#fff;border:1px solid #e2e8f0;font-size:13px;color:#475569}.backlog-modal-overlay{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px;z-index:1000}.backlog-modal{width:100%;max-width:460px;background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 40px #0f172a40}.backlog-modal__header{display:flex;justify-content:space-between;align-items:center}.backlog-modal__header h2{margin:0;font-size:18px}.backlog-modal label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:#334155}.backlog-modal input,.backlog-modal textarea{padding:8px 10px;border:1px solid #cbd5e1;border-radius:6px;font:inherit;font-weight:400}.backlog-modal__dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.backlog-modal__hint{margin:0;color:#64748b;font-size:13px}.backlog-modal__footer{display:flex;justify-content:flex-end;gap:8px}.close-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.close-summary div{padding:12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}.close-summary dt{color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.close-summary dd{margin:4px 0 0;font-size:16px;font-weight:700}.backlog-task__select{flex-shrink:0;width:16px;height:16px;accent-color:#1A1F71;cursor:pointer}.backlog-task.is-selected{border-color:#1a1f71;background:#f5f7ff}.backlog-select-all{padding:3px 10px;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;font-size:12px;font-weight:600;color:#1a1f71;cursor:pointer;white-space:nowrap}.backlog-select-all[aria-pressed=true]{border-style:solid;background:#eef2ff}.backlog-bulk-bar{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:900;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:10px 14px;background:#0f172a;color:#f8fafc;border-radius:12px;box-shadow:0 10px 30px #0f172a59}.backlog-bulk-bar__count{font-size:13px;font-weight:700;white-space:nowrap}.backlog-bulk-bar__select{padding:6px 8px;border:1px solid #334155;border-radius:8px;background:#1e293b;color:#f8fafc;font-size:13px}.backlog-bulk-bar__ghost{padding:6px 10px;border:1px solid #334155;border-radius:8px;background:transparent;color:#e2e8f0;font-size:13px;font-weight:600;cursor:pointer}.backlog-bulk-bar__select:disabled,.backlog-bulk-bar__ghost:disabled{opacity:.45}.backlog-bulk-bar__result{flex-basis:100%;font-size:12px;font-weight:600}.backlog-bulk-bar__result--success{color:#86efac}.backlog-bulk-bar__result--warning{color:#fcd34d;cursor:help}.backlog-bulk-bar__result--error{color:#fca5a5}.backlog-bulk-bar__result--busy{color:#cbd5e1}.backlog-page:has(.backlog-bulk-bar){padding-bottom:96px}@media(max-width:768px){.backlog-page{padding:12px}.backlog-header{gap:10px}.backlog-header__title{min-width:0;flex:1 1 100%}.backlog-header__title h1{font-size:20px;overflow-wrap:anywhere}.backlog-header__title a{display:inline-flex;align-items:center;min-height:44px}.backlog-back,.backlog-secondary,.backlog-primary,.backlog-action,.backlog-select-all,.backlog-closed__toggle{min-height:44px}.backlog-icon-btn{width:44px;height:44px}.backlog-panel{padding:12px}.backlog-panel__header{flex-wrap:wrap}.backlog-task{flex-wrap:wrap;padding:8px 10px}.backlog-task__select{width:24px;height:24px;margin:10px}.backlog-task__title{display:flex;align-items:center;min-height:44px;font-size:15px}.backlog-task__move{flex:1 1 100%;max-width:none;min-height:44px;font-size:16px}.backlog-bulk-bar{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));transform:none;max-width:none}.backlog-bulk-bar__select,.backlog-bulk-bar__ghost{flex:1 1 auto;min-height:44px;font-size:16px}.backlog-modal-overlay{padding:0;align-items:stretch}.backlog-modal{max-width:none;min-height:100dvh;border-radius:0;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));overflow-y:auto}.backlog-modal input,.backlog-modal textarea,.backlog-modal select{font-size:16px;min-height:44px}.backlog-modal__footer{margin-top:auto}.backlog-modal__footer button{flex:1 1 auto}}.corporate-bg{background:linear-gradient(135deg,#f8fafc,#e2e8f0);min-height:100vh;padding:1.5rem}.corporate-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s ease-in-out}.corporate-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f;transform:translateY(-1px)}.analytics-page{width:100%;max-width:100%}.analytics-tabs{display:inline-flex;align-items:center;background:#fff;border-radius:9999px;border:1px solid rgba(148,163,184,.4);padding:.25rem;gap:.5rem;margin-bottom:1.5rem}.analytics-tab{border:none;background:transparent;border-radius:9999px;padding:.45rem 1.5rem;font-weight:600;font-size:.9rem;color:#475569;cursor:pointer;transition:all .2s ease}.analytics-tab.is-active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 10px 20px #2563eb40}.tab-panel{display:none}.tab-panel.is-active{display:block}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.custom-select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;background-color:#fff!important;color:#1e293b!important;appearance:none}.summary-cards-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:1.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.25rem}@media(max-width:768px){.summary-cards-row{grid-template-columns:1fr;grid-auto-flow:row}}.chart-container,.chart-container-small{position:relative;height:300px;width:100%}.loading-state{display:flex;align-items:center;justify-content:center;min-height:400px;color:#64748b;font-size:1rem}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}@media(min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:col-span-2{grid-column:span 2 / span 2}}.gap-6{gap:1.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-slate-600{color:#475569}.text-slate-800{color:#1e293b}.text-slate-500{color:#64748b}.block{display:block}.flex{display:flex}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.w-full{width:100%}.w-3{width:.75rem}.w-6{width:1.5rem}.w-12{width:3rem}.h-3{height:.75rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-12{height:3rem}.bg-blue-100{background-color:#dbeafe}.bg-orange-100{background-color:#fed7aa}.bg-green-100{background-color:#dcfce7}.bg-violet-100{background-color:#ede9fe}.bg-slate-100{background-color:#f1f5f9}.text-blue-600{color:#2563eb}.text-orange-600{color:#ea580c}.text-green-600{color:#16a34a}.text-violet-600{color:#7c3aed}.text-slate-700{color:#334155}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-slate-300{border-color:#cbd5e1}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-color: #3b82f6}.focus\:border-transparent:focus{border-color:transparent}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.hover\:bg-slate-200:hover{background-color:#e2e8f0}.space-x-2>*+*{margin-left:.5rem}.space-x-4>*+*{margin-left:1rem}.pause-chart-container{position:relative;height:320px;width:100%}.heatmap-row{display:grid;grid-template-columns:60px repeat(6,minmax(0,1fr));gap:.5rem;align-items:center;margin-bottom:.35rem}.heatmap-row--header{margin-bottom:.6rem}.heatmap-day-label{font-size:.75rem;color:#64748b;text-align:center;font-weight:600}.heatmap-cell-stack{width:4.84rem;height:3.74rem;display:flex;flex-direction:column;justify-content:space-between;gap:.25rem}.heatmap-block{flex:1;min-height:1.65rem;border-radius:.35rem;display:flex;align-items:center;justify-content:center;font-size:.62rem;font-weight:600;letter-spacing:.01em;color:#fff;box-shadow:inset 0 1px #ffffff40;text-shadow:0 1px 2px rgba(0,0,0,.35)}.heatmap-block.is-empty{background:#e2e8f0;color:#475569;text-shadow:none;box-shadow:none}.heatmap-block.planned.intensity-0{background:#dbeafe;color:#1e40af}.heatmap-block.planned.intensity-1{background:#60a5fa}.heatmap-block.planned.intensity-2{background:#2563eb}.heatmap-block.planned.intensity-3{background:#1e3a8a}.heatmap-block.actual.intensity-0{background:#dcfce7;color:#166534}.heatmap-block.actual.intensity-1{background:#4ade80}.heatmap-block.actual.intensity-2{background:#16a34a}.heatmap-block.actual.intensity-3{background:#166534}.heatmap-legend{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:#475569;margin-top:1rem}.heatmap-legend__swatches{display:flex;gap:.25rem}.heatmap-legend__swatches span{width:.75rem;height:.75rem;border-radius:.125rem}.utilisation-table{width:100%;border-collapse:collapse}.utilisation-panel .metrics-grid{gap:1.25rem}.utilisation-filters-card{position:relative;z-index:20;border:1px solid rgba(148,163,184,.25);box-shadow:0 8px 24px #0f172a0f}.utilisation-filters-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(226,232,240,.8)}.utilisation-filter-actions{display:inline-flex;align-items:center;gap:.75rem;white-space:nowrap}.utilisation-reset-btn{border:1px solid rgba(37,99,235,.25);background:#2563eb14;color:#1d4ed8;font-weight:600;font-size:.8rem;padding:.4rem .85rem;border-radius:.65rem;transition:all .2s ease}.utilisation-reset-btn:hover{background:#2563eb29;border-color:#2563eb66}.utilisation-reset-btn:disabled{opacity:.6;cursor:wait}.daily-log-load-more{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem 0}.utilisation-input{font-weight:500;color:#0f172a}.utilisation-panel .filters-grid select,.utilisation-panel .filters-grid input[type=date]{height:2rem;padding:.25rem .5rem}.utilisation-table thead{background:#f8fafc}.utilisation-table th{padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.875rem;color:#475569;border-bottom:2px solid #e2e8f0}.utilisation-table td{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;font-size:.875rem;color:#1e293b}.utilisation-table th:nth-child(3),.utilisation-table th:nth-child(4),.utilisation-table th:nth-child(5),.utilisation-table th:nth-child(6),.utilisation-table th:nth-child(7),.utilisation-table td:nth-child(3),.utilisation-table td:nth-child(4),.utilisation-table td:nth-child(5),.utilisation-table td:nth-child(6),.utilisation-table td:nth-child(7){text-align:center}.utilisation-table tbody tr:hover{background:#f8fafc}.text-right{text-align:right}.text-left{text-align:left}.task-load-table{width:100%;border-collapse:collapse}.task-load-table thead{background:#f8fafc}.task-load-table th{padding:.5rem;text-align:center;font-weight:600;font-size:.75rem;color:#475569;border:1px solid #e2e8f0}.task-load-table td{padding:.5rem;border:1px solid #e2e8f0;font-size:.75rem;text-align:center}.task-load-table tbody tr:hover{background:#f8fafc}.gantt-scroll{overflow:auto;-webkit-overflow-scrolling:touch;max-height:65vh}.gantt-table{min-width:840px}.gantt-row{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-top:1px solid rgba(148,163,184,.25)}.gantt-row:first-child{border-top:none}.gantt-label{width:280px;min-width:280px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-weight:600;font-size:.875rem}.gantt-timeline{position:relative;height:28px;border-radius:10px;background:repeating-linear-gradient(to right,rgba(226,232,240,.9),rgba(226,232,240,.9) 1px,transparent 1px,transparent 110px);border:1px solid rgba(148,163,184,.25);flex:0 0 auto;overflow:hidden}.gantt-label__meta{display:block;margin-top:.1rem;font-size:.75rem;color:#64748b;font-weight:500}.gantt-header{display:flex;align-items:center;gap:.75rem;padding-bottom:.75rem;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid rgba(148,163,184,.25)}.gantt-header__spacer{width:280px;min-width:280px;max-width:280px}.gantt-weeks{display:grid;gap:0;margin-left:4mm}.gantt-week{text-align:center;font-size:.75rem;color:#475569;padding:0;border-left:1px solid rgba(148,163,184,.25);line-height:1.1;-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:3.75rem;gap:0;box-sizing:border-box;margin-left:0}.gantt-week__box{width:100%;flex:1;min-height:3.5rem;border:1px solid rgba(148,163,184,.35);background:#f8fafce6;border-radius:.4rem;padding:.3rem .2rem;color:#0f172a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;box-sizing:border-box}.gantt-week__iso{font-weight:700;font-size:.6875rem;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.gantt-week__range{font-weight:500;font-size:.625rem;color:#64748b;line-height:1.2;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gantt-week:first-child{border-left:none}.gantt-project{border:1px solid rgba(148,163,184,.25);border-radius:.75rem;background:#fff;overflow:hidden;margin-bottom:.75rem}.gantt-project summary{cursor:pointer;list-style:none;padding:.9rem 1rem;background:linear-gradient(135deg,#f8fafc,#eef2ff);display:flex;align-items:center;justify-content:space-between;gap:1rem}.gantt-project--milestone summary{background:linear-gradient(135deg,#f8fafc,#fff7ed)}.gantt-project--major summary{background:linear-gradient(135deg,#f8fafc,#ecfdf5)}.gantt-project summary::-webkit-details-marker{display:none}.gantt-project__title{font-weight:700;color:#0f172a}.gantt-legend{display:flex;align-items:center;gap:1rem;font-size:.85rem;color:#475569;padding:.6rem .9rem;border:1px solid rgba(226,232,240,.9);border-radius:9999px;background:#f8fafc}.gantt-legend__swatch{display:inline-block;width:18px;height:10px;border-radius:9999px;border:1px solid rgba(15,23,42,.15);box-shadow:inset 0 1px #fff9;margin-right:.15rem}.gantt-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-bottom:3mm}.gantt-card{padding:1.1rem 1.25rem 0}#analyticsGanttPanel .gantt-toolbar{margin-bottom:0}#analyticsGanttPanel #ganttRoot:empty{display:none}.gantt-toolbar__title h3{display:flex;align-items:center;gap:.5rem}.gantt-toolbar__controls{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;justify-content:flex-end}.gantt-filter{background:#f8fafc;border:1px solid rgba(226,232,240,.8);padding:.6rem .9rem;border-radius:.75rem;box-shadow:inset 0 1px #ffffffb3}.gantt-filter label{font-size:.95rem;font-weight:600;color:#475569;margin-bottom:2mm}.gantt-filter select{background-color:#fff;width:280px;height:2.6rem}.gantt-legend span{display:inline-flex;align-items:center;gap:.45rem}.gantt-legend{padding:.5rem .75rem;border:1px solid rgba(226,232,240,.9);border-radius:9999px;background:#f8fafc}.gantt-action-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border-radius:.75rem;border:1px solid #1d4ed8;background:#1d4ed8;color:#fff;font-weight:600;font-size:.9rem;transition:all .2s ease;white-space:nowrap}.gantt-action-btn:hover{background:#1e40af;border-color:#1e40af}@media(max-width:960px){.gantt-toolbar__controls{justify-content:flex-start}.gantt-filter select{width:220px}}#analyticsGanttPanel:fullscreen{background:#f8fafc;overflow:auto;padding:1rem;width:100vw;height:100vh;box-sizing:border-box}#analyticsGanttPanel:fullscreen .space-y-6{height:100%}#analyticsGanttPanel:fullscreen .corporate-card{height:100%;display:flex;flex-direction:column}#analyticsGanttPanel:fullscreen #ganttRoot{flex:1;min-height:0;display:flex;flex-direction:column}#analyticsGanttPanel:fullscreen .gantt-scroll{flex:1;min-height:0;max-height:none}#analyticsGanttPanel:-webkit-full-screen{background:#f8fafc;overflow:auto;padding:1rem;width:100vw;height:100vh;box-sizing:border-box}#analyticsGanttPanel:-webkit-full-screen .space-y-6{height:100%}#analyticsGanttPanel:-webkit-full-screen .corporate-card{height:100%;display:flex;flex-direction:column}#analyticsGanttPanel:-webkit-full-screen #ganttRoot{flex:1;min-height:0;display:flex;flex-direction:column}#analyticsGanttPanel:-webkit-full-screen .gantt-scroll{flex:1;min-height:0;max-height:none}.gantt-bar{position:absolute;top:50%;transform:translateY(-50%);height:14px;border-radius:9999px}.gantt-bar--plan{background:#1d4ed8eb;border:1px solid rgba(29,78,216,.92)}.gantt-bar--actual-good{background:#10b981e6}.gantt-bar--actual-warn{background:#eab308f2}.gantt-bar--actual-late{background:#ef4444f2}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1.5rem}.metric-icon{width:3rem;height:3rem;border-radius:.75rem;display:flex;align-items:center;justify-content:center}.table-wrapper{position:relative;overflow-x:auto}.loading-overlay{position:absolute;inset:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;z-index:10}.filters-footer{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.task-load-actions{display:flex;gap:.75rem}.task-load-card{border:1px solid rgba(148,163,184,.25);box-shadow:0 10px 26px #0f172a0f}.task-load-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:1px solid rgba(226,232,240,.9)}.task-load-primary-btn{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1.1rem;border-radius:.75rem;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:600;font-size:.875rem;border:none;box-shadow:0 10px 20px #2563eb2e;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.task-load-primary-btn:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 12px 24px #1e40af40;transform:translateY(-1px)}.task-load-secondary-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border-radius:.75rem;border:1px solid rgba(148,163,184,.6);color:#334155;font-weight:600;font-size:.875rem;background:#f8fafc;transition:all .2s ease}.task-load-secondary-btn:hover{background:#f1f5f9;border-color:#94a3b8cc}.task-load-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}#analyticsTaskLoadPanel .task-load-filter-grid select,#analyticsTaskLoadPanel .task-load-filter-grid input[type=date]{height:2rem;padding:.25rem .5rem}.task-load-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.task-load-legend{display:flex;gap:1rem;font-size:.875rem}.task-load-table-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem}@media(max-width:960px){.task-load-table-header{flex-direction:column;align-items:flex-start}}.task-load-legend span{display:flex;align-items:center;gap:.5rem}.task-load-legend b{display:inline-block;width:1rem;height:1rem;border-radius:.25rem}.task-load-empty-state{padding:3rem;text-align:center;color:#64748b;font-size:.875rem}.searchable-select{position:relative;width:100%}.searchable-select.is-open{z-index:60}.searchable-select__trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:2.25rem;padding:.45rem .7rem;border:1px solid #cbd5e1;border-radius:.5rem;color:#334155;background:#fff;font-size:.875rem;text-align:left;cursor:pointer}.searchable-select__trigger:hover,.searchable-select__trigger:focus-visible{border-color:#3b82f6;outline:2px solid rgba(59,130,246,.2);outline-offset:1px}.searchable-select__chevron{margin-left:.5rem;color:#64748b;font-size:.75rem}.searchable-select__menu{position:absolute;z-index:50;top:calc(100% + .25rem);left:0;width:100%;min-width:13rem;overflow:hidden;border:1px solid #bfdbfe;border-radius:.5rem;background:#fff;box-shadow:0 12px 24px #0f172a29}.searchable-select__input{width:100%;padding:.55rem .7rem;border:0;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:.8125rem;outline:0}.searchable-select__options{max-height:13rem;overflow-y:auto}.searchable-select__option,.searchable-select__empty{display:block;width:100%;padding:.55rem .7rem;border:0;color:#334155;background:#fff;font-size:.8125rem;text-align:left}.searchable-select__option{cursor:pointer}.searchable-select__option:hover,.searchable-select__option.is-active{color:#1d4ed8;background:#eff6ff}.searchable-select__empty{color:#64748b}.ai-senpai-page{min-height:calc(100vh - 140px);padding:1.5rem;background:radial-gradient(circle at top right,rgba(59,130,246,.16),transparent 28%),linear-gradient(180deg,#f8fafc,#eef2ff)}.ai-senpai-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.5rem;margin-bottom:1.5rem;padding:1.25rem 1.5rem;border-radius:1.25rem;background:#ffffffd1;border:1px solid rgba(148,163,184,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:start}.ai-senpai-hero__label-wrap{display:flex;align-items:flex-start}.ai-senpai-hero__eyebrow{display:inline-flex;padding:.35rem .65rem;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.ai-senpai-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem;min-width:0}.ai-senpai-filters label{display:grid;gap:.4rem;color:#334155;min-width:0}.ai-senpai-filters input,.ai-senpai-filters select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:.85rem;padding:.85rem .95rem;font:inherit;background:#fff}.ai-senpai-layout{display:grid;gap:1.5rem}.ai-senpai-section{display:grid;gap:1rem}.ai-senpai-section__header{display:flex;justify-content:space-between;align-items:end;gap:1rem}.ai-senpai-section__header h2,.ai-senpai-section__header p,.ai-senpai-run-meta span,.ai-senpai-run-meta strong{margin:0}.ai-senpai-run-meta{display:grid;justify-items:end;gap:.2rem;color:#475569}.ai-senpai-cards{display:grid;gap:1rem}.ai-senpai-card{border-radius:1rem;border:1px solid rgba(148,163,184,.24);background:#ffffffeb;box-shadow:0 18px 36px #0f172a0f;padding:1.15rem;display:grid;gap:1rem}.ai-senpai-card__meta{display:flex;justify-content:space-between;gap:1rem}.ai-senpai-card__eyebrow{display:inline-flex;margin-bottom:.5rem;color:#1d4ed8;font-size:.8rem;font-weight:700;letter-spacing:.02em}.ai-senpai-card__meta h3{margin:0;color:#0f172a}.ai-senpai-card__scores{display:flex;flex-wrap:wrap;gap:.5rem;align-content:start}.ai-senpai-card__scores span,.ai-senpai-card__footer span{background:#eff6ff;color:#1e3a8a;border-radius:999px;padding:.35rem .6rem;font-size:.82rem}.ai-senpai-card__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ai-senpai-card--team{gap:1.15rem}.ai-senpai-card__columns--team strong,.ai-senpai-card__why--team strong{color:#0f172a}.ai-senpai-card__why--team{padding:.95rem 1rem;border-radius:.95rem;background:#f8fafc;border:1px solid #e2e8f0}.ai-senpai-card__why--team ul{margin-top:.6rem}.ai-senpai-card ul{margin:.55rem 0 0 1rem;color:#475569}.ai-senpai-card__recommendations{display:grid;gap:.75rem}.ai-senpai-recommendation{border-radius:.9rem;background:#f8fafc;border:1px solid #e2e8f0;padding:.85rem .95rem;display:flex;justify-content:space-between;gap:1rem}.ai-senpai-recommendation h4,.ai-senpai-recommendation p{margin:0}.ai-senpai-recommendation p{margin-top:.35rem;color:#475569}.ai-senpai-recommendation span{color:#1d4ed8;white-space:nowrap}.ai-senpai-card__footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.ai-senpai-empty{padding:2rem;border-radius:1rem;background:#ffffffd1;border:1px solid rgba(148,163,184,.2);color:#64748b;text-align:center}@media(max-width:1200px){.ai-senpai-hero{grid-template-columns:1fr}}@media(max-width:960px){.ai-senpai-hero,.ai-senpai-card__columns,.ai-senpai-card__meta,.ai-senpai-section__header,.ai-senpai-recommendation{grid-template-columns:1fr;flex-direction:column}.ai-senpai-filters{grid-template-columns:1fr}}.ai-settings-panel{display:flex;flex-direction:column;gap:1.5rem}.ai-settings-empty{padding:2rem;text-align:center;color:#64748b}.ai-settings-banner{border-radius:.75rem;padding:.85rem 1rem;font-size:.95rem}.ai-settings-banner-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.ai-settings-banner-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.ai-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;min-width:0}.ai-settings-card{min-width:0;border:1px solid #dbe4ee;border-radius:1rem;padding:1.25rem;background:linear-gradient(180deg,#fff,#f8fafc)}.ai-settings-card__full{grid-column:1 / -1}.ai-settings-card h3{margin:0 0 .4rem;color:#0f172a}.ai-settings-subcopy{margin:0 0 .75rem;color:#64748b;font-size:.9rem}.ai-settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ai-settings-form-grid--runtime{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-settings-form-grid__full{grid-column:1 / -1}.ai-settings-form-grid label,.ai-settings-runtime label{display:flex;flex-direction:column;gap:.45rem;font-size:.9rem;color:#334155}.ai-settings-form-grid input,.ai-settings-form-grid select,.ai-settings-runtime input,.ai-settings-prompt{border:1px solid #cbd5e1;border-radius:.75rem;padding:.8rem .9rem;font:inherit;background:#fff}.ai-settings-prompt{width:100%;resize:vertical}.ai-settings-runtime{display:grid;gap:1rem}.ai-toggle-row{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:.75rem}.ai-toggle-row p,.ai-runtime-meta small{margin:.25rem 0 0;color:#64748b}.ai-settings-field-note{margin:.15rem 0 0;color:#64748b;font-size:.82rem}.ai-settings-field-status{margin:-.1rem 0 .1rem;font-size:.82rem;font-weight:600}.ai-settings-field-status--configured{color:#0f766e}.ai-settings-field-status--empty{color:#92400e}.ai-runtime-meta{background:#eff6ff;border-radius:.75rem;padding:.85rem 1rem;display:grid;gap:.2rem;color:#1e3a8a}.ai-runtime-runs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;min-width:0;align-items:start}.ai-runtime-run{min-width:0;border:1px solid #dbe4ee;border-radius:.85rem;background:#fff;padding:.95rem;display:grid;gap:.85rem;align-content:start}.ai-runtime-run__header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.ai-runtime-run__header>div,.ai-runtime-run__grid div,.ai-runtime-run__footer{min-width:0}.ai-runtime-run__header>div,.ai-runtime-diagnostics__target>div{display:grid;gap:.25rem}.ai-runtime-run__header strong,.ai-runtime-run__grid strong{color:#0f172a;overflow-wrap:anywhere}.ai-runtime-run__header small,.ai-runtime-run__footer small,.ai-runtime-run__grid span,.ai-runtime-run__error{color:#64748b;overflow-wrap:anywhere;line-height:1.4}.ai-runtime-run__badge{display:inline-flex;align-items:center;border-radius:999px;padding:.32rem .7rem;font-size:.78rem;font-weight:700;white-space:nowrap;flex:0 0 auto}.ai-runtime-run__badge--success{background:#dcfce7;color:#166534}.ai-runtime-run__badge--mixed{background:#fef3c7;color:#92400e}.ai-runtime-run__badge--fallback{background:#ffe4e6;color:#9f1239}.ai-runtime-run__badge--failed{background:#fee2e2;color:#991b1b}.ai-runtime-run__badge--running{background:#dbeafe;color:#1d4ed8}.ai-runtime-run__badge--idle{background:#e2e8f0;color:#334155}.ai-runtime-run__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;align-content:start}.ai-runtime-run__grid div,.ai-runtime-run__footer{display:grid;gap:.2rem}.ai-runtime-run__footer{border-top:1px solid #e2e8f0;padding-top:.7rem}.ai-runtime-run__error{font-size:.82rem}.ai-runtime-diagnostics{border-top:1px solid #e2e8f0;padding-top:.75rem;display:grid;gap:.65rem}.ai-runtime-diagnostics__summary,.ai-runtime-diagnostics__target{display:grid;gap:.2rem}.ai-runtime-diagnostics__summary span,.ai-runtime-diagnostics__target span,.ai-runtime-diagnostics__target small{color:#64748b;font-size:.78rem}.ai-runtime-diagnostics__summary strong,.ai-runtime-diagnostics__target strong{color:#0f172a;overflow-wrap:anywhere}.ai-runtime-diagnostics__targets{display:grid;gap:.5rem}.ai-runtime-diagnostics__target{border:1px solid #fde68a;background:#fffbeb;border-radius:.65rem;padding:.65rem;min-width:0}.ai-runtime-diagnostics__target small{display:block;overflow-wrap:anywhere;line-height:1.4}.ai-settings-card__split{display:grid;grid-template-columns:1.4fr 1fr;gap:1rem}.ai-settings-history{border-left:1px solid #e2e8f0;padding-left:1rem}.ai-settings-history__header,.ai-settings-history__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ai-settings-history__list{display:grid;gap:.75rem}.ai-settings-history__item{border:1px solid #dbe4ee;border-radius:.85rem;padding:.75rem .85rem;background:#fff}.ai-settings-history__item p{margin:.2rem 0 0;color:#64748b;font-size:.82rem}.ai-settings-actions{display:flex;justify-content:flex-end}@media(max-width:1080px){.ai-settings-grid,.ai-settings-card__split,.ai-settings-form-grid,.ai-runtime-runs,.ai-runtime-run__grid{grid-template-columns:1fr}.ai-settings-history{border-left:none;border-top:1px solid #e2e8f0;padding-left:0;padding-top:1rem}}.webhooks-panel{display:flex;flex-direction:column;gap:1.25rem}.webhooks-empty{padding:2rem;text-align:center;color:#64748b}.webhooks-banner{border-radius:.75rem;padding:.85rem 1rem;font-size:.95rem}.webhooks-banner-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.webhooks-banner-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.webhooks-table-wrap{overflow-x:auto}.webhooks-table{width:100%;border-collapse:collapse;font-size:.9rem}.webhooks-table th{text-align:left;font-weight:600;color:#475569;padding:.6rem .75rem;border-bottom:1px solid #e2e8f0;white-space:nowrap}.webhooks-table td{padding:.7rem .75rem;border-bottom:1px solid #f1f5f9;vertical-align:top;color:#0f172a}.webhooks-table--compact th,.webhooks-table--compact td{padding:.45rem .6rem;font-size:.85rem}.webhooks-name{font-weight:600}.webhooks-url{max-width:22rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:.8rem}.webhooks-muted{color:#64748b;font-size:.8rem}.webhooks-summary{max-width:26rem}.webhooks-error{color:#b91c1c;font-size:.8rem;max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.webhooks-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.webhooks-actions button{padding:.35rem .7rem;font-size:.8rem}.webhooks-pill{display:inline-block;border-radius:999px;padding:.1rem .55rem;font-size:.75rem;font-weight:600;text-transform:capitalize;background:#e2e8f0;color:#334155}.webhooks-pill--on,.webhooks-pill--sent{background:#dcfce7;color:#166534}.webhooks-pill--off{background:#f1f5f9;color:#64748b}.webhooks-pill--pending,.webhooks-pill--retrying{background:#fef3c7;color:#92400e}.webhooks-pill--failed{background:#fee2e2;color:#991b1b}.webhooks-form{border:1px solid #dbe4ee;border-radius:1rem;padding:1.25rem;background:#fff}.webhooks-form h3{margin:0 0 1rem;color:#0f172a}.webhooks-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.webhooks-form-grid__full{grid-column:1 / -1}.webhooks-form-grid>label{display:flex;flex-direction:column;gap:.45rem;font-size:.9rem;color:#334155}.webhooks-form-grid input:not([type=checkbox]),.webhooks-form-grid select{border:1px solid #cbd5e1;border-radius:.75rem;padding:.7rem .85rem;font:inherit;background:#fff;min-width:0}.webhooks-form-grid>label.webhooks-check{flex-direction:row;align-items:center}.webhooks-fieldset{border:1px solid #e2e8f0;border-radius:.75rem;padding:.75rem 1rem;margin:0}.webhooks-fieldset legend{font-size:.9rem;color:#334155;padding:0 .35rem}.webhooks-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.4rem 1rem;margin-top:.4rem}.webhooks-check{display:flex;align-items:center;gap:.5rem;font-size:.88rem;color:#334155}.webhooks-check code{color:#94a3b8;font-size:.75rem}.webhooks-secret{display:flex;flex-direction:column;gap:.45rem}.webhooks-secret__label{font-size:.9rem;color:#334155}.webhooks-secret__row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.webhooks-secret__row input{flex:1 1 20rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.webhooks-secret__preview{padding:.55rem .8rem;border-radius:.6rem;background:#f1f5f9;color:#334155}.webhooks-note{color:#64748b;font-size:.8rem}.webhooks-form-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.1rem}.webhooks-deliveries{display:flex;flex-direction:column;gap:.6rem;border:1px solid #dbe4ee;border-radius:1rem;padding:1rem 1.25rem;background:#f8fafc;overflow-x:auto}.webhooks-deliveries__header{display:flex;justify-content:space-between;align-items:center}.webhooks-deliveries__header button{flex:0 0 auto;width:auto}.webhooks-deliveries__header h4{margin:0;color:#0f172a}@media(max-width:768px){.webhooks-form-grid{grid-template-columns:1fr}.webhooks-actions{justify-content:flex-start}}.integrations-setup{display:flex;flex-direction:column;gap:.9rem;border-color:#bfdbfe;background:#f8fbff}.integrations-setup h3{margin:0}.integrations-setup input[readonly]{flex:1 1 20rem;min-width:0;padding:.55rem .8rem;border:1px solid #dbe4ee;border-radius:.6rem;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.integrations-steps{margin:0;padding-left:1.25rem;color:#334155;font-size:.9rem;line-height:1.6}.integrations-steps code{font-size:.85em}.corporate-bg{background:linear-gradient(135deg,#f8fafc,#e2e8f0);min-height:100vh}.settings-page{min-height:100vh;display:flex;flex-direction:column}.settings-breadcrumb{background:#fff;border-bottom:1px solid #e2e8f0;padding:1rem 1.5rem}.breadcrumb-list{display:flex;align-items:center;gap:.5rem;list-style:none;margin:0;padding:0;font-size:.875rem;color:#64748b}.breadcrumb-link{color:#64748b;text-decoration:none;display:flex;align-items:center;transition:color .2s}.breadcrumb-link:hover{color:#2563eb}.breadcrumb-separator{color:#cbd5e1}.breadcrumb-current{font-weight:500;color:#2563eb}.settings-container{display:flex;flex:1;overflow:hidden}.settings-sidebar{width:20rem;background:linear-gradient(135deg,#0f766e,#0d9488);color:#fff;box-shadow:2px 0 4px #0000001a;overflow-y:auto}.sidebar-content{padding:1.5rem}.sidebar-title{font-size:1.125rem;font-weight:600;margin-bottom:1.5rem}.sidebar-nav-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.sidebar-nav-list .nav-item{width:100%;text-align:left;padding:.75rem 1rem;border-radius:.5rem;display:flex;align-items:center;gap:.75rem;background:transparent;border:none;color:#fff;cursor:pointer;transition:all .2s;font-size:.875rem}.sidebar-nav-list .nav-item:hover{background:#ffffff1a;transform:translate(4px)}.sidebar-nav-list .nav-item-active{background:#fff3;border-bottom:2px solid white}.settings-panel{flex:1;min-width:0;padding:2rem;overflow-y:auto;margin-top:4rem}.corporate-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border-radius:.5rem;padding:2rem;transition:all .2s}.corporate-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.section-header{margin-bottom:2rem;display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:1.5rem}.section-header-content{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.section-header-left{display:flex;flex-direction:column;flex:1}.section-header>div:first-child{flex:1}.section-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.section-header p{color:#64748b;font-size:.875rem;margin:0}.section-header .btn-primary{align-self:flex-start;margin:0;font-size:1rem;font-weight:500;padding:.625rem 1.25rem;gap:.625rem;white-space:nowrap;align-items:center;justify-content:center;flex-shrink:0}.section-header .btn-primary svg{width:1.25rem!important;height:1.25rem!important;flex-shrink:0}.section-title-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.section-title-bar h3,.section-title-bar h4{font-size:1.125rem;font-weight:600;color:#1e293b}.section-title-bar .btn-primary{font-size:.875rem;font-weight:500;padding:.5rem 1rem;gap:.5rem;white-space:nowrap;display:inline-flex;align-items:center}.section-title-bar .btn-primary svg{width:.75rem!important;height:.75rem!important;flex-shrink:0}.btn-primary,.btn-secondary,.btn-success,.btn-danger{padding:.5rem 1rem;border-radius:.5rem;font-weight:500;font-size:.875rem;border:none;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:all .2s}.btn-primary{background:#4f46e5;color:#fff}.btn-primary:hover{background:#4338ca}.btn-secondary{background:#fff;color:#475569;border:1px solid #cbd5e1}.btn-success{background:#059669;color:#fff}.btn-success:hover{background:#047857}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-sm{padding:.375rem .75rem;font-size:.75rem}.btn-icon{padding:.25rem;background:transparent;border:none;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s;width:1.5rem;height:1.5rem}.btn-icon:hover{color:#475569;background:#f1f5f9;border-radius:.25rem}.btn-icon-danger{color:#ef4444}.btn-icon-danger:hover{color:#dc2626;background:#fee2e2;border-radius:.25rem}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-bottom:2rem}.template-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.25rem;cursor:pointer;transition:all .2s;box-shadow:0 1px 2px #0000000d}.template-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a;border-color:#cbd5e1}.template-card-selected{border-color:#3b82f6;border-width:2px;background:#f8fafc}.template-card-content{display:flex;align-items:flex-start;gap:1rem}.template-icon{width:2.5rem;height:2.5rem;background:#3b82f6;border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.template-info{flex:1;min-width:0}.template-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.template-header-row h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.template-actions-row{display:flex;align-items:center;gap:.5rem}.template-delete-btn{padding:.25rem;background:transparent;border:none;color:#ef4444;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s;opacity:.7}.template-delete-btn:hover{opacity:1;color:#dc2626}.template-badges{display:flex;gap:.5rem}.badge{padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500}.badge-blue{background:#dbeafe;color:#1e40af}.badge-green{background:#d1fae5;color:#065f46}.badge-purple{background:#e9d5ff;color:#6b21a8}.badge-success{background:#d1fae5;color:#065f46}.badge-danger{background:#fee2e2;color:#991b1b}.template-description{font-size:.875rem;color:#64748b;margin-bottom:.75rem;line-height:1.5}.template-footer{display:flex;align-items:center;justify-content:space-between}.template-colors{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap}.color-dot{width:.75rem;height:.75rem;border-radius:50%;border:1px solid rgba(0,0,0,.1);flex-shrink:0}.color-dot-more{font-size:.75rem;color:#94a3b8}.template-steps-count{font-size:.75rem;color:#64748b;font-weight:500}.selected-template-config{margin-top:2rem}.template-info-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:1rem;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between}.banner-content{display:flex;align-items:center;gap:.75rem}.banner-icon{width:2.5rem;height:2.5rem;background:#2563eb;border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#fff}.banner-content h4{font-weight:600;color:#1e40af;margin:0}.banner-content p{font-size:.875rem;color:#2563eb;margin:0}.banner-close{background:transparent;border:none;color:#93c5fd;cursor:pointer;padding:.25rem}.banner-close:hover{color:#2563eb}.steps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem;min-height:100px}.step-card{background:#fff;border:2px solid #e2e8f0;border-radius:.5rem;padding:1rem;transition:all .2s;cursor:grab;position:relative}.step-card:active{cursor:grabbing}.step-card:hover{transform:translateY(-1px);box-shadow:0 4px 6px #0000001a}.step-card-dragging{opacity:.5;transform:scale(.95)}.step-card-drag-over{border-color:#10b981;background:#f0fdfa;transform:scale(1.02)}.step-drag-handle{display:flex;align-items:center;justify-content:center;color:#94a3b8;cursor:grab;padding:.25rem;margin-right:.5rem;flex-shrink:0;-webkit-user-select:none;user-select:none}.step-drag-handle:active{cursor:grabbing}.step-card:hover .step-drag-handle{color:#64748b}.steps-grid{pointer-events:auto}.step-card .btn-icon,.step-card .btn-icon-danger{pointer-events:auto;cursor:pointer}.step-card .step-drag-handle{pointer-events:auto;cursor:grab}.step-card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.5rem}.step-info{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.step-color-indicator{width:1rem;height:1rem;border-radius:50%;flex-shrink:0;border:1px solid rgba(0,0,0,.1)}.step-info h5{font-size:.875rem;font-weight:500;color:#1e293b;margin:0}.step-actions{display:flex;gap:.25rem;flex-shrink:0;align-items:center}.step-description{font-size:.875rem;color:#64748b;margin-bottom:.5rem}.step-meta{display:flex;justify-content:space-between;font-size:.75rem;color:#94a3b8}.card-shape-section{margin-bottom:1.5rem}.card-shape-section h4{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.card-shape-info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:1rem;margin-bottom:1rem}.card-shape-info-content{display:flex;align-items:flex-start;gap:.75rem}.card-info-icon{width:1.25rem;height:1.25rem;color:#2563eb;flex-shrink:0;margin-top:.125rem}.card-info-title{font-size:.875rem;font-weight:500;color:#1e40af;margin:0 0 .25rem}.card-info-subtitle{font-size:.75rem;color:#2563eb;margin:0}.card-shape-options{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.card-shape-option{display:flex;align-items:center;gap:.75rem;padding:1rem;border:1px solid #cbd5e1;border-radius:.5rem;cursor:pointer;transition:all .2s}.card-shape-option:hover{background:#f8fafc}.card-shape-option.selected{border-color:#10b981;border-width:2px;background:#f0fdfa;box-shadow:0 2px 4px #10b9811a}.card-shape-option input[type=radio]{width:1.25rem;height:1.25rem;accent-color:#10b981;cursor:pointer}.shape-label{font-weight:500;color:#1e293b}.shape-description{font-size:.875rem;color:#64748b}.card-preview-section{background:#f8fafc;padding:1.5rem;border-radius:.5rem;margin-top:1rem}.card-preview-header{text-align:center;margin-bottom:1rem}.card-preview-header p{font-size:.875rem;color:#64748b;margin:0}.card-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.card-preview-item{text-align:center}.card-preview-item h5{font-size:.875rem;font-weight:500;color:#475569;margin:0 0 .5rem}.card-preview-card{background:#fff;padding:.75rem;box-shadow:0 1px 2px #0000000d;border-left:4px solid}.card-preview-header-inner{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.card-preview-task{font-size:.75rem;font-weight:500;color:#1e293b}.card-preview-badge{font-size:.75rem;padding:.125rem .5rem;border-radius:.25rem}.card-preview-description{font-size:.75rem;color:#64748b;margin:0 0 .5rem}.card-preview-footer{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:#94a3b8}.template-actions{display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.roles-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.role-card{display:flex;align-items:center;justify-content:space-between;padding:1rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#fff}.role-card-content h4{font-size:1rem;font-weight:500;color:#1e293b;display:flex;align-items:center;gap:.5rem;margin:0 0 .25rem}.role-type-badge{font-size:.7rem;font-weight:500;padding:.15rem .5rem;border-radius:.25rem;background:#e0e7ff;color:#3730a3}.role-card-content p{font-size:.875rem;color:#64748b;margin:.25rem 0}.role-permissions-summary{font-size:.75rem;color:#94a3b8}.role-card-actions{display:flex;gap:.5rem}.pause-reasons-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:2rem}.pause-reason-card{display:flex;align-items:center;justify-content:space-between;padding:1rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#fff}.pause-reason-content h4{font-size:1rem;font-weight:500;color:#1e293b;margin:0 0 .25rem}.pause-reason-content p{font-size:.875rem;color:#64748b;margin:0}.pause-reason-actions{display:flex;gap:.5rem}.pause-settings{margin-top:2rem}.pause-settings h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.checkbox-label{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 0;cursor:pointer}.checkbox-label input[type=checkbox]{width:1.25rem;height:1.25rem;accent-color:#0d9488;margin-top:.125rem}.checkbox-label span{font-size:.875rem;color:#475569}.archive-toggle-section{margin-bottom:2rem}.toggle-card{padding:1.5rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc;display:flex;flex-direction:column;gap:1rem}.toggle-card h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.toggle-card p{font-size:.875rem;color:#64748b;margin:.25rem 0 0}.toggle-controls{display:flex;align-items:center;gap:.75rem}.toggle-switch{display:flex;align-items:center;gap:.5rem;cursor:pointer}.toggle-switch input[type=checkbox]{width:1.25rem;height:1.25rem;accent-color:#0d9488}.archive-cleanup-section{margin-top:1.5rem}.cleanup-header{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.cleanup-header h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.cleanup-header p{font-size:.875rem;color:#64748b;margin:.25rem 0 0}.cleanup-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.stat-card{padding:1rem;background:#f8fafc;border-radius:.5rem}.stat-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.stat-value{font-size:1rem;font-weight:600;color:#1e293b;margin-top:.25rem}.stat-context{font-size:.75rem;color:#64748b;margin-top:.25rem}.recurring-tasks-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.recurring-tasks-form{border:1px solid #e2e8f0;border-radius:.5rem;padding:1.25rem;background:#fff}.recurring-tasks-form h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.recurring-tasks-info{border:1px solid #e2e8f0;border-radius:.5rem;padding:1.25rem;background:#f8fafc}.recurring-tasks-info h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.recurring-tasks-info ul{list-style:disc;padding-left:1.5rem;color:#475569;font-size:.875rem}.recurring-tasks-info li{margin-bottom:.5rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.form-group input[type=text],.form-group input[type=number],.form-group select,.form-group textarea{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#0d9488;box-shadow:0 0 0 3px #0d94881a}.form-group input:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.form-help{font-size:.75rem;color:#6b7280;margin-top:.25rem}.permissions-section{border:1px solid #e2e8f0;border-radius:.5rem;padding:1.5rem;background:#f8fafc;margin-top:.5rem}.permissions-info{margin-bottom:1.5rem}.permissions-info p{font-size:.875rem;color:#64748b;margin:0}.permissions-group{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.permissions-group:last-of-type{border-bottom:none;margin-bottom:1rem}.permissions-group-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.permissions-group-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.permissions-group-desc{font-size:.875rem;color:#64748b;margin:0}.select-all-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem .75rem;background:#fff;border:1px solid #0d9488;border-radius:.375rem;font-size:.875rem;font-weight:600;color:#0d9488;white-space:nowrap;transition:all .2s;flex-shrink:0}.select-all-checkbox:hover{background:#f0fdfa;border-color:#14b8a6}.select-all-checkbox input[type=checkbox]{width:1.125rem;height:1.125rem;cursor:pointer;accent-color:#0d9488;flex-shrink:0}.select-all-checkbox span{-webkit-user-select:none;user-select:none}.permissions-checkboxes{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;margin-top:1rem}.permission-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem;border-radius:.375rem;transition:background-color .2s;font-size:.875rem;color:#374151}.permission-checkbox:hover{background-color:#f1f5f9}.permission-checkbox input[type=checkbox]{width:1.125rem;height:1.125rem;cursor:pointer;accent-color:#0d9488;flex-shrink:0}.permission-checkbox span{-webkit-user-select:none;user-select:none}.page-permissions-list{display:flex;flex-direction:column;gap:1.5rem;margin-top:1rem}.page-permission-item{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:1.25rem}.page-permission-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.page-permission-header>div:first-child{flex:1}.page-permission-header h5{font-size:.9375rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.page-permission-desc{font-size:.8125rem;color:#64748b;margin:0}.permissions-summary{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0;background:#fff;padding:1rem;border-radius:.5rem}.permissions-summary strong{display:block;font-size:.875rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.permissions-summary p{font-size:.8125rem;color:#64748b;margin:0;line-height:1.5}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.custom-color-picker{display:flex;align-items:center;gap:.75rem;margin-top:.75rem}.custom-color-picker input[type=color]{width:3rem;height:2.5rem;border:1px solid #d1d5db;border-radius:.5rem;cursor:pointer}.custom-color-picker input[type=text]{flex:1}.modal-overlay{position:fixed;inset:0;background:#00000080;z-index:50;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a;max-width:32rem;width:100%;max-height:90vh;overflow-y:auto}.modal-header h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.modal-close{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:.25rem}.modal-close:hover{color:#475569}.modal-form{padding:1.5rem}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.settings-notification{position:fixed;top:1rem;right:1rem;padding:.75rem 1rem;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a;z-index:100;display:flex;align-items:center;gap:.5rem;animation:slideIn .3s ease-out}.settings-notification-success{background:#059669;color:#fff;border-left:4px solid #047857}.settings-notification-error{background:#dc2626;color:#fff;border-left:4px solid #b91c1c}.settings-notification-warning{background:#d97706;color:#fff;border-left:4px solid #b45309}.settings-notification-info{background:#2563eb;color:#fff;border-left:4px solid #1e40af}.settings-loading,.settings-error{display:flex;align-items:center;justify-content:center;min-height:50vh;font-size:1.125rem;color:#64748b}.settings-error{color:#dc2626}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media(max-width:768px){.settings-container{flex-direction:column}.settings-sidebar{width:100%;max-height:200px}.settings-panel{margin-top:0}.templates-grid,.steps-grid,.form-grid,.recurring-tasks-grid,.cleanup-stats,.card-shape-options{grid-template-columns:1fr}}.team-ai-policy-modal{width:min(760px,calc(100vw - 2rem))}.team-ai-policy-modal__content{display:grid;gap:1.25rem;padding:1.5rem;box-sizing:border-box}.team-ai-policy-modal__scope-note{margin:1.25rem 1.5rem 0;padding:1rem 1.1rem;border-radius:.75rem;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;line-height:1.5}.team-ai-policy-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1rem;padding:1.1rem;border:1px solid #e2e8f0;border-radius:1rem;background:#fbfdff}.team-ai-policy-modal__grid label{display:flex;flex-direction:column;gap:.5rem;color:#334155}.team-ai-policy-modal__grid label span{font-size:.9rem;font-weight:600;color:#334155}.team-ai-policy-modal__grid input,.team-ai-policy-modal__grid select{border:1px solid #cbd5e1;border-radius:.75rem;padding:.9rem 1rem;font:inherit;background:#fff;color:#0f172a;box-sizing:border-box}.team-ai-policy-modal__checkbox{flex-direction:row!important;align-items:center;align-self:end;min-height:56px;padding:.95rem 1rem;border:1px solid #cbd5e1;border-radius:.75rem;background:#fff}.team-ai-policy-modal__checkbox input{margin:0;width:1rem;height:1rem;flex:0 0 auto}.team-ai-policy-modal__checkbox span{margin-left:.7rem;font-weight:500!important}.team-ai-policy-modal__banner{padding:.95rem 1rem;border-radius:.75rem}.team-ai-policy-modal__banner-success{background:#ecfdf5;color:#065f46}.team-ai-policy-modal__banner-error{background:#fef2f2;color:#991b1b}.team-ai-policy-modal__resolved{border:1px solid #dbeafe;background:#eff6ff;border-radius:.9rem;padding:1rem 1.1rem}.team-ai-policy-modal__resolved-muted{background:#f8fafc;border-color:#e2e8f0}.team-ai-policy-modal__resolved h3,.team-ai-policy-modal__resolved p{margin:0}.team-ai-policy-modal__resolved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem;margin-top:1rem}.team-ai-policy-modal__resolved-grid div{display:grid;gap:.25rem;padding:.8rem .9rem;border-radius:.75rem;background:#fff9}.team-ai-policy-modal__resolved-grid span{color:#1d4ed8}.team-ai-policy-modal__empty{padding:1.5rem;text-align:center;color:#64748b}.team-ai-policy-modal .modal-actions{margin-top:.25rem;padding-top:1.25rem}@media(max-width:760px){.team-ai-policy-modal__grid,.team-ai-policy-modal__resolved-grid{grid-template-columns:1fr}.team-ai-policy-modal__content{padding:1.1rem}.team-ai-policy-modal__scope-note{margin:1rem 1.1rem 0}.team-ai-policy-modal__checkbox{align-self:stretch}}.team-page.corporate-bg{background:linear-gradient(135deg,#f8fafc,#e2e8f0)!important;min-height:100vh;padding:0!important;display:block!important;width:100%!important;position:relative!important}.content>.team-page,.content>.team-page.corporate-bg{display:block!important;width:100%!important;height:auto!important}.team-page .corporate-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border-radius:.5rem;transition:all .2s;display:block!important}.team-page .corporate-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.team-page{min-height:100vh;padding:0;max-width:100%;overflow-x:hidden;width:100%;box-sizing:border-box;display:block!important}.team-header-section{padding:1.5rem 1.5rem 0;display:block!important}.team-ai-policy-toolbar{display:flex;justify-content:flex-end;margin-bottom:1.5rem}.team-ai-policy-toolbar__content{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;border:1px solid #dbeafe;background:#f8fbff;border-radius:1rem}.team-ai-policy-toolbar__content h3,.team-ai-policy-toolbar__content p{margin:0}.team-ai-policy-toolbar__content h3{color:#0f172a;font-size:1rem}.team-ai-policy-toolbar__content p{color:#64748b;font-size:.9rem;margin-top:.2rem}.team-main{padding:3rem 1.5rem!important;max-width:1600px!important;margin:0 auto!important;width:100%!important;box-sizing:border-box!important;display:block!important}.team-loading{display:flex;align-items:center;justify-content:center;min-height:50vh;font-size:1.125rem;color:#64748b}.team-notification{position:fixed;top:1rem;right:1rem;padding:.75rem 1rem;border-radius:.5rem;box-shadow:0 4px 6px #0000001a;z-index:1000;animation:slideIn .3s ease-out}.team-notification-success{background:#10b981;color:#fff}.team-notification-error{background:#ef4444;color:#fff}.team-breadcrumb{margin-bottom:1.5rem}.breadcrumb-list{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.breadcrumb-link{display:flex;align-items:center;color:#64748b;transition:color .2s}.breadcrumb-link:hover{color:#0ea5e9}.breadcrumb-separator{display:flex;align-items:center;color:#94a3b8}.breadcrumb-current{font-weight:500;color:#0ea5e9}.team-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.team-stat-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;padding:1.5rem;border-radius:.5rem;transition:all .2s}.team-stat-card:hover{box-shadow:0 4px 6px #00000012,0 2px 4px #0000000f}.stat-card-content{display:flex;align-items:center;justify-content:space-between}.stat-label{font-size:.875rem;color:#64748b;margin:0 0 .5rem}.stat-value{font-size:1.875rem;font-weight:700;color:#1e293b;margin:0}.stat-icon{width:3rem;height:3rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.stat-icon-sky{background:#e0f2fe;color:#0284c7}.stat-icon-emerald{background:#d1fae5;color:#059669}.stat-icon-blue{background:#dbeafe;color:#2563eb}.stat-icon-amber{background:#fef3c7;color:#d97706}#team-grid-container,.team-page .team-main .team-grid,.team-page .team-main div.team-grid,div.team-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:1.5rem!important;width:100%!important;margin-bottom:2rem!important;box-sizing:border-box!important;max-width:100%!important;position:relative!important;flex:none!important;flex-grow:0!important;flex-shrink:0!important}.team-page .team-main{display:block!important;width:100%!important;max-width:1600px!important}@media(max-width:1024px){#team-grid-container,.team-page .team-main .team-grid,.team-page .team-main div.team-grid,div.team-grid{grid-template-columns:repeat(2,1fr)!important}}@media(max-width:768px){#team-grid-container,.team-page .team-main .team-grid,.team-page .team-main div.team-grid,div.team-grid{grid-template-columns:1fr!important}}.team-page .team-main .team-grid>.team-member-card{background:#fff!important;border-radius:.75rem!important;padding:1.5rem!important;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f!important;cursor:pointer!important;transition:all .2s!important;position:relative!important;overflow:visible!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;flex:none!important;flex-shrink:0!important;flex-grow:0!important;grid-column:auto!important;grid-row:auto!important}.team-page .team-main .team-grid>.team-member-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.member-card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem}.member-avatar-section{display:flex;align-items:center;gap:.75rem;flex:1}.member-avatar{width:3rem;height:3rem;background:#0ea5e9;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:500;font-size:.875rem;box-shadow:inset 0 1px #ffffff4d,inset 0 -1px #0003,0 2px 4px #00000026,0 1px 2px #0000001a;border:1px solid rgba(0,0,0,.1);position:relative}.member-avatar:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,#fff3,#ffffff0d,#0000000d);pointer-events:none}.member-info{flex:1}.member-name{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .25rem}.member-designation{font-size:.875rem;color:#64748b;margin:0 0 .25rem}.member-employee-id{font-size:.75rem;color:#94a3b8;margin:0}.member-actions{display:flex;gap:.5rem;opacity:0;transition:opacity .2s}.member-policy-btn{background:#dbeafe!important;color:#1d4ed8!important;width:auto;border-radius:999px;padding:0 .85rem;gap:.35rem}.group:hover .member-actions{opacity:1}.member-action-btn{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:all .2s}.member-policy-btn span{font-size:.78rem;font-weight:600}@media(max-width:760px){.team-ai-policy-toolbar__content{flex-direction:column;align-items:stretch}}.member-edit-btn{background:#f1f5f9;color:#475569}.member-edit-btn:hover{background:#e2e8f0}.member-delete-btn{background:#fee2e2;color:#dc2626}.member-delete-btn:hover{background:#fecaca}.member-role-badge{margin-bottom:1rem}.role-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.role-lead{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.role-manager{background:#dbeafe;color:#1e40af;border:1px solid #3b82f6}.role-developer{background:#d1fae5;color:#065f46;border:1px solid #10b981}.role-administrator{background:#fce7f3;color:#9f1239;border:1px solid #ec4899}.member-details{margin-bottom:1rem}.member-function{font-size:.875rem;color:#64748b;margin:0 0 .5rem}.member-skills{display:flex;flex-wrap:wrap;gap:.25rem}.skill-tag{background:#e0f2fe;color:#0369a1;padding:.25rem .5rem;border-radius:.375rem;font-size:.75rem;font-weight:500;display:inline-flex;align-items:center}.skill-tag button{background:none;border:none;color:#0369a1;font-weight:700;cursor:pointer;padding:0;margin-left:.25rem;line-height:1}.skill-tag button:hover{color:#dc2626}.member-contact{margin-bottom:1rem;display:flex;flex-direction:column;gap:.5rem}.member-contact .contact-item{margin-bottom:.25rem}.member-contact .contact-item:last-child{margin-bottom:0}.contact-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.contact-item svg{width:1rem!important;height:1rem!important;flex-shrink:0;min-width:1rem;max-width:1rem}.currency-badge{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:50%;background:#e0f2fe;color:#0284c7;font-size:.75rem;font-weight:600}.member-projects{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.projects-label{font-size:.875rem;font-weight:500;color:#475569;margin:0 0 .5rem}.projects-tags{display:flex;flex-wrap:wrap;gap:.25rem}.project-tag{background:#d1fae5;color:#065f46;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem}.project-tag-empty{color:#94a3b8;font-size:.75rem;font-style:italic}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.team-modal{background:#fff;border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a;width:100%;max-width:42rem;max-height:90vh;overflow-y:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e2e8f0}.modal-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0}.modal-close{background:none;border:none;color:#94a3b8;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.modal-close:hover{color:#64748b}.team-form{padding:1.5rem}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:1.5rem}@media(max-width:768px){.form-grid{grid-template-columns:1fr}}.form-group{display:flex;flex-direction:column}.form-group-full{grid-column:1 / -1}.form-group label{font-size:.875rem;font-weight:500;color:#475569;margin-bottom:.5rem;display:flex;align-items:center;gap:.25rem}.tooltip-icon{color:#94a3b8;cursor:help}.form-group input,.form-group select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;transition:all .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.form-hint{font-size:.75rem;color:#64748b;margin:.25rem 0 0}.password-input-group{display:flex;gap:.75rem}.password-input-group input{flex:1}.generate-password-btn{padding:.5rem 1rem;background:#1e293b;color:#fff;border:none;border-radius:.5rem;font-size:.875rem;cursor:pointer;transition:background .2s}.generate-password-btn:hover{background:#334155}.checkbox-group{display:flex;align-items:center;gap:.5rem;margin-top:.75rem}.checkbox-group input[type=checkbox]{width:1rem;height:1rem;cursor:pointer}.checkbox-group label{font-size:.875rem;color:#64748b;margin:0;cursor:pointer}.tag-input-container{min-height:2.625rem;border:1px solid #d1d5db;border-radius:.5rem;padding:.375rem;display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;background:#fff;cursor:text;transition:all .2s}.tag-input-container:focus-within{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91a}.skill-tags-container{display:flex;flex-wrap:wrap;gap:.25rem}.tag-input{border:none;outline:none;flex:1;min-width:100px;padding:.25rem;font-size:.875rem}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.btn-secondary{padding:.5rem 1rem;background:#fff;color:#475569;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f8fafc}.btn-primary{padding:.5rem 1rem;background:#0284c7;color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary:hover{background:#0369a1}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.slide-in{animation:slideIn .3s ease-out}.consent-panel{margin-top:2rem}.consent-scope-list{margin:0 0 1.5rem;padding:0;list-style:none;display:flex;flex-direction:column;gap:.75rem}.consent-scope-list li{padding:.75rem 1rem;border-radius:.5rem;background-color:#f8fafc;border:1px solid #e2e8f0;font-size:.875rem;color:#334155}.consent-scope-list li.consent-scope-write{background-color:#fffbeb;border-color:#fcd34d;color:#78350f;font-weight:600}.consent-scope-note{display:block;margin-top:.25rem;font-weight:400;font-size:.8125rem}.consent-actions{display:flex;gap:1rem}.consent-actions form{flex:1}.consent-actions .login-button,.consent-actions .back-button{width:100%}.signup-main{align-items:flex-start}@media(min-width:1024px){.signup-main{flex-direction:column;align-items:center}}.signup-section{max-width:46rem}.signup-form{gap:1.5rem}.signup-fieldset{border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem 1.25rem 1.25rem;margin:0;min-width:0}.signup-fieldset legend{padding:0 .4rem;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#6366f1}.signup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.signup-wide{grid-column:1 / -1}@media(max-width:640px){.signup-grid{grid-template-columns:minmax(0,1fr)}.login-form-section.signup-section{padding:1.5rem 1.1rem}}.signup-optional{font-weight:400;color:#94a3b8}.signup-fineprint{margin:0;font-size:.8rem;color:#64748b;text-align:center}.signup-code{font-size:1.5rem;letter-spacing:.4em;text-align:center}.signup-code-actions{display:flex;justify-content:space-between;gap:1rem}.signup-link-button{background:none;border:none;padding:0;color:#6366f1;font-size:.875rem;font-weight:500;cursor:pointer}.signup-link-button:disabled{opacity:.5;cursor:default}.captcha-widget{display:flex;justify-content:center;min-height:65px}.welcome-page{max-width:52rem;margin:0 auto;padding:1.5rem 1rem 3rem}.welcome-page h1{margin:0 0 .25rem;font-size:1.75rem}.welcome-lead{color:var(--text-muted);margin:0 0 1.5rem}.welcome-steps{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));margin-bottom:1.5rem}.welcome-step{background:var(--bg-card);border:1px solid var(--border);border-radius:.75rem;padding:1.25rem;display:flex;flex-direction:column;gap:.5rem}.welcome-step h2{margin:0;font-size:1.1rem}.welcome-step p{margin:0;color:var(--text-muted);font-size:.9rem;flex:1}.welcome-step-number{font-size:.75rem;font-weight:600;color:var(--primary);text-transform:uppercase;letter-spacing:.08em}.welcome-actions{display:flex;gap:.75rem;flex-wrap:wrap}.welcome-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border-radius:.5rem;border:1px solid var(--primary);background:var(--primary);color:#fff;font-weight:600;text-decoration:none;cursor:pointer;font-size:.9rem}.welcome-button.secondary{background:transparent;color:var(--primary)}.account-locked{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem;background:linear-gradient(135deg,#0f172a,#312e81)}.account-locked-card{max-width:32rem;width:100%;background:#fff;color:#0f172a;border-radius:1rem;padding:2rem;box-shadow:0 25px 50px -12px #00000040}.account-locked-card h1{margin:0 0 .75rem;font-size:1.5rem}.account-locked-card p{color:#475569;line-height:1.5}.signup-agree{display:flex;align-items:flex-start;gap:.6rem;font-size:.875rem;line-height:1.5;color:#334155;margin:.25rem 0 .75rem;cursor:pointer}.signup-agree input{width:1.15rem;height:1.15rem;margin-top:.15rem;flex:0 0 auto}.legal-page{min-height:100vh;background:#f8fafc;color:#1e293b;display:flex;flex-direction:column}.legal-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:.75rem 16px;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}.legal-brand{font-weight:700;color:#1a1f71;text-decoration:none;font-size:1.05rem}.legal-nav{display:flex;flex-wrap:wrap;gap:.25rem 1rem;font-size:.875rem}.legal-nav a{color:#475569;text-decoration:none;padding:.5rem 0;border-bottom:2px solid transparent}.legal-nav a.active{color:#1a1f71;border-bottom-color:#1a1f71;font-weight:600}.legal-main{flex:1;width:100%;max-width:52rem;margin:0 auto;padding:1.5rem 16px 2rem;box-sizing:border-box}.legal-article{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.5rem clamp(1rem,4vw,2.5rem) 2rem}.legal-meta{margin:0 0 .75rem;font-size:.85rem;color:#64748b}.legal-draft{margin:0 0 1rem;padding:.5rem .75rem;border-radius:.5rem;background:#fef3c7;color:#78350f;font-size:.875rem;font-weight:600}.legal-loading,.legal-error{padding:1rem}.legal-error{background:#fef2f2;color:#991b1b;border-radius:.5rem}.legal-body{line-height:1.65;font-size:.975rem;overflow-wrap:anywhere}.legal-body h1{font-size:1.75rem;margin:.5rem 0 1rem;color:#0f172a}.legal-body h2{font-size:1.2rem;margin:2rem 0 .75rem;color:#0f172a}.legal-body h3{font-size:1.05rem;margin:1.5rem 0 .5rem}.legal-body blockquote{margin:0 0 1.25rem;padding:.75rem 1rem;border-left:4px solid #f59e0b;background:#fffbeb;color:#78350f}.legal-body blockquote p{margin:0}.legal-body ul,.legal-body ol{padding-left:1.4rem}.legal-body li{margin:.3rem 0}.legal-body a{color:#1a1f71}.legal-body table{display:block;overflow-x:auto;border-collapse:collapse;margin:1rem 0;font-size:.9rem;max-width:100%}.legal-body th,.legal-body td{border:1px solid #e2e8f0;padding:.45rem .65rem;text-align:left;vertical-align:top}.legal-body th{background:#f1f5f9}@media print{.legal-header,.legal-links{display:none}.legal-page,.legal-article{background:#fff;border:none}}.platform{min-height:100vh;background:#f1f5f9;color:#0f172a}.platform-loading{padding:2rem;color:#475569}.platform-header{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;padding:.75rem 1.25rem;background:#111827;color:#f9fafb}.platform-brand{display:flex;flex-direction:column;line-height:1.2}.platform-brand-name{font-weight:700}.platform-brand-tag{font-size:.75rem;color:#fbbf24;text-transform:uppercase;letter-spacing:.08em}.platform-nav{display:flex;gap:.25rem;flex:1;flex-wrap:wrap}.platform-nav a{color:#d1d5db;text-decoration:none;padding:.4rem .75rem;border-radius:.4rem;font-size:.9rem}.platform-nav a.active,.platform-nav a:hover{background:#374151;color:#fff}.platform-user{display:flex;align-items:center;gap:.75rem;font-size:.875rem}.platform-user button{background:transparent;color:#f9fafb;border:1px solid #6b7280;border-radius:.4rem;padding:.3rem .7rem;cursor:pointer}.platform-banner{padding:.6rem 1.25rem;background:#fffbeb;border-bottom:1px solid #fde68a;color:#92400e;font-size:.9rem}.platform-banner a{color:inherit;font-weight:600}.platform-main{padding:1.25rem;max-width:80rem;margin:0 auto}.platform-title{font-size:1.5rem;margin:0 0 1rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.platform-card{background:#fff;border:1px solid #e2e8f0;border-radius:.6rem;padding:1rem 1.25rem;margin-bottom:1rem;overflow-x:auto}.platform-card h2{font-size:1.1rem;margin:0 0 .75rem}.platform-filters,.platform-form{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;margin-bottom:1rem}.platform-filters label,.platform-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:#475569}.platform-form-wide{flex:1 1 22rem}.platform-filters input,.platform-filters select,.platform-form input,.platform-form select{padding:.4rem .55rem;border:1px solid #cbd5e1;border-radius:.4rem;font-size:.9rem;background:#fff;color:#0f172a;min-width:8rem}.platform-filters input[type=search]{min-width:18rem}.platform-form .platform-check{flex-direction:row;align-items:center;gap:.4rem;color:#0f172a}.platform-form .platform-check input{min-width:0}.platform-actions{display:flex;flex-wrap:wrap;gap:.5rem}.platform button,.platform-filters button{padding:.4rem .8rem;border:1px solid #cbd5e1;border-radius:.4rem;background:#fff;color:#0f172a;cursor:pointer;font-size:.875rem}.platform button.active{border-color:#4f46e5;color:#4f46e5}.platform button.primary{background:#4f46e5;border-color:#4f46e5;color:#fff}.platform button:disabled{opacity:.5;cursor:default}.platform-table-wrap{overflow-x:auto;background:#fff;border:1px solid #e2e8f0;border-radius:.6rem}.platform-table{width:100%;border-collapse:collapse;font-size:.875rem}.platform-table th,.platform-table td{text-align:left;padding:.5rem .75rem;border-bottom:1px solid #e2e8f0;vertical-align:top}.platform-table th{background:#f8fafc;font-weight:600;color:#475569;white-space:nowrap}.platform-table .num{text-align:right}.platform-details{font-family:ui-monospace,monospace;font-size:.75rem;color:#475569;word-break:break-word;max-width:28rem}.platform-muted{color:#64748b;font-size:.85rem}.platform-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;padding:.5rem .75rem;border-radius:.4rem}.platform-ok{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;padding:.5rem .75rem;border-radius:.4rem}.platform-pager{display:flex;align-items:center;gap:.75rem;margin-top:.75rem;font-size:.875rem;flex-wrap:wrap}.platform-facts{display:grid;grid-template-columns:max-content 1fr;gap:.35rem 1rem;margin:0;font-size:.9rem}.platform-facts dt{color:#64748b}.platform-facts dd{margin:0}.platform-status{display:inline-block;font-size:.75rem;font-weight:600;padding:.15rem .5rem;border-radius:999px;background:#e2e8f0;color:#334155}.platform-status--active{background:#dcfce7;color:#166534}.platform-status--trial{background:#e0e7ff;color:#3730a3}.platform-status--read_only{background:#fef3c7;color:#92400e}.platform-status--locked,.platform-status--deleted{background:#fee2e2;color:#991b1b}@media(max-width:640px){.platform-main{padding:.75rem}.platform-filters input[type=search]{min-width:0;width:100%}.platform-facts{grid-template-columns:1fr}}.two-factor{display:flex;flex-direction:column;gap:.75rem}.two-factor-steps{margin:0;padding-left:1.25rem;font-size:.9rem;line-height:1.5}.two-factor-qr{width:200px;height:200px;max-width:100%;align-self:center;border:1px solid #e2e8f0;border-radius:.4rem}.two-factor-secret{margin:0;font-size:.85rem;text-align:center;word-break:break-all}.two-factor-secret code,.two-factor-codes code{font-family:ui-monospace,monospace;letter-spacing:.05em}.two-factor-form{display:flex;flex-direction:column;gap:.5rem}.two-factor-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;font-weight:600}.two-factor-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem 1rem;margin:0;padding:.75rem;list-style:none;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.4rem}.two-factor-actions{display:flex;gap:.5rem}.two-factor-actions button{padding:.35rem .75rem;border:1px solid #cbd5e1;background:#fff;border-radius:.35rem;cursor:pointer}.two-factor-check{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.two-factor-error{margin:0;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;padding:.5rem .75rem;border-radius:.4rem}.two-factor-muted{margin:0;color:#64748b;font-size:.85rem}.app-offline-banner{position:sticky;top:0;z-index:2000;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;padding-top:max(8px,env(safe-area-inset-top));background:#7c2d12;color:#fff7ed;font-size:14px;line-height:1.35;text-align:center}.app-offline-banner svg{flex-shrink:0}.app-update-toast{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:2100;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 32px);padding:10px 10px 10px 16px;background:#1a1f71;color:#fff;border-radius:12px;box-shadow:0 10px 30px #0f172a59;font-size:14px}.app-update-toast__reload{min-height:44px;padding:0 16px;border-radius:8px;background:#fff;color:#1a1f71;font-weight:700;font-size:14px}.app-update-toast__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:transparent;color:#c7d2fe}.app-update-toast__close:hover{background:#ffffff1f}body:has(.scrum-bulk-bar) .app-update-toast,body:has(.backlog-bulk-bar) .app-update-toast{bottom:96px}.app-offline-start{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px 16px;text-align:center;color:#334155}.app-offline-start h1{font-size:1.25rem}.app-offline-start p{max-width:28rem}
