/* CampusConnect — cohesive footer, editorial information pages and restrained micro-interactions.
   Only highlight controls that perform useful actions. */
.workspace{display:flex;flex-direction:column;min-height:100vh;min-width:0}
.workspace>main{flex:1;width:100%;min-width:0}

/* Footer: quiet, confident, structured, and readable in both themes. */
.cc-site-footer{
  flex-shrink:0;
  display:block;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 clamp(20px,4.8vw,74px)!important;
  background:var(--ed-surface);
  border-top:1px solid var(--ed-line);
  box-shadow:none;
  color:var(--ed-ink)
}
.cc-footer-inner{max-width:1450px;width:100%;margin:0 auto}
.cc-footer-upper{min-height:157px;display:flex;align-items:center;justify-content:space-between;gap:36px;padding:35px 0}
.cc-footer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.cc-footer-wordmark{display:inline-flex;align-items:center;gap:10px;color:var(--ed-ink);font-family:'Plus Jakarta Sans',sans-serif;letter-spacing:-.75px;font-weight:800;font-size:17px}
.cc-footer-wordmark img{display:block;width:35px;height:36px;object-fit:cover;border-radius:8px;background:#eff3fc;flex-shrink:0}
.cc-footer-wordmark strong{color:var(--ed-accent);font-weight:800}
.cc-footer-identity p{color:var(--ed-muted);font-size:12px;line-height:1.6}
.cc-footer-navigation{display:flex;align-items:center;justify-content:flex-end;gap:clamp(17px,2.6vw,41px);flex-wrap:wrap}
.cc-footer-navigation a{position:relative;padding:10px 0;color:var(--ed-ink);font-size:12px;font-weight:650}
.cc-footer-navigation a:after{content:'';display:block;position:absolute;left:0;bottom:5px;width:100%;height:1px;transform:scaleX(0);transform-origin:left;background:var(--ed-accent);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.cc-footer-navigation a:hover,.cc-footer-navigation a:focus-visible{color:var(--ed-accent)}
.cc-footer-navigation a:hover:after,.cc-footer-navigation a:focus-visible:after{transform:scaleX(1)}
.cc-footer-lower{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--ed-line);padding:17px 0 22px;color:var(--ed-muted);font-size:10px;line-height:1.65}
.cc-footer-lower span:last-child{text-align:right}

/* Functional information pages linked from the footer */
.cc-info-page{max-width:1240px;margin:0 auto;padding:6px 0 48px}
.cc-info-heading{padding:24px 0 38px;border-bottom:1px solid var(--ed-line)}
.cc-info-heading h1{font-size:clamp(32px,4.4vw,59px);max-width:970px;line-height:1.13;letter-spacing:-2.7px;margin:18px 0 15px;font-weight:800;color:var(--ed-ink)}
.cc-info-heading>p{color:var(--ed-muted);max-width:740px;font-size:15px;line-height:1.82}
.cc-info-shell{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.58fr);gap:clamp(25px,4vw,66px);align-items:start;padding-top:34px}
.cc-info-content{min-width:0}
.cc-info-content section{padding:21px 0 23px;border-bottom:1px solid var(--ed-line)}
.cc-info-content section:first-child{padding-top:3px}
.cc-info-content section:last-child{border-bottom:0}
.cc-info-content h2{font-size:19px;letter-spacing:-.45px;color:var(--ed-ink);font-weight:800;margin:0 0 10px}
.cc-info-content p{font-size:13px;color:var(--ed-muted);line-height:1.9;max-width:790px}
.cc-info-aside{position:sticky;top:108px;padding:25px 23px;border:1px solid var(--ed-line);border-radius:17px;background:var(--ed-surface);box-shadow:var(--ed-shadow)}
.cc-info-aside h3{font-size:19px;letter-spacing:-.5px;margin:15px 0 12px;color:var(--ed-ink)}
.cc-info-aside p{color:var(--ed-muted);line-height:1.85;font-size:12px}
.cc-info-aside a{display:inline-flex;align-items:center;gap:7px;margin-top:20px;color:var(--ed-accent);font-weight:800;font-size:12px}
.cc-info-aside a .icon{width:15px;height:15px;transition:transform .2s}
.cc-info-aside a:hover .icon{transform:translateX(4px)}

