/* Project workspaces follow the warm-white creator surface; shared navigation owns its width. */
.projects-workspace{background:#f7f6f1;color:#202a27}
/* Shared .btn display must never override the native hidden state. */
.projects-workspace [hidden]{display:none!important}
.projects-workspace .appbar{background:transparent;border-bottom:0;color:#6e7973}
.projects-workspace .app-main{max-width:1280px;padding:48px 56px 80px;min-height:calc(100vh - 66px)}
.projects-workspace .pagehead{margin-bottom:34px;align-items:center}
.projects-workspace .pagehead h1{font-size:36px;font-weight:450;letter-spacing:-.8px;overflow-wrap:anywhere}
.projects-workspace .pagehead p{font-size:14px;max-width:750px}
.projects-workspace .btn.primary{background:#26382d;border-color:#26382d;font-weight:500}
.projects-workspace .btn{border-radius:9px;font-weight:450}
.projects-workspace .btn.ghost{background:transparent}
.project-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 25px}
.project-search{flex:1;max-width:440px}
.project-toolbar input,.project-toolbar select{width:100%;min-height:44px;background:transparent;border-color:#d4dcd0}
.project-toolbar>button{margin-left:auto}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.project-card{display:flex;flex-direction:column;min-width:0;min-height:220px;text-decoration:none;color:inherit;border:1px solid #dce1d6;border-radius:14px;background:#fff;padding:25px;transition:border-color .15s,background .15s}
.project-card:hover,.project-card:focus-visible{border-color:#9daa96;background:#fdfefb}
.project-card-top{display:flex;justify-content:space-between;gap:12px;color:#84907f}
.project-type{font-size:12px;color:#71806c}
.project-card h2{font-size:22px;margin:22px 0 10px;font-weight:500;overflow-wrap:anywhere}
.project-card p{font-size:13px;color:#6a756e;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.project-card footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;color:#798177;margin-top:auto;padding-top:27px}
.project-empty{grid-column:1/-1;text-align:center;padding:78px 22px;min-height:310px;background:transparent;border:0}
.project-empty h2{font-size:21px;font-weight:450;margin:18px 0 12px}
.project-empty p{font-size:14px;max-width:560px;margin:auto}
.project-empty-mark{font-size:52px;line-height:1;color:#b3beaa;font-weight:300}
.project-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:26px;color:#75806e;font-size:12px}
.project-pagination:empty{display:none}
.project-back{display:inline-block;color:#727b70;font-size:13px;margin-bottom:5px}
.project-context{display:flex;flex-wrap:wrap;gap:8px 25px;padding:0 0 24px;color:#7a8277;font-size:12px}
.project-context a{margin-left:auto;color:#435a3d}
.project-tabs{display:flex;gap:27px;overflow-x:auto;border-bottom:1px solid #d7ddd2;padding:0;scrollbar-width:thin}
.project-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;white-space:nowrap;font-size:14px;color:#737e74;min-height:51px;padding:11px 0}
.project-tabs button[aria-current]{border-bottom-color:#28372d;background:transparent;color:#26362a;font-weight:500}
.project-tabs button:focus-visible{outline-offset:-3px}
#project-content{min-width:0;min-height:380px;outline-offset:8px}
.project-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}
.project-section-heading h2{font-size:23px;font-weight:450;overflow-wrap:anywhere}
.project-section-heading p{font-size:13px;margin-top:9px;max-width:750px;color:#758071}
.project-section-heading .btn{flex:0 0 auto}
.project-loading{padding:70px 0;text-align:center;color:#7d8777}
.project-section{max-width:none;background:transparent;border:0;padding:0;border-radius:0}
.project-section>h2{font-weight:450;font-size:23px}
.project-section>.space{margin-top:14px}
.project-record{border:1px solid #dde2d7;border-radius:13px;padding:24px;margin:16px 0;background:#fff;min-width:0;overflow-wrap:anywhere}
.project-record .project-section-heading{margin-bottom:18px}
.project-record .project-section-heading h2{font-size:18px}
.project-plan-fields{margin:22px 0 0;display:grid;gap:20px}
.project-plan-fields div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:15px}
.project-plan-fields dt{color:#7b8674;font-size:12px}
.project-plan-fields dd{margin:0;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.project-note{font-size:12px;color:#798173;margin:22px 0 0;line-height:1.75}
.project-warning{background:#f1eadb;border-radius:9px;padding:15px 18px;color:#715d34;font-size:13px;margin-bottom:20px}
.project-conversation{display:flex;gap:18px;padding:22px 8px;border-bottom:1px solid #dce1d6}
.project-conversation:hover{background:#f0f2e9}
.project-conversation h3{font-weight:450;line-height:1.7;overflow-wrap:anywhere}
.project-conversation p{font-size:12px;margin-top:7px}
.project-conversation-icon{display:grid;place-items:center;border:1px solid #d9e0d3;width:38px;height:38px;flex:0 0 38px;border-radius:10px;color:#85917c}
.project-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.project-result{min-width:0;border:1px solid #dce1d6;border-radius:13px;background:#fff;overflow:hidden}
.project-result-media{background:#edf0e7;min-height:160px;display:flex;align-items:center;justify-content:center}
.project-result-media img,.project-result-media video{display:block;max-width:100%;width:100%;max-height:340px;object-fit:contain}
.project-result-symbol{font-size:50px;font-weight:300;color:#a9b39e;padding:40px}
.project-result-text{white-space:pre-wrap;max-height:270px;overflow:auto;padding:24px;width:100%;font-size:14px;overflow-wrap:anywhere}
.project-result-body{padding:22px}
.project-result-body h3{font-weight:500}
.project-result-body p{font-size:12px;margin-top:8px}
.project-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:19px}
.project-shot{display:flex;align-items:flex-start;gap:23px}
.project-number{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #dce2d3;border-radius:9px;color:#88977c}
.project-shot small{color:#7a8474}
.project-shot h3{font-size:16px;font-weight:450;margin:6px 0 8px}
.project-shot p{font-size:13px;white-space:pre-wrap}
.project-timeline-strip{display:flex;gap:7px;overflow:auto;padding:4px 0 10px}
.project-timeline-strip>span{background:#e7eddc;min-width:95px;padding:12px;border-radius:6px;font-size:12px;color:#53674a}
.project-timeline-strip small{display:block;font-size:10px;margin-top:6px;white-space:nowrap}
.project-series{display:grid;gap:15px;margin-top:24px}
.project-episode{border:1px solid #dce1d6;border-radius:12px;background:#fff;padding:23px}
.project-episode h3{font-size:19px;font-weight:450;margin:8px 0}
.project-episode>small{color:#7a8672}
.project-script{margin:20px 0;color:#516149;font-size:13px}
.project-script summary{cursor:pointer;padding:8px 0}
.project-script p{white-space:pre-wrap;max-height:350px;overflow:auto;overflow-wrap:anywhere;color:#44513f}
.project-inline-form{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.project-inline-form input,.project-inline-form select{min-width:110px;flex:1;padding:11px;border:1px solid #d7ded0;border-radius:8px;background:#fff}
.project-inline-form input[type=number]{max-width:90px;min-width:70px;flex:0 1 80px}
.project-asset-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #dce2d4;overflow-wrap:anywhere}
.project-asset-row a{font-size:12px;color:#506646}
#upload-recovery{padding:20px;background:#ecefe5;border-radius:12px}
#upload-receipt{font-size:12px;overflow-wrap:anywhere;line-height:1.8;margin-top:12px}
#asset-review-controls{margin-top:18px}
#asset-upload-form{padding-top:12px;border-top:1px solid #dce1d6}
#asset-upload-form>label{display:flex;gap:9px;align-items:center;margin:17px 0;font-size:13px}
#asset-upload-form>input{display:block;margin-bottom:16px;width:100%}
.project-wizard{width:min(720px,calc(100vw - 28px));border:1px solid #d8dfcf;border-radius:18px;padding:30px;max-height:88vh;max-height:88dvh;background:#f7f7f1}
.project-wizard::backdrop{background:#26302a66;backdrop-filter:blur(3px)}
.project-wizard h2{font-size:25px;font-weight:450}
#wizard-step-label{font-size:12px;margin:20px 0 0}
.wizard-progress{display:flex;gap:7px;margin:12px 0 25px}
.wizard-progress span{height:3px;flex:1;border-radius:9px;background:#dce2d4}
.wizard-progress .done{background:#7d8e6e}
.project-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.project-types button,.project-asset-option{border:1px solid #d8dfd0;background:#fff;border-radius:10px;text-align:left;padding:16px;color:#415239;min-height:48px}
.project-types button[aria-pressed=true]{border-color:#819775;background:#e9efdf}
.project-wizard label{display:grid;gap:9px;margin:19px 0;font-size:13px}
.project-wizard input,.project-wizard textarea,.project-wizard select{width:100%;padding:12px;border:1px solid #d3ddcb;border-radius:9px;background:white}
.project-asset-list{max-height:220px;overflow:auto}
.project-wizard .project-asset-option{display:flex;align-items:center;gap:10px;width:100%;margin:7px 0;font-size:13px}
.project-asset-option input{width:auto}
#wizard-recover{margin-top:14px}
@media(max-width:1100px){.projects-workspace .app-main{padding:35px 30px 65px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.projects-workspace .app-main{padding:25px 20px 50px}.projects-workspace .pagehead{align-items:flex-start;gap:20px}.projects-workspace .pagehead h1{font-size:29px}.project-grid,.project-results{grid-template-columns:minmax(0,1fr)}.project-toolbar{flex-wrap:wrap}.project-search{max-width:none;flex-basis:100%}.project-toolbar input,.project-toolbar select{font-size:16px}.project-card{min-height:195px}.project-card h2{margin-top:17px}.project-tabs{gap:24px;margin:0 -3px;padding:0 3px}.project-context{gap:10px 17px}.project-context a{margin-left:0}.project-section-heading{flex-wrap:wrap}.project-section-heading .btn{min-height:44px}.project-record{padding:20px}.project-plan-fields div{grid-template-columns:1fr;gap:7px}.project-asset-row{align-items:flex-start;flex-wrap:wrap}.project-empty{min-height:280px;padding:65px 10px}.project-wizard{padding:20px}.project-wizard input,.project-wizard textarea,.project-wizard select,.project-inline-form input,.project-inline-form select{font-size:16px}.project-inline-form input[type=file]{flex-basis:100%;max-width:100%}.project-pagination{gap:10px}.project-pagination .btn{min-height:44px}.projects-workspace .appbar>a{font-size:12px}.project-shot{gap:15px}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}}
.project-refresh{background:transparent;padding:0;color:#66745d;font-size:12px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.project-refresh{min-height:32px;margin-top:-10px}}
