:root {
    --lc-blue-950: #041642;
    --lc-blue-925: #061f58;
    --lc-blue-900: #082a6d;
    --lc-blue-800: #0b3b93;
    --lc-blue-700: #0f59e7;
    --lc-gold: #ffd325;
    --lc-surface: #ffffff;
    --lc-page: #edf4ff;
    --lc-panel: #f8fbff;
    --lc-border: #cfe0ff;
    --lc-text: #0c2762;
    --lc-muted: #637292;
    --lc-green: #08a64d;
    --lc-orange: #ff8900;
    --lc-purple: #681ddd;
    --lc-cyan: #0da7bd;
    --lc-red: #ef1438;
    --lc-shadow: 0 15px 34px rgba(6, 31, 88, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--lc-blue-950);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--lc-text);
    background: var(--lc-page);
    font-family: Arial, "Segoe UI", sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.lc-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: var(--lc-page);
}

.lc-masthead {
    height: 153px;
    padding: 10px 8px 10px 30px;
    display: grid;
    grid-template-columns: minmax(730px, 1fr) 430px 386px;
    gap: 14px;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 18% 12%, rgba(53, 102, 210, 0.38), transparent 26%),
        linear-gradient(135deg, #051949 0%, #082b72 54%, #06183f 100%);
}

.lc-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.lc-brand-seal {
    width: 122px;
    height: 122px;
    flex: 0 0 122px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.lc-brand-copy {
    min-width: 0;
}

.lc-brand-copy h1 {
    margin: 0 0 7px;
    color: #fff;
    font-family: "Arial Narrow", Arial, "Segoe UI", sans-serif;
    font-size: 36px;
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-brand-copy p {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 600;
}

.lc-brand-copy p strong {
    color: var(--lc-gold);
    font-size: 15px;
    font-style: italic;
    font-weight: 900;
}

.lc-brand-copy h2 {
    margin: 8px 0 2px;
    color: #fff;
    font-size: 17px;
    line-height: 1.16;
    font-weight: 900;
}

.lc-brand-copy > span,
.lc-brand-copy small {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.25;
}

.lc-brand-copy small {
    margin-top: 7px;
    color: #d8e6ff;
    font-size: 12px;
}

.lc-brand-copy small i {
    margin-right: 7px;
    color: var(--lc-gold);
}

.lc-quick-area {
    min-width: 0;
    padding-top: 2px;
}

.lc-quick-area > span {
    display: block;
    margin: 0 0 7px;
    color: #dbe7ff;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
}

.lc-top-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
}

.lc-top-links a {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(151, 190, 255, 0.4);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(22, 85, 180, 0.74), rgba(10, 58, 134, 0.78));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.lc-top-links i {
    font-size: 19px;
}

.lc-mast-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: 130px 138px 116px;
    gap: 8px;
    align-items: stretch;
}

.lc-bagong,
.lc-timebox,
.lc-user {
    border: 1px solid rgba(151, 190, 255, 0.42);
    border-radius: 8px;
    background: rgba(7, 35, 93, 0.64);
}

.lc-bagong {
    display: grid;
    place-items: center;
    padding: 4px 6px;
    background: transparent;
    border-color: rgba(151, 190, 255, 0.14);
}

.lc-bagong img {
    width: 122px;
    max-height: 104px;
    object-fit: contain;
}

.lc-timebox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
}

.lc-timebox > i {
    color: #fff;
    font-size: 18px;
}

.lc-timebox small,
.lc-timebox span {
    display: block;
    color: #d5e2ff;
    font-size: 10px;
    line-height: 1.2;
}

.lc-timebox strong {
    display: block;
    margin: 8px 0 3px;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
}

.lc-user {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.lc-user > i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 18px;
}

.lc-user span,
.lc-user strong,
.lc-user em {
    display: block;
}

.lc-user span {
    min-width: 0;
    color: #dce8ff;
    font-size: 10px;
    line-height: 1.15;
}

.lc-user strong {
    margin: 2px 0 8px;
    color: #fff;
    font-size: 12px;
}

.lc-user em {
    color: #d0dcf8;
    font-size: 9px;
    font-style: normal;
}

.lc-workspace {
    flex: 0 0 calc(100vh - 153px - 62px);
    height: calc(100vh - 153px - 62px);
    min-height: 0;
    display: grid;
    grid-template-columns: clamp(205px, 12.1vw, 230px) minmax(0, 1fr);
    background: var(--lc-page);
}

.lc-sidebar {
    position: relative;
    min-height: 0;
    height: 100%;
    padding: 12px 10px 0;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 37, 98, 0.98), rgba(3, 22, 62, 1));
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.lc-office-card {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(154, 193, 255, 0.28);
    border-radius: 9px;
    background: rgba(4, 29, 83, 0.76);
}

