/* Nanbu Alumni — autumn pine green, ginkgo gold, and ivory. */
:root{
  --green:#366142;--green-light:#f0eeea;--gold:#5c9962;
  --ink:#28422f;--muted:#627063;--bg:#f6f4f0;--line:#e4e2df;--red:#5a9760;
  --ui-label:#34533d;--ui-border:#849986;--ui-placeholder:#687a6a;
  --ui-soft:#f3f2f0;--ui-hover:#eeece7;--ui-active:#2b4d35;
  --surface-shadow:0 2px 4px #28422f02,0 10px 28px #28422f04;
  font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
body{background:var(--bg);color:var(--ink)}
.workspace{min-height:100dvh}
h1,h2,h3{color:inherit}
.eyebrow,.section-heading .eyebrow{color:#6a7c6c;font-weight:600;letter-spacing:2px}
.page-heading h1{font-weight:700;letter-spacing:.5px}
.page-heading p{color:var(--muted);font-size:14px}
.topbar{background:#ffffffed;border-color:var(--line);box-shadow:0 2px 12px #33493903}
.global-search input{background:#f9f8f6;border-color:#e9e7e3;border-radius:10px;color:var(--ink)}
.global-search svg,.icon-btn,.breadcrumb{color:#6f7c70}
.breadcrumb b{color:var(--ink)}
.icon-btn{border-radius:10px}
.icon-btn:hover{background:var(--ui-soft);color:var(--green)}
.mobile-home>span{color:#2e4133}.mobile-home small{color:#6d7a6e}
.topbar .topbar-publish{color:#fff;background:var(--green);border:1px solid #ad9f85;box-shadow:0 3px 10px #2b4d3512;border-radius:50%;border-color:var(--green)}
.topbar .topbar-publish:hover{background:#547b58;box-shadow:0 5px 18px #65926935}

/* Soft navigation and warm surfaces keep long reading comfortable. */
.sidebar{background:#fbfaf7;border-right-color:#e5e3de;color:#34573e}
.sidebar .brand strong{color:#2b4633;letter-spacing:1px;font-size:16px}.sidebar .brand small{color:#657b67}
.sidebar .brand img{border-radius:50%;background:#fff;box-shadow:0 0 0 4px #ffffff09}
.sidebar .nav-label{color:#69816b;letter-spacing:1.2px}
.sidebar .nav-link{color:#526f55;border:1px solid transparent;border-radius:8px;padding:13px 14px;font-size:14px}
.sidebar .nav-link:hover{background:#e9e6e1;color:#34573e}
.sidebar .nav-link.active{color:#2d5137;background:#f1efeb;border-color:transparent;box-shadow:inset 2px 0 #5c9962;font-weight:600}
.sidebar .profile{border-top-color:#e0ddd7}.sidebar .profile small{color:#657b67}.sidebar .icon-btn{color:#526f55}
.sidebar .icon-btn:hover{background:#e9e6e1;color:#34573e}
.side-note{background:transparent;border-color:#e3e1dc;border:0;border-top:1px solid #e3e0da;border-radius:0;padding:20px 8px}.side-note strong{font-family:inherit;color:#3c5d45;font-size:16px;font-weight:600}.side-note p{color:#657b67}

/* Hero: a calm mist-blue surface with a soft, slow emblem halo. */
.home-hero{background:linear-gradient(115deg,#375d42,#2e5138);border:1px solid #466b50;border-radius:16px;box-shadow:0 6px 20px #2746300e;color:#fff;padding:32px 38px;min-height:228px}
.home-hero::before{border-color:#83a3861a;box-shadow:none;display:none}
.home-hero::after{border-color:#83a38612;background:none;background-size:36px 36px;display:none}
.hero-kicker{color:#e6e3dc;letter-spacing:2px;font-size:12px}.hero-kicker>span{background:#c3b395;box-shadow:none;width:16px;height:1px;border-radius:0}
.home-hero h1{font-family:inherit;font-weight:700;letter-spacing:2px;color:#fff;font-size:44px;line-height:1.4;margin:15px 0 12px}
.home-hero p{color:#e9e6e0;font-size:14px}.hero-signature,.hero-emblem{color:#dfdbd3;border-left:1px solid #ffffff24}
.hero-emblem img{box-shadow:0 0 0 1px #ffffff90,0 0 0 10px #ffffff35,0 5px 18px #527b560c;animation:quiet-logo-breathe 5s ease-in-out infinite;width:88px;height:88px;border-width:4px}
@keyframes quiet-logo-breathe{0%,100%{box-shadow:0 0 0 1px #ffffff90,0 0 0 8px #ffffff20,0 5px 16px #527b560a}50%{box-shadow:0 0 0 1px #ffffffb0,0 0 0 12px #ffffff45,0 5px 22px #527b5614}}
.section-heading h2{font-weight:650;letter-spacing:1px;font-size:22px}
.module-card{border-color:#e6e4df;border-radius:12px;background:#fff;box-shadow:var(--surface-shadow);padding:23px 24px 20px;display:flex;flex-direction:column;height:100%}
.module-icon{background:transparent;color:#547958;border:0;border-radius:0;border-color:#ebe6dc;width:30px;height:30px}
.module-icon svg{stroke-width:1.8}
.tone-gold .module-icon{background:#f2eee6;color:#4b7d50;border-color:#e9e2d3}
.tone-blue .module-icon{background:transparent;color:#547958;border-color:transparent}
.tone-rose .module-icon{background:transparent;color:#548b5a;border-color:transparent}
.module-arrow{color:#8d9f8f}.module-card h3{color:#314737;font-weight:650;letter-spacing:.4px;font-size:20px;margin:14px 0 7px}
.module-card p{color:#627364;font-size:13px}.module-meta{color:#637665;border-color:#f1f0ed;font-size:12px;border:0;margin:0;padding:0}
.module-card:active{background:#f9f8f5}
@media(hover:hover){.module-card:hover{border-color:#d0c9ba;box-shadow:0 10px 26px #4f725215;transform:translateY(-3px)}}
.home-utilities>a,.home-utilities>button{background:transparent;border-color:#e3e1dc;color:#5a6c5c;border-radius:0;border:0;padding:8px 0;min-height:40px;font-size:13px}
.home-utilities>a:hover,.home-utilities>button:hover{background:transparent;color:var(--green)}
.home-note{border-color:var(--line)}.home-note>span{color:#698c6c}.home-note h2{font-family:inherit;font-weight:600;letter-spacing:.5px}

/* Shared surfaces, resource cards, tables and actions. */
.panel,.stat,.company-card,.resource-card,.activity-card,.toolbar,.table-wrap,.personal-hero,.social-post,.profile-related,.dm-layout{border-color:#e4e2df;border-radius:12px;box-shadow:var(--surface-shadow)}
.panel-head h2::before{background:#5c9962;height:17px;width:2px}
.btn{border-color:#dad7d1;border-radius:8px;color:#3f5a47;background:#fff}
.btn:hover{background:var(--ui-soft);border-color:#c8c2b7}
.btn.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 7px #2b4d350c;font-weight:600}
.btn.primary:hover{background:#547b58;border-color:#547b58}
.btn.danger{color:#528857;border-color:#dcd3c2;background:#fff}
.text-btn{color:#5e8462}.text-btn:hover{color:#45684f}
input,select,textarea{border-color:var(--ui-border);border-radius:8px;color:var(--ink);accent-color:var(--green)}
input::placeholder,textarea::placeholder{color:var(--ui-placeholder);opacity:1}
input:focus,select:focus,textarea:focus{outline:2px solid #bfb49f;outline-offset:2px}
.field label{color:var(--ui-label)}
.tag{background:#f6f5f2;color:#5c705e}.tag.gold{background:#f4f2ee;color:#46654f}.tag.blue{background:#f9f7f4;color:#718a74}.tag.gray{background:#f3f2f0;color:#6a746b}.tag.red{background:#f8f5f0;color:#548c5a}
.feed-row{border-color:#f1efec}.feed-symbol{background:#f7f5f2;border-color:#edeae3;color:#638867}.feed-symbol.need{background:#f3f2ef;border-color:#e4e1da;color:#44614c}
.card-meta,.stat-label,.stat-foot{color:var(--muted)}.stat-foot b{color:#597e5d}
.date-tile,.company-logo{background:#f5f4f1;color:#5d755f}.detail-block{background:#f8f7f5}
.stat-icon,.stat:nth-child(2) .stat-icon{background:#f7f5f0;color:#668b6a}.stat:nth-child(3) .stat-icon{background:#f4f2ee;color:#4b6c54}.stat:nth-child(4) .stat-icon{background:#f8f7f4;color:#788e7a}
.avatar{background:#f6f4f0;color:#5e7e61}.avatar.gold{background:#f4f2ed;color:#556e58}.avatar.blue{background:#f7f5f2;color:#67816a}.avatar.rose{background:#f6f5f3;color:#778979}
.featured-activity{background:#fcfbf8;border-color:#dfdcd5}.featured-visual{background:#f1efec}
.resource-sections{background:#f2f1ee;border-color:#e8e5e0}.resource-sections a{color:#606e61}
.resource-sections a[aria-current=page]{background:var(--green);color:#fff;box-shadow:0 2px 7px #2b4d350c;border-color:var(--green)}
.resource-click-card:hover,.resource-click-card:focus-within{border-color:#d0c9ba;box-shadow:0 8px 24px #4f725212}.resource-click-card:active{background:#faf9f6}
.content-actions .saved{background:#f7f5f2;color:#597e5d;border-color:#dad5cc}
th{background:#f7f6f5;color:#617163}td{border-color:#f0efed}
.alumni-click-row:hover td,.alumni-click-row:focus-within td{background:#faf8f5}.alumni-click-row:active td{background:#f5f3ee}
.directory-workspace .page-heading p,.directory-workspace .result-info{color:#627063}
.directory-table th{color:#5a6a5c}.directory-table td{color:#3d5845}
.directory-table .person-cell strong,.directory-table .person-cell .person-link{color:#395340}
.directory-table .person-cell small,.directory-table .edu-line small,.directory-job{color:#6b786c}
.directory-table .person-identity{color:#5a745d!important}
.directory-table .alumni-click-row{border-color:#eae8e4}
.directory-table td:first-child,.directory-table td:nth-child(5),.directory-table td:nth-child(6){border-color:#eeedea}
.directory-table td[data-label]::before{color:#6e7b6f}

/* Registration, profile and publishing share the same visual language. */
.signup-page{background:#f6f4f0}
.signup-header{border-bottom-color:#eae8e4}.signup-intro h1{font-family:inherit;letter-spacing:.5px}
.signup-card{border-color:#e4e1da;border-radius:12px;box-shadow:0 6px 26px #28422f06}
.signup-simple .identity-picker label{border-radius:10px}
.signup-simple .identity-picker label:has(input:checked){box-shadow:inset 0 0 0 1px var(--green)}
.signup-extra-education,.signup-experience,.signup-privacy,.signup-qr{background:#f8f7f5;border-color:#e7e5e0;color:#627063}
.signup-simple .signup-consent{color:#576558}
.login-art{background:linear-gradient(145deg,#eeece7,#ece7dc);color:#31583c}
.login-art h1{font-family:inherit;font-weight:700;letter-spacing:2px}.login-art p{color:#527556}.login-art .brand small,.login-art-bottom{color:#59795c}
.login-main{background:#f9f8f6}.login-box h2{color:#314737;font-weight:700}
.personal-cover{background:linear-gradient(110deg,#edebe7,#e7e3dc);color:#526954}
.personal-name h2{font-family:inherit;font-weight:650}.personal-bio{color:#627063}.personal-stats{background:#f9f8f7}
.company-photo-draft,.video-draft,.company-gallery img,.social-photos a,.social-photos.single img{background:#f9f8f6}
.avatar-preview>img{border-color:#f2efea}
dialog{border-color:#e1ded9;border-radius:14px;box-shadow:0 24px 80px #1e352438}
dialog::backdrop{background:#28463045;backdrop-filter:blur(3px)}
.modal-head{background:#fff;border-color:#edebe7}.modal-head h2{color:#314737;font-weight:700}
.modal-actions{background:#faf9f7;border-color:#e7e4df}
.publish-grid>button,.publish-grid>a{background:#fcfbf9;border-color:#e5e3df;border-radius:12px}
.publish-grid>button:hover,.publish-grid>a:hover{background:#f6f4f0;border-color:#c6beaf}
.publish-grid .publish-icon{background:#f1efec;box-shadow:none;color:#3e6549;border-radius:10px}
.publish-grid>:nth-child(2n) .publish-icon{background:#f2eee7;color:#48794d}
.share-resource-preview,.dm-resource-card{background:#f9f8f5;border-color:#e5e1d8}
.dm-sidebar{background:#faf9f8}.dm-conversation{border-color:#eeedea}
.dm-conversation:hover,.dm-conversation.selected,.dm-contact:hover{background:#f7f5f2}
.dm-bubble{background:#f5f4f2}.outgoing .dm-bubble{background:var(--green)}
.dm-draft-file,.dm-shared-media,.dm-shared-file{background:#f8f7f4}.dm-shared-media img{background:#f1f0ed}
.dm-download{color:#597e5d}.video-progress{color:#597e5d}
#toast{background:#304436;color:#fff;box-shadow:0 6px 24px #26372b30;border-radius:10px}
button:focus-visible,a:focus-visible{outline-color:#6d9771}
.directory-table .alumni-click-row:focus-within{outline-color:#6d9771}
.footer{border-color:#e9e7e3;color:#747e75}

@media(max-width:1024px){
  .topbar{background:#ffffffed;backdrop-filter:blur(16px)}
  .bottom-nav{background:#fffffff5;border-color:#eae7e2;box-shadow:0 -4px 24px #334a3909}
  .bottom-nav a{color:#657266;border-radius:12px}
  .bottom-nav a[aria-current=page]{color:#2d5037;background:#f0eee9;box-shadow:none;border-color:transparent}
  .bottom-nav a:active{background:#f6f4f0}.bottom-nav a[aria-current=page]:active{background:#547b58}
}
@media(max-width:700px){
  .home-hero{border-radius:18px}.home-hero h1{font-size:28px;letter-spacing:1px;line-height:1.4}
  .home-hero p{font-size:12px;line-height:1.8}.hero-kicker{font-size:11px;letter-spacing:.5px}
  .module-card{border-radius:14px}.module-card p{font-size:12px}.module-meta{font-size:11px}
  .module-card h3{font-size:17px}.section-heading .eyebrow{font-size:9px}
  .signup-card{border-radius:16px}
}
@media(max-width:360px){
  .home-hero{padding:20px 18px}.home-hero h1{font-size:25px}.hero-kicker{font-size:10px}
  .hero-emblem{right:17px;top:67px}.hero-emblem img{width:44px;height:44px}
  .module-card h3{font-size:16px}.module-card p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hero-emblem img{animation:none}.module-card:hover{transform:none}}

/* Keep identity choices compact on smaller phones. */
.signup-simple .identity-picker label{padding:12px 10px;gap:8px}
.signup-simple .identity-picker strong{white-space:nowrap}
@media(max-width:360px){.signup-simple .identity-picker label{padding:12px 8px;gap:6px}.signup-simple .identity-picker strong{font-size:14px}}


/* Four equal service destinations with compact secondary shortcuts. */
.home-workspace .main{max-width:1400px}
.hero-emblem{flex:0 0 190px;min-height:150px;border-left:1px solid #dfdbd4;padding-left:30px;gap:16px}
.hero-signature{margin-top:21px;letter-spacing:2px;font-size:11px}
.home-modules{margin:28px 0 0}
.section-heading .eyebrow{color:#4f7a53;font-size:10px;font-weight:500;letter-spacing:2px;margin-bottom:7px}
.module-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.module-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;margin-top:auto;padding-top:14px;border-top:1px solid #f0eee9}
.module-arrow{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e8e6e2;border-radius:50%;color:#637c66}
.module-arrow svg{width:14px;height:14px}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px;background:#fff;border:1px solid #e5e2dc;border-radius:12px;padding:8px}
.home-shortcuts>a{display:flex;align-items:center;gap:12px;padding:15px 16px;min-width:0;border-right:1px solid #eceae5}
.home-shortcuts>a:last-child{border:0}
.shortcut-icon{color:#537256;display:grid;place-items:center;flex-shrink:0}
.shortcut-icon svg{width:23px;height:23px;stroke-width:1.6}
.home-shortcuts strong{font-size:15px;font-weight:600;color:#305039;display:block}
.home-shortcuts small{font-size:12px;color:#647265;display:block;margin-top:5px;line-height:1.5}
.shortcut-arrow{margin-left:auto;color:#738575}.shortcut-arrow svg{width:14px}
.home-shortcuts>a:hover{background:#f8f6f3;border-radius:7px}
.home-utilities{gap:26px;justify-content:space-between;padding:7px 3px 8px;margin:0 0 18px}
.home-utilities>a,.home-utilities>button{flex:initial;gap:8px}
.home-utilities svg:last-child{margin-left:5px}
.resource-sections{border-radius:10px;background:#f1efec;padding:5px}
.resource-sections a{border-radius:7px}
.personal-cover{border-bottom:1px solid #dfdcd5}
.publish-grid{gap:12px}
.publish-grid>button,.publish-grid>a{position:relative;padding:22px 20px;gap:10px}
.publish-grid strong{font-size:18px;font-weight:600;color:#2e4e37}
.publish-grid small{font-size:14px;color:#657166}
.publish-grid>button:after{content:'';position:absolute;right:19px;top:24px;width:7px;height:7px;border-top:1.5px solid #6a7e6c;border-right:1.5px solid #6a7e6c;transform:rotate(45deg)}
.publish-grid>button:hover{background:#f6f4ef;border-color:#b6b0a5}
.signup-simple .signup-intro h1{font-size:27px;letter-spacing:1px;font-weight:650}
.signup-simple .identity-picker label{border-radius:8px}
@media(hover:hover){.module-card:hover{border-color:#cac5ba;box-shadow:0 7px 24px #2b4d350a;transform:translateY(-2px)}}
@media(max-width:1200px) and (min-width:701px){.home-hero{padding:28px}.home-hero h1{font-size:34px}.hero-emblem{flex-basis:140px;padding-left:20px}.module-card{padding:20px}.home-shortcuts>a{padding:14px 10px;gap:9px}.home-shortcuts small{font-size:11px}}
@media(max-width:1024px){
  .bottom-nav{padding-top:7px;background:#fefdfcf5;border-top-color:#e4e1dc;box-shadow:0 -3px 18px #27463005}
  .bottom-nav a{position:relative;font-size:14px;gap:4px;border-radius:9px;color:#5f7061}
  .bottom-nav a[aria-current=page]{font-weight:700}
  .bottom-nav a[aria-current=page]:before{content:'';width:16px;height:2px;background:#518656;position:absolute;top:0;border-radius:2px}
  .bottom-nav a[aria-current=page]:active{background:#e9e5dd;color:#2d5037}
}
@media(max-width:700px){
  .home-hero{padding:22px 21px;min-height:191px;border-radius:12px}
  .home-hero h1{font-size:32px;line-height:1.35;letter-spacing:2px;margin:13px 0 10px}
  .home-hero p{font-size:12px;max-width:100%;line-height:1.7}
  .hero-kicker{font-size:10px;letter-spacing:1px;gap:7px}
  .hero-emblem{min-height:0;border:0;padding:0;right:22px;top:64px}
  .hero-emblem img{width:62px;height:62px;border-width:3px}
  .home-modules{margin-top:23px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:21px}
  .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .module-card{padding:18px 16px 15px;border-radius:11px}
  .module-card h3{font-size:18px;margin:10px 0 6px}.module-card p{font-size:12px;line-height:1.65}
  .module-icon{width:25px;height:25px}.module-icon svg{width:23px;height:23px}
  .module-meta{font-size:11px;line-height:1.6}.module-foot{margin-top:12px;padding-top:10px;min-height:24px;gap:6px}
  .home-shortcuts{padding:8px 0;margin-top:12px;border-radius:11px}
  .home-shortcuts>a{flex-direction:column;justify-content:center;gap:8px;padding:8px 4px;min-height:74px}
  .home-shortcuts strong{font-size:14px;white-space:nowrap}.home-shortcuts small,.shortcut-arrow{display:none}
  .shortcut-icon svg{width:22px;height:22px}
  .home-utilities{margin-bottom:13px;padding-top:5px;gap:12px}.home-utilities>a,.home-utilities>button{font-size:12px;min-height:38px}
  .home-workspace .featured-activity,.home-workspace .panel{border-radius:12px}
  .publish-grid>button,.publish-grid>a{padding:19px 15px}
  .publish-grid>button:after{right:18px;top:23px}
  .signup-simple .signup-intro h1{font-size:24px}
}
@media(max-width:360px){
  .home-hero{padding:20px 17px;min-height:184px}.home-hero h1{font-size:28px;letter-spacing:1px}
  .hero-kicker{font-size:9px;letter-spacing:.5px}.hero-emblem{right:18px;top:67px}.hero-emblem img{width:46px;height:46px}
  .home-hero p{font-size:11px}
  .module-card{padding:15px 12px}.module-card h3{font-size:17px}.module-card p{font-size:11px}.module-meta{font-size:11px}
  .home-utilities{gap:8px}.home-utilities>a,.home-utilities>button{font-size:11px;gap:4px}
  .home-shortcuts strong{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.module-card:hover{transform:none}.hero-emblem img{animation:none}}


/* Service grid remains balanced from desktop to narrow phones. */
.module-grid{grid-auto-rows:1fr}
.module-card p{margin-bottom:18px}
.tone-gold .module-icon{background:transparent;border:0;color:#548b5a}
.module-foot{flex-shrink:0}
@media(max-width:1024px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .home-hero p{font-size:13px;line-height:1.7}
  .hero-kicker{font-size:11px;letter-spacing:.6px}
  .hero-emblem{border:0}
  .module-foot{margin-top:auto}
  .module-card p{margin-bottom:14px}
}
@media(max-width:360px){
  .home-hero h1{font-size:29px}
  .hero-kicker{font-size:10px}
  .home-hero p{font-size:12px}
}

/* Alumni autumn identity: consistent navigation and clear content hierarchy. */
:root{--green:#347847;--green-light:#f7f3ec;--gold:#48784d;--ink:#223226;--muted:#5d705f;--bg:#f7f4ef;--line:#e7e1d4;--red:#558e5b;--ui-label:#334939;--ui-border:#a9a090;--ui-placeholder:#637765;--ui-soft:#f8f5ef;--ui-hover:#f2ede2;--ui-active:#285e37;--title-font:"STSong","Songti SC","SimSun",serif}
.page-heading{border-bottom:1px solid var(--line);padding-bottom:20px}.page-heading h1{color:#275b36;font-weight:700;letter-spacing:1px}
.topbar{background:#fdfdfc;border-top:3px solid var(--green);border-bottom:1px solid var(--line);box-shadow:0 2px 12px #224f2f05}
.global-search input{background:#f8f6f1;border-color:#dfd8ca;border-radius:5px}.global-search svg,.icon-btn{color:#567859}
.mobile-home>span{color:#2d693e;font-weight:700;letter-spacing:1px}.mobile-home small{color:#406f4d;font-weight:500}
.topbar .topbar-publish{background:var(--green);border-color:var(--green);box-shadow:0 3px 10px #34784725}.topbar .topbar-publish:hover{background:var(--ui-active)}
.sidebar{background:linear-gradient(175deg,#2f6e41,#245532);border-right-color:#245532;color:#f8f5ee}
.sidebar .brand strong{color:#f8f5f0;font-size:18px;letter-spacing:2px}.sidebar .brand small,.sidebar .profile small{color:#d8ccb4}
.sidebar .nav-label{color:#d0c2a5}.sidebar .nav-link{color:#f1eadd;border-radius:5px}
.sidebar .nav-link:hover{background:#ffffff10;color:#fff}.sidebar .nav-link.active{background:#ffffff14;color:#f4efe4;border-color:#c1ae8850;box-shadow:inset 3px 0 #c5b38f;font-weight:700}
.sidebar .icon-btn{color:#ebe2d0}.sidebar .icon-btn:hover{background:#ffffff14;color:#fff}.sidebar .profile,.side-note{border-color:#ffffff25}
.side-note strong{font-family:var(--title-font);color:#dfd4c0;font-size:19px;font-weight:700}.side-note p{color:#d0c2a5}
.home-hero{background:linear-gradient(95deg,#296139f5 0%,#327444eb 48%,#296139ac 100%),url('/static/nanzhong-campus.webp') center 54%/cover;border:1px solid #357b49;border-bottom:3px solid #6da873;border-radius:8px;box-shadow:0 8px 28px #275b3614;padding:38px 42px;min-height:256px}
.home-hero::before{display:none}.home-hero::after{display:block;inset:11px;width:auto;height:auto;border:1px solid #cfc0a338;border-radius:2px;background:none;box-shadow:none}
.hero-kicker{color:#ded3bf;letter-spacing:2px;font-size:13px}.hero-kicker>span{background:#c5b38f;width:22px;height:1px}
.home-hero h1{font-family:var(--title-font);font-size:48px;font-weight:700;letter-spacing:4px;line-height:1.45;color:#f5f1e9;margin:16px 0 13px;text-shadow:0 2px 8px #16341e33}
.home-hero p{color:#f4efe4;font-size:15px;line-height:1.8}.hero-emblem{border-left-color:#c5b38f60;color:#dbd0ba}
.hero-emblem img{width:96px;height:96px;border:5px solid #fff;animation:official-logo-breathe 5s ease-in-out infinite}.hero-signature{color:#daceb7;font-size:12px}
@keyframes official-logo-breathe{0%,100%{box-shadow:0 0 0 1px #cfc0a3,0 0 0 8px #cfc0a318}50%{box-shadow:0 0 0 1px #e9dfcc,0 0 0 12px #cfc0a338}}
.section-heading{border-bottom:1px solid #d9ccb4;padding-bottom:14px;position:relative}
.section-heading:after{content:'';position:absolute;bottom:-1px;left:0;width:72px;height:3px;background:var(--green)}
.section-heading .eyebrow{color:var(--gold)}.section-heading h2{color:#285d37;font-size:23px;font-weight:700;letter-spacing:1px}
.module-card{padding:22px 24px 18px;border:1px solid #e2d8c4;border-radius:7px;background:linear-gradient(145deg,#fff,#fcfbf9)}
.module-icon,.tone-gold .module-icon,.tone-blue .module-icon,.tone-rose .module-icon{width:40px;height:40px;border-radius:7px;background:#f6f2ea;border:1px solid #ebe1cf;color:#47764c}
.module-icon svg{width:23px;height:23px;stroke-width:1.8}.tone-gold .module-icon,.tone-rose .module-icon{color:#357b49;background:#f4efe5;border-color:#e8ddc9}
.module-card h3{font-size:21px;font-weight:700;color:#285535;letter-spacing:.5px;margin:13px 0 8px}.module-card p{color:#547657}
.module-foot{border-color:#ede5d5}.module-meta{color:#507754;font-size:12px}.module-arrow{color:#4c7f51;border-color:#dfd4c0}
.module-card:active{background:#f6f2e9;transform:none}
@media(hover:hover){.module-card:hover{border-color:#68a46e;box-shadow:0 6px 22px #295e3812}}
.home-shortcuts{background:#fdfcf9;border-color:#e2d8c4;border-radius:7px}.home-shortcuts>a{border-color:#e9e0ce}
.shortcut-icon{color:#46754b}.home-shortcuts strong{color:#2a5937}.home-shortcuts small{color:#547657}.home-shortcuts>a:hover{background:#f4efe6}
.home-utilities>a,.home-utilities>button{color:#40754f;min-height:44px}.home-note{background:#f0eadd;border-color:#dfd5c1;border-radius:7px}.home-note h2{color:#285d37;font-family:var(--title-font);font-weight:700}
.panel,.stat,.company-card,.resource-card,.activity-card,.toolbar,.table-wrap,.personal-hero,.social-post,.profile-related,.dm-layout{border-color:var(--line);border-radius:8px}
.panel-head h2{color:#285d37;font-weight:700}.panel-head h2::before{background:var(--green);width:3px;height:18px}
.btn{border-color:#d1c3a7;border-radius:5px;color:#2e693f;background:#fefdfc}.btn:hover{background:var(--ui-soft);border-color:#76ad7c}
.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--ui-active);border-color:var(--ui-active)}
.btn.danger{color:#49794e;border-color:#ded4c0;background:#fff}.text-btn{color:#347847}.text-btn:hover{color:#255733}
input,select,textarea{border-color:var(--ui-border);border-radius:5px}input:focus,select:focus,textarea:focus{outline-color:#58935e}
.tag{background:#f5f0e7;color:#347a48}.tag.gold{background:#f2ece0;color:#2e6c3f}.tag.blue{background:#f1efea;color:#345b3f}.tag.gray{background:#f0eeeb;color:#5a6c5c}.tag.red{background:#f7f4ed;color:#4c7f51}
.feed-symbol{background:#f6f2ea;border-color:#e7dcc7;color:#347847}.feed-symbol.need{background:#f3ede2;border-color:#ddd2bd;color:#357c49}
.date-tile,.company-logo{background:#f6f2ea;color:#347847}.detail-block{background:#f9f6f1}.featured-activity{background:#fdfcfa;border-color:#d5c8ae}
.resource-sections{border-radius:6px;background:#eee9de;border-color:#ded4c1}.resource-sections a{color:#40714e;border-radius:4px}
.resource-sections a[aria-current=page]{background:var(--green);border-color:var(--green);color:#fff}
.content-actions .saved{background:#f3ede2;color:#307042;border-color:#c8b795}
th{background:#f4efe6;color:#3d754d}.directory-table .person-cell strong,.directory-table .person-cell .person-link{color:#2d6a3e}.directory-table .person-identity{color:#48774c!important}
.signup-page{background:var(--bg)}.signup-header{background:#fdfcfb;border-top:4px solid var(--green);border-bottom:1px solid #dcd1bc}
.signup-header .brand strong{color:#2f6d40}.signup-header .brand small{color:#4a7b4f}
.signup-simple .signup-intro h1{color:#2d6a3e;font-family:var(--title-font);font-size:28px;letter-spacing:2px;font-weight:700}
.signup-card{border-color:#dcd1bb;border-top:3px solid #5c9962;border-radius:8px;box-shadow:0 6px 25px #295e3807}.signup-simple .identity-picker label{border-radius:5px}
.login-art{background:linear-gradient(110deg,#296038f5,#2e6b3fbf),url('/static/nanzhong-campus.webp') center/cover;color:#f5f1e9}
.login-art h1{font-family:var(--title-font);font-weight:700;letter-spacing:3px}.login-art p{color:#ebe1cf}.login-art .brand small,.login-art-bottom{color:#d9cdb6}
.login-main{background:#fdfcfa}.login-box h2{color:#2c673d}.login-art .city{opacity:.2}
.personal-cover{background:linear-gradient(120deg,#2e6b3f,#528958);color:#e0d6c2;border-bottom:2px solid #76ad7c}.personal-name h2{color:#285d37;font-weight:700}.personal-stats{background:#f9f7f2}
dialog{border-color:#ddd2bc;border-radius:10px;box-shadow:0 24px 80px #18321f40}dialog::backdrop{background:#13261870;backdrop-filter:blur(3px)}
.modal-head{background:#fdfcfb;border-top:3px solid var(--green);border-bottom-color:#e8decb}.modal-head h2{color:#2c673d}.modal-actions{background:#faf8f3;border-color:#e8decb}
.publish-grid>button,.publish-grid>a{background:#fbfaf7;border-color:#ded4c0;border-radius:7px}.publish-grid>button:hover,.publish-grid>a:hover{background:#f4efe5;border-color:#68a46e}
.publish-grid .publish-icon{background:#f4efe5;color:#47774c;border:1px solid #e9dfcc;border-radius:7px}.publish-grid>:nth-child(2n) .publish-icon{background:#f0e9dc;color:#46754b;border-color:#ddd2bc}
.publish-grid strong{font-weight:700;color:#2a633a}.publish-grid small{color:#4c7150}.publish-grid>button:after{border-color:#4d8052}
.outgoing .dm-bubble{background:var(--green);color:#fff}.dm-download,.video-progress{color:#347847}
#toast{background:#245131;color:#fff;border-radius:6px}button:focus-visible,a:focus-visible{outline-color:#4e8354}
@media(max-width:1200px) and (min-width:701px){.home-hero{padding:30px}.home-hero h1{font-size:38px}}
@media(max-width:1024px){
 .topbar{background:#fdfdfc;backdrop-filter:none}.bottom-nav{background:#fdfdfc;border-top:1px solid #c9b896;box-shadow:0 -3px 18px #295e3808}
 .bottom-nav a{color:#4b764f;border-radius:5px}.bottom-nav a[aria-current=page]{background:#f5f0e7;color:#347847;font-weight:700}.bottom-nav a[aria-current=page]:before{background:#4d8052;width:20px;border-radius:0}
 .bottom-nav a[aria-current=page]:active{background:#eee6d6;color:#296038}
}
@media(max-width:700px){
 .page-heading{padding-bottom:14px}.page-heading h1{font-size:26px}.page-heading p{font-size:14px}
 .home-hero{padding:24px 23px;min-height:216px;border-radius:6px;background-position:center,65% center}.home-hero::after{inset:8px}
 .home-hero h1{font-size:35px;line-height:1.4;letter-spacing:3px;margin:14px 0 11px}.home-hero p{font-size:13px;line-height:1.8}.hero-kicker{font-size:11px;letter-spacing:.7px}
 .hero-emblem{right:26px;top:75px;border:0}.hero-emblem img{width:60px;height:60px;border-width:3px}
 .section-heading{padding-bottom:12px}.section-heading h2{font-size:22px}
 .module-card{padding:17px 16px 15px;border-radius:6px}.module-card h3{font-size:19px;margin:11px 0 6px}
 .module-icon,.tone-gold .module-icon,.tone-blue .module-icon,.tone-rose .module-icon{width:33px;height:33px;border-radius:5px}.module-icon svg{width:21px;height:21px}.module-meta{font-size:12px}
 .home-shortcuts{border-radius:6px}.home-workspace .featured-activity,.home-workspace .panel{border-radius:7px}
 .signup-simple .signup-intro h1{font-size:25px}.signup-card{border-radius:7px}
}
@media(max-width:360px){
 .home-hero{padding:23px 18px;min-height:204px}.home-hero h1{font-size:30px;letter-spacing:2px}.hero-kicker{font-size:10px;letter-spacing:.4px}.home-hero p{font-size:12px}
 .hero-emblem{right:20px;top:76px}.hero-emblem img{width:46px;height:46px}.module-card h3{font-size:17px}.module-meta{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hero-emblem img{animation:none}.module-card:hover{transform:none}}

/* Autumn palette: clear navigation, warm reading surfaces, and strong typography. */
:root{--green:#45744a;--green-light:#f8f5ee;--gold:#4f8454;--ink:#244c2f;--muted:#5c7f60;--bg:#faf8f3;--line:#eee9df;--red:#5a9760;--ui-label:#30603d;--ui-border:#b3a68c;--ui-placeholder:#648868;--ui-soft:#f9f7f2;--ui-hover:#f6f2e9;--ui-active:#2b643b;--title-font:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.topbar{background:#fff;border-top:3px solid #45744a;border-bottom-color:#f0e9dc}.mobile-home>span{color:#317143}.mobile-home small{color:#5c8460}
.sidebar{background:linear-gradient(180deg,#2f6e41,#224e2e);border-right-color:#224e2e}
.sidebar .brand strong{color:#fff}.sidebar .brand small,.sidebar .nav-label,.sidebar .profile small,.side-note p{color:#eadfca}
.sidebar .nav-link{color:#f5f0e7}.sidebar .nav-link.active{background:#ffffff16;color:#fff;border-color:#ffffff25;box-shadow:inset 3px 0 #ccbc9d}.sidebar .nav-link:hover{background:#ffffff10;color:#fff}
.sidebar .icon-btn{color:#f5f0e7}.side-note strong{font-family:inherit;color:#f6f2ea;font-size:17px}.sidebar .profile,.side-note{border-color:#ffffff20}
.page-heading h1,.section-heading h2,.panel-head h2{color:#317143}.page-heading{border-color:#f0e9dc}
.home-hero{background:linear-gradient(95deg,#2f6c40f7 0%,#45744ae6 48%,#357a48c2 100%),url('/static/nanzhong-campus.webp') center 54%/cover;border:0;border-bottom:0;border-radius:8px;box-shadow:0 8px 24px #2f6e4115;min-height:250px;padding:36px 40px}
.home-hero::before,.home-hero::after{display:none}
.home-hero h1{font-family:inherit;font-size:46px;font-weight:800;letter-spacing:2px;color:#fff;text-shadow:none;line-height:1.4}
.hero-kicker{color:#f5f0e6;letter-spacing:1.5px}.hero-kicker>span{background:#d8ccb4;width:20px}.home-hero p{color:#f7f2ea;font-size:15px}
.hero-emblem{border-left-color:#ddd2bc4d;color:#f5f1e8}.hero-signature{color:#eee6d6}.hero-emblem img{animation:civic-logo-breathe 5s ease-in-out infinite}
@keyframes civic-logo-breathe{0%,100%{box-shadow:0 0 0 1px #f3eee3,0 0 0 8px #e5d8bf18}50%{box-shadow:0 0 0 1px #fff,0 0 0 12px #e5d8bf38}}
.section-heading{border-bottom-color:#e9dfcc}.section-heading:after{background:#45744a}.section-heading .eyebrow{color:#619366}
.module-card{background:#fff;border:1px solid #efe8db;border-radius:8px;box-shadow:0 3px 14px #2f6d4005;padding:22px 24px 18px}
.module-icon,.tone-gold .module-icon,.tone-blue .module-icon,.tone-rose .module-icon{background:#f9f7f2;border:1px solid #f3ece0;color:#4c7f52;border-radius:7px}
.module-card h3{color:#2c673d;font-weight:700}.module-card p{color:#628d66}.module-foot{border-color:#f7f2ea}.module-meta{color:#618c65}
.module-arrow{color:#62a168;border-color:#f1ebde}.module-card:active{background:#f9f6f1}
@media(hover:hover){.module-card:hover{border-color:#cdbd9e;box-shadow:0 7px 22px #45744a10}}
.home-shortcuts{background:#fff;border-color:#efe8db}.home-shortcuts>a{border-color:#f5f0e7}.home-shortcuts>a:hover{background:#faf8f4}.shortcut-icon{color:#56905c}.home-shortcuts strong{color:#347346}.home-shortcuts small,.home-utilities>a,.home-utilities>button{color:#649569}
.home-note{background:#f7f4ed;border-color:#f0e9db}.home-note h2{color:#317143;font-family:inherit}.home-note>span{color:#56905c}
.btn{background:#fff;border-color:#ddd2bc;color:#46754b}.btn:hover{background:#f9f6f1;border-color:#c9b896}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--ui-active);border-color:var(--ui-active)}
.text-btn,.dm-download,.video-progress{color:#45744a}.text-btn:hover{color:#285e37}
.btn.danger{color:#538a58;border-color:#ded4c0;background:#fff}.tag.red{color:#548c5a;background:#f9f5ef}.tag.blue{background:#f3f0ea;color:#345b3f}
.tag{background:#f9f6f0;color:#4c7f51}.tag.gold{background:#f7f3eb;color:#4c7f51}.tag.gray{background:#f5f3f0;color:#648367}
.feed-symbol,.feed-symbol.need,.date-tile,.company-logo{background:#f9f6f0;border-color:#f0e9dc;color:#4a7c4f}.detail-block{background:#fbf9f4}
.resource-sections{background:#f7f2ea;border-color:#efe7d7}.resource-sections a{color:#4c7f51}.resource-sections a[aria-current=page]{background:var(--green);color:#fff;border-color:var(--green)}
.featured-activity{background:#fff;border-color:#eee6d7}.content-actions .saved{background:#f8f5ef;color:#45744a;border-color:#d8ccb4}
th{background:#f9f7f2}.directory-table .person-cell strong,.directory-table .person-cell .person-link{color:#317143}.directory-table .person-identity{color:#538b59!important}
.signup-page{background:var(--bg)}.signup-header{background:#fff;border-top-color:#45744a;border-bottom-color:#efe8db}.signup-header .brand strong{color:#317143}.signup-header .brand small{color:#5c8460}
.signup-simple .signup-intro h1{color:#317143;font-family:inherit;letter-spacing:0;font-weight:700}.signup-card{border-color:#eee6d7;border-top:3px solid #45744a;box-shadow:0 6px 25px #45744a06}
.login-art{background:linear-gradient(110deg,#2c673df5,#45744ace),url('/static/nanzhong-campus.webp') center/cover;color:#fff}.login-art h1{font-family:inherit;font-weight:700}.login-art p,.login-art .brand small,.login-art-bottom{color:#f3ece0}.login-main{background:#fff}.login-box h2{color:#317143}
.personal-cover{background:linear-gradient(120deg,#306f42,#59945f);color:#f5f0e6;border-bottom-color:#d0c1a3}.personal-name h2{color:#317143}.personal-stats{background:#fbf9f4}
.modal-head{background:#fff;border-top-color:#45744a;border-bottom-color:#f1ebde}.modal-head h2{color:#317143}.modal-actions{background:#fcfaf7;border-color:#f2ecdf}
.publish-grid>button,.publish-grid>a{background:#fff;border-color:#eee6d7}.publish-grid>button:hover,.publish-grid>a:hover{background:#f9f7f2;border-color:#c9b896}
.publish-grid .publish-icon,.publish-grid>:nth-child(2n) .publish-icon{color:#4c7f52;background:#f9f7f2;border-color:#f3ece0}.publish-grid strong{color:#2c673d}.publish-grid small{color:#628d66}.publish-grid>button:after{border-color:#69a56f}
#toast{background:#275b36;color:#fff}button:focus-visible,a:focus-visible{outline-color:#5d9b63}input:focus,select:focus,textarea:focus{outline-color:#5d9b63}
@media(max-width:1024px){.topbar{background:#fff}.bottom-nav{background:#fff;border-top-color:#eae0cd;box-shadow:0 -3px 18px #2f6e4107}.bottom-nav a{color:#5f9064}.bottom-nav a[aria-current=page]{background:#f8f5ee;color:#45744a}.bottom-nav a[aria-current=page]:before{background:#45744a}.bottom-nav a[aria-current=page]:active{background:#f3eee3;color:#2b643b}}
@media(max-width:1200px) and (min-width:701px){.home-hero h1{font-size:38px}}
@media(max-width:700px){.home-hero{padding:25px 23px;min-height:213px;background-position:center,65% center}.home-hero h1{font-size:34px;line-height:1.4;letter-spacing:2px;margin:14px 0 11px}.home-hero p{font-size:13px}.hero-kicker{font-size:11px}.hero-emblem{border:0}.module-card{padding:17px 16px 15px}.module-card h3{font-size:19px}.signup-simple .signup-intro h1{font-size:24px}}
@media(max-width:360px){.home-hero{padding:23px 18px;min-height:204px}.home-hero h1{font-size:29px;letter-spacing:1px}.hero-kicker{font-size:10px}.home-hero p{font-size:12px}.module-card h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hero-emblem img{animation:none}}

/* Palette taken from the existing Teachers' Day invitation: pine, ginkgo, ivory. */
:root{--green:#214431;--green-light:#edf1e8;--gold:#92692c;--ink:#2c382c;--muted:#687060;--bg:#f7f5ea;--line:#e4dfcd;--red:#b93847;--ui-label:#354535;--ui-border:#979e89;--ui-placeholder:#6e7666;--ui-soft:#f5f4e9;--ui-hover:#eeeeda;--ui-active:#173523;--surface-shadow:0 4px 18px #29412c06}
.topbar{background:#fffef7;border-top:3px solid #c2a064;border-bottom-color:#e4dfcd}.mobile-home>span{color:#244732}.mobile-home small{color:#7b6a47}
.sidebar{background:linear-gradient(180deg,#234732,#193724);border-right-color:#193724}.sidebar .brand strong{color:#fff6d9}.sidebar .brand small,.sidebar .nav-label,.sidebar .profile small,.side-note p{color:#dfd1a5}
.sidebar .nav-link{color:#ede8d2}.sidebar .nav-link.active{background:#d3b57615;color:#fff0c4;border-color:#d6bc7e40;box-shadow:inset 3px 0 #d4b16b}.sidebar .nav-link:hover{color:#fff4d7;background:#ffffff0e}.side-note strong{color:#f0dcab}.sidebar .icon-btn{color:#ede8d2}
.page-heading h1,.section-heading h2,.panel-head h2{color:#244732}.page-heading{border-color:#e4dfcd}
.home-hero{background:linear-gradient(95deg,#193c28f5 0%,#234831ed 48%,#244b31cf 100%),url('/static/nanzhong-campus.webp') center 54%/cover;border:1px solid #294e35;border-bottom:3px solid #c4a15c;box-shadow:0 8px 24px #21443116}
.home-hero h1{color:#f6e3ac;font-weight:700;letter-spacing:2px}.hero-kicker{color:#ddc995}.hero-kicker>span{background:#d7b866}.home-hero p{color:#f0edda}
.hero-emblem{border-left-color:#ccb67b40;color:#e2d2a2}.hero-signature{color:#e2d2a2}.hero-emblem img{animation:autumn-logo-breathe 5s ease-in-out infinite}
@keyframes autumn-logo-breathe{0%,100%{box-shadow:0 0 0 1px #dfc381,0 0 0 8px #d8b76816}50%{box-shadow:0 0 0 1px #f4dfa8,0 0 0 12px #d8b76832}}
.section-heading{border-bottom-color:#ddd2b7}.section-heading:after{background:#a58441}.section-heading .eyebrow{color:#8a7448}
.module-card{background:#fffef8;border-color:#e2dbc6;box-shadow:var(--surface-shadow)}
.module-icon,.tone-blue .module-icon{background:#eaf0e4;border-color:#dce6d2;color:#365b3b}.tone-gold .module-icon,.tone-rose .module-icon{background:#f7efd7;border-color:#ebdfb8;color:#916b2c}
.module-card h3{color:#2b4933}.module-card p,.module-meta{color:#70765f}.module-foot{border-color:#eee8d7}.module-arrow{color:#8b7445;border-color:#e6ddc4}
.module-card:active{background:#f2f1e1}@media(hover:hover){.module-card:hover{border-color:#bea574;box-shadow:0 7px 22px #2144310c}}
.home-shortcuts{background:#fffdf4;border-color:#e2dbc6}.home-shortcuts>a{border-color:#e9e2cf}.home-shortcuts>a:hover{background:#f4efdf}.shortcut-icon{color:#7d7147}.home-shortcuts strong{color:#3c5137}.home-shortcuts small,.home-utilities>a,.home-utilities>button{color:#747357}
.home-note{background:#eeecd9;border-color:#ded4b9}.home-note h2{color:#244732}.home-note>span{color:#947b43}
.btn{background:#fffef8;border-color:#c9b990;color:#68603d}.btn:hover{background:#f6f0df;border-color:#ad945e}.btn.primary{background:var(--green);border-color:var(--green);color:#fff8e7}.btn.primary:hover{background:var(--ui-active);border-color:var(--ui-active)}
.text-btn,.dm-download,.video-progress{color:#315839}.text-btn:hover{color:#173523}.btn.danger{color:#ae2f40;border-color:#e7b7bf;background:#fff}
.tag{background:#edf1e5;color:#45623e}.tag.gold{background:#f7efd9;color:#866126}.tag.gray{background:#f0eee5;color:#6e705f}.tag.red{color:#aa3649;background:#fcecef}.tag.blue{background:#eaf1ed;color:#345b43}
.feed-symbol,.date-tile,.company-logo{background:#edf1e5;border-color:#dce6d2;color:#365b3b}.feed-symbol.need{background:#f7efd9;border-color:#ebdfb8;color:#866126}.detail-block{background:#f7f5ea}
.resource-sections{background:#ecebdc;border-color:#ded8c4}.resource-sections a{color:#64704e}.resource-sections a[aria-current=page]{background:var(--green);color:#fff8e7;border-color:var(--green)}
.featured-activity{background:#fffef6;border-color:#d9caa5}.content-actions .saved{background:#f7efd9;color:#866126;border-color:#d6c18c}
th{background:#f0f0e3}.directory-table .person-cell strong,.directory-table .person-cell .person-link{color:#244732}.directory-table .person-identity{color:#7d744a!important}
.signup-page{background:var(--bg)}.signup-header{background:#fffef7;border-top-color:#c2a064;border-bottom-color:#e4dfcd}.signup-header .brand strong{color:#244732}.signup-header .brand small{color:#7b6a47}
.signup-simple .signup-intro h1{color:#244732}.signup-card{background:#fffef9;border-color:#ded6bc;border-top:3px solid #b99c5b;box-shadow:0 6px 25px #21443106}
.login-art{background:linear-gradient(110deg,#193c28f5,#234831db),url('/static/nanzhong-campus.webp') center/cover;color:#f6e3ac}.login-art p,.login-art .brand small,.login-art-bottom{color:#e6dab4}.login-main{background:#fffef8}.login-box h2{color:#244732}
.personal-cover{background:linear-gradient(120deg,#244732,#3b603d);color:#ead8a6;border-bottom-color:#c4a15c}.personal-name h2{color:#244732}.personal-stats{background:#f6f5e9}
.modal-head{background:#fffef8;border-top-color:#b99c5b;border-bottom-color:#e4dfcd}.modal-head h2{color:#244732}.modal-actions{background:#f9f7ed;border-color:#e4dfcd}
.publish-grid>button,.publish-grid>a{background:#fffdf5;border-color:#e0d7bc}.publish-grid>button:hover,.publish-grid>a:hover{background:#f4efdc;border-color:#b9a26c}
.publish-grid .publish-icon{color:#365b3b;background:#eaf0e4;border-color:#dce6d2}.publish-grid>:nth-child(2n) .publish-icon{color:#916b2c;background:#f7efd7;border-color:#ebdfb8}.publish-grid strong{color:#2b4933}.publish-grid small{color:#70765f}.publish-grid>button:after{border-color:#a08a53}
#toast{background:#244732;color:#fff8e7}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline-color:#957237}
@media(max-width:1024px){.topbar{background:#fffef7}.bottom-nav{background:#fffef8;border-top-color:#d8c99f;box-shadow:0 -3px 18px #21443107}.bottom-nav a{color:#74785d}.bottom-nav a[aria-current=page]{background:#eeefdf;color:#214431}.bottom-nav a[aria-current=page]:before{background:#b39854}.bottom-nav a[aria-current=page]:active{background:#e3e8d4;color:#173523}}
@media(max-width:700px){.hero-emblem{border:0}}
@media(prefers-reduced-motion:reduce){.hero-emblem img{animation:none}}

/* Compact participation shortcuts; keep the existing invitation available. */
.home-participation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-participation>a,.home-participation>button{justify-content:center;min-height:44px;padding:8px 10px;border:1px solid #ded4b9;border-radius:6px;background:#fffdf4;color:#244732;font-size:14px;white-space:nowrap}
.home-participation>a:hover,.home-participation>button:hover{background:#eeecd9;color:#193c28}
.home-participation svg{flex-shrink:0}
@media(max-width:700px){.home-participation{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-participation>a,.home-participation>button{font-size:14px;min-height:44px}}

/* Compact module actions remain separate from the card's browsing link. */
.module-entry{position:relative;display:flex;min-width:0}
.module-entry>.module-card{height:auto;flex:1;transform:none}
.module-entry .module-foot{padding-right:44px}
.module-action{position:absolute;right:12px;bottom:10px;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#31553c;cursor:pointer}
.module-action::before{content:"";position:absolute;inset:6px;border-radius:50%;background:#f1ecd9;border:1px solid #d8c9a3}
.module-action svg{position:relative;width:18px;height:18px;stroke-width:1.8}
.module-action:hover::before{background:#e6dbba;border-color:#ac9459}
.module-action:focus-visible{outline:2px solid #957237;outline-offset:2px}

/* A quiet animated letter; content stays readable with reduced motion. */
.notice-letters{display:grid;gap:20px;max-width:900px;margin:0 auto}
.notice-letter{background:#fffef8;border:1px solid #e0d7bc;border-top:3px solid #baa066;border-radius:12px;padding:30px 34px;box-shadow:0 8px 28px #21443108;animation:notice-arrive .5s ease-out both}
.notice-letter-head{display:flex;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid #ebe3cc}
.notice-letter-logo{flex-shrink:0;border-radius:50%;box-shadow:0 0 0 5px #f1ebd8;animation:notice-breathe 2.2s ease-in-out 2}
.notice-letter-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px;color:#6b705b}
.notice-letter-head h2{margin:8px 0 0;color:#244732;font-size:24px;line-height:1.5}
.notice-letter-body{font-size:15px;line-height:1.95;color:#354735}
.notice-letter-body p{white-space:pre-line;overflow-wrap:anywhere;margin:22px 0}
.notice-letter-body p:first-child{font-size:17px;color:#244732}
.notice-letter-body p:last-child{padding:16px 18px;background:#f4f0e1;border-left:3px solid #bba168;border-radius:0 7px 7px 0}
.notice-letter-actions{padding-top:12px;border-top:1px solid #ebe3cc}
@keyframes notice-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes notice-breathe{0%,100%{transform:scale(1);box-shadow:0 0 0 5px #f1ebd8}50%{transform:scale(1.04);box-shadow:0 0 0 9px #f1ebd866}}
@media(max-width:700px){.notice-letter{padding:21px 18px;border-radius:9px}.notice-letter-head{gap:12px;align-items:flex-start}.notice-letter-logo{width:44px;height:44px}.notice-letter-head h2{font-size:20px}.notice-letter-meta{font-size:11px}.notice-letter-body{font-size:14px;line-height:1.9}.notice-letter-body p{margin:18px 0}.notice-letter-body p:first-child{font-size:15px}}
@media(prefers-reduced-motion:reduce){.notice-letter,.notice-letter-logo{animation:none}}

/* A compact, user-initiated film invitation between the hero and modules. */
.signup-optional{border:1px solid #ded4b9;border-radius:8px;margin:0 0 18px;padding:0 14px;background:#fffdf6}
.signup-optional summary{padding:13px 0;cursor:pointer;font-size:14px;font-weight:600;color:#31553c}
.signup-optional[open] summary{margin-bottom:8px;border-bottom:1px solid #e8dfc9}
.signup-optional .workplace-choice{margin:10px 0}
.signup-simple [hidden]{display:none!important}
.entry-box .home-film{margin:20px 0;gap:12px;padding:10px}
.entry-box .home-film-cover{flex-basis:70px;height:58px}
.entry-box .home-film-copy{display:block}
.entry-box .home-film-copy strong{display:block;font-size:15px;letter-spacing:0}
.entry-box .home-film-copy>span{display:block;font-size:12px;margin-top:3px}
.home-film{display:flex;align-items:center;gap:18px;width:100%;margin:16px 0 24px;padding:12px 20px 12px 12px;text-align:left;font:inherit;color:#244732;background:#fffdf4;border:1px solid #ddd0ae;border-radius:10px;cursor:pointer;box-shadow:0 3px 12px #21443106}
.home-film:hover{background:#f7f2e2;border-color:#b99c60}
.home-film:focus-visible{outline:3px solid #957237;outline-offset:3px}
.home-film-cover{position:relative;flex:0 0 100px;height:64px;border-radius:6px;overflow:hidden;background:#e8e1c6}
.home-film-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 65%}
.home-film-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:17px;background:#193c284d;text-shadow:0 1px 5px #193c28}
.home-film-copy{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;min-width:0}
.home-film-copy strong{font-size:18px;line-height:1.5;letter-spacing:1px}
.home-film-copy>span{font-size:14px;color:#675a3c;line-height:1.6}
.home-film-arrow{margin-left:auto;display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#eee5ca;color:#5e512d}
.home-film-arrow svg{width:18px;height:18px}
.home-film-player{text-align:center;padding:0 20px 20px}
.home-film-player video{display:block;margin:0 auto;width:auto;max-width:100%;height:min(65vh,620px);height:min(65dvh,620px);aspect-ratio:9/16;background:#193c28;border-radius:8px}
.home-film-player p{font-size:13px;line-height:1.6;color:#675a3c;margin:12px 0 6px}
.home-film-player>.text-btn{display:inline-flex}
@media(max-width:700px){.home-film{gap:12px;padding:10px;margin:12px 0 20px}.home-film-cover{flex-basis:70px;height:58px}.home-film-copy{display:block}.home-film-copy strong{display:block;font-size:15px;letter-spacing:0}.home-film-copy>span{display:block;font-size:12px;margin-top:3px}.home-film-arrow{flex-basis:28px;height:28px}.home-film-player{padding:0 12px 16px}}

/* 2026-10-03: a contemporary home for the Nanbu alumni community.
   Keep campus identity in the hero; use quiet, readable surfaces everywhere else. */
:root{
  --green:#184f42;--green-light:#edf4ef;--gold:#967038;
  --ink:#18352d;--muted:#63756d;--bg:#f6f8f5;--line:#e2e9e3;--red:#b43d48;
  --ui-label:#2e4c40;--ui-border:#bac9bf;--ui-placeholder:#63756d;
  --ui-soft:#f1f5f1;--ui-hover:#e8f0eb;--ui-active:#103f33;
  --surface-shadow:0 2px 3px #18352d02,0 8px 26px #18352d04;
  --title-font:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  font-family:var(--title-font);font-synthesis:none;
}
body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
.main{max-width:1480px;padding:32px 36px 28px}
.home-workspace .main{max-width:1400px}
.page-heading{padding-bottom:0;border:0;margin-bottom:24px}
.page-heading .eyebrow,.section-heading .eyebrow,.login-box>.eyebrow{display:none}
.page-heading h1{font-size:28px;font-weight:700;letter-spacing:.2px;color:var(--ink);line-height:1.4}
.page-heading p{color:var(--muted);font-size:14px;line-height:1.8;margin-top:7px}

/* Navigation: a crisp masthead and a quiet active state. */
.topbar{height:76px;background:#ffffffed;border-top:0;border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:blur(16px)}
.global-search input{background:#f4f7f4;border:1px solid #e4ebe5;border-radius:24px;color:var(--ink)}
.global-search svg,.icon-btn,.breadcrumb{color:#536e60}
.breadcrumb b{color:var(--ink)}
.icon-btn{border-radius:12px}
.icon-btn:hover{background:var(--green-light);color:var(--green)}
.mobile-home>span{color:var(--ink);font-weight:700;letter-spacing:.3px}
.mobile-home small{color:var(--muted);letter-spacing:1.2px}
.topbar .topbar-publish{width:42px;height:42px;min-width:42px;background:var(--green);border:0;border-radius:14px;box-shadow:none}
.topbar .topbar-publish:hover{background:var(--ui-active);box-shadow:none}
.sidebar{background:#173f34;border-right:1px solid #173f34;color:#f8faf7}
.sidebar .brand strong{font-size:18px;color:#fff;letter-spacing:1px}
.sidebar .brand small{color:#c2d3c8;letter-spacing:2px}
.sidebar .nav-label{color:#a0beb0;font-size:10px;letter-spacing:.8px}
.sidebar .nav-link{border:0;border-radius:10px;padding:13px 14px;color:#d6e3dc;font-size:15px}
.sidebar .nav-link.active{color:#fff;background:#ffffff14;box-shadow:inset 3px 0 #d2b87d;font-weight:650}
.sidebar .nav-link:hover{background:#ffffff0d;color:#fff}
.sidebar .profile,.side-note{border-color:#ffffff18}
.sidebar .profile small,.side-note p{color:#b5cbbc}
.sidebar .icon-btn{color:#d6e3dc}
.side-note strong{font-family:inherit;font-size:16px;font-weight:600;letter-spacing:0;color:#eadbb8}
.sidebar .brand-mark::before,.login-art .brand-mark::before{opacity:.4}

/* The campus photograph is the visual anchor, not ornamental interface chrome. */
.home-hero{background:linear-gradient(95deg,#133f35f7 0%,#1b4e40e6 51%,#2b5d45a8 100%),url('/static/nanzhong-campus.webp') center 56%/cover;border:0;border-radius:20px;box-shadow:none;min-height:246px;padding:34px 38px;gap:28px}
.home-hero::before,.home-hero::after{display:none}
.hero-copy{max-width:760px;min-width:0}
.hero-kicker{font-size:13px;color:#d8e6dc;letter-spacing:1px;gap:10px}
.hero-kicker>span{width:20px;height:2px;background:#d3bd83;border-radius:1px;box-shadow:none}
.home-hero h1{font-family:var(--title-font);font-size:44px;font-weight:700;letter-spacing:1px;line-height:1.4;color:#fffdf6;text-shadow:none;margin:16px 0 12px}
.home-hero p{max-width:580px;font-size:15px;line-height:1.8;color:#e0eae3}
.hero-signature{font-size:12px;letter-spacing:2px;color:#d5c49a;border:0;margin-top:20px}
.hero-emblem{flex:0 0 164px;min-height:144px;border:0;padding-left:0;gap:18px;color:#d4e2d6;font-size:10px;letter-spacing:1px}
.hero-emblem img{width:90px;height:90px;border:4px solid #fffdf5;animation:modern-logo-breathe 5s ease-in-out infinite}
@keyframes modern-logo-breathe{0%,100%{box-shadow:0 0 0 1px #ffffff42,0 0 0 8px #ffffff0b}50%{box-shadow:0 0 0 1px #ffffff75,0 0 0 11px #ffffff14}}
.home-film{margin:14px 0 26px;padding:12px 18px 12px 12px;gap:17px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:none;color:var(--ink);transition:background .18s,border-color .18s}
.home-film:hover{background:#fafcf9;border-color:#b8cbbb}
.home-film-cover{flex-basis:104px;height:66px;border-radius:9px;background:var(--green)}
.home-film-cover img{object-position:center 45%}
.home-film-play{background:#163f3445;font-size:19px;text-shadow:0 1px 4px #12362970}
.home-film-copy strong{font-size:18px;letter-spacing:.2px;font-weight:650}
.home-film-copy>span{font-size:13px;color:var(--muted)}
.home-film-arrow{flex-basis:34px;height:34px;background:#edf4ef;color:var(--green)}
.home-film-player video{border-radius:12px;background:#133f35}
.home-film-player p{color:var(--muted)}

/* Four equal destinations; publish controls remain distinct, reachable targets. */
.home-modules{margin:26px 0 0}
.section-heading{border:0;padding:0;margin-bottom:16px}
.section-heading::after{display:none}
.section-heading h2{font-size:22px;font-weight:700;letter-spacing:.2px;color:var(--ink)}
.module-grid{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr}
.module-entry>.module-card{padding:22px 22px 17px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none;transform:none;transition:background .18s,border-color .18s}
.module-icon,.tone-blue .module-icon{width:40px;height:40px;background:#edf4ef;color:#28684e;border:0;border-radius:12px}
.tone-gold .module-icon,.tone-rose .module-icon{width:40px;height:40px;background:#f7f1e4;color:#927038;border:0;border-radius:12px}
.module-icon svg{width:23px;height:23px;stroke-width:1.8}
.module-card h3{font-size:20px;font-weight:700;letter-spacing:0;color:var(--ink);margin:14px 0 7px;line-height:1.5}
.module-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 17px}
.module-foot{border-top:1px solid #edf1ec;min-height:34px;padding-top:12px;gap:8px;margin-top:auto}
.module-meta{font-size:12px;line-height:1.65;color:#60766a}
.module-action{right:12px;bottom:11px;color:#2d6450}
.module-action::before{background:#f0f5ef;border:1px solid #dce7dc}
.module-action:hover::before{background:#e3eee3;border-color:#a4bda8}
.module-card:active{background:#f3f7f1;transform:none}
@media(hover:hover){.module-entry>.module-card:hover{background:#fcfdfa;border-color:#b5cbb9;box-shadow:none;transform:none}}
.home-shortcuts{border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px;margin-top:14px}
.home-shortcuts>a{border-color:#e9eee8;min-height:70px;padding:12px 15px;gap:12px}
.home-shortcuts>a:hover{background:#f5f8f3;border-radius:8px}
.shortcut-icon{color:#527962}
.home-shortcuts strong{color:#294e3d;font-size:15px;font-weight:650}
.home-shortcuts small{color:var(--muted);font-size:12px}
.home-participation{gap:12px;margin:0 0 20px;padding:10px 0}
.home-participation>a,.home-participation>button{border:0;border-radius:9px;background:transparent;color:#587462;min-height:44px;font-size:13px}
.home-participation>a:hover,.home-participation>button:hover{background:#eaf1e9;color:var(--green)}
.home-note{background:#edf3eb;border:1px solid #dfe8dc;border-radius:14px;color:var(--ink);padding:24px}
.home-note>span{color:#6e8b65}
.home-note h2{font-family:inherit;font-size:19px;font-weight:650;letter-spacing:.3px;color:var(--ink)}
.home-note p{color:#62755f;line-height:1.8}

/* Readable information surfaces and consistent form controls. */
.panel,.stat,.company-card,.resource-card,.activity-card,.toolbar,.table-wrap,.personal-hero,.social-post,.profile-related,.dm-layout{background:#fff;border-color:var(--line);border-radius:14px;box-shadow:var(--surface-shadow)}
.panel-head h2{font-size:17px;color:var(--ink);font-weight:700}
.panel-head h2::before{display:none}
.feed-row{border-color:#edf1eb}
.feed-content h3{color:var(--ink);font-size:14px;line-height:1.65}
.feed-content p{font-size:12px;color:var(--muted);line-height:1.65}
.feed-symbol,.date-tile,.company-logo{background:#edf4ef;color:#35634d;border-color:#dce8de}
.feed-symbol.need{background:#f7f1e5;color:#846b3e;border-color:#ece1c9}
.card-meta,.stat-label,.stat-foot{color:var(--muted)}
.featured-activity{border-color:var(--line);background:#fff;border-radius:16px;box-shadow:var(--surface-shadow);overflow:hidden}
.featured-visual{background:#edf4ef}
.featured-copy h2{color:var(--ink);font-weight:700}
.featured-copy p{color:var(--muted)}
.btn{background:#fff;border:1px solid #cdd9cf;border-radius:10px;color:#345942;font-size:14px;font-weight:600;box-shadow:none;transition:background .18s,border-color .18s}
.btn:hover{background:#f2f7f1;border-color:#a1bba6}
.btn.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:none}
.btn.primary:hover{background:var(--ui-active);border-color:var(--ui-active)}
.btn.danger{color:#ae3843;background:#fff;border-color:#e8c5ca}
.text-btn,.dm-download,.video-progress{color:var(--green)}
.text-btn:hover{color:var(--ui-active)}
input,select,textarea{color:var(--ink);background:#fff;border-color:var(--ui-border);border-radius:10px;accent-color:var(--green)}
input::placeholder,textarea::placeholder{color:var(--ui-placeholder);opacity:1}
.field label{color:var(--ui-label);font-size:14px;font-weight:600;line-height:1.6}
.field input,.field select,.field textarea{font-size:15px;min-height:46px}
.field textarea{min-height:110px;line-height:1.8}
input:focus,select:focus,textarea:focus{border-color:#59846d;outline:3px solid #1a664525;outline-offset:1px}
button:focus-visible,a:focus-visible{outline:3px solid #4f8060;outline-offset:3px}
.tag{background:#edf4ec;color:#43634d;border-radius:6px}
.tag.gold{background:#f6f0e3;color:#856838}
.tag.blue{background:#eaf2ee;color:#41665a}
.tag.gray{background:#f0f3ee;color:#69756b}
.tag.red{background:#fbedef;color:#a93242}
.resource-sections{padding:5px;border-color:#dfe7dc;border-radius:12px;background:#eaf0e8}
.resource-sections a{border-radius:8px;color:#5a6e5d}
.resource-sections a[aria-current=page]{color:var(--green);background:#fff;border-color:#dbe6d9;box-shadow:0 2px 5px #193b2920}
.resource-click-card:hover,.resource-click-card:focus-within{border-color:#afc4b2;box-shadow:0 6px 18px #294c350a}
.resource-click-card:active{background:#f7faf5}
.content-actions .saved{background:#f6f0e2;color:#7b6233;border-color:#decfad}
.detail-block{background:#f4f7f2;border-radius:10px}
th{background:#f1f5ef;color:#516b56}
td{border-color:#eaf0e7}
.directory-table th{color:#5c715f}
.directory-table td{color:#35523c}
.directory-table .person-cell strong,.directory-table .person-cell .person-link{color:var(--ink);font-weight:700}
.directory-table .person-cell small,.directory-table .edu-line small,.directory-job{color:var(--muted)}
.directory-table .person-identity{color:#627861!important}
.directory-table .alumni-click-row{border-color:var(--line)}
.directory-table td:first-child,.directory-table td:nth-child(5),.directory-table td:nth-child(6){border-color:#eaf0e7}
.directory-table td[data-label]::before{color:#697a68}
.alumni-click-row:hover td,.alumni-click-row:focus-within td{background:#f5f8f2}
.avatar,.avatar.blue{background:#eaf2e8;color:#53734e}
.avatar.gold,.avatar.rose{background:#f3eddf;color:#847242}
.personal-cover{background:linear-gradient(115deg,#174638,#34684e);color:#e3e9d9;border:0}
.personal-name h2{color:var(--ink);font-weight:700}
.personal-bio{color:var(--muted)}
.personal-stats{background:#f6f9f3}

/* Registration and the public welcome page: short, calm, clear. */
.signup-page{background:#f4f7f2}
.signup-header{background:transparent;border:0;max-width:960px;padding:24px 28px}
.signup-header .brand strong{font-size:17px;color:var(--ink);letter-spacing:.3px}
.signup-header .brand small{color:var(--muted);letter-spacing:1.8px}
.signup-header .btn{min-height:42px;background:#ffffffa6;padding:9px 20px}
.signup-simple .signup-main{max-width:600px;padding-top:0}
.signup-simple .signup-intro{margin:12px 0 24px}
.signup-simple .signup-intro h1{font-family:inherit;font-size:28px;line-height:1.4;letter-spacing:0;font-weight:700;color:var(--ink);margin:12px 0 10px}
.signup-simple .signup-intro p{font-size:13px;line-height:1.8;color:var(--muted)}
.signup-card{background:#fff;border:1px solid #e0e9dd;border-radius:18px;box-shadow:0 10px 40px #193b2805}
.signup-simple .signup-card{padding:28px}
.signup-simple .identity-picker{gap:12px;margin-bottom:24px}
.signup-simple .identity-picker legend{font-size:14px;font-weight:650;margin-bottom:10px;color:var(--ui-label)}
.signup-simple .identity-picker label{padding:13px 14px;gap:10px;background:#fff;border:1px solid #c6d4c5;border-radius:11px;min-height:51px}
.signup-simple .identity-picker label:has(input:checked){background:#edf5e9;border-color:#6d926e;box-shadow:none}
.signup-simple .identity-picker strong{font-size:16px;font-weight:650;color:var(--ink)}
.signup-simple .identity-picker input{width:19px;height:19px;accent-color:var(--green)}
.signup-simple .field{margin-bottom:17px;gap:6px}
.signup-simple .field>label{font-size:14px;font-weight:600;color:var(--ui-label)}
.signup-simple .field input,.signup-simple .field select{font-size:16px;min-height:48px;border-radius:10px}
.signup-simple .basic-pair,.signup-simple .school-fields{gap:0 14px}
.signup-optional{border:1px solid #e0e8dc;border-radius:11px;background:#f8faf6;margin-bottom:16px;padding:0 14px}
.signup-optional summary{font-size:14px;min-height:46px;padding:13px 0;color:#456249;font-weight:600}
.signup-optional[open] summary{border-bottom-color:#e0e8dc}
.signup-extra-education,.signup-experience,.signup-privacy,.signup-qr{background:#f5f8f1;border-color:#e0e9da;color:var(--muted)}
.signup-simple .help{font-size:13px;line-height:1.8;color:var(--muted)}
.signup-simple .signup-consent{color:#53684f;font-size:13px;line-height:1.85;margin:18px 0;gap:9px}
.signup-simple .signup-consent a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.signup-simple .signup-consent input{width:19px;height:19px;flex-basis:19px;margin-top:3px;accent-color:var(--green)}
.signup-simple .signup-submit{min-height:50px;border-radius:11px;font-size:17px;font-weight:650}
.signup-simple .signup-footer{font-size:12px;line-height:1.7;color:#63756d;margin-top:24px}
.login-page{background:#f5f8f3;grid-template-columns:1fr 1fr}
.login-art{padding:48px 56px;background:linear-gradient(130deg,#143f35ef,#20503bd5),url('/static/nanzhong-campus.webp') center/cover;color:#fffdf5}
.login-art .brand strong{color:#fffdf5}
.login-art .brand small,.login-art-bottom{color:#c9dccb}
.login-art-center{padding:45px 0}
.login-art .welcome-label{font-size:12px;letter-spacing:1px;color:#dccb9d}
.login-art h1{font-family:var(--title-font);font-size:42px;font-weight:700;letter-spacing:1px;line-height:1.5;margin:18px 0}
.login-art p{font-size:14px;line-height:1.9;color:#dbe7dc}
.login-art .city{display:none}
.login-main{background:#fafcf8;padding:48px}
.login-box{width:100%;max-width:400px}
.login-box h2{font-size:27px;font-weight:700;color:var(--ink);letter-spacing:0;line-height:1.5;margin:0 0 12px}
.login-box>p{color:var(--muted);font-size:14px;line-height:1.8}
.entry-box .home-film{margin:22px 0;padding:10px;border-radius:12px;background:#fff}
.entry-box .home-film-cover{flex-basis:80px;height:68px;border-radius:8px}
.entry-box .home-film-copy strong{font-size:15px;line-height:1.55}
.entry-box .home-film-copy>span{font-size:12px;color:var(--muted)}
.entry-actions{gap:12px;margin:24px 0 18px}
.entry-actions .btn{border-radius:11px;font-size:17px;min-height:52px!important}
.entry-box .entry-note{font-size:12px;color:#63756d;line-height:1.9}
.login-switch{color:var(--muted);flex-wrap:wrap;row-gap:4px}
.login-box .help{font-size:12px;line-height:1.8;color:var(--muted)}

/* Dialogs and publishing use the same restrained surface system. */
dialog{border:1px solid #dce6d8;border-radius:18px;box-shadow:0 24px 80px #17352b33}
dialog::backdrop{background:#112f275c;backdrop-filter:blur(4px)}
.modal-head{background:#fff;border-top:0;border-bottom:1px solid var(--line);padding:23px 24px 19px}
.modal-head h2{font-size:20px;color:var(--ink);font-weight:700}
.modal-actions{background:#f7faf4;border-color:var(--line)}
.publish-grid{gap:13px}
.publish-grid>button,.publish-grid>a{background:#fbfdf8;border:1px solid #dfe9da;border-radius:13px;padding:22px 18px}
.publish-grid>button:hover,.publish-grid>a:hover{background:#f1f6eb;border-color:#adc3a2}
.publish-grid .publish-icon{background:#e9f2e5;color:#386342;border:0;border-radius:12px;box-shadow:none}
.publish-grid>:nth-child(2n) .publish-icon{background:#f7f0de;color:#8b723c;border:0}
.publish-grid strong{font-size:18px;font-weight:700;color:var(--ink)}
.publish-grid small{font-size:14px;line-height:1.6;color:var(--muted)}
.publish-grid>button::after{display:none}
.notice-letter{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--surface-shadow);animation:none}
.notice-letter-head,.notice-letter-actions{border-color:var(--line)}
.notice-letter-head h2{color:var(--ink)}
.notice-letter-body{color:#365340}
.notice-letter-body p:first-child{color:var(--ink)}
.notice-letter-body p:last-child{background:#f1f6eb;border-left-color:#a8bc8f}
.notice-letter-logo{box-shadow:0 0 0 5px #f0f5e8;animation:none}
.notice-letter-meta{color:var(--muted)}
.dm-sidebar{background:#f7faf4}
.dm-conversation{border-color:var(--line)}
.dm-conversation:hover,.dm-conversation.selected,.dm-contact:hover{background:#edf4e8}
.dm-bubble{background:#f0f5ec}
.outgoing .dm-bubble{background:var(--green);color:#fff}
.share-resource-preview,.dm-resource-card{background:#f8faf4;border-color:var(--line)}
#toast{background:#183f31;color:#fff;border-radius:12px;box-shadow:0 8px 28px #13372c2b}
.footer{border-color:var(--line);color:#63756d;font-size:11px}

@media(max-width:1200px) and (min-width:701px){
  .main{padding:28px}.home-hero{padding:30px}.home-hero h1{font-size:36px}
  .hero-emblem{flex-basis:130px}.module-entry>.module-card{padding:20px 18px 16px}
}
@media(max-width:1024px){
  .main{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
  .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{height:70px;background:#ffffffed}
  .bottom-nav{background:#ffffffed;border-top:1px solid #e1e8dc;box-shadow:0 -4px 20px #193b2804;padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));backdrop-filter:blur(18px)}
  .bottom-nav a{font-size:13px;font-weight:500;gap:4px;min-height:52px;border-radius:12px;color:#63756d}
  .bottom-nav svg{width:23px;height:23px;stroke-width:1.8}
  .bottom-nav a[aria-current=page]{background:#edf4e8;color:var(--green);font-weight:700}
  .bottom-nav a[aria-current=page]::before{display:none}
  .bottom-nav a:active,.bottom-nav a[aria-current=page]:active{background:#e4eedc;color:var(--green)}
}
@media(max-width:700px){
  .topbar{height:66px;padding:0 16px;gap:6px}
  .mobile-home{gap:8px}.mobile-home>span{font-size:13px;line-height:1.4}.mobile-home small{font-size:10px;margin-top:1px}
  .topbar>.icon-btn{min-width:40px;min-height:42px;width:40px}
  .topbar .topbar-publish{min-width:40px;width:40px;height:40px;border-radius:13px}
  .topbar-publish svg{width:24px;height:24px}
  .main{padding:20px 16px calc(94px + env(safe-area-inset-bottom,0px))}
  .page-heading{gap:13px;margin-bottom:20px;padding-bottom:0}
  .page-heading h1{font-size:26px}.page-heading p{font-size:13px;line-height:1.8}
  .home-hero{padding:24px 22px 23px;min-height:216px;border-radius:18px;gap:0;background-position:center,68% center}
  .hero-copy{width:100%}
  .home-hero h1{font-size:34px;line-height:1.4;letter-spacing:1px;margin:14px 0 12px;padding-right:56px}
  .hero-kicker{font-size:11px;letter-spacing:.6px;gap:8px}
  .hero-kicker>span{width:16px}
  .home-hero p{font-size:12px;line-height:1.8;max-width:100%;letter-spacing:0}
  .hero-signature{display:none}
  .hero-emblem{right:23px;top:77px;min-height:0;border:0;padding:0}
  .hero-emblem img{width:55px;height:55px;border-width:3px}
  .home-film{margin:12px 0 23px;padding:10px 12px 10px 10px;gap:12px;border-radius:13px}
  .home-film-cover{flex-basis:78px;height:62px;border-radius:8px}
  .home-film-copy{display:block}
  .home-film-copy strong{display:block;font-size:15px;letter-spacing:0;line-height:1.55}
  .home-film-copy>span{font-size:12px;margin-top:3px;line-height:1.6}
  .home-film-arrow{flex-basis:28px;height:28px}
  .home-film-arrow svg{width:16px;height:16px}
  .home-modules{margin-top:23px}.section-heading{margin-bottom:14px}.section-heading h2{font-size:21px}
  .module-grid{gap:12px}
  .module-entry>.module-card{padding:17px 16px 13px;border-radius:15px}
  .module-icon,.tone-gold .module-icon,.tone-blue .module-icon,.tone-rose .module-icon{width:36px;height:36px;border-radius:11px}
  .module-icon svg{width:22px;height:22px}
  .module-card h3{font-size:19px;margin:11px 0 5px;line-height:1.5}
  .module-card p{font-size:12px;line-height:1.65;margin-bottom:13px}
  .module-foot{min-height:31px;padding-top:10px;border-top-color:#edf1e8;margin-top:auto}
  .module-meta{font-size:12px;line-height:1.55}
  .module-entry .module-foot{padding-right:28px}
  .module-action{right:8px;bottom:6px}
  .home-shortcuts{padding:8px 0;margin-top:12px;border-radius:13px}
  .home-shortcuts>a{padding:8px 4px;gap:7px;min-height:68px}
  .home-shortcuts strong{font-size:13px}
  .home-participation{gap:8px;padding:6px 0;margin:0 0 16px}
  .home-participation>a,.home-participation>button{font-size:12px}
  .home-workspace .featured-activity,.home-workspace .panel{border-radius:14px}
  .home-note{padding:20px 18px;border-radius:14px}.home-note h2{font-size:18px}.home-note p{font-size:12px}
  .panel-head{padding:20px 18px 16px}.panel-head h2{font-size:17px}
  .feed-content h3{font-size:14px}.feed-content p{font-size:12px}.feed-row .text-btn{font-size:12px}
  .field input,.field select,.field textarea{font-size:16px;min-height:46px}
  .signup-simple .signup-header{padding:17px 18px 12px}
  .signup-header .brand strong{font-size:15px}.signup-header .brand small{font-size:10px}
  .signup-header .brand-mark{width:39px;height:39px}.signup-header .brand-mark img{width:39px;height:39px}
  .signup-header .btn{min-height:40px;font-size:14px;padding:8px 18px}
  .signup-simple .signup-main{padding:0 16px 26px}
  .signup-simple .signup-intro{margin:15px 0 21px;text-align:left;padding:0 3px}
  .signup-simple .signup-intro h1{font-size:25px;letter-spacing:0;margin:0 0 7px}
  .signup-simple .signup-intro p{font-size:12px;line-height:1.8;margin:0}
  .signup-simple .signup-card{padding:21px 18px;border-radius:17px}
  .signup-simple .identity-picker{margin-bottom:20px;gap:10px}
  .signup-simple .identity-picker label{padding:12px;gap:8px;min-height:49px}
  .signup-simple .identity-picker strong{font-size:15px}
  .signup-simple .basic-pair,.signup-simple .school-fields{gap:0 12px}
  .signup-simple .signup-footer{font-size:11px}
  .login-page{display:block;min-height:100dvh}
  .login-art{padding:24px 25px 28px;background-position:center,62% center}
  .login-art .brand strong{font-size:16px}.login-art .brand small{font-size:10px}
  .login-art-center,.welcome-entry .login-art-center{padding:24px 0 0}
  .login-art .welcome-label{display:none}
  .login-art h1,.welcome-entry .login-art h1{font-size:31px;line-height:1.45;letter-spacing:.5px;margin:0 0 12px}
  .login-art p{font-size:12px;line-height:1.8;margin:0;color:#d8e8d8}
  .login-main,.welcome-entry .login-main{padding:30px 25px 32px;background:#fafcf8}
  .login-box h2,.entry-box h2{font-size:23px;line-height:1.5;margin-bottom:9px}
  .login-box>p{font-size:13px;line-height:1.8;margin-bottom:18px}
  .entry-box .home-film{margin:20px 0}.entry-box .home-film-cover{flex-basis:76px;height:66px}
  .entry-actions{margin:22px 0 16px}
  .entry-box .entry-note{font-size:11px;line-height:1.9;margin-bottom:0}
  .modal-head{padding:19px 20px 17px}.modal-head h2{font-size:20px}
  .publish-grid{gap:11px}.publish-grid>button,.publish-grid>a{padding:19px 15px}
  .publish-grid strong{font-size:18px}.publish-grid small{font-size:13px}
  .notice-letter{padding:22px 19px;border-radius:14px}
  .footer{font-size:10px;line-height:1.9}
}
@media(max-width:380px){
  .topbar{padding:0 12px;gap:5px}
  .topbar .mobile-home>span{display:block;font-size:12px}
  .mobile-home small{font-size:9px;letter-spacing:.6px}
  .mobile-home img{width:32px;height:32px}
  .topbar>.icon-btn{min-width:37px;width:37px}
  .topbar .topbar-publish{min-width:37px;width:37px;height:38px}
  .home-hero{padding:22px 18px;min-height:211px}
  .home-hero h1{font-size:30px;padding-right:46px;margin:14px 0 12px}
  .hero-kicker{font-size:10px;letter-spacing:.2px}.home-hero p{font-size:11px}
  .hero-emblem{right:20px;top:80px}.hero-emblem img{width:44px;height:44px}
  .home-film{gap:9px;padding-right:10px}.home-film-cover{flex-basis:64px;height:59px}
  .home-film-copy strong{font-size:14px}.home-film-copy>span{font-size:11px}
  .home-film-arrow{flex-basis:24px;height:24px}
  .module-entry>.module-card{padding:16px 13px 12px}.module-card h3{font-size:17px}.module-card p{font-size:11px}
  .module-meta{font-size:11px}.module-action{right:5px;bottom:5px}
  .home-shortcuts strong{font-size:12px}
  .entry-box .home-film-cover{flex-basis:64px;height:59px}.entry-box .home-film-copy strong{font-size:14px}
  .signup-simple .signup-card{padding:20px 16px}.signup-simple .identity-picker label{padding:12px 9px}
}
@media(prefers-reduced-motion:reduce){
  .hero-emblem img,.notice-letter,.notice-letter-logo{animation:none}
  .home-film,.module-entry>.module-card,.btn{transition:none}
}
/* Teacher registration: one clear stage per row, with an optional second stage. */
.signup-simple .teaching-stage-row{display:flex;align-items:flex-end;gap:12px}
.signup-simple .teaching-stage-row .field{flex:1;min-width:0}
.signup-simple .teaching-stage-remove{min-width:48px;min-height:44px;margin-bottom:18px;color:#526c5e;font-size:13px}
.signup-simple .teaching-stage-add{min-height:42px;padding:9px 14px;font-size:13px;margin-bottom:2px}
.signup-simple .teaching-stage-add[hidden]{display:none}
