/* Shared module layout: university green, warm gold, generous readable surfaces. */
.module-page{--header-height:82px;--green:#146344;--green-dark:#103f2e;--green-light:#edf5ef;--gold:#bb9745;--gold-light:#f8f1df;--canvas:#f4f6f3;--surface:#fff;--text:#253c30;--muted:#66766b;--border:#e0e7df;background:var(--canvas);font-size:15px}
.module-page .topbar{height:82px;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:none;padding:0 32px;color:var(--text);gap:16px}.module-page .topbar .brand{color:var(--green-dark);gap:12px}.module-page .brand-logo{width:44px!important;height:44px!important;max-width:44px!important;flex-basis:44px;padding:2px;background:#fff;border:1px solid #e6e9df}.module-page .brand-copy strong{font-size:17px;letter-spacing:1.1px;font-weight:800}.module-page .brand-copy strong span{font-weight:500}.module-page .brand-copy small{font-size:9px;letter-spacing:1.2px;color:var(--muted);margin-top:5px}.module-page .top-actions{gap:12px}.module-page .top-actions .admin-label{font-size:11px;color:var(--green);background:var(--green-light);border:1px solid #dbe9dc;padding:6px 10px;letter-spacing:0;margin:0}.module-page .top-divider{background:var(--border)}.module-page .topbar .icon-button{border:1px solid var(--border);background:var(--surface);color:var(--green);width:36px;min-width:36px;min-height:36px;height:36px;border-radius:0}.module-page .topbar .icon-button:hover{background:var(--green-light)}.module-page .account-copy strong{color:var(--text);font-size:12px}.module-page .account-copy small{color:var(--muted);font-size:11px}.module-page .topbar .avatar{background:var(--gold-light);border:1px solid #e9d9b3;color:#725a24;width:36px;height:36px}.module-page .dashboard-button{display:none}
.module-page .sidebar{width:264px;flex-basis:264px;background:#103f2e;color:#e2ebe3;border-right:0;padding:26px 16px 20px;top:82px;height:calc(100dvh - 82px)}.module-page .workspace-label{padding:0 10px 24px;gap:12px;border-bottom:1px solid #ffffff18;margin-bottom:18px}.module-page .workspace-icon{border:1px solid #c6a34b55;background:#ffffff08;color:#e4cd92;padding:10px;border-radius:0;font-size:12px;font-weight:750;letter-spacing:1px}.module-page .workspace-label strong{font-size:14px;color:#fff}.module-page .workspace-label small{font-size:11px;color:#adc6b8;margin-top:4px}.module-page .nav-label{color:#bca772;font-size:10px;letter-spacing:1.4px;margin:22px 12px 10px}.module-page .sidebar .nav-item{color:#d0e0d5;font-size:13px;line-height:1.45;min-height:43px;margin:4px 0;padding:11px 12px;gap:12px;border-radius:0;font-weight:500}.module-page .sidebar .nav-item:hover{background:#ffffff0c;color:#fff}.module-page .sidebar .nav-item.active{background:#f1e3bb;color:#283d2d;font-weight:750}.module-page .sidebar .nav-item.active:before{display:none}.module-page .sidebar .nav-item .icon{width:17px;height:17px;opacity:.85}.module-page .sidebar .nav-item .nav-text{white-space:normal;line-height:1.45;overflow:visible}.module-page .sidebar-bottom{color:#c6d5cb;font-size:11px;padding:26px 12px 0}.module-page .sidebar-bottom small{color:#97b3a3;font-size:10px;line-height:1.5}.module-page .small-dot{background:#cfb472}
.module-page .workspace{min-width:0}.module-page .workspace main{max-width:1600px;padding:34px 36px 40px}.module-page .page-heading{margin:0 0 30px;padding-bottom:24px;border-bottom:1px solid var(--border);align-items:center;gap:20px}.module-page .breadcrumb{color:var(--muted);font-size:11px;letter-spacing:.2px;margin:0 0 10px;display:flex;align-items:center;gap:6px}.module-page .breadcrumb span{padding:0;color:var(--muted)}.module-page .breadcrumb span:last-child{color:var(--green);font-weight:600}.module-page #title{font-size:clamp(25px,2.2vw,34px);font-weight:750;letter-spacing:-1px;color:var(--text);line-height:1.2;margin:0}.module-page #description{font-size:14px;color:var(--muted);line-height:1.7;margin:11px 0 0;max-width:72ch}.module-page .heading-actions .button{background:var(--surface);border:1px solid #d3dfd3;color:var(--green);font-weight:650;box-shadow:0 2px 3px #123e2104}.module-page .heading-actions .button:before{content:'↻';font-size:20px;font-weight:400;line-height:1}.module-page .module-content-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start}.module-page .module-content-grid>.panel{min-width:0;margin:0;background:var(--surface);border:1px solid var(--border);border-radius:0;box-shadow:0 3px 14px #113e2205!important;overflow:hidden}.module-page .section-heading{padding:23px 26px 21px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--surface);border-bottom:1px solid var(--border);margin:0}.module-page .section-kicker{display:block;font-size:9px;letter-spacing:1.7px;font-weight:750;color:#927334;margin-bottom:8px}.module-page .section-heading h2{font-size:19px;letter-spacing:-.35px;font-weight:700;color:var(--text);line-height:1.4;margin:0}.module-page .section-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin:7px 0 0}.module-page #formPanel .section-heading{border-top:3px solid var(--gold);padding-top:20px}.module-page #moduleForm{padding:26px;gap:22px}.module-page #moduleForm .module-form-grid{gap:22px;grid-template-columns:repeat(2,minmax(0,1fr))}.module-page #moduleForm label{font-size:13px;font-weight:650;color:var(--text);gap:9px}.module-page #moduleForm input:not([type=checkbox]):not([type=radio]),.module-page #moduleForm select,.module-page #moduleForm textarea{background:var(--surface);border:1px solid #cfdacf;border-radius:0;min-height:46px;padding:11px 13px;color:var(--text);font-size:14px;box-shadow:0 1px 2px #173c2204}.module-page #moduleForm input:focus,.module-page #moduleForm select:focus,.module-page #moduleForm textarea:focus{border-color:#75a788;box-shadow:0 0 0 3px #14634415;outline:0}.module-page #moduleForm textarea{min-height:110px;line-height:1.6}.module-page #moduleForm .button{justify-self:start;min-width:144px;margin-top:2px;background:#146344;border:1px solid #146344;color:#fff;min-height:44px;font-size:13px;letter-spacing:.1px;border-radius:0;box-shadow:0 3px 6px #14634412}.module-page #moduleForm .button:hover{background:#0d4b32}.module-page #moduleForm .field-help{font-size:12px;color:var(--muted);line-height:1.6}.module-page #records{margin:0;min-width:520px}.module-page #records th{background:#f6f8f4;color:#637266;font-size:10px;font-weight:700;letter-spacing:1px;padding:15px 24px;border-bottom:1px solid var(--border)}.module-page #records td{color:var(--text);font-size:13px;line-height:1.6;padding:17px 24px;vertical-align:middle;border-bottom:1px solid #edf0e9;max-width:380px}.module-page #records tbody tr:last-child td{border-bottom:0}.module-page #records a{color:var(--green);font-weight:600}.module-page #empty{padding:54px 24px;color:var(--muted);font-size:13px;background:var(--surface)}.module-page #empty:before{content:'—';display:block;margin:0 auto 16px;width:48px;height:48px;line-height:48px;border:1px solid var(--border);border-radius:0;color:#a48b50;background:#faf7ed;font-size:22px}.module-page .site-footer{padding:20px 36px;background:transparent;border-top:1px solid var(--border);color:#7a877d;font-size:11px}.module-page .session-notice.loading-state,.module-page .session-notice.error-state{margin:30px 36px;border-radius:0}.module-page .chat-layout{margin:-4px}.module-page #moduleForm .chat-contact{background:transparent;color:var(--text);border:0;border-radius:0;min-width:0}.module-page #moduleForm .chat-contact.active{background:var(--green-light)}
@media(min-width:1400px){.module-page .module-content-grid:has(>#formPanel:not([hidden])){grid-template-columns:minmax(330px,.8fr) minmax(0,1.45fr)}.module-page #moduleForm .module-form-grid{grid-template-columns:1fr}.module-page[data-module*=messaging] .module-content-grid,.module-page[data-module*=file] .module-content-grid{grid-template-columns:1fr}.module-page[data-module*=messaging] #moduleForm .module-form-grid,.module-page[data-module*=file] #moduleForm .module-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.module-page[data-theme=dark],html[data-theme=dark] .module-page{--canvas:#111c16;--surface:#1c2b22;--text:#e0eae1;--muted:#a7b9aa;--border:#33493a;--green:#8ed1a7;--green-light:#243e2c}.module-page[data-theme=dark] .topbar,html[data-theme=dark] .module-page .topbar{background:var(--surface)}html[data-theme=dark] .module-page .topbar .brand{color:#e8dfc4}html[data-theme=dark] .module-page .top-actions .admin-label{background:#243e2c;border-color:#39533f}html[data-theme=dark] .module-page #records th{background:#243329;color:#b3c4b6}html[data-theme=dark] .module-page #records td{border-color:var(--border)}html[data-theme=dark] .module-page #moduleForm input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] .module-page #moduleForm select,html[data-theme=dark] .module-page #moduleForm textarea{border-color:#49614e}html[data-theme=dark] .module-page #empty:before{background:#2c3021;border-color:#4e5037;color:#d8bc75}html[data-theme=dark] .module-page .section-kicker{color:#d7bb7b}html[data-theme=dark] .module-page .sidebar{background:#0d3023}
@media(max-width:1000px){.module-page .topbar{padding:0 20px}.module-page .top-actions .admin-label{display:none}.module-page .workspace main{padding:28px 24px}.module-page .sidebar{position:fixed;left:0;z-index:60;transform:translateX(-100%);transition:transform .2s ease;width:280px}.module-page .sidebar.open{transform:translateX(0)}.module-page .mobile-menu{display:inline-flex}.module-page .sidebar-overlay{inset:82px 0 0;z-index:50;background:#0a2416a0;backdrop-filter:blur(2px)}.module-page .session-notice.loading-state,.module-page .session-notice.error-state{margin:24px}.module-page .site-footer{padding:20px 24px}}
@media(max-width:600px){.module-page .topbar{padding:0 14px;height:72px}.module-page{--header-height:72px}.module-page .brand-copy strong{font-size:12px;letter-spacing:.4px}.module-page .brand-copy strong span{display:inline;font-size:12px;letter-spacing:.4px}.module-page .brand-copy small{display:none}.module-page .brand-logo{width:36px!important;height:36px!important;flex-basis:36px}.module-page .top-actions{gap:6px}.module-page .topbar .avatar,.module-page .account-copy,.module-page .top-divider{display:none}.module-page .sidebar{top:72px;height:calc(100dvh - 72px)}.module-page .sidebar-overlay{inset:72px 0 0}.module-page .workspace main{padding:24px 16px 30px}.module-page .page-heading{gap:17px;padding-bottom:22px;margin-bottom:22px;flex-direction:column;align-items:flex-start}.module-page .heading-actions{width:auto}.module-page .heading-actions .button{min-height:38px;padding:7px 13px;font-size:12px}.module-page .section-heading{padding:20px}.module-page #formPanel .section-heading{padding-top:17px}.module-page #moduleForm{padding:20px}.module-page #moduleForm .module-form-grid{grid-template-columns:1fr;gap:18px}.module-page #moduleForm .button{width:100%}.module-page .section-heading h2{font-size:18px}.module-page .site-footer{padding:18px 16px;gap:6px;font-size:10px}.module-page #records td,.module-page #records th{padding:14px 18px}.module-page .module-content-grid{gap:22px}.module-page .session-notice.loading-state,.module-page .session-notice.error-state{margin:20px 16px}.module-page .chat-compose{flex-wrap:wrap}}
