:root {
    --ink: #20232d;
    --muted: #8b91a3;
    --line: #eef1f7;
    --panel: #ffffff;
    --page: #eef6ff;
    --soft: #f7fbff;
    --blue: #1294ed;
    --blue-2: #0575c8;
    --cyan: #20d2ff;
    --navy: #0b1220;
    --green: #28b99a;
    --teal: #22b8a2;
    --orange: #ff9340;
    --pink: #f45f9a;
    --purple: #695cff;
    --dark-card: #111827;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.evidence-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    background: #eef4fb;
}

.evidence-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evidence-thumb span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 21, 38, .72);
    font-size: 11px;
    font-weight: 700;
}

.project-planner {
    display: grid;
    gap: 16px;
}

.project-shell-expanded {
    grid-template-columns: 1fr !important;
}

.project-shell-expanded .admin-sidebar,
.project-shell-expanded .admin-topbar {
    display: none;
}

.project-shell-expanded .admin-content {
    padding: 10px;
}

.project-shell-expanded .admin-workspace {
    min-width: 0;
}

.project-editor-top,
.project-workbench,
.project-report {
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 52px rgba(15, 23, 42, .08);
}

.project-editor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
}

.project-eyebrow {
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-editor-top h1,
.project-report h2 {
    margin: 4px 0 6px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 900;
}

.project-editor-top p,
.project-report p,
.palette-head small,
.properties-card p {
    margin: 0;
    color: #64748b;
}

.project-setup {
    display: flex;
    align-items: end;
    gap: 12px;
    min-width: min(100%, 440px);
}

.project-setup label:not(.upload-plan) {
    display: grid;
    gap: 6px;
    flex: 1;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.project-setup select,
.project-setup input {
    min-height: 46px;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
}

.upload-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.upload-plan input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.project-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.project-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid #dbe6f2;
    border-radius: 999px;
    padding: 0 14px;
    color: #334155;
    background: #fff;
    font-weight: 800;
}

.project-tabs button.active {
    border-color: rgba(18, 148, 237, .34);
    color: #075da2;
    background: #eaf7ff;
}

.project-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    position: relative;
}

.project-palette,
.project-properties {
    display: grid;
    align-content: start;
    gap: 12px;
}

.project-floating-actions {
    position: absolute;
    z-index: 8;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-floating-actions button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    padding: 0 12px;
    color: #0f172a;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
    font-weight: 900;
}

.project-floating-actions button[data-quick-tool] {
    min-width: 42px;
    justify-content: center;
    padding: 0 11px;
}

.project-floating-actions button.active {
    border-color: rgba(14, 165, 233, .45);
    color: #075da2;
    background: #eaf8ff;
    box-shadow: 0 14px 30px rgba(14, 165, 233, .18);
}

.project-floating-panel {
    position: absolute;
    z-index: 9;
    top: 66px;
    max-height: calc(100% - 82px);
    overflow-y: auto;
    border: 1px solid #dbe6f2;
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .2);
}

.project-palette.project-floating-panel {
    left: 18px;
    width: 300px;
}

.project-properties.project-floating-panel {
    right: 18px;
    width: 330px;
}

.project-floating-panel.is-collapsed {
    display: none;
}

.floating-panel-close {
    position: sticky;
    z-index: 2;
    top: 0;
    justify-self: end;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: #334155;
    background: #eef6ff;
}

.palette-head,
.properties-card {
    border: 1px solid #e4edf7;
    border-radius: 14px;
    padding: 12px;
    background: #f8fbff;
}

.property-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 10px;
}

.property-meta span,
.project-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid #dbe8f5;
    border-radius: 999px;
    padding: 0 10px;
    color: #075da2;
    background: #edf8ff;
    font-size: 12px;
    font-weight: 800;
}

.line-color-editor {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid #dbe8f5;
    border-radius: 12px;
    padding: 8px 10px;
    background: #fff;
}

.line-color-editor input {
    width: 46px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: transparent;
}

.line-color-editor span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.properties-card .form-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
    color: #334155;
    font-weight: 800;
}

.properties-card .form-label b {
    color: #075da2;
}

.component-list,
.planner-tools {
    display: grid;
    gap: 8px;
}

.palette-search {
    position: relative;
}

.palette-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    color: #8aa1b8;
    transform: translateY(-50%);
}

.palette-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dce8f4;
    border-radius: 12px;
    padding: 0 12px 0 36px;
    background: #fff;
    font-weight: 700;
}

.component-list button,
.planner-tools button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    border: 1px solid #dce8f4;
    border-radius: 12px;
    padding: 0 12px;
    color: #1e293b;
    background: #fff;
    font-weight: 800;
    text-align: left;
}

.component-list button.active,
.planner-tools button.active {
    border-color: rgba(14, 165, 233, .45);
    color: #075da2;
    background: #eaf8ff;
}

.component-category {
    display: flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid #dbe8f5;
    border-radius: 12px;
    padding: 0 12px;
    color: #0f172a;
    background: #f8fbff;
    font-size: 12px;
    font-weight: 900;
}

.component-category span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.component-list button.active,
.planner-tools button.active {
    border-color: rgba(18, 148, 237, .42);
    color: #075da2;
    background: #eaf7ff;
}

.plan-stage {
    position: relative;
    min-height: calc(100vh - 230px);
    overflow: hidden;
    border: 1px solid #dbe6f2;
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(148, 163, 184, .16) 1px, transparent 1px),
        linear-gradient(rgba(148, 163, 184, .16) 1px, transparent 1px),
        #f8fafc;
    background-size: 28px 28px;
}

.plan-stage canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 230px);
    touch-action: none;
    cursor: crosshair;
}

.plan-toolbar {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    max-width: calc(100% - 24px);
    overflow-x: auto;
    padding: 6px;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}

.selected-toolbar {
    position: absolute;
    z-index: 4;
    top: 12px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    max-width: min(92%, 560px);
    min-height: 42px;
    border-radius: 12px;
    padding: 5px 8px 5px 12px;
    color: #fff;
    background: rgba(8, 18, 32, .94);
    box-shadow: 0 16px 34px rgba(8, 18, 32, .26);
    transform: translateX(-50%);
}

