:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172238;
  background: #f5f7fa;
  font-size: 14px;
  --accent: #2e67db;
  --accent-light: #eaf0ff;
  --sidebar: #14233e;
  --border: #e5e9f0;
  --muted: #7a8597;
  --surface: #fff;
  --background: #f5f7fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7da9f7;
  outline-offset: 3px;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.25;
}
h2 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}
.sidebar {
  background: var(--sidebar);
  color: #a9b5c8;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  padding: 0 10px 32px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 11px;
  width: 37px;
  height: 37px;
  color: #fff;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  padding: 17px 14px 10px;
  color: #748299;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 13px;
}
.nav button:hover {
  background: #ffffff0b;
  color: #fff;
}
.nav button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px #0001;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.suite-link {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 12px;
  border-top: 1px solid #ffffff12;
}
.sidebar .demo-note {
  font-size: 11px;
  line-height: 1.7;
  margin: 14px 12px;
  color: #8e9db4;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 78px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  gap: 18px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs strong {
  color: #39455b;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8792a5;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 180px;
  font-size: 12px;
  color: inherit;
}
.icon-button {
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 7px;
}
.icon-button:hover {
  background: var(--accent-light);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 750;
}
.role-picker {
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #59677b;
  max-width: 110px;
}
.demo-bar {
  background: var(--accent-light);
  color: var(--accent);
  padding: 9px 38px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.demo-bar button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 11px;
  text-decoration: underline;
}
.content {
  padding: 33px 38px 44px;
  max-width: 1700px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.6;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.button {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  min-height: 37px;
}
.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 3px 5px #00000008;
}
.secondary {
  background: var(--surface);
  color: #536078;
}
.danger {
  color: #b14040;
  background: #fff4f3;
  border-color: #f1ccca;
}
.small-button {
  border: 0;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 11px;
}
.link-button {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 12px;
  padding: 4px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 20px 20px 17px;
  min-width: 0;
}
.stat-label {
  font-size: 11px;
  color: #738095;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stat-label span {
  color: var(--accent);
  background: var(--accent-light);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
.stat strong {
  font-size: 27px;
  letter-spacing: -0.8px;
  display: block;
  margin: 10px 0;
}
.stat small {
  font-size: 10px;
  display: block;
  line-height: 1.5;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 22px;
  overflow: hidden;
  min-width: 0;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.panel-title h2 {
  font-size: 14px;
}
.panel-pad {
  padding: 22px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.dashboard-grid > .panel {
  height: 100%;
}
.bar-chart {
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 30px 24px 20px;
  height: 230px;
}
.bar-col {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  justify-content: end;
}
.bar-col > span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.bar-track {
  height: 140px;
  width: 100%;
  max-width: 50px;
  display: flex;
  align-items: end;
  background: var(--accent-light);
  border-radius: 5px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  width: 100%;
  background: var(--accent);
  border-radius: 4px;
}
.bar-col small {
  font-size: 10px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
}
.activity-row:last-child {
  border: 0;
}
.activity-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.activity-row > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.activity-row strong {
  font-size: 12px;
  display: block;
  white-space: normal;
}
.activity-row small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}
.activity-right {
  font-size: 12px;
  font-weight: 600;
}
.table-tools {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.pill {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
}
.pill.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 650;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #8b96a7;
  background: #fafbfd;
  padding: 13px 22px;
  border-block: 1px solid var(--border);
}
th button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  text-transform: inherit;
  font: inherit;
  cursor: pointer;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: #5b687c;
}
td:first-child {
  font-weight: 600;
  color: #27344b;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
tbody tr:hover {
  background: #f9fbfe;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  font-size: 10px;
  color: var(--muted);
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf2fc;
  color: #5274ab;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 6px;
}
.badge.good {
  background: #e9f6ee;
  color: #328458;
}
.badge.warn {
  background: #fff1e4;
  color: #b97938;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.empty h3 {
  color: #526078;
}
.empty p {
  font-size: 12px;
}
.hero {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 22px 25px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-left: 3px solid var(--accent);
}
.hero p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 7px;
}
.hero h3 {
  font-size: 16px;
}
.hero-mark {
  font-size: 47px;
  color: var(--accent);
  font-weight: 750;
  opacity: 0.15;
}
.progress {
  background: var(--accent-light);
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 8px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr));
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 18px;
}
.kanban-column {
  background: #edf0f5;
  border-radius: 9px;
  padding: 12px;
  min-height: 380px;
}
.kanban-column.dragover {
  outline: 2px dashed var(--accent);
}
.kanban-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  padding: 6px 2px 14px;
  color: #657189;
}
.deal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: grab;
  box-shadow: 0 2px 3px #00000002;
}
.deal h3 {
  font-size: 12px;
  line-height: 1.5;
}
.deal p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.deal strong {
  font-size: 16px;
  display: block;
  margin: 17px 0;
}
.deal select {
  width: 100%;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  font-size: 10px;
  color: #67748b;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #101b33a6;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--surface);
  border-radius: 12px;
  width: min(700px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  box-shadow: 0 25px 100px #0004;
}
.modal.large {
  width: min(1240px, 100%);
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 3;
}
.modal-header h2 {
  font-size: 18px;
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  display: flex;
  justify-content: end;
  gap: 10px;
  padding: 17px 24px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--surface);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
}
.field > span {
  font-weight: 550;
  color: #647189;
}
.field b {
  font-weight: 500;
  color: var(--accent);
}
.field input,
.field select,
.field textarea,
.line-row input,
.line-row select {
  width: 100%;
  border: 1px solid #dce2eb;
  background: var(--surface);
  color: inherit;
  border-radius: 6px;
  padding: 11px 12px;
  min-width: 0;
}
.field input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.field textarea {
  resize: vertical;
}
.wide {
  grid-column: 1/-1;
}
.form-error {
  color: #b54040;
  background: #fff2f2;
  border-radius: 6px;
  font-size: 12px;
  padding: 12px;
  margin-bottom: 15px;
  display: none;
}
.form-error.visible {
  display: block;
}
.editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pdf-preview {
  width: 100%;
  height: 650px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f0f2f7;
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.line-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  background: var(--background);
}
.line-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.line-row label {
  font-size: 10px;
  color: var(--muted);
  display: grid;
  gap: 5px;
}
.line-row input,
.line-row select {
  padding: 8px;
}
.quote-totals {
  background: var(--accent-light);
  padding: 18px;
  border-radius: 8px;
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.quote-totals div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.quote-totals .total {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 10px;
  border-top: 1px solid #0001;
}
.step-card {
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.step-card h3 {
  margin-bottom: 8px;
}
.step-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}
.step-card .form-grid {
  margin-top: 15px;
}
.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-top: 12px;
  color: #a16b31;
}
.check-row input {
  width: 17px;
  height: 17px;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.asset-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  overflow: hidden;
}
.asset-visual {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  position: relative;
}
.asset-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-visual .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface);
}
.asset-body {
  padding: 18px;
}
.asset-body h3 {
  font-size: 14px;
  margin: 7px 0;
}
.asset-body p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.asset-body .actions {
  margin-top: 16px;
}
.qr-label {
  text-align: center;
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 8px;
  max-width: 320px;
  margin: auto;
}
.qr-label img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-item {
  padding: 12px;
  background: var(--background);
  border-radius: 6px;
}
.detail-item strong {
  display: block;
  font-size: 13px;
  margin-top: 5px;
}
.tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 14px 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.tabs button.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
#toasts {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: calc(100vw - 44px);
}
.toast {
  padding: 15px 20px;
  background: #172b45;
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 10px 40px #0003;
  font-size: 12px;
  line-height: 1.6;
}
.toast.error {
  background: #9f3838;
}
.suite {
  max-width: 1100px;
  margin: auto;
  padding: 65px 28px;
}
.suite-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 55px;
}
.suite h1 {
  font-size: 48px;
  max-width: 700px;
  letter-spacing: -2px;
}
.suite > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
  margin: 20px 0 35px;
}
.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.suite-card {
  background: white;
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 17px;
}
.suite-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.suite-card .button {
  margin-top: auto;
}
.suite-card small {
  font-size: 10px;
  letter-spacing: 1px;
}
.loading {
  margin: 60px;
  color: #7b889c;
}
.mobile-menu {
  display: none;
}
.skeleton {
  height: 160px;
  border-radius: 9px;
  background: linear-gradient(90deg, #edf0f4, #fff, #edf0f4);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.dark {
  --surface: #1b2638;
  --background: #142033;
  --border: #2c394e;
  --muted: #94a1b5;
  color: #dfe8f6;
  background: var(--background);
}
.dark th,
.dark tbody tr:hover,
.dark .kanban-column {
  background: #162235;
}
.dark td,
.dark td:first-child,
.dark .field > span,
.dark .breadcrumbs strong {
  color: #c2cce0;
}
.dark .suite-card {
  background: var(--surface);
}
.dark .stat-label {
  color: var(--muted);
}
.dark .secondary {
  color: #c2cce0;
}
.dark .badge {
  background: #2a3c58;
}
.dark .badge.good {
  background: #214437;
}
.dark .badge.warn {
  background: #493c2b;
}
.dark .quote-totals {
  color: #182333;
}
.dark .hero {
  background: var(--surface);
}
.video {
  width: 100%;
  max-height: 350px;
  border-radius: 8px;
  background: #13243d;
}
.notice {
  padding: 13px 16px;
  border-radius: 7px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.photo-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}
.inline-select {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px;
  background: var(--surface);
  color: inherit;
  font-size: 11px;
}
.section-gap {
  margin-top: 22px;
}
.report-photo {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  margin-top: 10px;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 45px;
  }
  .stat {
    padding: 25px;
  }
  .stats {
    gap: 22px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    width: 200px;
    padding-inline: 12px;
  }
  .brand {
    font-size: 19px;
  }
  .topbar {
    padding: 0 24px;
  }
  .content {
    padding: 28px 24px;
  }
  .demo-bar {
    padding-inline: 24px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 22px;
  }
  .search input {
    width: 120px;
  }
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 850px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .pdf-preview {
    height: 550px;
  }
  .top-actions {
    gap: 8px;
  }
  .search {
    display: none;
  }
  .suite-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 236px;
    box-shadow: 0 0 70px #0003;
  }
  .shell.menu-open .sidebar {
    transform: translateX(0);
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 64px;
    padding: 0 15px;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 6px;
  }
  .top-actions {
    gap: 2px;
  }
  .top-actions > .avatar {
    display: none;
  }
  .role-picker {
    font-size: 10px;
    width: 89px;
  }
  .content {
    padding: 25px 16px;
  }
  .demo-bar {
    padding: 9px 16px;
    font-size: 10px;
    line-height: 1.5;
  }
  .demo-bar button {
    font-size: 10px;
    white-space: nowrap;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 22px;
  }
  .page-heading .actions {
    width: 100%;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-label span {
    width: 23px;
    height: 23px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat small {
    font-size: 9px;
  }
  .hero {
    padding: 18px;
    gap: 15px;
    align-items: start;
  }
  .hero-mark {
    display: none;
  }
  .hero h3 {
    font-size: 14px;
  }
  .hero .button {
    font-size: 10px;
    white-space: nowrap;
    padding: 9px;
  }
  .hero p {
    font-size: 11px;
  }
  .panel-title {
    padding: 17px 16px;
  }
  .table-tools {
    padding: 12px 16px;
  }
  .panel-title h2 {
    font-size: 13px;
  }
  .bar-chart {
    padding-inline: 16px;
    gap: 12px;
  }
  .table-footer {
    padding-inline: 14px;
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .modal-overlay {
    padding: 8px;
  }
  .modal {
    max-height: calc(100dvh - 16px);
    border-radius: 9px;
  }
  .modal-header {
    padding: 17px;
  }
  .modal-body {
    padding: 17px;
  }
  .modal-footer {
    padding: 14px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .line-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .suite {
    padding: 35px 20px;
  }
  .suite h1 {
    font-size: 36px;
  }
  .suite-grid {
    grid-template-columns: 1fr;
  }
  .suite-brand {
    margin-bottom: 35px;
  }
  .kanban {
    grid-template-columns: repeat(6, 240px);
  }
  .stat strong {
    overflow-wrap: anywhere;
  }
  .activity-row {
    padding: 16px;
  }
  .asset-visual {
    height: 140px;
  }
  .tabs {
    gap: 14px;
  }
  .button {
    min-height: 40px;
  }
  .icon-button {
    min-width: 36px;
    min-height: 38px;
  }
  .panel-pad {
    padding: 17px;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  .qr-label,
  .qr-label * {
    visibility: visible;
  }
  .qr-label {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    border: 1px solid #aaa;
  }
  .modal-overlay,
  .modal {
    position: static;
    overflow: visible;
    max-height: none;
    background: white;
    box-shadow: none;
  }
  .qr-label img {
    display: block;
    margin: auto;
  }
}

.mobile-search {
  display: none;
}
@media (max-width: 640px) {
  .mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 17px;
    color: var(--muted);
  }
  .mobile-search input {
    border: 0;
    background: transparent;
    color: inherit;
    width: 100%;
    font-size: 14px;
    padding: 5px;
    outline: none;
  }
}

.bar-col > small,
.bar-col > span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.attachment-grid > div {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 7px;
  border-radius: 6px;
}
.icon-button[data-action="notifications"] {
  position: relative;
}
.notification-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  padding: 0 3px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.notification-count[hidden] {
  display: none;
}
.read-alert {
  opacity: 0.65;
}
button:disabled {
  cursor: not-allowed;
}
.file-picker {
  position: relative;
  display: inline-flex;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
}
.file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-picker:focus-within {
  outline: 3px solid #7da9f7;
  outline-offset: 3px;
}
.qr-label img.company-logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.read-alert{opacity:1;background:#fafbfc}.read-alert .activity-dot{background:#aab3c0}.dark .read-alert{background:#182438}@media(max-width:640px){.small-button{min-height:36px;display:inline-flex;align-items:center;padding:7px 10px}}
[data-attachment-area]>small{display:block;margin-top:6px}

@media(max-width:360px){.topbar{gap:6px;padding:0 12px}.breadcrumbs{gap:4px;min-width:0}.breadcrumbs>span{display:none}.breadcrumbs strong{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
