:root{--background:0 0% 100%;--foreground:240 10% 3.9%;--primary:214 84% 34%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 4.8% 95.9%;--muted-foreground:215 16% 38%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--destructive:0 72% 51%;--destructive-foreground:0 0% 98%;--border:240 5.9% 90%;--ring:214 84% 34%;--radius:.5rem;--board-bg:#1f6f8b;--header-bg:#16586e;color:hsl(var(--foreground));font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:hsl(var(--background));margin:0}a{color:inherit}button,input,textarea{font:inherit}.btn{display:inline-flex;white-space:nowrap;border-radius:calc(var(--radius) - 2px);cursor:pointer;border:1px solid #0000;justify-content:center;align-items: center;gap:.5rem;transition:background-color .15s,color .15s,border-color .15s;font-size:.875rem;font-weight:500}.btn:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.btn:disabled{pointer-events:none;opacity:.5}.btn-default{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn-default:hover{background:hsl(var(--primary)/.9)}.btn-destructive{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.btn-outline{border-color:hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground))}.btn-secondary{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.btn-ghost{color:hsl(var(--foreground));background:0 0}.btn-link{color:hsl(var(--primary));text-decoration:underline;text-underline-offset:4px;background:0 0}.btn-size-default{height:2.25rem;padding:0 1rem}.btn-size-sm{height:2rem;padding:0 .75rem}.btn-size-lg{height:2.5rem;padding:0 2rem}.btn-size-icon{width:2.25rem;height:2.25rem;padding:0}.muted{color:hsl(var(--muted-foreground))}.stack{display:flex;flex-direction:column;gap:.9rem}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;font-weight:600}.field input,.field textarea,.create-board-form input,.composer input,.composer textarea,.invite-form input,.inline-input{border:1px solid hsl(var(--border));color:hsl(var(--foreground));background:#fff;border-radius:8px;width:100%;padding:.55rem .7rem}.field textarea,.composer textarea{resize:vertical}.field small{color:hsl(var(--muted-foreground));font-weight:400}.form-error{color:#b42318;margin:0}.page-loading{display:grid;color:hsl(var(--muted-foreground));place-items: center;min-height:100vh}.auth-page{display:grid;background:radial-gradient(circle at top,#3aa0c2,#0000 45%),linear-gradient(#16586e,#0f3f50);place-items: center;min-height:100vh;padding:2rem 1rem}.auth-card{display:flex;background:#fff;border-radius:16px;flex-direction:column;gap:.85rem;width:min(420px,100%);padding:2rem;box-shadow:0 18px 50px #0000002e}.auth-card h1,.boards-hero h1{margin:0}.brand-kicker{letter-spacing:.12em;text-transform:uppercase;color:#16586e;margin:0;font-size:.75rem;font-weight:700}.app-shell{background:#f4f7fb;min-height:100vh}.app-header,.board-topbar{display:flex;background:var(--header-bg);color:#fff;justify-content:space-between;align-items: center;gap:1rem;padding:.75rem 1rem}.app-header-left,.app-header-right,.board-topbar-actions{display:flex;align-items: center;gap:.75rem;min-width:0}.brand,.ghost-link{color:#fff;text-decoration:none;font-weight:700}.ghost-link{opacity:.9;font-weight:600}.app-header-title,.board-user,.app-header-user{opacity:.9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.app-header .btn-ghost,.board-topbar .btn-ghost{color:#fff}.boards-main{display:flex;flex-direction:column;gap:1.25rem;max-width:1100px;margin:0 auto;padding:2rem 1.25rem 3rem}.boards-hero{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: flex-end;gap:1rem}.create-board-form,.invite-form{display:flex;gap:.5rem}.create-board-form input{min-width:220px}.board-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin:0;padding:0}.board-tile{display:flex;text-decoration:none;color:#fff;background:linear-gradient(160deg,#2b8fb0,#16586e);border-radius:12px;flex-direction:column;gap:.5rem;min-height:120px;padding:1rem;box-shadow:0 8px 20px #16586e2e}.board-tile span{opacity:.85;font-size:.85rem}.empty-state{background:#fff;border:1px dashed #c9d6de;border-radius:16px;padding:2rem}.board-page{background:var(--board-bg);display:flex;flex-direction:column;min-height:100vh}.board-name,.list-name,.card-title{color:inherit;font:inherit;text-align:left;cursor:text;background:0 0;border:0;border-radius:6px;padding:.15rem .25rem;font-weight:700}.board-name{color:#fff;flex:1;font-size:1.15rem}.board-status,.board-banner{color:#fff;padding:0 1rem}.board-banner{background:#b42318eb;margin:0;padding:.6rem 1rem}.board-empty{margin:2rem}.kanban{display:flex;overflow-x:auto;flex:1;align-items: flex-start;gap:.85rem;padding:1rem}.kanban-list{display:flex;background:#ebecf0;border-radius:12px;flex-direction:column;gap:.5rem;width:272px;min-width:272px;max-height:calc(100vh - 6rem);padding:.6rem}.kanban-list.add-list{background:#ffffff2e}.kanban-list-head{display:flex;justify-content:space-between;align-items: center;gap:.35rem}.list-name{flex:1}.kanban-cards{display:flex;overflow-y:auto;flex-direction:column;gap:.5rem;min-height:24px}.list-empty{color:#5e6c84;margin:0;padding:.75rem;font-size:.85rem}.kanban-card{cursor:pointer;display:flex;background:#fff;border-radius:8px;flex-direction:column;gap:.4rem;padding:.7rem;box-shadow:0 1px #091e4240}.kanban-card.is-dragging{opacity:.45}.card-title{width:100%;font-weight:600}.due-chip{color:#1b7a3a;background:#e9f7ee;border-radius:999px;align-self: flex-start;padding:.1rem .5rem;font-size:.75rem}.due-chip.is-overdue{color:#b42318;background:#fde8e6}.add-link{text-align:left;color:#44546f;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:.45rem .4rem}.add-link:hover,.board-name:hover,.list-name:hover,.card-title:hover{background:#ffffff2e}.list-name:hover,.card-title:hover,.add-link:hover{background:#091e4214}.composer{display:flex;flex-direction:column;gap:.45rem}.composer-actions,.modal-actions{display:flex;gap:.5rem}.icon-button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:6px;width:1.8rem;height:1.8rem;font-size:1.2rem;line-height:1}.icon-button:hover{background:#091e4214}.modal-backdrop{position:fixed;display:flex;z-index:20;background:#00000073;justify-content:center;align-items: flex-start;padding:8vh 1rem 1rem;inset:0}.modal,.drawer{display:flex;background:#f4f5f7;border-radius:12px;flex-direction:column;gap:.85rem;width:min(560px,100%);padding:1rem 1.1rem 1.2rem;box-shadow:0 16px 48px #00000047}.drawer{border-radius:0;width:min(380px,100%);height:100%;margin-top:-8vh;margin-bottom:-1rem;margin-left:auto}.modal-head{display:flex;justify-content:space-between;align-items: flex-start;gap:.75rem}.modal-head h2{flex:1;margin:0}.member-list{list-style:none;display:flex;flex-direction:column;gap:.65rem;margin:0;padding:0}.member-list li{display:flex;background:#fff;border-radius:10px;justify-content:space-between;align-items: center;gap:.75rem;padding:.7rem .8rem}.member-list div{display:flex;flex-direction:column;gap:.15rem;min-width:0}.member-list span{color:#5e6c84;font-size:.8rem}@media (max-width:720px){.app-header,.board-topbar{flex-wrap:wrap}.boards-hero,.create-board-form,.invite-form,.board-topbar-actions{width:100%}.create-board-form input,.invite-form input{flex:1;min-width:0}}
