@charset "UTF-8";

:root {
  --ink:#172b34;
  --muted:#657680;
  --accent:#0f4c5c;
  --accent-soft:#e8f2f4;
  --line:#e0e7eb;
  --bg:#f6f8fa;
  --white:#fff;
  --danger:#ad3943;
  --radius:12px;
  --shadow:0 2px 5px #17394505
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:14px/1.5 "Segoe UI",Arial,sans-serif
}
a {
  color:var(--accent);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button,input,select,textarea {
  font:inherit
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.55;
  cursor:not-allowed
}
svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:28px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-.7px;
  margin-bottom:9px
}
h2 {
  font-size:18px;
  letter-spacing:-.25px;
  margin-bottom:14px
}
h3 {
  font-size:16px;
  line-height:1.4;
  margin:7px 0 20px
}
p {
  margin-bottom:16px
}
small,.small {
  font-size:12px
}
small.block,.block {
  display:block
}
.muted {
  color:var(--muted)
}
.amber,.pending-hint {
  color:#99640d
}
.danger-text {
  color:var(--danger)!important
}
.green {
  color:#21775c!important;
  background:#eaf6ef!important
}
.required {
  color:var(--danger)
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.6px;
  display:block;
  color:#6a818c;
  margin-bottom:10px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:236px;
  background:#fff;
  border-right:1px solid var(--line);
  padding:30px 18px;
  display:flex;
  flex-direction:column;
  z-index:40
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--ink);
  font-size:18px;
  font-weight:500;
  line-height:1.1;
  margin:0 8px 44px;
  white-space:nowrap
}
.brand:hover {
  text-decoration:none
}
.brand strong {
  font-weight:750
}
.brand small {
  display:block;
  font-size:8px;
  letter-spacing:1.6px;
  color:var(--muted);
  margin-top:8px
}
.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  background:var(--accent);
  color:white;
  font-size:28px;
  font-weight:800;
  border-radius:12px;
  letter-spacing:-3px;
  padding-right:3px
}
.nav-label {
  font-size:9px;
  letter-spacing:1.2px;
  color:#809098;
  display:block;
  padding:0 14px;
  margin:14px 0 10px;
  font-weight:700
}
.sidebar nav>a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  font-size:13px;
  border-radius:8px;
  margin:4px 0;
  color:#576b76
}
.sidebar nav>a.active {
  color:var(--accent);
  background:var(--accent-soft);
  font-weight:650
}
.sidebar nav>a:hover {
  text-decoration:none;
  background:#f2f6f8
}
.sidebar-bottom {
  margin-top:auto;
  border-top:1px solid var(--line);
  padding:22px 14px 0;
  display:grid;
  gap:3px
}
.app-shell {
  margin-left:236px;
  min-width:0
}
.topbar {
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  background:#fff;
  border-bottom:1px solid var(--line);
  gap:16px
}
.breadcrumb {
  font-size:12px;
  color:var(--muted)
}
.breadcrumb span {
  margin:0 12px;
  color:#acbac2
}
.breadcrumb strong {
  font-weight:500;
  color:var(--ink)
}
.user-menu {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px
}
.user-menu small {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.user-menu form {
  margin-left:16px
}
.avatar {
  height:32px;
  width:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:650
}
main {
  padding:34px 38px 45px;
  max-width:1800px;
  margin:auto
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:27px
}
.page-heading p {
  margin:0
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 17px;
  border:1px solid var(--accent);
  border-radius:7px;
  background:var(--accent);
  color:#fff;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
  min-height:40px;
  white-space:nowrap;
  transition:background .15s,box-shadow .15s
}
.button:hover {
  background:#176173;
  text-decoration:none;
  box-shadow:0 2px 7px #0f4c5c20
}
.button.secondary {
  background:#fff;
  border-color:#d5e0e4;
  color:#3f5661
}
.button.secondary:hover {
  background:#eef4f6
}
.button.danger {
  background:var(--danger);
  border-color:var(--danger)
}
.button.small,.small-button {
  font-size:12px;
  padding:8px 12px;
  min-height:34px
}
.text-button {
  color:var(--accent);
  background:none;
  border:0;
  padding:6px 0;
  font-weight:550;
  font-size:12px;
  display:inline-block
}
.text-button:hover {
  text-decoration:underline
}
.icon-button {
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:6px;
  font-size:20px;
  min-width:30px;
  min-height:30px
}
.icon-button:hover {
  background:var(--bg)
}
.actions {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap
}
.actions form {
  margin:0
}
.full {
  width:100%
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.padded {
  padding:24px
}
.summary-strip {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  margin-bottom:30px;
  padding:22px 0
}
.summary-strip>div {
  padding:0 25px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:5px
}
.summary-strip>div:last-child {
  border:0
}
.summary-strip span {
  font-size:11px;
  color:var(--muted)
}
.summary-strip strong {
  font-size:26px;
  font-weight:650;
  color:var(--accent)
}
.toolbar {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px
}
.segmented {
  display:flex;
  background:#eaf0f3;
  padding:4px;
  border-radius:8px;
  gap:3px
}
.segmented a {
  font-size:12px;
  padding:7px 19px;
  color:#697983;
  border-radius:5px;
  font-weight:600
}
.segmented a.selected {
  background:white;
  box-shadow:0 1px 4px #14364912;
  color:var(--accent)
}
.segmented a:hover {
  text-decoration:none;
  color:var(--accent)
}
.filters {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:24px
}
.filters.panel {
  padding:15px
}
.filters input,.filters select {
  height:40px;
  margin:0;
  max-width:170px;
  font-size:12px
}
.filters .search-field {
  flex:1;
  max-width:420px;
  margin:0;
  position:relative
}
.search-field>svg {
  position:absolute;
  left:13px;
  top:11px;
  width:17px;
  color:#81949d
}
.search-field>input {
  padding-left:39px;
  max-width:none
}
.filters>.text-button {
  white-space:nowrap
}
.board {
  display:flex;
  align-items:flex-start;
  gap:20px;
  overflow-x:auto;
  padding:1px 1px 18px
}
.board-column {
  flex:1 0 290px;
  max-width:360px;
  min-width:270px
}
.column-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 4px 14px;
  border-bottom:2px solid #dce7eb;
  margin-bottom:16px
}
.column-heading h2 {
  font-size:14px;
  margin:0 0 2px
}
.counter {
  background:#e7eef2;
  border-radius:6px;
  padding:3px 8px;
  font-size:11px;
  color:#607781
}
.column-cards {
  display:grid;
  gap:14px
}
.order-card {
  display:block;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px;
  color:var(--ink);
  box-shadow:var(--shadow);
  transition:transform .15s,border-color .15s;
  min-width:0
}
.order-card:hover {
  text-decoration:none;
  border-color:#9db7c0;
  transform:translateY(-2px)
}
.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-bottom:18px
}
.order-code {
  font-family:"Consolas",monospace;
  font-size:12px;
  font-weight:700;
  color:var(--accent);
  background:#edf5f6;
  border-radius:4px;
  padding:3px 6px
}
.status {
  --status-color:#64748b;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  padding:4px 7px;
  font-size:10px;
  font-weight:650;
  color:var(--status-color);
  background:color-mix(in srgb,var(--status-color) 9%,white);
  white-space:nowrap
}
.status::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--status-color)
}
.client-label {
  font-size:10px;
  font-weight:600;
  color:#79909b;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin:0
}
.card-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
  color:var(--muted);
  margin-bottom:13px
}
.progress {
  height:4px;
  background:#edf2f4;
  border-radius:4px;
  margin-bottom:6px;
  overflow:hidden
}
.progress span {
  display:block;
  height:100%;
  background:#60998b
}
.card-bottom {
  display:flex;
  justify-content:space-between;
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid #edf1f3;
  gap:8px
}
.card-bottom>span {
  color:var(--muted);
  font-size:10px
}
.card-bottom strong {
  font-size:12px
}
.pending-hint {
  font-size:10px;
  display:block;
  margin-top:5px
}
.empty,.empty-state {
  text-align:center;
  padding:60px 30px;
  color:var(--muted);
  width:100%
}
.empty h2,.empty-state h2 {
  color:var(--ink);
  margin-top:16px
}
.empty p,.empty-state p {
  max-width:480px;
  margin:0 auto 22px
}
.empty-mark {
  background:#e9f1f4;
  color:var(--accent);
  width:56px;
  height:56px;
  border-radius:15px;
  display:grid;
  place-items:center;
  margin:auto
}
.empty-mark svg,.empty-state>svg {
  width:28px;
  height:28px
}
.table-wrap,.table-scroll {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12px
}
thead {
  background:#f8fafb;
  color:#6c7d86
}
th {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-weight:600;
  padding:15px 18px;
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
td {
  padding:17px 18px;
  border-bottom:1px solid #edf1f3;
  vertical-align:middle
}
tr:last-child td {
  border-bottom:0
}
td small {
  display:block;
  font-size:10px;
  margin-top:5px
}
td strong {
  font-weight:600
}
.number,.money {
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:tabular-nums
}
.empty-cell {
  text-align:center;
  padding:45px;
  color:var(--muted)
}
.notice {
  padding:14px 18px;
  background:#edf4f7;
  border:1px solid #d7e5eb;
  border-radius:8px;
  color:#365e70;
  margin:0 0 22px;
  line-height:1.65
}
.notice.success {
  background:#edf8f1;
  border-color:#cce6d6;
  color:#2c6544
}
.notice.error {
  background:#fff0ef;
  border-color:#f1c5c2;
  color:#913d38
}
.notice.warning {
  background:#fff8e9;
  border-color:#f1e0bc;
  color:#81622c
}
.notice ul {
  padding-left:18px;
  margin:8px 0 0
}
.back-link {
  font-size:12px;
  display:inline-block;
  color:var(--muted);
  margin-bottom:20px
}
.two-columns,.split-layout {
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);
  gap:24px;
  align-items:start
}
.two-columns>aside {
  max-height:740px;
  overflow:auto
}
.two-columns>form h2 {
  margin-bottom:25px
}
label {
  font-size:12px;
  font-weight:550;
  display:block;
  margin:0 0 18px;
  color:#45616d
}
input,select,textarea {
  display:block;
  width:100%;
  border:1px solid #d8e2e7;
  border-radius:6px;
  padding:10px 12px;
  margin-top:7px;
  background:white;
  color:var(--ink);
  outline:none;
  line-height:1.4;
  min-width:0
}
input:focus,select:focus,textarea:focus {
  border-color:#6b9ba9;
  box-shadow:0 0 0 3px #0f4c5c0f
}
input:disabled,select:disabled,textarea:disabled {
  background:#f5f8f9;
  color:#586d77;
  opacity:1
}
textarea {
  resize:vertical
}
.check {
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:400;
  color:#5c737f
}
.check input {
  width:16px;
  height:16px;
  flex-shrink:0;
  accent-color:var(--accent);
  margin:0
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 24px
}
.span-two {
  grid-column:1/-1
}
.form-footer {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid #e9eff2
}
.form-grid>label {
  margin-bottom:22px
}
fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0
}
.copy-options {
  border:1px solid var(--line);
  padding:15px 18px;
  border-radius:8px;
  margin-top:25px
}
.copy-options legend {
  font-size:12px;
  padding:0 7px
}
.copy-options label:last-child {
  margin-bottom:0
}
.recent-item {
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:12px;
  row-gap:4px;
  border-bottom:1px solid #edf1f3;
  padding:15px 0
}
.recent-item[hidden] {
  display:none
}
.recent-item>strong {
  font-size:12px
}
.recent-item>small,.recent-item>.text-link {
  grid-column:2;
  font-size:10px;
  color:var(--muted)
}
.recent-item>.text-link {
  color:var(--accent);
  margin-top:4px
}
.recent-item:hover {
  text-decoration:none
}
.pill {
  display:inline-block;
  background:#eaf0f3;
  color:#647984;
  padding:5px 9px;
  font-size:11px;
  border-radius:6px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:21px
}
.section-heading h2 {
  margin:0
}
.section-heading p {
  margin:6px 0 0
}
.spaced {
  margin-top:36px
}
.order-summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:23px 25px;
  margin-bottom:22px
}
.order-summary>div {
  display:grid;
  gap:6px
}
.order-summary>.actions {
  display:flex
}
.order-number {
  font-size:.78em;
  color:var(--accent);
  font-family:Consolas,monospace;
  display:inline-block;
  padding:3px 8px;
  background:#e9f2f4;
  border-radius:6px;
  margin-right:5px
}
.order-description {
  white-space:pre-wrap;
  color:#657b86;
  font-size:13px
}
.tabs {
  display:flex;
  gap:25px;
  border-bottom:1px solid var(--line);
  margin:25px 0 28px;
  overflow-x:auto
}
.tabs a {
  padding:0 0 14px;
  white-space:nowrap;
  color:var(--muted);
  font-size:13px;
  border-bottom:2px solid transparent
}
.tabs a.active {
  color:var(--accent);
  font-weight:650;
  border-color:var(--accent)
}
.tabs a:hover {
  text-decoration:none
}
.production-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(245px,1fr));
  gap:19px
}
.production-grid>.empty-state {
  grid-column:1/-1
}
.production-card {
  padding:22px
}
.production-card .eyebrow {
  margin:22px 0 7px;
  font-size:9px
}
.production-card h2 {
  font-size:20px;
  margin-bottom:4px
}
.production-card p {
  font-size:12px
}
.production-card .section-heading {
  margin:0
}
.process-icon {
  width:38px;
  height:38px;
  background:#edf4f6;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:var(--accent)
}
dl {
  margin:22px 0;
  display:grid;
  gap:9px;
  font-size:11px
}
dl>div {
  display:flex;
  justify-content:space-between;
  gap:15px
}
dt {
  color:var(--muted)
}
dd {
  margin:0
}
.op-cancel {
  margin:12px 0 0
}
.order-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid var(--line)
}
.budget-table {
  min-width:840px
}
.budget-table td {
  padding:14px 12px
}
.budget-table th {
  padding:14px 12px
}
.budget-table td:first-child {
  width:34%
}
.budget-table input {
  font-size:12px;
  margin:0;
  min-width:90px
}
.budget-table .sub-input {
  border-color:transparent;
  margin-top:3px;
  font-size:10px;
  padding:5px 12px;
  color:var(--muted)
}
.budget-table td:nth-child(2),.budget-table td:nth-child(3) {
  width:12%
}
.budget-table td:nth-child(4) {
  width:17%
}
.budget-footer {
  padding:24px;
  display:flex;
  align-items:center;
  gap:28px;
  justify-content:flex-end;
  border-top:1px solid var(--line)
}
.budget-footer>span {
  margin-right:auto
}
.budget-footer strong {
  font-size:23px;
  display:block;
  white-space:nowrap
}
.inline-form {
  display:flex;
  align-items:flex-end;
  gap:18px;
  padding:20px;
  margin:20px 0
}
.inline-form label {
  flex:1;
  margin:0
}
.list-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px 0;
  border-bottom:1px solid #edf1f3
}
.list-row:last-child {
  border:0
}
.file-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(235px,1fr));
  gap:18px;
  margin:22px 0
}
.file-preview {
  display:flex;
  align-items:center;
  justify-content:center;
  height:160px;
  background:#edf2f4;
  border-radius:11px 11px 0 0;
  overflow:hidden;
  padding:10px
}
.file-preview img {
  max-width:100%;
  max-height:100%;
  object-fit:contain
}
.pdf-icon {
  font-size:34px;
  letter-spacing:4px;
  color:#9b5b59;
  font-weight:700
}
.file-card .padded {
  padding:17px
}
.file-card small {
  display:block;
  margin:6px 0
}
.file-name {
  font-size:12px;
  display:block;
  overflow-wrap:anywhere
}
.file-card .actions {
  justify-content:space-between;
  margin-top:12px
}
.timeline article {
  display:flex;
  gap:19px;
  padding:0 0 26px;
  margin-left:4px
}
.timeline-dot {
  width:9px;
  height:9px;
  background:#75a0ad;
  outline:5px solid #f0f6f8;
  border-radius:50%;
  margin-top:6px;
  flex-shrink:0
}
.timeline article>div {
  min-width:0;
  width:100%
}
.timeline p {
  margin:4px 0 10px
}
.timeline summary {
  cursor:pointer;
  color:var(--accent)
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f7f9fa;
  border:1px solid var(--line);
  border-radius:6px;
  padding:14px;
  font-size:11px;
  max-height:350px;
  overflow:auto
}
details>summary {
  cursor:pointer;
  font-size:12px;
  color:var(--muted)
}
.process-picker {
  display:flex;
  gap:14px;
  margin:22px 0;
  flex-wrap:wrap
}
.process-choice {
  display:grid;
  grid-template-columns:22px auto;
  column-gap:12px;
  row-gap:3px;
  padding:14px 20px;
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  color:#6c7f88;
  min-width:175px
}
.process-choice svg {
  grid-row:1/3;
  align-self:center
}
.process-choice small {
  grid-column:2;
  font-size:10px
}
.process-choice.selected {
  border-color:#5b8e9d;
  background:#edf5f7;
  color:var(--accent)
}
.process-choice:hover {
  text-decoration:none
}
hr {
  border:0;
  border-top:1px solid var(--line);
  margin:15px 0 28px
}
.template-layout {
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  gap:25px;
  align-items:start
}
.template-nav {
  margin:0 -10px 25px
}
.template-nav a {
  display:block;
  padding:14px 12px;
  border-radius:7px;
  color:var(--muted);
  margin-bottom:5px
}
.template-nav a.active {
  background:#eaf3f5;
  color:var(--accent)
}
.template-nav a:hover {
  background:var(--bg);
  text-decoration:none
}
.template-nav small {
  display:block;
  font-size:10px;
  margin-top:3px
}
.field-editor {
  border:1px solid var(--line);
  border-radius:8px;
  padding:17px;
  margin-bottom:15px
}
.field-editor .form-grid>label {
  margin-bottom:13px
}
.field-controls {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin-bottom:12px
}
.field-controls>span {
  margin-right:auto;
  font-size:9px;
  letter-spacing:1px
}
.settings-stack {
  display:grid;
  gap:17px
}
.status-form {
  display:flex;
  gap:18px;
  align-items:flex-end;
  flex-wrap:wrap
}
.status-form>label:first-of-type {
  flex:1;
  min-width:160px
}
.status-form label {
  margin:0
}
.status-form input[type=color] {
  padding:3px;
  width:55px;
  height:40px
}
.status-form input[type=number] {
  width:76px
}
.status-form .check {
  align-self:center;
  padding-top:15px
}
.role-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px
}
.permission {
  border-bottom:1px solid #edf2f4;
  padding:13px 0;
  margin:0
}
.role-grid .notice {
  margin:18px 0 0
}
.auth-shell {
  min-height:100vh;
  background:radial-gradient(ellipse at 30% 10%,#dfedf1,transparent 60%),#f3f7f9;
  display:grid;
  place-items:center
}
.auth-shell main {
  padding:35px 20px;
  width:100%;
  max-width:480px
}
.login-card {
  padding:38px;
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 15px 70px #1437450c
}
.login-card .brand {
  margin:0 0 38px
}
.login-card h1 {
  font-size:25px
}
.login-card>p {
  margin-bottom:27px
}
.login-card .full {
  margin:8px 0 23px
}
.login-card>a.small {
  display:block;
  text-align:center
}
dialog {
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
  width:620px;
  max-width:calc(100vw - 30px);
  max-height:calc(100vh - 50px);
  overflow:auto;
  box-shadow:0 25px 100px #132f4538;
  color:var(--ink)
}
dialog::backdrop {
  background:#0d283c65;
  backdrop-filter:blur(3px)
}
.confirm-dialog {
  max-width:460px
}
.confirm-dialog p {
  color:var(--muted)
}
.confirm-dialog .actions {
  justify-content:flex-end;
  margin-top:27px
}
.mobile-only {
  display:none
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
[hidden] {
  display:none!important
}
:focus-visible {
  outline:2px solid #669daa;
  outline-offset:3px
}

@media(min-width:1600px) {
  .board-column {
  max-width:380px
}
.board {
  gap:24px
}
main {
  padding:42px 46px
}

}

@media(max-width:1200px) {
  .sidebar {
  width:212px;
  padding:26px 12px
}
.app-shell {
  margin-left:212px
}
.topbar {
  padding:0 25px
}
main {
  padding:27px 25px
}
.filters {
  flex-wrap:wrap
}
.filters .search-field {
  min-width:240px;
  max-width:none
}
.filters select {
  flex:1
}
.summary-strip>div {
  padding:0 18px
}
.summary-strip span {
  font-size:10px
}
.template-layout {
  grid-template-columns:200px minmax(0,1fr)
}
.budget-footer {
  flex-wrap:wrap
}

}

@media(max-width:900px) {
  .sidebar {
  width:210px;
  transform:translateX(-100%);
  transition:transform .18s;
  box-shadow:10px 0 40px #183c5015
}
.sidebar.is-open {
  transform:translateX(0)
}
.app-shell {
  margin-left:0
}
.mobile-only {
  display:block
}
.topbar {
  height:65px;
  gap:12px
}
.breadcrumb {
  margin-right:auto
}
.two-columns,.split-layout {
  grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)
}
.page-heading {
  align-items:flex-start
}
.template-layout {
  grid-template-columns:1fr
}
.template-nav {
  display:flex;
  flex-wrap:wrap;
  gap:7px
}
.template-nav a {
  flex:1
}
.template-layout>aside {
  padding:18px
}
.template-layout>aside>h2 {
  display:none
}
.template-nav {
  margin:0 0 12px
}
.production-grid {
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))
}

}