.selected-toolbar span {
    overflow: hidden;
    max-width: 190px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.selected-toolbar b {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    color: #082032;
    background: #fbbf24;
    font-size: 12px;
}

.selected-toolbar button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    color: #dbeafe;
    background: rgba(255, 255, 255, .1);
}

.plan-toolbar button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    color: #0f172a;
    background: #eef6ff;
}

.plan-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 8px;
    color: #64748b;
    text-align: center;
    pointer-events: none;
}

.plan-empty i {
    color: var(--blue);
    font-size: 42px;
}

.project-report {
    padding: 18px;
}

.report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.project-report-subtitle {
    margin: 22px 0 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.field-note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.field-note-card {
    overflow: hidden;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    background: #fff;
}

.field-note-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #eef4fb;
}

.field-note-card div {
    padding: 12px;
}

.field-note-card strong {
    display: block;
    margin-bottom: 4px;
}

.saved-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.saved-project-card {
    overflow: hidden;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    background: #fff;
}

.saved-project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #eef4fb;
}

.saved-project-card > div {
    padding: 12px;
}

.saved-project-card strong,
.saved-project-card small {
    display: block;
}

.saved-project-card small {
    color: #64748b;
}

.saved-project-card footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px 12px;
}

* {
    letter-spacing: 0;
}

body {
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-shell-body {
    background: #f6f8fc;
}

.public-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.admin-shell-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 6% 12%, rgba(18, 148, 237, .18), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(32, 210, 255, .14), transparent 25%),
        linear-gradient(135deg, rgba(11, 18, 32, .04), transparent 42%),
        var(--page);
}

.admin-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 251, 255, .92)),
        #ffffff;
    border-right: 1px solid var(--line);
    padding: 26px 20px;
    box-shadow: 16px 0 42px rgba(16, 39, 73, .05);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--ink);
    margin-bottom: 30px;
    text-decoration: none;
}

.brand-lockup img {
    width: 182px;
    max-width: 100%;
    height: auto;
    display: block;
}

.brand-product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 10px;
    color: var(--blue-2);
    background: rgba(18, 148, 237, .09);
    border: 1px solid rgba(18, 148, 237, .16);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-label {
    color: #adb3c4;
    font-size: 12px;
    font-weight: 700;
    margin: 22px 14px 8px;
    text-transform: uppercase;
}

.sidebar-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 14px;
    color: #303747;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.sidebar-nav a i {
    width: 22px;
    color: #111827;
    font-size: 19px;
}

.sidebar-nav a.active {
    color: var(--blue-2);
    background: linear-gradient(90deg, rgba(18, 148, 237, .13), rgba(32, 210, 255, .05));
    box-shadow: inset 0 0 0 1px rgba(18, 148, 237, .08);
}

.sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 9px;
    width: 4px;
    height: 30px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.sidebar-nav a.active i {
    color: var(--blue-2);
}

.nav-count {
    margin-left: auto;
    padding: 3px 8px;
    color: #ffffff;
    background: #a7aec7;
    border-radius: 999px;
    font-size: 11px;
}

.admin-workspace {
    min-width: 0;
    background:
        linear-gradient(180deg, rgba(248, 252, 255, .88), rgba(241, 248, 255, .74)),
        transparent;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 22px;
    height: 86px;
    padding: 0 36px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.top-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 760px;
    height: 48px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 14px 0 18px;
    box-shadow: 0 16px 34px rgba(16, 39, 73, .05);
}

.top-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.top-search button,
.icon-action,
.avatar-action {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #111827;
    background: #ffffff;
    text-decoration: none;
}

.top-search button {
    color: #111827;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.notification-menu {
    position: relative;
}

.notification-bell {
    position: relative;
}

.notification-bell span {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    color: #ffffff;
    background: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.notification-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    display: none;
    width: min(340px, 86vw);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(16, 39, 73, .16);
}

.notification-menu:hover .notification-popover,
.notification-menu:focus-within .notification-popover {
    display: block;
}

.notification-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #e5edf7;
}

.notification-popover-head a,
.notification-popover-item {
    text-decoration: none;
}

.notification-popover-head a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.notification-popover-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    color: #111827;
    border-bottom: 1px solid #eef3f9;
}

.notification-popover-item.unread {
    background: #f0f8ff;
}

.notification-popover-item span {
    font-weight: 850;
}

.notification-popover-item small {
    color: var(--muted);
}

.icon-action {
    border: 1px solid var(--line);
}

.icon-action:hover,
.top-search button:hover {
    color: var(--blue-2);
    background: rgba(18, 148, 237, .08);
}

.avatar-action {
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #1e88d6);
    font-weight: 800;
}

.avatar-action img,
.profile-popover-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.profile-menu {
    position: relative;
}

.profile-menu .avatar-action {
    cursor: pointer;
}

.profile-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 31;
    display: none;
    width: min(290px, 86vw);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(16, 39, 73, .16);
}

.profile-menu:hover .profile-popover,
.profile-menu:focus-within .profile-popover {
    display: block;
}

.profile-popover-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #e5edf7;
}

.profile-popover-head img,
.profile-popover-head span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.profile-popover-head span {
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #1e88d6);
    font-weight: 900;
}

.profile-popover-head strong,
.profile-popover-head small {
    display: block;
}

.profile-popover-head strong {
    color: #111827;
    font-weight: 900;
}

.profile-popover-head small {
    color: var(--muted);
    font-size: 12px;
}

.profile-popover > a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 13px 14px;
    color: #111827;
    border-bottom: 1px solid #eef3f9;
    font-weight: 800;
    text-decoration: none;
}

.profile-popover > a:hover {
    color: var(--blue-2);
    background: #f8fbff;
}

.profile-popover > a.logout-link {
    color: #b42318;
}

.profile-settings {
    display: grid;
    gap: 18px;
    max-width: 640px;
    padding: 20px;
}

