: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;
    }
}

/* 2026-06-28 final 100% zoom layout stabilization. */
html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    overflow-y: auto;
}

.lc-shell {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.lc-masthead {
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 16px clamp(14px, 2vw, 24px) !important;
    overflow: hidden !important;
}

.lc-brand {
    min-width: 0;
    grid-template-columns: clamp(58px, 6vw, 82px) minmax(0, 1fr);
    gap: clamp(12px, 1.3vw, 18px);
    align-items: center;
}

.lc-brand-seals {
    width: auto;
    min-width: 0;
}

.lc-brand-seal {
    width: clamp(58px, 6vw, 82px) !important;
    height: clamp(58px, 6vw, 82px) !important;
    flex-basis: auto !important;
}

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

.lc-brand-copy p {
    flex-wrap: wrap;
    gap: 6px 12px;
}

.lc-brand-copy h2 {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.2;
}

.lc-brand-copy small {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    align-items: flex-start;
    line-height: 1.35;
}

.lc-quick-area {
    width: 100%;
    min-width: 0;
    align-self: stretch;
}

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

.lc-top-links a {
    min-width: 0;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    overflow: hidden;
}

.lc-top-links a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.lc-timebox,
.lc-user {
    min-height: auto !important;
}

.lc-workspace {
    flex: 1 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    align-items: start;
    overflow: visible !important;
}

.lc-sidebar {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    align-self: start;
}

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

.lc-main {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 16px;
}

.lc-dashboard {
    min-height: 0 !important;
    overflow: visible !important;
    border-radius: 12px;
}

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

.lc-console {
    grid-column: 1 / -1;
    height: auto !important;
}

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

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

.lc-alert,
.lc-stat,
.lc-lower-grid .lc-panel {
    min-height: 0;
}

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

.lc-footer {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (min-width: 1500px) {
    .lc-masthead {
        grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.6fr) minmax(330px, 0.52fr);
        align-items: center;
    }

    .lc-brand-copy h1 {
        font-size: clamp(28px, 1.9vw, 34px) !important;
    }

    .lc-brand-copy small {
        display: inline-flex;
    }
}

@media (min-width: 1181px) and (max-width: 1499px) {
    .lc-masthead {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    }

    .lc-mast-actions {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1181px) {
    .lc-sidebar {
        position: sticky;
        top: 0;
        min-height: 100vh !important;
    }
}

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

    .lc-sidebar {
        position: relative;
        min-height: 0 !important;
    }

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

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

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

    .lc-console {
        grid-column: auto;
    }

    .lc-main {
        padding: 12px;
    }
}

@media (max-width: 700px) {
    .lc-masthead {
        gap: 12px;
        padding: 12px !important;
    }

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

    .lc-brand-seal {
        width: 54px !important;
        height: 54px !important;
    }

    .lc-brand-copy h1 {
        font-size: clamp(20px, 8vw, 27px) !important;
        -webkit-text-stroke-width: 0.5px;
        text-shadow: 0 0 2px rgba(240, 249, 255, 0.82), 0 0 7px rgba(34, 211, 238, 0.5);
        filter: none;
    }

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

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

    .lc-brand-copy > span,
    .lc-brand-copy small {
        font-size: 11px;
    }

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

    .lc-mast-actions,
    .lc-side-nav,
    .lc-side-bottom,
    .lc-stat-grid,
    .lc-alert-row,
    .lc-shortcut-grid,
    .lc-footer {
        grid-template-columns: 1fr !important;
    }

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

    .lc-dashboard {
        padding: 12px;
    }

    .lc-intro h2 {
        font-size: 24px !important;
        line-height: 1.05;
    }

    .lc-search {
        min-height: 44px;
    }

    .lc-search kbd {
        display: none;
    }

    .lc-module-carousel {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
    }

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

    .lc-alert,
    .lc-stat,
    .lc-lower-grid .lc-panel {
        height: auto !important;
    }

    .lc-footer {
        padding: 12px;
        text-align: center;
    }
}

/* 2026-06-28 enhanced 90% command-center viewing and 3D color-coded tabs. */
.lc-shell {
    zoom: 0.9;
}

.lc-top-links a,
.lc-side-nav a,
.lc-side-bottom a,
.lc-actions a,
.lc-module,
.lc-shortcut-grid a {
    position: relative;
    isolation: isolate;
    border-width: 1px;
    transform: translateZ(0);
    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-top-links a::after,
.lc-side-nav a::after,
.lc-side-bottom a::after,
.lc-actions a::after,
.lc-module::after,
.lc-shortcut-grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%, rgba(0, 0, 0, 0.16));
    pointer-events: none;
}

