/* Site Krämer: app shell / project gallery, technical-light, generated hue 198.2 adapted to neutral surfaces. Text and action contrast >= 4.5. Native dialog primitives, restrained state motion. */
@font-face{font-family:Manrope;src:url(manrope.woff2) format('woff2');font-weight:200 800;font-display:swap}
:root{--text:#101d1e;--muted:#576564;--bg:#f5f7f7;--surface:#fff;--primary:#088285;--primary-hover:#066c6f;--border:#dbe2e2;--soft:#edf5f4;--danger:#b32635;--curve:cubic-bezier(.22,1,.36,1);--sidebar:248px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif;font-size:1rem;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{cursor:wait;opacity:.6}img{max-width:100%;vertical-align:middle}button img,.button img{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin:0;text-wrap:pretty}h1,h2,h3{text-wrap:balance}h1{font-size:3rem;line-height:1;letter-spacing:-2px;font-weight:600}h2{font-size:1.5rem;line-height:2rem;letter-spacing:-.7px;font-weight:600}h3{font-size:1.25rem;line-height:1.75rem;font-weight:600}p+p{margin-top:16px}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--primary);outline-offset:4px}::selection{background:#c2e6e7;color:var(--text)}.skip{position:fixed;top:-80px;left:16px;z-index:100;background:white;padding:12px 16px}.skip:focus{top:16px}
.heading-1{font-size:3.75rem;line-height:1;font-weight:600}.heading-2{font-size:3rem;line-height:1;font-weight:600}.heading-5{font-size:1.5rem;line-height:2rem;font-weight:600}.body-3{font-size:1rem;line-height:1.5rem;font-weight:400}.caption-2{font-size:.875rem;line-height:1.25rem;font-weight:400}.button-md{font-size:1rem;line-height:1.5rem;font-weight:600}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#181818;color:#fff;display:flex;flex-direction:column;padding:40px 16px 24px;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;padding:0 16px;font-size:1.25rem;line-height:1.25rem;letter-spacing:-.7px;font-weight:600}.brand>span{display:block}.brand-last{display:block}.brand-period{color:#6bd0c2}.brand img{width:40px;height:40px}.sidebar-label{color:#a6afad;font-size:.75rem;line-height:1rem;letter-spacing:1.3px;padding:0 16px;margin:64px 0 16px}.navigation{display:grid;gap:8px}.nav-item{border:0;background:none;display:flex;align-items:center;text-align:left;color:#c5ccca;padding:12px;gap:12px;border-radius:8px;font-size:.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap}.nav-item img{width:20px;height:20px;filter:invert(1);opacity:.7}.nav-item>span{margin-left:auto;font-size:.75rem;line-height:1rem;font-variant-numeric:tabular-nums;color:#a6afad}.nav-item.selected{background:#313131;color:#fff}.nav-item.selected img{opacity:1}.nav-item.selected>span{color:#fff}.sidebar-bottom{margin-top:auto;padding:48px 16px 0}.mini-mark{display:flex;align-items:center;gap:12px}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#313131;border:1px solid #576564;border-radius:50%;font-size:.75rem;flex-shrink:0}.mini-mark strong{display:block;font-size:.875rem;font-weight:500}.mini-mark div>span{font-size:.75rem;color:#a6afad}.sidebar-bottom p{font-size:.875rem;line-height:1.5rem;color:#a6afad;margin:24px 0}.domain{font-size:.75rem;color:#a6afad;text-decoration:none}.workspace{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:88px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 48px;background:var(--surface);border-bottom:1px solid var(--border)}.breadcrumb{display:flex;gap:16px;align-items:center;font-size:.875rem;color:var(--muted)}.breadcrumb strong{color:var(--text);font-weight:500}.top-actions{display:flex;align-items:center;gap:12px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;font-size:.875rem;line-height:1.25rem;font-weight:600;border:1px solid #b6c4c3;border-radius:8px;color:var(--text);text-decoration:none;background:var(--surface);transition:background-color 200ms var(--curve),transform 200ms var(--curve),opacity 200ms var(--curve)}.button.primary{background:var(--primary);border-color:var(--primary);color:#fff}.button.primary img{filter:invert(1)}.button.quiet{background:transparent;border-color:transparent;color:var(--muted)}.button.danger{background:var(--danger);color:#fff;border-color:var(--danger)}.button.full{width:100%}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);font-size:1.5rem;flex-shrink:0}.icon-button img{width:20px;height:20px}.badge{background:var(--soft);font-size:.75rem;font-weight:600;padding:4px 8px;border-radius:4px}.text-button{border:0;background:none;padding:8px 0;color:var(--muted);font-size:.75rem;text-decoration:underline;text-underline-offset:4px}
main{width:100%;max-width:1544px;margin:0 auto;padding:48px;flex:1}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:8px 0 48px}.eyebrow{font-size:.75rem;line-height:1rem;font-weight:600;letter-spacing:1.5px;color:var(--muted);margin-bottom:16px}.accent{color:var(--primary)}.intro-copy{font-size:1rem;line-height:1.5rem;color:var(--muted);margin-top:24px;max-width:680px}.collection{margin-top:0}.collection-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.collection-title{display:flex;align-items:center;gap:12px}.collection-title h2{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.4px}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:2px 8px;border:1px solid var(--border);border-radius:6px;font-size:.75rem;font-weight:600;font-variant-numeric:tabular-nums;background:white}.collection-actions{display:flex;align-items:center;gap:16px}.search{position:relative;display:flex;align-items:center;gap:8px;margin:0!important}.search>img{width:18px;height:18px;position:absolute;left:12px;pointer-events:none;opacity:.65}.search input{width:232px;height:40px;padding:8px 12px 8px 40px;margin:0;border-radius:8px;background:#fff;font-size:.875rem;border:1px solid var(--border)}.view-toggle{display:flex;padding:2px;background:#e9eeee;border:1px solid var(--border);border-radius:8px}.view-toggle .icon-button{width:32px;height:32px;border-radius:4px}.view-toggle .active{background:#fff;border:1px solid var(--border)}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.project-card{border:1px solid var(--border);border-radius:16px;background:var(--surface);min-width:0;overflow:hidden}.project-card.featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}.preview{position:relative;aspect-ratio:16/10;background:#e7eeee;display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none}.featured .preview{aspect-ratio:auto;min-height:360px}.preview-image{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}.preview-overlay{position:absolute;inset:16px 16px auto auto;display:flex;gap:8px}.preview-chip{display:inline-flex;align-items:center;gap:8px;background:white;border:1px solid var(--border);padding:4px 8px;font-size:.75rem;border-radius:6px;font-weight:500;line-height:1rem}.preview-chip img{width:14px;height:14px}.preview-monogram{font-size:3.75rem;line-height:1;font-weight:600;color:#576564;letter-spacing:-4px}.preview-fallback{width:100%;height:100%;padding:40px;display:flex;align-items:center;justify-content:center;background:#e7eeee}.preview-fallback::before{content:"";position:absolute;inset:24px;border:1px solid #b6c4c3;border-radius:8px}.browser-caption{position:absolute;left:16px;bottom:16px;display:flex;align-items:center;gap:8px;font-size:.75rem;background:#fff;padding:8px 12px;border:1px solid var(--border);border-radius:6px;max-width:calc(100% - 32px)}.browser-caption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.browser-caption img{width:14px;height:14px}.card-content{padding:24px;display:flex;flex-direction:column;min-width:0}.featured .card-content{padding:32px;justify-content:center}.card-kind{display:flex;align-items:center;gap:8px;font-size:.75rem;line-height:1rem;color:var(--muted);margin-bottom:16px}.card-kind img{width:16px;height:16px}.card-title{font-size:1.5rem;line-height:2rem;font-weight:600;letter-spacing:-.7px;overflow-wrap:anywhere}.featured .card-title{font-size:1.875rem;line-height:2.25rem;letter-spacing:-1px}.card-description{color:var(--muted);font-size:.875rem;line-height:1.5rem;margin-top:12px;overflow-wrap:anywhere}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.tag{font-size:.75rem;line-height:1rem;padding:4px 8px;background:var(--soft);border-radius:4px;color:var(--muted)}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:32px;padding-top:0}.status{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:.75rem;line-height:1rem}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--primary);flex-shrink:0}.status.error{color:var(--danger)}.status.error .status-dot{background:var(--danger)}.status.draft .status-dot,.status.building .status-dot,.status.queued .status-dot{background:#957220}.card-footer .button{font-size:.875rem}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}.admin-actions .button{font-size:.75rem;min-height:36px}.admin-actions .delete-project{margin-left:auto;color:var(--danger)}.hidden-project{opacity:.75}.project-grid.list-view{display:flex;flex-direction:column}.list-view .project-card,.list-view .project-card.featured{display:grid;grid-template-columns:192px minmax(0,1fr)}.list-view .preview{min-height:0;aspect-ratio:auto}.list-view .preview-chip,.list-view .browser-caption{display:none}.list-view .card-content{padding:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px}.list-view .card-kind{margin:0;grid-column:1}.list-view .card-title{font-size:1.25rem;line-height:1.75rem;grid-column:1}.list-view .card-description{margin:0;grid-column:1}.list-view .tags{display:none}.list-view .card-footer{grid-column:2;grid-row:1/4;flex-direction:column;align-items:flex-end;justify-content:center;margin:0}.list-view .admin-actions{grid-column:1/-1;margin-top:8px}.collection-note{display:flex;align-items:center;gap:8px;margin:24px 0 16px;color:var(--muted);font-size:.75rem;line-height:1.25rem}.collection-note img{opacity:.75;flex-shrink:0}.footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 48px;padding:24px 0;border-top:1px solid var(--border);color:var(--muted);font-size:.75rem;line-height:1rem}.skeleton{grid-column:1/-1;height:360px;border-radius:16px;background:#e2e8e7;animation:pulse 1.5s var(--curve) infinite alternate}.empty-state,.error-panel{text-align:center;background:#fff;border:1px solid var(--border);border-radius:16px;padding:64px 24px}.empty-state>img{opacity:.6;margin-bottom:16px}.empty-state p,.error-panel p{color:var(--muted);margin:12px 0 24px}.toast{position:fixed;bottom:24px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);z-index:100;background:#181818;color:#fff;padding:12px 24px;border-radius:8px;font-size:.875rem;max-width:calc(100% - 32px);box-shadow:0 8px 32px #0002}
.dialog{border:1px solid var(--border);border-radius:16px;background:#fff;color:var(--text);padding:32px;width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 24px 80px #0003}.dialog.small{max-width:448px}.dialog::backdrop{background:#101d1e99;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.dialog-heading .eyebrow{margin-bottom:8px}.dialog h2{margin-bottom:8px}.dialog-heading h2{margin:0}.dialog .muted{font-size:.875rem;line-height:1.5rem;margin:12px 0 24px}.muted{color:var(--muted)}.dialog label,.gate label{display:block;font-size:.875rem;font-weight:500;margin-top:16px}.dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.dialog textarea,.dialog select,.gate input{display:block;margin-top:8px;width:100%;min-height:44px;padding:8px 12px;border:1px solid #a5b5b3;border-radius:6px;color:var(--text);background:#fff;line-height:1.5rem;font-size:1rem;font-weight:400}.dialog textarea{resize:vertical}.dialog select{appearance:none;background-image:url(icons/caret-down.svg);background-repeat:no-repeat;background-size:16px;background-position:right 12px center;padding-right:40px}.dialog input::placeholder,.dialog textarea::placeholder,.search input::placeholder{color:#667773}.dialog input:focus,.dialog textarea:focus,.dialog select:focus,.gate input:focus{outline:2px solid var(--primary);outline-offset:2px}.dialog-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}.form-error{font-size:.875rem;color:var(--danger);margin:12px 0;white-space:pre-wrap}.form-error:empty{margin:16px 0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-hint{font-size:.75rem;line-height:1.25rem;color:var(--muted);margin-top:8px}.optional{font-size:.75rem;color:var(--muted);font-weight:400}.checkbox{display:flex!important;align-items:center;gap:8px;min-height:32px;cursor:pointer}.checkbox input{width:18px;height:18px;margin:0;accent-color:var(--primary)}.type-picker{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.type-picker legend{font-size:.875rem;font-weight:500;margin-bottom:8px}.type-picker label{position:relative;margin:0;cursor:pointer}.type-picker input{position:absolute;opacity:0}.type-picker span{display:grid;grid-template-columns:24px 1fr;gap:4px 8px;padding:16px;border:1px solid #a5b5b3;border-radius:8px}.type-picker img{grid-row:1/3;width:20px;height:20px}.type-picker strong{font-size:.875rem;line-height:1.25rem;font-weight:600}.type-picker small{font-size:.75rem;line-height:1rem;color:var(--muted)}.type-picker input:checked+span{border-color:var(--primary);background:var(--soft);box-shadow:inset 0 0 0 1px var(--primary)}.type-picker input:focus-visible+span{outline:3px solid var(--primary);outline-offset:4px}.type-picker input:disabled+span{opacity:.5;cursor:default}.advanced{margin-top:24px;padding:16px;background:var(--bg);border:1px solid var(--border);border-radius:8px}.advanced summary{font-size:.875rem;font-weight:600;cursor:pointer}.password-box{background:var(--soft);padding:16px;border:1px solid #b6cdca;border-radius:8px;margin-top:24px}.inline-heading{display:flex;gap:8px;align-items:center;font-size:.875rem}.inline-heading img{width:20px;height:20px}.code-input{font-family:ui-monospace,monospace!important;font-size:.875rem!important}.logs-dialog{width:min(880px,calc(100% - 32px))}pre{background:#181818;color:#e3eeea;border-radius:8px;padding:24px;font-family:ui-monospace,monospace;font-size:.875rem;line-height:1.5rem;white-space:pre-wrap;overflow-wrap:anywhere;max-height:50dvh;overflow:auto;margin:16px 0 24px}.gate-body{min-height:100dvh;display:grid;align-content:center;padding:24px}.gate{flex:0;max-width:480px;padding:40px;background:#fff;border:1px solid var(--border);border-radius:16px;margin:auto}.gate-brand{display:block;margin-bottom:40px}.gate-brand img{object-fit:contain;object-position:left}.gate-icon{padding:12px;border-radius:12px;background:var(--soft);display:inline-flex;margin-bottom:24px}.gate h1{font-size:1.875rem;line-height:2.25rem;letter-spacing:-1px;overflow-wrap:anywhere;margin-bottom:16px}.gate .eyebrow{font-size:.75rem;letter-spacing:1px}.gate .back-link{display:block;text-align:center;font-size:.875rem;text-decoration:underline;text-underline-offset:4px;color:var(--muted);margin-top:24px}.gate-footer{text-align:center;font-size:.75rem;color:var(--muted);margin-top:24px}.gate input{margin-top:8px}
@media(hover:hover) and (pointer:fine){.button:hover{background:#edf2f1}.button.primary:hover{background:var(--primary-hover)}.button.danger:hover{background:#8f1e2a}.icon-button:hover{background:#e7eeee}.nav-item:hover{background:#272727;color:#fff}.nav-item.selected:hover{background:#313131}.project-card:hover{border-color:#a5b5b3}.preview-image{transition:transform 500ms var(--curve)}a.preview:hover .preview-image{transform:scale(1.025)}}button:active:not(:disabled),a.button:active{transform:translateY(1px)}
@keyframes pulse{from{opacity:.5}to{opacity:1}}
@media(min-width:1600px){main{padding:64px}.featured .preview{min-height:440px}.featured .card-content{padding:40px}.footer{margin:0 64px}}
@media(max-width:1199px){:root{--sidebar:224px}.sidebar{padding-left:8px;padding-right:8px}.topbar{padding:16px 32px}main{padding:40px 32px}.footer{margin:0 32px}.featured .card-content{padding:24px}.featured .preview{min-height:320px}.project-card.featured{grid-template-columns:1.2fr 1fr}.featured .card-title{font-size:1.5rem;line-height:2rem}.card-footer{flex-wrap:wrap}.collection-actions{gap:8px}.search input{width:200px}h1{font-size:2.25rem;line-height:2.5rem;letter-spacing:-1.5px}}
@media(max-width:959px){:root{--sidebar:80px}.sidebar{align-items:center;padding:24px 8px}.brand{padding:0}.brand>span,.sidebar-label,.sidebar-bottom{display:none}.navigation{width:100%;margin-top:40px}.nav-item{font-size:0;justify-content:center;padding:16px;gap:0;position:relative}.nav-item>span{position:absolute;right:4px;top:4px;font-size:.75rem}.nav-item img{width:24px;height:24px}.collection-toolbar{flex-wrap:wrap;gap:16px}.project-card.featured{display:block}.featured .preview{aspect-ratio:16/9;min-height:0}.featured .card-content{padding:24px}.featured .card-title{font-size:1.875rem;line-height:2.25rem}.featured .card-footer{margin-top:24px}.footer>span:nth-child(2){display:none}.project-grid{gap:16px}.project-card:not(.featured) .card-content{padding:16px}.list-view .project-card.featured{display:grid}.intro{flex-wrap:wrap}.intro .button{margin-top:0}}
@media(max-width:639px){:root{--sidebar:0px}.sidebar{position:static;width:100%;flex-direction:row;padding:16px 24px;justify-content:space-between;gap:24px}.brand{font-size:1.125rem;line-height:1.125rem}.brand>span{display:block}.brand img{width:32px;height:32px}.navigation{display:flex;width:auto;margin:0;gap:8px}.nav-item{padding:8px;width:40px;height:40px}.nav-item img{width:20px;height:20px}.nav-item>span{display:none}.nav-item[data-filter=git],.nav-item[data-filter=protected]{display:none}.workspace{margin:0;min-height:calc(100dvh - 72px)}.topbar{min-height:64px;padding:8px 24px}.breadcrumb{gap:8px;font-size:.75rem}.breadcrumb>span:first-child,.breadcrumb>span:nth-child(2){display:none}.top-actions{gap:4px}.badge{font-size:.75rem}.button{font-size:.875rem}.button.quiet{padding:8px}.top-actions .button img{width:18px;height:18px}main{padding:32px 24px}.intro{margin:8px 0 32px;gap:24px}.eyebrow{font-size:.75rem;letter-spacing:1px;margin-bottom:12px}h1{font-size:2.25rem;line-height:2.5rem;letter-spacing:-1.5px}.intro-copy{margin-top:16px;font-size:.875rem;line-height:1.5rem}.desktop-break{display:none}.collection-toolbar{gap:16px;margin-bottom:16px}.collection-title h2{font-size:1rem;line-height:1.5rem}.collection-actions{width:100%;justify-content:space-between;gap:12px}.search{flex:1;min-width:0}.search input{width:100%}.project-grid{grid-template-columns:1fr}.featured .preview{aspect-ratio:4/3}.featured .card-content,.project-card:not(.featured) .card-content{padding:24px}.featured .card-title,.card-title{font-size:1.5rem;line-height:2rem;letter-spacing:-.7px}.card-description{font-size:.875rem}.card-footer{gap:12px;margin-top:24px}.tags{margin-top:16px}.preview-overlay{inset:12px 12px auto auto}.browser-caption{bottom:12px;left:12px;max-width:calc(100% - 24px)}.collection-note{align-items:flex-start;gap:8px;margin-top:24px}.collection-note img{margin-top:2px}.footer{margin:0 24px;gap:12px;flex-wrap:wrap}.dialog{padding:24px;max-height:calc(100dvh - 32px)}.form-row,.type-picker{grid-template-columns:1fr}.type-picker{gap:8px}.form-row{gap:0}.dialog-footer{gap:8px}.dialog-footer .button{flex:1}.list-view .project-card,.list-view .project-card.featured{grid-template-columns:80px minmax(0,1fr)}.list-view .card-content,.list-view .featured .card-content{display:flex;padding:16px;gap:0}.list-view .card-title,.list-view .featured .card-title{font-size:1.125rem;line-height:1.75rem;margin:8px 0}.list-view .card-description{display:none}.list-view .card-footer{flex-direction:row;align-items:center;margin-top:12px;justify-content:space-between;gap:8px}.list-view .card-footer .status{display:none}.list-view .preview-monogram{font-size:1.875rem;letter-spacing:-1px}.list-view .preview-fallback{padding:8px}.list-view .preview-fallback::before{inset:8px}.list-view .admin-actions{padding-top:12px;margin-top:12px}.gate-body{padding:16px}.gate{padding:24px}.gate-brand{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.preview-image{transform:none!important}}