.lc-office-card img {
    width: 43px;
    height: 43px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.lc-office-card strong,
.lc-office-card span {
    display: block;
}

.lc-office-card strong {
    font-size: 14px;
    line-height: 1.1;
}

.lc-office-card span {
    margin-top: 2px;
    color: var(--lc-gold);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.lc-side-nav {
    display: grid;
    gap: 3px;
    margin-top: 10px;
}

.lc-side-nav a,
.lc-side-bottom a {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #f3f8ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.05;
    transition: transform 0.16s ease, background 0.16s ease;
}

.lc-side-nav i,
.lc-side-bottom i {
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.lc-side-nav .is-active {
    background: linear-gradient(135deg, #1767ff, #197cff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lc-side-nav .is-featured {
    background: linear-gradient(135deg, #7b2ce1, #9c25f2);
}

.lc-side-nav em {
    margin-left: auto;
    padding: 2px 5px;
    border-radius: 4px;
    background: #ff9e00;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.lc-side-bottom {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lc-sidebar-skyline {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    height: 106px;
    object-fit: contain;
    opacity: 0.5;
    pointer-events: none;
}

.lc-main {
    min-width: 0;
    height: 100%;
    padding: 8px 14px 8px 12px;
    overflow: hidden;
    background: var(--lc-page);
}

.lc-dashboard {
    min-height: calc(100vh - 153px - 62px - 16px);
    padding: 18px 24px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--lc-shadow);
}

.lc-intro {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 520px) 300px;
    gap: 16px;
    align-items: start;
}

.lc-intro p {
    margin: 0;
    color: #0b4ce2;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-intro h2 {
    margin: 7px 0 7px;
    color: #092568;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.lc-intro span {
    display: block;
    max-width: 710px;
    color: #526386;
    font-size: 13px;
    line-height: 1.45;
}

.lc-search {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 0 15px;
    position: relative;
    border: 2px solid rgba(34, 211, 238, 0.92);
    border-radius: 8px;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(14, 165, 233, 0.14),
        0 0 18px rgba(34, 211, 238, 0.36),
        0 12px 26px rgba(12, 39, 98, 0.10);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lc-search:focus-within {
    border-color: #facc15;
    box-shadow:
        0 0 0 4px rgba(250, 204, 21, 0.22),
        0 0 22px rgba(34, 211, 238, 0.50),
        0 18px 34px rgba(12, 39, 98, 0.16);
    transform: translateY(-1px);
}

.lc-search i {
    color: #0b63ce;
    font-size: 16px;
}

.lc-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--lc-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.lc-search input::placeholder {
    color: #66758f;
    font-size: 14px;
    font-weight: 500;
}

.lc-search kbd {
    padding: 6px 9px;
    border-radius: 6px;
    background: #edf3ff;
    color: #7c88a5;
    font-family: inherit;
    font-size: 11px;
}

.lc-console,
.lc-panel,
.lc-alert {
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    background: #fff;
}

.lc-console {
    height: 100px;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding: 9px 13px 8px;
    overflow: visible;
}

.lc-console strong {
    display: block;
    color: #0a47ce;
    font-size: 15px;
    line-height: 1.1;
}

.lc-console span {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #fff;
    background: #0caf5b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-console a {
    align-self: start;
    min-width: 78px;
    padding: 8px 14px;
    border-radius: 7px;
    background: #0d47d6;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.lc-console dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 2px 0 0;
    border-top: 1px solid #e5efff;
}

.lc-console div + div {
    border-left: 1px solid #e5efff;
    padding-left: 14px;
}

.lc-console dt {
    margin-top: 5px;
    color: #7180a5;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.lc-console dd {
    margin: 3px 0 0;
    color: #0b58f0;
    font-size: 14px;
    font-weight: 900;
}

.lc-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.lc-stat {
    height: 96px;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 12px 24px rgba(7, 38, 92, 0.18);
}

.lc-stat i {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 23px;
    box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.07);
}

.lc-stat strong {
    display: block;
    font-size: 23px;
    line-height: 1;
    font-weight: 900;
}

.lc-stat span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-stat small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    line-height: 1.12;
}

.is-blue { background: linear-gradient(135deg, #0e63f4, #063fc1); }
.is-green { background: linear-gradient(135deg, #0db954, #078a3f); }
.is-orange { background: linear-gradient(135deg, #ff9a00, #ef6d00); }
.is-purple { background: linear-gradient(135deg, #7c22df, #4e18ca); }
.is-cyan { background: linear-gradient(135deg, #0db1c7, #087e98); }
.is-slate { background: linear-gradient(135deg, #6c788c, #3d485a); }

.lc-alert-row {
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(320px, 0.64fr) minmax(440px, 1.18fr);
    gap: 14px;
    margin-top: 14px;
}

.lc-alert {
    height: 88px;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
}

.lc-alert i {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 50px;
    border-radius: 50%;
    font-size: 23px;
}

.lc-alert strong,
.lc-alert span,
.lc-alert small {
    display: block;
}

.lc-alert strong {
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
}

.lc-alert span {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.18;
    font-weight: 900;
    text-transform: uppercase;
}

.lc-alert small {
    margin-top: 8px;
    font-size: 12px;
}

.lc-alert.is-red {
    color: var(--lc-red);
    background: #fff5f5;
}

.lc-alert.is-red i {
    background: #ffe7ea;
}

.lc-alert.is-green {
    color: var(--lc-green);
    background: #f2fff8;
}

.lc-alert.is-green i {
    background: #ddf8e9;
}

.lc-alert.is-info {
    color: #0a47ce;
    background: #f6faff;
}

.lc-alert.is-info i {
    background: #e2ecff;
}

.lc-alert.is-info strong {
    font-size: 14px;
}

.lc-alert.is-info span {
    max-width: 600px;
    color: #526584;
    font-size: 12px;
    line-height: 1.45;
    text-transform: none;
    font-weight: 600;
}

.lc-dashboard-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 14px;
    margin-top: 12px;
}

.lc-dashboard-primary {
    min-width: 0;
}

.lc-paperless {
    padding: 10px 12px 11px;
    border: 1px solid #9fc1ff;
    border-radius: 8px;
    background: #f8fbff;
}

.lc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 4px 8px;
}

.lc-section-title h3,
.lc-panel h3 {
    margin: 0;
    color: #0b4ce2;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.lc-section-title span {
    padding: 3px 7px;
    border-radius: 5px;
    color: #fff;
    background: #ff8a00;
    font-size: 10px;
    font-weight: 900;
}

.lc-module-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px;
}

.lc-module {
    height: 100px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 7px;
    border: 1px solid #d8e6ff;
    border-radius: 8px;
    background: #fff;
    color: #0b4ce2;
    text-align: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.lc-module:hover,
.lc-top-links a:hover,
.lc-side-nav a:hover,
.lc-side-bottom a:hover,
.lc-actions a:hover {
    transform: translateY(-1px);
}

.lc-module:hover {
    box-shadow: 0 12px 22px rgba(6, 36, 92, 0.1);
}

.lc-module i {
    font-size: 25px;
}

.lc-module strong {
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
}

.lc-module span {
    color: #63708a;
    font-size: 10px;
    line-height: 1.2;
}

.lc-module.is-live {
    color: #6e24d9;
    background: #fbf8ff;
}

.lc-module.is-green { color: #078a3f; background: #f7fff9; }
.lc-module.is-orange { color: #ef6d00; background: #fffaf3; }
.lc-module.is-purple { color: #5d28d9; background: #fbf9ff; }
.lc-module.is-teal { color: #0b8194; background: #f4fdff; }
.lc-module.is-red { color: #df173a; background: #fff6f7; }

.lc-lower-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 9px;
}

.lc-panel {
    min-width: 0;
    padding: 12px;
    box-shadow: 0 7px 18px rgba(6, 36, 92, 0.07);
}

.lc-lower-grid .lc-panel {
    height: 190px;
    overflow: hidden;
}

.lc-panel h3 i {
    margin-right: 8px;
}

.lc-donut-wrap {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 118px;
}

.lc-donut {
    position: relative;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--lc-green) 0 57%, var(--lc-orange) 57% 99%, #0b4ce2 99% 100%);
}

.lc-donut::after {
    content: "";
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: #fff;
}

.lc-donut strong,
.lc-donut span {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.lc-donut strong {
    color: #0b4ce2;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.lc-donut span {
    margin-top: -26px;
    color: #6b7895;
    font-size: 12px;
    text-transform: uppercase;
}

.lc-legend {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #526584;
}

.lc-legend li {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    font-size: 11px;
}

.lc-legend b {
    color: #1f3f78;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot.green { background: var(--lc-green); }
.dot.orange { background: var(--lc-orange); }
.dot.blue { background: #0b4ce2; }

.lc-bars {
    display: grid;
    gap: 5px;
    margin-top: 9px;
}

.lc-bars div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
}

.lc-bars span,
.lc-bars b {
    color: #24406f;
    font-size: 11px;
}

.lc-bars i {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eefb;
}

.lc-bars i::before {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: #0b4ce2;
}

.lc-bars div:nth-child(2) i::before,
.lc-bars.is-committee div:nth-child(2) i::before {
    background: var(--lc-orange);
}

.lc-bars div:nth-child(3) i::before {
    background: var(--lc-green);
}

.lc-bars div:nth-child(4) i::before {
    background: var(--lc-purple);
}

.lc-bars.is-committee div:nth-child(5) i::before {
    background: var(--lc-red);
}

.lc-panel-link {
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border-radius: 7px;
    background: #edf4ff;
    color: #0b4ce2;
    font-size: 12px;
    font-weight: 900;
}

.lc-right-rail {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.lc-side-panel {
    background: rgba(255, 255, 255, 0.97);
}

.lc-right-rail .lc-side-panel:first-child {
    height: 160px;
    overflow: hidden;
}

.lc-right-rail .lc-side-panel:last-child {
    height: 180px;
    overflow: hidden;
}

.lc-session-list,
.lc-actions {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.lc-actions {
    gap: 4px;
}

.lc-session-list a,
.lc-actions a {
    min-height: 34px;
    border: 1px solid #dce8fb;
    border-radius: 7px;
    background: #f4f8ff;
}

.lc-session-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 7px 10px;
}

.lc-session-list strong,
.lc-session-list span,
.lc-session-list em {
    display: block;
}

.lc-session-list strong {
    color: #102d69;
    font-size: 12px;
}

.lc-session-list span {
    color: #6f7d9d;
    font-size: 11px;
}

.lc-session-list em {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: #4c5b78;
    font-size: 11px;
    font-style: normal;
}

.lc-actions a {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 8px;
    min-height: 22px;
    padding: 3px 9px;
    color: #24406f;
    font-size: 11px;
    font-weight: 700;
}

.lc-actions a i:first-child {
    color: var(--lc-green);
}

.lc-actions a i:last-child {
    color: #0b4ce2;
}

.lc-footer {
    position: relative;
    min-height: 62px;
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 11px 28px;
    overflow: hidden;
    color: #eaf2ff;
    background: linear-gradient(135deg, #061d54, #082b70);
}

.lc-footer div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lc-footer i {
    color: var(--lc-gold);
}

.lc-footer p {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    color: #d1defa;
    font-size: 12px;
}

.lc-footer img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 640px;
    max-width: 38vw;
    height: 62px;
    object-fit: cover;
    object-position: right bottom;
    opacity: 0.9;
    pointer-events: none;
}

@media (max-width: 1750px) {
    .lc-masthead {
        grid-template-columns: minmax(730px, 1fr) 410px 386px;
        gap: 14px;
        padding-left: 30px;
    }

    .lc-brand-seal {
        width: 122px;
        height: 122px;
        flex-basis: 122px;
    }

    .lc-brand {
        gap: 22px;
    }

    .lc-brand-copy h1 {
        font-size: 36px;
    }

    .lc-mast-actions {
        grid-template-columns: 130px 138px 116px;
    }

    .lc-bagong img {
        width: 122px;
    }

    .lc-intro {
        grid-template-columns: minmax(420px, 1fr) minmax(420px, 520px) 300px;
    }

    .lc-stat-grid {
        gap: 18px;
    }

    .lc-stat {
        padding: 14px;
    }
}

@media (max-width: 1480px) {
    .lc-masthead {
        height: auto;
        min-height: 170px;
        grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.9fr);
    }

    .lc-mast-actions {
        grid-column: 1 / -1;
        grid-template-columns: 160px minmax(240px, 1fr) 220px;
    }

    .lc-workspace {
        min-height: calc(100vh - 246px - 62px);
    }

    .lc-dashboard {
        min-height: calc(100vh - 246px - 62px - 18px);
    }

    .lc-intro {
        grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.9fr);
    }

    .lc-console {
        grid-column: 1 / -1;
    }

    .lc-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lc-module-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Paperless shortcut carousel and archive quick links */
.lc-module-carousel {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: stretch;
}

.lc-module-carousel .lc-module-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    grid-template-columns: none !important;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 0 0 5px;
}

.lc-module-carousel .lc-module {
    min-width: 112px;
    scroll-snap-align: start;
}

.lc-carousel-arrow {
    width: 36px;
    border: 1px solid #bcd4ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #eaf2ff);
    color: #0b4ce2;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(6, 31, 88, 0.08);
    transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}

.lc-carousel-arrow:hover {
    transform: translateY(-1px);
    background: #fff;
}

.lc-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.lc-archive-shortcuts {
    margin-top: 10px;
    padding: 10px 12px 12px;
    border: 1px solid #b9d0ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.lc-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.lc-shortcut-grid a {
    min-height: 66px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid #d4e3ff;
    border-radius: 8px;
    background: #fff;
    color: #0c2762;
    box-shadow: 0 8px 18px rgba(6, 31, 88, 0.07);
}

.lc-shortcut-grid a:hover {
    transform: translateY(-1px);
    border-color: #8fb8ff;
}

.lc-shortcut-grid i {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: #0b4ce2;
    font-size: 16px;
}

.lc-shortcut-grid strong {
    min-width: 0;
    color: #0b4ce2;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
}

.lc-shortcut-grid span {
    min-width: 0;
    color: #637292;
    font-size: 10px;
    line-height: 1.25;
}

@media (max-width: 1480px) {
    .lc-shortcut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .lc-module-carousel {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .lc-carousel-arrow {
        width: 32px;
    }

    .lc-module-carousel .lc-module-grid {
        grid-auto-columns: minmax(116px, 64%);
    }

    .lc-shortcut-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .lc-workspace,
    .lc-dashboard-body,
    .lc-intro,
    .lc-lower-grid,
    .lc-alert-row {
        grid-template-columns: 1fr;
    }

    .lc-sidebar {
        min-height: auto;
        padding-bottom: 12px;
    }

    .lc-side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-side-bottom {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lc-sidebar-skyline {
        display: none;
    }

    .lc-right-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .lc-masthead,
    .lc-mast-actions,
    .lc-top-links,
    .lc-stat-grid,
    .lc-module-grid,
    .lc-right-rail,
    .lc-side-nav,
    .lc-side-bottom,
    .lc-console dl {
        grid-template-columns: 1fr;
    }

    .lc-masthead {
        padding: 14px;
    }

    .lc-brand {
        align-items: flex-start;
    }

    .lc-brand-seal {
        width: 74px;
        height: 74px;
        flex-basis: 74px;
    }

    .lc-brand-copy h1 {
        font-size: 28px;
    }

    .lc-brand-copy p {
        display: block;
        font-size: 16px;
    }

    .lc-main {
        padding: 8px;
    }

    .lc-dashboard {
        min-height: auto;
        padding: 12px;
    }

    .lc-intro h2 {
        font-size: 25px;
    }

    .lc-donut-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .lc-footer {
        grid-template-columns: 1fr;
        gap: 8px;
        justify-items: center;
        text-align: center;
    }

    .lc-footer img {
        opacity: 0.25;
        max-width: 100vw;
    }
}

/* Pagadian-reference Legislative Command Center refactor overrides */
.lc-shell {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.lc-masthead {
    height: auto;
    min-height: 145px;
    padding: 14px 18px 12px;
    grid-template-columns: minmax(640px, 1fr) 430px 360px;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(125, 170, 255, 0.22);
}

.lc-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.lc-brand-seals {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lc-brand-seal {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    padding: 3px;
    border-width: 2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.lc-brand-copy h1 {
    margin-bottom: 5px;
    font-size: 37px;
    line-height: 0.95;
    letter-spacing: 0;
}

.lc-brand-copy p {
    gap: 14px;
    font-size: 18px;
}

.lc-brand-copy p strong {
    font-size: 16px;
}

.lc-brand-copy h2 {
    margin-top: 7px;
    font-size: 17px;
}

.lc-brand-copy > span {
    font-size: 13px;
}

.lc-brand-copy small {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 4px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 211, 37, 0.46);
    border-radius: 6px;
    background: rgba(11, 25, 64, 0.34);
    color: #ffe8a8;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc-brand-copy small i {
    margin-right: 0;
}

.lc-quick-area > span {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.lc-top-links {
    gap: 8px 10px;
}

.lc-top-links a {
    min-height: 40px;
    justify-content: flex-start;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 12px;
}

.lc-top-links i {
    width: 22px;
    font-size: 17px;
    text-align: center;
}

.lc-mast-actions {
    grid-template-columns: 1fr 1.18fr;
    gap: 10px;
}

.lc-bagong {
    display: none;
}

.lc-timebox,
.lc-user {
    min-height: 88px;
    border-radius: 10px;
    background: rgba(12, 56, 132, 0.72);
}

.lc-timebox {
    padding: 11px 14px;
}

.lc-timebox strong {
    margin-top: 9px;
    font-size: 24px;
}

.lc-user {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 12px;
}

.lc-user > i {
    width: 44px;
    height: 44px;
}

.lc-user strong {
    font-size: 14px;
}

.lc-workspace {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    grid-template-columns: 260px minmax(0, 1fr);
}

.lc-sidebar {
    display: flex;
    flex-direction: column;
    padding: 12px 10px 10px;
}

.lc-office-card {
    min-height: 76px;
    padding: 10px 10px 12px;
    border-radius: 9px;
}

.lc-office-card img {
    width: 48px;
    height: 48px;
}

.lc-side-nav {
    flex: 1 1 auto;
    gap: 6px;
    margin-top: 12px;
    overflow: auto;
    padding-right: 3px;
}

.lc-side-nav a,
.lc-side-bottom a {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 13px;
}

.lc-side-bottom {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    margin-top: 8px;
}

.lc-sidebar-skyline {
    opacity: 0.38;
}

.lc-main {
    padding: 12px 14px 10px;
    overflow: auto;
}

.lc-dashboard {
    min-height: 100%;
    padding: 16px 22px 14px;
    border-radius: 12px;
}

.lc-intro {
    grid-template-columns: minmax(440px, 1fr) minmax(430px, 540px) 300px;
    gap: 16px;
    align-items: start;
}

.lc-intro h2 {
    font-size: 32px;
}

.lc-search-wrap {
    position: relative;
    z-index: 20;
    min-width: 0;
}

.lc-search {
    min-height: 46px;
    border-radius: 8px;
}

.lc-search-results {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 374px;
    overflow: auto;
    border: 1px solid var(--lc-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(6, 31, 88, 0.22);
}

.lc-search-results[hidden] {
    display: none;
}

.lc-search-results-head,
.lc-search-results-foot,
.lc-search-loading,
.lc-search-empty {
    padding: 10px 12px;
}

.lc-search-results-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e5efff;
    color: #0a47ce;
}

.lc-search-results-head span,
.lc-search-empty,
.lc-search-loading {
    color: #657797;
    font-size: 12px;
}

.lc-search-results-list {
    display: grid;
}

.lc-search-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef4ff;
    color: #17305c;
}

.lc-search-result:hover {
    background: #f5f9ff;
}

.lc-search-result strong,
.lc-search-result em,
.lc-search-result small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc-search-result strong {
    font-size: 13px;
}

.lc-search-result em,
.lc-search-result small {
    grid-column: 2;
    color: #5e6e8a;
    font-size: 11px;
    font-style: normal;
}

.lc-search-type {
    align-self: start;
    min-width: 76px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #0d47d6;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.lc-search-type.is-ordinance {
    background: #fff3df;
    color: #c86200;
}

.lc-search-type.is-resolution {
    background: #eaf4ff;
    color: #0b58f0;
}

.lc-search-type.is-module {
    background: #ebf9f0;
    color: #078a3f;
}

.lc-search-results-foot {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: #edf4ff;
    color: #0b4ce2;
    font-size: 12px;
    font-weight: 900;
}

.lc-console {
    height: 104px;
}

.lc-stat-grid {
    gap: 12px;
    margin-top: 14px;
}

.lc-stat {
    position: relative;
    height: 94px;
    padding: 13px 16px;
}

.lc-stat::after {
    content: "";
    position: absolute;
    top: -42px;
    right: -24px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.lc-stat i,
.lc-stat div {
    position: relative;
    z-index: 1;
}

.lc-alert-row {
    grid-template-columns: minmax(360px, 0.78fr) minmax(310px, 0.58fr) minmax(460px, 1.15fr);
    gap: 12px;
    margin-top: 12px;
}

.lc-alert {
    height: 86px;
}

.lc-dashboard-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
}

.lc-module-grid {
    gap: 10px;
}

.lc-module {
    height: 94px;
}

.lc-lower-grid .lc-panel {
    height: 186px;
}

@media (max-width: 1750px) {
    .lc-masthead {
        grid-template-columns: minmax(570px, 1fr) 430px 350px;
    }

    .lc-brand-copy h1 {
        font-size: 34px;
    }

    .lc-brand-seal {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }
}

@media (max-width: 1480px) {
    .lc-masthead {
        min-height: 160px;
        grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.85fr);
    }

    .lc-mast-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .lc-workspace,
    .lc-dashboard {
        min-height: 0;
    }

    .lc-intro {
        grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.9fr);
    }
}

@media (max-width: 1180px) {
    .lc-workspace {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .lc-main {
        overflow: visible;
    }

    .lc-dashboard-body,
    .lc-intro,
    .lc-lower-grid,
    .lc-alert-row {
        grid-template-columns: 1fr;
    }
}

/* Final masthead arrangement fix: one seal, no dashboard overlap. */
.lc-masthead {
    position: relative;
    z-index: 5;
    min-height: 214px;
    padding: 20px 22px 30px 24px;
    grid-template-columns: minmax(760px, 1fr) minmax(520px, 0.72fr) minmax(430px, 0.62fr);
    gap: 22px;
    align-items: center;
    overflow: visible;
}

.lc-brand {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
}

.lc-brand-seals {
    width: 84px;
    justify-content: center;
}

.lc-brand-seal {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
}

.lc-brand-copy h1 {
    max-width: 820px;
    font-size: clamp(31px, 2.15vw, 39px);
    line-height: 0.96;
}

.lc-brand-copy h2 {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.12;
}

.lc-brand-copy small {
    width: min(760px, calc(100vw - 1010px));
    max-width: min(760px, calc(100vw - 1010px));
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
}

.lc-quick-area {
    align-self: center;
}

.lc-top-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.lc-top-links a {
    min-height: 43px;
    padding: 7px 12px;
}

.lc-mast-actions {
    align-self: center;
    grid-template-columns: minmax(150px, 0.95fr) minmax(190px, 1.1fr);
}

.lc-timebox,
.lc-user {
    min-height: 96px;
}

.lc-main {
    padding-top: 26px;
}

.lc-sidebar {
    padding-top: 14px;
}

.lc-side-nav {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 1750px) {
    .lc-masthead {
        min-height: 214px;
        grid-template-columns: minmax(720px, 1fr) minmax(420px, 0.76fr) minmax(350px, 0.64fr);
        gap: 14px;
    }

    .lc-brand {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }

    .lc-brand-seals {
        width: 72px;
    }

    .lc-brand-seal {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .lc-brand-copy h1 {
        font-size: clamp(29px, 2vw, 35px);
    }

    .lc-brand-copy h2 {
        font-size: 16px;
    }

    .lc-top-links a {
        font-size: 11px;
        padding-inline: 9px;
    }

    .lc-timebox,
    .lc-user {
        min-height: 92px;
    }

    .lc-brand-copy small {
        width: min(710px, calc(100vw - 900px));
        max-width: min(710px, calc(100vw - 900px));
        min-width: 0;
    }
}

@media (max-width: 1480px) {
    .lc-masthead {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-brand {
        grid-template-columns: 66px minmax(0, 1fr);
    }

    .lc-brand-seals {
        width: 66px;
    }

    .lc-brand-seal {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .lc-mast-actions {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .lc-brand-copy small {
        width: auto;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
    }
}

/* Final masthead emphasis: keep the command center title as one desktop line. */
.lc-masthead {
    grid-template-columns: minmax(850px, 1.18fr) minmax(420px, 0.62fr) minmax(390px, 0.56fr);
}

.lc-brand-copy h1 {
    width: max-content;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(30px, 1.78vw, 34px);
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    background: linear-gradient(92deg, #e0faff 0%, #7dd3fc 28%, #22d3ee 54%, #38bdf8 78%, #bae6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(186, 230, 253, 0.92);
    text-shadow:
        0 0 2px rgba(240, 249, 255, 0.98),
        0 0 8px rgba(34, 211, 238, 0.72),
        0 0 14px rgba(14, 165, 233, 0.48);
    filter: drop-shadow(0 0 7px rgba(34, 211, 238, 0.55));
    transform: none;
}

@supports not (-webkit-background-clip: text) {
    .lc-brand-copy h1 {
        color: #7dd3fc;
    }
}

@media (max-width: 1750px) {
    .lc-masthead {
        grid-template-columns: minmax(790px, 1fr) minmax(390px, 0.7fr) minmax(340px, 0.6fr);
    }

    .lc-brand-copy h1 {
        font-size: clamp(26px, 1.76vw, 31px);
    }
}

@media (max-width: 1480px) {
    .lc-masthead {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-brand-copy h1 {
        width: auto;
        white-space: normal;
        font-size: 30px;
    }
}

/* Prompt view fix: keep /legislative/ usable at normal desktop zoom. */
html,
body,
.lc-shell {
    min-height: 100%;
    height: auto;
    overflow-x: clip;
}

body {
    overflow-y: auto;
}

.lc-shell {
    overflow: visible;
}

.lc-masthead {
    min-height: 0;
    height: auto;
    grid-template-columns: minmax(520px, 1fr) minmax(360px, 0.72fr) minmax(320px, 0.56fr);
    gap: 18px;
    padding: 18px 22px;
}

.lc-brand-copy,
.lc-brand-copy h1,
.lc-brand-copy h2,
.lc-brand-copy p,
.lc-brand-copy small {
    min-width: 0;
}

.lc-brand-copy h1 {
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(28px, 1.9vw, 34px);
    line-height: 1.05;
}

.lc-brand-copy small {
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.lc-workspace {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.lc-sidebar,
.lc-main {
    height: auto;
    overflow: visible;
}

.lc-sidebar {
    min-height: calc(100vh - 214px);
}

.lc-side-nav {
    overflow: visible;
}

.lc-main {
    padding-bottom: 30px;
}

.lc-dashboard {
    min-height: 0;
}

.lc-footer {
    position: relative;
    z-index: 1;
}

@media (max-width: 1750px) {
    .lc-masthead {
        grid-template-columns: minmax(500px, 1fr) minmax(340px, 0.72fr) minmax(300px, 0.58fr);
    }
}

@media (max-width: 1480px) {
    .lc-masthead {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-brand-copy h1 {
        font-size: clamp(26px, 3.4vw, 32px);
    }

    .lc-mast-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .lc-workspace {
        grid-template-columns: 1fr;
    }

    .lc-sidebar {
        min-height: 0;
    }

    .lc-side-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lc-masthead {
        padding: 14px;
    }

    .lc-brand {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
    }

    .lc-brand-seals,
    .lc-brand-seal {
        width: 56px;
    }

    .lc-brand-seal {
        height: 56px;
        flex-basis: 56px;
    }

    .lc-brand-copy h1 {
        font-size: 24px;
    }

    .lc-brand-copy p {
        flex-wrap: wrap;
        gap: 6px 10px;
        font-size: 15px;
    }

    .lc-top-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lc-mast-actions,
    .lc-side-nav {
        grid-template-columns: 1fr;
    }
}

/* Legislative view density and tab color-coding refresh. */
@media (min-width: 900px) {
    body {
        zoom: 80%;
        width: auto;
    }
}

@supports not (zoom: 1) {
    @media (min-width: 900px) {
        body {
            width: auto;
        }

        .lc-shell {
            width: 125%;
            transform: scale(0.8);
            transform-origin: 0 0;
        }
    }
}

.lc-dashboard {
    border: 1px solid rgba(159, 193, 255, 0.78);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98)),
        radial-gradient(circle at 16% 0%, rgba(34, 211, 238, 0.16), transparent 34%);
}

html,
body,
.lc-shell,
.lc-workspace,
.lc-main,
.lc-dashboard {
    max-width: 100%;
}

.lc-main,
.lc-dashboard {
    overflow-x: hidden;
}

@media (min-width: 1181px) {
    .lc-intro {
        grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 700px) minmax(250px, 0.55fr);
        align-items: center;
    }

    .lc-search-wrap {
        width: min(700px, 100%);
        justify-self: center;
    }

    .lc-search {
        width: 100%;
    }

    .lc-console {
        width: min(100%, 300px);
        justify-self: end;
    }
}

@media (max-width: 1480px) and (min-width: 1181px) {
    .lc-intro {
        grid-template-columns: minmax(340px, 0.84fr) minmax(480px, 640px) minmax(220px, 0.48fr);
    }

    .lc-search-wrap {
        width: min(640px, 100%);
    }
}

.lc-module-carousel {
    min-width: 0;
    overflow: hidden;
}

.lc-module-carousel .lc-module-grid {
    max-width: 100%;
    padding-right: 14px;
    scroll-padding-inline: 8px 18px;
}

.lc-paperless,
.lc-archive-shortcuts,
.lc-panel,
.lc-right-rail,
.lc-dashboard-primary {
    min-width: 0;
}

.lc-shortcut-grid,
.lc-lower-grid,
.lc-dashboard-body,
.lc-alert-row,
.lc-stat-grid {
    max-width: 100%;
}

.lc-side-nav a,
.lc-side-bottom a {
    --tab: #2563eb;
    --tab-dark: #1d4ed8;
    --tab-soft: rgba(37, 99, 235, 0.14);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.lc-side-nav a::before,
.lc-side-bottom a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--tab-soft), rgba(255, 255, 255, 0.025));
    opacity: 0;
    transition: opacity 0.16s ease;
}

.lc-side-nav a::after,
.lc-side-bottom a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--tab);
    box-shadow: 0 0 16px var(--tab-soft);
}

.lc-side-nav a > *,
.lc-side-bottom a > * {
    position: relative;
    z-index: 1;
}

.lc-side-nav i,
.lc-side-bottom i {
    width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--tab), var(--tab-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.lc-side-nav a:hover,
.lc-side-bottom a:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
}

.lc-side-nav a:hover::before,
.lc-side-bottom a:hover::before {
    opacity: 1;
}

.lc-side-nav .is-active,
.lc-side-nav .is-featured {
    background: linear-gradient(135deg, var(--tab), var(--tab-dark));
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 24px rgba(0, 0, 0, 0.2);
}

.lc-side-nav .is-active i,
.lc-side-nav .is-featured i {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lc-side-nav a:nth-child(1) { --tab: #2563eb; --tab-dark: #1d4ed8; --tab-soft: rgba(37, 99, 235, 0.18); }
.lc-side-nav a:nth-child(2) { --tab: #9333ea; --tab-dark: #6d28d9; --tab-soft: rgba(147, 51, 234, 0.18); }
.lc-side-nav a:nth-child(3) { --tab: #16a34a; --tab-dark: #15803d; --tab-soft: rgba(22, 163, 74, 0.16); }
.lc-side-nav a:nth-child(4) { --tab: #f97316; --tab-dark: #c2410c; --tab-soft: rgba(249, 115, 22, 0.17); }
.lc-side-nav a:nth-child(5) { --tab: #14b8a6; --tab-dark: #0f766e; --tab-soft: rgba(20, 184, 166, 0.17); }
.lc-side-nav a:nth-child(6) { --tab: #0ea5e9; --tab-dark: #0369a1; --tab-soft: rgba(14, 165, 233, 0.17); }
.lc-side-nav a:nth-child(7) { --tab: #e11d48; --tab-dark: #9f1239; --tab-soft: rgba(225, 29, 72, 0.17); }
.lc-side-nav a:nth-child(8) { --tab: #4f46e5; --tab-dark: #3730a3; --tab-soft: rgba(79, 70, 229, 0.17); }
.lc-side-nav a:nth-child(9) { --tab: #7c3aed; --tab-dark: #5b21b6; --tab-soft: rgba(124, 58, 237, 0.17); }
.lc-side-nav a:nth-child(10) { --tab: #d97706; --tab-dark: #92400e; --tab-soft: rgba(217, 119, 6, 0.17); }
.lc-side-nav a:nth-child(11) { --tab: #059669; --tab-dark: #047857; --tab-soft: rgba(5, 150, 105, 0.17); }
.lc-side-nav a:nth-child(12) { --tab: #0284c7; --tab-dark: #075985; --tab-soft: rgba(2, 132, 199, 0.17); }
.lc-side-nav a:nth-child(13) { --tab: #64748b; --tab-dark: #334155; --tab-soft: rgba(100, 116, 139, 0.18); }
.lc-side-nav a:nth-child(14) { --tab: #0891b2; --tab-dark: #155e75; --tab-soft: rgba(8, 145, 178, 0.17); }
.lc-side-nav a:nth-child(15) { --tab: #475569; --tab-dark: #1e293b; --tab-soft: rgba(71, 85, 105, 0.18); }
.lc-side-bottom a:nth-child(1) { --tab: #64748b; --tab-dark: #334155; --tab-soft: rgba(100, 116, 139, 0.18); }
.lc-side-bottom a:nth-child(2) { --tab: #ef4444; --tab-dark: #991b1b; --tab-soft: rgba(239, 68, 68, 0.18); }

.lc-top-links a {
    --top-a: #2563eb;
    --top-b: #1d4ed8;
    background: linear-gradient(135deg, var(--top-a), var(--top-b));
    border-color: rgba(255, 255, 255, 0.18);
}

.lc-top-links a:nth-child(1) { --top-a: #2563eb; --top-b: #1e40af; }
.lc-top-links a:nth-child(2) { --top-a: #7c3aed; --top-b: #4c1d95; }
.lc-top-links a:nth-child(3) { --top-a: #0f766e; --top-b: #134e4a; }
.lc-top-links a:nth-child(4) { --top-a: #d97706; --top-b: #92400e; }
.lc-top-links a:nth-child(5) { --top-a: #16a34a; --top-b: #166534; }
.lc-top-links a:nth-child(6) { --top-a: #0ea5e9; --top-b: #075985; }

.lc-module {
    --module: #2563eb;
    --module-dark: #1d4ed8;
    --module-soft: #eff6ff;
    position: relative;
    overflow: hidden;
    border-color: rgba(151, 190, 255, 0.72);
    border-top: 4px solid var(--module);
    background: linear-gradient(180deg, #fff, var(--module-soft));
    box-shadow: 0 10px 22px rgba(6, 31, 88, 0.08);
}

.lc-module::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--module);
    opacity: 0.08;
}

.lc-module i {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--module), var(--module-dark));
    color: #fff;
    font-size: 17px;
    box-shadow: 0 9px 18px rgba(6, 31, 88, 0.14);
}

.lc-module strong {
    color: var(--module-dark);
}

.lc-module:hover {
    border-color: var(--module);
    box-shadow: 0 14px 26px rgba(6, 31, 88, 0.13);
}

.lc-module.is-live { --module: #7c3aed; --module-dark: #5b21b6; --module-soft: #fbf7ff; }
.lc-module.is-green { --module: #16a34a; --module-dark: #166534; --module-soft: #f0fdf4; }
.lc-module.is-orange { --module: #f97316; --module-dark: #c2410c; --module-soft: #fff7ed; }
.lc-module.is-purple { --module: #9333ea; --module-dark: #6b21a8; --module-soft: #faf5ff; }
.lc-module.is-teal { --module: #0d9488; --module-dark: #115e59; --module-soft: #f0fdfa; }
.lc-module.is-red { --module: #e11d48; --module-dark: #9f1239; --module-soft: #fff1f2; }

.lc-shortcut-grid a {
    --shortcut: #2563eb;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--shortcut);
}

.lc-shortcut-grid a:nth-child(2) { --shortcut: #7c3aed; }
.lc-shortcut-grid a:nth-child(3) { --shortcut: #0d9488; }
.lc-shortcut-grid a:nth-child(4) { --shortcut: #0ea5e9; }
.lc-shortcut-grid a:nth-child(5) { --shortcut: #16a34a; }
.lc-shortcut-grid a:nth-child(6) { --shortcut: #4f46e5; }
.lc-shortcut-grid a:nth-child(7) { --shortcut: #d97706; }
.lc-shortcut-grid a:nth-child(8) { --shortcut: #0891b2; }
.lc-shortcut-grid a:nth-child(9) { --shortcut: #64748b; }

.lc-shortcut-grid i {
    background: color-mix(in srgb, var(--shortcut) 14%, #fff);
    color: var(--shortcut);
}

/* Margosatubig reference alignment, kept at guipos's requested 80% view. */
body {
    zoom: 1;
    width: auto;
}

.lc-shell {
    zoom: 0.8;
}

@media (min-width: 1181px) {
    .lc-workspace {
        grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
        align-items: start;
        overflow: visible;
    }

    .lc-sidebar {
        position: sticky;
        top: 0;
        min-height: 100vh;
        overflow: visible;
        align-self: start;
    }

    .lc-side-nav {
        overflow: visible;
    }

    .lc-main {
        overflow: visible;
        padding: 16px;
    }

    .lc-dashboard {
        overflow: visible;
        border-radius: 12px;
    }

    .lc-intro {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
        align-items: start;
    }

    .lc-search-wrap {
        width: 100%;
        justify-self: stretch;
    }

    .lc-console {
        grid-column: 1 / -1;
        width: 100%;
        height: auto;
        justify-self: stretch;
    }

    .lc-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lc-alert-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lc-dashboard-body {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        align-items: start;
    }
}

.lc-side-nav a,
.lc-side-bottom a {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, var(--tab), var(--tab-dark));
    box-shadow:
        0 10px 18px rgba(6, 31, 88, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.lc-side-nav a::after,
.lc-side-bottom a::after {
    inset: 0;
    width: auto;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%, rgba(0, 0, 0, 0.15));
    box-shadow: none;
}

.lc-side-nav i,
.lc-side-bottom i {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lc-side-nav .is-active,
.lc-side-nav .is-featured {
    background: linear-gradient(145deg, var(--tab), var(--tab-dark));
}

@media (max-width: 1180px) {
    .lc-shell {
        zoom: 1;
    }
}
