/* Shared 2009 visual system. Layout and theme changes belong here. */
:root {
  --blue: #3b5998;
  --blue-dark: #294778;
  --blue-light: #edf2f7;
  --ink: #303840;
  --muted: #727f8b;
  --line: #d5dde5;
  --paper: #fff;
  --bg: #e9edf1;
  --classic-bar: #eef2f6;
  --classic-input: #fff;
  --classic-input-border: #acbdcd;
  --classic-hover: #e3ebf3;
  --font-sans: Tahoma, Arial, sans-serif;
  --font-display: Tahoma, Arial, sans-serif;
}
:root[data-theme="dark"] {
  --blue: #a9c0e3;
  --blue-dark: #c2d3ed;
  --blue-light: #252e3c;
  --ink: #dce2e9;
  --muted: #a1acb9;
  --line: #354150;
  --paper: #1b222b;
  --bg: #121820;
  --classic-bar: #242e3b;
  --classic-input: #151c25;
  --classic-input-border: #52637a;
  --classic-hover: #303e50;
}
html { scroll-behavior: auto; scroll-padding-top: 75px; }
:root body { font: 12px/1.55 Tahoma, Arial, sans-serif; background: var(--bg); color: var(--ink); }
button, input, textarea, select { font-family: Tahoma, Arial, sans-serif; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .58; }
:root a { color: var(--blue); }
a:hover { text-decoration: underline; }
.ui-icon { stroke-width: 1.6; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--paper); border: 2px solid var(--blue); }
.skip-link:focus { top: 8px; }
:root .topbar { height: 52px; min-height: 52px; top: 0; background: linear-gradient(#58779c, #416187); border-color: #304b6e; }
:root[data-theme="dark"] .topbar { background: linear-gradient(#334967, #263b56); border-color: #18263a; }
.topbar-inner, .layout { width: min(1100px, calc(100% - 32px)); }
.app-topbar { gap: 24px; }
:root .brand { flex-shrink: 0; color: white; font: bold 28px/1 Arial, sans-serif; letter-spacing: -1.5px; text-decoration: none; }
.brand span { color: #cad9e9; }
.app-topbar .brand { width: 162px; }
.search-box { width: 335px; height: 29px; flex: 0 1 335px; }
:root .search-box, :root .search-box input, :root .search-box button { background: #fff; color: #344658; color-scheme: light; }
:root .search-box input { font: 12px Tahoma, Arial, sans-serif; height: 100%; padding: 0 8px; }
:root .search-box input::placeholder { color: #7c8793; }
:root .search-box button { display: grid; place-items: center; border-color: #d5dde5; }
.header-nav { gap: 5px; }
:root .header-nav > button, :root .theme-toggle-login, :root .sound-toggle-login {
  position: relative; width: 32px; height: 32px; min-width: 32px; padding: 0; display: grid; place-items: center;
  border: 1px solid #7d95b1 !important; background-color: #3d5b80 !important; color: #fff !important;
}
:root .header-nav > button > .ui-icon, :root .theme-toggle-login > .ui-icon, :root .sound-toggle-login > .ui-icon {
  position: absolute; inset: 0; width: 17px; height: 17px; margin: auto; vertical-align: 0;
}
:root .header-nav .mini-avatar { background-color: #dce7f2 !important; color: #365271 !important; border: 2px solid #adc0d5 !important; font-size: 11px; }
:root .header-nav .mini-avatar.has-profile-image { color: transparent !important; background-repeat: no-repeat; }
.layout { grid-template-columns: 172px minmax(0, 1fr) 224px; gap: 14px; align-items: start; }
.left-sidebar, .right-sidebar, .feed { padding-top: 16px; }
.feed { overflow: visible; padding-bottom: 35px; }
:root .profile-summary { align-items: center; gap: 9px; padding: 1px 3px 13px; border-color: var(--line); }
:root .profile-summary .avatar { width: 43px; height: 43px; }
:root .profile-summary strong { font-size: 12px; color: var(--ink); overflow-wrap: anywhere; }
:root .profile-summary small { font-size: 10px; color: var(--muted); }
:root .side-nav a { height: 32px; padding: 0 8px; gap: 9px; border-left: 3px solid transparent; color: var(--blue); font-size: 12px; }
:root .side-nav a.active { padding-left: 8px; border-left-color: #557a9f; background: var(--classic-hover); color: var(--blue-dark); }
:root .side-nav a:hover { background: var(--blue-light); }
.side-nav a .ui-icon { width: 15px; height: 15px; margin: 0; }
.side-label { font-size: 10px; letter-spacing: 0; }
.community-link { font-size: 11px; }
.community-link small { font-size: 10px; }
.sidebar-help { display: flex; flex-wrap: wrap; gap: 5px 10px; border-top: 1px solid var(--line); padding: 12px 6px 0; margin-top: 14px; font-size: 10px; }
.sidebar-help a { text-decoration: none; }
.sidebar-signature { padding: 0 6px; color: var(--muted); font-size: 10px; }
.sidebar-signature span { color: var(--muted); }
.mobile-navigation-toggle { display: none; }
.page-location { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 11px; padding: 0 2px 9px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.page-location b { font-weight: normal; color: var(--ink); }
.page-location a { text-decoration: none; }
.page-location-help { font-size: 10px; }
:root .panel, :root .wall-profile, :root .community-profile { border: 1px solid var(--line); background: var(--paper); box-shadow: none; }
:root .panel-heading, :root .card-title { background: var(--classic-bar); border-color: var(--line); color: var(--blue-dark); min-height: 32px; padding: 8px 10px; font-size: 10px; letter-spacing: 0; }
.panel-heading b { font-size: 10px; letter-spacing: 0; }
.panel-heading button { font-size: 10px; }
:root .feed-intro { padding: 0 0 12px; gap: 8px; }
.feed-intro > div { display: grid; gap: 3px; }
:root .feed-intro b { font-size: 17px; color: var(--blue-dark); }
:root .feed-intro div span { font-size: 11px; color: var(--muted); }
.feed-intro .recommendation-note { display: none; }
:root .composer { padding: 12px; background: var(--paper); }
:root .composer textarea { min-height: 64px; padding: 10px; font-size: 12px; line-height: 1.6; }
.composer-actions { margin-left: 45px; gap: 8px; flex-wrap: wrap; }
.composer-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.composer-actions button, .composer-file-button { font-size: 11px; }
.composer-file-button { gap: 4px; }
.composer-file-button > .ui-icon:nth-child(2) { display: none; }
.composer-shortcut { margin: 7px 0 0 45px; color: var(--muted); font-size: 10px; }
:root .publish-btn, :root .primary-btn, :root .composer-actions .publish-btn {
  min-height: 31px; border: 1px solid #355475; padding: 7px 13px;
  background: linear-gradient(#7290ae, #4d7096); color: #fff; font-size: 11px;
  text-shadow: 0 1px #425e7d; box-shadow: inset 0 1px #99aec2;
}
:root .primary-btn:hover, :root .publish-btn:hover { background: #45678c; }
:root .feed-tabs, :root .directory-tabs { gap: 4px; margin: 14px 0 10px; padding: 0 7px; border-bottom: 1px solid #aebecd; overflow-x: auto; }
:root .feed-tabs button, :root .directory-tabs button { flex-shrink: 0; padding: 7px 12px; border: 1px solid transparent; border-bottom: 0; font-size: 11px; color: var(--blue); }
:root .feed-tabs button.active, :root .directory-tabs button.active { color: var(--blue-dark); background: var(--paper); border-color: #aebecd; font-weight: bold; }
:root .public-feed-rule { padding: 9px 10px; font-size: 10px; line-height: 1.6; color: var(--muted); background: var(--classic-bar); border-color: var(--line); }
:root .post { padding: 14px; margin-bottom: 12px; }
.post-header .avatar { width: 44px; height: 44px; }
:root .post-author { color: var(--blue-dark); font-size: 12px; }
:root .post-meta { color: var(--muted); font-size: 10px; }
:root .post-body { margin: 9px 0 12px 53px; font-size: 13px; line-height: 1.65; color: var(--ink); }
.post-media, .post-uploaded-media, .post-repost-attachment { margin-left: 53px; }
.post-actions { flex-wrap: wrap; gap: 8px 13px; margin-left: 53px; }
.post-actions button { font-size: 11px; }
:root .post-votes { border: 1px solid var(--line); border-radius: 0; background: var(--classic-bar); padding: 0; gap: 0; }
.post-votes button { min-width: 26px; min-height: 26px; }
:root .post-votes b { font-size: 11px; min-width: 25px; color: var(--ink); }
:root .post-comments { margin: 10px 0 0 53px; padding: 2px 9px 10px; background: var(--blue-light); border-color: var(--line); }
.comment { gap: 8px; }
.comment-avatar { width: 30px; height: 30px; }
:root .comment-body, :root .comment-body span { font-size: 12px; color: var(--ink); line-height: 1.6; }
:root .comment-author, :root .comment-body b { font-size: 11px; color: var(--blue-dark); }
:root .comment-body small, :root .comment-author i { font-size: 10px; color: var(--muted); }
.comment-actions .reply-toggle, .comment-actions .comment-delete, .comment-actions b { font-size: 10px; }
.comment-actions button { min-height: 25px; min-width: 22px; }
.comment-replies { margin-left: 20px; padding-left: 8px; }
.comment-replies .comment-replies { margin-left: 8px; }
.comment-form input, .comment-reply-form input { font-size: 11px; }
.comment-form button, .comment-reply-form button { font-size: 10px; }
:root :is(.avatar, .comment-avatar, .directory-avatar, .wall-profile-avatar):not(.has-profile-image) {
  background-color: #dce5ee !important; color: #486887 !important; border-color: #afc0d1 !important;
}
:root[data-theme="dark"] :is(.avatar, .comment-avatar, .directory-avatar, .wall-profile-avatar):not(.has-profile-image) {
  background-color: #35465a !important; color: #c0d1e5 !important; border-color: #53677e !important;
}
:root :is(.directory-hero, .teachers-hero, .schedule-hero, .content-page-hero) { border-top: 1px solid var(--line); padding: 16px; background: var(--paper); }
:root :is(.directory-hero, .teachers-hero, .schedule-hero, .content-page-hero) h1 { font-size: 20px; color: var(--blue-dark); line-height: 1.3; margin-bottom: 6px; }
:root .eyebrow { font-size: 10px; letter-spacing: .4px; color: var(--muted); }
:root :is(.directory-hero, .teachers-hero, .schedule-hero, .content-page-hero) p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.directory-hero-heading { gap: 12px; flex-wrap: wrap; }
:root :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]) {
  background-color: var(--classic-input); border-color: var(--classic-input-border); color: var(--ink); border-radius: 0;
}
:root #globalSearchForm input { background: white; color: #344658; color-scheme: light; }
:root #globalSearchForm input::placeholder { color: #7c8793; }
:root[data-theme="dark"] #globalSearchForm,
:root[data-theme="dark"] #globalSearchForm input,
:root[data-theme="dark"] #globalSearchForm button {
  background: var(--classic-input); color: var(--ink); border-color: var(--classic-input-border); color-scheme: dark;
}
:root[data-theme="dark"] #globalSearchForm input::placeholder { color: var(--muted); }
:root[data-theme="dark"] #globalSearchForm button:hover { background: var(--classic-hover); color: var(--blue); }
:root input::placeholder, :root textarea::placeholder { color: var(--muted); opacity: 1; }
:root :is(input, textarea, select):focus-visible { outline: 2px solid #7397b9; outline-offset: 1px; }
:root :is(.friend-action, .friend-secondary, .community-join, .rate-btn, .event-going-btn, .event-owner-btn, .edit-profile-btn, .load-more, .sync-btn) {
  font-size: 11px; min-height: 30px; border: 1px solid var(--classic-input-border); background: linear-gradient(var(--paper), var(--classic-bar)); color: var(--blue-dark); padding: 6px 10px;
}
:root .event-going-btn.going, :root .friend-status-incoming { background: #4d7096; color: #fff; border-color: #355475; }
.directory-name, .community-card-name, .teacher-name { font-size: 13px; }
.person-card-copy span, .person-card-copy small, .directory-nickname, .community-card p, .teacher-meta, .teacher-subjects { font-size: 11px; }
.events-toolbar, .teachers-toolbar, .lost-found-toolbar { font-size: 11px; flex-wrap: wrap; gap: 8px; }
.event-list { gap: 12px; }
.campus-event-cover { min-height: 155px; }
.campus-event-cover.no-event-image { min-height: 99px; background: var(--classic-bar) !important; align-items: center; padding: 17px; border-bottom: 1px solid var(--line); }
.campus-event-cover.no-event-image::after { display: none; }
.campus-event-cover.no-event-image h2 { color: var(--blue-dark); }
.campus-event-cover.no-event-image .campus-event-cover-copy span { color: var(--muted); }
.campus-event-cover-copy h2 { font-size: 17px; line-height: 1.4; }
.campus-event-cover-copy span { font-size: 11px; line-height: 1.6; }
:root .campus-event-date { width: 50px; flex-shrink: 0; border: 1px solid #afbecf; background: #fff; color: #456282; padding: 8px 0 0; }
.campus-event-date b { font-size: 24px; line-height: 1.1; }
.campus-event-date span { background: #6683a4; color: white; padding: 4px 0; font-size: 9px; margin-top: 7px; }
:root[data-theme="dark"] .campus-event-date { background: var(--classic-input); color: var(--blue); border-color: var(--classic-input-border); }
:root[data-theme="dark"] .campus-event-date span { background: var(--classic-hover); color: var(--ink); }
.campus-event-content { padding: 15px; }
:root .campus-event-description { color: var(--ink); font-size: 12px; }
.campus-event-author, .campus-event-author button { font-size: 11px; }
.campus-event-footer { gap: 8px; }
.campus-event-author { flex-basis: 100%; }
.event-repost-btn { font-size: 10px; min-height: 30px; }
:root .wall-cover, :root .wall-cover.has-profile-banner { height: auto; aspect-ratio: 3.4 / 1; background-size: cover; background-position: center; background-color: #7793b0; }
:root .wall-profile-main { margin-top: 0; padding: 16px; display: grid; grid-template-columns: 80px minmax(0,1fr); align-items: start; gap: 8px 14px; }
.wall-profile-avatar { width: 80px; height: 80px; grid-row: 1 / 3; }
.wall-profile-info { padding: 0; }
:root .wall-profile-info h1 { font-size: 19px; line-height: 1.4; color: var(--blue-dark); }
.wall-profile-info p, .wall-nickname { font-size: 11px; }
.wall-profile-stats { grid-column: 2; justify-content: flex-start; gap: 24px; width: auto; padding: 3px 0; margin: 0; }
.wall-profile-stats span { font-size: 10px; }
.wall-profile-main .edit-profile-btn { grid-column: 2; justify-self: start; margin: 0; white-space: normal; }
.profile-details { padding: 0 16px 16px; gap: 10px; }
:root .profile-detail-card, :root .profile-details-empty { background: var(--classic-bar); border-color: var(--line); }
.profile-detail-card > span { font-size: 10px; letter-spacing: 0; }
:root .profile-detail-card p, .favorite-item { font-size: 12px; color: var(--ink); }
:root .community-cover, :root .community-profile.has-community-banner .community-cover { height: auto; aspect-ratio: 4 / 1; background-size: cover; background-position: center; }
.community-profile-main { gap: 12px; }
.community-profile h1 { font-size: 20px; }
.community-profile-description { font-size: 12px; }
.community-card-icon.community-icon:not(.has-profile-image) { font-size: 12px; }
.community-profile-icon.community-icon:not(.has-profile-image) { font-size: 15px; }
.right-sidebar .panel { margin-bottom: 12px; }
.info-panel { display: grid; grid-template-columns: 1fr 1fr; padding: 0 0 10px; gap: 0; }
.info-panel .panel-heading { grid-column: 1 / -1; }
.info-panel .stat { display: block; padding: 11px 11px 0; margin: 0; }
.info-panel .stat + .stat { border-left: 1px solid var(--line); }
:root .stat strong { display: block; color: var(--blue-dark); font-size: 25px; line-height: 1.25; }
.stat span { display: block; font-size: 10px; margin-top: 4px; }
.event b, .person .suggested-person-name { font-size: 11px; }
.event small, .person small, .suggestion-reason, .people-suggestions-all { font-size: 10px; }
.person .suggested-person-name, .suggested-person-copy small { max-width: 145px; }
.right-sidebar .app-footer { font-size: 10px; }
.news-card-body h2, .proposal-card h2 { font-size: 17px; }
.news-card-body p, .proposal-card p, .lost-found-card-copy p, .content-page-card p, .content-page-section p, .rule-card p { font-size: 12px; line-height: 1.65; }
.news-inline-media figcaption, .proposal-meta, .proposal-reply p { font-size: 11px; }
.news-composer input, .news-composer textarea, .proposal-composer input, .proposal-composer textarea, .lost-found-composer input, .lost-found-composer textarea, .lost-found-composer select { font-size: 12px; }
:root .modal { z-index: 100; padding: 20px; }
:root .modal-backdrop { background: rgba(19,32,47,.6); }
:root .modal-card { padding: 21px; border: 5px solid #8097ae; background: var(--paper); max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 2px 18px #0004; }
:root .modal-card h2 { font: bold 19px/1.4 Tahoma, Arial, sans-serif; padding: 0 22px 12px 0; border-bottom: 1px solid var(--line); color: var(--blue-dark); }
.modal-card label, .modal-card label > span, .modal-card input, .modal-card textarea, .modal-card select { font-size: 12px; }
.modal-card small, .modal-card p { font-size: 11px; }
.modal-close { width: 29px; height: 29px; right: 8px; top: 8px; }
.profile-editor-actions { gap: 10px; padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--line); }
.profile-editor-actions .primary-btn { width: auto; }
.score-buttons button { min-width: 32px; min-height: 32px; font-size: 12px; }
.modal-open { overflow: hidden; }
:root .notification-panel, :root .account-menu { background: var(--paper); border-color: var(--classic-input-border); top: 42px; }
.notification-copy b { font-size: 12px; }
.notification-copy span { font-size: 11px; }
.notification-copy small, .mention-notification-setting, .notification-settings-link, .notification-panel > header span { font-size: 10px; }
.header-nav .notification-panel > header button { font-size: 10px; }
:root .login-screen { background: var(--bg); }
.login-main { width: min(960px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr) 340px; gap: 65px; padding: 60px 0; }
:root .intro h1 { color: var(--blue-dark); font: bold 32px/1.2 Arial, sans-serif; letter-spacing: -.7px; }
:root .intro-copy { font: 14px/1.7 Tahoma, Arial, sans-serif; color: var(--ink); }
.feature-list { margin-top: 27px; }
.feature-list p { font-size: 12px; }
:root .feature-list b { color: var(--blue-dark); }
:root .feature-list > div { border-color: var(--line); }
:root .login-card { background: var(--paper); border-color: var(--classic-input-border); }
.login-card form { padding: 21px; }
.login-card input, .login-card select { padding: 9px; font-size: 13px; }
.login-card .card-title { font-size: 11px; }
.field-hint, .nickname-hint, .secure-note, .corporate-mail-help-content, .registration-note { font-size: 11px; }
:root .corporate-mail-help, :root .secure-note, :root .corporate-mail-help-content p { background: var(--classic-bar); border-color: var(--line); color: var(--muted); }
:root .corporate-mail-help summary { color: var(--blue-dark); font-size: 11px; padding: 12px 32px 12px 20px; }
.corporate-mail-help-content { padding: 0 20px 14px; }
.login-footer { border-color: var(--line); color: var(--muted); font-size: 11px; letter-spacing: 0; }
.back-to-top { position: fixed; bottom: 18px; left: 18px; z-index: 35; border: 1px solid var(--classic-input-border); padding: 8px 12px; background: var(--paper); color: var(--blue); font-size: 11px; }
/* The isolated server beta reuses the same classic controls. */
#betaContent button:not(.publish-btn), #betaAuth .text-btn {
  border: 1px solid var(--classic-input-border); background: var(--classic-bar); color: var(--blue);
  font: 11px Tahoma, Arial, sans-serif; padding: 6px 9px; min-height: 30px; cursor: pointer;
}
#betaContent button[aria-pressed="true"] { background: var(--classic-hover); border-color: var(--blue); font-weight: bold; }
#betaContent .post-actions { margin-left: 0; }
#betaContent .post-comments { margin-left: 0; }
#betaContent .comment-body { min-width: 0; width: 100%; }
#betaContent .comment-body small { display: block; }
#betaMessage:not(:empty) { border: 1px solid var(--line); background: var(--classic-bar); color: var(--ink); padding: 10px; }
@media (max-width: 1040px) {
  .layout { grid-template-columns: 165px minmax(0,1fr); max-width: 870px; }
  .right-sidebar { display: none; }
  .topbar-inner { max-width: 870px; }
  .app-topbar .brand { width: 155px; }
}
@media (max-width: 760px) {
  :root body { overflow-x: visible; }
  :root .topbar { height: auto; min-height: 48px; }
  .topbar-inner { width: calc(100% - 20px); }
  .app-topbar { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 36px 32px; gap: 5px 8px; padding: 5px 0 8px; }
  .app-topbar .brand { width: auto; font-size: 25px; grid-column: 1; grid-row: 1; }
  .header-nav { grid-column: 2; grid-row: 1; }
  .search-box { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 30px; }
  .search-box input { width: 100%; }
  :root .header-nav .sound-toggle { display: none; }
  .topbar-login .topbar-inner { min-height: 48px; }
  .topbar-login .brand { margin-right: auto; }
  .topbar-note { display: none; }
  .layout { display: block; width: calc(100% - 16px); max-width: 620px; }
  :root .left-sidebar { position: static; border: 1px solid var(--line); background: var(--paper); margin: 10px 0; padding: 0; }
  .mobile-navigation-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 41px; padding: 9px 11px; border: 0; background: var(--classic-bar); color: var(--blue-dark); text-align: left; font-weight: bold; font-size: 12px; }
  .mobile-menu-label { margin-left: auto; font-weight: normal; font-size: 11px; }
  :root .side-nav { display: none; }
  :root .left-sidebar.navigation-open .side-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; padding: 5px; background: var(--paper); }
  :root .side-nav a { height: 40px; border: 0; border-left: 3px solid transparent; background: var(--paper); padding: 0 8px; font-size: 12px; white-space: normal; }
  :root .side-nav a.active { border-bottom: 0; border-left-color: #557a9f; background: var(--classic-hover); }
  .sidebar-help, .sidebar-signature { display: none; }
  .navigation-open .sidebar-help { display: flex; padding: 10px; margin-top: 0; }
  .feed { padding-top: 0; }
  .page-location { font-size: 11px; padding-top: 1px; }
  :root .panel { border: 1px solid var(--line); }
  :root .post { padding: 12px; }
  :root .post-body, .post-media, .post-uploaded-media, .post-actions, :root .post-comments, .post-repost-attachment { margin-left: 0; }
  :root .post-body { font-size: 13px; }
  .post-actions { gap: 7px 10px; }
  .post-actions > button { min-height: 30px; }
  .post-actions button { font-size: 11px; }
  .comment-replies, .comment-replies .comment-replies { margin-left: 5px; padding-left: 6px; }
  .comment-form, .comment-reply-form { flex-wrap: wrap; }
  .comment-form input, .comment-reply-form input { min-width: 120px; }
  .composer-actions, .composer-shortcut { margin-left: 0; }
  .composer-shortcut { display: none; }
  :root :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="range"]) { font-size: 16px; }
  :root .search-box input { font-size: 16px; }
  .composer-tools { gap: 5px; }
  .composer-file-button, .composer-actions button { min-height: 32px; }
  .directory-hero-heading { flex-direction: column; gap: 7px; }
  .directory-hero-heading > .publish-btn { align-self: flex-start; }
  .directory-tabs button, .feed-tabs button { min-height: 36px; }
  .campus-event-cover { padding: 12px; }
  .campus-event-cover.no-event-image { padding: 12px; }
  .campus-event-cover-copy h2 { font-size: 16px; }
  .campus-event-cover-copy span { font-size: 11px; }
  .event-owner-actions { flex-wrap: wrap; }
  .event-going-btn { margin-left: auto; }
  :root .wall-profile-main { padding: 12px; grid-template-columns: 66px minmax(0,1fr); gap: 7px 12px; }
  .wall-profile-avatar { width: 66px; height: 66px; }
  :root .wall-profile-info h1 { font-size: 17px; }
  .wall-profile-stats { gap: 18px; }
  .profile-details { padding: 0 12px 12px; grid-template-columns: 1fr; }
  .community-profile-main { grid-template-columns: 56px minmax(0,1fr); }
  .community-profile-main > .community-profile-icon { width: 56px; height: 56px; }
  .community-profile-main > button { grid-column: 2; justify-self: start; }
  .person-card { grid-template-columns: 48px minmax(0,1fr); }
  .person-card-actions { grid-column: 2; text-align: left; }
  .profile-image-editor, .community-image-editor, .event-editor-grid, .community-editor-grid, .content-page-grid { grid-template-columns: 1fr; }
  :root .modal { padding: 8px; }
  :root .modal-card { max-height: calc(100dvh - 16px); border-width: 3px; padding: 16px; }
  .modal-card h2 { font-size: 17px; }
  .profile-editor-actions .primary-btn { flex: 1; min-width: 150px; }
  :root .notification-panel { position: fixed; top: 48px; left: 8px; right: 8px; width: auto; }
  :root .account-menu { position: fixed; top: 48px; right: 8px; }
  .login-main { display: flex; flex-direction: column; align-items: stretch; width: calc(100% - 28px); max-width: 480px; gap: 20px; padding: 26px 0; }
  :root .intro h1 { font-size: 28px; margin: 6px 0 10px; }
  .intro-copy { margin: 0; }
  .intro .eyebrow { margin-top: 0; }
  .feature-list { display: none; }
  .login-card { width: 100%; }
  .login-footer { width: calc(100% - 28px); }
  .back-to-top { bottom: 12px; left: auto; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
