@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;background:#f6f5f0;color:#303b37;--accent:#377d70;--line:#e2e6dc;--muted:#839085;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{height:100dvh;display:grid;grid-template-rows:52px minmax(0,1fr);padding-left:52px}a{color:var(--accent)}button{font-family:inherit;color:inherit}.portfolio-rail{position:fixed;inset:0 auto 0 0;width:52px;background:#eeefe8;display:flex;flex-direction:column;align-items:center;padding:16px 0;z-index:4}.portfolio-rail>a{display:grid;place-items:center;width:24px;height:24px}.lab-emblem{width:20px;height:20px}.profile-avatar{width:24px;height:24px;object-fit:cover;border-radius:50%;margin-top:auto}.portfolio-header{height:52px;position:relative;background:transparent;border:0;padding:0 24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-width:0}.portfolio-header nav{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;min-width:0;overflow:auto;scrollbar-width:none}.shell-tab{border:1px solid transparent;border-radius:7px;background:transparent;font-size:13px;padding:10px 13px;white-space:nowrap;color:#839085}.shell-tab:hover{background:#eeefe8}.shell-tab[aria-pressed=true]{background:#ebeee5;border-color:#dfe5d8;color:#3d6957}.portfolio-name{font-size:12px;color:#8c958d;white-space:nowrap}.layout{min-height:0;height:auto;margin:0;display:flex;overflow:hidden;padding:0 24px}.layout>aside{max-height:none;min-height:0;min-width:0;display:flex;flex-direction:column;flex:1;border:0}.filters{flex-shrink:0;padding:22px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:nowrap}.search-field{display:flex;align-items:center;gap:10px;width:300px;border:1px solid #e1e5dc;border-radius:8px;background:#fafaf6;padding:0 12px}.search-field svg{width:16px;height:16px;fill:none;stroke:#839085;stroke-width:1.4;flex-shrink:0}.filters input{border:0;background:none;color:#303b37;width:100%;min-width:0;padding:10px 0;font-size:13px;outline:none}.search-field:focus-within{border-color:#8ba695}.filters input::placeholder{color:#929b90}.count{font-size:11px;color:#929b90;white-space:nowrap}.list{overflow-y:auto;overflow-x:hidden;min-height:0;padding:0 0 32px;scrollbar-width:thin;scrollbar-color:#d8dfd1 transparent}.shelf{margin-bottom:28px}.shelf h2{font-family:Manrope,sans-serif;font-size:13px;font-weight:500;letter-spacing:.2px;color:#7c8a7d;margin:0 0 14px}.tiles{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:20px}.project-tile{background:#fafaf6;border:1px solid #e6e9e0;border-radius:10px;box-shadow:0 2px 12px #344b3605;transition:border-color .2s}.project-tile:hover{border-color:#bac9b8}.project-tile .row,.project-tile .row.active{background:transparent;color:#303b37;border-radius:0;border:0}.project-tile .row:hover{background:transparent}.cover{aspect-ratio:4/3;border-radius:0;color:#fff}.cover img{background:#e8ede3;object-fit:cover}.tile-info{padding:16px}.row strong{font-family:Manrope,sans-serif;font-size:15px;font-weight:600;letter-spacing:-.3px}.type-badge[data-type]{background:#edf0e8;color:#75856f;border-color:#dfe6d8;font-size:10px;font-weight:500;border-radius:4px;padding:3px 6px;margin-top:9px}.card-summary{color:#8a9488;font-size:12px;line-height:1.5;margin-top:10px;min-height:36px}.live-badge{background:#f5f8f0eb;border:1px solid #d5e1c9;color:#52764f;font-weight:500;font-size:10px;padding:4px 6px}.live-icon{width:27px;height:27px;background:#f5f8f0eb;border:1px solid #d5e1c9;color:#52764f;font-size:17px}.live-icon:hover{background:#e1e9da}.empty{color:#839085}.portfolio-header button:focus-visible,.row:focus-visible,.live-icon:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* Keep the existing project viewer, integrated with the warm workspace. */
dialog#projectDialog{background:#fafaf6;color:#303b37;border:1px solid #e2e6dc;border-radius:12px;box-shadow:0 16px 70px #303b371a}dialog::backdrop{background:#303b3745;backdrop-filter:blur(3px)}#projectDialog .dialog-top,#projectDialog:has(.preview) .dialog-top{background:#fafaf6;border-color:#e2e6dc}#projectDialog #closeProject{background:transparent;color:#839085;border:0}#projectDialog button{color:#647367;background:transparent;border-color:transparent}#projectDialog button:hover{background:#edf0e8}#projectDialog .viewer-tabs{border-color:#e2e6dc}#projectDialog .viewer-tabs button[aria-pressed=true]{background:#e8eee1;border-color:#d6e0ce;color:#3d6957}#projectDialog .viewer-controls{background:#fafaf6;border-color:#e2e6dc}#projectDialog .viewer-visit{background:#e8eee1;border-color:#d6e0ce;color:#377d70}#projectDialog .viewer-image{background:#eeefe8;border-radius:8px}#projectDialog .viewer-info p,#projectDialog .viewer-build p{color:#7e8a7d}#projectDialog .viewer-story{border-color:#e2e6dc}#projectDialog .viewer-story h3,#projectDialog .viewer-build h3{color:#6d8069}#projectDialog .creative-keywords,#projectDialog .viewer-project-name,#projectDialog .viewer-navigation span,#projectDialog .gallery-controls span{color:#929b90}
@media(min-width:1600px){.tiles{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}.layout{padding:0 32px}.portfolio-header{padding:0 32px}}
@media(max-width:760px){body{padding-left:44px;grid-template-rows:48px minmax(0,1fr)}.portfolio-rail{width:44px;padding-top:12px}.portfolio-header{height:48px;padding:0 12px;gap:0}.portfolio-name{display:none}.shell-tab{font-size:12px;padding:8px 10px}.layout{padding:0 14px}.filters{padding:16px 0;gap:12px}.search-field{width:min(260px,75%)}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile-info{padding:12px}.row strong{font-size:13px}.card-summary{font-size:11px}.cover{font-size:18px}.live-actions{top:7px;right:7px}.live-badge{display:none}}
@media(max-width:420px){.tiles{grid-template-columns:1fr}.shell-tab{font-size:11px;padding:8px}.filters input{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}dialog::backdrop{backdrop-filter:none}}

.home-avatar{width:24px;height:24px;object-fit:cover;border-radius:50%;display:block}

.portfolio-rail>a{width:34px;height:34px;border:1px solid #dfe5d8;border-radius:7px;background:#fafaf6;overflow:hidden;padding:4px}.portfolio-rail .home-avatar{width:24px;height:24px;max-width:100%;object-fit:cover;border-radius:4px;display:block}
.portfolio-rail>a{border-radius:10px}.portfolio-rail .home-avatar{border-radius:7px}
