/* Product profiles and mobile form dimensions; original brand tokens retained. */
#talent-space{max-width:100%;padding:28px 0 48px;scroll-margin-top:90px}.space-heading h1{font-size:clamp(28px,5vw,42px);font-weight:500}.space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}.space-card{min-width:0;border:1px solid var(--line);border-radius:20px;background:#faf9f4;padding:24px}.space-card h3{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.space-card button{display:block;width:100%;margin-top:12px}.space-card details{margin-top:18px}.space-card summary{font-size:14px;color:var(--mist)}.space-status{color:var(--green);font-size:14px}.space-create{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.space-create button{font-size:14px}.space-empty{padding:30px 0}.space-label-form{padding:12px 0;gap:12px}.space-home{margin-top:20px}
#birth,#birth *,#talent-space *{box-sizing:border-box}#birth{width:100%;max-width:100%;min-width:0}#birth label,#birth .form-heading{min-width:0;max-width:100%}#birth input,#birth select,#birth textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:48px}#birth input[type=date],#birth input[type=time]{appearance:none;-webkit-appearance:none;text-align:left}#birth input::-webkit-date-and-time-value{text-align:left;min-width:0}#birth select{overflow:hidden;text-overflow:ellipsis}#birth .primary{width:100%;max-width:100%;min-width:0;white-space:normal}#birth .small{overflow-wrap:anywhere}.subject-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-width:0}.product-header .header-action{white-space:nowrap;flex-shrink:0;font-size:14px}.product-header .brand{min-width:0}.product-header .brand span{white-space:nowrap}
@media(max-width:600px){.space-grid{grid-template-columns:minmax(0,1fr)}.space-card{padding:20px}.subject-fields{grid-template-columns:minmax(0,1fr)}#birth{padding:18px 0;gap:18px}#birth label{gap:8px}.product-header{gap:8px}.product-header .brand span{font-size:18px}.product-header .brand svg{width:30px}.space-create{gap:8px}.space-create button{flex:1 1 40%;padding:12px 8px}.space-heading h1{font-size:30px}}
@media(max-width:360px){.product-header .brand span{font-size:16px}.product-header .header-action{font-size:12px}.product-header .brand svg{width:24px}.space-card{padding:16px}}
/* Mobile form containment: explicit grid tracks and restored card gutters. */
@media(max-width:600px){
 html,body{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden}
 body:not(.hero-home)>main{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-left:20px;padding-right:20px}
 #birth{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:22px 18px;margin:24px 0;overflow-x:hidden}
 #birth>*,#birth label,#birth .subject-fields{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 #birth label,#birth .subject-fields{grid-template-columns:minmax(0,1fr)}
 #birth input,#birth select,#birth textarea,#birth button{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-left:0;margin-right:0}
 #birth input[type=date],#birth input[type=time]{width:100%;inline-size:100%;min-inline-size:0;max-inline-size:100%;padding:12px;line-height:1.5}
 #birth input::-webkit-date-and-time-value{min-height:1.5em;text-align:left}
 #birth input::-webkit-datetime-edit{min-width:0;padding:0}
 #birth .form-heading h2{font-size:26px;overflow-wrap:anywhere}
}

/* V1.1 archive-first navigation, same form containment. */
#space-new.space-new-document{display:block;width:100%;max-width:100%;margin:24px 0 0;box-sizing:border-box}#talent-space>h2{font-size:24px;font-weight:500;margin:28px 0 0}#birth .subject-fields{grid-template-columns:minmax(0,1fr)}

/* V1.5 compact archive library; keep existing mobile form containment. */
#space-list{display:block;margin-top:12px;border-top:1px solid var(--line)}
.space-search{display:block;width:100%;max-width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;font-size:16px;background:#fff}
.space-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.space-row[hidden]{display:none}
.space-row-info{min-width:0;flex:1}.space-name{padding:0!important;background:none!important;color:var(--green)!important;border:0!important;text-align:left;font-size:20px;overflow-wrap:anywhere}.space-row .space-status{font-size:12px;margin:5px 0 0;line-height:1.6}.space-row>button{flex-shrink:0;padding:10px 12px;font-size:13px;margin:0}.space-paging{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px 0}.space-paging[hidden]{display:none}.space-detail{margin-top:18px}.space-detail .space-card{margin:16px 0}
[data-product-action="basic"]{background:#f3f1e9!important;color:#244c3c!important;border:1px solid #dcded1!important}
[data-product-action="advanced"]{background:#244c3c!important;color:#fff!important;border:1px solid #244c3c!important}
[data-product-action="consult"]{background:#b38a51!important;color:#fff!important;border:1px solid #b38a51!important}
@media(max-width:360px){.space-row{gap:8px}.space-row>button{font-size:12px;padding:10px 8px}.space-name{font-size:18px}}

/* V1.6 one archive, independent product entitlements. */
.space-row{align-items:flex-start;padding:18px 0;flex-wrap:wrap}.space-row-info{flex:1 1 160px}.space-entitlements{display:flex;gap:6px 14px;flex-wrap:wrap;margin-top:6px;font-size:12px;color:var(--green)}.space-entitlements p{width:100%;margin:0}.space-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.space-actions button{margin:0;padding:10px 12px;font-size:13px}.space-row>.space-actions{flex:1 1 100%;margin-top:4px}.space-detail .space-actions button{width:auto}.space-row .space-status{margin-top:8px}

/* Compact archive actions on the right; both product entries remain visible. */
.space-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0}.space-row>.space-actions{margin:0;justify-content:flex-end;flex-wrap:nowrap}.space-row .space-entitlements{margin-top:4px}.space-row .space-entitlements p{display:none}.space-row .space-status{margin-top:5px}
.home-landscape-v2 .hero-preview-note{display:inline-block;color:#294638!important;background:rgba(255,253,246,.94);border-radius:8px;padding:7px 11px;margin:0;font-size:13px;line-height:1.7;max-width:100%;box-shadow:0 1px 5px #183b3208}
@media(max-width:600px){.space-row{gap:10px}.space-row>.space-actions{flex-direction:column;align-items:stretch;width:136px;gap:7px}.space-row>.space-actions button{padding:10px 8px;font-size:13px;white-space:nowrap}.space-row .space-entitlements{display:block}.space-row .space-entitlements span{display:block;margin:3px 0}.home-landscape-v2 .hero-preview-note{font-size:12px}}

.space-row-info .space-birth{margin:6px 0;color:#526358;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}.space-row-info .space-status{margin:4px 0;font-size:12px;line-height:1.5}

/* V2.1 read aggregation: archive list -> associated reports. */
.space-profile-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.space-profile-heading h3{margin:0;font-size:19px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.space-relation{font-size:12px;padding:2px 7px;border-radius:20px;background:#ecefe7;color:#526358}
.space-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 0}
.space-row>button{width:auto;min-height:44px;white-space:nowrap}
.space-latest{margin:4px 0;color:#526358;font-size:12px;line-height:1.5}
.space-reports-title{margin:24px 0 8px;font-size:17px;font-weight:500}
.space-report-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.space-report-info{min-width:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.space-report-info h5{font-size:17px;margin:0;font-weight:500}.space-report-info p{margin:4px 0;font-size:12px}
.space-card .space-report-item>button{width:auto;min-height:44px;margin:0;white-space:nowrap;padding:10px 12px;font-size:13px}
@media(max-width:360px){.space-row>button,.space-card .space-report-item>button{padding:10px 8px;font-size:12px}.space-profile-heading h3{font-size:18px}.space-card{padding:16px}}

/* V2.2 display archive and reversible visibility. */
.space-report-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.space-card .space-report-actions button{margin:0;width:auto;min-height:44px;padding:10px 12px;font-size:13px;white-space:nowrap}
.space-card .space-report-actions button:last-child{background:transparent;border:0;color:#6e7168;font-size:12px}
.space-layer-nav{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.space-layer-nav button{font-size:14px;min-height:44px}
.space-hidden-control{margin:4px 0 12px}.space-hidden-panel{margin:20px 0}.space-hidden-panel>button:last-child{margin-top:20px}

/* Integrated upgrade candidate: inline archive identity and deliberate editing. */
.space-archive-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;position:relative}.space-archive-identity{flex:1;min-width:0}.space-archive-header h3{margin:0}.space-edit{margin:0!important;flex:0 0 auto}.space-edit>summary{color:var(--green);padding:6px 10px;min-height:44px;list-style:none}.space-edit[open]{flex:0 1 340px}.space-edit .space-label-form{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding-top:10px}.space-edit input,.space-edit select{width:100%;min-width:0;max-width:100%;font-size:16px}.space-more{font-size:13px}.space-row-info .space-latest{display:none}.space-report-info p{line-height:1.6}.space-card .space-entitlements{margin-top:10px}.space-card .space-entitlements>p{display:none}
@media(max-width:600px){.space-edit[open]{position:absolute;z-index:2;right:0;top:0;width:min(100%,340px);background:#faf9f4;border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:0 8px 24px #18392c18}.space-row{padding:12px 0}.space-profile-heading h3{font-size:18px}.space-row-info .space-birth{margin:3px 0}.space-report-item{padding:12px 0}.space-card{padding:18px}.space-card h4{margin-top:18px}.space-row-info .space-status{margin:3px 0}}
