.portal-header{border-bottom:3px solid var(--theme-highlight)}
.portal-header h1{font-weight:700}
.portal-header h1::before{content:"";display:inline-block;width:7px;height:21px;margin-right:11px;border-radius:8px;background:var(--theme-highlight);vertical-align:-3px}
.header-actions{gap:10px}.header-actions button.josy-trigger{width:auto;height:auto;min-height:39px;display:flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #ffffff67;border-radius:11px;background:#ffffff18;color:#fff;white-space:nowrap}.header-actions button.josy-trigger:hover{background:#ffffff30}.josy-trigger b{font-size:13px}.josy-count{font-size:11px;font-weight:700;color:#2b1d4e;background:#ffdf75;border-radius:8px;padding:5px 7px}.josy-trigger small{font-size:10px;color:#fcefc6}.josy-spark{color:#ffd56c;font-size:20px;line-height:1}.header-actions button:first-child.josy-trigger{width:auto;height:auto;border-radius:11px;background:#ffffff18}
.josy-dialog,.material-dialog{border:0;border-radius:20px;padding:0;max-height:min(84vh,800px);box-shadow:0 26px 90px #160a3c60;color:var(--theme-text);background:var(--theme-surface)}.josy-dialog{width:min(590px,calc(100vw - 30px))}.josy-dialog::backdrop,.material-dialog::backdrop{background:#171029a8}.josy-dialog-top{display:flex;align-items:center;gap:14px;padding:22px 25px;background:var(--theme-primary);color:#fff;border-bottom:4px solid var(--theme-highlight)}.josy-dialog-top .josy-spark{font-size:32px}.josy-dialog-top>div{flex:1}.josy-dialog-top small{letter-spacing:.13em;font-weight:800;color:#fcd369}.josy-dialog-top h2{margin:4px 0}.josy-dialog-top p{margin:0;font-size:12px;color:#eee4ff}.josy-dialog-top button,.material-dialog-head>button{border:0;background:#ffffff24;color:inherit;width:36px;height:36px;border-radius:9px;font-size:23px;cursor:pointer}.josy-dialog-content{padding:23px;display:grid;gap:17px}.josy-availability{background:#fff6dc;color:#77520d;border-left:4px solid var(--theme-highlight);padding:11px 13px;border-radius:8px;font-size:12px;margin:0}.josy-use-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.josy-use-grid span{border:1px solid var(--theme-border);border-radius:8px;padding:10px;background:var(--theme-surface-muted);font-size:12px;font-weight:700}.josy-dialog-content>label{display:grid;gap:6px;font-size:13px;font-weight:700}.josy-dialog-content select,.josy-dialog-content textarea{width:100%;border:1px solid var(--theme-border);border-radius:9px;padding:10px;font:inherit;background:var(--theme-surface);color:var(--theme-text)}.josy-dialog-content fieldset{display:flex;gap:15px;border:1px solid var(--theme-border);border-radius:9px;font-size:12px}.josy-dialog-content legend{font-weight:800}.josy-dialog-content fieldset label{display:flex;gap:5px;align-items:center}.josy-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.josy-dialog-foot small{color:var(--theme-muted)}.josy-dialog-foot button{border:0;border-radius:9px;background:var(--theme-accent-soft);color:var(--theme-muted);padding:11px;font-weight:800}.josy-dialog-content>a{font-size:12px;font-weight:800;color:var(--theme-accent)}
.discipline-module-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr))}.discipline-section .discipline-module{border:1px solid var(--theme-border);border-top:3px solid var(--subject-color)}.discipline-section .discipline-module-art{height:126px}.discipline-section .discipline-module-body{min-height:240px;align-items:stretch}.discipline-section .discipline-module-body h4{font-size:17px}.discipline-section .discipline-module-body p{font-size:13px;margin:0}.discipline-section .discipline-module-body details{margin-top:auto;margin-bottom:10px}.discipline-section .discipline-module-body>.type-button{margin-top:5px;width:100%;box-sizing:border-box}.discipline-section .discipline-module-progress{height:4px}.discipline-section .discipline-module-art .icon{width:62px;height:62px}
.materials-gallery{max-width:none}.material-section{margin:22px 0 32px}.material-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:17px;margin-top:17px}.material-card{display:flex;flex-direction:column;width:100%;padding:0;border:1px solid var(--theme-border);border-top:3px solid var(--subject-color);border-radius:19px;overflow:hidden;background:var(--theme-surface);text-align:left;box-shadow:var(--theme-shadow);font:inherit;cursor:pointer;color:var(--theme-text)}.material-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #21144022}.material-card-art{height:127px;display:grid;place-items:center;background:var(--subject-soft);color:var(--subject-color);border-bottom:4px solid #edeaf4}.material-card-art .icon{width:61px;height:61px;stroke-width:1.7}.material-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:11px;flex:1;padding:17px;min-height:190px}.material-card-body .count-badge{background:var(--subject-soft);color:var(--subject-color)}.material-card-body strong{font-size:17px;line-height:1.3}.material-card-body small{color:var(--theme-muted);line-height:1.4}.material-card-action{margin-top:auto;width:100%;box-sizing:border-box;padding:12px;text-align:center;border-radius:10px;background:var(--subject-color);color:#fff;font-size:13px;font-weight:800}.material-dialog{width:min(760px,calc(100vw - 28px))}.material-dialog-head{display:flex;align-items:center;gap:17px;padding:25px;background:var(--subject-soft);border-bottom:4px solid var(--subject-color)}.material-dialog-head>span{color:var(--subject-color)}.material-dialog-head>span .icon{width:56px;height:56px}.material-dialog-head>div{flex:1}.material-dialog-head small{color:var(--subject-color);font-size:11px;font-weight:900;letter-spacing:.13em}.material-dialog-head h2{font-size:23px;margin:5px 0}.material-dialog-head p{font-size:13px;margin:0;color:var(--theme-muted)}.material-dialog-head>button{color:var(--theme-text);background:#ffffffa0}.material-dialog-content{padding:21px 25px 27px;max-height:57vh;overflow:auto}.material-dialog-content h3{margin:0 0 15px}.material-file{display:flex;align-items:center;gap:14px;border:1px solid var(--theme-border);border-radius:12px;padding:13px;margin:9px 0}.material-file>.icon{width:24px;height:24px;color:var(--theme-accent)}.material-file span{flex:1;min-width:0;display:grid;gap:4px}.material-file small{color:var(--theme-muted);line-height:1.35}.material-file a{white-space:nowrap;background:var(--theme-accent);color:white;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:800}
.social-board{grid-template-columns:minmax(0,1fr) minmax(225px,280px);gap:20px;justify-content:center;max-width:1320px}.social-navigation{grid-column:1/-1;position:static;padding:11px 16px;border-top:3px solid var(--theme-highlight)}.social-navigation-brand,.social-navigation h3,.social-navigation>p{display:none}.social-navigation nav{display:flex;gap:5px;overflow-x:auto}.social-navigation nav button{width:auto;white-space:nowrap;padding:11px 13px}.social-stream{max-width:890px;width:100%}.social-side{top:90px}
.profile-heading{padding:14px 18px;background:var(--theme-surface);border:1px solid var(--theme-border);border-left:5px solid var(--theme-highlight);border-radius:18px}.profile-hero{border-top:4px solid var(--theme-highlight)}.profile-editor{border-top:4px solid var(--theme-accent)!important}.profile-editor>small,.profile-preview-panel>small{color:var(--theme-accent);font-weight:900;letter-spacing:.13em}.profile-editor>p,.profile-preview-panel>p{color:var(--theme-muted);line-height:1.5}.profile-editor .tool-form{gap:18px}.profile-editor .tool-form label{font-size:13px}.profile-editor .tool-form input,.profile-editor .tool-form textarea,.profile-editor .tool-form select{border-radius:11px}.profile-character-count{font-size:11px;color:var(--theme-muted);font-weight:500}.profile-file-label{position:relative}.profile-file-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.profile-file-picker{display:flex;align-items:center;gap:9px;border:1px dashed var(--theme-accent);border-radius:11px;padding:15px;color:var(--theme-accent);background:var(--theme-accent-soft);cursor:pointer}.profile-file-picker .icon{width:20px;height:20px}.profile-preview-panel{align-self:start;border-top:4px solid var(--theme-highlight)!important}.profile-preview-panel .profile-preview{border:4px solid #ffffff80;box-shadow:0 15px 32px #2b17412e}.profile-swatch-list{margin-top:18px}.profile-swatch{border:3px solid #fff;box-shadow:0 0 0 1px var(--theme-border);cursor:pointer}.profile-swatch:hover{box-shadow:0 0 0 2px var(--theme-highlight)}.profile-card-link{display:inline-block;margin-top:16px;color:var(--theme-accent);font-weight:800}.profile-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}
.tool-heading:not(.profile-heading) small,.op-eyebrow,.panel-eyebrow,.reference-heading small{color:var(--theme-accent)}.tool-heading:not(.profile-heading) .tool-heading-icon{border-bottom:4px solid var(--theme-highlight)}.reference-heading .type-icon.large{border-bottom:4px solid var(--theme-highlight)}.op-page-heading .op-eyebrow,.hub-ai .op-eyebrow{display:inline-block;border-bottom:3px solid var(--theme-highlight);padding-bottom:4px}.journey-page .tool-heading-icon,.journey-hero{border-color:var(--theme-highlight)}
@media(max-width:1100px){.social-board{grid-template-columns:1fr}.social-stream{max-width:none}.social-side{display:grid;grid-template-columns:1fr 1fr;position:static}}
@media(max-width:760px){.portal-header h1{font-size:16px}.header-actions button.josy-trigger{gap:4px;padding:5px}.josy-trigger small{display:none}.josy-count{font-size:10px}.josy-dialog-foot{align-items:flex-start;flex-direction:column}.social-side{grid-template-columns:1fr}.profile-layout{grid-template-columns:1fr}.material-dialog-head{padding:15px}.material-file{flex-wrap:wrap}.material-file a{margin-left:38px}.josy-use-grid{grid-template-columns:1fr 1fr}}
.profile-preview.azul{background:linear-gradient(135deg,#4c2aa4,#7951d5 70%,#b68b30)}.profile-swatch.azul{background:#6941c6}.profile-preview>span{color:#ffe28a}.profile-editor .tool-primary{background:var(--theme-primary)}
