/* Authenticated production workspace; isolated from marketing-page components. */
.portal-page{background:#f7f5fb;color:#291d36}.portal-main{max-width:1240px;margin:auto;padding:35px 24px 65px}.portal-auth-main{max-width:1100px}.portal-skip{position:absolute;top:-100px;left:20px;background:#fff;padding:12px;z-index:100}.portal-skip:focus{top:8px}.portal-heading{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:28px}.portal-heading h1{font-size:34px;line-height:1.2;letter-spacing:-.035em;margin:8px 0 12px}.portal-heading>div>p{font-size:16px;line-height:1.7;max-width:750px}.portal-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:#74459a;text-transform:uppercase}.portal-account{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;background:#fff;padding:14px 18px;border:1px solid #e3daec;border-radius:16px;min-width:220px}.portal-account>div{display:grid;gap:5px}.portal-account strong{font-size:14px}.portal-account small{font-size:11px;color:#765d87}.portal-account .btn{font-size:12px}.portal-notice{padding:15px 18px;border:1px solid #e7b6c5;border-radius:13px;background:#fff0f4;color:#8a2646;font-size:14px;line-height:1.6;margin:0 0 22px;overflow-wrap:anywhere}.portal-notice.success{background:#eef8f0;color:#275d3a;border-color:#bad9c3}.portal-loading,.portal-unavailable,.portal-gate,.portal-empty{padding:28px;border:1px solid #e0d4ea;border-radius:18px;background:#fff;color:#665071;font-size:15px;line-height:1.8}.portal-gate h1{font-size:28px;color:#2f213c;margin:0 0 12px}.portal-gate .btn{margin-top:15px}.portal-unavailable .btn{margin-top:12px}.portal-auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin:20px 0}.portal-auth-intro{padding:30px 15px 25px 0}.portal-auth-intro h1{font-size:45px;line-height:1.15;letter-spacing:-.045em;margin:18px 0 25px}.portal-auth-intro p{font-size:17px;line-height:1.85}.portal-auth-benefits{display:grid;gap:14px;margin:30px 0;padding:0;list-style:none;font-size:14px;color:#604b6e}.portal-auth-benefits li{display:flex;gap:10px;align-items:start}.portal-auth-benefits li:before{content:'✓';color:#7741ae;font-weight:700}.portal-auth-card{border:1px solid #e2d5ed;border-radius:24px;background:#fff;padding:30px;box-shadow:0 15px 40px #35214708}.portal-auth-card h2{font-size:25px;letter-spacing:-.025em;margin:0 0 18px}.portal-auth-tabs{display:flex;gap:8px;margin-bottom:24px}.portal-auth-tabs button{flex:1;justify-content:center;padding:12px}.portal-auth-tabs .active{color:#fff;background:#6525c7;border-color:#6525c7}.portal-form{display:grid;gap:18px}.portal-field{display:grid;gap:8px;min-width:0;font-size:14px;color:#4f3c5e}.portal-label{font-weight:650}.portal-field input,.portal-field select,.portal-field textarea,.portal-controls input,.portal-controls select{display:block;min-width:0;width:100%;padding:12px 13px;border:1px solid #d7c9e3;border-radius:10px;background:#fcfaff;color:#30213c;font:inherit;line-height:1.45}.portal-field textarea{resize:vertical;min-height:105px}.portal-field input[type=file]{padding:12px;font-size:13px;background:#fff}.portal-field input[type=file]::file-selector-button{border:1px solid #d7c4e8;background:#f3eaff;color:#61328a;border-radius:7px;padding:8px 10px;margin-right:10px;cursor:pointer}.portal-help{display:block;font-size:12px;line-height:1.65;color:#705e7c}.portal-form>.btn{justify-content:center;min-height:46px}.portal-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.portal-form-actions .btn{min-height:44px}.portal-auth-footnote{border-top:1px solid #eee4f4;margin-top:24px;padding-top:20px;font-size:12px;line-height:1.8;color:#71607d}.portal-auth-footnote a,.portal-link{color:#6324a7;font-weight:650}.portal-existing-session{padding:15px;border:1px solid #d7c6e5;background:#f6f0fc;border-radius:12px;margin-bottom:20px}.portal-existing-session p{font-size:14px;margin:0 0 10px}.portal-setup{max-width:650px;margin:20px auto}.portal-setup h1{font-size:32px;line-height:1.2;letter-spacing:-.035em}.portal-setup>p{font-size:15px;line-height:1.8}.portal-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:28px}.portal-stat{padding:20px;background:#fff;border:1px solid #e5dcec;border-radius:16px;display:grid;gap:8px}.portal-stat strong{font-size:29px;color:#422154;font-weight:700;letter-spacing:-.03em}.portal-stat span{font-size:12px;color:#6f597f}.portal-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:22px;align-items:start}.portal-list-panel,.portal-detail,.portal-section{background:#fff;border:1px solid #e1d6e9;border-radius:20px;padding:22px;min-width:0}.portal-list-panel{position:sticky;top:100px}.portal-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.portal-list-heading h2{font-size:20px;margin:0}.portal-list-heading span{font-size:11px;color:#80688f}.portal-controls{display:grid;gap:10px;margin-bottom:18px}.portal-controls label{display:grid;gap:6px;font-size:12px;color:#6a5479}.portal-controls input,.portal-controls select{padding:10px;font-size:13px}.portal-controls .btn{justify-content:center}.portal-orders{display:grid;gap:9px;max-height:65vh;overflow:auto;overscroll-behavior:contain;padding-right:3px}.portal-order-row{display:grid;width:100%;text-align:left;gap:10px;border:1px solid #e7deee;border-radius:12px;background:#fcfaff;padding:15px;cursor:pointer;white-space:normal}.portal-order-row:hover{border-color:#baa0d0;background:#f7f0ff}.portal-order-row[aria-pressed=true]{border-color:#8752be;background:#f2e8ff;box-shadow:inset 3px 0 #8752be}.portal-order-row-title{font-size:14px;font-weight:700;color:#3b284a;line-height:1.45;overflow-wrap:anywhere}.portal-order-row-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#7b648b;line-height:1.5}.portal-order-row-person{font-size:11px;color:#745d83;overflow-wrap:anywhere}.portal-badge{display:inline-flex;width:fit-content;padding:5px 9px;border:1px solid #ddd0e7;border-radius:999px;background:#f3edf8;color:#684c7b;font-size:10px;font-weight:650;line-height:1.4}.status-awaiting_approval{background:#fff5dc;border-color:#eddbab;color:#856322}.status-in_progress{background:#eef0ff;border-color:#d2d6ef;color:#4a589b}.status-revision_requested{background:#fff0ec;border-color:#f0ccbf;color:#9a4b35}.status-approved{background:#edf8ee;border-color:#c7dfc9;color:#3a7344}.portal-detail{scroll-margin-top:105px}.portal-detail-empty{text-align:center;padding:70px 10px;color:#786585}.portal-detail-empty strong{display:block;font-size:22px;margin-bottom:15px;color:#4b345d}.portal-detail-head{display:flex;gap:20px;justify-content:space-between;align-items:start;border-bottom:1px solid #eee4f5;padding-bottom:20px;margin-bottom:20px}.portal-detail-head h2{font-size:26px;line-height:1.3;letter-spacing:-.025em;margin:9px 0 0;overflow-wrap:anywhere}.portal-order-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0}.portal-summary-pair dt{font-size:11px;color:#796389;margin-bottom:6px}.portal-summary-pair dd{font-size:13px;line-height:1.5;color:#4d365d;margin:0;overflow-wrap:anywhere}.portal-detail>h3{font-size:17px;margin:20px 0 12px}.portal-preserve{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.portal-assign{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#f7f1fc;border:1px solid #e5d6f0;padding:17px;border-radius:14px;margin:23px 0}.portal-assign label{flex:1;min-width:200px}.portal-assign>.portal-help{width:100%}.portal-assign .btn{min-height:46px}.portal-item{border:1px solid #e1d4eb;padding:22px;border-radius:17px;margin:20px 0;background:#fff}.portal-item-header{display:flex;justify-content:space-between;align-items:start;gap:12px}.portal-item-header h3{font-size:21px;line-height:1.4;margin:8px 0 0;color:#34213f;overflow-wrap:anywhere}.portal-item-size{font-size:11px!important;color:#786187!important;margin:8px 0 20px}.portal-item h4{font-size:13px;color:#654775;margin:18px 0 9px}.portal-preview{margin:24px 0 14px;border:1px solid #e5ddec;background:#f5f2f8;border-radius:12px;overflow:hidden}.portal-preview img{width:100%;height:auto;max-height:620px;object-fit:contain;display:block;user-select:none}.portal-preview figcaption{padding:12px;font-size:10px;line-height:1.6;color:#715c7f;background:#faf7fc}.portal-preview-empty{border:1px dashed #d7c3e7;background:#faf7fd;border-radius:12px;padding:25px;color:#7d658c;font-size:13px;margin:22px 0;line-height:1.8}.portal-revision-history{border-top:1px solid #eee5f4;padding-top:10px;margin-top:20px}.portal-revision-note{padding:12px 14px;background:#fcf5ee;border-left:3px solid #d4a570;border-radius:5px;margin:12px 0}.portal-revision-note time{font-size:10px;color:#8b6c4d}.portal-revision-note p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}.portal-approval-form,.portal-revision-form,.portal-upload-form{display:grid;gap:15px;padding:18px;border:1px solid #dfd0eb;background:#faf6ff;border-radius:13px;margin-top:18px}.portal-approval-form{background:#f1f8ef;border-color:#d3e4cc}.portal-checkbox{display:flex;gap:10px;align-items:start;font-size:13px;line-height:1.8;color:#4e6247}.portal-checkbox input{margin-top:5px;width:17px;height:17px;flex:0 0 17px;accent-color:#6b35a1}.portal-approval-form button,.portal-revision-form button,.portal-upload-form button{justify-content:center;min-height:44px}.portal-info,.portal-success{padding:14px 16px;border:1px solid #ded1eb;border-radius:12px;background:#f7f1fd;font-size:13px;line-height:1.8}.portal-success{color:#386342!important;border-color:#c6ddca;background:#f0f8f1}.portal-events{margin-top:30px;border-top:1px solid #e9dff0;padding-top:20px;font-size:13px}.portal-events summary{font-weight:650;color:#674775;cursor:pointer}.portal-events ol{padding-left:20px}.portal-events li{margin:14px 0;line-height:1.8;color:#614b6e}.portal-events time{display:block;font-size:10px;color:#8a7597}.portal-section{margin:26px 0}.portal-section-head{margin-bottom:22px}.portal-section h2{font-size:25px;letter-spacing:-.025em;margin:0 0 10px}.portal-section-head>p{font-size:14px;line-height:1.8;max-width:800px}.portal-new-items{display:grid;gap:16px}.portal-new-item{border:1px solid #e1d2ec;background:#fcfaff;border-radius:14px;padding:20px}.portal-new-item-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.portal-new-item h3{font-size:18px;margin:0;color:#503361}.portal-new-item-head .btn{font-size:11px;min-height:34px}.portal-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-field-row.three{grid-template-columns:2fr 1fr 1fr}.portal-admin-users{display:grid;grid-template-columns:minmax(280px,.8fr) 1.2fr;gap:28px}.portal-users{display:grid;gap:9px;align-content:start;max-height:500px;overflow:auto}.portal-user-row{display:grid;gap:8px;border:1px solid #e7dcef;border-radius:12px;padding:15px;min-width:0}.portal-user-row strong{font-size:14px}.portal-user-row>span:not(.portal-badge){font-size:12px;color:#796187;overflow-wrap:anywhere}.portal-page .btn-primary{color:#fff!important}.portal-page .btn{white-space:normal}.portal-security-note{font-size:12px;line-height:1.8;color:#756080;padding:20px 0 0}.portal-auth-main input:invalid:not(:placeholder-shown){box-shadow:none}
@media(max-width:1050px){.portal-grid{grid-template-columns:280px minmax(0,1fr);gap:16px}.portal-list-panel,.portal-detail{padding:18px}.portal-counts{gap:9px}.portal-stat{padding:15px}.portal-auth-layout{gap:24px}.portal-heading h1{font-size:30px}}
@media(max-width:800px){.portal-grid{grid-template-columns:1fr}.portal-list-panel{position:static}.portal-orders{max-height:350px;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-admin-users{grid-template-columns:1fr}.portal-auth-layout{grid-template-columns:1fr;gap:5px;max-width:600px;margin:auto}.portal-auth-intro{padding:15px 0}.portal-auth-intro h1{font-size:36px}.portal-auth-benefits{grid-template-columns:1fr;gap:8px;margin:22px 0}.portal-heading{flex-direction:column}.portal-account{width:100%;justify-content:space-between}.portal-auth-intro p{font-size:16px}.portal-auth-card{padding:25px}}
@media(max-width:500px){.portal-main{padding:25px 16px 45px}.portal-heading{margin-bottom:22px}.portal-heading h1{font-size:28px}.portal-heading>div>p{font-size:15px}.portal-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-stat{padding:14px}.portal-stat strong{font-size:26px}.portal-stat span{font-size:11px}.portal-orders{grid-template-columns:1fr;max-height:330px}.portal-detail,.portal-list-panel,.portal-section{padding:16px}.portal-detail-head{flex-direction:column;gap:14px}.portal-detail-head h2{font-size:23px}.portal-order-summary{grid-template-columns:1fr;gap:12px}.portal-summary-pair{display:grid;grid-template-columns:90px 1fr;gap:10px}.portal-item{padding:15px}.portal-item-header{flex-direction:column;gap:10px}.portal-item-header h3{font-size:20px}.portal-field-row,.portal-field-row.three{grid-template-columns:1fr;gap:14px}.portal-new-item{padding:15px}.portal-auth-card{padding:21px 18px}.portal-auth-intro h1{font-size:33px}.portal-auth-card h2{font-size:23px}.portal-auth-tabs{gap:7px}.portal-auth-tabs button{font-size:13px}.portal-approval-form,.portal-revision-form,.portal-upload-form{padding:13px}.portal-assign label{min-width:100%}.portal-assign .btn{width:100%;justify-content:center}.portal-form-actions{align-items:stretch;flex-direction:column}.portal-form-actions .btn{justify-content:center}.portal-item .portal-preserve{font-size:14px}.portal-section h2{font-size:23px}.portal-setup h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.portal-page *{scroll-behavior:auto!important;transition:none!important}}
.portal-new-request-summary{cursor:pointer;font-size:18px;font-weight:700;color:#653a8e;list-style:none;padding:3px 0}.portal-new-request-summary::-webkit-details-marker{display:none}.portal-section details[open]>.portal-new-request-summary{margin-bottom:24px}.portal-field[hidden]{display:none!important}
.order-detail-page{background:#fff;border:1px solid #e3daee;border-radius:22px;padding:24px;margin-top:24px}.order-detail-page .portal-detail{border:0;padding:12px 0}.portal-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.portal-item-grid .portal-item{min-width:0;margin:0}.customer-brief-box,.source-assets,.sharing-plan{padding:22px;border:1px solid #e3d8f2;border-radius:18px;background:#faf8ff;margin:20px 0}.source-assets a{display:block;overflow-wrap:anywhere;margin:10px 0}.human-design-note{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#f0eaff;color:#442074;border:1px solid #dfd0f2;border-radius:14px;line-height:1.6}.portal-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.portal-item h3{overflow-wrap:anywhere}.sharing-plan-row{padding:20px 0;border-bottom:1px solid #ded4eb;display:grid;gap:14px}.sharing-plan-row img{max-height:180px;max-width:100%;object-fit:contain;background:#fff}.sharing-plan-row textarea{min-height:140px}.source-upload{display:grid;gap:12px;margin:16px 0}.portal-field input[type=file]{max-width:100%}@media(max-width:1000px){.portal-item-grid{grid-template-columns:1fr}}@media(max-width:600px){.order-detail-page{padding:14px}.customer-brief-box,.source-assets,.sharing-plan{padding:16px}}

/* Compact work queue: three cards on desktop, actions stay next to each design. */
.admin-app .portal-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.admin-app .portal-item-compact{padding:16px;border-radius:12px;background:#fff}
.admin-app .portal-item-compact .portal-item-header{gap:8px;flex-wrap:wrap;flex-direction:row}
.admin-app .portal-item-compact .portal-item-header>div{min-width:0;flex:1 1 110px}
.admin-app .portal-item-compact .portal-item-header h3{font-size:17px;line-height:1.4;margin:4px 0 0}
.admin-app .portal-item-compact .portal-item-size{margin:7px 0 12px;font-size:12px!important}
.admin-app .portal-item-compact .portal-eyebrow{font-size:10px}
.admin-app .portal-item-compact .portal-preserve{font-size:13px;line-height:1.65;margin:8px 0}
.admin-app .portal-item-compact .portal-preview{margin:12px 0;max-width:none}
.admin-app .portal-item-compact .portal-preview img{height:170px;object-fit:contain}
.admin-app .portal-item-compact .portal-preview figcaption{padding:7px 9px}
.admin-app .portal-item-compact .portal-preview-empty{padding:10px 12px;margin:12px 0;font-size:12px;border-radius:8px}
.admin-app .portal-compact-section{border:1px solid #e6dfee;border-radius:9px;margin:8px 0;background:#fff;min-width:0}
.admin-app .portal-compact-section>summary{padding:10px 12px;cursor:pointer;color:#4e365f;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.admin-app .portal-compact-section[open]>summary{border-bottom:1px solid #eee7f5}
.admin-app .portal-compact-section>summary:hover{background:#f6f1fc;border-radius:8px}
.admin-app .portal-compact-section>:not(summary){margin:0;padding:12px;border:0;border-radius:0;background:transparent}
.admin-app .portal-compact-section .source-assets>h4,.admin-app .portal-compact-section .portal-revision-history>h4{display:none}
.admin-app .portal-item-compact .source-assets a{font-size:12px;margin:7px 0}
.admin-app .portal-item-compact .source-upload,.admin-app .portal-item-compact .portal-form{gap:10px;margin:10px 0 0}
.admin-app .portal-item-compact .portal-field{gap:5px;font-size:12px}
.admin-app .portal-item-compact .portal-field input,.admin-app .portal-item-compact .portal-field select,.admin-app .portal-item-compact .portal-field textarea{padding:9px 10px;font-size:13px}
.admin-app .portal-item-compact .portal-field textarea{min-height:74px}
.admin-app .portal-item-compact input[type=file]{font-size:12px;padding:7px}
.admin-app .portal-item-compact input[type=file]::file-selector-button{padding:6px;margin-right:6px}
.admin-app .portal-item-compact .portal-upload-form{gap:10px;padding:12px;margin-top:12px;border-radius:10px}
.admin-app .portal-item-compact .portal-upload-form .portal-compact-section{margin:0}
.admin-app .portal-item-compact .portal-help{font-size:12px;line-height:1.5;color:#6d597d}
.admin-app .portal-item-compact .portal-info,.admin-app .portal-item-compact .portal-success{padding:9px 11px;margin:10px 0;font-size:12px;line-height:1.6}
.admin-app .portal-item-compact .btn{min-height:37px;white-space:normal;max-width:100%}
.admin-app .portal-item-compact .portal-designer-actions{margin-top:12px}
.portal-latest-revision{background:#fff4e7;border-left:3px solid #ce8c3e;border-radius:7px;padding:10px 12px;margin:10px 0;color:#68451c}
.portal-latest-revision>strong{font-size:12px}
.portal-item-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 16px}
.portal-item-filters{display:flex;gap:6px;flex-wrap:wrap;flex:1 1 100%}
.portal-item-filters .btn{font-size:12px;padding:7px 11px;min-height:36px}
.portal-item-filters .btn[aria-pressed=true]{background:#7242d8;border-color:#7242d8;color:#fff}
.portal-item-toolbar>input{border:1px solid #dcd1e8;border-radius:8px;background:#fff;padding:9px 12px;max-width:100%;width:270px;min-width:0;color:#392b46;font:inherit;font-size:13px}
.portal-item-result{font-size:12px;color:#6b5978}
.portal-item-toolbar>.portal-empty{width:100%;margin:0;padding:14px}
@media(min-width:901px) and (max-width:1199px){.admin-app .portal-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-app .portal-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.admin-app .portal-item-grid{grid-template-columns:1fr}.portal-item-toolbar>input{width:100%}.admin-app .portal-item-compact .portal-preview img{height:200px}}
.admin-app .portal-designer-actions>.portal-compact-section>summary{background:#7444d8;color:#fff;border-radius:8px;min-height:39px}
.admin-app .portal-designer-actions>.portal-compact-section[open]>summary{border-radius:8px 8px 0 0}
