/* Approved premium interface. Screen-only; no local review toolbar. */
@media screen{
 [data-chapters-premium]{--xp-lavender:#eef0fb;--xp-lavender-line:#c7cee8;--xp-purple:#444d7c;--muted:#536477}
 [data-chapters-premium] .shell .btn{min-height:44px;border-radius:12px;padding:11px 18px;transition:background-color .12s,box-shadow .12s,transform .1s}
 [data-chapters-premium] .shell .btn.primary{background:#183b5a;color:white;box-shadow:0 3px 7px #102b4814}
 [data-chapters-premium] .shell .btn.secondary{background:white;border:1px solid #cbd5df;color:#183b5a}
 [data-chapters-premium] .shell .btn:hover{box-shadow:0 4px 14px #102b4819}[data-chapters-premium] .shell .btn:active{transform:translateY(1px);box-shadow:none}
 [data-chapters-premium] .shell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #6a75a8;outline-offset:3px}
 [data-chapters-premium] .content{max-width:1500px;padding-top:36px}
 [data-chapters-premium] .topbar{background:#fff;border-bottom:1px solid #e0e5eb}
 [data-chapters-premium] .demo-ribbon{background:#f0f2f7;color:#526175;border-bottom:1px solid #e0e5eb;font-size:11px;padding-top:7px;padding-bottom:7px}
 [data-chapters-premium] .demo-ribbon button{font-size:11px}
 [data-chapters-premium] .mobile-guidance{display:none}
 [data-chapters-premium] .page-heading{margin-bottom:24px}
 [data-chapters-premium] .page-heading h1{font-weight:400;letter-spacing:-.03em;font-size:clamp(2rem,3vw,2.8rem)}
 [data-chapters-premium] .page-heading p{font-size:14px;line-height:1.6}
 [data-chapters-premium] .page-heading .xp-eyebrow{color:#7b622e;font-size:10px;font-weight:700;letter-spacing:.16em;margin-bottom:10px}
 [data-chapters-premium] .xp-child-switch{display:flex;align-items:center;gap:6px;background:#e9edf2;border:1px solid #dce2e9;padding:5px;border-radius:999px;width:max-content;max-width:100%;margin:0 0 20px;overflow-x:auto}
 [data-chapters-premium] .xp-pill{border:1px solid #d2dbe4;border-radius:999px;padding:10px 16px;background:white;color:#3e5165;font-size:13px;line-height:1.2;min-height:42px;white-space:nowrap}
 [data-chapters-premium] .xp-pill[aria-pressed=true]{background:#183b5a;color:white;border-color:#183b5a;box-shadow:0 2px 5px #102b4812}
 [data-chapters-premium] .xp-child-switch .xp-pill{background:transparent;border-color:transparent}
 [data-chapters-premium] .xp-child-switch .xp-pill[aria-pressed=true]{background:white;color:#102b48;border-color:#e1e6ec;box-shadow:0 1px 4px #102b4812}
 [data-chapters-premium] .family-dashboard>.page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:12px;align-items:start}
 [data-chapters-premium] .family-dashboard>.page-heading>div:first-child{display:contents}
 [data-chapters-premium] .family-dashboard>.page-heading .xp-eyebrow{grid-column:1/-1;margin:0}
 [data-chapters-premium] .family-dashboard>.page-heading h1{grid-column:1;grid-row:2;margin:0}
 [data-chapters-premium] .family-dashboard>.page-heading>div:first-child>p:not(.xp-eyebrow){grid-column:1/-1;grid-row:3;margin:0}
 [data-chapters-premium] .family-dashboard>.page-heading .xp-child-switch{grid-column:2;grid-row:2;align-self:center;margin:0;flex-shrink:0}
 @media(max-width:1100px){[data-chapters-premium] .family-dashboard>.page-heading{grid-template-columns:minmax(0,1fr)}[data-chapters-premium] .family-dashboard>.page-heading .xp-child-switch{grid-column:1;grid-row:4;margin-top:4px}}
 [data-chapters-premium] .family-dashboard .section-head h2{font-size:1.45rem;font-weight:400;letter-spacing:-.015em}
 [data-chapters-premium] .child-glance{border-radius:18px;border:1px solid #d6dee7;border-top:2px solid #b89b5f;padding:24px;box-shadow:0 4px 18px #102b4805;transition:border-color .15s,box-shadow .15s}
 [data-chapters-premium] .child-glance:hover{border-color:#a5b2c4;box-shadow:0 8px 24px #102b480b}
 [data-chapters-premium] .glance-photo{background:#f0f1f8;border:1px solid #e0e3ef;padding:7px}
 [data-chapters-premium] .glance-identity h3{font-size:1.65rem;font-weight:400}
 [data-chapters-premium] .glance-identity p{font-size:13px}.glance-identity small{line-height:1.5}
 [data-chapters-premium] .glance-interests{margin-top:20px}
 [data-chapters-premium] .tag{border-radius:6px;padding:5px 8px;font-size:11px;line-height:1.25}
 [data-chapters-premium] .glance-facts{border-top:1px solid #e6ebf0;border-bottom:none;padding:16px 0;margin-bottom:8px}
 [data-chapters-premium] .glance-facts strong{font-size:20px;font-weight:400}
 [data-chapters-premium] .dashboard-portfolios>.panel{border-radius:16px;overflow:hidden}
 [data-chapters-premium] .portfolio-status-row{padding:21px 22px}
 [data-chapters-premium] .readiness-status{background:#eef0fa;color:#434e7c;border:1px solid #dce1f3;border-radius:999px;padding:5px 10px;font-size:11px}
 [data-chapters-premium] .readiness-title h3{font-weight:400;font-size:1.25rem}
 [data-chapters-premium] .dashboard-symbol{border-radius:12px;background:#eef0f9;color:#4c587e}
 [data-chapters-premium] .xp-recent{margin:30px 0}
 [data-chapters-premium] .xp-recent-list{background:white;border:1px solid #d9e1e9;border-radius:16px;overflow:hidden}
 [data-chapters-premium] .xp-recent-row{width:100%;background:white;color:var(--ink);display:flex;align-items:center;gap:18px;text-align:left;padding:18px 22px;border-bottom:1px solid #e8ecf1;min-height:78px}
 [data-chapters-premium] .xp-recent-row:last-child{border-bottom:none}
 [data-chapters-premium] .xp-recent-row:hover{background:#f7f8fc}
 [data-chapters-premium] .xp-year-stamp{background:#f5f1e7;color:#725c2e;padding:10px;border-radius:10px;font-size:12px}
 [data-chapters-premium] .xp-recent-title{flex:1;min-width:0}.xp-recent-title strong,.xp-recent-title small{display:block}
 [data-chapters-premium] .xp-recent-title strong{font-size:14px;font-weight:600}.xp-recent-title small{margin-top:5px;font-size:12px;color:#586a7d}
 [data-chapters-premium] .xp-recent-arrow{color:#7c6a42;font-size:22px}
 [data-chapters-premium] .record-filter-panel{background:white;border-radius:16px;padding:20px;border:1px solid #dce3eb;margin-top:18px}
 [data-chapters-premium] .record-primary-filters{align-items:end;gap:14px}
 [data-chapters-premium] .record-primary-filters input,[data-chapters-premium] .record-primary-filters select{min-height:44px;border-radius:10px;background:#fafbfc}
 [data-chapters-premium] .xp-category-pills{display:flex;gap:7px;overflow-x:auto;padding:15px 0 3px;scrollbar-width:thin}
 [data-chapters-premium] .xp-category-pills .xp-pill[aria-pressed=true]{background:#edf0fb;color:#34436f;border-color:#99a7cf;box-shadow:none}
 [data-chapters-premium] .record-more-filters{margin-top:14px;border-top:1px solid #e7ebf0;padding-top:12px}
 [data-chapters-premium] .tabs:not(.child-tabs){background:#e9edf2;border:1px solid #dce3eb;padding:5px;border-radius:14px;gap:4px;width:max-content;max-width:100%;overflow:auto;flex-wrap:nowrap}
 [data-chapters-premium] .tabs:not(.child-tabs)>button{border:0;border-radius:10px;min-height:42px;padding:10px 16px;white-space:nowrap;font-size:13px;background:transparent}
 [data-chapters-premium] .tabs:not(.child-tabs)>button.selected{background:white;box-shadow:0 2px 5px #102b4810;color:#102b48}
 [data-chapters-premium] .select-strip{background:transparent;border:0;padding:16px 0;gap:12px;flex-wrap:wrap}
 [data-chapters-premium] .xp-record-views{display:flex;padding:3px;background:#e6ebf1;border-radius:999px;gap:2px}
 [data-chapters-premium] .xp-record-views .xp-pill{min-height:34px;padding:7px 13px;border:0;background:transparent;font-size:12px}
 [data-chapters-premium] .xp-record-views .xp-pill[aria-pressed=true]{background:white;color:#183b5a;box-shadow:0 1px 4px #102b4810}
 [data-chapters-premium] .xp-record-panel{border-radius:16px;overflow:hidden}
 [data-chapters-premium] .xp-record-panel.xp-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:transparent;border:0;overflow:visible}
 [data-chapters-premium] .xp-card-grid>.record-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;border:1px solid #d9e1e9;background:white;padding:22px;border-radius:16px;align-items:start;box-shadow:0 2px 9px #102b4804}
 [data-chapters-premium] .xp-card-grid .record-main{min-width:0!important}
 [data-chapters-premium] .xp-card-grid .record-main h3{font-family:Georgia,serif;font-size:1.2rem;line-height:1.4}
 [data-chapters-premium] .xp-card-grid .record-main h3 button{font:inherit;font-weight:400}
 [data-chapters-premium] .record-main p{font-size:12px;line-height:1.7}
 [data-chapters-premium] .xp-card-grid .record-date{grid-column:2;grid-row:2;font-size:12px;color:#5c6c7d;margin:0}
 [data-chapters-premium] .xp-card-grid .record-row-actions{grid-column:1/-1;padding-top:14px;border-top:1px solid #e9edf2;gap:5px;justify-content:flex-end}
 [data-chapters-premium] .xp-card-grid .record-row-actions .btn{font-size:11px;padding:8px;min-height:38px}
 [data-chapters-premium] .record-row{transition:background-color .12s,border-color .12s}
 [data-chapters-premium] .record-row:hover{background:#fbfcfe;border-color:#a9b7ca}
 [data-chapters-premium] .shell input[type=checkbox]{accent-color:#314d72;width:18px;height:18px;flex-shrink:0}
 [data-chapters-premium] .portfolio-flow-steps{gap:10px;background:none;border:0;margin:22px 0}
 [data-chapters-premium] .portfolio-flow-steps button{border-radius:14px;min-height:64px;background:white;border:1px solid #d7dfe8;padding:12px;color:#526175}
 [data-chapters-premium] .portfolio-flow-steps button.selected{background:#eef0fb;color:#263b62;border-color:#939fc4;box-shadow:none}
 [data-chapters-premium] .portfolio-flow-steps button span:first-child{border-radius:50%;background:#edf0f4;color:#526175}
 [data-chapters-premium] .portfolio-flow-steps button.selected span:first-child{background:#314d72;color:white}
 [data-chapters-premium] .portfolio-flow-panel>h2{font-weight:400;font-size:1.8rem}
 [data-chapters-premium] .xp-assembly-note{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e1e5ed;border-radius:14px;padding:16px;margin:14px 0 22px}
 [data-chapters-premium] .xp-assembly-note p{margin:0;font-size:13px;line-height:1.6;color:#536477}.xp-book-mark{font:400 1.8rem Georgia,serif;color:#a08347}
 [data-chapters-premium] .portfolio-flow-optional{border-radius:14px;background:white;border:1px solid #dae2eb;margin:12px 0}
 [data-chapters-premium] .portfolio-flow-optional>summary{padding:17px;font-weight:600;font-size:14px}
 [data-chapters-premium] .xp-selectable{position:relative;background:white;border:1px solid #dce2e9;border-radius:14px;margin:10px;padding:22px 22px 44px;cursor:pointer;align-items:start}
 [data-chapters-premium] .xp-selectable.xp-included{background:#f5f6fd;border-color:#9eacd0;box-shadow:inset 3px 0 #7181b3}
 [data-chapters-premium] .xp-included-label{position:absolute;bottom:14px;left:62px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#57677b}
 [data-chapters-premium] .xp-included .xp-included-label{color:#405481}
 [data-chapters-premium] .xp-option-card{border:1px solid #dae1e9;border-radius:12px;background:white;padding:15px;min-height:52px;margin:10px 0;cursor:pointer}
 [data-chapters-premium] .xp-option-card.xp-included{background:#f0f2fc;border-color:#9eacd0}
 [data-chapters-premium] .portfolio-history-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 [data-chapters-premium] .portfolio-history-choices>.form-help,[data-chapters-premium] .portfolio-history-choices>.btn,[data-chapters-premium] .portfolio-history-choices>.history-choices{grid-column:1/-1}
 [data-chapters-premium] .portfolio-history-choices>.btn{justify-self:start}
 [data-chapters-premium] .portfolio-history-choices>label.xp-option-card{display:flex;width:100%;margin:0;min-height:76px;align-items:center;font-size:13px}
 [data-chapters-premium] .portfolio-flow-footer{position:sticky;bottom:0;background:#f4f6f8f5;border-top:1px solid #d8e1eb;padding:14px 0;z-index:2}
 [data-chapters-premium] .portfolio-flow-exports{background:#fff;border:1px solid #dbe3ec;padding:18px;border-radius:14px;margin-bottom:22px;gap:10px}
 [data-chapters-premium] .dsa-settings{padding:24px;border-radius:16px}
 [data-chapters-premium] .dsa-point{border-radius:14px}
 [data-chapters-premium] .empty{border:1px dashed #ccd5e4;border-radius:16px;margin:15px;background:#fbfcff}
 .xp-version-dialog{padding:26px;width:min(720px,calc(100vw - 32px));max-height:90dvh;border:1px solid #d2dbe5;border-radius:18px;color:#172d43}
 .xp-version-dialog::backdrop{background:#102b4866}
 .xp-version-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
 .xp-version-head h2{font-weight:400;font-size:1.65rem;margin:0}
 .xp-version-dialog label{display:grid;gap:10px}.xp-version-dialog input{width:100%;min-height:46px;border:1px solid #a9b6c6;border-radius:10px;padding:11px}
 .xp-version-dialog .btn{min-height:42px;border-radius:10px}.xp-version-dialog .form-help{line-height:1.6}
 .xp-version-dialog .form-error:not(:empty){display:block;color:#962b3b;padding:12px;border:1px solid #e5bac2;border-radius:8px;background:#fff5f6}
 .xp-version-reader{width:min(1100px,calc(100vw - 32px))}
 .xp-version-reader iframe{width:100%;height:58dvh;border:1px solid #dce2e9;background:white;display:block;margin:18px 0}
 [data-chapters-premium] .xp-saved-versions{margin-top:24px;padding:20px;border:1px solid #dce3eb;border-radius:14px;background:white}
 [data-chapters-premium] .directory-child .xp-saved-versions{border:0;border-top:1px solid #dce3eb;border-radius:0;margin:0}
 [data-chapters-premium] .xp-saved-versions .section-head h2{font-weight:400;font-size:1.25rem;margin:0}
 .xp-saved-version{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e3e8ef;padding:16px 0}
 .xp-saved-version strong{display:block;font-size:14px;overflow-wrap:anywhere}.xp-saved-version small{display:block;margin-top:6px;color:#536477;font-size:11px}
 .xp-saved-version .actions{flex-shrink:0}
 @media(max-width:580px){.xp-saved-version{flex-direction:column;align-items:stretch}.xp-saved-version .actions{justify-content:flex-end}.xp-version-dialog{padding:20px}.xp-version-head h2{font-size:1.35rem}}
 [data-chapters-premium] [hidden]{display:none!important}
 @media(max-width:850px){[data-chapters-premium] .content{padding:24px 20px}[data-chapters-premium] .portfolio-flow-steps button{font-size:11px;padding:8px;min-height:66px}[data-chapters-premium] .child-glance{padding:20px}}
 @media(max-width:580px){[data-chapters-premium] .content{padding:24px 16px 90px}[data-chapters-premium] .xp-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:25px}[data-chapters-premium] .xp-quick-actions .btn:first-child{grid-column:1/-1}[data-chapters-premium] .xp-quick-actions .btn{font-size:12px;padding:10px}[data-chapters-premium] .children-grid{gap:14px}[data-chapters-premium] .portfolio-status-row{flex-wrap:wrap;padding:18px}[data-chapters-premium] .portfolio-status-row>.btn{width:100%;margin-top:8px}[data-chapters-premium] .xp-recent-row{padding:15px;gap:12px}[data-chapters-premium] .xp-recent-title strong{font-size:13px}[data-chapters-premium] .xp-record-panel.xp-card-grid{grid-template-columns:1fr}[data-chapters-premium] .record-primary-filters{display:flex;flex-wrap:wrap}[data-chapters-premium] .record-primary-filters .search{flex-basis:100%}[data-chapters-premium] .record-filter-panel{padding:16px}[data-chapters-premium] .select-strip>.actions{width:100%;justify-content:flex-start}[data-chapters-premium] .xp-selectable{display:grid;grid-template-columns:20px 1fr;margin:8px;padding:18px 15px 40px;gap:12px}[data-chapters-premium] .xp-selectable .record-main{min-width:0!important}[data-chapters-premium] .xp-selectable .record-date{grid-column:2;margin:0}[data-chapters-premium] .xp-included-label{left:48px}[data-chapters-premium] .portfolio-flow-footer{bottom:62px}[data-chapters-premium] .portfolio-flow-exports .btn{width:100%}[data-chapters-premium] .page-heading h1{font-size:2rem}[data-chapters-premium] .xp-child-switch{width:100%;justify-content:space-between}[data-chapters-premium] .xp-child-switch .xp-pill{font-size:12px;padding:10px 12px}}
 @media(prefers-reduced-motion:reduce){[data-chapters-premium] *{transition:none!important;scroll-behavior:auto!important}}
}
