/* Shared product surfaces: quiet canvas, consistent controls, clear emphasis. */
.library-empty img{margin-inline:auto}
.model-picker-panel{display:flex;flex-direction:column;overflow:hidden}.model-picker-panel>input,.model-picker-panel>.model-count,.model-picker-panel>.model-expand{flex-shrink:0}.model-picker-panel>.model-options{min-height:0}
.creation-project-dialog .media-result>img,.creation-project-dialog .media-result>video{max-height:clamp(180px,42vh,440px)!important}
:root{--product-ink:#244b3a;--product-muted:#687863;--product-line:#dfe5d7;--product-paper:#fffef8;--product-radius:18px;--product-shadow:0 12px 38px #294a3510}
:is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #8da678;outline-offset:4px}
:is(.button,.creation-primary,.creation-secondary,.history-toggle){min-height:44px;transition:background .16s,box-shadow .16s,transform .16s}
.button-primary:hover,.creation-primary:hover{box-shadow:0 6px 18px #244b3a20;transform:translateY(-1px)}
.site-header{box-shadow:0 1px 0 #294a350a}.nav-dropdown-panel{border:1px solid var(--product-line);box-shadow:0 18px 60px #193d2920}.nav-item small{line-height:1.5}
.studio-intro{padding-top:clamp(30px,4vw,70px)}.studio-intro h1{font-size:clamp(38px,5.2vw,76px);line-height:1.08;letter-spacing:-.035em}.studio-intro>p{max-width:650px;margin:20px auto 26px;line-height:1.65}
.authenticated-workspace .hero-landscape{opacity:.28}.authenticated-workspace .drifting-leaves{display:none}.authenticated-workspace .studio-intro h1{font-family:var(--font-body,Arial,sans-serif);font-size:30px;letter-spacing:-.025em}.authenticated-workspace .agent-card{box-shadow:var(--product-shadow);border:1px solid #dbe3d4}
.agent-card{border-radius:24px}.agent-card textarea{line-height:1.65;resize:vertical}.agent-card :is(select,input,textarea){border-color:var(--product-line)}.agent-card :is(select,input,textarea):hover{border-color:#a6b799}
.model-picker>summary{min-height:44px!important;padding:10px 14px!important;gap:9px!important;border-radius:12px!important;font-size:14px!important}.model-picker>summary strong{font-size:14px!important}.model-picker-panel{width:min(360px,calc(100vw - 48px))!important;border-radius:16px!important;box-shadow:0 14px 40px #244b3a1c!important}.model-option{padding:12px!important;border-radius:10px!important}.model-option p{font-size:12px!important;line-height:1.5}.model-option small{font-size:11px!important}.model-count{padding:8px 4px;display:block;color:var(--product-muted)}.model-option[aria-pressed=true]{background:#eaf0e0}
.model-expand{width:100%;padding:10px;background:#f2f5e9;border:1px solid var(--product-line);border-radius:10px;color:var(--product-ink);margin-top:8px}
.creation-results-heading{gap:16px;flex-wrap:wrap}.project-library-link{margin-left:auto;font-size:14px;color:var(--product-ink)}.creation-result-list{gap:18px!important}.project-tile{border-radius:16px!important;box-shadow:none!important;border:1px solid var(--product-line)!important}.project-tile-body{padding:16px!important}.project-tile-body h3{font-size:14px!important;line-height:1.5!important}.project-cover{background:linear-gradient(135deg,#e5eddf,#f4eee0)!important}.project-cover-hint{font-size:12px}.project-cover .library-media-symbol{display:grid;place-items:center;min-height:180px;color:#456b4b;font-size:34px}.project-tile-meta{font-size:10px!important;letter-spacing:.08em}
.creation-confirm,.creation-project-dialog,.library-confirm{border:1px solid var(--product-line);background:var(--product-paper);border-radius:24px;box-shadow:0 24px 100px #183f3333;color:var(--product-ink)}dialog::backdrop{background:#18392a75;backdrop-filter:blur(5px)}.creation-confirm{max-width:460px!important;padding:30px!important}.creation-project-dialog{max-width:1080px!important}.creation-project-dialog .media-result{box-shadow:none!important;border:0!important;padding:22px!important}.creation-primary{background:#315c43!important;color:#fffef5!important;border:1px solid #315c43!important}.creation-secondary{background:#f1f4e9!important;color:#315c43!important;border:1px solid #dae2d1!important}.media-result-actions{gap:12px!important;align-items:center}.media-result-actions>button{min-height:42px;padding:8px 12px!important}.creation-delivery-note{font-size:13px}.creation-progress{border:1px solid #e0e7d8!important;box-shadow:none!important}.creation-progress-copy h3{font-size:20px!important}.creation-connection,.creation-estimate-note{font-size:12px!important}.creation-timing{font-variant-numeric:tabular-nums}.creation-confirm h2{font-size:28px!important;line-height:1.2!important}
.projects-page{max-width:1300px;margin:auto;padding:54px 36px 90px;min-height:70vh}.projects-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.projects-heading h1{font-size:clamp(36px,4vw,54px);letter-spacing:-.03em;margin:6px 0 10px;color:var(--product-ink)}.projects-heading p{color:var(--product-muted)}.projects-heading .eyebrow{font-size:11px;letter-spacing:.16em}.projects-heading .button{font-size:14px;white-space:nowrap}
.storage-meter{background:#eff3e7;border:1px solid var(--product-line);border-radius:16px;padding:18px 22px;margin:20px 0 28px}.storage-meter>div{display:flex;justify-content:space-between;gap:15px;font-size:13px}.storage-meter strong{font-variant-numeric:tabular-nums}.storage-meter progress{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:8px;margin:12px 0;background:#dce5d3;accent-color:#56784d}.storage-meter progress::-webkit-progress-bar{background:#dce5d3;border-radius:8px}.storage-meter progress::-webkit-progress-value{background:#56784d;border-radius:8px}.storage-meter p{font-size:12px;color:var(--product-muted);margin:0}.storage-meter.is-warning{background:#faf1dc;border-color:#dcc48c}
.projects-toolbar{display:flex;align-items:end;gap:16px;margin-bottom:24px}.projects-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--product-muted)}.project-search{flex:1}.projects-toolbar :is(input[type=search],select){border:1px solid var(--product-line);border-radius:12px;padding:12px 14px;background:var(--product-paper);font:inherit;font-size:14px;color:var(--product-ink);min-height:44px}.projects-toolbar .project-favorite-filter{flex-direction:row;align-items:center;padding:12px 0;font-size:14px}.projects-toolbar input[type=checkbox],.library-card-actions input{accent-color:#426749;width:18px;height:18px}
.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.library-card{position:relative;border:1px solid var(--product-line);border-radius:18px;overflow:hidden;background:var(--product-paper);transition:box-shadow .18s,transform .18s}.library-card:hover{box-shadow:var(--product-shadow);transform:translateY(-2px)}.library-cover{width:100%;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;padding:0;background:linear-gradient(135deg,#dce7d7,#f4eddd);color:var(--product-ink);cursor:pointer}.library-cover img{width:100%;height:100%;object-fit:cover}.library-media-symbol{font-size:32px;display:block}.library-cover small{font-size:12px;margin-top:8px}.library-card-actions{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.library-card-actions>*{pointer-events:auto}.library-card-actions button{border:1px solid #ffffffb0;border-radius:50%;width:32px;height:32px;background:#fffef3ed;color:#426749;font-size:21px;cursor:pointer}.library-card-copy{padding:14px 16px}.library-card-copy h2{font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;margin:0;color:var(--product-ink);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px}.library-card-copy p{font-size:11px;margin:10px 0 0;color:var(--product-muted)}
.projects-selection{display:flex;gap:12px;align-items:center;position:sticky;top:85px;z-index:5;background:#315c43;color:#fffef5;border-radius:14px;padding:12px 16px;margin-bottom:20px;box-shadow:var(--product-shadow)}.projects-selection button{border:1px solid #ffffff40;border-radius:8px;padding:8px 12px;background:#ffffff10;color:inherit;font:inherit;font-size:13px;cursor:pointer}.projects-selection strong{margin-right:auto;font-size:13px}.projects-selection[hidden],#projects-content[hidden],#projects-auth[hidden],#projects-more[hidden],#projects-empty[hidden]{display:none}.library-empty{text-align:center;padding:64px 20px;background:#f3f5ed;border:1px dashed #c9d7bd;border-radius:20px}.library-empty img{margin-bottom:12px}.library-empty h2{font-size:28px}.library-empty p{color:var(--product-muted)}.library-empty>div{display:flex;justify-content:center;gap:12px;margin-top:24px}.projects-page #media-results{display:none!important}#projects-status{font-size:13px;color:var(--product-muted);min-height:24px}.library-confirm{max-width:460px;padding:30px}.library-confirm h2{font-size:28px}.library-confirm p{font-size:14px;line-height:1.7}.library-confirm>div{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.library-confirm .button{font-size:13px;padding:12px 16px}
.pricing-page .pricing-hero{padding-top:55px;padding-bottom:22px}.pricing-page .pricing-hero h1{font-size:clamp(40px,5vw,70px);line-height:1.08}.pricing-page .pricing-grid{align-items:stretch}.pricing-page .pricing-card{box-shadow:none;border-radius:20px}.pricing-page .pricing-card:hover{box-shadow:var(--product-shadow)}.checkout-dialog{border:1px solid var(--product-line);border-radius:24px}.checkout-heading h2{font-size:30px}.checkout-summary{background:#f2f5e8}.wallet-page .wallet-card{box-shadow:none;border:1px solid var(--product-line)}
@media(max-width:1100px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.projects-page{padding:28px 18px 60px}.projects-heading{align-items:flex-start;flex-direction:column;gap:14px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.projects-toolbar{flex-wrap:wrap}.project-search{flex-basis:100%}.projects-selection{top:65px;flex-wrap:wrap;gap:8px}.projects-selection strong{flex-basis:100%}.library-card-copy{padding:12px}.library-empty>div{flex-direction:column}.creation-results-heading .project-library-link{margin-left:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.library-card,.button-primary,.creation-primary{transition:none!important;transform:none!important}}
@media(max-width:480px){.site-header .nav-wrap{gap:10px;padding-left:16px;padding-right:16px}.site-header .nav-actions{gap:8px;min-width:0;margin-left:auto}.site-header .nav-actions>a.button-small{display:none}.site-header .brand{flex-shrink:0}.site-header .menu-toggle{width:36px;min-width:36px;padding:8px}.site-header .language-switch>summary{padding:9px 10px;min-height:38px}}.frame-source-note{font-size:12px;line-height:1.5;color:#6b7f68;margin:0;grid-column:1/-1}
@media(max-width:480px){.site-header .nav-actions>.nav-create{display:none!important}.site-header .nav-actions{gap:6px}.site-header .nav-wrap{padding-left:14px;padding-right:14px}}
@media(max-width:480px){html .site-header .nav-actions>a.nav-create{display:none!important}}

.library-rename{border:0;background:transparent;font:inherit;font-size:12px;padding:8px 0 0;color:#647b58}.library-name-editor{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.library-name-editor input{width:100%;border:1px solid #ccd9c0;border-radius:8px;padding:8px;font:inherit;font-size:13px}.library-name-editor button{font:inherit;font-size:12px;border-radius:8px;padding:7px 12px;background:#e9f0df}.actual-media-size{font-size:12px;color:#6c8064;margin:8px 0}
/* Shared editorial navigation, equally complete in public and signed-in views. */
.site-header .nav-dropdown-panel{width:min(980px,calc(100vw - 56px));grid-template-columns:minmax(0,1fr) minmax(0,1fr) 260px;gap:20px;padding:24px;border:1px solid #dfe5d8;border-radius:20px;background:linear-gradient(115deg,#fffefb,#fcfcf5);box-shadow:0 2px 5px #24473105,0 16px 35px -12px #24473126,0 36px 70px -24px #24473133;overflow:hidden}
.site-header .nav-group{padding:5px 0;min-width:0}
.site-header .nav-group>p{font-size:9px;letter-spacing:.15em;line-height:1.4;font-weight:600;color:#86927d;margin:0 0 12px;padding:0 12px}
.site-header .nav-dropdown-panel .nav-tool-link{position:relative;border:1px solid transparent;border-radius:12px;gap:12px;padding:12px 10px;margin:2px 0;transition:background .18s,border-color .18s}
.site-header .nav-tool-link>span:last-child{min-width:0}
.site-header .nav-dropdown-panel .nav-tool-link:hover{background:#edf2e5;border-color:#e3e9db}
.site-header .nav-dropdown-panel .nav-tool-link strong{font-size:13px;font-weight:600;line-height:1.45;letter-spacing:-.01em;color:#345642}
.site-header .nav-dropdown-panel .nav-tool-link small{font-size:10.5px;line-height:1.5;margin-top:3px;color:#83907b}
.site-header .nav-item-icon{width:34px;height:36px;background:linear-gradient(#f4f6ee,#edf2e5);border:1px solid #e6ecdd;border-radius:10px;color:#719066;box-shadow:inset 0 1px 0 #ffffffb3;transition:background .18s,color .18s}
.site-header .nav-item-icon svg{width:20px;height:20px}
.site-header .nav-tool-link:hover .nav-item-icon{background:#e3ebd8;color:#345b40}
.site-header .nav-dropdown-panel .nav-feature{display:flex;flex-direction:column;gap:0;align-self:stretch;margin:0 0 0 4px;padding:7px;background:#eef2e6;border:1px solid #e2e8d8;border-radius:14px;overflow:hidden;transition:box-shadow .2s,background .2s}
.site-header .nav-feature img{display:block;width:100%;height:0;min-height:176px;flex:1;object-fit:cover;border-radius:9px;transition:filter .25s}
.site-header .nav-feature>span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 8px 9px;color:#4b6948;font-size:11px;line-height:1.6}
.site-header .nav-feature b{display:grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid #d6dfca;border-radius:50%;font-size:14px;font-weight:400;transition:background .2s,color .2s}
.site-header .nav-feature:hover{background:#e8efdd;box-shadow:0 4px 14px #2b523a0d}.site-header .nav-feature:hover b{background:#345b43;color:#fff;border-color:#345b43}.site-header .nav-feature:hover img{filter:saturate(1.07)}
.site-header .nav-dropdown-panel a:focus-visible{outline:2px solid #799b68;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.site-header .nav-dropdown-panel a,.site-header .nav-dropdown-panel img,.site-header .nav-dropdown-panel b,.site-header .nav-item-icon{transition:none}}

.model-picker-row .model-easy-start{font:inherit;font-size:12px;padding:10px 12px;border:1px solid #dfe5d6;border-radius:10px;background:#f3f6ed;color:#355f48;max-width:100%;white-space:normal}.model-picker-row .model-easy-start:disabled{opacity:.75;cursor:default}.model-picker-row .model-timing{flex-basis:100%;font-size:12px;color:#62735e;line-height:1.5}.library-location{display:block;margin-top:12px;color:#62735e;line-height:1.5}
@media(max-width:480px){.library-grid{grid-template-columns:minmax(0,1fr)}}