.profile-preview {
    display: flex;
    gap: 14px;
    align-items: center;
}

.profile-preview img,
.profile-preview > span {
    width: 82px;
    height: 82px;
    border-radius: 24px;
}

.profile-preview img {
    object-fit: cover;
}

.profile-preview > span {
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #1e88d6);
    font-size: 34px;
    font-weight: 950;
}

.profile-preview h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.profile-preview p {
    margin: 4px 0 0;
    color: var(--muted);
}

.admin-content {
    padding: 34px clamp(24px, 3vw, 48px) 44px;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.page-kicker {
    margin: 4px 0 0;
    color: var(--muted);
}

.card,
.surface-card {
    background: var(--panel);
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(16, 39, 73, .08);
}

.dashboard-shortcut {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 116px;
    padding: 18px;
    color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dashboard-shortcut:hover {
    border-color: rgba(18, 148, 237, .28);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(16, 39, 73, .12);
}

.dashboard-shortcut > span {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: #075da2;
    background: #eaf8ff;
    font-size: 22px;
}

.dashboard-shortcut strong,
.dashboard-shortcut small {
    display: block;
}

.dashboard-shortcut strong {
    margin-bottom: 4px;
    color: #0f172a;
    font-weight: 900;
}

.dashboard-shortcut small {
    color: #64748b;
    line-height: 1.35;
}

.card {
    overflow: hidden;
}

.card-body {
    padding: 24px;
}

.btn {
    border-radius: 13px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border-color: var(--blue);
    box-shadow: 0 12px 24px rgba(18, 148, 237, .24);
}

.btn-outline-primary {
    color: var(--blue-2);
    border-color: #c9dcff;
}

.btn-outline-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.metric-card {
    min-height: 168px;
    border-radius: 20px;
}

.metric-card .metric-value {
    margin-top: 28px;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.metric-card .metric-sparkline {
    width: 100%;
    height: 42px;
    margin-top: 18px;
    background:
        linear-gradient(135deg, transparent 10%, rgba(18, 148, 237, .16) 10% 12%, transparent 12% 24%, rgba(32, 210, 255, .18) 24% 26%, transparent 26%),
        linear-gradient(180deg, transparent 54%, rgba(18, 148, 237, .16) 54% 58%, transparent 58%);
    border-radius: 12px;
}

.highlight-card {
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 28%, rgba(32, 210, 255, .28), transparent 34%),
        linear-gradient(135deg, var(--navy), #1c2638);
    border: 0;
}

.highlight-card .card-body {
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.highlight-card strong {
    color: var(--cyan);
}

.trophy-mark {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: rgba(18, 148, 237, .18);
    color: var(--cyan);
    font-size: 44px;
}

.ticket-row {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(54, 71, 104, .07);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    color: #9aa2b6;
    border-bottom-color: var(--line);
    font-size: 12px;
    text-transform: uppercase;
}

.table tbody td {
    padding: 18px 12px;
    border-bottom-color: #f1f4f8;
}

.customer-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 14px;
    font-weight: 800;
}

.badge {
    padding: 7px 11px;
    border-radius: 999px;
    text-transform: capitalize;
}

.status-nueva { background: rgba(255, 147, 64, .14); color: #e86f10; }
.status-en_revision { background: rgba(138, 82, 245, .14); color: var(--purple); }
.status-en_proceso { background: rgba(61, 124, 247, .14); color: var(--blue-2); }
.status-pendiente_cliente { background: rgba(255, 193, 7, .2); color: #9b7100; }
.status-finalizada, .status-entregada { background: rgba(40, 185, 154, .14); color: #15977c; }
.status-cancelada { background: rgba(244, 95, 154, .14); color: #d93276; }
.status-programada { background: rgba(61, 124, 247, .14); color: var(--blue-2); }
.priority-urgente { background: rgba(220, 53, 69, .14); color: #c82333; }
.priority-alta { background: rgba(255, 147, 64, .16); color: #df6b13; }
.priority-media { background: rgba(61, 124, 247, .14); color: var(--blue-2); }
.priority-baja { background: rgba(108, 117, 125, .14); color: #5b6370; }

.filter-card {
    padding: 18px;
    margin-bottom: 22px;
}

.form-control,
.form-select {
    border-color: #e7ebf3;
    border-radius: 13px;
    min-height: 46px;
}

.form-control:focus,
.form-select:focus {
    border-color: #b8d0ff;
    box-shadow: 0 0 0 .25rem rgba(61, 124, 247, .12);
}

.stat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
}

.dot-orange { background: var(--orange); }
.dot-blue { background: var(--blue); }
.dot-purple { background: var(--purple); }
.dot-green { background: var(--green); }
.dot-pink { background: var(--pink); }

.donut {
    width: 170px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(var(--green) 0 32%, #ffc84d 32% 52%, var(--blue) 52% 77%, var(--pink) 77% 95%, var(--purple) 95% 100%);
    position: relative;
    margin: auto;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.public-brand img {
    width: 142px;
    height: auto;
}

.public-brand span {
    color: var(--blue-2);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.login-shell-body {
    min-height: 100vh;
    background: #020817;
}

.login-stage {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 64px);
    overflow: hidden;
}

.login-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% center;
    filter: saturate(1.05);
}

.login-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 23, .94) 0%, rgba(2, 8, 23, .78) 38%, rgba(2, 8, 23, .22) 74%, rgba(2, 8, 23, .1) 100%),
        radial-gradient(circle at 22% 20%, rgba(0, 179, 255, .24), transparent 28%);
    z-index: 1;
}

.login-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 460px) minmax(420px, 1fr);
    width: min(1180px, 100%);
    min-height: min(700px, calc(100vh - 72px));
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .36);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(390px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 54px;
}

.login-logo {
    width: 152px;
    height: auto;
    display: block;
}

.login-brand span {
    padding: 7px 11px;
    color: #bde9ff;
    background: rgba(101, 212, 255, .1);
    border: 1px solid rgba(101, 212, 255, .18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.login-copy h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 950;
    line-height: 1;
}

.login-copy p {
    margin: 0 0 32px;
    color: #b7cbe1;
    font-size: 16px;
}

.login-field {
    margin-bottom: 16px;
}

.login-form .form-label {
    color: #e8f5ff;
    margin-bottom: 8px;
    font-weight: 800;
}

.login-form .form-label span {
    color: #65d4ff;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.login-input-wrap:focus-within {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(101, 212, 255, .72);
    box-shadow: 0 0 0 4px rgba(101, 212, 255, .13);
}

.login-input-wrap > i {
    display: grid;
    place-items: center;
    width: 52px;
    color: #8ccce8;
    font-size: 18px;
}

.login-form .form-control {
    min-height: 56px;
    padding: 0 16px 0 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.login-form .form-control::placeholder {
    color: rgba(231, 242, 255, .48);
}

.password-field {
    padding-right: 8px;
}

.password-field .form-control {
    padding-right: 58px;
}

.password-field button {
    position: absolute;
    right: 12px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    color: #8ccce8;
    background: transparent;
    transform: translateY(-50%);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 8px 0 26px;
    color: #d5e8f7;
    font-size: 14px;
}

.login-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.login-options input {
    width: 18px;
    height: 18px;
    accent-color: #65d4ff;
}

.login-submit {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 22px;
    color: #06111f;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #65d4ff, #ffffff);
    box-shadow: 0 18px 34px rgba(0, 179, 255, .22);
    font-weight: 950;
}

.login-submit i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: #0b4f86;
    border-radius: 12px;
}

.login-footnote {
    display: block;
    margin-top: 22px;
    color: rgba(231, 242, 255, .56);
    font-weight: 700;
}

.login-art {
    position: relative;
    display: flex;
    min-height: 100%;
    background: #08104b;
    overflow: hidden;
}

.login-art img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 42% center;
}

.login-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 8, 23, .2), rgba(2, 8, 23, .04));
}

.login-art-caption {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    color: #ffffff;
    background: rgba(2, 8, 23, .42);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.login-art-caption strong {
    font-size: 18px;
    font-weight: 950;
}

.login-art-caption span {
    color: #b7d9ef;
    font-size: 12px;
    font-weight: 800;
}

.signature-pad {
    width: 100%;
    max-width: 520px;
    height: 210px;
    background: #ffffff;
    border: 2px dashed #c8d6e8;
    border-radius: 16px;
    touch-action: none;
}

.service-order-print {
    color: #111827;
    background: #ffffff;
}

.service-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 16px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
}

.service-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #1f2937;
    font-weight: 650;
}

.service-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.quick-customer-box {
    padding: 16px;
    background: #f8fbff;
    border: 1px solid #dbe7f5;
    border-radius: 16px;
}

.quick-customer-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.quick-customer-head i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 12px;
    font-size: 22px;
}