/* Premium but restrained feedback: cards react to pointer position and surface depth. */
.cc-action-tile{
 position:relative;overflow:hidden;isolation:isolate;
 --cc-spot-x:50%;--cc-spot-y:35%;
 transition:transform .32s cubic-bezier(.18,.72,.28,1),box-shadow .32s ease,border-color .24s ease,background-color .24s ease
}
.cc-action-tile::before{
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;
 background:radial-gradient(230px circle at var(--cc-spot-x) var(--cc-spot-y),color-mix(in srgb,var(--ed-accent) 13%,transparent),transparent 72%);
 transition:opacity .26s ease
}
.cc-action-tile::after{
 content:'';position:absolute;bottom:0;left:25px;right:25px;height:2px;z-index:1;
 background:linear-gradient(90deg,transparent,var(--ed-accent),transparent);
 transform:scaleX(0);transform-origin:center;opacity:.65;transition:transform .3s cubic-bezier(.25,.8,.25,1)
}
.cc-action-tile>*{position:relative;z-index:1}
.cc-action-tile:hover::before,.cc-action-tile:focus-visible::before{opacity:1}
.cc-action-tile:hover::after,.cc-action-tile:focus-visible::after{transform:scaleX(1)}
.cc-action-tile:hover,.cc-action-tile:focus-visible{
 border-color:color-mix(in srgb,var(--ed-accent) 60%,var(--ed-line));
 transform:translateY(-4px);
 box-shadow:0 19px 36px #0b2d5418
}
.cc-action-tile .cc-action-symbol{transition:transform .38s cubic-bezier(.2,.77,.26,1),box-shadow .38s ease}
.cc-action-tile:hover .cc-action-symbol{transform:translateY(-3px) rotate(-4deg);box-shadow:0 8px 23px #0e30551a}
.cc-action-tile .cc-action-top .icon{transition:transform .28s cubic-bezier(.2,.77,.26,1),color .2s}
.cc-action-tile:hover .cc-action-top .icon{transform:translate(4px,-4px);color:var(--ed-accent)}
.cc-hero-search button,.btn.primary,.cc-gpa-add{
 background-image:linear-gradient(112deg,#3d56c8,#5e77ed,#4059d4);
 background-size:220% 100%;
 transition:background-position .35s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease,transform .2s ease;
 color:#fff!important
}
.cc-hero-search button:hover,.btn.primary:hover,.cc-gpa-add:hover{
 background-position:100% 50%;
 box-shadow:0 8px 21px #405ddd3c;
 transform:translateY(-1px)
}
.cc-hero-search button:active,.btn.primary:active,.cc-gpa-add:active{transform:translateY(1px) scale(.99);box-shadow:none}
.cc-hero-search button .icon,.cc-ed-text-link .icon,.cc-footer-navigation .icon{transition:transform .25s ease}
.cc-hero-search button:hover .icon,.cc-ed-text-link:hover .icon{transform:translateX(4px)}
.cc-toplinks a:after{transform:scaleX(.1);transform-origin:left;transition:transform .26s cubic-bezier(.2,.8,.2,1)}
.cc-toplinks a:hover:after,.cc-toplinks a.active:after{transform:scaleX(1)}
.cc-ed-resource{transition:background-color .25s ease,transform .25s ease,border-color .25s ease}
.cc-ed-resource:hover{transform:translateX(2px)}
.cc-ed-resource>.icon{transition:transform .25s ease}
.cc-ed-resource:hover>.icon{transform:translateX(5px)}
.cc-new-home :focus-visible,.cc-site-footer :focus-visible,.cc-info-page :focus-visible{outline:2px solid var(--ed-accent);outline-offset:3px}

/* Neutral early access notices: transparent, not noisy banners everywhere. */
.cc-early-access-note{padding:12px 16px;border-radius:11px;background:var(--ed-soft);border:1px solid var(--ed-line);color:var(--ed-muted);font-size:12px;line-height:1.75}
html[data-theme="dark"] .cc-site-footer{background:var(--ed-surface);color:var(--ed-ink);border-color:var(--ed-line)}
html[data-theme="dark"] .cc-footer-wordmark,html[data-theme="dark"] .cc-footer-navigation a{color:var(--ed-ink)}
html[data-theme="dark"] .cc-footer-navigation a:hover{color:var(--ed-accent)}
html[data-theme="dark"] .cc-info-aside{background:var(--ed-surface);border-color:var(--ed-line)}
html[data-theme="dark"] .cc-action-tile:hover{box-shadow:0 19px 36px #0005}
html[data-theme="dark"] .cc-hero-search button,html[data-theme="dark"] .btn.primary,html[data-theme="dark"] .cc-gpa-add{background-image:linear-gradient(112deg,#536aea,#8ca1ff,#6078e5);color:#fff!important}
html[data-theme="dark"] .cc-early-access-note{background:#1f304c;border-color:#344967;color:#b9c9e4}
@media(max-width:860px){
 .cc-info-shell{grid-template-columns:1fr;gap:18px}
 .cc-info-aside{position:static}
 .cc-footer-upper{align-items:flex-start;min-height:130px;padding:28px 0;gap:20px}
 .cc-footer-navigation{gap:8px 22px;justify-content:flex-start}
}
@media(max-width:600px){
 .cc-site-footer{padding:0 17px!important}
 .cc-footer-upper{flex-direction:column;gap:20px;align-items:flex-start}
 .cc-footer-navigation{width:100%;justify-content:space-between;gap:8px 16px}
 .cc-footer-navigation a{font-size:12px}
 .cc-footer-lower{flex-direction:column;align-items:flex-start;gap:6px;padding:14px 0 23px}
 .cc-footer-lower span:last-child{text-align:left}
 .cc-info-page{padding:0 0 25px}
 .cc-info-heading{padding:12px 0 25px}
 .cc-info-heading h1{font-size:32px;letter-spacing:-1.25px}
 .cc-info-heading p{font-size:13px}
 .cc-info-shell{padding-top:18px}
 .cc-info-content section{padding:18px 0 19px}
 .cc-info-content h2{font-size:17px}
 .cc-info-content p{font-size:12px}
}
@media(hover:none),(pointer:coarse){
 .cc-action-tile::before{display:none}
 .cc-action-tile:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
 .cc-action-tile,.cc-action-tile::before,.cc-action-tile::after,.cc-action-symbol,.cc-gpa-add,.btn.primary,.cc-hero-search button,.cc-footer-navigation a:after,.cc-ed-resource{transition:none!important;animation:none!important}
 .cc-action-tile:hover,.cc-gpa-add:hover,.btn.primary:hover,.cc-hero-search button:hover{transform:none!important}
}

/* Preserve gradient fill over older hover background shorthand rules. */
.cc-hero-search button:hover,.btn.primary:hover,.cc-gpa-add:hover{
 background-image:linear-gradient(112deg,#3d56c8,#5e77ed,#4059d4)!important;
 background-size:220% 100%!important
}
html[data-theme="dark"] .cc-hero-search button:hover,
html[data-theme="dark"] .btn.primary:hover,
html[data-theme="dark"] .cc-gpa-add:hover{
 background-image:linear-gradient(112deg,#536aea,#8ca1ff,#6078e5)!important
}

/* CampusConnect team contact */
.cc-footer-mail{display:inline-flex;align-items:center;color:var(--ed-accent);font-weight:650;font-size:12px;text-decoration:none;word-break:break-word}
.cc-footer-mail:hover,.cc-contact-mail:hover{text-decoration:underline;text-underline-offset:3px}
.cc-contact-mail{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border-radius:11px;border:1px solid var(--ed-line);background:var(--ed-soft);color:var(--ed-accent);font-weight:800;text-decoration:none;word-break:break-word}
.cc-contact-mail .icon{width:16px;height:16px;flex-shrink:0;transition:transform .2s ease}
.cc-contact-mail:hover .icon{transform:translateX(3px)}
html[data-theme="dark"] .cc-contact-mail{background:var(--ed-soft);color:var(--ed-accent);border-color:var(--ed-line)}
@media(prefers-reduced-motion:reduce){.cc-contact-mail .icon{transition:none!important}}


/* Compact message entry point — displayed always, badge only for real unread local state. */
#topbar .cc-messages-shortcut{
  position:relative;
  z-index:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 39px;
  width:39px;height:39px;
  border:1px solid var(--ed-line);
  border-radius:10px;
  color:var(--ed-ink);
  background:transparent;
  text-decoration:none;
  box-shadow:0 0 0 transparent;
  transition:color .24s ease,background-color .24s ease,border-color .24s ease,transform .26s cubic-bezier(.2,.72,.25,1),box-shadow .24s ease;
}
#topbar .cc-messages-shortcut .icon{
  height:20px;width:20px;
  transition:transform .32s cubic-bezier(.18,.8,.28,1);
}
#topbar .cc-messages-shortcut:hover,
#topbar .cc-messages-shortcut:focus-visible{
  background:var(--ed-soft);
  color:var(--ed-accent);
  border-color:color-mix(in srgb,var(--ed-accent) 35%,var(--ed-line));
  box-shadow:0 5px 18px color-mix(in srgb,var(--ed-accent) 14%,transparent);
  transform:translateY(-2px);
}
#topbar .cc-messages-shortcut:hover .icon{
  transform:rotate(-7deg) scale(1.09);
}
#topbar .cc-messages-shortcut.active{
  color:var(--ed-accent);
  background:var(--ed-soft);
  border-color:color-mix(in srgb,var(--ed-accent) 42%,var(--ed-line));
}
.cc-unread-badge{
  position:absolute;
  top:-7px;right:-7px;
  display:flex;align-items:center;justify-content:center;
  width:19px;height:19px;min-width:19px;
  border-radius:999px;
  background:#d7f69d;color:#1b3041;
  font-size:10px;font-weight:900;line-height:1;
  border:2px solid var(--ed-surface);
  box-shadow:0 3px 9px #071b3040;
  pointer-events:none;
  animation:cc-badge-arrive .37s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes cc-badge-arrive{
  from{transform:scale(.55) translateY(4px);opacity:.35}
  to{transform:scale(1) translateY(0);opacity:1}
}
.cc-conversation-unread{
  min-width:20px;height:20px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  padding:0 5px;margin-left:auto;flex-shrink:0;
  background:#6982f4;color:#fff;font-size:10px;font-weight:800;
}
.conversation.cc-has-unread h3{font-weight:800}
#sidebar .cc-sidebar-unread{background:#d7f69d;color:#152b40}

/* Top navigation: frosted hover surface and an underline that grows smoothly.
   CSS-only; no layout shift, no animation library, no constant movement. */
.cc-toplinks a{
  position:relative;z-index:0;
  isolation:isolate;
  transition:color .22s ease,transform .28s cubic-bezier(.18,.72,.25,1);
}
.cc-toplinks a::before{
  content:'';
  position:absolute;
  z-index:-1;
  left:-12px;right:-12px;top:19px;bottom:18px;
  border-radius:10px;
  background:linear-gradient(115deg,
    color-mix(in srgb,var(--ed-accent) 12%,transparent),
    color-mix(in srgb,var(--ed-accent) 5%,transparent));
  border:1px solid color-mix(in srgb,var(--ed-accent) 10%,transparent);
  opacity:0;
  transform:translateY(5px) scale(.95);
  transition:opacity .25s ease,transform .3s cubic-bezier(.22,.72,.25,1);
  pointer-events:none;
}
.cc-toplinks a:hover,
.cc-toplinks a:focus-visible{
  color:var(--ed-accent);
  transform:translateY(-1px)
}
.cc-toplinks a:hover::before,
.cc-toplinks a:focus-visible::before{
  opacity:1;
  transform:translateY(0) scale(1)
}
.cc-toplinks a::after{
  left:0;right:0;bottom:0;
  height:2px;
  border-radius:4px 4px 0 0;
  background:linear-gradient(90deg,transparent,var(--ed-accent) 20%,var(--ed-accent) 80%,transparent);
  transform:scaleX(0);
  transform-origin:center;
  opacity:.95;
  transition:transform .33s cubic-bezier(.2,.75,.25,1),opacity .2s ease
}
.cc-toplinks a:hover::after,
.cc-toplinks a:focus-visible::after,
.cc-toplinks a.active::after{
  transform:scaleX(1)
}
#sidebar .nav-item{
  transition:background-color .22s ease,color .22s ease,transform .25s cubic-bezier(.2,.75,.25,1);
}
#sidebar .nav-item:not(.active):hover{transform:translateX(3px)}
#sidebar .nav-item .icon{transition:transform .23s cubic-bezier(.2,.75,.25,1)}
#sidebar .nav-item:hover .icon{transform:translateX(2px)}
html[data-theme="dark"] #topbar .cc-messages-shortcut{
  color:var(--ed-ink);border-color:var(--ed-line);background:transparent
}
html[data-theme="dark"] #topbar .cc-messages-shortcut:hover,
html[data-theme="dark"] #topbar .cc-messages-shortcut.active{
  color:var(--ed-accent);border-color:#6576b0;background:#253654
}
html[data-theme="dark"] .cc-unread-badge{border-color:#111d30}
@media(max-width:700px){
  #topbar .cc-messages-shortcut{width:36px;height:36px;flex-basis:36px}
  #topbar .cc-messages-shortcut .icon{width:18px;height:18px}
}
@media(max-width:380px){
  #topbar .cc-messages-shortcut{width:34px;height:34px;flex-basis:34px}
  #topbar .cc-messages-shortcut .icon{width:17px;height:17px}
  #topbar .cc-unread-badge{width:17px;height:17px;min-width:17px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  #topbar .cc-messages-shortcut,
  #topbar .cc-messages-shortcut .icon,
  .cc-toplinks a,.cc-toplinks a::before,.cc-toplinks a::after,
  #sidebar .nav-item,#sidebar .nav-item .icon{
    transition:none!important;animation:none!important;transform:none!important
  }
  .cc-unread-badge{animation:none!important}
}

/* Keep every header action reachable on small phones without horizontal scrolling. */
@media(max-width:410px){
  #topbar,html[data-theme="dark"] #topbar{gap:9px;padding-left:12px;padding-right:12px}
  #topbar .cc-wordmark strong{display:none}
  #topbar .cc-wordmark{gap:0}
  #topbar .cc-topbar-spacer{flex:1;min-width:0}
  #topbar .top-profile{margin-left:0}
}


/* ADA mailbox ownership verification.
   No document uploads or fake "student verified" status. */
.cc-verify-banner{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:4px 12px;
  padding:17px 18px;
  border:1px solid var(--ed-line);
  border-radius:14px;
  background:var(--ed-soft);
  color:var(--ed-ink);
  margin:6px 0 20px
}
.cc-verify-banner>.icon{
  grid-row:1 / 3;
  display:block;
  width:22px;height:22px;
  margin:5px 0;
  color:var(--ed-accent)
}
.cc-verify-banner strong{
  font-family:'Plus Jakarta Sans',sans-serif;
  color:var(--ed-ink);
  font-weight:800;
  font-size:13px
}
.cc-verify-banner p{
  margin:0;
  font-size:12px;
  color:var(--ed-muted);
  line-height:1.75
}
.cc-verify-banner.is-success{
  background:color-mix(in srgb,#4ebaa0 10%,var(--ed-surface));
  border-color:color-mix(in srgb,#4ebaa0 35%,var(--ed-line))
}
.cc-verify-banner.is-success>.icon{color:#2aaf84}
.cc-verify-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 18px
}
.cc-verify-actions .btn{font-size:12px}
#verify-otp-form input[name=code]{
  font-size:20px;
  font-weight:800;
  letter-spacing:7px;
  font-variant-numeric:tabular-nums;
  text-align:center;
  max-width:230px;
  min-height:48px
}
#verify-email-form input[name=email]{
  min-height:45px;
  width:100%
}
#verify-email-form .btn,#verify-otp-form .btn{align-self:flex-start}
#verify-email-form button:disabled,#verify-otp-form button:disabled,.cc-verify-actions button:disabled{
  opacity:.55;
  cursor:wait;
  transform:none!important
}
@media(max-width:500px){
  .cc-verify-banner{padding:13px 12px;grid-template-columns:29px minmax(0,1fr)}
  .cc-verify-banner strong{font-size:12px}
  .cc-verify-banner p{font-size:11px}
  #verify-otp-form input[name=code]{width:100%;max-width:none}
}


