.teacher-center-open{overflow:hidden!important}.teacher-center-modal[hidden]{display:none!important}.teacher-center-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(10,31,42,.6);font:16px/1.6 system-ui,sans-serif;color:#173c47}.teacher-center-modal *{box-sizing:border-box}.teacher-center-modal>section{width:min(900px,100%);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;border-radius:24px;background:#fff;box-shadow:0 24px 80px #001c3f40;scrollbar-gutter:stable}.teacher-center-modal .tc-top{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;background:#fff;border-bottom:1px solid #dce9eb}.teacher-center-modal .tc-top>span{font-size:12px;font-weight:800;letter-spacing:.08em;color:#276b71}.teacher-center-modal .tc-status{margin:0 24px;white-space:pre-wrap;overflow-wrap:anywhere;color:#234f58}.teacher-center-modal .tc-status[role=alert]{color:#a52134;background:#fff3f5;padding:8px}.teacher-center-modal .tc-content{padding:20px 28px 28px}.teacher-center-modal .tc-person{display:flex;align-items:center;gap:18px}.teacher-center-modal .tc-person img,.teacher-center-modal .tc-avatar{flex:0 0 72px;width:72px;height:72px;border-radius:24px;object-fit:cover;background:#e3f5f2;display:grid;place-items:center;font-size:32px;color:#176d65}.teacher-center-modal h2{margin:0;font-size:26px;color:#173c47;overflow-wrap:anywhere}.teacher-center-modal h3{margin:12px 0 8px;font-size:20px;color:#173c47}.teacher-center-modal p{margin:8px 0;color:#31525d}.teacher-center-modal small{font-size:13px;color:#466571}.teacher-center-modal :is(button,a,input,select,textarea){font:inherit}.teacher-center-modal button,.teacher-center-modal .tc-links>a{min-height:44px;border:1px solid #c5dddf;border-radius:12px;padding:9px 14px;background:#f3f9f8;color:#235662;cursor:pointer;font-weight:650;white-space:normal;text-decoration:none}.teacher-center-modal button:disabled{opacity:.65;cursor:default}.teacher-center-modal :is(button,a,input,textarea,select):focus-visible{outline:3px solid #268cbd;outline-offset:2px}.teacher-center-modal button.tc-primary,.teacher-center-modal a.tc-primary{display:inline-flex;align-items:center;min-height:46px;background:#087f75;color:#fff;border:0;border-radius:12px;padding:10px 16px;text-decoration:none;font-weight:750}.teacher-center-modal .tc-top button{min-width:44px;font-size:24px;padding:0 8px}.teacher-center-modal .tc-links{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.teacher-center-modal .tc-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid #deeaec}.teacher-center-modal .tc-tabs [aria-pressed=true]{background:#173f4b;color:#fff;border-color:#173f4b}.teacher-center-modal .tc-feed{display:grid;gap:16px;margin:16px 0}.teacher-center-modal .tc-post{border:1px solid #dce9eb;border-radius:18px;padding:20px;background:#fff}.teacher-center-modal .tc-post header,.teacher-center-modal .tc-post footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.teacher-center-modal .tc-kind,.teacher-center-modal .tc-state{border-radius:8px;background:#edf7f4;color:#235c57;padding:4px 8px;font-size:13px}.teacher-center-modal .tc-post footer{margin-top:12px}.teacher-center-modal .tc-post footer button{font-size:13px}.teacher-center-modal .tc-body{white-space:pre-wrap;overflow-wrap:anywhere}.teacher-center-modal label{display:grid;gap:7px;margin:14px 0;color:#234a54;font-weight:650}.teacher-center-modal :is(input:not([type=checkbox]),textarea,select){display:block;width:100%;max-width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #b8d2d7;border-radius:12px;background:#fff;color:#173c47;font-size:16px}.teacher-center-modal textarea{resize:vertical}.teacher-center-modal .tc-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.teacher-center-modal label.tc-consent{display:flex;align-items:flex-start;gap:12px;font-weight:400}.teacher-center-modal .tc-consent input{flex:0 0 22px;width:22px;height:22px;margin-top:3px;accent-color:#087f75}.teacher-center-modal .tc-note{padding:12px;border-radius:12px;background:#f0f7f6;color:#365963;font-size:14px;overflow-wrap:anywhere}.teacher-center-modal details summary{min-height:44px;padding:10px 0;cursor:pointer;color:#176a68}.teacher-center-modal .tc-empty{padding:36px 18px;text-align:center;color:#466571;background:#f5f9fa;border-radius:16px}.teacher-center-page{margin:0;background:#f2f7f8;color:#173c47;font:16px/1.6 system-ui,sans-serif}.teacher-center-page>main{max-width:1000px;margin:24px auto;padding:24px;background:#fff;border-radius:20px}.teacher-center-page article{padding:20px;margin:20px 0;border:1px solid #c9dce0;border-radius:16px}.teacher-center-page label{display:grid;gap:8px;margin:14px 0}.teacher-center-page :is(input,textarea,select,button){padding:12px;font:inherit;max-width:100%}.teacher-center-page a{color:#126763}.teacher-center-page textarea{min-height:90px}.teacher-center-entry{display:block!important;margin:14px 0!important;padding:14px!important;border:1px solid #bedcda!important;border-radius:14px!important;background:#f1fbf8!important;color:#174f58!important;text-decoration:none!important;font-weight:750!important}
@media(max-width:600px){.teacher-center-modal{padding:6px}.teacher-center-modal>section{max-height:calc(100dvh - 12px);border-radius:18px}.teacher-center-modal .tc-top{padding:10px 14px}.teacher-center-modal .tc-content{padding:16px}.teacher-center-modal .tc-status{margin:0 14px}.teacher-center-modal h2{font-size:22px}.teacher-center-modal .tc-fields{grid-template-columns:1fr;gap:0}.teacher-center-modal .tc-post{padding:16px}.teacher-center-modal .tc-tabs{gap:6px}.teacher-center-modal .tc-person{gap:12px}.teacher-center-page>main{margin:8px;padding:16px}}
@media(max-width:600px){.teacher-center-modal .tc-person img,.teacher-center-modal .tc-avatar{flex-basis:56px;width:56px;height:56px;border-radius:18px;font-size:26px}.teacher-center-modal .tc-person h2{font-size:20px}.teacher-center-modal .tc-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.teacher-center-modal .tc-links :is(button,a){font-size:14px;line-height:1.4;padding:9px 10px;text-align:center}.teacher-center-modal .tc-tabs button{font-size:14px}}
.teacher-center-modal .tc-confirm-layer{position:fixed;inset:0;z-index:3;display:grid;place-items:center;padding:20px;background:rgba(8,30,42,.55)}.teacher-center-modal .tc-confirm-layer>section{width:min(480px,100%);max-height:85dvh;overflow:auto;border-radius:20px;padding:24px;background:#fff;box-shadow:0 18px 70px #00263740}.teacher-center-modal .tc-confirm-layer>section>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px}.teacher-center-modal .tc-confirm-layer [role=alert]{color:#a52134}
.teacher-center-modal>section{width:min(1200px,100%);background:#f8fbfc}.teacher-center-modal .tc-top{gap:8px}.teacher-center-modal .tc-top>span{flex:1;min-width:0}.teacher-center-modal .tc-top button{font-size:14px;line-height:1.35;padding:8px 12px}.teacher-center-modal .tc-top [data-tc-close]{font-size:24px}.teacher-center-modal .tc-content{min-width:0}.teacher-center-modal .tc-content *{min-width:0;overflow-wrap:anywhere}.teacher-center-modal .tc-hero{border:1px solid #dce9eb;border-radius:20px;overflow:hidden;background:#fff}.teacher-center-modal .tc-hero-accent{height:54px;background:linear-gradient(110deg,#0b4c61,#167d82 65%,#8edac5)}.teacher-center-modal .tc-hero .tc-person{padding:0 24px;margin-top:-14px;position:relative;align-items:flex-start}.teacher-center-modal .tc-person>div{padding-top:30px}.teacher-center-modal .tc-hero :is(img,.tc-avatar){border:4px solid #fff;box-shadow:0 3px 16px #16445316}.teacher-center-modal .tc-hero .tc-links{padding:0 24px;margin:18px 0}.teacher-center-modal .tc-person small{display:block;line-height:1.5}.teacher-center-modal .tc-person h2{font-size:28px;line-height:1.25;margin:5px 0}.teacher-center-modal .tc-tabs{margin:18px 0;padding-bottom:12px}.teacher-center-modal .tc-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:18px}.teacher-center-modal :is(.tc-profile-main,.tc-profile-side){display:grid;align-content:start;gap:16px}.teacher-center-modal .tc-section{padding:22px;background:#fff;border:1px solid #dce9eb;border-radius:18px}.teacher-center-modal .tc-section h3{margin-top:0;font-size:18px}.teacher-center-modal .tc-invitation{background:#eaf7f2}.teacher-center-modal .tc-fish-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.teacher-center-modal .tc-fish{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 3px;background:#f3f8f9;border-radius:12px;text-align:center;font-size:13px;line-height:1.4}.teacher-center-modal .tc-fish img{max-width:100%;object-fit:contain;flex-shrink:0}.teacher-center-modal .tc-class-list{display:grid;gap:8px}.teacher-center-modal .tc-class-list>div{padding:10px 12px;background:#eff7f8;border-radius:10px}.teacher-center-modal .tc-external{color:#086f68;text-decoration:underline}.teacher-center-modal .tc-editor-group{border:1px solid #d4e5e7;background:#fff;border-radius:14px;padding:4px 16px;margin:14px 0}.teacher-center-modal .tc-editor-group>summary{font-weight:750}.teacher-center-modal .tc-visibility{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.teacher-center-modal .tc-consent small{display:block;margin-top:5px}.teacher-center-modal .tc-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.teacher-center-modal .tc-filters button{min-height:40px;font-size:14px}.teacher-center-modal .tc-filters [aria-pressed=true]{background:#e0f2ee;border-color:#22877c;color:#125c56}.teacher-center-modal .tc-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.teacher-center-modal .tc-directory>button{display:flex;align-items:center;text-align:left;gap:12px;background:#fff;padding:16px}.teacher-center-modal .tc-directory img{border-radius:16px;object-fit:cover}.teacher-center-modal .tc-directory button>span:nth-child(2){flex:1}.teacher-center-modal .tc-directory small{display:block}.teacher-center-modal .tc-directory .tc-avatar{width:56px;height:56px;flex-basis:56px}.teacher-center-modal .tc-view>form{max-width:860px;margin:0 auto;padding:20px;border:1px solid #dce9eb;border-radius:18px;background:#fff}
/* The social profile has broader link styles: keep this entry at the established card/button scale. */
:is(.social-profile-modal,.social-own-profile) a.teacher-center-entry,a.teacher-center-entry{display:grid!important;grid-template-columns:38px minmax(0,1fr) 20px!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:68px!important;margin:14px 0!important;padding:12px 16px!important;font:600 15px/1.4 system-ui,sans-serif!important;box-sizing:border-box!important;text-align:left!important;overflow-wrap:anywhere!important}
a.teacher-center-entry .tc-entry-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#d9f1eb;font-size:21px!important}a.teacher-center-entry .tc-entry-text{display:block!important;min-width:0!important}a.teacher-center-entry .tc-entry-text b{display:block!important;color:#174f58!important;font-size:15px!important;line-height:1.4!important}a.teacher-center-entry .tc-entry-text small{display:block!important;color:#456972!important;font:400 12px/1.45 system-ui,sans-serif!important;margin-top:3px!important}a.teacher-center-entry .tc-entry-arrow{font-size:20px!important;line-height:1!important}
@media(max-width:900px){.teacher-center-modal .tc-profile-grid{grid-template-columns:1fr}.teacher-center-modal .tc-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-center-modal .tc-fish-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.teacher-center-modal .tc-top{padding:8px}.teacher-center-modal .tc-top>span{font-size:10px;letter-spacing:.04em}.teacher-center-modal .tc-top button{padding:7px;max-width:100px;font-size:12px}.teacher-center-modal .tc-content{padding:12px}.teacher-center-modal .tc-hero .tc-person{padding:0 14px;gap:12px}.teacher-center-modal .tc-person>div{padding-top:26px}.teacher-center-modal .tc-person h2{font-size:22px}.teacher-center-modal .tc-hero .tc-links{padding:0 14px}.teacher-center-modal .tc-visibility{grid-template-columns:1fr}.teacher-center-modal .tc-section{padding:16px}.teacher-center-modal .tc-directory{grid-template-columns:1fr}.teacher-center-modal .tc-fish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-center-modal .tc-view>form{padding:14px}.teacher-center-modal .tc-hero-accent{height:40px}}
@media(max-width:360px){:is(.social-profile-modal,.social-own-profile) a.teacher-center-entry,a.teacher-center-entry{gap:8px!important;padding:10px 12px!important;min-height:60px!important}a.teacher-center-entry .tc-entry-text small{display:none!important}}
/* Profile and community use the same identity, controls and disclosure rules. */
.teacher-center-modal>section{background:#f4f7fa;border:1px solid #e3e9ed;box-shadow:0 30px 100px #001c384a}
.teacher-center-modal .tc-top{padding:12px 18px;background:#fff;gap:12px}
.teacher-center-modal .tc-top>span{color:#4b6872;font-size:10px;letter-spacing:.12em}
.teacher-center-modal .tc-community-link{color:#166e65;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #d3e4df;border-radius:11px;font-size:13px;font-weight:650;white-space:nowrap}
.teacher-center-modal .tc-hero{border-color:#dfe7eb;border-radius:21px;box-shadow:0 4px 16px #243e4b06}
.teacher-center-modal .tc-hero-accent{height:104px;background:radial-gradient(circle at 83% 40%,#f7d59885 0 36px,transparent 37px),radial-gradient(ellipse at 70% 160%,#a9d4c0 0 45%,transparent 46%),linear-gradient(105deg,#dbeee7,#edf5eb 58%,#e9ebf7)}
.teacher-center-modal .tc-hero .tc-person{padding:0 28px;margin-top:-30px;gap:22px}
.teacher-center-modal .tc-hero :is(.tc-person img,.tc-avatar){flex-basis:96px;width:96px;height:96px;border-radius:27px;border:5px solid white;background:#e1efea;font-size:38px;box-shadow:0 5px 16px #1a524d16}
.teacher-center-modal .tc-person>div{padding-top:42px}
.teacher-center-modal .tc-person>div>small:first-child{font-size:10px;letter-spacing:.1em;color:#668179}
.teacher-center-modal .tc-person h2{font-size:31px;letter-spacing:-.03em;font-weight:750;margin:7px 0}
.teacher-center-modal .tc-person p{font-size:15px;color:#506e77;margin:6px 0 10px}
.teacher-center-modal .tc-hero .tc-links{padding:0 28px;margin:23px 0}
.teacher-center-modal .tc-tabs{gap:0;border-bottom:1px solid #d7e2e6;padding:0;margin:22px 0}
.teacher-center-modal .tc-tabs button{border:0;background:none;border-radius:0;padding:12px 17px;color:#677d86;min-height:48px;border-bottom:3px solid transparent;font-size:14px}
.teacher-center-modal .tc-tabs [aria-pressed=true]{background:none;color:#0c7066;border-color:#0c8374}
.teacher-center-modal .tc-profile-grid{gap:20px;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr)}
.teacher-center-modal .tc-section{border-color:#e0e8eb;padding:24px;border-radius:18px}
.teacher-center-modal .tc-section h3{font-size:17px;letter-spacing:-.01em;color:#284d57}
.teacher-center-modal .tc-section p{font-size:14px;line-height:1.8;color:#516d76}
.teacher-center-modal .tc-invitation{background:#edf5ef;border-color:#d6e7da}
.teacher-center-modal .tc-post{padding:25px;border-color:#dfe7ec;box-shadow:0 3px 14px #103f4903}
.teacher-center-modal .tc-post h3{font-size:22px;line-height:1.45;letter-spacing:-.02em;margin:15px 0 8px}
.teacher-center-modal .tc-post p{font-size:15px;line-height:1.85}
.teacher-center-modal .tc-directory>button{border-color:#dfe7eb;border-radius:18px}
@media(max-width:600px){.teacher-center-modal .tc-top{padding:12px;gap:8px}.teacher-center-modal .tc-top>span{flex:1 0 calc(100% - 100px);margin-right:48px;font-size:10px}.teacher-center-modal .tc-top [data-tc-close]{position:absolute;right:8px;top:8px;width:44px;height:44px;max-width:none}.teacher-center-modal .tc-top [data-tc-back]{order:-1;width:44px;flex-shrink:0}.teacher-center-modal .tc-community-link{order:1;max-width:none;font-size:12px}.teacher-center-modal .tc-top [data-tc-directory]{order:2;max-width:none;font-size:12px}}
@media(max-width:900px){.teacher-center-modal .tc-profile-grid{grid-template-columns:1fr}}
@media(max-width:600px){.teacher-center-modal .tc-top{flex-wrap:wrap;padding:8px;gap:6px}.teacher-center-modal .tc-top>span{flex:1 1 80px;font-size:9px}.teacher-center-modal .tc-community-link{font-size:11px;white-space:normal;padding:6px 9px;max-width:105px}.teacher-center-modal .tc-top [data-tc-directory]{font-size:11px;max-width:84px}.teacher-center-modal .tc-hero-accent{height:78px}.teacher-center-modal .tc-hero .tc-person{margin-top:-22px;padding:0 16px;gap:12px}.teacher-center-modal .tc-hero :is(.tc-person img,.tc-avatar){flex-basis:70px;width:70px;height:70px;border-radius:21px;border-width:4px}.teacher-center-modal .tc-person>div{padding-top:30px}.teacher-center-modal .tc-person h2{font-size:24px}.teacher-center-modal .tc-person p{font-size:13px}.teacher-center-modal .tc-hero .tc-links{padding:0 16px;margin:18px 0}.teacher-center-modal .tc-section{padding:18px}.teacher-center-modal .tc-post{padding:18px}.teacher-center-modal .tc-post h3{font-size:20px}}
@media(max-width:600px){.teacher-center-modal .tc-top{display:grid;grid-template-columns:44px minmax(0,1fr) 90px;gap:8px;padding:12px}.teacher-center-modal .tc-top>span{grid-column:2;grid-row:1;margin:0;font-size:10px}.teacher-center-modal .tc-top [data-tc-back]{grid-column:1;grid-row:1;order:initial}.teacher-center-modal .tc-top [data-tc-close]{grid-column:3;grid-row:1;position:static;justify-self:end;width:44px;height:44px}.teacher-center-modal .tc-community-link{grid-column:1/3;grid-row:2;max-width:none;font-size:12px;white-space:normal}.teacher-center-modal .tc-top [data-tc-directory]{grid-column:3;grid-row:2;max-width:none;width:90px;font-size:11px}.teacher-center-modal.tc-embedded .tc-top>span{grid-column:1/3}}

/* Dark social surfaces retain their ocean palette; the full profile stays light. */
:is(.social-own-profile,.social-profile-modal,.social-drawer) a.teacher-center-entry{background:linear-gradient(120deg,#124653,#103744)!important;border-color:rgba(124,219,225,.32)!important;color:#f1fcff!important;box-shadow:none!important}
:is(.social-own-profile,.social-profile-modal,.social-drawer) a.teacher-center-entry .tc-entry-text b,:is(.social-own-profile,.social-profile-modal,.social-drawer) a.teacher-center-entry .tc-entry-arrow{color:#f1fcff!important}
:is(.social-own-profile,.social-profile-modal,.social-drawer) a.teacher-center-entry .tc-entry-text small{color:#b8d9e1!important}
:is(.social-own-profile,.social-profile-modal,.social-drawer) .tc-entry-icon{background:rgba(91,217,213,.12)!important}
:is(.social-own-profile,.social-profile-modal,.social-drawer) a.teacher-center-entry:hover{background:#195463!important}
.social-community-address{display:grid;gap:9px;margin:12px 0 22px;padding:14px 16px;border:1px solid #376375;border-radius:16px;background:#0b303e;min-width:0;color:#c4e1e8;font-size:13px}
.social-community-address small{font-size:10px;letter-spacing:.07em;color:#9cd8df}.social-community-address a{color:#b0f1e8!important;overflow-wrap:anywhere;line-height:1.5;font-size:14px;font-weight:700;min-height:44px;display:flex;align-items:center}
.social-community-address button{background:#164b59!important;border:1px solid #3b7180!important;color:#effbff!important;border-radius:10px;padding:10px;min-height:44px;white-space:normal;text-align:left}
.tc-profile-address{margin-top:20px;padding:0 16px 20px;display:grid;gap:8px;min-width:0}.tc-profile-address small{color:#54777c;font-size:11px;letter-spacing:.07em}.tc-profile-address a{color:#007d75;overflow-wrap:anywhere;font-weight:700;min-height:44px;display:flex;align-items:center}.tc-profile-address p{font-size:13px;color:#526f7a;margin:0;line-height:1.7}