.quick-customer-head strong,
.quick-customer-head span {
    display: block;
}

.quick-customer-head strong {
    color: #111827;
    font-weight: 850;
}

.quick-customer-head span {
    color: var(--muted);
    font-size: 13px;
}

.notifications-list {
    display: grid;
    gap: 12px;
}

.notification-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    color: #111827;
    background: #ffffff;
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 39, 73, .08);
    text-decoration: none;
}

.notification-card.unread {
    border-color: #bde2ff;
    background: #f7fbff;
}

.notification-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 14px;
}

.notification-card-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.notification-card-head strong {
    font-weight: 900;
}

.notification-card-head time,
.notification-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.notification-card p {
    margin: 4px 0;
    color: #4b5563;
}

.service-order-sheet {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 28px;
    color: #111827;
    background: #ffffff;
    border: 2px solid #111827;
    font-size: 13px;
}

.etech-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid #111827;
}

.etech-head img {
    width: 210px;
    height: auto;
}

.etech-title {
    text-align: right;
    text-transform: uppercase;
}

.etech-title h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 900;
}

.service-cancelled-stamp {
    margin: 12px 0;
    border: 2px solid #b91c1c;
    border-radius: 10px;
    padding: 10px;
    color: #b91c1c;
    background: rgba(185, 28, 28, .06);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.etech-lines {
    padding: 18px 0 8px;
}

.etech-lines .line {
    display: grid;
    gap: 18px;
    min-height: 28px;
    align-items: end;
}

.etech-lines .two {
    grid-template-columns: 190px 1fr;
}

.etech-lines .two-wide {
    grid-template-columns: 1fr 190px;
}

.etech-lines .full {
    grid-template-columns: 1fr;
}

.etech-lines span {
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid #111827;
    text-transform: uppercase;
}

.etech-lines strong {
    font-weight: 700;
    text-transform: none;
}

.status-chart {
    display: grid;
    gap: 14px;
}

.status-bar-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-bottom: 12px;
    color: #111827;
    text-decoration: none;
}

.status-bar-row span,
.status-bar-row strong {
    position: relative;
    z-index: 2;
}

.status-bar-row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    border-radius: 999px;
    background: #e9eef7;
}

.status-bar-row i {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.service-materials {
    padding: 16px;
    color: #111827;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 12px;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.inventory-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 39, 73, .08);
}

.inventory-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #eef6ff;
}

.inventory-card-body {
    padding: 16px;
}

.inventory-card h2 {
    margin: 6px 0 0;
    font-size: 17px;
    font-weight: 800;
}

