/* Maintained canonical content/components layer. Old authored overlay URLs remain immutable for cached HTML. */

/* COMPONENT: canonical component foundation */
/* Chipter shared-screen redesign. Presentation only; no control visibility or media policy changes. */
html.cc-redesign {
  color-scheme: light;
    
    
    
    
  
  --cc-bg:var(--chipter-bg)!important; --cc-surface:var(--chipter-surface)!important;
  --cc-surface-alt:var(--chipter-raised)!important; --cc-text:var(--chipter-text)!important;
  --cc-muted:var(--chipter-muted)!important; --cc-border:var(--chipter-border)!important;
  --cc-primary:var(--chipter-accent)!important; --cc-primary-hover:var(--chipter-accent-hover)!important;
  --cc-link:var(--chipter-accent)!important; --cc-accent:var(--chipter-soft)!important;
  --cv-soft:var(--chipter-soft)!important; --cc-radius:14px; --cc-radius-lg:18px;
  --cc-font:var(--chipter-font)!important; --cc-shadow:none;
  --button_primary_color:var(--chipter-accent)!important;
  --button_primary_hover_color:var(--chipter-accent-hover)!important;
  --button_primary_text_color:var(--chipter-on-accent)!important;
  --button_primary_text_hover_color:var(--chipter-on-accent)!important;
}
html.cc-redesign[data-theme="dark"] {
  color-scheme:dark;
    
    
    
    
  --cc-shadow:none;
}
html.cc-redesign body { background:var(--chipter-bg); color:var(--chipter-text); font-family:var(--chipter-font); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
html.cc-redesign :is(h1,h2,h3,h4,h5) { color:var(--chipter-text); font-family:var(--chipter-font); font-weight:650; letter-spacing:-.035em; }
html.cc-redesign h1 { font-size:clamp(28px,3.5vw,40px); line-height:1.15; }
html.cc-redesign h2 { font-size:24px; line-height:1.25; }
html.cc-redesign :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--chipter-focus)!important; outline-offset:3px!important; }
html.cc-redesign :is(.cc-topbar,.cc-bottom-nav) { background:var(--chipter-surface); border-color:var(--chipter-border); box-shadow:none; }
html.cc-redesign .cc-topbar-inner { max-width:1280px; min-height:76px; }
html.cc-redesign .cc-brand { font-weight:750; letter-spacing:-.055em; color:var(--chipter-text); }
html.cc-redesign .cc-search { background:var(--chipter-raised); border:1px solid var(--chipter-border); border-radius:16px; min-height:44px; }
html.cc-redesign .wrap.content-page { max-width:1280px; padding:28px 28px 48px; }
html.cc-redesign .main-column { gap:28px; }
html.cc-redesign :is(.main-content,.sn-content) { min-width:0; }
html.cc-redesign .cc-sidebar-inner { padding:12px 8px; background:transparent; }
html.cc-redesign .cc-nav-link { min-height:48px; border-radius:14px; padding:12px 16px; margin-bottom:6px; color:var(--chipter-muted); font-weight:550; }
html.cc-redesign :is(.cc-nav-link.active,.cc-nav-link[aria-current="page"]) { background:var(--chipter-soft); color:var(--chipter-accent); font-weight:700; }
html.cc-redesign :is(.cc-eyebrow,.cv-kicker,.cv-nav-section) { color:var(--chipter-muted); letter-spacing:.13em; font-size:11px; font-weight:700; }
html.cc-redesign :is(.cv-page-heading,.gallery-intro-header) { padding:12px 0 28px; border-bottom:1px solid var(--chipter-border); margin-bottom:24px; }
html.cc-redesign :is(.cv-page-heading h1,.gallery-title) { margin:0 0 10px; }
html.cc-redesign :is(.cv-page-heading p,.gallery-sub-title,.cv-call-state,.cv-call-mode,.cv-profile-handle,.cv-profile-bio) { color:var(--chipter-muted); }
html.cc-redesign :is(.card,.post,.post-item,.profile_question_form,.content-card,.cv-person,.cv-context-card,.information-banner,.item,.modal-content,.dropdown-menu) { background:var(--chipter-surface); color:var(--chipter-text); border:1px solid var(--chipter-border); border-radius:20px; box-shadow:var(--cc-shadow); }
html.cc-redesign :is(.card-header,.card-footer,.post-footer,.modal-header,.modal-footer) { background:transparent; border-color:var(--chipter-border); }
html.cc-redesign :is(.card-body,.modal-body) { padding:24px; }
html.cc-redesign :is(.button,.btn,button.primary,input.primary,a.settings-button,.loading-button) { min-height:46px; border-radius:14px; padding:11px 20px; font:600 14px/1.5 var(--chipter-font); box-shadow:none; text-decoration:none; }
html.cc-redesign :is(.button.primary,.btn-primary,button.primary,input.primary,a.settings-button,button.comment_send.blue) { background:var(--chipter-accent)!important; border-color:var(--chipter-accent)!important; color:var(--chipter-on-accent)!important; }
html.cc-redesign :is(.button.primary,.btn-primary,button.primary,input.primary,a.settings-button,button.comment_send.blue):hover { background:var(--chipter-accent-hover)!important; border-color:var(--chipter-accent-hover)!important; }
html.cc-redesign :is(.button.secondary,.btn-secondary,.button.more) { background:var(--chipter-raised); border:1px solid var(--chipter-border); color:var(--chipter-text); }
html.cc-redesign :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),textarea,select,.form-control) { background:var(--chipter-raised); color:var(--chipter-text); border:1px solid var(--chipter-border); border-radius:13px; min-height:48px; font-family:var(--chipter-font); font-size:16px; padding:12px 14px; max-width:100%; }
html.cc-redesign :is(input,textarea)::placeholder { color:var(--chipter-muted); opacity:1; }
html.cc-redesign :is(input[type="checkbox"],input[type="radio"]) { accent-color:var(--chipter-accent); }
html.cc-redesign :is(.form-group,.form-item) { margin-bottom:22px; }
html.cc-redesign :is(.form-group label,.form-label) { color:var(--chipter-text); font-size:14px; font-weight:600; margin-bottom:8px; }
html.cc-redesign :is(.help-block,.form-text,.text-muted) { color:var(--chipter-muted)!important; }
html.cc-redesign .dropdown-item { color:var(--chipter-text); min-height:44px; padding:11px 16px; }
html.cc-redesign .dropdown-item:hover { background:var(--chipter-soft); }
html.cc-redesign :is(.cv-tabs,.profile-menu) { border:1px solid var(--chipter-border); border-radius:16px; background:var(--chipter-surface); padding:5px; gap:5px; }
html.cc-redesign .cv-tabs :is(a,button) { min-height:44px; border-radius:11px; }
html.cc-redesign .cv-tabs :is(button[aria-pressed="true"],a[aria-current="page"]) { background:var(--chipter-soft); color:var(--chipter-accent); font-weight:650; }
html.cc-redesign :is(.cv-empty,.information-banner) { padding:32px 24px; text-align:center; border-style:solid; }
html.cc-redesign .information-banner :is(.card-header,.card-body) { padding:8px; border:0; }
/* Existing profile media, upload/crop affordances, links and actions are retained. */
html.cc-redesign .cv-profile-hero { border-radius:24px; overflow:hidden; border:1px solid var(--chipter-border); background:var(--chipter-surface); }
html.cc-redesign .cv-profile-hero .profile-cover-img { height:156px; background-color:var(--chipter-soft); }
html.cc-redesign .cv-profile-hero .profile-info { padding:0 28px 28px; }
html.cc-redesign .cv-profile-hero .profile-photo { border-radius:28px; border:5px solid var(--chipter-surface); }
html.cc-redesign .cv-profile-stats { gap:28px; padding-top:20px; border-color:var(--chipter-border); }
html.cc-redesign .cv-profile-stats strong { color:var(--chipter-text); font-size:26px; }
html.cc-redesign .cv-profile-stats a { color:var(--chipter-muted); }
html.cc-redesign :is(.cv-post-shell,.profile_question_form) { border-radius:24px!important; }
html.cc-redesign .cv-section-heading::before { background:var(--chipter-accent); width:4px; border-radius:4px; }
html.cc-redesign .grid-list { gap:16px; }
/* Calls: only appearance; never override hidden controls, video sizing/visibility or media attributes. */
html.cc-redesign .cv-call-panel { max-width:600px; margin:24px auto; padding:48px 32px 36px; border-radius:28px; border:1px solid var(--chipter-border); background:var(--chipter-surface); box-shadow:var(--cc-shadow); }
html.cc-redesign .cv-orbit { width:80px; height:80px; border-radius:26px; background:var(--chipter-soft); color:var(--chipter-accent); margin-bottom:24px; }
html.cc-redesign .cv-call-panel h2 { font-size:30px; margin:0 0 12px; }
html.cc-redesign .cv-call-choose-chat { max-width:360px; margin:0 auto 24px; color:var(--chipter-muted); }
html.cc-redesign .cv-call-actions { gap:12px; padding-top:12px; }
html.cc-redesign #cv-call-end { color:var(--chipter-danger); border-color:var(--chipter-danger); }
html.cc-redesign .cv-call-video-tile figcaption { color:var(--chipter-muted); }
html.cc-redesign #cv-error { background:var(--chipter-raised); color:var(--chipter-text); border-color:var(--chipter-border); }
@media(min-width:1100px) { html.cc-redesign .cc-sidebar { flex-basis:220px; max-width:220px; } }
@media(max-width:767px) {
 html.cc-redesign .cc-topbar-inner { min-height:64px; }
 html.cc-redesign .wrap.content-page { padding:16px 16px calc(104px + env(safe-area-inset-bottom,0px)); }
 html.cc-redesign .main-column { gap:0; }
 html.cc-redesign :is(.cv-page-heading,.gallery-intro-header) { padding:10px 0 22px; margin-bottom:20px; }
 html.cc-redesign :is(.card-body,.modal-body) { padding:20px; }
 html.cc-redesign .cc-bottom-nav { border-radius:22px 22px 0 0; padding-bottom:env(safe-area-inset-bottom,0px); }
 html.cc-redesign .cc-bottom-nav a { min-height:52px; }
 html.cc-redesign .cv-profile-hero .profile-cover-img { height:128px; }
 html.cc-redesign .cv-profile-hero .profile-info { padding:0 18px 24px; }
 html.cc-redesign .profile-actions-block { gap:10px; flex-wrap:wrap; }
 html.cc-redesign .cv-call-panel { padding:32px 20px 24px; margin:8px auto 24px; border-radius:24px; }
 html.cc-redesign .cv-call-actions > button { flex:1 1 140px; }
 html.cc-redesign .modal-dialog { margin:12px; max-width:calc(100vw - 24px); }
}
@media(prefers-reduced-motion:reduce) { html.cc-redesign :is(.button,.btn,.cc-nav-link,.dropdown-item) { transition:none!important; } }
/* Deliberately supersede earlier emergency blue rules with equal/higher specificity. */
html.cc-redesign.cc-profile-ui4 a.settings-button[href="/account/settings/profile"],
html.cc-redesign:is(.cc-post-ui4,.cc-profile-ui4) button.comment_send.blue { background-color:var(--chipter-accent)!important; border-color:var(--chipter-accent)!important; color:var(--chipter-on-accent)!important; }
html.cc-redesign.cc-profile-ui4 a.settings-button[href="/account/settings/profile"]:hover,
html.cc-redesign:is(.cc-post-ui4,.cc-profile-ui4) button.comment_send.blue:hover { background-color:var(--chipter-accent-hover)!important; border-color:var(--chipter-accent-hover)!important; }
html.cc-redesign:is(.cc-post-ui4,.cc-profile-ui4) button.comment_send.blue:focus-visible,
html.cc-redesign:is(.cc-post-ui4,.cc-profile-ui4)[data-theme="dark"] button.comment_send.blue:focus-visible { outline:3px solid var(--chipter-focus)!important; outline-offset:3px!important; }
/* Existing fixed header and legacy grid must share the same geometry. */
html.cc-redesign { --cc-top:76px; }
html.cc-redesign.cc-ui .sidebar-menu { flex:0 0 220px!important; max-width:220px!important; }
html.cc-redesign .cc-nav-link[aria-current="page"],html.cc-redesign .cc-nav-link.is-active { color:var(--chipter-accent)!important; background:var(--chipter-soft); }
html.cc-redesign .cc-brand-mark { color:var(--chipter-on-accent); }
html.cc-redesign .cc-icon-button { width:46px; height:46px; border-radius:14px; }
html.cc-redesign .cc-search button { min-width:44px; min-height:44px; }
html.cc-redesign :is(.form-control,input,textarea,select):focus { border-color:var(--chipter-accent); box-shadow:0 0 0 3px var(--chipter-soft); }
html.cc-redesign .item-content { font-size:16px; line-height:1.7; }
html.cc-redesign .item-footer a { min-height:44px; padding-block:10px; }
html.cc-redesign .ls-menu-item { min-height:46px; border-radius:12px; padding:13px 16px; }
@media(max-width:767px) { html.cc-redesign { --cc-top:64px; } }
/* Exact canonical profile markup: compact cover, identity and action lane, then overview. */
html.cc-redesign .page-profile .profile-cover .cover-wrapper { height:156px; }
html.cc-redesign .page-profile .profile-photo-container { top:100px;left:24px;width:112px;height:112px; }
html.cc-redesign .page-profile .profile-main-info .profile-photo { width:112px;height:112px; }
html.cc-redesign .page-profile .profile-info-block.profile-main-info { padding:22px 0 0; }
html.cc-redesign .page-profile .fullname-line { margin:0 0 6px; }
html.cc-redesign .page-profile .fullname-line h1 { font-size:30px;line-height:1.2;margin:0; }
html.cc-redesign .page-profile .cv-profile-handle { margin:4px 0 10px; }
html.cc-redesign .page-profile .cv-profile-bio { margin:0 0 16px; }
html.cc-redesign .page-profile .cv-profile-stats { background:var(--chipter-surface);border:1px solid var(--chipter-border);border-radius:18px;padding:16px 24px;margin:16px 0;gap:32px; }
html.cc-redesign .page-profile .cv-profile-stats a { display:flex;align-items:baseline;gap:8px;font-size:13px; }
html.cc-redesign .page-profile .cv-profile-stats strong { font-size:22px; }
html.cc-redesign .settings-page .form-table .form-row { padding:20px 0;border-bottom:1px solid var(--chipter-border);gap:20px; }
html.cc-redesign .settings-page .form-table .form-row:last-child { border:0; }
html.cc-redesign .settings-page .form-cell .info { color:var(--chipter-muted);font-size:14px;line-height:1.65; }
html.cc-redesign .settings-page .form-cell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]) { width:100%; }
html.cc-redesign .page-title-content .standard-page { padding:32px;border-radius:24px;font-size:16px;line-height:1.8; }
html.cc-redesign .page-title-content h1 { font-size:36px; }
html.cc-redesign .page-title-content p { color:var(--chipter-muted); }
@media(min-width:768px) {
 html.cc-redesign .page-profile .profile-main-info-container { display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;padding:0 0 0 132px; }
 html.cc-redesign .page-profile .fullname-line,html.cc-redesign .page-profile .cv-profile-handle,html.cc-redesign .page-profile .cv-profile-bio { grid-column:1; }
 html.cc-redesign .page-profile .profile-actions-block { grid-column:2;grid-row:1/4;align-self:center;max-width:280px; }
}
@media(max-width:767px) {
 html.cc-redesign .page-profile .profile-cover .cover-wrapper { height:128px; }
 html.cc-redesign .page-profile .profile-photo-container { top:84px;left:18px;width:88px;height:88px; }
 html.cc-redesign .page-profile .profile-main-info .profile-photo { width:88px;height:88px; }
 html.cc-redesign .page-profile .profile-info-block.profile-main-info { padding:48px 0 0; }
 html.cc-redesign .page-profile .profile-main-info-container { padding-top:0; }
 html.cc-redesign .page-profile .fullname-line h1 { font-size:26px; }
 html.cc-redesign .page-profile .cv-profile-stats { gap:12px;justify-content:space-between;padding:16px; }
 html.cc-redesign .page-profile .cv-profile-stats a { flex-direction:column;gap:0;font-size:12px; }
 html.cc-redesign .settings-page .form-table .form-row { display:block;padding:20px 0; }
 html.cc-redesign .settings-page .form-cell { width:100%;max-width:100%;padding:0; }
 html.cc-redesign .page-title-content .standard-page { padding:22px; }
 html.cc-redesign .page-title-content h1 { font-size:28px; }
}
/* Defeat hard-coded legacy messenger/RC fills without changing their functional selectors. */
html.cc-redesign .cc-brand-mark { background:var(--chipter-accent)!important;color:var(--chipter-on-accent)!important; }
html.cc-redesign .button.blue.primary_btn { background:var(--chipter-accent)!important;border-color:var(--chipter-accent)!important;color:var(--chipter-on-accent)!important; }
html.cc-redesign .button.blue.primary_btn:hover { background:var(--chipter-accent-hover)!important; }
html.cc-redesign .cv-tabs :is(button[aria-pressed="true"],a[aria-current="page"]) { background:var(--chipter-soft)!important;color:var(--chipter-accent)!important; }
/* Search stays inside its compact header field, unlike full-size account fields. */
html.cc-redesign .cc-search input { min-height:0!important; }


