: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-submit {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.lc-search-submit:hover,
.lc-search-submit:focus-visible {
    background: #edf4ff;
    outline: 0;
}

.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);
    }
}

/* SP Secretary-style command center shell for Margosatubig */
.cmd-dashboard {
    min-height: 100vh;
    padding: 10px;
    font-family: Arial, "Segoe UI", sans-serif;
    font-size: 14px;
    color: #102549;
    background: #dfeeff;
}

.cmd-dashboard *,
.cmd-dashboard *::before,
.cmd-dashboard *::after {
    box-sizing: border-box;
}

.cmd-dashboard a {
    color: inherit;
    text-decoration: none;
}

.cmd-dashboard button,
.cmd-dashboard input {
    font: inherit;
}

.cmd-shell {
    min-height: calc(100vh - 20px);
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(79, 156, 255, 0.56);
    border-radius: 9px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
    box-shadow: 0 28px 70px rgba(0, 9, 27, 0.42);
}

.cmd-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(7, 38, 83, 0.96), rgba(0, 34, 72, 0.99)),
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.18), transparent 28%);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.38) rgba(7, 38, 83, 0.35);
}

.cmd-sidebar::before {
    content: "";
    position: absolute;
    inset: 110px -28px auto 24px;
    width: 230px;
    height: 230px;
    opacity: 0.1;
    border-radius: 999px;
    background: url("/legislative/assets/margosatubig-seal.png") center / contain no-repeat;
    pointer-events: none;
}

.cmd-sidebar::-webkit-scrollbar {
    width: 8px;
}

.cmd-sidebar::-webkit-scrollbar-track {
    background: rgba(7, 38, 83, 0.34);
}

.cmd-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
}

.cmd-seal-card {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 2px 4px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cmd-seal-card img {
    width: 112px;
    height: 112px;
    padding: 5px;
    object-fit: contain;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.32);
}

.cmd-seal-card strong,
.cmd-seal-card span {
    text-transform: uppercase;
}

.cmd-seal-card strong {
    max-width: 180px;
    margin-top: 6px;
    font-size: 0.79rem;
    line-height: 1.12;
}

.cmd-seal-card span {
    font-size: 0.82rem;
    font-weight: 900;
}

.cmd-sidebar-group {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
}