.inventory-category {
    color: var(--blue-2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.inventory-stock {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 10px;
    align-items: end;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 12px;
}

.inventory-stock strong {
    font-size: 26px;
    line-height: 1;
}

.inventory-stock small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.inventory-actions {
    display: grid;
    grid-template-columns: repeat(4, 46px);
    gap: 8px;
    justify-content: end;
    margin-top: 14px;
}

.inventory-actions .btn {
    width: 46px;
    min-width: 46px;
    padding: 0;
    white-space: nowrap;
}

.inventory-history-preview {
    margin-top: 22px;
    padding: 18px;
}

.movement-list,
.movement-timeline {
    display: grid;
    gap: 12px;
}

.movement-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 12px;
}

.movement-row p,
.movement-note {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.movement-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 12px;
}

.movement-qty {
    text-align: right;
}

.movement-qty strong {
    display: block;
    color: #111827;
}

.movement-qty span {
    color: var(--muted);
    font-size: 12px;
}

.movement-form {
    padding: 20px;
}

.quick-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-type {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 132px;
    padding: 16px;
    cursor: pointer;
    background: #f8fbff;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
}

.quick-type input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.quick-type i {
    color: var(--blue);
    font-size: 28px;
}

.quick-type span {
    color: #111827;
    font-weight: 900;
}

.quick-type small {
    color: var(--muted);
    font-weight: 700;
}

.quick-type:has(input:checked) {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(0, 106, 255, .22);
}

.quick-type:has(input:checked) i,
.quick-type:has(input:checked) span,
.quick-type:has(input:checked) small {
    color: #ffffff;
}

.remote-form {
    display: grid;
    gap: 16px;
}

.remote-panel {
    padding: 20px;
    background: var(--panel);
    border: 1px solid rgba(218, 228, 241, .95);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(16, 39, 73, .07);
}

.remote-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.remote-panel-head > span,
.team-request-card > span {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #0878d8;
    background: #edf7ff;
    border-radius: 12px;
    font-size: 20px;
}

.remote-panel-head h2 {
    margin: 0;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
}

.remote-panel-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-weight: 650;
}

.team-request-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid #dfe8f4;
    border-radius: 14px;
    background: #f8fbff;
    cursor: pointer;
}

.team-request-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.team-request-card strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.team-request-card small {
    display: block;
    color: var(--muted);
    font-weight: 650;
}

.team-request-card:has(input:checked) {
    color: #ffffff;
    background: linear-gradient(135deg, #0878d8, #075fa9);
    border-color: transparent;
}

.team-request-card:has(input:checked) span,
.team-request-card:has(input:checked) strong,
.team-request-card:has(input:checked) small {
    color: #ffffff;
}

.team-request-card:has(input:checked) > span {
    background: rgba(255, 255, 255, .18);
}

.team-fields-muted {
    opacity: .45;
    pointer-events: none;
}

.remote-description {
    min-height: 150px;
}

.remote-submit {
    display: flex;
    justify-content: flex-end;
}

.remote-submit .btn {
    min-width: 240px;
}

.movement-amount {
    font-size: 28px;
    font-weight: 900;
}

.movement-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 39, 73, .08);
}

.movement-card img {
    width: 96px;
    aspect-ratio: 1;
    object-fit: cover;
    background: #eef6ff;
    border-radius: 14px;
}

.movement-card h2 {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 850;
}

.movement-card-head,
.movement-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.movement-card-head time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movement-badge {
    color: #ffffff;
}

.movement-ingreso {
    background: #0f9f6e;
}

.movement-salida {
    background: #0d6efd;
}

.movement-ajuste {
    background: #8b5cf6;
}

.movement-cambio {
    background: #64748b;
}

.movement-numbers {
    justify-content: flex-start;
}

.movement-numbers span {
    display: inline-flex;
    gap: 6px;
    padding: 8px 10px;
    color: var(--muted);
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    font-size: 13px;
}

.movement-numbers strong {
    color: #111827;
}

.movement-installation {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    color: var(--blue-2);
    font-weight: 800;
    text-decoration: none;
}

.inventory-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.inventory-panel {
    padding: 18px;
}

.panel-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel-head h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 850;
}

.panel-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.dashboard-list {
    display: grid;
    gap: 12px;
}

.dashboard-list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 14px;
}

.dashboard-list-item img,
.dashboard-list-icon {
    width: 48px;
    height: 48px;
    background: #eef6ff;
    border-radius: 12px;
}

.dashboard-list-item img {
    object-fit: cover;
}

.dashboard-list-icon {
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 22px;
}

.dashboard-list-item strong {
    display: block;
    color: #111827;
    font-weight: 850;
}

.dashboard-list-item p,
.dashboard-list-item small {
    display: block;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.movement-summary,
.category-summary {
    display: grid;
    gap: 10px;
}

.movement-summary-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 11px;
    color: #111827;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    text-decoration: none;
}

.movement-summary-row span:not(.movement-icon) {
    font-weight: 800;
}

.movement-summary-row small {
    color: var(--muted);
    font-weight: 800;
}

.category-summary div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 14px;
}

.category-summary span {
    color: #111827;
    font-weight: 850;
}

.category-summary strong {
    color: var(--blue);
}

.category-summary small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.monitor-board {
    min-height: calc(100vh - 170px);
    padding: clamp(18px, 2.2vw, 34px);
    color: #e5f2ff;
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 179, 255, .28), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #10253b 48%, #07111f 100%);
    border: 1px solid rgba(148, 197, 255, .22);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(7, 17, 31, .28);
}

.monitor-hero,
.monitor-panel-head,
.monitor-tech-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.monitor-hero {
    align-items: center;
    margin-bottom: 22px;
}

.monitor-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #72d4ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.monitor-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 62px);
    font-weight: 950;
    line-height: 1;
}

.monitor-hero p {
    margin: 10px 0 0;
    color: #b7cbe1;
    font-size: clamp(15px, 1.4vw, 20px);
}

.monitor-clock {
    min-width: 180px;
    padding: 18px 22px;
    text-align: right;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
}

.monitor-hero-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.monitor-fullscreen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 0 18px;
    color: #08111e;
    background: #65d4ff;
    border: 0;
    border-radius: 20px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(0, 179, 255, .2);
}

.monitor-fullscreen.active {
    background: #ffffff;
}

.monitor-fullscreen i {
    font-size: 20px;
}

.monitor-clock strong,
.monitor-clock span {
    display: block;
}

.monitor-clock strong {
    color: #ffffff;
    font-size: clamp(34px, 3.6vw, 56px);
    line-height: 1;
}

