@font-face {
    font-family: "Unica Chelsea";
    src: url("../fonts/unica-redesign-v1/chelsea-market.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --black: #101010;
    --ink: #202329;
    --muted: #616770;
    --line: #e3e5e9;
    --soft: #f5f6f8;
    --accent: #416fc1;
    --accent-dark: #305ba6;
    --accent-soft: #edf3ff;
    --shadow: 0 10px 30px #10101009;
    --unica-blue: #6495ed;
    --unica-cyan: #34fffd;
    --unica-gradient: linear-gradient(180deg, #20f7ef, #6495ed);
    --topbar-height: 82px;
}
body { background: #f8f8f8; color: var(--ink); }
.topbar.interface-header {
    min-height: var(--topbar-height); background: #101010;
    border-bottom: 1px solid #ffffff16; box-shadow: 0 4px 20px #00000012;
    padding-inline: clamp(18px, 3vw, 48px); gap: 22px;
}
.interface-header .brand strong {
    font-family: "Unica Chelsea", sans-serif; font-size: 29px; font-weight: 400;
    letter-spacing: -.7px; color: #edeef1;
}
.interface-brand-badge, .interface-footer-badge {
    background: var(--unica-gradient); color: #102638;
    box-shadow: 0 4px 15px #6495ed26; font-family: "Unica Chelsea", sans-serif;
}
.interface-header .navigation-toggle {
    width: 46px; height: 46px; border-radius: 13px; border: 1px solid #6495ed;
    background: var(--unica-gradient); color: #122d42; box-shadow: 0 4px 14px #6495ed2a;
}
.interface-header .navigation-toggle:hover,
.interface-header .navigation-toggle[aria-expanded="true"] { background: var(--unica-gradient); border-color: #a7dfff; }
.interface-header .playlist-button,
.interface-header .playlist-button:disabled {
    color: #b2c9f6; background: #202226; border: 1px solid #41454c;
    border-radius: 13px; box-shadow: none;
}
.interface-header .user-menu > summary { background: #1c1e21; border-color: #383c43; border-radius: 16px; box-shadow: none; }
.interface-header .user-avatar { background: #6495ed; color: #101c32; box-shadow: none; }
.interface-header .user-identity small { color: #bdc2cc; }
.user-menu-panel { border-radius: 16px; padding: 12px; box-shadow: 0 14px 35px #00000019; }
.user-menu-panel button { border-radius: 10px; min-height: 40px; }
.panel-main { max-width: 1500px; margin-inline: auto; padding: 30px clamp(18px, 3vw, 46px) 44px; background: #f8f8f8; }
.page-heading {
    position: relative; min-height: 108px; padding: 23px 28px; margin-bottom: 26px;
    color: #fff; background: #101010; border: 1px solid #22262c;
    border-radius: 21px; gap: 18px; box-shadow: 0 8px 24px #1010100c;
}
.page-heading h1, .page-heading .breadcrumbs strong {
    font-family: "Unica Chelsea", sans-serif; font-weight: 400;
    font-size: clamp(22px, 2.4vw, 30px); color: #edeef1; line-height: 1.3;
}
.page-heading p { margin-top: 6px; color: #b8c8dd; font-size: 14px; }
.page-heading .breadcrumbs { margin: 0; flex-wrap: wrap; gap: 9px; min-width: 0; }
.page-heading .breadcrumbs a { color: #a6c8ff; }
.page-heading .breadcrumbs strong { overflow-wrap: anywhere; }
.page-heading-icon { width: 49px; height: 49px; color: #102c41; background: var(--unica-gradient); border-radius: 15px; box-shadow: none; }
.page-heading-icon .lucide-icon { width: 24px; height: 24px; }
.panel-card { border: 1px solid #e3e5e9; border-radius: 19px; box-shadow: 0 8px 26px #10101007; }
.separator-card { padding: 26px 28px; margin-bottom: 23px; }
.panel-card > h2, .separator-card h2, .search-page-header h1,
.dialog-header h2, .contact-thread h1, .login-heading h1 {
    font-family: "Unica Chelsea", sans-serif; font-weight: 400; color: #345d9f;
}
.separator-card h2 { font-size: 23px; margin-top: 0; }
.separator-card p { line-height: 1.7; color: #5b626e; }
.library-toolbar, .search-page-header, .users-toolbar, .trash-toolbar { padding: 18px 20px; gap: 16px; background: #fff; }
.button { border-radius: 999px; min-height: 43px; padding-inline: 21px; transition: background .16s, box-shadow .16s; }
.button.button-primary { background: var(--unica-gradient); border: 1px solid #7bb7e7; color: #fff; box-shadow: 0 4px 12px #6495ed30; }
.button.button-primary:not(:disabled):hover { background: linear-gradient(180deg,#68fff6,#80a9f1); box-shadow: 0 5px 16px #6495ed40; }
.button.button-outline-dark { background: #fff; color: #36414e; border-color: #cdd3da; }
.button.button-outline-dark:not(:disabled):hover { background: #f2f6fd; border-color: #90ade1; }
.button.button-danger { border-radius: 999px; }
.button:focus-visible, .icon-action:focus-visible, a:focus-visible, summary:focus-visible,
.dialog-close:focus-visible, .search-form:focus-within, .field:focus-within { outline: 3px solid #6495ed; outline-offset: 3px; }
.search-form { border-radius: 999px; border-color: #d7dbe2; background: #f8f9fb; min-height: 44px; }
.search-form input { padding: 11px 17px; }
.search-form button { color: #5279b5; }
.library-table th { background: #f7f8fa; color: #606770; height: 43px; font-weight: 650; }
.library-table td { min-height: 55px; padding-top: 12px; padding-bottom: 12px; border-color: #eef0f3; }
.library-table tbody tr:hover { background: #f4f8ff; }
.library-table tbody tr.is-highlighted { background: #fff7d6; }
.table-footer { padding: 15px 20px; font-size: 12px; background: #fff; color: #68717d; }
.item-name { line-height: 1.5; }
.folder-icon { color: #ad7f0f; }
.music-icon { background: #e7f4ff; color: #345d9f; border: 1px solid #c9deef; }
.icon-action { border-radius: 11px; width: 38px; height: 38px; }
.icon-action-rename, .icon-action-info, .icon-action-description { background: #f6f8fc; color: #46658e; border-color: #dbe2ec; }
.icon-action-rename:hover, .icon-action-info:hover, .icon-action-description:hover { background: #e7f0ff; color: #274d85; border-color: #a8c1e9; }
.folder-description-text { color: #636e7b; line-height: 1.6; }
.folder-pin { color: #5b80b7; }
.sidebar { padding: 22px 18px; background: #fff; border-right-color: #e2e7ed; }
.sidebar-heading { padding: 3px 9px 17px; margin-bottom: 14px; }
.sidebar-heading strong { font-family: "Unica Chelsea", sans-serif; font-weight: 400; font-size: 21px; color: #345d9f; }
.sidebar-link { min-height: 47px; border-radius: 12px; color: #4c5665; margin: 2px 0; }
.sidebar-link:hover { background: #f5f8fc; }
.sidebar-link.is-active { background: #eaf3ff; color: #2d5592; box-shadow: inset 3px 0 #6495ed; }
.storage-card { margin-top: 25px; padding: 19px 12px; background: #f8faff; border: 1px solid #e1e8f2; border-radius: 16px; }
.storage-library { stroke: #6495ed; background: #6495ed; }
.library-badge { padding: 15px 12px; border-radius: 14px; background: #fff; }
.library-badge > .lucide-icon { color: #5279b5; }
.panel-dialog { border-radius: 21px; border-color: #dde1e6; box-shadow: 0 22px 75px #10101032; }
.panel-dialog::backdrop { background: #10101088; backdrop-filter: blur(4px); }
.dialog-header h2 { font-size: 23px; }
.dialog-close { background: #f2f4f7; border-radius: 50%; }
.dialog-field input, .dialog-field select, .separator-fields input, .separator-fields select,
.contact-field select, .contact-field textarea, .folder-description-input {
    border: 1px solid #ccd3dc; border-radius: 12px; background: #fff; color: #202329;
}
.dialog-field input:focus, .dialog-field select:focus, .contact-field textarea:focus,
.contact-field select:focus, .folder-description-input:focus { border-color: #6495ed; outline: 3px solid #6495ed30; }
.dialog-destination { border-radius: 12px; background: #f5f7fb; border-color: #e0e6ef; }
.upload-dropzone { border: 2px dashed #a8c0e9; border-radius: 17px; background: #f7faff; min-height: 185px; }
.upload-dropzone:hover, .upload-dropzone.is-dragging { border-color: #6495ed; background: #eff8ff; }
.upload-symbol { color: #103447; background: var(--unica-gradient); box-shadow: 0 5px 15px #6495ed20; }
.upload-dropzone strong { color: #345d9f; }
.panel-progress { background: #fff; border-color: #dbe5f1; border-radius: 17px; }
.panel-meter::-webkit-progress-value { background: linear-gradient(90deg,#6495ed,#20d7d7); }
.panel-meter::-moz-progress-bar { background: linear-gradient(90deg,#6495ed,#20d7d7); }
.panel-meter[data-state="success"]::-webkit-progress-value { background: #26955a; }
.panel-meter[data-state="error"]::-webkit-progress-value { background: #b56b3c; }
.audit-list { padding: 10px 18px; }
.audit-entry > summary { padding: 17px 0; }
.audit-icon { background: #eaf3ff; color: #3865a5; border-radius: 50%; border: 1px solid #d1e1f7; }
.audit-details { border-left: 3px solid #90b1eb; margin-left: 18px; margin-bottom: 15px; padding: 0 10px 0 24px; }
.contact-ticket-symbol { background: #edf5ff; color: #416da9; border-radius: 50%; }
.contact-message, .contact-thread, .contact-dialog { border-radius: 17px; }
.contact-status-answered, .status-pill.success { color: #166a3c; background: #eaf9ef; }
.contact-status-open, .status-pill.pending { color: #95500a; background: #fff4df; }
.footer.interface-footer { background: #101010; border-top: 1px solid #25282e; box-shadow: none; padding-block: 16px; }
.interface-credit, .interface-footer-radio { color: #bfc6d1; }
.interface-credit strong { color: #d1e2ff; }
.contact-footer-link { color: #b6d0fa; border-radius: 999px; }
.contact-footer-link:hover { color: #34fffd; background: #1e2229; border-color: #3d587d; }
.footer.interface-footer .interface-footer-radio { grid-column: -2 / -1; }
.login-page { background: #f8f8f8; }
.login-main { padding: 58px 20px 80px; place-items: start center; background: linear-gradient(#101010 0 190px,#f8f8f8 190px); }
.login-card { width: min(480px,100%); padding: 36px; border-radius: 24px; border-color: #e1e4e9; box-shadow: 0 16px 48px #10101014; }
.login-heading { justify-content: flex-start; gap: 14px; }
.login-heading h1 { font-size: 32px; }
.login-lock { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #16334a; background: var(--unica-gradient); }
.login-card > p { text-align: left; margin: 18px 0 27px; line-height: 1.7; color: #636b78; }
.login-card .field { min-height: 51px; margin-top: 16px; border-radius: 12px; background: #fcfcfd; }
.login-submit { margin-top: 25px; min-height: 49px; }
@media (max-width: 760px) {
    :root { --topbar-height: 68px; }
    .topbar.interface-header { padding-inline: 13px; gap: 12px; }
    .interface-header .brand strong { font-size: 23px; }
    .interface-header .navigation-toggle { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
    .panel-main { padding: 18px 13px 30px; }
    .page-heading { min-height: 92px; padding: 20px; border-radius: 17px; margin-bottom: 19px; gap: 12px; }
    .page-heading h1, .page-heading .breadcrumbs strong { font-size: 23px; }
    .page-heading p { font-size: 13px; }
    .page-heading-icon { width: 42px; height: 42px; border-radius: 13px; }
    .panel-card { border-radius: 16px; }
    .library-toolbar, .search-page-header, .users-toolbar, .trash-toolbar { padding: 15px; }
    .separator-card { padding: 22px 19px; }
    .library-table td { padding: 12px 14px; }
    .icon-action { width: 40px; height: 40px; }
    .upload-dropzone { min-height: 170px; }
    .audit-list { padding: 4px 13px; }
    .audit-details { padding-left: 17px; }
    .footer.interface-footer { padding: 13px; }
    .login-main { padding: 34px 18px 52px; background: linear-gradient(#101010 0 145px,#f8f8f8 145px); }
    .login-card { padding: 28px 23px; border-radius: 20px; }
    .login-heading h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .button, .icon-action { transition: none; }
}

.interface-brand-badge, .interface-footer-badge {
    color: transparent;
    background: url("../images/unica-redesign-v1-r2/logo-steven.png") center / contain no-repeat;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}

.page-heading-icon, .upload-symbol, .login-lock { color: #fff; }
.page-heading-icon .lucide-icon, .upload-symbol .lucide-icon,
.login-lock .lucide-icon, .button-primary .lucide-icon { stroke-width: 2.5; }
.button-primary .lucide-icon { color: #fff; }
.interface-header .navigation-toggle span { height: 3px; background: #fff; border-radius: 2px; }

.catalog-search-form .button.button-primary { color: #fff; }
.sidebar-link .lucide-icon { stroke-width: 2.5; }

.interface-header .brand .interface-brand-badge { display: none; }
.interface-header .brand strong { color: #dedfe2; }
.interface-header .brand .unica-brand-hash { color: #6495ed; }

.button.button-primary, .button.button-primary:hover, .button.button-primary:focus-visible { color: #fff; }