@media(max-width:600px) {
  main {
  padding:25px 16px
}
.topbar {
  padding:0 16px
}
.breadcrumb {
  font-size:11px
}
.breadcrumb>span,.breadcrumb>strong {
  display:none
}
.user-menu {
  gap:8px
}
.user-menu>div {
  display:none
}
.user-menu form {
  margin-left:3px
}
.page-heading {
  display:block;
  margin-bottom:23px
}
.page-heading>.actions,.page-heading>.button,.page-heading>.pill {
  margin-top:18px
}
.page-heading h1 {
  font-size:25px
}
.page-heading p {
  font-size:12px
}
.summary-strip {
  grid-template-columns:1fr 1fr;
  padding:0;
  margin-bottom:24px
}
.summary-strip>div {
  padding:18px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.summary-strip>div:nth-child(even) {
  border-right:0
}
.summary-strip>div:nth-child(n+3) {
  border-bottom:0
}
.summary-strip strong {
  font-size:24px
}
.summary-strip span {
  font-size:10px
}
.segmented a {
  padding:7px 11px;
  font-size:11px
}
.toolbar {
  gap:10px
}
.toolbar .button {
  font-size:10px;
  padding:8px 9px
}
.filters {
  gap:9px
}
.filters .search-field {
  flex:1 0 100%;
  min-width:0
}
.filters select {
  max-width:none;
  min-width:80px;
  width:95px;
  padding:9px;
  font-size:11px
}
.filters .button {
  font-size:11px;
  min-height:36px
}
.board-column {
  flex:0 0 280px;
  max-width:280px;
  min-width:280px
}
.board {
  gap:15px
}
.two-columns,.split-layout {
  grid-template-columns:1fr
}
.two-columns>aside {
  max-height:420px
}
.padded {
  padding:20px
}
.form-grid {
  grid-template-columns:1fr;
  gap:0
}
.span-two {
  grid-column:auto
}
.form-footer {
  flex-wrap:wrap
}
.order-summary {
  padding:20px;
  gap:20px;
  display:grid;
  grid-template-columns:1fr 1fr
}
.order-summary>.actions {
  grid-column:1/-1
}
.tabs {
  gap:22px
}
.tabs a {
  font-size:12px
}
.section-heading {
  align-items:flex-start;
  gap:12px
}
.section-heading>.button {
  font-size:11px;
  padding:9px 11px
}
.section-heading p {
  font-size:11px
}
.production-grid {
  grid-template-columns:1fr
}
.order-bottom {
  display:block
}
.order-bottom>.actions {
  margin-top:15px;
  justify-content:space-between
}
.budget-footer {
  padding:20px;
  gap:18px;
  justify-content:space-between
}
.budget-footer>span {
  flex-basis:100%
}
.budget-footer strong {
  font-size:21px
}
.inline-form {
  display:block
}
.inline-form button {
  margin-top:15px
}
.file-grid {
  grid-template-columns:1fr 1fr;
  gap:12px
}
.file-preview {
  height:115px
}
.file-card .padded {
  padding:12px
}
.file-card .actions {
  gap:8px
}
.file-name {
  font-size:11px
}
.file-card small {
  font-size:9px
}
.process-picker {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.process-choice {
  min-width:0;
  padding:12px;
  gap:5px 8px;
  font-size:12px
}
.process-choice small {
  font-size:9px
}
.status-form {
  gap:15px
}
.status-form .check {
  padding:0
}
.field-controls .text-button {
  font-size:10px
}
.field-editor {
  padding:14px
}
.role-grid {
  grid-template-columns:1fr
}
dialog {
  padding:22px
}
.login-card {
  padding:29px
}
.auth-shell main {
  padding:25px
}
.table-wrap table:not(.budget-table),.table-scroll table {
  min-width:610px
}
.empty-state {
  padding:35px 20px
}

}

@media(prefers-reduced-motion:reduce) {
  * {
  transition:none!important;
  scroll-behavior:auto!important
}

}