.monitor-clock span {
    margin-top: 8px;
    color: #9fb8d1;
    font-weight: 800;
}

.monitor-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.monitor-metrics a,
.monitor-panel,
.monitor-tech-card,
.monitor-current,
.monitor-order-list a,
.monitor-reminder-grid a {
    color: #e5f2ff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.monitor-metrics a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
}

.monitor-metrics i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #08111e;
    background: #65d4ff;
    border-radius: 14px;
    font-size: 21px;
}

.monitor-metrics strong {
    color: #ffffff;
    font-size: clamp(26px, 2.2vw, 40px);
    line-height: 1;
}

.monitor-metrics span {
    color: #b7cbe1;
    font-weight: 800;
}

.monitor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 18px;
}

.monitor-panel {
    min-width: 0;
    padding: 18px;
    border-radius: 22px;
}

.monitor-it-panel {
    grid-row: span 2;
}

.monitor-panel-head {
    align-items: center;
    margin-bottom: 16px;
}

.monitor-panel-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 950;
}

.monitor-panel-head a,
.monitor-panel-head span {
    color: #72d4ff;
    font-weight: 900;
    text-decoration: none;
}

.monitor-tech-grid,
.monitor-order-list,
.monitor-timeline {
    display: grid;
    gap: 12px;
}

.monitor-tech-card {
    padding: 15px;
    border-radius: 18px;
}

.monitor-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    color: #08111e;
    background: #65d4ff;
    border-radius: 18px;
    font-size: 26px;
    font-weight: 950;
}

.monitor-tech-head h3,
.monitor-timeline h3 {
    margin: 0;
    color: #ffffff;
    font-weight: 900;
}

.monitor-tech-head small,
.monitor-current small,
.monitor-order-list small,
.monitor-timeline p {
    color: #b7cbe1;
}

.monitor-current {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding: 13px;
    border-radius: 16px;
}

.monitor-current.empty {
    border-style: dashed;
}

.monitor-current strong,
.monitor-order-list strong {
    color: #ffffff;
    font-size: 16px;
}

.monitor-timeline article {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
}

.monitor-timeline time {
    display: grid;
    place-items: center;
    min-height: 66px;
    color: #08111e;
    background: #9ce8ff;
    border-radius: 14px;
    text-align: center;
}

.monitor-timeline time strong,
.monitor-timeline time span {
    display: block;
}

.monitor-timeline time strong {
    font-size: 21px;
    line-height: 1;
}

.monitor-timeline time span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.monitor-order-list a {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
}

.monitor-priority {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.monitor-reminders {
    grid-column: 2;
}

.monitor-reminder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.monitor-reminder-grid a {
    display: grid;
    gap: 6px;
    min-height: 120px;
    padding: 14px;
    border-radius: 16px;
}

.monitor-reminder-grid i {
    color: #72d4ff;
    font-size: 24px;
}

.monitor-reminder-grid strong {
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

.monitor-reminder-grid span {
    color: #b7cbe1;
    font-size: 13px;
    font-weight: 800;
}

.monitor-empty {
    padding: 18px;
    color: #b7cbe1;
    text-align: center;
    background: rgba(255, 255, 255, .06);
    border: 1px dashed rgba(255, 255, 255, .18);
    border-radius: 16px;
}

.inventory-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.inventory-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.installation-agenda {
    display: grid;
    gap: 16px;
}

.agenda-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 39, 73, .08);
}

.agenda-date {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 92px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border-radius: 16px;
    text-align: center;
}

.agenda-date strong {
    font-size: 34px;
    line-height: 1;
}

.agenda-date span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.agenda-body h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 850;
}

.agenda-body p {
    margin: 4px 0 0;
    color: var(--muted);
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.agenda-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #303747;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.completed-installations {
    display: grid;
    gap: 18px;
}

.completed-card {
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(236, 241, 248, .95);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(16, 39, 73, .08);
}

.completed-card h2 {
    margin: 4px 0;
    font-size: 20px;
    font-weight: 850;
}

.completed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.completed-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #303747;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.material-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.material-review-grid section {
    padding: 14px;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 12px;
}

.material-review-grid h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.material-leftover {
    background: rgba(40, 185, 154, .08) !important;
    border-color: rgba(40, 185, 154, .18) !important;
}

.material-missing {
    background: rgba(255, 193, 7, .12) !important;
    border-color: rgba(255, 193, 7, .28) !important;
}

.etech-section,
.etech-notes {
    margin-top: 18px;
}

.etech-section h3,
.etech-notes h3,
.etech-auth h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.etech-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 32px;
    padding: 14px 20px;
    border: 1px solid #111827;
}

.etech-service-grid div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    text-transform: uppercase;
}

.box {
    display: inline-grid;
    place-items: center;
    width: 13px;
    height: 13px;
    border: 1.5px solid #111827;
}

.box.checked::after {
    content: "";
    width: 7px;
    height: 7px;
    background: #111827;
}

.note-box {
    min-height: 130px;
    padding: 12px 14px;
    border: 1px solid #111827;
}

.note-box p {
    margin: 0 0 8px;
}

.etech-bottom {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 20px;
    margin-top: 18px;
}

.etech-auth {
    min-height: 140px;
}

.auth-name {
    min-height: 28px;
    padding: 4px 0;
    border-bottom: 1px solid #111827;
}

.etech-auth p {
    margin: 8px 0;
    font-size: 11px;
    text-transform: uppercase;
}

.signature-area {
    min-height: 70px;
    border-bottom: 1px solid #111827;
}

.signature-area img {
    max-width: 250px;
    max-height: 70px;
}

.signature-area small {
    display: block;
    color: #6b7280;
}

.etech-costs {
    border: 1px solid #111827;
}

.etech-costs div {
    display: grid;
    grid-template-columns: 1fr 90px;
    min-height: 28px;
    border-bottom: 1px solid #111827;
}

.etech-costs div:last-child {
    border-bottom: 0;
}

.etech-costs span,
.etech-costs strong {
    padding: 6px 8px;
    text-transform: uppercase;
}