.cmd-sidebar-title {
    margin: 11px 10px 2px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cmd-sidebar-link {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.cmd-sidebar-link i {
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

.cmd-sidebar-link:hover,
.cmd-sidebar-link.is-active {
    color: #08204a;
    background: linear-gradient(135deg, #ffd84d, #f2af22);
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.cmd-sidebar-link:hover i,
.cmd-sidebar-link.is-active i {
    color: #08204a;
}

.cmd-sidebar .cmd-sidebar-link {
    --tab-start: #3e7df4;
    --tab-mid: #2363d7;
    --tab-end: #173f9e;
    --tab-border: rgba(138, 185, 255, 0.78);
    position: relative;
    min-height: 38px;
    margin: 1px 2px;
    padding: 8px 10px;
    overflow: hidden;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    border-color: var(--tab-border);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
        linear-gradient(180deg, var(--tab-start) 0%, var(--tab-mid) 52%, var(--tab-end) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -3px 0 rgba(0, 0, 0, 0.26),
        0 5px 10px rgba(0, 9, 27, 0.32);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.cmd-sidebar .cmd-sidebar-link::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.cmd-sidebar .cmd-sidebar-link i,
.cmd-sidebar .cmd-sidebar-link span,
.cmd-sidebar .cmd-sidebar-link em {
    position: relative;
    z-index: 1;
}

.cmd-sidebar .cmd-sidebar-link em {
    align-self: center;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: #ff9e00;
    font-size: 9px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    text-shadow: none;
}

.cmd-sidebar .cmd-sidebar-link i {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.cmd-sidebar .cmd-sidebar-link:hover,
.cmd-sidebar .cmd-sidebar-link.is-active {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    transform: translateY(-1px);
    border-color: #ffe15c;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(180deg, var(--tab-start) 0%, var(--tab-mid) 52%, var(--tab-end) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -4px 0 rgba(0, 0, 0, 0.28),
        0 7px 14px rgba(0, 9, 27, 0.42),
        0 0 0 1px rgba(255, 224, 92, 0.22);
    filter: saturate(1.08);
}

.cmd-sidebar .cmd-sidebar-link:hover i,
.cmd-sidebar .cmd-sidebar-link.is-active i {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.cmd-sidebar-link.tone-blue {
    --tab-start: #3f82ff;
    --tab-mid: #2864d8;
    --tab-end: #173b9a;
    --tab-border: rgba(139, 187, 255, 0.82);
}

.cmd-sidebar-link.tone-purple {
    --tab-start: #b43cff;
    --tab-mid: #8424d8;
    --tab-end: #4a168f;
    --tab-border: rgba(218, 163, 255, 0.82);
}

.cmd-sidebar-link.tone-indigo {
    --tab-start: #4457d8;
    --tab-mid: #2c3a9d;
    --tab-end: #1f256d;
    --tab-border: rgba(151, 165, 255, 0.82);
}

.cmd-sidebar-link.tone-orange {
    --tab-start: #ff9e18;
    --tab-mid: #d66b00;
    --tab-end: #9d4300;
    --tab-border: rgba(255, 193, 106, 0.86);
}

.cmd-sidebar-link.tone-green {
    --tab-start: #2ec66b;
    --tab-mid: #139048;
    --tab-end: #086338;
    --tab-border: rgba(119, 224, 158, 0.82);
}

.cmd-sidebar-link.tone-teal {
    --tab-start: #28bdd1;
    --tab-mid: #0b829b;
    --tab-end: #07556d;
    --tab-border: rgba(112, 224, 238, 0.82);
}

.cmd-sidebar-link.tone-navy {
    --tab-start: #374a67;
    --tab-mid: #243653;
    --tab-end: #111e34;
    --tab-border: rgba(130, 151, 181, 0.82);
}

.cmd-sidebar-link.tone-slate {
    --tab-start: #64748b;
    --tab-mid: #3f4e63;
    --tab-end: #1f2937;
    --tab-border: rgba(166, 181, 202, 0.78);
}

.cmd-sidebar-link.tone-red {
    --tab-start: #ef4444;
    --tab-mid: #c91f2f;
    --tab-end: #88151f;
    --tab-border: rgba(255, 153, 153, 0.82);
}

.cmd-sidebar-art {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    display: grid;
    gap: 8px;
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    line-height: 1.35;
}

.cmd-sidebar-art i {
    color: #ffd84d;
    font-size: 1.8rem;
}

.cmd-workspace {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(233, 242, 255, 0.65), rgba(255, 255, 255, 0.96) 18%),
        radial-gradient(circle at 85% 2%, rgba(0, 78, 158, 0.12), transparent 28%);
}

.cmd-topbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px 22px;
    color: #fff;
    background:
        linear-gradient(90deg, #06316d 0%, #0a4a95 52%, #072f70 100%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.2), transparent 24%);
    border-bottom: 1px solid rgba(4, 35, 84, 0.22);
}

.cmd-top-title {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cmd-top-subtitle {
    margin-top: 2px;
    color: #ffd84d;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cmd-top-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmd-top-tabs a,
.cmd-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    color: #082a60;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 20px rgba(0, 17, 51, 0.2);
    font-size: 0.84rem;
    font-weight: 900;
}

.cmd-top-tabs a.is-active {
    color: #081a37;
    background: linear-gradient(180deg, #ffea73 0%, #ffc82f 48%, #e99d12 100%);
}

.cmd-clock {
    display: grid;
    justify-items: end;
    color: #fff;
    line-height: 1.05;
}

.cmd-clock span {
    font-size: 0.72rem;
    opacity: 0.9;
}

.cmd-clock strong {
    font-size: 1.16rem;
}

.cmd-user-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #fff;
    background: #2f74ff;
}

.cmd-canvas {
    min-width: 0;
    padding: 18px 20px 14px;
    overflow: auto;
}

.cmd-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-height: 118px;
    padding: 26px 28px 23px;
    overflow: hidden;
    border: 1px solid rgba(10, 62, 126, 0.16);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.94) 54%, rgba(231, 240, 250, 0.82) 100%),
        radial-gradient(circle at 88% 20%, rgba(8, 54, 120, 0.12), transparent 28%);
    box-shadow: 0 14px 34px rgba(7, 31, 74, 0.11);
}

.cmd-hero::after {
    content: "";
    position: absolute;
    inset: auto 20px -7px auto;
    width: min(460px, 44vw);
    height: 110px;
    opacity: 0.16;
    background:
        linear-gradient(to top, #0a3d80 2px, transparent 2px) left 83px / 100% 18px no-repeat,
        linear-gradient(to right, transparent 8%, #0a3d80 8% 13%, transparent 13% 20%, #0a3d80 20% 27%, transparent 27% 36%, #0a3d80 36% 41%, transparent 41%) bottom / 100% 74px no-repeat;
    border-bottom: 3px solid #0a3d80;
    pointer-events: none;
}

.cmd-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #102549;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0;
}

.cmd-hero p {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: #405470;
    font-size: 0.98rem;
}

.cmd-chamber-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    white-space: nowrap;
    color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(135deg, #08387f, #072861);
    box-shadow: 0 12px 24px rgba(4, 34, 88, 0.28);
    font-weight: 900;
}

.cmd-chamber-button,
.cmd-chamber-button i {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.cmd-search-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 0.48fr);
    gap: 14px;
    margin-top: 14px;
    align-items: start;
}

.cmd-search,
.cmd-govlinks,
.cmd-panel {
    border: 1px solid rgba(10, 62, 126, 0.17);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(7, 31, 74, 0.08);
}

.cmd-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    justify-self: end;
    width: min(100%, 620px);
    height: 66px;
    min-height: 66px;
    padding: 6px;
    overflow: hidden;
    border: 2px solid rgba(44, 220, 255, 0.96);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 255, 0.96));
    box-shadow:
        inset 0 2px rgba(255, 255, 255, 0.95),
        0 0 0 3px rgba(38, 213, 255, 0.18),
        0 0 28px rgba(38, 213, 255, 0.42),
        0 18px 34px rgba(7, 31, 74, 0.16);
}

.cmd-search::before {
    content: "Archive search";
    position: absolute;
    top: 6px;
    left: 18px;
    z-index: 2;
    color: #075ec5;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cmd-search::after {
    content: "Ctrl K";
    position: absolute;
    top: 50%;
    right: 70px;
    z-index: 2;
    transform: translateY(-50%);
    padding: 5px 9px;
    color: #5f708a;
    border-radius: 8px;
    background: #eaf3ff;
    font-size: 0.72rem;
    font-weight: 800;
    pointer-events: none;
}

.cmd-search input {
    height: 50px;
    padding: 16px 90px 0 18px;
    border: 0;
    border-radius: 12px 0 0 12px;
    color: #102549;
    outline: none;
    font-size: 1rem;
    font-weight: 700;
    background: #fff;
}

.cmd-search button {
    width: 58px;
    height: 50px;
    border: 0;
    border-radius: 0 12px 12px 0;
    color: #fff;
    background: linear-gradient(180deg, #0ab9ff 0%, #0865e3 52%, #073b9b 100%);
    font-size: 1.28rem;
    cursor: pointer;
}

.cmd-govlinks {
    padding: 12px;
}

.cmd-govlinks h2 {
    margin: 0 0 8px;
    color: #062d72;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.cmd-govlinks div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.cmd-govlinks a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 8px;
    color: #07306f;
    border: 1px solid rgba(7, 48, 111, 0.18);
    border-radius: 7px;
    background: #f8fbff;
    font-size: 0.75rem;
    font-weight: 900;
}

.cmd-panel {
    margin-top: 14px;
    padding: 14px;
}

.cmd-panel-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #062e72;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cmd-archive-results {
    border-color: rgba(7, 48, 111, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.97));
}

.cmd-archive-results:focus,
.cmd-archive-results.is-focused-target {
    outline: 3px solid rgba(34, 201, 255, 0.82);
    outline-offset: 4px;
    box-shadow: 0 0 0 1px rgba(255, 211, 37, 0.55), 0 0 34px rgba(34, 201, 255, 0.28), var(--lc-shadow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cmd-archive-toolbar {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) auto minmax(240px, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid rgba(7, 48, 111, 0.15);
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.cmd-archive-toolbar-label {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cmd-archive-toolbar-label strong {
    color: #082f73;
    font-size: 0.86rem;
    font-weight: 900;
}

.cmd-archive-toolbar-label span {
    color: #53657d;
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 700;
}

.cmd-archive-mode-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(116px, 1fr));
    gap: 6px;
}

.cmd-archive-mode-tabs button,
.cmd-archive-toolbar > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(7, 48, 111, 0.18);
    border-radius: 8px;
    color: #0b3473;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    cursor: pointer;
}

.cmd-archive-mode-tabs button.is-active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow: 0 10px 20px rgba(7, 48, 111, 0.17);
}

.cmd-archive-results.is-ordinance-mode .cmd-archive-mode-tabs button.is-active {
    background: linear-gradient(135deg, #10a856, #08733d);
}

.cmd-archive-results.is-resolution-mode .cmd-archive-mode-tabs button.is-active {
    background: linear-gradient(135deg, #ff941d, #dc6200);
}

.cmd-archive-toolbar input {
    min-width: 0;
    height: 38px;
    padding: 9px 12px;
    color: #12213a;
    border: 1px solid rgba(7, 48, 111, 0.18);
    border-radius: 8px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    outline: none;
}

.cmd-archive-toolbar input:focus {
    border-color: #0b79da;
    box-shadow: 0 0 0 3px rgba(11, 121, 218, 0.14);
}

.cmd-archive-toolbar > button {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #0b79da, #0751aa);
}

.cmd-archive-status {
    margin-bottom: 10px;
    padding: 9px 12px;
    color: #0b3473;
    border: 1px solid rgba(7, 48, 111, 0.12);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 216, 77, 0.16), rgba(234, 243, 255, 0.96));
    font-size: 0.8rem;
    font-weight: 800;
}

.cmd-archive-list {
    display: grid;
    gap: 8px;
}

.cmd-archive-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(148px, 0.22fr) minmax(0, 1fr) minmax(180px, 0.24fr);
    gap: 14px;
    align-items: stretch;
    min-height: 94px;
    padding: 12px;
    overflow: hidden;
    color: #102549;
    border: 1px solid rgba(7, 48, 111, 0.13);
    border-left: 5px solid #0b79da;
    border-radius: 9px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 9px 20px rgba(7, 31, 74, 0.07);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.cmd-archive-results.is-ordinance-mode .cmd-archive-row {
    border-left-color: #10a856;
}

.cmd-archive-results.is-resolution-mode .cmd-archive-row {
    border-left-color: #ff8a12;
}

.cmd-archive-row:hover {
    transform: translateY(-2px);
    border-color: rgba(7, 48, 111, 0.26);
    box-shadow: 0 16px 28px rgba(7, 31, 74, 0.12);
}

.cmd-archive-number {
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
    border: 1px solid rgba(7, 48, 111, 0.1);
}

.cmd-archive-number small,
.cmd-archive-number em,
.cmd-archive-side small {
    color: #64748b;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.cmd-archive-number strong {
    display: block;
    min-width: 0;
    color: #081d44;
    font-size: clamp(1.3rem, 2.1vw, 1.85rem);
    line-height: 1;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.cmd-archive-main {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.cmd-archive-main strong {
    color: #102549;
    font-size: 14pt;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.cmd-archive-main p {
    margin: 0;
    color: #405470;
    font-size: 14px;
    line-height: 1.38;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.cmd-archive-side {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 9px;
    min-width: 0;
}

.cmd-archive-side b {
    display: inline-block;
    max-width: 100%;
    padding: 6px 9px;
    overflow: hidden;
    color: #082f73;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    background: #eaf3ff;
    font-size: 0.7rem;
    font-weight: 900;
}

.cmd-archive-side small {
    color: #0b3473;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(255, 216, 77, 0.2);
}

.cmd-archive-empty {
    display: grid;
    place-items: center;
    min-height: 84px;
    padding: 14px;
    color: #405470;
    text-align: center;
    border: 1px solid rgba(7, 48, 111, 0.14);
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.95));
    box-shadow: 0 8px 18px rgba(7, 31, 74, 0.06);
    font-weight: 800;
}

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

.cmd-module-card,
.cmd-stat-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 126px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(7, 48, 111, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 10px 22px rgba(7, 31, 74, 0.07);
}

.cmd-module-card i,
.cmd-stat-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: #0b79da;
}

.cmd-module-card strong,
.cmd-stat-card strong {
    color: #102549;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

.cmd-module-card span,
.cmd-stat-card span,
.cmd-stat-card small {
    color: #53657d;
    font-size: 0.82rem;
    line-height: 1.35;
}

.cmd-module-card b {
    position: absolute;
    top: 12px;
    right: 14px;
    color: #7390b9;
    font-size: 1.4rem;
}

.tone-green i { background: #10a856; }
.tone-orange i { background: #ff8a12; }
.tone-purple i { background: #6b35d8; }
.tone-teal i { background: #0ea3b2; }
.tone-slate i { background: #475569; }

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

    .cmd-clock {
        justify-items: start;
    }

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

    .cmd-archive-toolbar {
        grid-template-columns: 1fr;
    }

    .cmd-archive-row {
        grid-template-columns: minmax(140px, 0.24fr) minmax(0, 1fr);
    }

    .cmd-archive-side {
        grid-column: 2;
        justify-items: start;
    }
}

@media (max-width: 760px) {
    .cmd-dashboard {
        padding: 0;
    }

    .cmd-shell {
        grid-template-columns: 1fr;
        min-height: 100vh;
        border-radius: 0;
    }

    .cmd-sidebar {
        display: none;
    }

    .cmd-canvas {
        padding: 14px;
    }

    .cmd-hero {
        display: grid;
        padding: 20px;
    }

    .cmd-search-grid,
    .cmd-module-grid,
    .cmd-stat-grid,
    .cmd-archive-row {
        grid-template-columns: 1fr;
    }

    .cmd-archive-side {
        grid-column: auto;
        justify-items: start;
    }

    .cmd-archive-mode-tabs {
        grid-template-columns: 1fr;
    }
}

/* Lakewood-reference masthead and dashboard refresh for Margosatubig */
.cmd-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 18px;
    align-items: center;
    min-height: 238px;
    padding: 20px 22px 19px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(2, 35, 84, 0.98), rgba(8, 67, 142, 0.96)),
        radial-gradient(circle at 21% 0%, rgba(53, 213, 255, 0.3), transparent 30%),
        radial-gradient(circle at 86% 95%, rgba(251, 194, 38, 0.16), transparent 28%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cmd-mast-brand {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.cmd-mast-brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.9),
        0 18px 36px rgba(0, 12, 43, 0.28);
}

.cmd-mast-brand h1,
.cmd-mast-brand h2,
.cmd-mast-brand p,
.cmd-mast-brand em,
.cmd-mast-brand small {
    position: relative;
    z-index: 1;
    margin: 0;
}

.cmd-mast-brand h1 {
    max-width: 700px;
    color: #ecfbff;
    font-size: clamp(1.65rem, 2.35vw, 2.58rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(37, 218, 255, 0.9),
        0 3px 0 rgba(0, 20, 58, 0.54);
}

.cmd-mast-brand p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 900;
}

.cmd-mast-brand p strong {
    color: #ffd73d;
    font-style: italic;
}

.cmd-mast-brand h2 {
    margin-top: 7px;
    color: #fff;
    font-size: 0.96rem;
    line-height: 1.18;
    font-weight: 900;
}

.cmd-mast-brand em {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
}

.cmd-mast-brand small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 640px;
    margin-top: 10px;
    padding: 7px 10px;
    color: #e9f7ff;
    border: 1px solid rgba(80, 184, 255, 0.62);
    border-radius: 5px;
    background: rgba(5, 36, 82, 0.56);
    font-size: 0.73rem;
    line-height: 1.22;
    font-weight: 800;
}

.cmd-mast-utility {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 0.24fr) minmax(118px, 0.24fr);
    gap: 8px;
    align-items: stretch;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(64, 160, 255, 0.42);
    border-radius: 10px;
    background: rgba(4, 39, 88, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 15px 32px rgba(0, 11, 36, 0.22),
        0 0 24px rgba(25, 168, 255, 0.12);
}

.cmd-mast-links {
    min-width: 0;
}

.cmd-mast-links h2 {
    margin: -5px 0 7px;
    color: #fff;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.cmd-mast-links nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.cmd-mast-links a,
.cmd-mast-time,
.cmd-mast-user {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15),
        0 9px 18px rgba(0, 10, 32, 0.2);
}

.cmd-mast-links a {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-height: 40px;
    padding: 7px 8px;
    color: #fff;
    background: linear-gradient(135deg, #2f86ff, #0b4ea8);
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 900;
}

.cmd-mast-links a:nth-child(2) { background: linear-gradient(135deg, #26a4d8, #086d98); }
.cmd-mast-links a:nth-child(3) { background: linear-gradient(135deg, #7a26ca, #4b168f); }
.cmd-mast-links a:nth-child(4) { background: linear-gradient(135deg, #d87820, #a83e0c); }
.cmd-mast-links a:nth-child(5) { background: linear-gradient(135deg, #18a663, #08723e); }
.cmd-mast-links a:nth-child(6) { background: linear-gradient(135deg, #5466d8, #243995); }

.cmd-mast-links a i {
    font-size: 0.88rem;
    text-align: center;
}

.cmd-mast-links a span {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.cmd-mast-time,
.cmd-mast-user {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 10px 8px;
    color: #fff;
    text-align: center;
    background: rgba(16, 70, 145, 0.86);
}

.cmd-mast-time i,
.cmd-mast-user > i {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
}

.cmd-mast-time small,
.cmd-mast-time span,
.cmd-mast-user em {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.62rem;
    line-height: 1.1;
    font-weight: 700;
}

.cmd-mast-time strong {
    display: block;
    margin: 3px 0;
    color: #fff;
    font-size: 1.25rem;
    line-height: 0.95;
    font-weight: 900;
}

.cmd-mast-user {
    background: rgba(35, 84, 165, 0.88);
}

.cmd-mast-user span {
    display: grid;
    gap: 2px;
}

.cmd-mast-user strong {
    display: block;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.05;
    font-weight: 900;
}

.cmd-canvas {
    padding: 16px 20px 18px;
}

.cmd-dashboard-panel {
    padding: 20px;
    border: 1px solid rgba(9, 93, 205, 0.16);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.96)),
        radial-gradient(circle at 92% 2%, rgba(7, 87, 174, 0.1), transparent 28%);
    box-shadow:
        0 18px 42px rgba(7, 31, 74, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.cmd-dashboard-intro {
    display: grid;
    grid-template-columns: minmax(350px, 0.68fr) minmax(620px, 0.92fr);
    gap: 26px;
    align-items: start;
}

.cmd-dashboard-intro p,
.cmd-dashboard-intro h1,
.cmd-dashboard-intro span {
    margin: 0;
}

.cmd-dashboard-intro p {
    color: #0d5dce;
    font-size: 0.95rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cmd-dashboard-intro h1 {
    margin-top: 5px;
    color: #102549;
    font-size: clamp(2rem, 3.2vw, 3.45rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.cmd-dashboard-intro span {
    display: block;
    max-width: 760px;
    margin-top: 8px;
    color: #405470;
    font-size: 0.94rem;
    line-height: 1.35;
}

.cmd-dashboard-search {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    justify-self: end;
    width: min(100%, 680px);
    height: 58px;
    min-width: 0;
    margin-top: 56px;
    padding: 7px 12px;
    border: 3px solid rgba(25, 215, 255, 0.98);
    border-radius: 12px;
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(25, 215, 255, 0.16),
        0 0 28px rgba(25, 215, 255, 0.42),
        0 18px 30px rgba(7, 31, 74, 0.17);
}

.cmd-dashboard-search i {
    color: #0875df;
    font-size: 1.18rem;
    text-align: center;
}

.cmd-dashboard-search input {
    min-width: 0;
    height: 38px;
    padding: 0;
    color: #102549;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 800;
}

.cmd-dashboard-search kbd {
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 30px;
    color: #6f7f96;
    border: 0;
    border-radius: 9px;
    background: #eaf3ff;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 900;
}

.cmd-console-row {
    margin-top: 14px;
}

.cmd-chamber-console {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto;
    gap: 10px 16px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(8, 70, 154, 0.17);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.cmd-chamber-console > div:first-child {
    display: grid;
    gap: 4px;
}

.cmd-chamber-console strong {
    color: #074fb1;
    font-size: 0.98rem;
    line-height: 1.1;
    font-weight: 900;
}

.cmd-chamber-console span {
    justify-self: start;
    padding: 3px 8px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #16b961, #079a4a);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.cmd-chamber-console > a {
    align-self: start;
    justify-self: end;
    padding: 9px 16px;
    color: #fff;
    border-radius: 7px;
    background: linear-gradient(135deg, #2457f3, #0a3eb1);
    box-shadow: 0 10px 18px rgba(10, 62, 177, 0.2);
    font-size: 0.8rem;
    font-weight: 900;
}

.cmd-chamber-console dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(8, 70, 154, 0.12);
}

.cmd-chamber-console dl div {
    padding: 10px 0 0;
}

.cmd-chamber-console dt,
.cmd-chamber-console dd {
    margin: 0;
}

.cmd-chamber-console dt {
    color: #6b7a91;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cmd-chamber-console dd {
    margin-top: 2px;
    color: #0b61de;
    font-size: 1rem;
    font-weight: 900;
}

.cmd-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.cmd-dashboard-stat {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 86px;
    overflow: hidden;
    padding: 14px 18px;
    color: #fff;
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12),
        0 12px 26px rgba(7, 31, 74, 0.12);
}

.cmd-dashboard-stat::after {
    content: "";
    position: absolute;
    right: -23px;
    top: -28px;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.cmd-dashboard-stat > i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.24rem;
}

.cmd-dashboard-stat div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

.cmd-dashboard-stat strong {
    color: #fff;
    font-size: 1.52rem;
    line-height: 0.95;
    font-weight: 900;
}

.cmd-dashboard-stat span {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.cmd-dashboard-stat small {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    line-height: 1.15;
    font-weight: 800;
}

.cmd-dashboard-stat small b {
    color: #fff;
}

.cmd-dashboard-stat.is-blue { background: linear-gradient(135deg, #1f6fff, #0a4bd0); }
.cmd-dashboard-stat.is-green { background: linear-gradient(135deg, #18b965, #0b9349); }
.cmd-dashboard-stat.is-orange { background: linear-gradient(135deg, #ff9c12, #f07800); }
.cmd-dashboard-stat.is-purple { background: linear-gradient(135deg, #8a2be8, #5e17ce); }
.cmd-dashboard-stat.is-cyan { background: linear-gradient(135deg, #19adc1, #087d95); }
.cmd-dashboard-stat.is-slate { background: linear-gradient(135deg, #778393, #536073); }

@media (max-width: 1320px) {
    .cmd-masthead,
    .cmd-dashboard-intro {
        grid-template-columns: 1fr;
    }

    .cmd-mast-utility {
        grid-template-columns: minmax(0, 1fr) minmax(140px, 0.28fr) minmax(140px, 0.28fr);
    }

    .cmd-dashboard-search {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 1100px) {
    .cmd-mast-utility,
    .cmd-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmd-mast-links {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .cmd-masthead {
        padding: 18px 14px;
    }

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

    .cmd-mast-brand img {
        width: 68px;
        height: 68px;
    }

    .cmd-mast-brand h1 {
        font-size: 1.55rem;
    }

    .cmd-mast-brand small {
        display: none;
    }

    .cmd-mast-utility,
    .cmd-mast-links nav,
    .cmd-dashboard-stats,
    .cmd-chamber-console,
    .cmd-chamber-console dl {
        grid-template-columns: 1fr;
    }

    .cmd-dashboard-panel {
        padding: 12px;
    }

    .cmd-dashboard-intro h1 {
        font-size: 2rem;
    }

    .cmd-dashboard-search {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .cmd-dashboard-search kbd {
        display: none;
    }

    .cmd-chamber-console > a {
        justify-self: stretch;
        text-align: center;
    }
}