/* Supabase-backed community launch views. All information comes from real accounts. */
.cc-real-card .cc-member-bio{min-height:38px;line-height:1.55;overflow-wrap:anywhere}
.cc-real-post .post-tag{margin-left:auto}
.cc-real-feed .post{padding:22px;border-bottom:1px solid var(--ed-line,#dce3ed)}
.cc-real-feed .post:last-child{border-bottom:0}
.cc-real-resource .note-card-body{padding:24px;min-height:205px}
.cc-real-resource .note-card-body h3{overflow-wrap:anywhere}
.cc-res-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:var(--ed-accent,#4462b0);margin-bottom:13px}
.cc-res-tag .icon{width:16px;height:16px}
.cc-resource-desc{line-height:1.7;min-height:34px;overflow-wrap:anywhere}
.cc-resource-actions{display:flex;gap:8px;flex-wrap:wrap}
.cc-price-notice{padding:0 22px 18px;color:var(--ed-muted,#7b899c);font-size:11px}
.cc-server-action{text-align:center;margin:20px 0 26px}
.cc-server-action .btn{display:inline-flex;align-items:center;gap:8px}
.cc-consent-row{display:flex;align-items:flex-start;gap:13px;padding:15px 17px;border:1px solid var(--ed-line,#e2e8f0);border-radius:14px;background:var(--ed-soft,#f6f8fc);cursor:pointer}
.cc-consent-row input{flex:none;width:17px;height:17px;accent-color:#3e68c3;margin-top:2px}
.cc-consent-row span{display:flex;flex-direction:column;gap:5px}
.cc-consent-row strong{font-size:12px;font-weight:750;color:var(--ed-ink,#23334d)}
.cc-consent-row small{font-size:11px;line-height:1.55;color:var(--ed-muted,#7d879a)}
.cc-db-chat .conversation-list{min-height:350px}
.cc-db-chat .chat{min-width:0}
.cc-side-empty{padding:22px;font-size:12px;line-height:1.6;color:var(--ed-muted,#7b899c)}
.cc-chat-intro{min-height:350px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;padding:24px}
.cc-chat-intro .empty{width:min(100%,450px)}
.cc-chat-intro button{margin-bottom:12px}
.cc-comments{display:flex;flex-direction:column;gap:12px;max-height:330px;overflow-y:auto;margin:20px 0}
.cc-comments .comment{border:1px solid var(--ed-line,#e2e8f0);border-radius:12px;padding:13px 15px;background:var(--ed-soft,#f7f9fc)}
.cc-comments .comment strong{font-size:12px;color:var(--ed-ink,#23334d)}
.cc-comments .comment small{margin-left:9px;font-size:10px;color:var(--ed-muted,#7b899c)}
.cc-comments .comment p{font-size:12px;line-height:1.65;margin:8px 0 0;overflow-wrap:anywhere}
.cc-search-head{font-size:19px;margin:28px 0 16px;color:var(--ed-ink,#203449)}
html[data-theme="dark"] .cc-consent-row,html[data-theme="dark"] .cc-comments .comment{background:#1c304a;border-color:#33465f}
html[data-theme="dark"] .cc-consent-row strong,html[data-theme="dark"] .cc-comments .comment strong{color:#e7efff}
@media(max-width:700px){
 .cc-real-resource .note-card-body{padding:19px}
 .cc-consent-row{padding:13px}
 .cc-real-feed .post{padding:17px}
 .cc-db-chat{grid-template-columns:minmax(0,1fr)}
 .cc-db-chat .conversation-list{min-height:0}
}


/* Real like state: red heart and a restrained tap animation. */
.cc-real-post .cc-like-button.is-liked,
.cc-thread-post .cc-like-button.is-liked{color:#e74864!important}
.cc-real-post .cc-like-button .icon,
.cc-thread-post .cc-like-button .icon{transition:fill .18s ease,color .18s ease,transform .2s ease;stroke-width:1.9}
.cc-real-post .cc-like-button.is-liked .icon,
.cc-thread-post .cc-like-button.is-liked .icon{fill:#e74864;stroke:#e74864;animation:cc-heart-pop .24s ease-out}
.cc-like-button:focus-visible{outline:2px solid #e74864;outline-offset:4px;border-radius:6px}
@keyframes cc-heart-pop{0%{transform:scale(.85)}65%{transform:scale(1.22)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.cc-like-button .icon{animation:none!important;transition:none!important}}

/* Dedicated compact discussion thread, not a popup. */
.cc-thread-shell{width:min(100%,860px);margin:0 auto;padding-bottom:48px}
.cc-thread-back{display:inline-flex;align-items:center;gap:9px;color:var(--ed-muted,#72819a);font-size:13px;font-weight:650;margin:0 0 21px}
.cc-thread-back:hover{color:var(--ed-accent,#4663cb)}
.cc-thread-back .icon{width:17px;height:17px}
.cc-thread-post,.cc-thread-replies{background:var(--ed-surface,#fff);border:1px solid var(--ed-line,#e0e8f2);border-radius:18px;box-shadow:var(--ed-shadow,0 4px 22px #1229470a)}
.cc-thread-post{padding:27px 30px 25px;margin-bottom:19px}
.cc-thread-meta{display:flex;align-items:center;gap:12px}
.cc-thread-meta>div{display:flex;flex-direction:column;gap:4px}
.cc-thread-meta strong{font-size:13px;color:var(--ed-ink,#20314b)}
.cc-thread-meta small{font-size:11px;color:var(--ed-muted,#75829a)}
.cc-thread-meta .post-tag{margin-left:auto}
.cc-thread-question{font-size:17px;line-height:1.78;color:var(--ed-ink,#253a57);margin:23px 0 23px;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-thread-reply-count{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--ed-muted,#72819a)}
.cc-thread-reply-count .icon{width:16px;height:16px}
.cc-thread-replies{overflow:hidden}
.cc-thread-section-heading{display:flex;align-items:center;gap:11px;padding:21px 27px 18px;border-bottom:1px solid var(--ed-line,#e2e8f0)}
.cc-thread-section-heading h2{font-size:16px;color:var(--ed-ink,#22334c);margin:0}
.cc-thread-section-heading span{display:inline-flex;align-items:center;justify-content:center;font-size:11px;min-width:25px;height:25px;border-radius:20px;background:var(--ed-soft,#f0f4fc);color:var(--ed-muted,#65748e);font-weight:700}
.cc-thread-stream{max-height:480px;min-height:120px;overflow-y:auto;padding:8px 27px;scrollbar-width:thin}
.cc-thread-reply{display:flex;align-items:flex-start;gap:13px;padding:19px 0;border-bottom:1px solid var(--ed-line,#e2e8f0)}
.cc-thread-reply:last-child{border-bottom:0}
.cc-thread-reply .avatar{flex:none}
.cc-thread-reply-content{flex:1;min-width:0}
.cc-thread-reply-heading{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}
.cc-thread-reply-heading strong{font-size:12px;color:var(--ed-ink,#253851)}
.cc-thread-reply-heading time{font-size:10px;color:var(--ed-muted,#72819a)}
.cc-thread-reply-content p{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0;color:var(--ed-ink,#283b54);font-size:13px;line-height:1.75}
.cc-thread-no-replies{padding:30px 0;color:var(--ed-muted,#748198);font-size:13px;text-align:center}
.cc-thread-compose{padding:20px 27px 23px;border-top:1px solid var(--ed-line,#e2e8f0);background:var(--ed-soft,#f7f9fc)}
.cc-thread-compose>label{display:block;margin-bottom:9px;font-size:12px;font-weight:700;color:var(--ed-ink,#24354d)}
.cc-thread-compose-row{display:flex;gap:12px;align-items:flex-end}
.cc-thread-compose-row textarea{flex:1;min-width:0;min-height:63px;height:67px;max-height:170px;resize:vertical;padding:13px 15px;border:1px solid var(--ed-line,#dce4f0);border-radius:12px;font:inherit;font-size:13px;line-height:1.5;background:var(--ed-surface,#fff);color:var(--ed-ink,#273a56)}
.cc-thread-compose-row textarea:focus{outline:2px solid #719bf15c;border-color:#6794e3}
.cc-thread-compose-row .btn{flex:none;display:inline-flex;align-items:center;gap:8px;justify-content:center;min-height:43px}
.cc-thread-compose-row .icon{width:16px;height:16px}
.cc-thread-guideline{font-size:11px;color:var(--ed-muted,#768298);margin:14px 6px 0}

/* Expiring, authenticated PDF preview of a free resource. */
.modal.cc-pdf-dialog{width:min(1120px,96vw);height:min(920px,94vh);max-height:94vh;display:flex;flex-direction:column;overflow:hidden;padding:25px}
.cc-pdf-dialog .modal-head{flex:none;margin-bottom:16px}
.cc-pdf-dialog .cc-pdf-preview{display:flex;flex-direction:column;flex:1;min-height:0}
.cc-pdf-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;padding-bottom:15px}
.cc-pdf-preview-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.cc-pdf-preview-info strong{font-size:13px;color:var(--ed-ink,#21344e);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cc-pdf-preview-info small{font-size:11px;color:var(--ed-muted,#78859b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-pdf-preview-toolbar .btn{flex:none;display:inline-flex;gap:7px;align-items:center}
.cc-pdf-preview-toolbar .icon{width:15px;height:15px}
.cc-pdf-frame{border:1px solid var(--ed-line,#d5dce9);border-radius:12px;flex:1;min-height:240px;width:100%;background:#f3f5f9}
.cc-pdf-dialog .cc-pdf-fallback{margin:10px 0 0;font-size:11px;line-height:1.5;color:var(--ed-muted,#79859b)}
.cc-preview-trigger{display:inline-flex;gap:6px;align-items:center}
.cc-preview-trigger .icon{width:14px;height:14px}
html[data-theme="dark"] .cc-thread-compose{background:#172740}
html[data-theme="dark"] .cc-thread-compose-row textarea{background:#142237;color:#ecf1ff;border-color:#3c516e}
@media(max-width:700px){
 .cc-thread-post{padding:19px}
 .cc-thread-section-heading{padding:17px 19px}
 .cc-thread-stream{padding:5px 19px;max-height:390px}
 .cc-thread-compose{padding:17px 19px}
 .cc-thread-compose-row{flex-direction:column;align-items:stretch}
 .cc-thread-compose-row .btn{align-self:flex-end}
 .modal.cc-pdf-dialog{width:100%;height:92vh;padding:16px}
 .cc-pdf-preview-toolbar{align-items:flex-start}
 .cc-pdf-preview-toolbar .btn{font-size:11px}
}

/* ADA official academic program chooser: native keyboard-friendly select grouped by school. */
.cc-major-field select{width:100%;max-width:100%;min-width:0;min-height:47px;cursor:pointer;text-overflow:ellipsis}
.cc-major-field select:invalid{color:var(--ed-muted,#78869b)}
.cc-major-field .file-hint{display:block;margin-top:7px;line-height:1.55}
.cc-major-field .file-hint a{font-weight:700;color:var(--ed-accent,#4869c4);text-decoration:underline;text-underline-offset:2px}
.cc-major-field .file-hint a:hover{opacity:.85}

/* Discussion reply targeting and mention alerts */
.cc-thread-direct-reply,.cc-reply-action{display:inline-flex;align-items:center;gap:6px;color:var(--ed-accent,#4568c4);font-size:11px;font-weight:750;cursor:pointer;padding:5px 0}
.cc-thread-direct-reply{margin-left:auto!important}
.cc-reply-action{margin-top:10px}
.cc-reply-action .icon{width:13px;height:13px}
.cc-reply-reference{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ed-muted,#78869b);margin:10px 0 5px;flex-wrap:wrap}
.cc-reply-reference strong{color:var(--ed-accent,#4265bf)}
.cc-reply-reference .icon{width:13px;height:13px}
.cc-reply-reference button{font-size:11px;font-weight:750;margin-left:6px;text-decoration:underline;text-underline-offset:3px}
.cc-reply-target{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:11px;background:rgba(77,119,225,.1);border:1px solid rgba(77,119,225,.22);padding:10px 12px;margin:0 0 13px;font-size:12px;color:var(--ed-ink,#263b5c)}
.cc-reply-target[hidden]{display:none!important}
.cc-reply-target>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cc-reply-target strong{color:var(--ed-accent,#456acc)}
.cc-reply-target .icon{width:14px;height:14px}
.cc-reply-target button{background:transparent;padding:3px;border-radius:7px}
.cc-reply-target button:hover{background:rgba(77,119,225,.1)}
.cc-comment-highlight{background:rgba(73,126,230,.1);border-radius:12px;outline:2px solid rgba(73,126,230,.35);outline-offset:6px;transition:background .3s ease}
.cc-notifications-shortcut{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:12px;color:var(--ed-muted,#60738c)}
.cc-notifications-shortcut:hover{background:var(--ed-soft,#edf2fa);color:var(--ed-ink,#1f3550)}
.cc-notifications-shortcut>.icon{width:19px;height:19px}
.cc-notifications-shortcut .cc-unread-badge{position:absolute;top:-3px;right:-4px;display:flex;align-items:center;justify-content:center;border-radius:14px;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;color:#fff;background:#e64f68}
.cc-notifications-panel{overflow:hidden;max-width:850px;margin:0 auto}
.cc-notification{display:flex;align-items:center;gap:13px;padding:19px 24px;text-align:left;width:100%;border-bottom:1px solid var(--ed-line,#e4e9f3);transition:background .15s}
.cc-notification:last-child{border-bottom:0}
.cc-notification:hover{background:var(--ed-soft,#f4f6fb)}
.cc-notification.is-unread{background:rgba(65,115,230,.07)}
.cc-notification>.avatar{flex:none}
.cc-notification-body{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px}
.cc-notification-body strong{font-size:13px;color:var(--ed-ink,#1f3551)}
.cc-notification-body>span{font-size:12px;color:var(--ed-ink,#334866);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-notification-body small{font-size:10px;color:var(--ed-muted,#74829a)}
.cc-notification-dot{width:9px;height:9px;border-radius:50%;background:#4b75dc;flex:none}
.cc-notification-empty{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;padding:32px;color:var(--ed-muted,#7889a3)}
.cc-notification-empty>.icon{width:30px;height:30px;color:#6583c4}
.cc-notification-empty strong{font-size:15px;color:var(--ed-ink,#293e58)}
.cc-notification-empty p{font-size:12px;max-width:320px;line-height:1.6;margin:0}
@media(max-width:650px){.cc-notification{padding:16px 13px}.cc-thread-direct-reply{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){.cc-comment-highlight{transition:none}.cc-notification{transition:none}}

/* ADA University password-based account forms. */
.cc-auth-switch{font-size:12px;text-align:center;color:var(--ed-muted,#708098);margin:18px 0 0!important;line-height:1.5}
.cc-auth-switch button,.cc-auth-footer button{border:0;background:transparent;color:var(--ed-accent,#4d70cb);font-size:12px;font-weight:750;padding:4px 6px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cc-auth-switch button:focus-visible,.cc-auth-footer button:focus-visible{outline:2px solid #5d83d8;outline-offset:2px;border-radius:5px}
.cc-auth-footer{margin:8px 0 0;text-align:right}
.cc-password-help{font-size:11px!important;line-height:1.6!important;color:var(--ed-muted,#697c95)!important;margin:1px 0 10px!important}
.modal input[type="password"]{letter-spacing:.04em}
.modal input[type="password"]::placeholder{letter-spacing:normal}

/* Visitor experience: visually locked, but never shows or fetches real community
   records underneath. The shapes below are decorative CSS placeholders only. */
.cc-guest-landing{width:min(100%,1000px);margin:0 auto;padding:6px 0 45px}
.cc-guest-heading{margin:0 0 27px}
.cc-guest-eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--ed-accent,#4f70c5);font-size:10px;font-weight:850;letter-spacing:.12em}
.cc-guest-eyebrow .icon{width:15px;height:15px}
.cc-guest-heading h1{font-size:clamp(25px,3.6vw,38px);color:var(--ed-ink,#223653);margin:12px 0 7px;line-height:1.2;letter-spacing:-.04em}
.cc-guest-heading p{color:var(--ed-muted,#7b89a0);font-size:13px;line-height:1.75;margin:0}
.cc-guest-preview{min-height:535px;position:relative;display:grid;place-items:center;isolation:isolate;border:1px solid var(--ed-line,#e0e8f3);border-radius:24px;overflow:hidden;background:var(--ed-surface,#fff);box-shadow:0 22px 55px rgba(23,49,85,.07)}
.cc-guest-skeleton{position:absolute;inset:0;padding:32px;display:flex;flex-direction:column;gap:21px;filter:blur(8px);opacity:.56;pointer-events:none;user-select:none;z-index:0}
.cc-guest-preview:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(117,144,183,.08),transparent);z-index:1;pointer-events:none}
.cc-guest-preview-head{display:flex;align-items:center;gap:14px;height:48px;padding:5px}
.cc-guest-fake-pill,.cc-guest-fake-short,.cc-guest-fake-avatar,.cc-guest-fake-lines i{display:block;border-radius:18px;background:var(--ed-soft,#e5ebf5)}
.cc-guest-fake-pill{width:220px;height:25px}
.cc-guest-fake-short{margin-left:auto;width:125px;height:35px}
.cc-guest-fake-card{display:flex;gap:20px;align-items:flex-start;padding:29px;min-height:116px;background:var(--ed-surface,#fff);border:1px solid var(--ed-line,#e0e6f0);border-radius:18px;box-shadow:0 10px 26px rgba(23,49,85,.05)}
.cc-guest-fake-avatar{width:47px;height:47px;flex:none;border-radius:50%;background:var(--ed-soft,#e3eaf6)}
.cc-guest-fake-lines{display:flex;flex-direction:column;gap:13px;width:100%;padding:5px 0}
.cc-guest-fake-lines i{height:12px;width:94%}
.cc-guest-fake-lines i:nth-child(2){width:65%}
.cc-guest-fake-lines i:nth-child(3){width:82%}
.cc-guest-lock{z-index:2;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;width:min(92%,490px);margin:34px 18px;border:1px solid var(--ed-line,#e0e8f3);border-radius:22px;background:var(--ed-surface,#fff);box-shadow:0 23px 65px rgba(26,52,88,.17);padding:36px 35px 28px}
.cc-guest-lock-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:color-mix(in srgb,var(--ed-accent,#5e82d5) 12%,var(--ed-surface,#fff));color:var(--ed-accent,#4d73cc);margin-bottom:15px}
.cc-guest-lock-icon .icon{width:25px;height:25px}
.cc-guest-lock-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--ed-accent,#4d73cc)}
.cc-guest-lock h2{color:var(--ed-ink,#223655);font-size:clamp(21px,3vw,26px);line-height:1.26;letter-spacing:-.035em;margin:9px 0 10px}
.cc-guest-lock>p{color:var(--ed-muted,#718199);font-size:13px;line-height:1.75;margin:0 0 19px}
.cc-guest-buttons{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;width:100%}
.cc-guest-buttons .btn{font-size:12px;min-height:45px;display:inline-flex;align-items:center;gap:8px}
.cc-guest-buttons .icon{width:15px;height:15px}
.cc-guest-escape{border-top:1px solid var(--ed-line,#e5ebf3);margin-top:25px;padding-top:18px;display:flex;align-items:center;gap:6px;flex-direction:column;font-size:11px;color:var(--ed-muted,#7e8da1)}
.cc-guest-escape a{display:inline-flex;gap:6px;align-items:center;color:var(--ed-accent,#5173cb);font-size:12px;font-weight:750;outline-offset:3px}
.cc-guest-escape .icon{width:14px;height:14px}
.cc-guest-private-note{margin:16px 4px 0;display:flex;align-items:center;gap:7px;justify-content:center;font-size:10px;line-height:1.6;color:var(--ed-muted,#8090a5);text-align:center}
.cc-guest-private-note .icon{width:13px;height:13px;flex:none}
.cc-guest-checking{color:var(--ed-muted,#72839c);font-size:12px}
html[data-theme="dark"] .cc-guest-lock{box-shadow:0 23px 65px rgba(0,0,0,.36)}
@media(max-width:650px){
 .cc-guest-landing{padding-bottom:28px}
 .cc-guest-preview{min-height:480px;border-radius:18px}
 .cc-guest-skeleton{padding:15px;gap:13px}
 .cc-guest-fake-card{padding:20px;min-height:100px}
 .cc-guest-lock{width:calc(100% - 30px);margin:20px 15px;padding:29px 19px 24px;border-radius:18px}
 .cc-guest-buttons{flex-direction:column}
 .cc-guest-buttons .btn{width:100%;justify-content:center}
 .cc-guest-heading{margin-bottom:20px}
}
@media(prefers-reduced-motion:reduce){.cc-guest-landing *{transition:none!important;animation:none!important}}

/* Verified readers may browse privately without publishing a directory profile. */
.cc-verified-reader-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 20px;padding:13px 16px;border:1px solid var(--ed-line,#e0e7f2);border-radius:12px;background:var(--ed-soft,#f3f6fb);color:var(--ed-muted,#61728c);font-size:12px;line-height:1.7}
.cc-verified-reader-note>.icon{color:var(--ed-accent,#506dc3);width:17px;height:17px;flex:none}
.cc-verified-reader-note button{font-weight:800;color:var(--ed-accent,#4e70c8);text-decoration:underline;text-underline-offset:3px}
.cc-thread-compose.cc-verified-reader-note{padding:18px 24px;margin:0;border-radius:0;border:0;border-top:1px solid var(--ed-line,#e0e7f2)}

/* Avatar edits happen directly on the picture, without an upload form. */
.avatar.cc-avatar-photo{position:relative;overflow:hidden;isolation:isolate}
.avatar.cc-avatar-photo .cc-avatar-img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;z-index:1;border-radius:inherit;background:transparent}
.avatar.cc-avatar-anonymous{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px}
.avatar.cc-avatar-anonymous .icon{width:18px;height:18px;stroke-width:1.8}
.cc-profile-avatar-editor{display:flex;gap:22px;align-items:center;border:1px solid var(--ed-line,#dfe7f0);border-radius:17px;padding:22px;margin-bottom:24px;background:var(--ed-soft,#f6f8fb)}
.cc-avatar-main{flex:none;align-self:flex-start;width:88px;height:88px;position:relative}
.cc-avatar-edit-trigger{position:relative;display:grid;place-items:center;width:88px;height:88px;padding:0;border-radius:50%;cursor:pointer;isolation:isolate;border:0;background:transparent;color:inherit;appearance:none;-webkit-appearance:none}
.cc-avatar-edit-trigger>.avatar{width:84px;height:84px;border-width:3px;font-size:25px;pointer-events:none;overflow:hidden}
.cc-avatar-edit-trigger .cc-avatar-img{width:100%;height:100%;object-fit:cover}
.cc-avatar-edit-overlay{position:absolute;inset:2px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#fff;background:rgba(14,28,48,.72);opacity:0;transition:opacity .19s ease;z-index:3;pointer-events:none}
.cc-avatar-edit-overlay .icon{width:20px;height:20px;stroke-width:1.9}
.cc-avatar-edit-text{color:inherit;font-size:10px;font-weight:750;line-height:1.1}
.cc-avatar-edit-trigger:is(:hover,:focus-visible) .cc-avatar-edit-overlay{opacity:1}
.cc-avatar-edit-trigger:focus-visible{outline:3px solid var(--ed-accent,#6994ea);outline-offset:4px}
.cc-avatar-edit-trigger:disabled{cursor:progress;opacity:.78}
.cc-avatar-edit-trigger[aria-busy="true"] .cc-avatar-edit-overlay{opacity:1}
.cc-avatar-controls{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.cc-avatar-controls>strong{color:var(--ed-ink,#293b55);font-size:15px;line-height:1.35}
.cc-avatar-visibility,.cc-avatar-caption{color:var(--ed-muted,#77869b);font-size:11px;line-height:1.6}
.cc-avatar-remove{color:#dd7084;font-size:11px;font-weight:720;margin-top:5px;text-decoration:underline;text-underline-offset:3px}
.cc-avatar-remove:hover{color:#f05d76}
.cc-avatar-remove:focus-visible{outline:2px solid var(--ed-accent,#6b8bca);outline-offset:3px}
@media(hover:none){.cc-avatar-edit-overlay{opacity:1;background:linear-gradient(to bottom,transparent 32%,rgba(14,28,48,.75) 100%);justify-content:flex-end;padding-bottom:13px}.cc-avatar-edit-overlay .icon{width:16px;height:16px}.cc-avatar-edit-text{font-size:9px}}
@media(max-width:650px){.cc-profile-avatar-editor{flex-direction:row;align-items:center;gap:17px;padding:18px}.cc-avatar-main,.cc-avatar-edit-trigger{width:78px;height:78px}.cc-avatar-edit-trigger>.avatar{width:74px;height:74px;font-size:22px}.cc-avatar-edit-overlay{inset:2px}.cc-avatar-controls>strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cc-avatar-edit-overlay{transition:none}}