.etech-costs strong {
    border-left: 1px solid #111827;
    text-align: right;
}

.etech-costs .total {
    font-weight: 900;
    background: #f0f5fb;
}

.etech-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 12px;
    color: #4b5563;
    border-top: 2px solid #111827;
    text-align: center;
    text-transform: uppercase;
}

.etech-footer small {
    flex-basis: 100%;
}

.service-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-order-head img {
    width: 190px;
    max-width: 45%;
    height: auto;
}

.service-order-head h2 {
    margin: 0;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}

.signature-box {
    min-height: 170px;
    padding: 18px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
}

.signature-box img {
    display: block;
    max-width: 360px;
    max-height: 120px;
    margin-top: 12px;
}

.signature-line {
    height: 90px;
    border-bottom: 2px solid #111827;
    margin: 16px 0 8px;
}

@media print {
    .admin-sidebar,
    .admin-topbar,
    .page-head,
    .btn,
    form {
        display: none !important;
    }

    .admin-shell {
        display: block;
    }

    .admin-content,
    .card-body {
        padding: 0;
    }

    .card {
        box-shadow: none;
        border: 0;
    }
}

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

@media (max-width: 760px) {
    .admin-shell-body {
        background: #eef6ff;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .admin-sidebar {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
        height: 78px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-top: 1px solid var(--line);
        border-bottom: 0;
        box-shadow: 0 -12px 34px rgba(16, 39, 73, .12);
        -webkit-overflow-scrolling: touch;
    }

    .brand-lockup,
    .sidebar-label,
    .sidebar-nav a.active::before,
    .nav-count {
        display: none;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        gap: 8px;
        min-width: max-content;
    }

    .sidebar-nav a {
        flex: 0 0 86px;
        display: grid;
        place-items: center;
        gap: 3px;
        min-height: 60px;
        padding: 6px 8px;
        border-radius: 14px;
        font-size: 11px;
        text-align: center;
    }

    .sidebar-nav a i {
        width: auto;
        font-size: 20px;
    }

    .admin-workspace {
        min-height: 100vh;
        padding-bottom: 86px;
    }

    .table-responsive {
        overflow: visible;
    }

    .table {
        display: block;
    }

    .table thead {
        display: none;
    }

    .table tbody {
        display: grid;
        gap: 12px;
    }

    .table tbody tr {
        display: grid;
        gap: 10px;
        padding: 14px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 10px 22px rgba(16, 39, 73, .06);
    }

    .table tbody td {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 0;
        border: 0;
        font-size: 14px;
    }

    .table tbody td::before {
        content: attr(data-label);
        color: #7c8498;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .table tbody td.table-action {
        display: block;
        padding-top: 4px;
    }

    .table tbody td.table-action::before {
        display: none;
    }

    .table tbody td.table-action .btn {
        width: 100%;
    }

    .table tbody td[colspan] {
        display: block;
        text-align: center;
    }

    .table tbody td[colspan]::before {
        display: none;
    }
}

@media (max-width: 980px) {
    .login-card {
        grid-template-columns: 1fr;
        width: min(520px, 100%);
        min-height: auto;
    }

    .login-art {
        display: none;
    }

    .login-brand {
        margin-bottom: 42px;
    }
}

