:root{--bg: #f6f8fb;--panel: #ffffff;--ink: #0f172a;--muted: #64748b;--line: #e2e8f0;--primary: #2563eb;--primary-dark: #1d4ed8;--danger: #dc2626;--radius: 18px;--shadow: 0 18px 50px rgba(15, 23, 42, .08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:11px 12px;outline:none}textarea{min-height:96px;resize:vertical}label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:800}.primary,.ghost,.danger,.icon-btn{border:0;border-radius:12px;min-height:40px;padding:10px 14px;font-weight:900}.primary{background:var(--primary);color:#fff;box-shadow:0 12px 26px #2563eb38}.primary:hover{background:var(--primary-dark)}.ghost{background:#eef2ff;color:#1e3a8a}.danger{background:#fee2e2;color:var(--danger)}.icon-btn{width:42px;padding:0;display:grid;place-items:center;background:#eef2ff;color:#1e3a8a}.full{width:100%}.muted{color:var(--muted)}.mobile-only{display:none}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) 520px;background:radial-gradient(circle at 10% 0%,#172554,#020617 45%,#f8fafc 45%)}.auth-hero{position:relative;overflow:hidden;color:#fff;padding:72px;display:flex;flex-direction:column;justify-content:center}.hero-orb{position:absolute;width:260px;height:260px;border-radius:999px;filter:blur(12px);opacity:.4}.hero-orb-a{background:#38bdf8;top:60px;right:12%}.hero-orb-b{background:#6366f1;bottom:80px;left:10%}.hero-gridline{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:44px 44px;opacity:.35}.brand-mark{position:relative;z-index:1;width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:28px;font-weight:950;color:#fff;background:linear-gradient(135deg,#60a5fa,#2563eb);box-shadow:0 22px 40px #2563eb52}.brand-mark.small{width:44px;height:44px;border-radius:14px;font-size:20px}.eyebrow{margin:0 0 12px;color:#2563eb;text-transform:uppercase;font-size:12px;letter-spacing:.14em;font-weight:950}.auth-hero .eyebrow{color:#93c5fd;margin-top:34px}.auth-hero h1{position:relative;z-index:1;margin:0;max-width:760px;font-size:clamp(38px,5vw,68px);line-height:.95;letter-spacing:-.05em}.hero-copy{position:relative;z-index:1;max-width:650px;color:#cbd5e1;font-size:18px;line-height:1.7}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:720px;margin-top:28px}.hero-grid div{border:1px solid rgba(255,255,255,.15);background:#ffffff14;border-radius:18px;padding:18px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-grid strong,.hero-grid span{display:block}.hero-grid span{color:#cbd5e1;margin-top:5px}.auth-card{position:relative;margin:auto 40px;padding:28px;border-radius:28px;background:#fffffff0;box-shadow:0 28px 90px #0f172a2e;overflow:hidden}.auth-card-glow{position:absolute;inset:-120px -80px auto auto;width:240px;height:240px;border-radius:999px;background:#2563eb24}.auth-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border-radius:16px;background:#f1f5f9;margin-bottom:22px}.auth-tabs button,.segmented button{border:0;border-radius:12px;padding:12px;font-weight:900;color:#475569;background:transparent}.auth-tabs button.active,.segmented button.active{background:#fff;color:#0f172a;box-shadow:0 8px 20px #0f172a14}.form-stack{display:grid;gap:15px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border-radius:16px;background:#f1f5f9}.inline-error{border:1px solid #fecaca;color:#991b1b;background:#fef2f2;border-radius:14px;padding:12px;font-weight:800}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr}.sidebar-shell{height:100%;display:flex;flex-direction:column;padding:18px 10px}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 10px 18px}.sidebar-brand-copy strong,.sidebar-brand-copy span,.user-chip-copy strong,.user-chip-copy span{display:block}.sidebar-brand-copy span,.user-chip-copy span{color:#94a3b8;font-size:12px;margin-top:2px}.sidebar-menu-icon{font-size:17px}.sidebar-footer{margin-top:auto;padding:12px 10px;border-top:1px solid rgba(148,163,184,.16)}.user-chip{display:flex;align-items:center;gap:10px;margin-bottom:12px}.avatar{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;font-weight:950;color:#fff;background:linear-gradient(135deg,#2563eb,#0f172a)}.sidebar-footer-actions{display:grid;gap:8px}.main-area{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:15;min-height:72px;display:flex;align-items:center;gap:14px;padding:14px 24px;border-bottom:1px solid var(--line);background:#f6f8fbe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.project-switcher{display:flex;align-items:center;gap:10px;min-width:280px}.project-switcher span{font-size:12px;font-weight:950;text-transform:uppercase;color:#64748b}.global-search{flex:1;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:0 12px}.global-search input{border:0;min-height:46px;padding-left:0}.realtime-pill{border-radius:999px;padding:8px 12px;font-weight:950;font-size:12px;background:#e2e8f0;color:#475569;text-transform:capitalize}.realtime-pill.live{background:#dcfce7;color:#166534}.realtime-pill.reconnecting,.realtime-pill.connecting{background:#fef3c7;color:#92400e}.content-wrap{width:100%;max-width:1480px;margin:0 auto;padding:28px}.page-stack{display:grid;gap:22px}.page-header{display:flex;justify-content:space-between;gap:20px;align-items:end}.page-header h1{margin:0;font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;line-height:1.05}.page-header p:not(.eyebrow){margin:10px 0 0;color:var(--muted);max-width:820px;line-height:1.6}.panel,.metric-card,.project-card,.issue-card,.auth-card{border:1px solid var(--line)}.panel{background:var(--panel);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-head h3{margin:0;font-size:18px;letter-spacing:-.02em}.panel-head span{color:var(--muted);font-size:13px;font-weight:800}.wrap{flex-wrap:wrap}.metric-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.metric-grid.small{grid-template-columns:repeat(4,1fr)}.metric-card{border-radius:var(--radius);padding:18px;background:#fff;box-shadow:var(--shadow)}.metric-card span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.metric-card strong{display:block;margin-top:8px;font-size:30px;letter-spacing:-.04em}.metric-card p{margin:8px 0 0;color:var(--muted);font-size:13px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form-grid .wide{grid-column:1 / -1}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline-controls{display:flex;align-items:center;gap:10px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-card{text-align:left;border-radius:var(--radius);background:#fff;padding:20px;box-shadow:var(--shadow)}.project-card.active{outline:3px solid rgba(37,99,235,.18);border-color:#93c5fd}.project-key{display:inline-grid;place-items:center;min-width:56px;min-height:30px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-weight:950}.project-card h3{margin:14px 0 8px}.project-card p{color:var(--muted);min-height:42px}.issue-list{display:grid;gap:10px}.issue-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);background:#fff;border-radius:14px}.issue-row-main{flex:1;border:0;background:transparent;display:flex;align-items:center;gap:10px;text-align:left;color:var(--ink)}.issue-row-main strong{color:#2563eb}.priority{border-radius:999px;padding:6px 9px;font-size:11px;font-weight:950}.priority-low{background:#ecfdf5;color:#047857}.priority-medium{background:#eff6ff;color:#1d4ed8}.priority-high{background:#fffbeb;color:#b45309}.priority-urgent{background:#fef2f2;color:#b91c1c}.points{color:#475569;font-weight:900;white-space:nowrap}.board-scroll{overflow-x:auto;padding-bottom:10px}.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(280px,1fr));gap:16px;min-width:1320px}.kanban-column{background:#eef2f7;border:1px solid #e2e8f0;border-radius:20px;padding:12px;min-height:520px}.column-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.column-head h3{margin:0;font-size:15px}.column-head span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#fff;color:#475569;font-weight:950}.column-body{display:grid;gap:12px}.issue-card{background:#fff;border-radius:16px;padding:14px;box-shadow:0 10px 26px #0f172a12}.issue-card:hover{transform:translateY(-1px);box-shadow:0 18px 40px #0f172a1c}.issue-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.issue-card h4{margin:12px 0 8px}.issue-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.card-meta span{border-radius:999px;background:#f1f5f9;padding:5px 8px;color:#475569;font-size:12px;font-weight:800}.drop-hint{border:1px dashed #cbd5e1;border-radius:16px;padding:18px;color:#64748b;text-align:center;font-weight:800}.sprint-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.sprint-status{padding:7px 10px;border-radius:999px;font-weight:950;font-size:12px}.sprint-status.planned{background:#eff6ff;color:#1d4ed8}.sprint-status.active{background:#dcfce7;color:#166534}.sprint-status.completed{background:#f1f5f9;color:#475569}.sprint-meta,.sprint-actions,.sprint-summary-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.progress-line{height:10px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin:14px 0}.progress-line span{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#22c55e);border-radius:inherit}.distribution{display:grid;gap:12px}.dist-row{display:grid;grid-template-columns:120px 1fr 50px;gap:12px;align-items:center}.dist-row div{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.dist-row b{display:block;height:100%;background:#2563eb}.activity-list{display:grid;gap:14px}.activity-item{display:flex;gap:12px}.dot{width:10px;height:10px;margin-top:6px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 5px #dbeafe}.activity-item p{margin:3px 0;color:var(--muted)}.big-textarea{min-height:150px}.generated-task-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:12px 0}.generated-task,.insight-box{border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px}.risk-list{color:#7f1d1d}.workload-list,.member-grid{display:grid;gap:10px}.workload-row,.member-card{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid var(--line);border-radius:14px;padding:12px}.member-card{justify-content:flex-start}.member-card div:not(.avatar){flex:1;display:grid;gap:3px}.member-card span,.member-card em{color:var(--muted);font-style:normal;font-size:13px}.detail-list{display:grid;grid-template-columns:100px 1fr;gap:12px}.detail-list span{color:var(--muted)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0f172a6b;display:flex;justify-content:flex-end}.issue-drawer{width:min(640px,100%);height:100%;overflow-y:auto;background:#fff;padding:24px;box-shadow:-24px 0 70px #0f172a38}.drawer-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:20px}.drawer-head h2{margin:8px 0 0;letter-spacing:-.03em}.issue-key-big{color:#2563eb;font-weight:950}.comments-section{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.comment-list{display:grid;gap:10px;margin-bottom:12px}.comment{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px}.comment p{margin:6px 0;color:#334155}.empty-state{display:grid;place-items:center;text-align:center;padding:60px 20px}.full-height{min-height:55vh}.empty-illustration{width:80px;height:80px;border-radius:28px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:34px;font-weight:950;margin-bottom:12px}.empty-inline{border:1px dashed #cbd5e1;border-radius:16px;padding:22px;text-align:center;color:var(--muted)}.toast{position:fixed;z-index:100;right:22px;bottom:22px;border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);font-weight:900}.toast.success{background:#dcfce7;color:#166534}.toast.error{background:#fee2e2;color:#991b1b}.bottom-nav{display:none}@media(max-width:1100px){.auth-layout{grid-template-columns:1fr;background:#f8fafc}.auth-hero{min-height:420px;padding:42px 24px;background:#020617}.auth-card{margin:-70px 20px 30px}.metric-grid{grid-template-columns:repeat(3,1fr)}.project-grid,.generated-task-list{grid-template-columns:repeat(2,1fr)}.two-col,.sprint-grid{grid-template-columns:1fr}}@media(max-width:768px){.app-shell{display:block}.mobile-only{display:inline-grid}.desktop-only{display:none!important}.topbar{min-height:auto;padding:10px 12px;gap:8px;flex-wrap:wrap}.project-switcher{min-width:0;flex:1 1 220px}.project-switcher span{display:none}.global-search{order:10;flex-basis:100%}.content-wrap{padding:18px 14px 86px}.page-header{display:grid;align-items:start}.page-header h1{font-size:30px}.metric-grid,.metric-grid.small,.project-grid,.generated-task-list,.form-grid{grid-template-columns:1fr}.inline-controls{width:100%;flex-direction:column;align-items:stretch}.issue-row{align-items:flex-start;flex-wrap:wrap}.issue-row-main{flex-basis:calc(100% - 40px);flex-direction:column;align-items:flex-start;gap:3px}.kanban-board{display:flex;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory}.kanban-column{min-width:86vw;scroll-snap-align:start;min-height:460px}.dist-row{grid-template-columns:100px 1fr 36px}.bottom-nav{position:fixed;z-index:50;left:10px;right:10px;bottom:10px;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:7px;border:1px solid var(--line);border-radius:18px;background:#fffffff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 20px 60px #0f172a29}.bottom-nav button{border:0;border-radius:12px;background:transparent;padding:9px 4px;font-size:12px;font-weight:950;color:#64748b}.bottom-nav button.active{background:#eff6ff;color:#1d4ed8}.auth-hero h1{font-size:38px}.hero-grid{grid-template-columns:1fr}.auth-card{padding:20px}.drawer-backdrop{align-items:stretch}.issue-drawer{width:100%;padding:18px}}
