@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--ring: 212.7 26.8% 83.9%}*{@apply border-border;}body{@apply bg-background text-foreground;font-feature-settings:"rlig" 1,"calt" 1}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{@apply bg-background;}::-webkit-scrollbar-thumb{@apply bg-muted rounded-full;}::-webkit-scrollbar-thumb:hover{@apply bg-muted-foreground/50;}::selection{@apply bg-primary/20 text-foreground;}}@layer components{.prose{@apply max-w-none text-sm;}.prose :where(p):not(:where([class~=not-prose] *)){@apply mb-4;}.prose :where(h1):not(:where([class~=not-prose] *)){@apply text-xl font-bold mt-6 mb-4;}.prose :where(h2):not(:where([class~=not-prose] *)){@apply text-lg font-semibold mt-5 mb-3;}.prose :where(h3):not(:where([class~=not-prose] *)){@apply text-base font-semibold mt-4 mb-2;}.prose :where(ul):not(:where([class~=not-prose] *)),.prose :where(ol):not(:where([class~=not-prose] *)){@apply ml-6 my-3;}.prose :where(li):not(:where([class~=not-prose] *)){@apply my-1;}.prose :where(code):not(:where([class~=not-prose] *)){@apply bg-muted px-1 rounded;}.prose :where(pre):not(:where([class~=not-prose] *)){@apply bg-muted p-3 rounded my-4 overflow-auto;}.prose :where(blockquote):not(:where([class~=not-prose] *)){@apply border-l-2 border-muted-foreground pl-3 my-4 italic;}.prose :where(a):not(:where([class~=not-prose] *)){@apply text-primary underline hover:text-primary/80;}.prose :where(img):not(:where([class~=not-prose] *)){@apply rounded my-4 max-w-full h-auto;}.prose :where(hr):not(:where([class~=not-prose] *)){@apply border-muted my-6;}.dragging{@apply opacity-50 bg-muted;}.drop-target{@apply bg-accent border-2 border-dashed border-primary;}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-fade-in{animation:fadeIn .3s ease-out}.animate-slide-in{animation:slideIn .3s ease-out}.animate-pulse-slow{animation:pulse 2s ease-in-out infinite}.spinner{@apply animate-spin rounded-full border-2 border-primary border-t-transparent;}.spinner-sm{@apply h-4 w-4 border-2;}.spinner-md{@apply h-6 w-6 border-2;}.spinner-lg{@apply h-8 w-8 border-3;}.empty-state{@apply flex flex-col items-center justify-center py-12 text-center;}.empty-state-icon{@apply h-16 w-16 mb-4 text-muted-foreground;}.empty-state-title{@apply text-lg font-semibold mb-2;}.empty-state-description{@apply text-sm text-muted-foreground;}.card-hover{@apply transition-shadow hover:shadow-md;}.btn-icon{@apply p-2;}.btn-xs{@apply h-6 px-2 text-xs;}.btn-lg{@apply h-12 px-6 text-lg;}.block-indent-0{@apply ml-0;}.block-indent-1{@apply ml-6;}.block-indent-2{@apply ml-12;}.block-indent-3{@apply ml-18;}.block-indent-4{@apply ml-24;}.block-indent-5{@apply ml-30;}.hierarchy-line{@apply absolute left-3 top-0 bottom-0 w-0.5 bg-border;}.status-indicator{@apply h-2 w-2 rounded-full;}.status-backlog{@apply bg-gray-400;}.status-todo{@apply bg-blue-500;}.status-in-progress{@apply bg-yellow-500;}.status-done{@apply bg-green-500;}.status-archived{@apply bg-purple-500;}.status-cancelled{@apply bg-red-500;}.priority-1{@apply border-l-4 border-red-500;}.priority-2{@apply border-l-4 border-orange-500;}.priority-3{@apply border-l-4 border-yellow-500;}.priority-4{@apply border-l-4 border-green-500;}.priority-5{@apply border-l-4 border-gray-500;}.kanban-column{@apply flex flex-col h-full w-72 bg-card border rounded-lg overflow-hidden;}.kanban-column-header{@apply p-3 border-b bg-muted/50;}.kanban-column-title{@apply font-semibold text-sm;}.kanban-column-content{@apply flex-1 overflow-auto p-2;}.kanban-card{@apply bg-background border rounded p-3 mb-2 shadow-sm hover:shadow-md transition-shadow;}.calendar-day{@apply aspect-square p-2 border rounded;}.calendar-day-today{@apply ring-2 ring-primary;}.calendar-day-with-tasks{@apply bg-accent;}.graph-container{@apply w-full h-full bg-muted/50 rounded;}.graph-node{@apply cursor-pointer hover:scale-110 transition-transform;}.graph-edge{@apply stroke-muted opacity-50;}.sidebar-nav{@apply space-y-1;}.sidebar-nav-item{@apply flex items-center space-x-3 px-3 py-2 text-sm rounded-md transition-colors;}.sidebar-nav-item-active{@apply bg-accent text-accent-foreground font-medium;}.sidebar-nav-item-inactive{@apply text-muted-foreground hover:bg-muted hover:text-foreground;}@media (max-width: 768px){.mobile-hidden{@apply hidden;}.sidebar{@apply w-16;}.sidebar-nav-item-text{@apply hidden;}}@media (min-width: 769px){.desktop-hidden{@apply hidden;}.sidebar{@apply w-64;}}@media print{.no-print{@apply hidden;}body{@apply bg-white text-black;}.print-break{@apply page-break-before;}}}@layer utilities{.truncate-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.truncate-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.flex-center{@apply flex items-center justify-center;}.flex-between{@apply flex items-center justify-between;}.grid-cols-auto{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.min-h-screen{min-height:100vh}.absolute-center{@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2;}.shadow-soft{box-shadow:0 2px 15px -3px #00000012,0 10px 20px -2px #0000000a}.gradient-subtle{@apply bg-gradient-to-b from-background to-muted/50;}.overlay{@apply fixed inset-0 bg-black/50 z-50 flex-center;}.modal{@apply fixed inset-0 z-50 flex-center;}.modal-content{@apply bg-background rounded-lg shadow-xl max-w-md w-full mx-4;}.form-field{@apply mb-4;}.form-label{@apply block text-sm font-medium mb-2;}.form-input{@apply w-full;}.form-error{@apply text-sm text-destructive mt-1;}.btn-group{@apply flex space-x-2;}.btn-group-vertical{@apply flex flex-col space-y-2;}.divider{@apply border-t my-4;}.divider-text{@apply flex items-center text-sm text-muted-foreground;}.divider-text:before,.divider-text:after{content:"";@apply flex-1 border-t;}.divider-text span{@apply px-4;}.loading-overlay{@apply absolute inset-0 bg-white/50 flex-center;}.loading-spinner{@apply animate-spin rounded-full border-4 border-primary border-t-transparent;}.alert{@apply p-4 rounded border;}.alert-success{@apply bg-green-50 border-green-200 text-green-800;}.alert-error{@apply bg-red-50 border-red-200 text-red-800;}.alert-warning{@apply bg-yellow-50 border-yellow-200 text-yellow-800;}.alert-info{@apply bg-blue-50 border-blue-200 text-blue-800;}.tooltip{@apply relative;}.tooltip-text{@apply absolute z-10 px-2 py-1 text-xs text-white bg-black/80 rounded whitespace-nowrap;}.context-menu{@apply absolute z-50 bg-background border shadow-lg rounded py-1 min-w-[150px];}.context-menu-item{@apply px-3 py-2 text-sm hover:bg-muted cursor-pointer;}.drag-handle{@apply cursor-grab active:cursor-grabbing text-muted-foreground;}.resize-handle{@apply absolute right-0 bottom-0 w-2 h-2 bg-primary rounded-full cursor-nwse-resize;}}.notelab-markdown{@apply text-sm leading-relaxed text-foreground;}.notelab-markdown h1{@apply text-xl font-bold mt-3 mb-1;}.notelab-markdown h2{@apply text-lg font-semibold mt-2 mb-1;}.notelab-markdown h3{@apply text-base font-semibold mt-2 mb-0.5;}.notelab-markdown h4,.notelab-markdown h5,.notelab-markdown h6{@apply text-sm font-semibold mt-1.5 mb-0.5;}.notelab-markdown p{@apply my-1;}.notelab-markdown a{@apply text-primary underline underline-offset-2;}.notelab-markdown ul{@apply list-disc list-inside my-1 space-y-0.5;}.notelab-markdown ol{@apply list-decimal list-inside my-1 space-y-0.5;}.notelab-markdown ul.notelab-tasklist{@apply list-none pl-0;}.notelab-markdown li.notelab-task{@apply flex items-start gap-2;}.notelab-markdown li.notelab-task input[type=checkbox]{@apply mt-1 accent-primary;}.notelab-markdown blockquote{@apply border-l-2 border-primary/40 pl-3 my-1 text-muted-foreground italic;}.notelab-markdown code{@apply rounded bg-muted px-1 py-0.5 text-[.85em] font-mono;}.notelab-markdown pre{@apply my-2 overflow-x-auto rounded-md bg-muted p-3;}.notelab-markdown pre code{@apply bg-transparent p-0;}.notelab-markdown hr{@apply my-3 border-border;}.notelab-markdown strong{@apply font-semibold;}.notelab-tag{@apply inline-flex items-center rounded-full bg-primary/10 px-2 py-0.5 text-xs text-primary cursor-pointer;}.notelab-wikilink{@apply text-primary underline underline-offset-2 decoration-primary/40 cursor-pointer;}