@media (max-width: 680px) {
    .admin-topbar,
    .admin-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .admin-topbar {
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .top-search {
        max-width: none;
        height: 46px;
        border-radius: 14px;
        box-shadow: none;
    }

    .top-actions {
        margin-left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .notification-menu {
        min-width: 0;
    }

    .top-actions .icon-action,
    .top-actions .avatar-action {
        width: 100%;
        min-height: 46px;
    }

    .notification-popover {
        position: fixed;
        top: 112px;
        left: 14px;
        right: 14px;
        width: auto;
        max-height: 60vh;
        overflow-y: auto;
    }

    .profile-popover {
        position: fixed;
        top: 112px;
        left: 14px;
        right: 14px;
        width: auto;
    }

    .admin-content {
        padding-top: 18px;
        padding-bottom: 102px;
    }

    .page-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
    }

    .admin-content > .d-flex.justify-content-between,
    .admin-content > .d-flex.justify-content-between.align-items-start,
    .admin-content > .d-flex.justify-content-between.align-items-center {
        align-items: stretch !important;
        flex-direction: column;
        gap: 12px;
    }

    .page-head > .btn,
    .page-head > .d-flex,
    .page-head > .d-flex .btn,
    .admin-content > .d-flex.justify-content-between .btn {
        width: 100%;
    }

    .page-title,
    h1.h3 {
        font-size: 23px;
        line-height: 1.16;
    }

    .page-kicker,
    .text-muted {
        font-size: 14px;
    }

    .card,
    .surface-card {
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(16, 39, 73, .07);
    }

    .card-body {
        padding: 16px;
    }

    .filter-card {
        padding: 14px;
        margin-bottom: 16px;
    }

    .btn {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .btn-sm {
        min-height: 42px;
    }

    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 124px;
    }

    .row.g-4,
    .row.g-3 {
        --bs-gutter-y: .85rem;
    }

    .metric-card {
        min-height: 132px;
    }

    .metric-card .metric-value {
        margin-top: 16px;
        font-size: 30px;
    }

    .metric-card .metric-sparkline {
        height: 28px;
        margin-top: 12px;
    }

    .highlight-card .card-body {
        min-height: 132px;
    }

    .trophy-mark {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 30px;
    }

    .customer-avatar {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .service-check-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .service-order-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-order-head img {
        max-width: 220px;
        width: 68%;
    }

    .service-order-head h2 {
        text-align: left;
        font-size: 20px;
    }

    .signature-pad {
        height: 170px;
    }

    .monitor-board {
        padding: 14px;
        border-radius: 18px;
    }

    .monitor-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .monitor-clock {
        min-width: 0;
        text-align: left;
    }

    .monitor-hero-actions {
        flex-direction: column;
    }

    .monitor-fullscreen {
        min-height: 52px;
        width: 100%;
    }

    .monitor-metrics {
        grid-template-columns: 1fr;
    }

    .monitor-grid,
    .monitor-reminders {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .monitor-panel {
        padding: 14px;
        border-radius: 18px;
    }

    .monitor-tech-head,
    .monitor-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .monitor-order-list a {
        grid-template-columns: 1fr;
    }

    .monitor-timeline article {
        grid-template-columns: 1fr;
    }

    .monitor-timeline time {
        grid-template-columns: auto auto;
        justify-content: start;
        gap: 8px;
        min-height: 52px;
        padding: 0 14px;
    }

    .monitor-reminder-grid {
        grid-template-columns: 1fr;
    }

    .notification-card {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 14px;
    }

    .profile-settings {
        max-width: none;
        padding: 16px;
    }

    .profile-preview {
        align-items: flex-start;
    }

    .notification-card-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .notification-card-head {
        flex-direction: column;
        gap: 4px;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inventory-card {
        border-radius: 14px;
    }

    .inventory-card-body {
        padding: 14px;
    }

    .page-actions {
        width: 100%;
        justify-content: stretch;
    }

    .page-actions .btn {
        flex: 1 1 100%;
    }

    .inventory-actions {
        grid-template-columns: repeat(4, 46px);
        justify-content: end;
    }

    .inventory-actions .btn:nth-last-child(-n + 2) {
        min-width: 46px;
    }

    .quick-type-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quick-type {
        min-height: 94px;
    }

    .movement-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .movement-qty {
        grid-column: 2;
        text-align: left;
    }

    .movement-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .movement-card img {
        width: 72px;
    }

    .movement-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .movement-numbers span {
        width: 100%;
        justify-content: space-between;
        border-radius: 12px;
    }

    .inventory-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inventory-panel {
        padding: 14px;
    }

    .panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .panel-head .btn {
        width: 100%;
    }

    .dashboard-list-item {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 10px;
    }

    .dashboard-list-item img,
    .dashboard-list-icon {
        width: 44px;
        height: 44px;
    }

    .movement-summary-row {
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }

    .movement-summary-row small {
        grid-column: 2 / -1;
    }

    .agenda-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .agenda-date {
        grid-template-columns: auto auto;
        justify-content: start;
        gap: 8px;
        min-height: 56px;
        padding: 0 16px;
    }

    .agenda-date strong {
        font-size: 28px;
    }

    .agenda-body h2 {
        font-size: 17px;
    }

    .completed-head {
        align-items: stretch !important;
        flex-direction: column;
    }

    .completed-head .btn {
        width: 100%;
    }

    .material-review-grid {
        grid-template-columns: 1fr;
    }

    .login-stage {
        padding: 18px;
    }

    .login-card {
        width: 100%;
        min-height: auto;
        border-radius: 24px;
        box-shadow: none;
    }

    .login-panel {
        width: min(100% - 32px, 430px);
        padding: 34px 0;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 34px;
    }

    .login-logo {
        width: 140px;
    }

    .project-editor-top,
    .report-head {
        align-items: stretch;
        flex-direction: column;
    }

    .project-setup {
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
    }

    .project-workbench {
        grid-template-columns: 1fr;
    }

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

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

    .component-list button,
    .planner-tools button {
        min-width: 0;
        padding: 8px 10px;
    }

    .component-list button span,
    .planner-tools button span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .plan-stage {
        min-height: 520px;
    }

    .plan-stage canvas {
        min-height: 520px;
    }
}

.project-shell-expanded {
    display: block !important;
    width: 100vw !important;
    min-height: 100vh !important;
    overflow: hidden;
}

.project-shell-expanded .admin-workspace,
.project-shell-expanded .admin-content {
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
}

.project-shell-expanded .admin-content {
    height: 100vh;
    overflow: hidden;
    padding: 8px !important;
}

.project-shell-expanded .project-planner {
    height: calc(100vh - 16px);
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 8px;
}

.project-shell-expanded .project-editor-top {
    min-height: 76px;
    border-radius: 14px;
    padding: 10px 14px;
}

.project-shell-expanded .project-editor-top h1 {
    margin: 2px 0 3px;
    font-size: 22px;
    line-height: 1.12;
}

.project-shell-expanded .project-editor-top p {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.35;
}

.project-shell-expanded .project-setup {
    justify-content: flex-end;
    min-width: 0;
}

.project-shell-expanded .project-setup label:not(.upload-plan) {
    width: 220px;
    flex: 0 0 220px;
}

.project-shell-expanded .project-tabs button {
    min-height: 38px;
}

.project-shell-expanded .project-workbench {
    min-height: 0;
    height: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    border-radius: 14px;
    padding: 10px;
    overflow: hidden;
}

.project-shell-expanded .project-palette,
.project-shell-expanded .project-properties {
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
}

.project-shell-expanded .component-list button,
.project-shell-expanded .planner-tools button {
    min-height: 40px;
    border-radius: 11px;
}

.project-shell-expanded .plan-stage {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.project-shell-expanded .plan-stage canvas {
    min-width: 0;
    min-height: 0;
    height: 100%;
}

@media (max-width: 1200px) {
    .project-shell-expanded {
        overflow: auto;
    }

    .project-shell-expanded .admin-content {
        height: auto;
        overflow: visible;
    }

    .project-shell-expanded .project-planner {
        height: auto;
    }

    .project-shell-expanded .project-workbench {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        overflow: visible;
    }

    .project-shell-expanded .project-properties {
        grid-template-columns: 1fr;
    }

    .project-palette.project-floating-panel,
    .project-properties.project-floating-panel {
        left: 12px;
        right: 12px;
        width: auto;
        max-height: min(72vh, 680px);
    }

    .project-floating-actions {
        top: 12px;
        left: 12px;
        right: 12px;
    }

    .project-floating-actions button[data-quick-tool] span {
        display: none;
    }

    .project-shell-expanded .plan-stage,
    .project-shell-expanded .plan-stage canvas {
        min-height: 620px;
    }
}