.lc-top-links a:hover,
.lc-side-nav a:hover,
.lc-side-bottom a:hover,
.lc-actions a:hover,
.lc-module:hover,
.lc-shortcut-grid a:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 28px rgba(6, 31, 88, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.lc-top-links a:nth-child(1) {
    background: linear-gradient(145deg, #1457d9, #0b3b93);
}

.lc-top-links a:nth-child(2) {
    background: linear-gradient(145deg, #0e7490, #0b4a6f);
}

.lc-top-links a:nth-child(3) {
    background: linear-gradient(145deg, #5b21b6, #35156d);
}

.lc-top-links a:nth-child(4) {
    background: linear-gradient(145deg, #be5b0b, #8a3802);
}

.lc-top-links a:nth-child(5) {
    background: linear-gradient(145deg, #087f5b, #05543d);
}

.lc-top-links a:nth-child(6) {
    background: linear-gradient(145deg, #1d4ed8, #16337a);
}

.lc-side-nav a,
.lc-side-bottom a {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(23, 71, 151, 0.88), rgba(6, 31, 88, 0.72));
}

.lc-side-nav a:nth-child(1) {
    background: linear-gradient(145deg, #2585ff, #0e4bd6);
}

.lc-side-nav a:nth-child(2) {
    background: linear-gradient(145deg, #a72cf2, #6d22d9);
}

.lc-side-nav a:nth-child(3) {
    background: linear-gradient(145deg, #0891b2, #075985);
}

.lc-side-nav a:nth-child(4) {
    background: linear-gradient(145deg, #3755d8, #24348d);
}

.lc-side-nav a:nth-child(5) {
    background: linear-gradient(145deg, #0f766e, #115e59);
}

.lc-side-nav a:nth-child(6) {
    background: linear-gradient(145deg, #2563eb, #1e3a8a);
}

.lc-side-nav a:nth-child(7) {
    background: linear-gradient(145deg, #f59e0b, #b45309);
}

.lc-side-nav a:nth-child(8) {
    background: linear-gradient(145deg, #16a34a, #166534);
}

.lc-side-nav a:nth-child(9) {
    background: linear-gradient(145deg, #0ea5e9, #0369a1);
}

.lc-side-nav a:nth-child(10) {
    background: linear-gradient(145deg, #7c3aed, #581c87);
}

.lc-side-nav a:nth-child(11) {
    background: linear-gradient(145deg, #059669, #065f46);
}

.lc-side-nav a:nth-child(12) {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
}

.lc-side-nav a:nth-child(13) {
    background: linear-gradient(145deg, #334155, #0f172a);
}

.lc-side-nav a:nth-child(14) {
    background: linear-gradient(145deg, #1d4ed8, #1e40af);
}

.lc-side-nav a:nth-child(15) {
    background: linear-gradient(145deg, #64748b, #334155);
}

.lc-side-bottom a:first-child {
    background: linear-gradient(145deg, #0f766e, #064e3b);
}

.lc-side-bottom a:last-child {
    background: linear-gradient(145deg, #dc2626, #7f1d1d);
}

.lc-side-nav i,
.lc-side-bottom i,
.lc-top-links i,
.lc-actions i:first-child {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.lc-module {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        0 12px 24px rgba(6, 31, 88, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -3px 0 rgba(6, 31, 88, 0.12);
}

.lc-module.is-live {
    background: linear-gradient(145deg, #f7f1ff, #e9d5ff);
}

.lc-module.is-green {
    background: linear-gradient(145deg, #ecfdf5, #bbf7d0);
}

.lc-module.is-orange {
    background: linear-gradient(145deg, #fff7ed, #fed7aa);
}

.lc-module.is-purple {
    background: linear-gradient(145deg, #faf5ff, #ddd6fe);
}

.lc-module.is-teal {
    background: linear-gradient(145deg, #ecfeff, #a5f3fc);
}

.lc-module.is-red {
    background: linear-gradient(145deg, #fff1f2, #fecdd3);
}

.lc-actions a {
    border-color: #c7d8ff;
    background: linear-gradient(145deg, #ffffff, #e7efff);
}

.lc-actions a:nth-child(1) i:first-child,
.lc-actions a:nth-child(4) i:first-child {
    color: #0b5cff;
}

.lc-actions a:nth-child(2) i:first-child,
.lc-actions a:nth-child(5) i:first-child {
    color: #059669;
}

.lc-actions a:nth-child(3) i:first-child {
    color: #f59e0b;
}

.lc-search,
.lc-console,
.lc-panel,
.lc-stat,
.lc-alert {
    box-shadow:
        0 12px 26px rgba(6, 31, 88, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

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

    .lc-side-nav a,
    .lc-side-bottom a,
    .lc-top-links a {
        box-shadow:
            0 8px 16px rgba(6, 31, 88, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.26),
            inset 0 -2px 0 rgba(0, 0, 0, 0.13);
    }
}