/* COMPONENT: post reading layout */
/* Measured canonical post adapter: same reading measure as UI4 feed, no content/control changes. */
html.cc-unified-shell.cc-post-ui4 .chipter-shell-stage > .wrap.content-page { max-width:840px; }
/* Live flex line stretch, not an ad/placeholder, caused the large gap before #content. */
html.cc-unified-shell.cc-post-ui4 .chipter-shell-stage > .wrap.content-page > .main-column.row { align-content:flex-start;row-gap:16px; }


/* COMPONENT: full profile hierarchy */
/* Canonical author profile: shared app hierarchy with existing cover, media and actions intact. */
html.cc-unified-shell.cc-profile-ui4 .page-profile .main-column { align-content:flex-start;row-gap:20px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-hero { border-radius:20px;margin-bottom:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-cover .cover-wrapper,
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-hero .profile-cover-img { height:120px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-photo-container { top:76px;left:24px;width:88px;height:88px;margin:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-main-info .profile-photo { width:88px;height:88px;border-width:4px;border-radius:24px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-hero .profile-info { padding:0 24px 24px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-info-block.profile-main-info { padding:16px 0 0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-main-info-container { padding-left:108px;min-width:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .fullname-line { display:flex;align-items:center;gap:8px;margin:0;min-width:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .fullname-line h1 { font-size:28px;line-height:1.2;margin:0;overflow-wrap:anywhere; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-handle { font-size:14px;margin:4px 0 12px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-bio { font-size:15px;line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:center;padding:14px 4px;margin:0;background:transparent;border:0;border-bottom:1px solid var(--chipter-border);border-radius:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats a { display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:7px;min-width:0;font-size:13px;overflow-wrap:anywhere; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats strong { font-size:20px;line-height:1.3;min-width:0;max-width:100%;overflow-wrap:anywhere; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-tabs { background:transparent;border:0;border-bottom:1px solid var(--chipter-border);border-radius:0;padding:0 0 6px;gap:4px;margin:0 0 20px!important; }
html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-tabs a { min-height:42px;padding:9px 12px;border-radius:8px;font-size:13px; }
html.cc-unified-shell.cc-profile-ui4 .page-profile #profile-column-content { display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);gap:20px;padding:0;margin:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile #profile-column-content > :is(.column-content-sidebar,.column-content-items) { min-width:0;width:100%;max-width:none;padding:0; }
html.cc-unified-shell.cc-profile-ui4 .page-profile #preview-info-block { border-radius:18px; }
@media(max-width:767px) {
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-cover .cover-wrapper,
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-hero .profile-cover-img { height:84px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-photo-container { top:52px;left:18px;width:64px;height:64px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-main-info .profile-photo { width:64px;height:64px;border-radius:20px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-hero .profile-info { padding:0 18px 20px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-info-block.profile-main-info { padding:8px 0 0; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-info-block.profile-main-info > .d-flex { display:block; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-main-info-container { display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;row-gap:4px;padding:0; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .fullname-line { grid-column:2;grid-row:1; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .fullname-line h1 { font-size:24px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-handle { grid-column:2;grid-row:2;font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-bio { grid-column:1/-1;grid-row:3;font-size:14px;margin:12px 0 0; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-actions-block { grid-column:1/-1;grid-row:4;align-self:auto;max-width:none;gap:8px;margin-top:12px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .profile-actions-block .button { min-height:44px;font-size:13px;padding:10px 16px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats { gap:6px;padding:14px 0; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats a { gap:5px;font-size:11px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile .cv-profile-stats strong { font-size:18px; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile #profile-column-content { grid-template-columns:minmax(0,1fr); }
 html.cc-unified-shell.cc-profile-ui4 .page-profile #profile-column-content > .column-content-items { order:0; }
 html.cc-unified-shell.cc-profile-ui4 .page-profile #profile-column-content > .column-content-sidebar { order:1; }
}


/* COMPONENT: public reading, feedback and measured composer foreground */
/* Audited public/common continuation. Requires the accepted cc-redesign base; no content or gates change. */
html.cc-redesign .about .page-title-content { max-width:800px; }
html.cc-redesign .about .page-title-content > :is(.standard-page,.card) { max-width:76ch;margin-inline:auto;margin-bottom:20px; }
html.cc-redesign .about .standard-page :is(p,li) { font-size:16px;line-height:1.85;overflow-wrap:anywhere; }
html.cc-redesign .about .standard-page h1 { font-size:30px;line-height:1.25;margin-bottom:20px; }
html.cc-redesign .about .standard-page + .standard-page h1 { font-size:24px; }
html.cc-redesign .about .standard-page :is(h2,h3) { margin-top:28px;margin-bottom:14px; }
html.cc-redesign .page-title-content :is(p,li) > a { text-decoration:underline;text-underline-offset:3px; }
/* Existing support form IDs/fields/targets, statuses and CSRF remain untouched. */
html.cc-redesign #support-form { max-width:600px;margin-top:28px; }
html.cc-redesign #support-form > p { margin:22px 0 8px; }
html.cc-redesign #support-form label { font-size:14px;font-weight:650; }
html.cc-redesign #support-form > :is(input[type="text"],textarea) { width:100%; }
html.cc-redesign #support-form textarea { min-height:180px;line-height:1.65;resize:vertical; }
html.cc-redesign #support-form .login-button { margin-top:24px; }
/* Exact404 and unavailable-profile markup, including the stub's inline white override. */
html.cc-redesign .page-title-content > .top-banner { margin:24px auto;padding:48px 32px;max-width:720px;border:1px solid var(--chipter-border);border-radius:24px;background:var(--chipter-surface);text-align:center; }
html.cc-redesign .page-title-content > .top-banner .prompt { margin-top:24px; }
html.cc-redesign .post-job-button.button.green { background:var(--chipter-accent)!important;border-color:var(--chipter-accent)!important;color:var(--chipter-on-accent)!important; }
html.cc-redesign .user-profile .profile-content.standard-page { padding:28px;background:var(--chipter-surface)!important;border:1px solid var(--chipter-border);border-radius:24px; }
html.cc-redesign .profile-content.standard-page .user-info { display:flex;align-items:center;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--chipter-border); }
html.cc-redesign .profile-content.standard-page .profile-user-photo { border-radius:22px;width:80px;height:80px;object-fit:cover; }
html.cc-redesign .profile-content.standard-page .basic-info { min-width:0; }
html.cc-redesign .profile-content.standard-page .basic-info h1 { font-size:26px;margin:0 0 6px;overflow-wrap:anywhere; }
html.cc-redesign .profile-content.standard-page .basic-info h4 { color:var(--chipter-muted);font-size:15px;overflow-wrap:anywhere; }
html.cc-redesign .profile-content.standard-page .info-banner { padding:28px 0 8px;text-align:left;background:transparent; }
html.cc-redesign .profile-content.standard-page .info-banner h1 { font-size:24px;line-height:1.4; }
/* Audited gated feedback/changelog and notification surfaces retain all dynamic controls. */
html.cc-redesign .rc-panel { border-radius:24px;padding:28px;background:var(--chipter-surface);border-color:var(--chipter-border); }
html.cc-redesign .rc-panel :is(p,li) { line-height:1.75; }
html.cc-redesign .rc-feedback-page .rc-two-column { grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);gap:20px; }
html.cc-redesign .rc-feedback-page .rc-panel form > label:not(.rc-checkbox) { font-size:14px;margin-top:22px; }
html.cc-redesign .rc-feedback-page .rc-help { font-size:13px; }
html.cc-redesign .rc-feedback-page .rc-checkbox { min-height:44px;align-items:center;font-size:14px; }
html.cc-redesign .rc-ticket-link { min-height:64px;border-radius:16px;background:var(--chipter-raised); }
html.cc-redesign .page-notifications .standard-page.page-title-content { padding:0 0 24px;background:transparent;border-bottom:1px solid var(--chipter-border);border-radius:0;margin-bottom:24px!important; }
html.cc-redesign .page-notifications .page-title-content-inner { font-size:32px;font-weight:650;line-height:1.2;letter-spacing:-.035em;color:var(--chipter-text); }
html.cc-redesign .page-notifications .page-title-content-bottom-inner { color:var(--chipter-muted);font-size:15px;margin-top:12px; }
html.cc-redesign .page-notifications .page-title-content-extra { margin-top:20px; }
html.cc-redesign .page-notifications .cards-list .card-item { padding:20px;border-bottom:1px solid var(--chipter-border); }
html.cc-redesign .page-notifications .cards-list .card-item:last-child { border-bottom:0; }
/* Common chooser/menu/footer links must be comfortable to tap, not only the primary actions. */
html.cc-redesign :is(.cc-menu-footer a,.cc-sidebar-footer a,.cc-sidebar-footer button,.box-menu-item) { min-height:44px;display:inline-flex;align-items:center;line-height:1.4; }
html.cc-redesign .cc-sidebar-footer { gap:0 14px; }
html.cc-redesign .cc-menu-footer { gap:4px 16px; }
html.cc-redesign .box-menu-item { padding:12px 16px;border-radius:12px;color:var(--chipter-text); }
html.cc-redesign .box-menu-item:hover { background:var(--chipter-soft); }
@media(max-width:767px) {
 html.cc-redesign .about .standard-page h1 { font-size:28px; }
 html.cc-redesign .about .standard-page + .standard-page h1 { font-size:23px; }
 html.cc-redesign .page-title-content > .top-banner { padding:36px 22px;margin-top:8px; }
 html.cc-redesign .user-profile .profile-content.standard-page { padding:22px; }
 html.cc-redesign .profile-content.standard-page .user-info { gap:14px; }
 html.cc-redesign .profile-content.standard-page .profile-user-photo { width:64px;height:64px;border-radius:18px; }
 html.cc-redesign .profile-content.standard-page .basic-info h1 { font-size:24px; }
 html.cc-redesign .rc-panel { padding:22px 20px; }
 html.cc-redesign .rc-feedback-page .rc-two-column { grid-template-columns:minmax(0,1fr);gap:0; }
 html.cc-redesign .page-notifications .page-title-content-inner { font-size:28px; }
 html.cc-redesign .page-notifications .cards-list .card-item { padding:16px; }
 html.cc-redesign #support-form .button { width:100%; }
}
/* Actual canonical composer uses primary_btn blue without .button; retain all state/handler behavior. */
html.cc-unified-shell .cc-composer button.primary_btn.blue:not(.red):not(.danger):not(.btn-danger) { color:var(--chipter-on-accent)!important; }


/* SOURCE-BACKED FAMILY ADAPTERS */
/* Full native account forms: preserve every field, preference and validation state. */
html.cc-redesign .settings-page #content { min-width:0; }
html.cc-redesign .settings-page .profile-content.standard-page { max-width:var(--chipter-reading-width);margin-inline:auto;padding:28px;border:1px solid var(--chipter-border);border-radius:var(--chipter-radius-card);background:var(--chipter-surface); }
html.cc-redesign .settings-page .profile-content > h1.title { margin:0 0 28px;font-size:32px;line-height:1.2;letter-spacing:-.035em; }
html.cc-redesign .settings-page .form-table .form-row { display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,1.4fr);align-items:start;gap:24px;padding:24px 0;margin:0; }
html.cc-redesign .settings-page .form-table .form-cell { min-width:0;width:auto;max-width:none;padding:0; }
html.cc-redesign .settings-page .form-cell.left :is(h2,h3) { margin:0 0 8px;font-size:17px;line-height:1.45; }
html.cc-redesign .settings-page .cc-field { display:grid;gap:8px;margin-bottom:20px; }
html.cc-redesign .settings-page :is(.cc-field,.form-cell) label { color:var(--chipter-text);font-size:14px;font-weight:600;line-height:1.5; }
html.cc-redesign .settings-page .form-cell :is(textarea,select) { max-width:100%;width:100%; }
html.cc-redesign .settings-page .form-cell textarea { min-height:128px;resize:vertical;line-height:1.65; }
html.cc-redesign .settings-page .opt-in { min-width:0;max-width:100%; }
html.cc-redesign .settings-page :is(.errors-container,.alert) { border-radius:12px;padding:16px 18px;line-height:1.65;overflow-wrap:anywhere; }
html.cc-redesign .settings-page .form-table :is(.button,button[type="submit"],input[type="submit"]) { min-height:48px;white-space:normal; }
html.cc-redesign .settings-page .empty-list-banner { padding:32px 24px;border:1px solid var(--chipter-border);border-radius:20px;background:var(--chipter-raised); }
html.cc-redesign .settings-page .empty-list-banner .chipter-empty-description { margin:12px 0 0;color:var(--chipter-muted);font-size:15px;line-height:1.65; }
/* Source-backed discovery/list families; not a change to hidden-feature availability. */
html.cc-redesign :is(.page-search,.page-search-groups,.page-friends,.page-friends-inbox-requests,.page-friends-outbox-requests,.page-popular,.guests-page,.cards-page,.manual-page,.page-groups) .page-title-content { padding:0 0 24px;margin-bottom:24px;border:0;border-bottom:1px solid var(--chipter-border);border-radius:0;background:transparent; }
html.cc-redesign :is(.page-search,.page-search-groups,.page-friends,.page-friends-inbox-requests,.page-friends-outbox-requests,.page-popular,.guests-page,.cards-page,.manual-page,.page-groups) .page-title-content-inner { font-size:32px;font-weight:650;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere; }
html.cc-redesign :is(.page-title-content-bottom-inner,.page-title-content-extra) { margin-top:12px;line-height:1.65; }
html.cc-redesign :is(.page-search,.page-search-groups) .card-search-box { padding:24px;border-radius:20px; }
html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line { display:flex;align-items:stretch;gap:12px;min-width:0; }
html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line input.search-field { min-width:0;flex:1;width:auto;min-height:48px; }
html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line .button { flex:0 0 auto;min-height:48px; }
html.cc-redesign :is(.page-friends,.page-friends-inbox-requests,.page-friends-outbox-requests,.page-popular,.guests-page,.cards-page,.page-groups) .cards-list { padding:0;overflow-wrap:anywhere; }
html.cc-redesign :is(.cards-list,.grid-list) .card-item { min-width:0; }
html.cc-redesign :is(.page-search,.page-search-groups,.page-friends,.page-friends-inbox-requests,.page-friends-outbox-requests,.page-popular,.guests-page,.cards-page,.page-groups) .information-banner { padding:24px;border-radius:20px;background:var(--chipter-raised); }
/* Existing gallery controls/grid and detail media remain intact and intrinsically sized. */
html.cc-redesign .page-gallery .grid-list { gap:16px; }
html.cc-redesign .page-gallery .grid-list > * { min-width:0; }
html.cc-redesign .page-gallery .page-title-content { margin-bottom:24px; }
html.cc-redesign .page-gallery .card { border-radius:20px; }
/* Existing responsive data wrappers: never hide data columns to create a mobile illusion. */
html.cc-redesign .settings-page :is(.table-responsive,.listview) { max-width:100%;overflow-x:auto; }
html.cc-redesign .settings-page table { width:100%;border-collapse:collapse; }
html.cc-redesign .settings-page :is(th,td) { padding:14px 16px;border-bottom:1px solid var(--chipter-border);text-align:start;line-height:1.55; }
html.cc-redesign .settings-page th { background:var(--chipter-raised);font-size:13px;font-weight:650; }
@media(max-width:767px) {
 html.cc-redesign .settings-page .profile-content.standard-page { padding:20px 16px;border-radius:18px; }
 html.cc-redesign .settings-page .profile-content > h1.title { font-size:28px;margin-bottom:20px; }
 html.cc-redesign .settings-page .form-table .form-row { grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0; }
 html.cc-redesign :is(.page-search,.page-search-groups,.page-friends,.page-friends-inbox-requests,.page-friends-outbox-requests,.page-popular,.guests-page,.cards-page,.manual-page,.page-groups) .page-title-content-inner { font-size:28px; }
 html.cc-redesign :is(.page-search,.page-search-groups) .card-search-box { padding:20px 16px; }
 html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line { flex-wrap:wrap; }
 html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line input.search-field { flex-basis:180px; }
 html.cc-redesign :is(.page-search,.page-search-groups) .search-editbox-line .button { flex:1 0 auto; }
}
/* Source-present onboarding/legacy utilities remain behind their original gates. */
html.cc-redesign .welcome-page .profile-content.standard-page { max-width:760px;margin-inline:auto;padding:28px;border:1px solid var(--chipter-border);border-radius:20px;background:var(--chipter-surface); }
html.cc-redesign .welcome-page .welcome-content { padding-top:28px;border-top:1px solid var(--chipter-border);margin-top:28px; }
html.cc-redesign .welcome-page .welcome-content h1 { font-size:28px;line-height:1.3; }
html.cc-redesign .welcome-page .welcome-content h3 { font-size:16px;line-height:1.7;color:var(--chipter-muted);font-weight:400; }
html.cc-redesign .welcome-page .welcome-photo-box { padding:24px 0; }
html.cc-redesign .upgrades-intro-header { padding:24px;border:1px solid var(--chipter-border);border-radius:20px;background:var(--chipter-surface);gap:20px;margin-bottom:20px; }
html.cc-redesign .upgrades-intro-header-main { min-width:0; }
html.cc-redesign .upgrades-title { font-size:24px;line-height:1.3;letter-spacing:-.025em;color:var(--chipter-text); }
html.cc-redesign .upgrades-sub-title { color:var(--chipter-muted);line-height:1.65; }
html.cc-redesign :is(.remind-page,#signup-page) .standard-page { max-width:680px;margin-inline:auto;padding:28px;border:1px solid var(--chipter-border);border-radius:20px;background:var(--chipter-surface); }
html.cc-redesign :is(.remind-page,#signup-page) :is(h1,h2) { line-height:1.3;letter-spacing:-.025em; }
html.cc-redesign :is(.page-messages,.page-chat) .page-title-content { margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--chipter-border); }
html.cc-redesign :is(.page-messages,.page-chat) .page-title-content-inner { font-size:30px;font-weight:650;line-height:1.25; }
/* Protected feedback console intentionally keeps its own authenticated authority and RC CSRF namespace. */
html.cc-redesign .rc-admin-feedback { background:var(--chipter-bg);color:var(--chipter-text); }
html.cc-redesign .rc-admin-feedback .rc-admin-bar { padding:16px 24px;min-height:76px;gap:16px;border-bottom:1px solid var(--chipter-border);background:var(--chipter-surface); }
html.cc-redesign .rc-admin-feedback .rc-admin-content { max-width:1100px;margin:auto;padding:28px 24px; }
html.cc-redesign .rc-admin-feedback .rc-panel { margin-bottom:20px; }
html.cc-redesign .rc-admin-feedback .rc-panel pre { max-width:100%;overflow:auto;padding:16px;border:1px solid var(--chipter-border);border-radius:12px;background:var(--chipter-raised);color:var(--chipter-text); }
@media(max-width:767px) {
 html.cc-redesign .welcome-page .profile-content.standard-page { padding:20px 16px; }
 html.cc-redesign .upgrades-intro-header { padding:20px 16px;flex-wrap:wrap; }
 html.cc-redesign .upgrades-intro-header .action-button { max-width:100%;white-space:normal; }
 html.cc-redesign :is(.remind-page,#signup-page) .standard-page { padding:20px 16px; }
 html.cc-redesign .rc-admin-feedback .rc-admin-content { padding:20px 16px; }
 html.cc-redesign .rc-admin-feedback .rc-admin-bar { padding:12px 16px;flex-wrap:wrap; }
}
/* class.draw.inc.php contracts: intrinsic cards/rows, no hidden action or altered destination. */
html.cc-redesign .card-item.classic-item > .card-body { padding:20px; }
html.cc-redesign .card-item.classic-item > .card-body > .card-header { display:flex;align-items:flex-start;gap:16px;background:transparent; }
html.cc-redesign .card-item.classic-item .card-icon { position:static;width:52px;height:52px;max-width:52px;object-fit:cover;border-radius:16px;flex-shrink:0; }
html.cc-redesign .card-item.classic-item .card-content { min-width:0;flex:1;padding-left:0; }
html.cc-redesign .card-item.classic-item .card-title { display:block;font-size:16px;font-weight:650;line-height:1.45;overflow-wrap:anywhere; }
html.cc-redesign .card-item.classic-item :is(.card-username,.card-date,.card-subtitle) { display:block;color:var(--chipter-muted);font-size:13px;line-height:1.65;overflow-wrap:anywhere; }
html.cc-redesign .card-item.classic-item :is(.card-action,.card-controls) { display:flex;flex-wrap:wrap;gap:8px;margin-top:12px; }
html.cc-redesign .card-item.classic-item .card-act { display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;line-height:1.5; }
html.cc-redesign .card-item.classic-item .card-act.negative { color:var(--chipter-danger); }
html.cc-redesign .grid-item > .card { height:100%;border-radius:20px; }
html.cc-redesign .grid-item .card-body { padding:18px; }
html.cc-redesign .grid-item :is(.display-name,.grid-title) { font-size:16px;font-weight:650;line-height:1.45;overflow-wrap:anywhere;white-space:normal; }
html.cc-redesign .grid-item .grid-location h5 { margin:8px 0 0;font-size:13px;line-height:1.6;color:var(--chipter-muted);overflow-wrap:anywhere; }
html.cc-redesign .gallery-item .item-inner { border:1px solid var(--chipter-border);border-radius:16px; }
html.cc-redesign .gallery-item .gallery-item-preview { border-radius:15px; }
html.cc-redesign .gallery-item .remove { width:44px;height:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:26px;line-height:1;border-radius:12px; }
html.cc-redesign .card > .post-item { background:transparent;border:0;border-radius:0;box-shadow:none; }
html.cc-redesign .comments-list .media-content { overflow-wrap:anywhere;line-height:1.65; }
@media(max-width:767px) {
 html.cc-redesign .card-item.classic-item > .card-body { padding:16px; }
 html.cc-redesign .card-item.classic-item > .card-body > .card-header { gap:12px; }
 html.cc-redesign .card-item.classic-item .card-icon { width:44px;height:44px;max-width:44px;border-radius:14px; }
 html.cc-redesign .grid-item .card-body { padding:14px; }
}
/* Component display rules must never reveal explicitly hidden runtime controls. */
html.cc-redesign [hidden] { display:none!important; }
/* One form surface, not a bordered legacy panel nested inside another card. */
html.cc-redesign .settings-page #content > .main-content { padding:0;border:0;background:transparent;box-shadow:none; }
html.cc-unified-shell .settings-page .main-column.row { align-content:flex-start;row-gap:20px; }
html.cc-unified-shell .settings-page .profile-links { display:flex;flex-wrap:wrap;gap:8px;flex:0 0 100%;max-width:100%;order:-1;padding:0 0 16px;border-bottom:1px solid var(--chipter-border); }
html.cc-unified-shell .settings-page .profile-links a { display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;color:var(--chipter-muted);font-size:14px;font-weight:600;line-height:1.5;text-decoration:none; }
html.cc-unified-shell .settings-page .profile-links a[aria-current="page"] { background:var(--chipter-soft);color:var(--chipter-accent); }
html.cc-unified-shell .settings-page .profile-links a:hover { background:var(--chipter-raised);color:var(--chipter-text); }
html.cc-unified-shell .settings-page .profile-links + #content { flex:0 0 100%;max-width:100%; }
/* Audited main.css opt-in labels retain the original14px positioned native checkbox. */
html.cc-redesign .settings-page .opt-in b { color:var(--chipter-text); }
html.cc-redesign .settings-page .opt-in label { min-height:52px;line-height:1.6;overflow-wrap:anywhere; }
/* Active RC renderer contracts: Cards.php + search-view.php, not inferred fallback markup. */
html.cc-redesign :is(.rc-person-card,.rc-resource-card,.rc-result) { min-width:0; }
html.cc-redesign .rc-person-card > a { gap:16px;padding:20px;border-radius:20px;border-color:var(--chipter-border);background:var(--chipter-surface); }
html.cc-redesign .rc-person-card img { width:56px;height:56px;border-radius:16px; }
html.cc-redesign :is(.rc-person-card,.rc-resource-card) h3 { font-size:16px;line-height:1.45; }
html.cc-redesign .rc-person-card > a > div { min-width:0; }
html.cc-redesign .rc-resource-actions { gap:8px; }
html.cc-redesign .rc-search-header { margin:0 0 24px;padding:24px; }
html.cc-redesign .rc-search-row { align-items:stretch;gap:12px; }
html.cc-redesign .rc-search-row input { min-width:0; }
html.cc-redesign .rc-search-tabs { gap:8px;padding-top:20px;margin-top:20px; }
html.cc-redesign .rc-search-tabs a { display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;color:var(--chipter-muted);font-size:14px; }
html.cc-redesign .rc-search-tabs a[aria-current="page"] { background:var(--chipter-soft);color:var(--chipter-accent); }
html.cc-redesign .rc-filters summary { min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;color:var(--chipter-text);cursor:pointer; }
html.cc-redesign .rc-filters .rc-checkbox { min-height:44px; }
html.cc-redesign :is(.rc-result-link:hover h2,.rc-composer > summary svg,.rc-composer > summary small) { color:var(--chipter-accent); }
html.cc-redesign .rc-result { padding:24px;border-radius:20px; }
html.cc-redesign #rc-search-status { color:var(--chipter-muted);line-height:1.65; }
@media(max-width:767px) {
 html.cc-redesign .rc-search-header { padding:20px 16px; }
 html.cc-redesign .rc-person-card > a { gap:12px;padding:16px; }
 html.cc-redesign .rc-person-card img { width:48px;height:48px;border-radius:14px; }
 html.cc-redesign .rc-result { padding:20px 16px; }
 html.cc-redesign .rc-search-row { flex-wrap:wrap; }
 html.cc-redesign .rc-search-row input { flex:1 0 180px; }
 html.cc-redesign .rc-search-row button { flex:1 0 auto; }
}
/* Existing action text uses !important in main.css; token foreground must win in both themes. */
html.cc-redesign .card-item.classic-item .card-act { color:var(--chipter-text)!important;background:var(--chipter-raised); }
html.cc-redesign .card-item.classic-item .card-act.negative { color:var(--chipter-danger)!important; }
html.cc-redesign .card-item.classic-item .card-act.negative:hover { color:var(--chipter-danger)!important;background:var(--chipter-danger-soft); }
html.cc-redesign .card-item.classic-item .card-act.active:hover { color:var(--chipter-accent)!important;background:var(--chipter-soft); }
html.cc-redesign .card-item.classic-item .card-counter { position:static;display:inline-flex;max-width:100%;margin-top:8px;background:transparent;color:var(--chipter-muted);white-space:normal;overflow-wrap:anywhere; }

/* Canonical post detail uses the same single reading-card component as the feed.
   Source: .items-list.content-list > .card > li.post-item. The optional v3 enhancer
   adds .cv-post-shell; this adapter deliberately does not depend on that JS class.
   The old generic inner-card flatten rule remains valid: the OUTER card owns the surface. */
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card {
 background:var(--chipter-surface);border:1px solid var(--chipter-border);border-radius:20px;padding:22px;margin:0;box-shadow:none;overflow:visible;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item {
 padding:0!important;margin:0;border:0;border-radius:0!important;background:transparent;box-shadow:none;list-style:none;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header {
 position:relative;min-height:48px;height:auto;padding:0 48px 0 60px;margin:0 0 20px!important;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .item-logo {
 left:0;top:0;transform:none;width:44px;height:44px;border-radius:14px;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .item-logo-online { left:33px;top:33px;transform:none; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > :is(.post-item-fullname,.post-item-time) {
 margin-left:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .post-item-fullname { font-size:15px;font-weight:650;line-height:1.45; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .post-item-time { margin-top:4px;font-size:12px;line-height:1.5;color:var(--chipter-muted); }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .dropdown { position:static; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header .item-menu { top:0;right:0;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:12px; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta.post-item-content {
 margin:0!important;border:0;border-radius:0;background:transparent;box-shadow:none;
}
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .post-text { margin:0 0 20px!important;line-height:1.75;overflow-wrap:anywhere; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .item-footer { margin:16px 0 0;padding:12px 0 0;border-top:1px solid var(--chipter-border);min-height:44px; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .item-footer > .item-footer-container { flex-wrap:wrap;justify-content:flex-start;gap:8px; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .item-footer > .item-footer-container > .item-footer-button { flex:0 1 auto;min-width:0; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .item-footer a.item-footer-button { min-height:44px;height:auto;padding:10px 12px;background:var(--chipter-raised);color:var(--chipter-text)!important;border-radius:12px;line-height:1.5;white-space:normal; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .item-footer a.item-footer-button:is(.active,:hover) { background:var(--chipter-soft);color:var(--chipter-accent)!important; }
/* Comments remain within the same reading card. No new frame around the comments list. */
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .comments-list { margin:0;padding:0; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment { margin:20px 0 0!important;padding-top:16px;border-top:1px solid var(--chipter-border);gap:12px; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment > .media-body { min-width:0; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment > .avatar-container .avatar { width:36px;height:36px;margin:0!important; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment form.rounded-lg.border { margin:0;padding:6px;border:1px solid var(--chipter-border)!important;border-radius:12px!important;background:var(--chipter-raised); }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment .input-group { min-width:0;flex-wrap:wrap; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment input[name="comment_text"] { min-width:0;flex:1 1 140px;width:1%;background:transparent; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment :is(.input-group-append,.input-group-text) { max-width:100%;background:transparent; }
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-meta > .media.media-comment button.comment_send { min-height:44px;padding:10px 14px;white-space:normal; }
@media(max-width:767px) {
 html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card { padding:16px;border-radius:18px; }
 html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header { padding-left:56px;margin-bottom:16px!important; }
}
/* Actual optional author verification badge remains at the avatar's lower-left corner; comment badges are untouched. */
html.cc-unified-shell.cc-post-ui4 #content > .content-list-page > .items-list.content-list > .card > .post-item > .item-header > .user-verified-badge { left:-2px;top:28px;transform:none;margin:0!important; }
/* Generic existing error view: concise title, unchanged explanatory text, compact recovery action. */
html.cc-redesign .chipter-status-page .cv-section-heading { display:block;padding:0; }
html.cc-redesign .chipter-status-page .cv-section-heading::before { content:none; }
html.cc-redesign .chipter-status-page .page-title-content > .chipter-status-panel { display:block;max-width:640px;margin:40px auto;padding:32px;text-align:left; }
html.cc-redesign .chipter-status-page .chipter-status-panel > :is(.info,.prompt) { display:block;float:none;width:auto;max-width:100%;flex:none; }
html.cc-redesign .chipter-status-page .chipter-status-title { margin:0 0 14px;font-size:30px;line-height:1.25;letter-spacing:-.035em; }
html.cc-redesign .chipter-status-page .chipter-status-description { margin:0;color:var(--chipter-muted);font-size:16px;line-height:1.75;overflow-wrap:anywhere; }
html.cc-redesign .chipter-status-page .chipter-status-panel > .prompt { margin:24px 0 0; }
html.cc-redesign .chipter-status-page .chipter-status-action { display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;max-width:100%;min-height:44px;padding:12px 20px;flex:none;white-space:normal; }
@media(max-width:767px) {
 html.cc-redesign .chipter-status-page .page-title-content > .chipter-status-panel { margin:16px auto;padding:24px 20px; }
 html.cc-redesign .chipter-status-page .chipter-status-title { font-size:26px; }
}

/* Shared canonical cards use the same neutral surfaces and circular identities as messenger. */
html.cc-redesign :is(.cc-avatar,.post-avatar,.comment-avatar) { border-radius:50%; }
html.cc-redesign :is(.card,.settings-card,.profile-card) { box-shadow:none; }
html.cc-redesign :is(input,textarea,select)::placeholder { color:var(--chipter-muted);opacity:1; }
html.cc-redesign :is(a,button,input,textarea,select):focus-visible { outline:2px solid var(--chipter-focus);outline-offset:3px; }
