:root {
  --ink: #10262e;
  --muted: #6f7e82;
  --line: #e4e9e8;
  --canvas: #f5f7f6;
  --panel: #ffffff;
  --nav: #0a2932;
  --nav-soft: #123843;
  --green: #20a985;
  --green-dark: #137d65;
  --green-soft: #e5f6f0;
  --amber: #e5a438;
  --amber-soft: #fff4db;
  --rose: #d76767;
  --rose-soft: #fbeaea;
  --blue: #4c90c9;
  --blue-soft: #eaf3fb;
  --violet: #806fd0;
  --violet-soft: #f0edfb;
  --shadow: 0 12px 35px rgba(23, 51, 57, .07);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { width: 268px; position: fixed; top: 0; bottom: 0; right: 0; z-index: 20; display: flex; flex-direction: column; padding: 26px 18px 18px; color: white; background: linear-gradient(180deg, #092832 0%, #071f27 100%); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 30px; }
.brand strong { display: block; letter-spacing: 1.8px; font-size: 18px; }
.brand small { color: #9fb5b9; font-size: 12px; }
.brand-mark { width: 39px; height: 39px; position: relative; border-radius: 12px; background: var(--green); transform: rotate(8deg); box-shadow: 0 8px 20px rgba(32, 169, 133, .3); }
.brand-mark span { position: absolute; width: 21px; height: 7px; top: 16px; left: 9px; border-radius: 9px; background: white; }
.brand-mark span:last-child { transform: rotate(90deg); }
.main-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item { width: 100%; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; color: #adc0c4; background: transparent; text-align: right; transition: .2s ease; }
.nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-item.active { color: white; background: var(--nav-soft); box-shadow: inset -3px 0 var(--green); }
.nav-icon { width: 24px; color: #b8cdcf; font-size: 21px; text-align: center; }
.nav-item.active .nav-icon { color: #65d4b9; }
.nav-count { margin-right: auto; min-width: 26px; padding: 2px 7px; border-radius: 20px; color: #8fe1cb; background: rgba(32,169,133,.2); font-size: 11px; text-align: center; }
.status-dot { width: 7px; height: 7px; margin-right: auto; border-radius: 50%; background: #49cba9; box-shadow: 0 0 0 4px rgba(73,203,169,.12); }
.sidebar-foot { margin-top: auto; }
.sync-card { padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.04); }
.sync-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #49cba9; box-shadow: 0 0 0 4px rgba(73,203,169,.12); }
.sync-card p { margin: 5px 16px 10px 0; color: #8fa7ac; font-size: 11px; }
.sync-card button { width: 100%; padding: 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #b9d0d3; background: transparent; font-size: 11px; }
.profile-mini { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 5px 0; border-top: 1px solid rgba(255,255,255,.08); }
.profile-mini strong, .profile-mini small { display: block; }
.profile-mini strong { font-size: 12px; }.profile-mini small { color: #8fa7ac; font-size: 10px; }
.profile-mini button { margin-right: auto; border: 0; color: #9db1b5; background: none; }
.avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #bfece0; background: #175049; font-weight: 700; }
.avatar.mint { color: #167d66; background: #dff6ef; }.avatar.sky { color: #397ba8; background: #e3f2fa; }.avatar.sand { color: #a66c16; background: #fff0d5; }.avatar.rose { color: #b24f5c; background: #f9e4e7; }

.main-content { min-height: 100vh; margin-right: 268px; }
.topbar { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.topbar-start { display: flex; align-items: center; gap: 12px; }.eyebrow { margin: 0 0 2px; color: var(--muted); font-size: 12px; }.topbar h1 { margin: 0; font-size: 22px; }.top-actions { display: flex; align-items: center; gap: 10px; }
.search-box { width: min(350px, 28vw); display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; color: #94a0a2; background: #f8faf9; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }.search-box kbd { padding: 1px 5px; border: 1px solid #dce3e1; border-radius: 5px; background: white; font-size: 10px; direction: ltr; }
.icon-button { width: 40px; height: 40px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; }.notification i { width: 7px; height: 7px; position: absolute; top: 7px; left: 8px; border: 2px solid white; border-radius: 50%; background: #ec675e; }
.primary-button, .secondary-button { min-height: 40px; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 12px; transition: .2s ease; }
.primary-button { border: 1px solid var(--green); color: white; background: var(--green); box-shadow: 0 8px 18px rgba(32,169,133,.17); }.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: white; }.secondary-button:hover { border-color: #cbd7d4; background: #fafcfb; }
.mobile-only { display: none; }
.view { display: none; padding: 30px 34px 48px; animation: fadeIn .28s ease; }.view.active { display: block; }@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hero-strip { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; padding: 30px 36px; border-radius: 22px; color: white; background: linear-gradient(125deg, #0c3340, #0e4550 65%, #166556); box-shadow: var(--shadow); }
.hero-strip::before { content: ""; width: 360px; height: 360px; position: absolute; left: -80px; top: -130px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.hero-strip > div { position: relative; z-index: 1; }.section-kicker { display: inline-block; margin-bottom: 8px; color: #8de0ca; font-size: 12px; font-weight: 600; }.hero-strip h2 { margin: 0 0 8px; font-size: 27px; font-weight: 500; }.hero-strip h2 strong { color: #80dfc5; }.hero-strip p { margin: 0; color: #bdd0d2; font-size: 13px; }
.hero-progress { width: 132px; height: 132px; position: relative; display: grid; place-items: center; margin-left: 25px; }.hero-progress svg { width: 132px; transform: rotate(-90deg); }.hero-progress circle { fill: none; stroke-width: 8; }.ring-track { stroke: rgba(255,255,255,.12); }.ring-value { stroke: #4bd0ac; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 69; }.hero-progress > div { position: absolute; text-align: center; }.hero-progress strong, .hero-progress small { display: block; }.hero-progress strong { font-size: 26px; }.hero-progress small { color: #b6cbcd; font-size: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }.stat-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(22,53,58,.04); }.stat-head { display: flex; align-items: center; justify-content: space-between; }.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; }.stat-icon.green { color: var(--green-dark); background: var(--green-soft); }.stat-icon.blue { color: #3c7daa; background: var(--blue-soft); }.stat-icon.amber { color: #ae741a; background: var(--amber-soft); }.stat-icon.violet { color: #6451bc; background: var(--violet-soft); }
.trend { display: inline-block; padding: 3px 7px; border-radius: 20px; font-size: 10px; font-weight: 600; }.trend.positive { color: #17856b; background: var(--green-soft); }.trend.warning { color: #a5680a; background: var(--amber-soft); }.trend.neutral { color: #657377; background: #f0f3f2; }.stat-card p { margin: 14px 0 2px; color: var(--muted); font-size: 11px; }.stat-card h3 { margin: 0 0 3px; font-size: 22px; direction: rtl; }.stat-card h3 small { font-size: 10px; font-weight: 500; }.stat-card > span { color: #9aa5a7; font-size: 10px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(22,53,58,.04); }.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .9fr); gap: 20px; }.chart-panel, .team-panel { min-height: 385px; padding: 21px; }.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.panel-head h3 { margin: 0; font-size: 15px; }.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }.segmented { padding: 3px; border-radius: 9px; background: #f0f3f2; }.segmented button { padding: 5px 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; }.segmented button.active { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(0,0,0,.06); }.chart-summary { display: flex; align-items: center; gap: 10px; margin: 24px 0 8px; }.chart-summary strong { font-size: 22px; }.chart-wrap { height: 240px; position: relative; padding: 10px 40px 26px 0; }.sales-chart { width: 100%; height: 205px; overflow: visible; }.grid-lines line { stroke: #ebefee; stroke-width: 1; stroke-dasharray: 4 5; }.sales-chart .area { fill: url(#chartFill); }.sales-chart .line { fill: none; stroke: var(--green); stroke-width: 3; vector-effect: non-scaling-stroke; }.points circle { fill: white; stroke: var(--green); stroke-width: 3; vector-effect: non-scaling-stroke; }.y-labels { height: 205px; position: absolute; top: 10px; right: 0; display: flex; flex-direction: column; justify-content: space-between; color: #9ca7a8; font-size: 9px; }.x-labels { display: flex; justify-content: space-between; padding-top: 2px; color: #8f9c9e; font-size: 9px; }
.text-button { border: 0; color: var(--green-dark); background: none; font-size: 10px; font-weight: 600; }.leader-list { margin-top: 15px; }.leader { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #edf0ef; }.leader:last-child { border: 0; }.leader > b { width: 16px; color: #a1acad; font-size: 11px; text-align: center; }.leader .avatar { width: 36px; height: 36px; font-size: 12px; }.leader-name { min-width: 0; flex: 1; }.leader-name strong, .leader-name span, .leader-value strong, .leader-value span { display: block; }.leader-name strong { font-size: 11px; }.leader-name span { color: var(--muted); font-size: 9px; }.leader-value { text-align: left; direction: rtl; }.leader-value strong { font-size: 12px; }.leader-value span { color: var(--green-dark); font-size: 9px; }
.table-panel { overflow: hidden; }.compact-table { margin-top: 20px; }.table-panel .panel-head { padding: 19px 21px 14px; }.table-scroll { overflow-x: auto; }.table-scroll::-webkit-scrollbar { height: 7px; }.table-scroll::-webkit-scrollbar-thumb { border-radius: 20px; background: #d5dddb; }table { width: 100%; border-collapse: collapse; white-space: nowrap; }th { padding: 11px 18px; color: #768386; background: #f8faf9; font-size: 9px; font-weight: 600; text-align: right; }td { padding: 13px 18px; border-top: 1px solid #edf0ef; font-size: 10px; }td strong, td small { display: block; }td small { color: var(--muted); }.client-cell { display: flex; align-items: center; gap: 9px; }.client-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #287967; background: var(--green-soft); font-weight: 700; }.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 20px; font-size: 9px; }.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status-pill.paid { color: #17856b; background: var(--green-soft); }.status-pill.due { color: #a5680a; background: var(--amber-soft); }.status-pill.late { color: #b64f4f; background: var(--rose-soft); }

.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.page-intro h2 { margin: 0; font-size: 25px; }.page-intro p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }.inline-search { min-width: 260px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }.inline-search input { width: 100%; border: 0; outline: 0; }.filter-bar select, .form-grid select { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; outline: none; }.full-table th, .full-table td { padding: 14px 16px; }.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.table-footer div { display: flex; gap: 4px; }.table-footer button { min-width: 28px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: white; }.table-footer button.active { color: white; border-color: var(--green); background: var(--green); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 20px; max-width: 1100px; margin: 0 auto; }.sale-form { padding: 26px; }.form-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }.form-section-head > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: var(--green-dark); background: var(--green-soft); font-size: 11px; font-weight: 700; }.form-section-head h3 { margin: 0; font-size: 15px; }.form-section-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label { display: flex; flex-direction: column; gap: 6px; }.form-grid label > span { color: #516267; font-size: 10px; font-weight: 600; }.form-grid input, .form-grid textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fbfcfc; outline: none; resize: vertical; }.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: #73cbb6; box-shadow: 0 0 0 3px rgba(32,169,133,.08); }.span-2 { grid-column: span 2; }.form-divider { height: 1px; margin: 28px 0; background: var(--line); }.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }.form-aside { display: flex; flex-direction: column; gap: 14px; }.aside-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }.aside-card h3 { margin: 0 0 7px; font-size: 14px; }.aside-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }.secure-card { color: white; border-color: #154c50; background: linear-gradient(145deg, #0c333e, #124c50); }.secure-card > span { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; color: #0e5142; background: #73dec0; font-weight: 700; }.secure-card p { color: #b5ced0; }.mini-timeline { margin: 18px 0 0; padding: 0; list-style: none; }.mini-timeline li { min-height: 55px; position: relative; display: flex; gap: 12px; }.mini-timeline li > span { width: 12px; height: 12px; position: relative; z-index: 1; margin-top: 3px; border: 3px solid #dbe4e1; border-radius: 50%; background: white; }.mini-timeline li.done > span { border-color: var(--green); }.mini-timeline li:not(:last-child)::after { content: ""; width: 1px; height: 44px; position: absolute; top: 13px; right: 6px; background: #dfe6e4; }.mini-timeline strong, .mini-timeline small { display: block; }.mini-timeline strong { font-size: 10px; }.mini-timeline small { color: var(--muted); font-size: 9px; }

.permissions-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; }.members-card { padding: 14px; }.member-search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fafcfc; }.member-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }.members-list { margin-top: 10px; }.member-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px; border: 0; border-bottom: 1px solid #eef1f0; border-radius: 10px; background: transparent; text-align: right; }.member-item:hover, .member-item.active { background: #edf8f4; }.member-item strong, .member-item small { display: block; }.member-item strong { font-size: 11px; }.member-item small { color: var(--muted); font-size: 9px; }.member-item > span { margin-right: auto; color: #a1acad; }.permission-card { padding: 24px; }.permission-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }.permission-head h3 { margin: 0; font-size: 16px; }.permission-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }.access-badge { margin-right: auto; padding: 4px 9px; border-radius: 20px; color: var(--green-dark); background: var(--green-soft); font-size: 9px; }.permission-card h4 { margin: 21px 0 12px; font-size: 12px; }.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.radio-cards label { display: flex; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }.radio-cards label:has(input:checked) { border-color: #77cbb8; background: #f3fbf8; }.radio-cards input { accent-color: var(--green); }.radio-cards b, .radio-cards small { display: block; }.radio-cards b { font-size: 10px; }.radio-cards small { margin-top: 2px; color: var(--muted); font-size: 8px; }.permission-list { border-top: 1px solid var(--line); margin-top: 21px; }.permission-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #edf0ef; }.permission-row strong, .permission-row small { display: block; }.permission-row strong { font-size: 11px; }.permission-row small { color: var(--muted); font-size: 9px; }.switch { width: 38px; height: 22px; flex: 0 0 auto; position: relative; display: inline-block; }.switch input { opacity: 0; width: 0; height: 0; }.switch span { position: absolute; inset: 0; border-radius: 20px; background: #d8e0de; transition: .2s; }.switch span::before { content: ""; width: 16px; height: 16px; position: absolute; top: 3px; right: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: .2s; }.switch input:checked + span { background: var(--green); }.switch input:checked + span::before { transform: translateX(-16px); }

.workflow-summary { display: flex; align-items: center; gap: 32px; margin-bottom: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }.workflow-summary > div:first-child { min-width: 250px; flex: 1; }.workflow-summary strong { font-size: 13px; }.workflow-summary p { margin: 3px 16px 0 0; color: var(--muted); font-size: 9px; }.flow-metric { padding-right: 24px; border-right: 1px solid var(--line); text-align: center; }.flow-metric strong, .flow-metric span { display: block; }.flow-metric strong { font-size: 18px; }.flow-metric span { color: var(--muted); font-size: 8px; }.workflow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }.workflow-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 28px rgba(22,53,58,.04); }.workflow-top { display: flex; align-items: center; justify-content: space-between; }.workflow-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; font-weight: 700; }.workflow-icon.amber { color: #a96f15; background: var(--amber-soft); }.workflow-icon.green { color: var(--green-dark); background: var(--green-soft); }.workflow-icon.violet { color: #6451bc; background: var(--violet-soft); }.workflow-icon.blue { color: #3776a4; background: var(--blue-soft); }.flow-tag { display: inline-block; margin-top: 16px; color: var(--green-dark); font-size: 9px; font-weight: 600; }.workflow-card h3 { margin: 4px 0 5px; font-size: 16px; }.workflow-card > p { min-height: 38px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }.flow-path { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0; padding: 11px; border-radius: 10px; background: #f7f9f8; }.flow-path span { padding: 4px 7px; border: 1px solid #e1e7e5; border-radius: 6px; background: white; font-size: 8px; }.flow-path i { color: #96a4a6; font-style: normal; }.workflow-card footer { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }.workflow-card footer button { border: 0; color: var(--green-dark); background: none; font-size: 9px; font-weight: 600; }.draft-flow { border-style: dashed; }.draft-label { padding: 4px 8px; border-radius: 20px; color: #6c7a7d; background: #f0f3f2; font-size: 8px; }

.toast { min-width: 285px; position: fixed; bottom: 24px; left: 24px; z-index: 50; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #cbe9df; border-radius: 13px; background: white; box-shadow: 0 14px 40px rgba(12,54,54,.15); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s ease; }.toast.show { opacity: 1; transform: none; }.toast > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); }.toast strong, .toast small { display: block; }.toast strong { font-size: 11px; }.toast small { color: var(--muted); font-size: 9px; }.mobile-overlay { display: none; }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }.team-panel { min-height: auto; }
  .search-box { display: none; }.form-layout { grid-template-columns: 1fr; }.form-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .permissions-layout { grid-template-columns: 280px 1fr; }.radio-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sidebar { width: 272px; transform: translateX(105%); transition: transform .25s ease; }.sidebar.open { transform: none; }.mobile-overlay { position: fixed; inset: 0; z-index: 19; background: rgba(4,20,25,.42); }.mobile-overlay.show { display: block; }
  .main-content { margin-right: 0; }.topbar { min-height: 76px; padding: 14px 16px; }.mobile-only { display: grid; }.topbar h1 { font-size: 17px; }.eyebrow { font-size: 9px; }.top-actions .notification { display: none; }.top-actions .primary-button { width: 40px; min-height: 40px; padding: 0; font-size: 0; }.top-actions .primary-button span { font-size: 22px; }
  .view { padding: 18px 14px 36px; }.hero-strip { min-height: 170px; padding: 24px; }.hero-strip h2 { font-size: 21px; }.hero-progress { width: 104px; height: 104px; margin: 0; }.hero-progress svg { width: 104px; }.stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.stat-card { padding: 14px; }.stat-card h3 { font-size: 17px; }.dashboard-grid { gap: 12px; }.chart-panel { min-height: 350px; padding: 16px; }.compact-table { margin-top: 12px; }.page-intro { align-items: flex-start; }.page-intro h2 { font-size: 20px; }.filter-bar { flex-wrap: wrap; }.inline-search { min-width: 100%; }.filter-bar select { flex: 1; min-width: 130px; }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.sale-form { padding: 18px; }.form-aside { grid-template-columns: 1fr; }.permissions-layout { grid-template-columns: 1fr; }.members-card { max-height: 300px; overflow: auto; }.permission-card { padding: 18px; }.workflow-summary { flex-wrap: wrap; gap: 12px; }.workflow-summary > div:first-child { min-width: 100%; }.flow-metric { flex: 1; padding: 0 8px; }.workflow-grid { grid-template-columns: 1fr; }.toast { right: 14px; left: 14px; bottom: 14px; min-width: 0; }
}

@media (max-width: 460px) {
  .hero-strip { min-height: 215px; align-items: flex-start; }.hero-progress { position: absolute !important; left: 13px; bottom: 13px; }.stats-grid { grid-template-columns: 1fr; }.page-intro .primary-button { min-width: 40px; padding: 9px 11px; }.workflow-card { padding: 17px; }.flow-path { gap: 4px; }.flow-path span { padding: 4px 5px; }
}
