.teoc-workspace[data-bs-theme="dark"] {
    --teoc-bg:#080808;
    --teoc-nav:#111;
    --teoc-panel:#191919;
    --teoc-raised:#222;
    --teoc-border:#292929;
    --teoc-hover:#a3a3a340;
    --teoc-selected:#a3a3a3;
    --teoc-selected-text:#080808;
    --bs-form-select-bg:var(--teoc-panel);
    color-scheme:dark;
}
.teoc-workspace {--teoc-raised:#eee;--teoc-selected-text:#080808}
.teoc-workspace body {margin:0;font-family:Poppins,SUITE,sans-serif}
.teoc-workspace .app-root {min-height:100dvh}
.teoc-auth-layout {display:flex;flex-direction:column;align-items:center;min-height:100dvh;padding:clamp(2rem,11vh,7rem) 1.25rem 2rem}
.teoc-auth-layout>form,.teoc-auth-layout>.teoc-auth-links,.teoc-auth-layout>hr {width:min(100%,25rem)}
.teoc-auth-heading {text-align:center;margin-bottom:2rem}
.teoc-brand {display:flex;flex-direction:column;align-items:center;gap:.35rem}
.teoc-brand img {width:8rem;max-width:100%}
.teoc-brand>span {font-size:1rem;letter-spacing:.32em;font-weight:600;padding-inline-start:.32em}
.teoc-brand small {font-size:.62em;letter-spacing:.13em}
.teoc-auth-heading p {margin:1.25rem 0 0;color:var(--teoc-muted);font-size:.65rem;letter-spacing:.22em}
.teoc-auth-card {background:var(--teoc-nav);border:1px solid var(--teoc-border);padding:clamp(1.3rem,5vw,2rem);border-radius:6px}
.teoc-auth-card h1 {font-size:1.4rem;margin:0 0 1.65rem}
.teoc-auth-card label {display:block;margin-bottom:.45rem;color:var(--teoc-text)}
.teoc-auth-card .form-control {border:1px solid var(--teoc-border);background:var(--teoc-panel);color:var(--teoc-text);border-radius:4px}
.teoc-auth-card .form-control:focus {border-color:var(--teoc-muted)}
.teoc-auth-card input:-webkit-autofill {box-shadow:0 0 0 1000px var(--teoc-panel) inset!important;-webkit-text-fill-color:var(--teoc-text);caret-color:var(--teoc-text)}
.teoc-auth-card [data-password-control=visibility] {top:auto!important;bottom:.18rem;transform:translateX(-12%)!important}
.teoc-auth-links {display:flex;justify-content:flex-end}
.teoc-auth-links a {color:var(--teoc-muted);font-weight:400}
.teoc-workspace .btn-primary,.teoc-workspace .btn-primary:hover,.teoc-workspace .btn-primary:focus {background:#a3a3a3!important;color:#080808!important;border-color:#a3a3a3!important}
.teoc-shell {min-height:100dvh}
.teoc-shell-signed-in {display:grid;grid-template-columns:15rem minmax(0,1fr)}
.teoc-rail.app-sidebar {position:sticky!important;top:0;width:auto!important;height:100dvh;display:flex;flex-direction:column;padding:2rem 1rem;overflow:auto;background:var(--teoc-nav)!important}
.teoc-rail .teoc-brand {align-items:flex-start;padding:.25rem .95rem 1.9rem}
.teoc-rail .teoc-brand img {max-width:6.75rem}
.teoc-rail .menu-link {min-height:2.8rem;padding:.45rem .75rem;transition:background-color 180ms,color 180ms;border-radius:4px}
.teoc-rail .menu-link.active {background:var(--teoc-selected)!important}
.teoc-rail .menu-link.active :is(.menu-title,.menu-icon i) {color:var(--teoc-selected-text)!important}
.teoc-main,.teoc-content {min-width:0}
.teoc-topbar {display:flex;align-items:center;justify-content:space-between;min-height:4.6rem;gap:1rem;padding:.65rem clamp(.75rem,3vw,2.5rem);border-bottom:1px solid var(--teoc-border);background:var(--teoc-nav)}
.teoc-topbar-label {display:flex;align-items:center;gap:.75rem;color:var(--teoc-muted)}
.teoc-topbar-controls {display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
.teoc-nav-trigger {display:none}
.teoc-content {padding:clamp(1rem,3vw,2.5rem)}
.teoc-files-heading h1 {font-size:clamp(1.7rem,4vw,2.5rem);letter-spacing:-.035em;font-weight:600;margin:0 0 1.45rem}
.teoc-file-toolbar {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.1rem}
.teoc-file-toolbar .form-control {background:var(--teoc-panel);border:1px solid var(--teoc-border)}
.teoc-file-panel {background:var(--teoc-panel);border:1px solid var(--teoc-border);border-radius:5px;min-height:20rem;padding:1rem clamp(.6rem,2vw,1.3rem)}
.teoc-file-panel .badge {background:transparent!important;padding-inline:0}
#file_manager_list_container {overflow-x:auto}
#file_manager_list {min-width:780px;width:100%!important}
#file_manager_list :is(th,td) {border-bottom:1px solid var(--teoc-border)}
#file_manager_list td {padding-block:.85rem}
.teoc-workspace :is(.btn,.menu-link,.form-control) {transition:color 180ms,background-color 180ms,border-color 180ms}
.teoc-workspace :is(.card,.modal-content,.menu-sub-dropdown) {box-shadow:none!important;border-radius:6px}
.teoc-workspace .teoc-avatar {width:2.55rem!important;height:2.55rem!important;border-radius:50%!important;background:var(--teoc-raised)}
.teoc-workspace .teoc-quota {width:clamp(10rem,23vw,18rem)}
.teoc-workspace .teoc-quota progress {height:.44rem}
.teoc-embedded .teoc-shell {display:block}
.teoc-embedded :is(.teoc-rail,.teoc-topbar) {display:none!important}
.teoc-embedded .teoc-content {padding:.8rem}
@media (max-width:991px) {
    .teoc-shell-signed-in {display:block}
    .teoc-rail.app-sidebar {position:fixed!important;width:15rem!important;z-index:105}
    .teoc-nav-trigger {display:inline-grid;place-items:center}
}
@media (max-width:575px) {
    .teoc-workspace .teoc-quota {width:clamp(6.5rem,30vw,11rem)}
    .teoc-topbar {gap:.3rem}
    .teoc-topbar-label>span {display:none}
    .teoc-file-toolbar .form-control {width:min(79vw,250px)!important}
}
@media (prefers-reduced-motion:reduce) {
    .teoc-workspace :is(.btn,.menu-link,.form-control) {transition:none}
}

/* Reference composition */
.teoc-auth-layout {padding-top:clamp(3.6rem,14vh,9.4rem)}
.teoc-auth-layout>form,.teoc-auth-layout>.teoc-auth-links {width:min(100%,620px)}
.teoc-auth-heading {margin-bottom:clamp(2rem,5vh,3.5rem)}
.teoc-auth-heading .teoc-brand {gap:clamp(.7rem,2.6vw,1.4rem)}
.teoc-auth-heading .teoc-brand img {width:clamp(11rem,21vw,20rem);max-width:none}
.teoc-auth-heading .teoc-brand>span {font-size:clamp(1.5rem,2.6vw,2.4rem);letter-spacing:.52em;font-weight:400;color:var(--teoc-muted)}
.teoc-auth-heading p {margin-top:clamp(1rem,2vw,1.5rem);font-size:clamp(.64rem,1.3vw,1.2rem);letter-spacing:.19em}
.teoc-auth-card {padding:clamp(1.4rem,4vw,3.6rem);border-radius:18px}
.teoc-auth-card label {font-size:clamp(1rem,1.6vw,1.5rem);margin-bottom:.75rem}
.teoc-auth-card .form-control {min-height:clamp(3rem,5.2vw,4.4rem);border-radius:12px}
.teoc-auth-card #sign_in_submit {min-height:clamp(3rem,5.5vw,4.75rem);border-radius:12px;margin:0!important;font-size:clamp(1.2rem,2vw,1.75rem)}
.teoc-auth-card [data-password-control=visibility] {bottom:50%;transform:translate(-22%,85%)!important}
.teoc-auth-links {margin-top:1rem}
.teoc-auth-layout>hr {display:none}
.teoc-shell-signed-in {width:min(100% - 2.6rem,1420px);margin:clamp(1rem,3.65vw,2.65rem) auto .25rem;padding:0 clamp(.85rem,1.6vw,1.5rem);
    min-height:calc(100dvh - 3rem);grid-template-columns:clamp(8.4rem,14vw,12.5rem) minmax(0,1fr);
    grid-template-rows:auto 1fr auto;column-gap:clamp(.9rem,1.6vw,1.5rem);background:var(--teoc-bg);border-radius:18px}
.teoc-topbar {grid-column:1/-1;background:transparent;min-height:clamp(5.8rem,10.8vw,7.75rem);padding:.85rem 0}
.teoc-topbar .teoc-brand {align-items:flex-start;gap:.22rem}
.teoc-topbar .teoc-brand img {width:clamp(4.1rem,9.5vw,7.2rem);max-width:none}
.teoc-topbar .teoc-brand>span {color:var(--teoc-muted);letter-spacing:.29em;font-size:clamp(.56rem,1.55vw,1.1rem);font-weight:400}
.teoc-workspace .teoc-avatar {width:clamp(2.3rem,4.5vw,3.2rem)!important;height:clamp(2.3rem,4.5vw,3.2rem)!important;border:3px solid var(--teoc-muted)!important;font-size:1.35rem}
.teoc-workspace .teoc-quota {width:clamp(7rem,16vw,11.3rem)}
.teoc-quota-summary,.teoc-quota-values {font-size:clamp(.67rem,1.45vw,1rem)}
.teoc-quota-values {display:block;color:var(--teoc-muted);margin-top:.38rem;white-space:nowrap}
.teoc-rail.app-sidebar {padding:2.05rem 0;position:relative!important;height:auto;background:transparent!important;border:0!important}
.teoc-nav-label,.teoc-breadcrumb {color:var(--teoc-muted);font-size:clamp(.82rem,1.7vw,1.125rem);font-weight:400;margin:0 0 1rem}
.teoc-account-label {padding-top:1.75rem;margin-top:1.65rem;border-top:1px solid var(--teoc-border)}
.teoc-rail .menu-link {margin-bottom:.4rem;min-height:clamp(2.6rem,5.55vw,4rem);padding-inline:.65rem;border-radius:9px}
.teoc-rail .menu-link .menu-title {font-size:clamp(.85rem,1.55vw,1.08rem)}
.teoc-content {padding:2.05rem 0 2.1rem}
.teoc-files-heading h1 {margin:0 0 .9rem}
.teoc-description {margin:0 0 .9rem;color:var(--teoc-muted);font-size:clamp(.9rem,1.55vw,1.12rem)}
.teoc-file-toolbar {gap:.75rem;margin-bottom:1.15rem;flex-wrap:nowrap}
.teoc-file-toolbar .card-title {flex:1;min-width:0}
.teoc-file-toolbar .card-title>div {width:100%}
.teoc-file-toolbar .form-control {width:100%!important;background:var(--teoc-panel);min-height:3.1rem;border-radius:9px!important}
.teoc-file-toolbar .card-toolbar .btn {min-height:3.1rem;border-radius:9px;white-space:nowrap}
.teoc-file-panel {background:transparent;border:0;min-height:0;padding:0}
.teoc-file-panel>.flex-stack:has([data-kt-filemanager-table-nav-bar]) {margin-bottom:.55rem}
.teoc-reference-footer {grid-column:1/-1;border-top:1px solid var(--teoc-border);padding:2.1rem 0 1rem;display:flex;justify-content:space-between;gap:.65rem;color:var(--teoc-muted);font-size:.92rem}
.teoc-online::before {content:"";display:inline-block;width:.55rem;height:.55rem;margin-right:.55rem;background:#43d680;border-radius:50%}
.teoc-viewbar {display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.teoc-viewbar[hidden],#teoc-reference-cards[hidden] {display:none!important}
.teoc-viewbar h2,#teoc-reference-cards h2 {margin:0;font-size:1.25rem}
.teoc-view-switch {display:flex;gap:.7rem}
.teoc-view-switch button,.teoc-icon-action {display:inline-grid;place-items:center;border:0;color:var(--teoc-muted);background:transparent;border-radius:8px;padding:0}
.teoc-view-switch button {width:2.8rem;height:2.8rem;background:var(--teoc-nav);font-size:1.35rem}
.teoc-view-switch button[aria-pressed=true],.teoc-icon-action:hover {background:var(--teoc-hover);color:var(--teoc-text)}
.teoc-folder-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0 0 1.5rem}
.teoc-folder-card,.teoc-file-card {position:relative;border:1px solid var(--teoc-border);border-radius:12px;padding:clamp(.8rem,1.6vw,1.2rem)}
.teoc-folder-card {background:var(--teoc-panel);min-height:clamp(6rem,13.6vw,9.7rem);display:grid;align-content:start;gap:.95rem}
.teoc-folder-card>svg,.teoc-file-card-main>svg {width:2rem;height:2rem;color:var(--teoc-muted)}
.teoc-folder-card>.teoc-card-actions {position:absolute;top:.8rem;right:.75rem}
.teoc-card-name {color:var(--teoc-text);width:fit-content;font-size:clamp(.95rem,1.7vw,1.18rem);overflow-wrap:anywhere;font-weight:600}
.teoc-card-name:hover {color:var(--teoc-muted)}
.teoc-file-cards {display:grid;gap:.75rem;margin-top:1.2rem}
.teoc-file-card {background:var(--teoc-nav)}
.teoc-file-card-main {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.15rem 0 1.5rem}
.teoc-file-card-label {display:grid;gap:.15rem;color:var(--teoc-muted)}
.teoc-card-actions {display:flex;align-items:center;gap:.2rem}
.teoc-icon-action {width:2rem;height:2rem;cursor:pointer;list-style:none}
.teoc-icon-action::-webkit-details-marker {display:none}
.teoc-icon-action svg {width:1.15rem;height:1.15rem}
.teoc-folder-card svg,.teoc-file-card svg {fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.teoc-card-menu {position:relative}
.teoc-card-menu-items {position:absolute;right:0;top:100%;padding:.3rem;z-index:10;min-width:9rem;border:1px solid var(--teoc-border);background:var(--teoc-panel);border-radius:7px}
.teoc-card-menu-items button {display:block;width:100%;padding:.4rem .65rem;background:transparent;border:0;text-align:left;color:var(--teoc-text);white-space:nowrap}
.teoc-card-menu-items button:hover {background:var(--teoc-hover)}
.teoc-file-dates {margin:0;border-top:1px solid var(--teoc-border);padding-top:1.55rem;display:grid;grid-template-columns:1fr 1fr;gap:.55rem;font-size:.95rem}
.teoc-file-dates dt {font-weight:400;color:var(--teoc-muted);margin-bottom:.1rem}
.teoc-file-dates dd {margin:0;color:var(--teoc-text)}
.teoc-no-items {color:var(--teoc-muted);margin:0}
#file_manager_list_container.teoc-card-mode table {display:none}
.teoc-card-mode .dt-layout-row:has(.dt-length,.dt-info,.dt-paging) {margin-top:.75rem}
@media(max-width:991px) {
    .teoc-shell-signed-in {display:grid;grid-template-columns:minmax(0,1fr)}
    .teoc-rail.app-sidebar {position:fixed!important;background:var(--teoc-nav)!important;padding:1.2rem}
}
@media(max-width:575px) {
    .teoc-shell-signed-in {width:100%;margin:0;border-radius:0}
    .teoc-content {padding-top:1.35rem}
    .teoc-file-toolbar {flex-wrap:wrap}
    .teoc-file-toolbar .card-title {flex-basis:100%}
    .teoc-file-toolbar .form-control {width:100%!important}
    .teoc-file-toolbar .card-toolbar {margin-left:auto}
    .teoc-file-card-main {grid-template-columns:auto minmax(0,1fr)}
    .teoc-file-card-main .teoc-card-actions {grid-column:2}
    .teoc-reference-footer {font-size:.62rem}
}

/* Shared sign-in dimensions and neutral controls. */
.teoc-workspace body.app-blank,
.teoc-workspace body.app-blank #app_root,
.teoc-workspace .teoc-auth-layout {background:#080808!important;color:#f5f5f5}
.teoc-workspace .teoc-auth-layout {
    --teoc-text:#f5f5f5;--teoc-muted:#a3a3a3;--teoc-nav:#111;
    --teoc-panel:#191919;--teoc-border:#292929;
    justify-content:center;min-height:100dvh;padding:24px 16px;flex:1;
}
.teoc-auth-layout>form,.teoc-auth-layout>.teoc-auth-links {width:min(100%,300px)}
.teoc-auth-heading {margin:0 0 24px}
.teoc-auth-heading .teoc-brand {gap:8px}
.teoc-auth-heading .teoc-brand img {width:150px;filter:invert(1)}
.teoc-auth-heading .teoc-brand>span {font-size:18px;letter-spacing:.36em}
.teoc-auth-heading p {margin:14px 0 0;font-size:10px;letter-spacing:.12em}
.teoc-auth-card {
    box-sizing:border-box;min-height:400px;height:auto;padding:28px;border-radius:8px;
    background:#111!important;display:flex;flex-direction:column;justify-content:center;
}
.teoc-auth-card label {font-size:15px;margin-bottom:8px}
.teoc-auth-card .form-control {height:44px;min-height:44px;background:#191919!important;border-radius:8px;color:#f5f5f5!important}
.teoc-auth-card #teoc-login-password {padding-inline-end:45px}
.teoc-auth-card #sign_in_submit {height:46px;min-height:46px;border-radius:8px;font-size:16px}
.teoc-auth-card [data-password-control=visibility] {bottom:22px;transform:translate(-22%,50%)!important}
.teoc-auth-card [data-password-control=visibility] i {color:#a3a3a3!important}
.teoc-workspace .teoc-rail .menu .menu-link :is(.menu-title,.menu-icon,.menu-icon i,.menu-arrow,.menu-bullet),
.teoc-workspace .teoc-rail .menu .menu-link {color:#f5f5f5!important;--bs-menu-link-color:#f5f5f5}
.teoc-workspace .teoc-rail .menu-link:hover {background:#a3a3a340!important}
.teoc-workspace .teoc-rail .menu-link.active {background:#565656!important}
.teoc-workspace .teoc-rail .menu-link.active :is(.menu-title,.menu-icon i) {color:#f5f5f5!important}
.teoc-workspace .teoc-rail .menu-icon svg {color:#f5f5f5!important}
.teoc-workspace .teoc-rail .menu-icon svg [fill]:not([fill="none"]) {fill:currentColor}
.teoc-workspace {
    --bs-link-color:var(--teoc-text);--bs-link-hover-color:var(--teoc-muted);
    --bs-primary-rgb:163,163,163;
    --bs-component-active-bg:#a3a3a3;--bs-component-active-color:#080808;
}
.teoc-workspace a:not(.text-danger,.text-warning,.text-success) {--bs-link-color:var(--teoc-text);--bs-link-hover-color:var(--teoc-muted)}
.teoc-workspace :is(.page-link,.dt-paging-button) {color:var(--teoc-text)!important}
.teoc-workspace :is(.page-item.active .page-link,.dt-paging-button.current,.select2-results__option--highlighted) {background:#a3a3a3!important;color:#080808!important;border-color:#a3a3a3!important}
.teoc-workspace :is(.form-check-input:checked,.form-check-input:indeterminate) {background-color:#a3a3a3!important;border-color:#a3a3a3!important}
.teoc-workspace :is(.btn-light-primary,.badge-light-primary) {color:var(--teoc-text)!important;background:var(--teoc-raised)!important;border-color:var(--teoc-border)!important}
.teoc-workspace :is(.form-control,.form-select,.btn,.page-link):focus-visible {outline:2px solid #a3a3a3;outline-offset:2px}
.teoc-workspace .teoc-rail .menu-item>.menu-link {width:100%;min-height:44px;padding:8px 12px;gap:12px;color:#f5f5f5!important}
.teoc-workspace .teoc-rail .menu-link>.menu-title,.teoc-workspace .teoc-rail .menu-link>.menu-icon :is(i,span) {color:#f5f5f5!important}
.teoc-workspace .teoc-rail .menu-link>.menu-icon {width:20px;min-width:20px;margin:0;color:#f5f5f5!important}
.teoc-workspace .teoc-rail .menu-icon svg,.teoc-language svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.teoc-workspace .teoc-rail .menu-link.active {background:#565656!important}
.teoc-language {display:inline-flex;align-items:center;gap:8px;margin:0 .45rem;color:var(--teoc-text)}
.teoc-language-select {border:1px solid var(--teoc-border);border-radius:20px;background:var(--teoc-nav);color:var(--teoc-text);padding:.35rem .55rem;font:inherit}
.teoc-workspace .teoc-quota {width:clamp(180px,19vw,220px);flex-shrink:0}
.teoc-workspace .teoc-quota progress {height:7px}
.teoc-auth-links {justify-content:space-between;align-items:center}
.teoc-auth-links .teoc-language {margin:0}
.teoc-file-panel [data-kt-filemanager-table-nav-bar] :is(a,i) {color:var(--teoc-muted)!important}
.teoc-card-mode {overflow-x:visible!important}
.dt-length {display:flex;align-items:center;gap:.4rem;white-space:nowrap}
@media(max-width:600px) {
    .teoc-workspace .teoc-quota {width:clamp(68px,24vw,145px)}
    .teoc-language {gap:4px;margin-inline:.2rem}
    .teoc-language svg {width:15px}
}
