.admin-login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;background:var(--background, oklch(.985 0 0));background:oklch(from var(--background) l c h / 85%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:opacity .3s ease}.admin-login-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:32px;width:360px;max-width:calc(100% - 48px);box-shadow:0 8px 32px #0000000f}.admin-login-card h2{font-size:1.125rem;font-weight:500;margin-bottom:8px}.admin-login-card p{font-size:.8125rem;color:var(--muted-foreground);margin-bottom:16px}.admin-login-error{font-size:.8125rem;color:var(--destructive);margin-top:8px;min-height:1.2em}.spec-prose h2{font-size:1.5rem;font-weight:600;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border);color:var(--foreground);scroll-margin-top:5rem}.spec-prose h3{font-size:1.25rem;font-weight:500;margin-top:2rem;margin-bottom:.75rem;color:var(--foreground);scroll-margin-top:5rem}.spec-prose h4{font-size:1.0625rem;font-weight:500;margin-top:1.5rem;margin-bottom:.5rem;color:var(--foreground)}.spec-prose p{margin-bottom:1rem;line-height:1.75;color:var(--foreground)}.spec-prose strong{font-weight:600}.spec-prose ul,.spec-prose ol{margin-bottom:1rem;padding-left:1.5rem}.spec-prose li{margin-bottom:.375rem;line-height:1.625}.spec-prose ul li{list-style:disc}.spec-prose ol li{list-style:decimal}.spec-prose table{width:100%;border-collapse:collapse;margin-bottom:1.5rem;font-size:.875rem}.spec-prose thead th{text-align:left;padding:.625rem .75rem;border-bottom:2px solid var(--border);font-weight:500;color:var(--foreground);white-space:nowrap}.spec-prose tbody td{padding:.5rem .75rem;border-bottom:1px solid var(--border);color:var(--foreground);vertical-align:top}.spec-prose tbody tr:hover td{background:var(--muted)}.spec-prose code{font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:.8125rem;background:var(--muted);padding:.125rem .375rem;border-radius:4px}.spec-prose pre{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;overflow-x:auto;margin-bottom:1.5rem;line-height:1.625}.spec-prose pre code{background:none;padding:0;font-size:.8125rem}.spec-prose blockquote{border-left:3px solid var(--border);padding-left:1rem;color:var(--muted-foreground);margin-bottom:1rem;font-style:italic}.spec-callout{padding:.75rem 1rem;border-radius:var(--radius);margin-bottom:1rem;font-size:.875rem;line-height:1.625}.spec-callout-warning{background:#feedc9;border:1px solid oklch(.85 .1 85);color:#592e00;color:oklch(.35 .1 60)}.dark .spec-callout-warning{background:#2a2009;border-color:#493810;color:#e0cba1}.status-pill{display:inline-flex;align-items:center;padding:.125rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;line-height:1.5;white-space:nowrap;cursor:pointer;transition:opacity .15s;-webkit-user-select:none;user-select:none}.status-pill:hover{opacity:.85}.status-planlagt{background:var(--muted);color:var(--muted-foreground)}.status-igang{background:#fde1a7;color:#6b3900;color:oklch(.4 .12 60)}.dark .status-igang{background:#362600;background:oklch(.28 .06 85);color:#e6ca91}.status-done{background:#c4f3c4;color:#00480e;color:oklch(.35 .12 145)}.dark .status-done{background:#133015;color:#a4d2a4}.status-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:50;min-width:120px;padding:4px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000014}.dark .status-menu{box-shadow:0 4px 12px #0000004d}.status-menu-item{display:flex;align-items:center;width:100%;padding:.375rem .625rem;border-radius:calc(var(--radius) - 2px);font-size:.75rem;font-weight:500;cursor:pointer;transition:background .1s;border:none;background:none;text-align:left;color:var(--foreground)}.status-menu-item:hover{background:var(--muted)}.status-menu-item.is-active{font-weight:600}.status-menu-item-planlagt.is-active{color:var(--muted-foreground)}.status-menu-item-igang.is-active{color:#6b3900;color:oklch(.4 .12 60)}.dark .status-menu-item-igang.is-active{color:#e6ca91}.status-menu-item-done.is-active{color:#00480e;color:oklch(.35 .12 145)}.dark .status-menu-item-done.is-active{color:#a4d2a4}.priority-badge{display:inline-flex;align-items:center;padding:.0625rem .5rem;border-radius:4px;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em}.priority-pill{display:inline-flex;align-items:center;padding:.0625rem .5rem;border-radius:4px;font-size:.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.025em;cursor:pointer;transition:opacity .15s;-webkit-user-select:none;user-select:none;border:none;line-height:1.5}.priority-pill:hover{opacity:.8}.priority-none{background:var(--muted);color:var(--muted-foreground)}.priority-kritisk{background:#ffd8d4;background:oklch(.92 .1 25);color:#861118}.dark .priority-kritisk{background:#491513;color:#ffbab3;color:oklch(.85 .1 25)}.priority-vigtig{background:#f7e2b8;color:#774a00;color:oklch(.45 .1 70)}.dark .priority-vigtig{background:#342707;color:#d6c298}.priority-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:50;min-width:120px;padding:4px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 12px #00000014}.dark .priority-menu{box-shadow:0 4px 12px #0000004d}.priority-menu-item{display:flex;align-items:center;width:100%;padding:.375rem .625rem;border-radius:calc(var(--radius) - 2px);font-size:.75rem;font-weight:500;cursor:pointer;transition:background .1s;border:none;background:none;text-align:left;color:var(--foreground)}.priority-menu-item:hover{background:var(--muted)}.priority-menu-item.is-active{font-weight:600}.priority-menu-item-kritisk.is-active{color:#861118}.dark .priority-menu-item-kritisk.is-active{color:#ffbab3;color:oklch(.85 .1 25)}.priority-menu-item-vigtig.is-active{color:#774a00;color:oklch(.45 .1 70)}.dark .priority-menu-item-vigtig.is-active{color:#d6c298}.priority-menu-item-nice-to-have.is-active{color:#224a71}.dark .priority-menu-item-nice-to-have.is-active{color:#a7c8ea}.dep-add-btn{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:4px;border:1px dashed var(--border);background:none;color:var(--muted-foreground);cursor:pointer;transition:border-color .15s,color .15s,background .15s;flex-shrink:0}.dep-add-btn:hover{border-color:var(--foreground);color:var(--foreground);background:var(--muted)}.dep-editor{position:absolute;left:0;top:calc(100% + 4px);z-index:50;width:260px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 16px #0000001a;overflow:hidden}.dark .dep-editor{box-shadow:0 4px 16px #00000059}.dep-editor-search{padding:6px;border-bottom:1px solid var(--border)}.dep-editor-input{width:100%;padding:.375rem .5rem;font-family:inherit;font-size:.75rem;color:var(--foreground);background:var(--muted);border:1px solid transparent;border-radius:calc(var(--radius) - 2px);outline:none;transition:border-color .15s}.dep-editor-input:focus{border-color:var(--primary)}.dep-editor-input::placeholder{color:var(--muted-foreground)}.dep-editor-list{max-height:240px;overflow-y:auto;padding:4px}.dep-editor-item{display:flex;align-items:center;gap:6px;width:100%;padding:.3125rem .5rem;border-radius:calc(var(--radius) - 2px);font-size:.75rem;cursor:pointer;transition:background .1s;border:none;background:none;text-align:left;color:var(--foreground)}.dep-editor-item:hover{background:var(--muted)}.dep-editor-item.is-selected{background:#dff6de}.dark .dep-editor-item.is-selected{background:#121e12}.dep-editor-check{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:3px;border:1px solid var(--border);flex-shrink:0;color:#00480e;color:oklch(.35 .12 145)}.dep-editor-item.is-selected .dep-editor-check{background:#4aa651;border-color:#4aa651;color:#fff}.dark .dep-editor-item.is-selected .dep-editor-check{background:#3e8343;border-color:#3e8343}.dep-editor-id{font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:.6875rem;font-weight:500;color:var(--muted-foreground);flex-shrink:0}.dep-editor-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.feature-card{padding:.75rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);transition:box-shadow .15s}.feature-card:hover{box-shadow:0 1px 3px #0000000f}.progress-bar-track{height:6px;border-radius:3px;background:var(--muted);overflow:hidden}.progress-bar-fill{height:100%;border-radius:3px;background:#4aa651;transition:width .5s cubic-bezier(.4,0,.2,1)}.spec-toc a{display:block;padding:.25rem .75rem;font-size:.8125rem;color:var(--muted-foreground);text-decoration:none;border-left:2px solid transparent;transition:color .15s,border-color .15s}.spec-toc a:hover,.spec-toc a.active{color:var(--foreground);border-left-color:var(--foreground)}.category-accent{width:4px;border-radius:2px;flex-shrink:0}.milestone-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);overflow:hidden;transition:box-shadow .15s}.milestone-card:hover{box-shadow:0 1px 3px #0000000f}.milestone-delete-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:4px;background:none;color:var(--muted-foreground);cursor:pointer;opacity:0;transition:opacity .15s,color .15s,background .15s;margin-right:.5rem;flex-shrink:0}.milestone-card:hover .milestone-delete-btn,.release-header:hover .milestone-delete-btn{opacity:1}.milestone-delete-btn:hover{color:#cc272e;background:#ffe8e6;background:oklch(.95 .03 25)}.dark .milestone-delete-btn:hover{color:#ffa098;color:oklch(.8 .12 25);background:#361715}.milestone-done{opacity:.7}.milestone-blocked{border-left:3px solid oklch(.65 .15 55)}.milestone-connector{width:2px;height:20px;margin-left:22px;background:var(--border)}.milestone-status{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:9999px;font-size:.6875rem;font-weight:600;white-space:nowrap;letter-spacing:.01em}.milestone-status-done{background:#c4f3c4;color:#00480e;color:oklch(.35 .12 145)}.dark .milestone-status-done{background:#133015;color:#a4d2a4}.milestone-status-igang{background:#fde1a7;color:#6b3900;color:oklch(.4 .12 60)}.dark .milestone-status-igang{background:#362600;background:oklch(.28 .06 85);color:#e6ca91}.milestone-status-blocked{background:#ffddc7;background:oklch(.92 .1 55);color:#7c2700;color:oklch(.4 .15 40)}.dark .milestone-status-blocked{background:#421e00;background:oklch(.28 .08 55);color:#f8c19c}.milestone-status-planlagt{background:var(--muted);color:var(--muted-foreground)}.dep-badge{display:inline-flex;align-items:center;padding:.0625rem .375rem;border-radius:4px;font-size:.625rem;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-weight:500;cursor:pointer;transition:opacity .15s;border:none;line-height:1.5}.dep-badge:hover{opacity:.75}.dep-badge-link{border:none;background:none;color:inherit;font:inherit;padding:0;cursor:pointer}.dep-badge-remove{margin-left:3px;padding:0 1px;opacity:.35;cursor:pointer;border:none;background:none;color:inherit;font-size:.75rem;line-height:1;transition:opacity .15s}.dep-badge-remove:hover{opacity:1}.dep-badge-blocked{background:#ffddc7;background:oklch(.92 .08 55);color:#6f3600;color:oklch(.4 .12 55)}.dark .dep-badge-blocked{background:#3f2007;color:#f8c19c}.dep-badge-unlocks{background:#cdf0cd;color:#1d5522}.dark .dep-badge-unlocks{background:#182f19;color:#a8d1a9}.dep-badge-met{background:#cdf0cd;color:#1d5522;cursor:default;font-family:inherit;font-size:.6875rem}.dark .dep-badge-met{background:#182f19;color:#a8d1a9}@keyframes feature-pulse{0%,to{box-shadow:none}50%{box-shadow:0 0 0 2px #c79600;box-shadow:0 0 0 2px oklch(.7 .15 85)}}.feature-highlight{animation:feature-pulse .5s ease-in-out 3}.comment-item{padding:.5rem 0;border-bottom:1px solid var(--border)}.comment-item:last-child{border-bottom:none}.comment-actions{display:inline-flex;gap:2px;margin-left:auto;opacity:0;transition:opacity .15s}.comment-item:hover .comment-actions{opacity:1}.spec-edit-textarea{width:100%;min-height:4rem;padding:.75rem;font-family:inherit;font-size:inherit;line-height:1.75;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:var(--radius);resize:none;overflow:hidden;margin-bottom:1rem;transition:border-color .15s}.spec-edit-textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.spec-principle-row,.spec-story-row{display:flex;align-items:center;gap:.5rem}.spec-principle-id{flex-shrink:0;width:2rem;font-size:.8125rem;font-weight:500;color:var(--muted-foreground);text-align:center}.spec-principle-input{min-width:0;padding:.375rem .625rem;font-family:inherit;font-size:.875rem;line-height:1.5;color:var(--foreground);background:var(--card);border:1px solid var(--border);border-radius:var(--radius-sm, 6px);transition:border-color .15s}.spec-principle-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.spec-principle-input::placeholder{color:var(--muted-foreground)}@media(max-width:768px){.spec-principle-row,.spec-story-row{flex-wrap:wrap}.spec-principle-id{width:auto}.spec-principle-input{width:100%;flex:1 1 100%}}.journey-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);overflow:hidden;transition:box-shadow .15s}.journey-card:hover{box-shadow:0 1px 3px #0000000f}.journey-card-header{display:flex;align-items:center;gap:.5rem;width:100%;padding:.625rem .75rem;background:none;border:none;cursor:pointer;text-decoration:none;font-family:inherit;color:inherit}.journey-card-details{padding:0 .75rem .75rem 3.75rem}.journey-edit-card{border:1px solid var(--border);border-radius:var(--radius);padding:.75rem;display:flex;flex-direction:column;gap:.5rem;background:var(--card)}.journey-step-edit{padding:.5rem;border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background:var(--muted)}.journey-priority-chip{display:inline-flex;align-items:center;padding:.0625rem .5rem;border-radius:9999px;font-size:.6875rem;font-weight:500;white-space:nowrap;flex-shrink:0;text-transform:uppercase;letter-spacing:.025em}.journey-priority-primaer{background:#d1e7ff;background:oklch(.92 .08 250);color:#004981;color:oklch(.4 .12 250)}.dark .journey-priority-primaer{background:#0e2a45;color:#a8d2ff;color:oklch(.85 .08 250)}.journey-priority-sekundaer{background:#c4f3c4;color:#00480e;color:oklch(.35 .12 145)}.dark .journey-priority-sekundaer{background:#133015;color:#a4d2a4}.journey-priority-tertiaer{background:#fde1a7;color:#6b3900;color:oklch(.4 .12 60)}.dark .journey-priority-tertiaer{background:#362600;background:oklch(.28 .06 85);color:#e6ca91}.journey-priority-laveste{background:var(--muted);color:var(--muted-foreground)}.journey-steps-table{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}.journey-steps-table table{width:100%;border-collapse:collapse;font-size:.8125rem;margin-bottom:0}.journey-steps-table thead th{text-align:left;padding:.5rem .625rem;border-bottom:1px solid var(--border);font-weight:500;font-size:.75rem;color:var(--muted-foreground);white-space:nowrap;background:var(--muted)}.journey-steps-table tbody td{padding:.5rem .625rem;border-bottom:1px solid var(--border);color:var(--foreground);vertical-align:top;line-height:1.5}.journey-steps-table tbody tr:last-child td{border-bottom:none}.journey-steps-table tbody tr:hover td{background:oklch(from var(--muted) l c h / 50%)}@media(max-width:768px){.journey-card-header{flex-wrap:wrap;gap:.375rem}.journey-card-details{padding-left:.75rem}.journey-edit-card>div{flex-wrap:wrap}.journey-edit-card .spec-principle-input{flex:1 1 100%}.journey-steps-table{font-size:.75rem}}.story-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);overflow:hidden;transition:box-shadow .15s}.story-card:hover{box-shadow:0 1px 3px #0000000f}.story-card-header{display:flex;align-items:center;gap:.5rem;width:100%;padding:.625rem .75rem;background:none;border:none;cursor:pointer;text-decoration:none;font-family:inherit;color:inherit}.story-card-details{padding:0 .75rem .75rem 3.25rem}.story-acceptance{background:var(--muted);padding:.5rem .75rem;border-radius:var(--radius);font-size:.8125rem;line-height:1.625}.story-status-chip{display:inline-flex;align-items:center;padding:.0625rem .5rem;border-radius:9999px;font-size:.6875rem;font-weight:500;white-space:nowrap;flex-shrink:0}.story-status-ikke-paabegyndt{background:var(--muted);color:var(--muted-foreground)}.story-status-igang{background:#fde1a7;color:#6b3900;color:oklch(.4 .12 60)}.dark .story-status-igang{background:#362600;background:oklch(.28 .06 85);color:#e6ca91}.story-status-implementeret{background:#c4f3c4;color:#00480e;color:oklch(.35 .12 145)}.dark .story-status-implementeret{background:#133015;color:#a4d2a4}.story-status-problem{background:#ffd8d4;background:oklch(.92 .1 25);color:#861118}.dark .story-status-problem{background:#491513;color:#ffbab3;color:oklch(.85 .1 25)}.priority-nice-to-have{background:#d1e7ff;color:#224a71}.dark .priority-nice-to-have{background:#192a3c;color:#a7c8ea}.story-edit-card{border:1px solid var(--border);border-radius:var(--radius);padding:.75rem;display:flex;flex-direction:column;gap:.5rem;background:var(--card)}@media(max-width:768px){.story-card-header{flex-wrap:wrap;gap:.375rem}.story-card-details{padding-left:.75rem}.story-edit-card>div{flex-wrap:wrap}.story-edit-card .spec-principle-input{flex:1 1 100%}}.spec-divider{border:none;border-top:2px solid var(--border);margin:3rem 0 2rem}@media(max-width:768px){.spec-prose table{font-size:.8125rem}.spec-prose thead th,.spec-prose tbody td{padding:.375rem .5rem}.spec-prose h2{font-size:1.25rem}.spec-prose h3{font-size:1.125rem}}.confirm-dialog{padding:.75rem;border:1px solid oklch(.85 .08 55);border-radius:var(--radius);background:#fff2ea;background:oklch(.97 .02 55);margin-bottom:.5rem}.dark .confirm-dialog{background:#25170d;border-color:#52311a}.confirm-dialog-btn{display:inline-flex;align-items:center;padding:.3125rem .75rem;border-radius:var(--radius);font-size:.75rem;font-weight:500;font-family:inherit;cursor:pointer;transition:opacity .15s;border:1px solid var(--border)}.confirm-dialog-btn:hover{opacity:.85}.confirm-dialog-cancel{background:var(--card);color:var(--foreground)}.confirm-dialog-confirm{background:#cc272e;color:#fff;border-color:#cc272e}.dark .confirm-dialog-confirm{background:#a20519;border-color:#a20519}.confirm-dialog-save{background:#278733;color:#fff;border-color:#278733}.dark .confirm-dialog-save{background:#1e6626;border-color:#1e6626}.add-form{padding:.75rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);display:flex;flex-direction:column;gap:.5rem}.add-form-row{display:flex;align-items:center;gap:.5rem}.add-form-label{flex-shrink:0;width:5.5rem;font-size:.75rem;font-weight:500;color:var(--muted-foreground);text-align:right}.add-form-input{flex:1;min-width:0;padding:.3125rem .5rem;font-family:inherit;font-size:.8125rem;color:var(--foreground);background:var(--muted);border:1px solid transparent;border-radius:calc(var(--radius) - 2px);outline:none;transition:border-color .15s}.add-form-input:focus{border-color:var(--primary)}.add-form-input::placeholder{color:var(--muted-foreground)}.add-form-input-sm{max-width:8rem;flex:0 0 auto}.add-form-section{padding-top:.375rem;border-top:1px solid var(--border);margin-top:.25rem}.add-form-radio{display:inline-flex;align-items:center;gap:.25rem;cursor:pointer}.add-form-color-swatch{width:20px;height:20px;border-radius:4px;border:2px solid transparent;cursor:pointer;transition:border-color .15s}.add-form-color-swatch:hover{border-color:var(--muted-foreground)}.add-form-color-swatch.is-selected{border-color:var(--foreground);box-shadow:0 0 0 1px var(--foreground)}.feature-actions{display:inline-flex;gap:2px;opacity:0;transition:opacity .15s}.group:hover .feature-actions,.feature-card:hover .feature-actions{opacity:1}.feature-action-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;border:none;background:none;color:var(--muted-foreground);cursor:pointer;transition:color .15s,background .15s}.feature-action-btn:hover{color:var(--foreground);background:var(--muted)}.feature-action-delete:hover{color:#cc272e;background:#ffe8e6;background:oklch(.95 .03 25)}.dark .feature-action-delete:hover{color:#ffa098;color:oklch(.8 .12 25);background:#361715}.add-inline-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px dashed var(--border);border-radius:var(--radius);background:none;color:var(--muted-foreground);font-family:inherit;font-size:.75rem;cursor:pointer;transition:border-color .15s,color .15s,background .15s}.add-inline-btn:hover{border-color:var(--foreground);color:var(--foreground);background:var(--muted)}
