:root {
  --ink: #18201d;
  --muted: #68716c;
  --paper: #f2f0e8;
  --surface: #fbfaf5;
  --line: #d8d7cd;
  --acid: #d8f343;
  --acid-dark: #b7d10f;
  --coral: #ff735c;
  --blue: #5485ff;
  --green: #54b487;
  --amber: #d49a27;
  --shadow: 0 18px 50px rgba(35, 42, 38, .1);
  --display: "Chivo", sans-serif;
  --body: "Noto Sans SC", sans-serif;
  --canvas: #f7f8f6;
  --card: #ffffff;
  --soft-line: #e6e9e5;
  --soft-ink: #414b45;
  --lime-wash: #f0f4d9;
  --peach-wash: #fff0e6;
}

/* Hide decorative English eyebrow labels; Chinese page titles remain visible. */
.eyebrow { display: none !important; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 22%, rgba(216, 243, 67, .18), transparent 24rem),
    radial-gradient(circle at 92% 5%, rgba(255, 115, 92, .1), transparent 20rem),
    var(--paper);
  font-family: var(--body);
  line-height: 1.6;
}

body:not(.login-page) { background: var(--canvas); }

body.drawer-open { overflow: hidden; }

button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .24;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.topbar {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(24, 32, 29, .14);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(242, 240, 232, .82);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--acid);
  font: 800 20px/1 var(--display);
  transform: rotate(-4deg);
}
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font: 800 15px/1 var(--display); letter-spacing: .08em; }
.brand small { margin-top: 4px; font: 600 8px/1 var(--display); letter-spacing: .22em; color: var(--muted); }

.topnav { align-self: stretch; display: flex; gap: 34px; }
.topnav a {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); transition: transform .2s; }
.topnav a:hover, .topnav a.active { color: var(--ink); }
.topnav a.active::after { transform: scaleX(1); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.identity-button { height: 42px; padding: 0 10px 0 6px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.5); cursor: pointer; text-align: left; }
.identity-button:hover { border-color: var(--ink); background: white; }
.identity-button > span:first-child { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font: 700 10px/1 var(--display); }
.identity-button > span:last-child { max-width: 105px; display: flex; flex-direction: column; }
.identity-button small { color: var(--muted); font-size: 8px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.identity-button strong { font-size: 10px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { color: var(--ink); background: var(--acid); }
.button-primary:hover:not(:disabled) { background: #e4fb64; }
.button-ghost { background: transparent; }
.button-small { min-height: 40px; padding: 0 17px; font-size: 13px; }
.button-full { width: 100%; }
.mobile-bottom-nav { display: none; }
.panel-actions { display: flex; align-items: center; gap: 10px; }
.top-user-card { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 9px; border: 1px solid var(--soft-line); border-radius: 11px; background: rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(42,50,45,.04); }
button.top-user-card { color: inherit; font: inherit; text-align: left; cursor: pointer; }
.top-user-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 11px; font-weight: 800; }
.top-user-card > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.top-user-card strong { font-size: 11px; }
.top-user-card small { margin-top: 3px; color: #8d9690; font-size: 9px; }
.case-search { min-width: 220px; height: 40px; flex: 0 1 280px; }
.workspace-breadcrumb { min-height: 32px; margin: -8px 0 24px; display: flex; align-items: center; gap: 10px; color: #9aa19c; font-size: 11px; }
.workspace-breadcrumb.hidden { display: none; }
.workspace-breadcrumb a { color: #9aa19c; text-decoration: none; }
.workspace-breadcrumb a:hover { color: #ed5a52; }
.workspace-breadcrumb b { color: #c7ccc8; font-weight: 400; }
.workspace-breadcrumb strong { color: #59625c; font-weight: 700; }
.workspace-date { margin-left: auto; color: #adb3ae; }
.department-workspace.hidden { display: none !important; }
.legacy-department-board { display: none !important; }
.department-workspace:not(.department-table-panel) { display: none !important; }
.department-table-panel { margin-top: 18px; }
.department-case-shell { margin-top: 0; }
.department-case-shell.hidden { display: none !important; }
.nav-disabled { opacity: .55; cursor: not-allowed !important; pointer-events: none; }
.access-denied { margin-top: 40px; padding: 72px 32px; border: 1px solid #171717; border-radius: 18px; background: #fff; text-align: center; }
.access-denied h1 { margin: 0 0 12px; color: #19212b; font: 700 28px var(--body); }
.access-denied p { margin: 0; color: #969d99; font-size: 13px; }
.access-denied-countdown { margin-top: 18px !important; color: #ed5a52 !important; font-weight: 700; }
.department-case-shell > .cases-topbar { display: none; }
.workspace-heading.hidden { display: none !important; }
.department-case-table-card { min-height: 420px; }
.department-cases-table { table-layout: fixed; }
.department-cases-table th, .department-cases-table td { padding: 17px 14px; }
.department-table-panel { display: block; }
.department-table-panel .department-table-toolbar { max-width: 100%; }
.department-table-panel .department-table-card { min-height: 420px; }
.department-table-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.department-search { min-width: 280px; height: 44px; }
.department-select { height: 44px; min-width: 160px; padding: 0 13px; border: 1px solid #171717; border-radius: 9px; color: #171717; background: #fff; font-size: 13px; outline: none; }
.department-export-button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px; color: #fff; background: #ed5a52; cursor: pointer; font-size: 13px; font-weight: 700; }
.department-table-card { min-height: 390px; overflow: hidden; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.department-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #171717; font-size: 12px; }
.department-table th, .department-table td { padding: 17px 14px; text-align: left; vertical-align: middle; }
.department-table th { background: #fffaf0; font-weight: 700; }
.department-table td { border: 0; }
.department-table tbody tr + tr td { padding-top: 12px; }
.department-title-cell { font-weight: 600; }
.department-link { padding: 0; border: 0; color: #171717; background: transparent; cursor: pointer; font-size: 12px; text-decoration: none; }
.department-link:hover { color: #ed5a52; }
.department-mine, .department-severe { color: #ed5a52; font-weight: 700; }
@media (max-width: 950px) { .department-table-toolbar { flex-wrap: wrap; } .department-search { min-width: 100%; } .department-select, .department-export-button { flex: 1; min-width: 135px; } .department-table-card { overflow-x: auto; } .department-table { min-width: 1100px; } }
.home-services { margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; min-height: 260px; padding: 26px 25px 23px; display: flex; flex-direction: column; border: 1px solid var(--soft-line); border-radius: 14px; background: var(--card); overflow: hidden; box-shadow: 0 12px 30px rgba(46, 55, 49, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card::after { content: ""; position: absolute; right: -55px; top: -65px; width: 180px; height: 180px; border-radius: 50%; opacity: .85; }
.service-cases::after { background: #edf4c5; }
.service-bugs::after { background: #ffe0d2; }
.service-card:hover { transform: translateY(-4px); border-color: #cdd5ca; box-shadow: 0 18px 38px rgba(46, 55, 49, .11); }
.service-kicker { position: relative; z-index: 1; color: #a2aaa4; font: 700 9px/1 var(--display); letter-spacing: .15em; }
.service-icon { position: relative; z-index: 1; width: 42px; height: 42px; margin: 22px 0 16px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); background: var(--lime-wash); font: 800 20px/1 var(--display); }
.service-bugs .service-icon { background: var(--peach-wash); color: #b15e45; }
.service-card h2 { position: relative; z-index: 1; margin: 0 0 10px; font: 700 22px/1.2 var(--display); letter-spacing: -.04em; }
.service-card p { position: relative; z-index: 1; max-width: 450px; margin: 0; color: #858e88; font-size: 12px; line-height: 1.8; }
.service-link { position: relative; z-index: 1; margin-top: auto; padding-top: 20px; color: var(--ink); font-size: 12px; font-weight: 700; }
.service-link b { margin-left: 8px; font: 400 18px/1 var(--display); }
.service-card .service-link { width: max-content; padding: 11px 18px; border-radius: 9px; color: #fff; background: #ed5a52; font-size: 12px; }
.service-card .service-link b { display: none; }
.service-card:hover .service-link { background: #d94b44; }
.case-form { padding: 24px 30px 30px; border-top: 1px solid var(--line); background: #e9e7dd; }
.case-form .field { margin-bottom: 16px; }
.case-form .button { min-height: 40px; }
.case-list-panel { margin-top: 28px; }
.case-row { padding: 20px 30px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.35); }
.case-row small { color: var(--muted); font: 700 10px var(--display); letter-spacing: .08em; }
.case-row h3 { margin: 7px 0 4px; font-size: 17px; }
.case-row p { margin: 0; color: var(--muted); font-size: 12px; white-space: pre-line; }
.case-status { color: #3767d9; background: #eef2ff; }
.cases-page-shell { min-height: 100vh; }
.cases-topbar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; }
.cases-breadcrumb { display: flex; align-items: center; gap: 12px; color: #737a76; font-size: 13px; }
.cases-breadcrumb a { color: #737a76; text-decoration: none; }
.cases-breadcrumb a:hover { color: #ed5a52; }
.cases-breadcrumb b { color: #a9afab; font-size: 18px; font-weight: 400; }
.cases-breadcrumb strong { color: #19212b; font-weight: 700; }
.cases-title { padding: 42px 0 30px; }
.cases-title h1 { margin: 0 0 12px; color: #19212b; font: 700 42px/1.15 var(--body); letter-spacing: -.05em; }
.cases-title p:not(.eyebrow) { margin: 0; color: #969d99; font-size: 13px; }
.bug-reports-shell .cases-title { padding-bottom: 24px; }
.bug-report-breadcrumb { display: flex; }
.bug-report-actions { align-items: center; }
.bug-report-actions .cases-search { flex: 1 1 320px; }
.bug-report-actions .case-action-button { white-space: nowrap; }
.bug-report-table-card { min-height: 420px; }
.bug-updated-column { min-width: 160px; width: 18%; }
.department-only-table th, .department-only-table td { white-space: nowrap; }
.bug-submit-shell { max-width: 920px; }
.bug-submit-title { padding-bottom: 28px; }
.bug-submit-card { width: 100%; padding: 32px; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.bug-submit-card .form-card-heading { justify-content: flex-start; align-items: flex-start; text-align: left; }
.bug-submit-card .form-card-heading h2 { text-align: left; }
.bug-form-title { margin: 0 0 28px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee9df; text-align: left; }
.bug-form-title h2 { margin: 0; color: #19212b; font: 700 25px/1.2 var(--body); letter-spacing: -.04em; text-align: left; }
.bug-submit-card .field { margin-bottom: 20px; }
.bug-submit-card .field > span { display: block; margin-bottom: 9px; color: #171717; font-size: 13px; font-weight: 600; }
.bug-submit-card .field > span i { color: #ed5a52; font-style: normal; }
.bug-submit-card input, .bug-submit-card textarea, .bug-submit-card select { width: 100%; border: 1px solid #171717; border-radius: 9px; background: #fff; }
.bug-submit-card input, .bug-submit-card select { height: 46px; padding: 0 13px; }
.bug-submit-card textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.bug-submit-card input::placeholder, .bug-submit-card textarea::placeholder { color: #aaa; }
.bug-submit-card .upload-zone { min-height: 150px; }
.bug-submit-note { margin: 20px 0 0; color: #999; font-size: 11px; line-height: 1.8; }
@media (max-width: 700px) { .bug-submit-card { padding: 24px 18px; } }
.cases-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cases-search { height: 44px; min-width: 300px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid #171717; border-radius: 9px; background: #fff; }
.cases-search span { color: #777; font-size: 20px; }
.cases-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 13px; }
.cases-search input::placeholder { color: #aaa; }
.case-action-button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px; color: #fff; background: #ed5a52; cursor: pointer; font-size: 13px; font-weight: 700; }
.case-action-button:hover { background: #d94b44; }
.cases-table-card { min-height: 300px; overflow: hidden; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.cases-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #171717; font-size: 12px; }
.cases-table th, .cases-table td { padding: 19px 18px; text-align: left; vertical-align: middle; }
.cases-table th { color: #171717; background: #fffaf0; font-weight: 700; }
.cases-table td { border: 0; }
.cases-table tbody tr + tr td { padding-top: 12px; }
.case-file-name { font-weight: 600; }
.case-download-link { padding: 0; border: 0; color: #ed5a52; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.case-download-link.disabled { color: #b8b8b8; cursor: default; }
.case-select-heading { width: 42px; }
.case-select, #selectAllCases { width: 15px; height: 15px; accent-color: #ed5a52; cursor: pointer; }
.case-sort-button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; font-weight: 700; }
.case-sort-button span { margin-left: 5px; color: #ed5a52; font-size: 14px; }
.cases-empty { padding: 80px 20px; color: #999; text-align: center; font-size: 13px; }
.cases-upload-form { display: none; margin-top: 24px; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.cases-form-heading { margin-bottom: 22px; }
.cases-form-heading h2 { margin: 0; font: 700 24px var(--body); }
.admin-nav-link { margin-top: 4px; font-weight: 700 !important; }
.user-management-shell { min-height: 100vh; }
.user-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.user-actions .cases-search { min-width: 300px; flex: 1 1 360px; }
.user-select { height: 44px; min-width: 155px; padding: 0 13px; border: 1px solid #171717; border-radius: 9px; color: #171717; background: #fff; outline: 0; font-size: 13px; }
.user-add-button { min-height: 44px; padding: 0 20px; border: 1px solid #171717; border-radius: 9px; color: #171717; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; white-space: nowrap; }
.user-add-button:hover { background: #fff6e0; }
.batch-user-content { padding: 24px 28px 28px; }
.batch-format-note { padding: 15px; border: 1px solid #eadfce; border-radius: 10px; background: #fffaf0; color: #666; font-size: 12px; line-height: 1.7; }
.batch-format-note strong { color: #171717; font-size: 14px; }
.batch-format-note p { margin: 5px 0; }
.batch-format-note code { display: block; margin: 8px 0; color: #ed5a52; font: 700 12px var(--body); }
.batch-example { padding: 8px; overflow: auto; color: #777; background: #fff; white-space: nowrap; }
.batch-dropzone { min-height: 150px; margin-top: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #9b6848; border-radius: 12px; color: #171717; background: #fff; cursor: pointer; text-align: center; }
.batch-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.batch-dropzone > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #ed5a52; background: #fff0e6; font-size: 21px; }
.batch-dropzone small { color: #ed5a52; }
.batch-dropzone.dragging { border-color: #ed5a52; background: #fff8ed; }
.users-table-card { min-height: 0; overflow: hidden; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.users-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #171717; font-size: 12px; }
.users-table th, .users-table td { padding: 15px 20px; text-align: left; vertical-align: middle; }
.users-table th { background: #fffaf0; font-weight: 700; }
.users-table td { border: 0; }
.users-table tbody tr + tr td { padding-top: 12px; }
.user-status { font-size: 12px; }
.user-status.enabled { color: #2d815d; }
.user-status.disabled { color: #a3483c; }
.user-edit-link { padding: 0; border: 0; color: #171717; background: transparent; cursor: pointer; font-size: 12px; }
.user-edit-disabled { color: #a7aaa8; font-size: 12px; }
.user-reset-link { margin-left: 12px; padding: 0; border: 0; color: #ed5a52; background: transparent; cursor: pointer; font-size: 12px; }
.user-reset-link:hover { text-decoration: underline; }
.reset-password-actions { padding: 22px 28px 8px; display: flex; justify-content: flex-end; gap: 10px; }
.reset-password-modal > .login-error { margin: 0 28px 24px; }
.user-pagination { min-height: 58px; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 18px; border-top: 1px solid #eee9df; color: #777; font-size: 12px; }
.user-pagination button { min-width: 64px; min-height: 32px; padding: 0 10px; border: 1px solid #171717; border-radius: 7px; color: #171717; background: #fff; cursor: pointer; font-size: 12px; }
.user-pagination button:hover:not(:disabled) { background: #fff6e0; }
.user-pagination button:disabled { color: #b5b5b5; border-color: #d7d7d7; cursor: not-allowed; }
.user-modal { width: min(460px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: auto; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.user-form { padding: 24px 28px 28px; }
.user-form .field { margin-bottom: 16px; }
.user-form .case-action-button { margin-top: 5px; }
.user-modal-identity, .user-modal-help { margin: 7px 0 0; color: #969d99; font-size: 12px; }
.user-modal-help { line-height: 1.7; }
.user-form .field > span i { color: #ed5a52; font-style: normal; }
.edit-user-modal .user-form { padding-top: 8px; }
.edit-user-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.user-cancel-button { min-height: 44px; padding: 0 20px; border: 1px solid #171717; border-radius: 9px; color: #171717; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; }
.user-cancel-button:hover { background: #fff6e0; }
.edit-user-actions .case-action-button { margin-top: 0; }
@media (max-width: 700px) {
  .user-actions { flex-wrap: wrap; }
  .user-actions .cases-search { min-width: 100%; }
  .user-select, .user-add-button { flex: 1; min-width: 135px; }
  .users-table-card { overflow-x: auto; }
  .users-table { min-width: 700px; }
}
.upload-case-shell { max-width: 1120px; }
.upload-case-title { padding-bottom: 30px; }
.upload-case-card { width: min(760px, 100%); padding: 32px; border: 1px solid #171717; border-radius: 18px; background: #fff; }
.upload-case-field { display: block; margin-bottom: 25px; }
.upload-case-field > span { display: block; margin-bottom: 10px; color: #171717; font-size: 14px; font-weight: 500; }
.upload-case-field > span i { color: #ed5a52; font-style: normal; }
.case-dropzone { min-height: 220px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #9b6848; border-radius: 12px; background: #fff; color: #171717; text-align: center; cursor: pointer; }
.case-dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.case-dropzone.dragging { background: #fff8ed; border-color: #ed5a52; }
.case-upload-icon { width: 38px; height: 38px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 50%; color: #ed5a52; background: #fff0e6; font-size: 22px; }
.case-dropzone strong { font-size: 14px; font-weight: 500; }
.case-dropzone small { color: #a5a5a5; font-size: 11px; }
.case-dropzone em { max-width: 80%; overflow: hidden; color: #ed5a52; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.upload-case-field input[type="text"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #171717; border-radius: 9px; background: #fff; outline: none; }
.upload-case-field input[type="text"]::placeholder { color: #b1b1b1; }
.upload-submit-button { margin-top: 2px; }
@media (max-width: 700px) {
  .upload-case-card { padding: 24px 18px; }
  .case-dropzone { min-height: 190px; }
}
@media (max-width: 700px) {
  .cases-topbar { align-items: flex-start; }
  .cases-topbar .top-user-card { display: none; }
  .cases-title { padding-top: 30px; }
  .cases-title h1 { font-size: 34px; }
  .cases-actions { flex-wrap: wrap; }
  .cases-search { min-width: 100%; }
  .case-action-button { flex: 1; min-width: 130px; }
  .cases-table-card { overflow-x: auto; }
  .cases-table { min-width: 760px; }
}
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 36px 20px; background: #fff9eb; }
.login-shell { width: min(460px, 100%); display: block; }
.login-brand { display: none; }
.login-card { padding: 40px 34px 32px; border: 1px solid #171717; border-radius: 26px; background: #fff; box-shadow: 0 18px 42px rgba(116, 77, 42, .1); text-align: center; }
.login-logo { width: 48px; height: 48px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #ed5a52; color: #fff; font: 700 22px/1 var(--body); }
.login-card h1 { margin: 0; color: #18202b; font: 700 28px/1.25 var(--body); letter-spacing: -.04em; }
.login-subtitle { margin: 10px 0 34px; color: #a2a5a5; font-size: 14px; }
.login-card form { text-align: left; }
.login-card .field { margin-bottom: 20px; }
.login-card .field > span { color: #171717; font-size: 14px; font-weight: 500; }
.login-card .field input { height: 48px; border: 1px solid #171717; border-radius: 10px; text-align: left; }
.login-card .field input::placeholder { color: #b5b7b6; }
.login-card .button-primary { min-height: 50px; margin-top: 8px; border: 0; border-radius: 11px; background: #ed5a52; color: #fff; font-size: 15px; box-shadow: none; }
.login-card .button-primary:hover:not(:disabled) { background: #d94b44; box-shadow: none; transform: translateY(-1px); }
.login-help { display: block; margin-top: 20px; color: #a2a5a5; font-size: 11px; }
.login-error { padding: 10px; color: #9f2f23; background: #ffe9e4; border: 1px solid #ffb6a9; font-size: 12px; }

.dashboard-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 90px; }
.dashboard-hero { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.eyebrow { margin: 0 0 14px; font: 700 11px/1.2 var(--display); letter-spacing: .18em; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
.dashboard-hero h1, .submit-intro h1 {
  margin-bottom: 0;
  font: 700 clamp(50px, 7vw, 92px)/.92 var(--display);
  letter-spacing: -.065em;
}
h1 em { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: normal; }
.hero-note { width: min(390px, 38vw); margin-bottom: 7px; color: var(--muted); font-size: 15px; }

.notice { margin: -25px 0 28px; padding: 13px 16px; border: 1px solid #d19a32; background: #fff4d6; color: #725319; font-size: 13px; }
.hidden { display: none !important; }

.my-tasks-panel { margin-bottom: 28px; border: 1px solid var(--ink); background: var(--ink); color: white; box-shadow: 8px 8px 0 rgba(216,243,67,.75); }
.my-tasks-heading { min-height: 88px; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); }
.my-tasks-heading .eyebrow { margin-bottom: 7px; color: #a8b0ab; }
.my-tasks-heading h2 { margin: 0; font: 700 24px/1 var(--display); letter-spacing: -.03em; }
.my-tasks-identity { padding: 7px 10px; border: 1px solid rgba(216,243,67,.55); color: var(--acid); font-size: 10px; font-weight: 700; }
.my-tasks-login { min-height: 98px; padding: 18px 25px; display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; align-items: center; }
.my-tasks-login > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--acid); font-size: 20px; }
.my-tasks-login div { display: flex; flex-direction: column; }
.my-tasks-login strong { font-size: 13px; }
.my-tasks-login small { margin-top: 3px; color: #a8b0ab; font-size: 10px; }
.my-tasks-empty { padding: 30px 25px; color: #a8b0ab; font-size: 12px; text-align: center; }
.my-tasks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.my-task-card { min-width: 0; min-height: 82px; padding: 14px 18px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; border: 0; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); background: transparent; color: white; cursor: pointer; text-align: left; }
.my-task-card:nth-child(2n) { border-right: 0; }
.my-task-card:hover { filter: brightness(1.08); }
.my-task-priority { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; font: 700 9px/1 var(--display); }
.my-task-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.my-task-card small { color: #a8b0ab; font-size: 8px; }
.my-task-card strong { margin-top: 3px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-task-card .status-pill { background: transparent; border-color: rgba(255,255,255,.2); }
.my-task-card > b { color: var(--acid); font-size: 16px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); margin-bottom: 28px; }
.stat-card { min-height: 154px; padding: 24px 27px; background: var(--surface); position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; width: 110px; height: 110px; border: 1px solid currentColor; border-radius: 50%; right: -44px; bottom: -55px; opacity: .16; }
.stat-card span { font-size: 14px; font-weight: 600; }
.stat-card strong { display: block; margin: 9px 0 5px; font: 700 48px/1 var(--display); letter-spacing: -.05em; }
.stat-card small { font: 700 9px/1 var(--display); letter-spacing: .18em; color: var(--muted); }
.stat-open { color: #bc4938; }
.stat-progress { color: #3767d9; }
.stat-resolved { color: #28805d; }
.stat-total { color: var(--ink); }

.board-panel { border: 1px solid var(--line); background: rgba(251, 250, 245, .8); box-shadow: var(--shadow); }
.panel-heading { padding: 27px 30px 23px; display: flex; justify-content: space-between; align-items: center; }
.panel-heading h2, .form-card-heading h2 { margin: 0; font: 700 27px/1 var(--display); letter-spacing: -.03em; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 400 25px/1 var(--display); }
.icon-button:hover { background: var(--acid); border-color: var(--ink); }

.toolbar { min-height: 68px; padding: 12px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.search-field { min-width: 250px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 13px; height: 42px; border: 1px solid var(--line); background: white; }
.search-field span { font-size: 25px; line-height: 0; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.filter-group { display: flex; height: 42px; border: 1px solid var(--line); }
.filter-chip { padding: 0 16px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.filter-chip:last-child { border-right: 0; }
.filter-chip.active { background: var(--ink); color: white; }
.select-control { height: 42px; padding: 0 32px 0 13px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: 12px; }

.state-box { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 40px; }
.state-box h3 { margin: 14px 0 4px; color: var(--ink); }
.state-box p { margin: 0; max-width: 530px; font-size: 13px; }
.loader { width: 30px; height: 30px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.empty-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--acid); color: var(--ink); font-size: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

.bug-list { display: flex; flex-direction: column; }
.bug-row { min-height: 154px; display: grid; grid-template-columns: minmax(0, 1fr) 150px 108px 28px; gap: 25px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, transform .2s; }
.bug-row:last-child { border-bottom: 0; }
.bug-row:hover { background: white; transform: translateX(3px); }
.bug-row.is-resolved { background: white; }
.bug-row.is-resolved .bug-main h3 { text-decoration: line-through; text-decoration-color: rgba(24,32,29,.35); }
.bug-main { min-width: 0; }
.bug-meta { display: flex; gap: 15px; color: var(--muted); font: 600 10px/1 var(--display); letter-spacing: .05em; }
.bug-meta span + span::before { content: "/"; margin-right: 15px; color: var(--line); }
.bug-main h3 { margin: 11px 0 4px; font: 650 19px/1.3 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bug-main p { margin: 0 0 12px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bug-tags, .detail-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { padding: 4px 8px; border: 1px solid currentColor; font-size: 10px; font-weight: 700; line-height: 1; }
.importance-tag.importance-heavy { color: #9f2f23; background: #ffe9e4; }
.importance-tag.importance-medium { color: #976416; background: #fff1c9; }
.importance-tag.importance-light { color: #287057; background: #e4f5ec; }
.bug-row.importance-heavy { background: linear-gradient(90deg, rgba(255,115,92,.2), rgba(255,255,255,.42) 65%); }
.bug-row.importance-medium { background: linear-gradient(90deg, rgba(231,178,52,.18), rgba(255,255,255,.4) 65%); }
.bug-row.importance-light { background: linear-gradient(90deg, rgba(84,180,135,.15), rgba(255,255,255,.38) 65%); }
.my-task-card.importance-heavy { background: rgba(255,115,92,.28); }
.my-task-card.importance-medium { background: rgba(212,154,39,.22); }
.my-task-card.importance-light { background: rgba(84,180,135,.18); }
.my-task-card.importance-heavy .my-task-priority { color: #ff9b88; }
.my-task-card.importance-medium .my-task-priority { color: #f0c866; }
.my-task-card.importance-light .my-task-priority { color: #82d4ad; }
.bug-owner { display: flex; align-items: center; gap: 10px; }
.bug-owner > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font: 700 12px/1 var(--display); }
.bug-owner div { display: flex; flex-direction: column; min-width: 0; }
.bug-owner small { color: var(--muted); font-size: 9px; }
.bug-owner strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-pill { width: max-content; padding: 7px 9px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); font-size: 10px; font-weight: 700; background: white; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.status-open { color: #bc4938; }
.status-pill.status-in_progress { color: #3767d9; }
.status-pill.status-resolved { color: #28805d; }
.row-arrow { font: 400 20px/1 var(--display); }

.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(24, 32, 29, .5); backdrop-filter: blur(4px); }
.detail-drawer { position: fixed; z-index: 41; right: 0; top: 0; width: min(600px, 100%); height: 100vh; background: var(--surface); box-shadow: -20px 0 70px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .32s cubic-bezier(.22,.85,.3,1); overflow: auto; }
.detail-drawer.open { transform: translateX(0); }
.drawer-header { min-height: 132px; padding: 30px 34px; position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); background: rgba(251,250,245,.94); backdrop-filter: blur(14px); }
.drawer-header h2 { margin: 0; max-width: 470px; font: 700 25px/1.25 var(--display); letter-spacing: -.03em; }
.drawer-content { padding: 30px 34px 45px; }
.detail-badges { margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 29px; border: 1px solid var(--line); }
.detail-grid div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid div:nth-child(2n) { border-right: 0; }
.detail-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.detail-grid dt { color: var(--muted); font-size: 10px; }
.detail-grid dd { margin: 3px 0 0; font-size: 13px; font-weight: 600; }
.detail-block { margin-bottom: 26px; }
.detail-block h3 { margin-bottom: 8px; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.detail-block p { margin: 0; color: #4e5853; font-size: 13px; line-height: 1.8; }
.attachment-list { display: flex; gap: 8px; flex-wrap: wrap; }
.attachment-link { padding: 8px 11px; border: 1px solid var(--line); background: white; font-size: 11px; font-weight: 700; }
.attachment-link:hover { border-color: var(--ink); }
.attachment-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.attachment-thumbnail { min-width: 0; padding: 0; border: 1px solid var(--line); background: white; cursor: zoom-in; text-align: left; overflow: hidden; }
.attachment-thumbnail:hover { border-color: var(--ink); box-shadow: 3px 3px 0 var(--acid); }
.thumbnail-image-wrap { height: 135px; position: relative; display: grid; place-items: center; overflow: hidden; background: #e7e6df; }
.attachment-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.thumbnail-image-wrap i { display: none; color: var(--muted); font-size: 9px; }
.attachment-thumbnail.image-load-failed img { display: none; }
.attachment-thumbnail.image-load-failed .thumbnail-image-wrap i { display: block; }
.attachment-thumbnail > span { padding: 8px 10px; display: flex; flex-direction: column; }
.attachment-thumbnail strong { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attachment-thumbnail small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.image-preview-modal { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(12,16,14,.96); color: white; backdrop-filter: blur(12px); }
.image-preview-toolbar { min-height: 76px; padding: 14px clamp(18px, 4vw, 50px); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.image-preview-toolbar .eyebrow { margin-bottom: 4px; color: #a8b0ab; }
.image-preview-toolbar strong { display: block; max-width: 55vw; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.image-preview-toolbar > div:first-child > small { display: block; margin-top: 2px; color: #a8b0ab; font-size: 9px; }
.image-preview-actions { display: flex; align-items: center; gap: 10px; }
.image-preview-actions .button { color: white; border-color: rgba(255,255,255,.45); }
.image-preview-actions .icon-button { color: white; border-color: rgba(255,255,255,.45); }
.image-preview-stage { min-height: 0; padding: clamp(18px, 3vw, 40px) clamp(55px, 7vw, 90px); position: relative; display: grid; place-items: center; overflow: hidden; }
.image-preview-stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.image-preview-stage img.is-loading { visibility: hidden; }
.image-preview-loading, .image-preview-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #a8b0ab; }
.image-preview-error strong { color: white; font-size: 15px; }
.image-preview-error small, .image-preview-loading small { font-size: 10px; }
.image-preview-nav { position: absolute; z-index: 2; top: 50%; width: 44px; height: 64px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: white; cursor: pointer; font-size: 21px; }
.image-preview-nav:hover:not(:disabled) { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.image-preview-nav:disabled { display: none; }
.image-preview-previous { left: 16px; }
.image-preview-next { right: 16px; }
.image-preview-strip { min-height: 82px; padding: 10px 20px 14px; display: flex; justify-content: center; gap: 8px; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.12); }
.image-preview-strip button { width: 70px; height: 54px; padding: 2px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.25); background: transparent; opacity: .55; cursor: pointer; }
.image-preview-strip button.active { border-color: var(--acid); opacity: 1; }
.image-preview-strip img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fix-panel { margin: 38px -34px -45px; padding: 30px 34px 45px; border-top: 1px solid var(--ink); background: #e9e7dd; }
.fix-panel-title span { color: var(--muted); font: 700 9px/1 var(--display); letter-spacing: .18em; }
.fix-panel-title h3 { margin: 4px 0 20px; font: 700 24px/1 var(--display); }
.assignment-box { margin-bottom: 18px; padding: 16px; border: 1px solid var(--ink); background: rgba(255,255,255,.5); }
.assignment-heading { margin-bottom: 13px; display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.assignment-heading strong { font: 700 13px/1 var(--display); }
.assignment-heading small, .assignment-hint { color: var(--muted); font-size: 9px; }
.assignment-box .field { margin-bottom: 0; }
.assignment-hint { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); }

.submit-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(45px, 7vw, 100px); align-items: start; }
.submit-intro { position: sticky; top: 145px; }
.submit-intro h1 { font-size: clamp(48px, 5.2vw, 72px); }
.submit-intro > p:not(.eyebrow) { margin: 30px 0 40px; color: var(--muted); font-size: 14px; }

.form-card { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.form-card-heading { padding: 30px 34px; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); }
.required-note { color: var(--muted); font-size: 11px; }
i { font-style: normal; }
.required-note i, .field > span i { color: #d33e2b; }
.form-card .notice { margin: 20px 34px 0; }
.form-section { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 34px; border-bottom: 1px solid var(--line); }
.section-number { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--acid); font: 700 10px/1 var(--display); }
.section-fields h3 { margin-bottom: 25px; font: 700 17px/1 var(--display); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-row-three { grid-template-columns: 1.25fr .85fr .85fr; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: 11px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: white; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input, .field select { height: 46px; padding: 0 13px; }
.field textarea { padding: 12px 13px; resize: vertical; min-height: 95px; line-height: 1.65; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--acid); }
.field input::placeholder, .field textarea::placeholder { color: #a2a7a3; }
.upload-zone { min-height: 150px; padding: 27px; border: 1px dashed #9fa49f; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f5f4ee; cursor: pointer; text-align: center; transition: background .2s, border-color .2s; }
.upload-zone.dragging, .upload-zone:hover { border-color: var(--ink); background: #eff5d1; }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { width: 35px; height: 35px; margin-bottom: 11px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 19px; }
.upload-zone strong { font-size: 13px; }
.upload-zone small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-item { padding: 9px 11px; display: grid; grid-template-columns: 38px 1fr 30px; align-items: center; gap: 10px; border: 1px solid var(--line); background: white; }
.file-type { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--acid); font: 700 8px/1 var(--display); }
.file-item > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.file-item strong { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item small { color: var(--muted); font-size: 9px; }
.file-item button { border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.form-actions { padding: 25px 34px; display: flex; justify-content: flex-end; gap: 12px; background: #e9e7dd; }

.modal-backdrop { display: grid; place-items: center; padding: 20px; }
.success-modal { width: min(460px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: auto; padding: 32px; border: 1px solid #171717; border-radius: 18px; background: #fff; text-align: center; box-shadow: none; }
.success-mark { width: 54px; height: 54px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--orange), var(--orange-deep)); font-size: 25px; }
.success-modal h2 { margin: 0 0 12px; color: #19212b; font: 700 25px/1.2 var(--body); letter-spacing: -.04em; }
.success-modal > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.modal-actions { margin-top: 26px; display: flex; justify-content: flex-end; gap: 10px; }
.developer-modal { width: min(760px, 100%); max-height: min(820px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--ink); background: var(--surface); box-shadow: 10px 10px 0 var(--acid); }
.login-modal { width: min(650px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--ink); background: var(--surface); box-shadow: 10px 10px 0 var(--acid); }
.login-filters { padding: 18px 30px 0; display: flex; align-items: center; gap: 12px; }
.login-filters .login-search { min-width: 0; flex: 1; }
.login-filters .select-control { flex: none; width: 150px; }
.login-filter-empty { grid-column: 1 / -1; padding: 24px 20px; text-align: center; color: var(--muted); font-size: 12px; border: 1px dashed var(--line); background: white; }
.login-developer-list { padding: 22px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.login-developer-card { min-width: 0; padding: 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 1px solid var(--line); background: white; cursor: pointer; text-align: left; }
.login-developer-card:hover, .login-developer-card.is-current { border-color: var(--ink); box-shadow: 3px 3px 0 var(--acid); }
.login-developer-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.login-developer-card strong { font-size: 12px; }
.login-developer-card small { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-developer-card > b { color: var(--muted); font-size: 9px; white-space: nowrap; }
.login-developer-card.is-current > b { color: #28805d; }
.login-empty { padding: 34px 30px; text-align: center; }
.login-empty p { color: var(--muted); font-size: 12px; }
.logout-area { padding: 15px 30px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #e9e7dd; }
.login-register { padding: 16px 30px; border-top: 1px solid var(--line); background: #e9e7dd; }
.logout-area span { color: var(--muted); font-size: 10px; }
.developer-modal-header { padding: 28px 30px 23px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.developer-modal-header h2 { margin: 0 0 9px; font: 700 28px/1 var(--display); letter-spacing: -.03em; }
.developer-modal-header > div > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.developer-form { padding: 26px 30px 20px; background: #e9e7dd; border-bottom: 1px solid var(--line); }
.developer-form .field { margin-bottom: 16px; }
.directory-heading { padding: 19px 30px 12px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.directory-heading span { color: var(--muted); }
.developer-list { padding: 0 30px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.developer-card { min-width: 0; padding: 12px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; border: 1px solid var(--line); background: white; }
.developer-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font: 700 13px/1 var(--display); }
.developer-card > div { min-width: 0; display: flex; flex-direction: column; }
.developer-card strong { font-size: 12px; }
.developer-card small { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.developer-card a { padding: 4px 7px; border: 1px solid var(--line); font-size: 9px; font-weight: 700; }
.directory-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 12px; }

.resolve-check { margin: 2px 0 19px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: white; cursor: pointer; }
.resolve-check input { position: absolute; opacity: 0; }
.check-box { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ink); color: transparent; flex: 0 0 auto; }
.resolve-check input:checked + .check-box { color: var(--ink); background: var(--acid); }
.resolve-check > span:last-child { display: flex; flex-direction: column; }
.resolve-check strong { font-size: 12px; }
.resolve-check small { color: var(--muted); font-size: 9px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 25px; max-width: calc(100% - 30px); padding: 12px 17px; transform: translate(-50%, 35px); opacity: 0; pointer-events: none; background: var(--ink); color: white; font-size: 12px; box-shadow: 5px 5px 0 rgba(216,243,67,.7); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #9f3325; box-shadow: 5px 5px 0 #ff9f8f; }
.toast.success { background: #246b4e; }

.reveal { animation: reveal .65s both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 950px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .submit-page .topbar { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .toolbar { flex-wrap: wrap; }
  .search-field { min-width: 100%; }
  .filter-group { flex: 1; }
  .filter-chip { flex: 1; padding: 0 10px; }
  .bug-row { grid-template-columns: minmax(0, 1fr) 105px 28px; gap: 16px; }
  .bug-owner { display: none; }
  .submit-shell { grid-template-columns: 1fr; }
  .submit-intro { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: end; }
  .submit-intro > p { grid-column: 1; }
}

/* Final sidebar overrides keep the specification above the legacy workspace rules. */
@media (min-width: 951px) {
  body:not(.login-page) .topbar { width: 252px; padding: 42px 20px 28px; border-right: 0; background: linear-gradient(180deg, #F28C40 0%, #F6AD69 46%, #FFF1D0 100%); box-shadow: none; }
  body:not(.login-page) .brand { width: 100%; margin: 0 8px 38px; color: #fff; }
  body:not(.login-page) .brand strong { color: #fff; font: 700 21px/1.25 var(--body); letter-spacing: -.05em; }
  body:not(.login-page) .topnav { display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 0; }
  body:not(.login-page) .nav-menu-card { display: flex; flex-direction: column; gap: 0; padding: 10px; border: 1px solid #171717; border-radius: 18px; background: #fff; box-shadow: none; }
  body:not(.login-page) .nav-menu-card a, body:not(.login-page) .nav-notice { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-start; border-radius: 11px; color: #171717; font-size: 14px; font-weight: 500; }
  body:not(.login-page) .nav-menu-card a::after, body:not(.login-page) .nav-notice::after { display: none; }
  body:not(.login-page) .nav-menu-card a:hover, body:not(.login-page) .nav-menu-card a.active { color: #171717; background: #FFF6E0; }
  body:not(.login-page) .nav-menu-card .nav-test-root { font-weight: 700; }
  body:not(.login-page) .nav-notice { width: 100%; margin-top: 22px; justify-content: center; border: 1px solid #171717; border-radius: 18px; background: #fff; box-shadow: none; cursor: pointer; }
  body:not(.login-page) .nav-notice:hover { background: #fff; }
  body:not(.login-page) .nav-dot, body:not(.login-page) .nav-icon, body:not(.login-page) .nav-section-label { display: none; }
  body:not(.login-page) .dashboard-shell, body:not(.login-page) .submit-shell { width: min(1120px, calc(100% - 332px)); margin-left: 292px; }
}

/* Centered sidebar typography and balanced spacing. */
@media (min-width: 951px) {
  body:not(.login-page) .topbar {
    width: 252px;
    padding: 46px 22px 30px;
  }
  body:not(.login-page) .brand {
    width: 100%;
    margin: 0 0 34px;
    justify-content: center;
    text-align: center;
    transform: translateX(-10px);
  }
  body:not(.login-page) .brand strong {
    display: block;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.04em;
    text-align: center;
  }
  body:not(.login-page) .nav-menu-card {
    padding: 12px;
    border-radius: 20px;
  }
  body:not(.login-page) .nav-menu-card a {
    min-height: 46px;
    padding: 0 12px;
    justify-content: center;
    border-radius: 12px;
    text-align: center;
    line-height: 1.3;
  }
  body:not(.login-page) .nav-menu-card .nav-test-root {
    min-height: 48px;
  }
  body:not(.login-page) .nav-notice {
    min-height: 46px;
    margin-top: 18px;
    border-radius: 16px;
    text-align: center;
  }
}

/* Sidebar layout matching the navigation specification. */
@media (min-width: 951px) {
  body:not(.login-page) .topbar {
    width: 252px;
    padding: 42px 20px 28px;
    border-right: 0;
    background: linear-gradient(180deg, #e96832 0%, #f28b45 43%, #fff0c9 100%);
    box-shadow: 8px 0 26px rgba(143, 75, 35, .12);
  }
  body:not(.login-page) .brand {
    width: 100%;
    margin: 0 8px 38px;
    color: #fff;
  }
  body:not(.login-page) .brand strong {
    color: #fff;
    font: 700 21px/1.25 var(--body);
    letter-spacing: -.05em;
  }
  body:not(.login-page) .topnav {
    display: flex;
    flex: 0 0 auto;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }
  body:not(.login-page) .nav-menu-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(137, 72, 34, .1);
  }
  body:not(.login-page) .nav-menu-card a,
  body:not(.login-page) .nav-notice {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 11px;
    color: #171717;
    font-size: 14px;
    font-weight: 500;
  }
  body:not(.login-page) .nav-menu-card a::after,
  body:not(.login-page) .nav-notice::after { display: none; }
  body:not(.login-page) .nav-menu-card a:hover,
  body:not(.login-page) .nav-menu-card a.active,
  body:not(.login-page) .nav-menu-card a.nav-test-root.active {
    color: #171717;
    background: #FFF6E0;
  }
  body:not(.login-page) .nav-menu-card .nav-test-root {
    font-weight: 700;
  }
  body:not(.login-page) .nav-notice {
    width: 100%;
    margin-top: 22px;
    justify-content: center;
    border: 1px solid #171717;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
  }
  body:not(.login-page) .nav-notice:hover { background: #fff; }
  body:not(.login-page) .nav-dot,
  body:not(.login-page) .nav-icon,
  body:not(.login-page) .nav-section-label { display: none; }
  body:not(.login-page) .dashboard-shell,
  body:not(.login-page) .submit-shell {
    width: min(1120px, calc(100% - 332px));
    margin-left: 292px;
  }
}

/* Warm orange visual refresh: dark fills become energetic orange accents. */
:root {
  --orange: #f07a3d;
  --orange-deep: #d95d2b;
  --orange-soft: #fff0e6;
  --orange-pale: #fff7f0;
  --orange-shadow: rgba(240, 122, 61, .28);
}

.brand-mark,
.identity-button > span:first-child,
.top-user-avatar,
.bug-owner > span,
.section-number,
.file-type,
.developer-avatar,
.login-card-badge {
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.topnav a::after { background: var(--orange); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); border-color: var(--orange-deep); }
.button-primary:hover:not(:disabled) { background: linear-gradient(135deg, #ff8b4e, var(--orange)); }
.button:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--orange-shadow); }
.button-ghost:hover:not(:disabled),
.icon-button:hover { background: var(--orange-soft); border-color: var(--orange); }
.filter-chip.active { background: var(--orange); color: #fff; }
.filter-chip.active:hover { background: var(--orange-deep); }
.empty-icon, .success-mark { background: #ffb36f; color: #7d3219; }

.my-tasks-panel {
  border-color: var(--orange-deep);
  background: linear-gradient(135deg, #e96b34 0%, #f08343 58%, #f79a52 100%);
  box-shadow: 8px 8px 0 rgba(255, 190, 105, .55);
}
.my-tasks-heading { border-bottom-color: rgba(255,255,255,.28); }
.my-tasks-heading .eyebrow,
.my-tasks-login small,
.my-tasks-empty,
.my-task-card small { color: rgba(255,255,255,.76); }
.my-tasks-identity { border-color: rgba(255,255,255,.62); color: #fff; }
.my-tasks-login > span { border-color: rgba(255,255,255,.52); color: #fff3cf; }
.my-task-card { border-color: rgba(255,255,255,.22); }
.my-task-card > b { color: #fff1c3; }
.my-task-card.importance-heavy { background: rgba(151, 35, 20, .2); }
.my-task-card.importance-medium { background: rgba(255, 207, 102, .2); }
.my-task-card.importance-light { background: rgba(255, 255, 255, .1); }

.service-cases .service-icon { background: #fff0c6; color: #9a5b17; }
.service-bugs .service-icon { background: #ffe0d2; color: #b14f31; }
.case-status { color: var(--orange-deep); background: var(--orange-soft); border-color: #f3b18d; }
.toast { background: linear-gradient(135deg, var(--orange-deep), var(--orange)); box-shadow: 5px 5px 0 rgba(255, 190, 105, .7); }
.toast.success { background: #33835f; }
.toast.error { background: #b13b2d; }
.resolve-check input:checked + .check-box { color: #fff; background: var(--orange); border-color: var(--orange-deep); }
.upload-zone.dragging, .upload-zone:hover { border-color: var(--orange); background: var(--orange-pale); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 3px 3px 0 #ffc078; }
.image-preview-nav:hover:not(:disabled) { background: var(--orange); color: #fff; border-color: var(--orange); }

body:not(.login-page) .brand-mark { background: linear-gradient(145deg, var(--orange), var(--orange-deep)); color: #fff; }
body:not(.login-page) .topnav a:hover,
body:not(.login-page) .topnav a.active { background: #fff0df; }
body:not(.login-page) .top-user-avatar { background: linear-gradient(145deg, var(--orange), var(--orange-deep)); }

.login-page .login-card { box-shadow: 0 22px 60px rgba(212, 100, 43, .16); }
.login-page .button-primary { box-shadow: 0 10px 20px rgba(240, 122, 61, .2); }

@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .topbar { height: 58px; padding: 0 12px; position: sticky; }
  .brand-mark { width: 34px; height: 34px; }
  .brand strong { font-size: 13px; }
  .brand small { letter-spacing: .12em; }
  .top-actions .button { padding: 0 12px; font-size: 11px; }
  .top-actions .button-ghost { display: none; }
  .identity-button > span:last-child { display: none; }
  .identity-button { height: 38px; padding: 0 5px; border: 0; background: transparent; }
  .identity-button > span:first-child { width: 32px; height: 32px; }
   .mobile-bottom-nav { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; min-height: 64px; padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(251,250,245,.96); backdrop-filter: blur(16px); box-shadow: 0 -8px 30px rgba(24,32,29,.1); }
  .mobile-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); }
  .mobile-bottom-nav a.active { color: var(--ink); }
  .mobile-bottom-nav a.active::before { content: ""; position: absolute; top: -1px; left: 25%; right: 25%; height: 3px; background: var(--acid-dark); }
  .mobile-bottom-nav span { font: 700 19px/1 var(--display); }
  .mobile-bottom-nav strong { font-size: 10px; }
  .my-tasks-panel { box-shadow: 4px 4px 0 rgba(216,243,67,.75); }
  .my-tasks-heading { min-height: 0; padding: 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .my-tasks-heading h2 { font-size: 20px; }
  .my-tasks-identity { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .my-tasks-login { grid-template-columns: 42px 1fr; }
  .my-tasks-login { padding: 16px; }
  .my-tasks-login .button { grid-column: 1 / -1; width: 100%; }
  .my-tasks-list { grid-template-columns: 1fr; }
  .my-task-card { min-height: 76px; padding: 12px 14px; border-right: 0; grid-template-columns: 38px minmax(0,1fr) 18px; }
  .my-task-card .status-pill { display: none; }
  .dashboard-shell, .submit-shell { width: min(100% - 20px, 1320px); padding-top: 18px; padding-bottom: 30px; }
  .submit-intro { margin-bottom: 22px; }
  .submit-intro h1 { font-size: 39px; }
  .hero-note { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 102px; padding: 14px; }
  .stat-card strong { margin-top: 4px; font-size: 32px; }
  .stat-card span { font-size: 12px; }
  .panel-heading { padding: 18px 14px; }
  .panel-heading h2 { font-size: 23px; }
  .toolbar { padding: 11px; }
  .search-field { height: 44px; }
  .filter-group { width: 100%; flex: none; overflow-x: auto; }
  .filter-chip { min-width: 72px; }
  .select-control { width: 100%; flex: none; }
  .bug-row { min-height: 0; grid-template-columns: minmax(0,1fr) 25px; padding: 16px 12px; gap: 10px; }
  .bug-row > .status-pill { grid-column: 1; grid-row: 2; padding: 5px 7px; }
  .row-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .bug-main h3 { margin-top: 8px; font-size: 16px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .bug-main p { display: -webkit-box; margin-bottom: 9px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
  .bug-meta { gap: 8px; }
  .bug-meta span + span::before { margin-right: 8px; }
  .bug-meta span:nth-child(3) { display: none; }
  .detail-drawer { width: 100%; }
  .drawer-header { min-height: 96px; padding-top: 18px; padding-bottom: 18px; }
  .drawer-header h2 { font-size: 20px; }
  .drawer-header, .drawer-content { padding-left: 16px; padding-right: 16px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid div { border-right: 0; }
  .detail-grid div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-grid div:last-child { border-bottom: 0; }
  .attachment-gallery { grid-template-columns: 1fr; }
  .thumbnail-image-wrap { height: 180px; }
  .image-preview-toolbar { align-items: flex-start; }
  .image-preview-actions .button { display: none; }
  .image-preview-stage { padding: 14px 45px; }
  .image-preview-nav { width: 34px; height: 52px; }
  .image-preview-previous { left: 5px; }
  .image-preview-next { right: 5px; }
  .fix-panel { margin-left: -16px; margin-right: -16px; padding: 24px 16px 38px; }
  .submit-intro { display: block; }
  .submit-intro > p:not(.eyebrow) { margin: 18px 0 22px; }
  .form-card-heading, .form-section, .form-actions { padding-left: 14px; padding-right: 14px; }
  .form-card-heading { padding-top: 20px; padding-bottom: 20px; }
  .form-card-heading h2 { font-size: 23px; }
  .form-section { grid-template-columns: 1fr; }
  .section-number { margin-bottom: -5px; }
  .field-row, .field-row-three { grid-template-columns: 1fr; gap: 0; }
  .field input, .field select { height: 48px; }
  .field textarea { min-height: 110px; }
  .upload-zone { min-height: 132px; padding: 20px 14px; }
  .file-item { grid-template-columns: 36px minmax(0,1fr) 34px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 5; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(24,32,29,.08); }
  .form-actions .button { width: 100%; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
  .success-modal { padding: 30px 20px; }
  .developer-modal, .login-modal { width: 100%; max-height: calc(100vh - 12px); align-self: end; box-shadow: none; }
  .developer-modal-header, .developer-form, .directory-heading, .developer-list { padding-left: 18px; padding-right: 18px; }
  .developer-list { grid-template-columns: 1fr; }
  .login-filters { padding-left: 18px; padding-right: 18px; }
  .login-filters .select-control { width: 120px; }
  .panel-actions .button { display: none; }
  .case-form, .case-row { padding-left: 14px; padding-right: 14px; }
  .case-row { flex-direction: column; gap: 10px; }
  .login-page { padding: 16px; }
   .login-shell { width: min(460px, 100%); }
   .login-card { padding: 34px 24px 28px; }
   .login-card h1 { font-size: 24px; }
  .login-developer-list { padding-left: 18px; padding-right: 18px; grid-template-columns: 1fr; }
  .logout-area { align-items: stretch; flex-direction: column; padding-left: 18px; padding-right: 18px; }
  .login-register { padding-left: 18px; padding-right: 18px; }
  .assignment-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* High-fidelity workspace layout from details.md */
@media (min-width: 951px) {
  body:not(.login-page) { background: #f7f7f5; }
  body:not(.login-page) .topbar { position: fixed; inset: 0 auto 0 0; width: 240px; height: 100vh; padding: 48px 20px 28px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; border: 0; border-right: 1px solid #e5e5e1; background: #fff; box-shadow: 8px 0 28px rgba(32, 37, 34, .035); backdrop-filter: none; }
  body:not(.login-page) .brand { margin: 0 12px 43px; gap: 10px; }
  body:not(.login-page) .brand-mark { width: 40px; height: 40px; border-radius: 12px; transform: none; background: var(--ink); color: #fff; }
  body:not(.login-page) .brand strong { font-size: 14px; letter-spacing: -.02em; }
  body:not(.login-page) .brand small { margin-top: 5px; font-size: 8px; letter-spacing: .12em; }
  body:not(.login-page) .topnav { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 4px; }
  body:not(.login-page) .topnav a { min-height: 44px; padding: 0 12px; display: flex; justify-content: flex-start; gap: 10px; border-radius: 10px; color: #757b78; font-size: 13px; font-weight: 600; }
  body:not(.login-page) .topnav a::after { display: none; }
  body:not(.login-page) .topnav a:hover, body:not(.login-page) .topnav a.active { color: var(--ink); background: #f0f4d9; }
  body:not(.login-page) .nav-section-label { padding: 0 12px 8px; color: #a2a7a4; font: 700 9px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
  body:not(.login-page) .nav-section-spaced { margin-top: 29px; }
  body:not(.login-page) .nav-icon { width: 18px; color: #7f8782; text-align: center; font-size: 16px; }
  body:not(.login-page) .nav-dot { width: 8px; height: 8px; margin-left: 5px; border-radius: 50%; background: #bbc3bd; }
  body:not(.login-page) .dot-test { background: #f2a34b; }
  body:not(.login-page) .dot-front { background: #7d9cf2; }
  body:not(.login-page) .dot-back { background: #78c5a1; }
  body:not(.login-page) .dot-design { background: #d994c5; }
  body:not(.login-page) .dot-product { background: #ef7e6b; }
  body:not(.login-page) .topnav .nav-notice { margin-top: auto; }
  body:not(.login-page) .top-actions { position: fixed; z-index: 25; top: 10px; right: 40px; width: 190px; }
  body:not(.login-page) .top-actions { display: none; }
  body:not(.login-page) .top-user-card { position: fixed; z-index: 25; top: 10px; right: 40px; }
  body:not(.login-page) .dashboard-shell, body:not(.login-page) .submit-shell { width: min(1120px, calc(100% - 320px)); margin-left: 280px; margin-right: 40px; padding-top: 30px; }
  body:not(.login-page) .submit-shell { display: block; }
  body:not(.login-page) .submit-intro { display: none; }
  body:not(.login-page) .form-card { width: min(820px, 100%); margin-top: 25px; }
  .workspace-heading { min-height: 128px; padding: 8px 0 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .workspace-heading h1 { margin: 0 0 8px; font: 700 32px/1.1 var(--display); letter-spacing: -.05em; }
  .workspace-heading p:not(.eyebrow) { margin: 0; color: #8a918d; font-size: 13px; }
  .workspace-role { padding: 9px 13px; border: 1px solid #dfe5c2; border-radius: 8px; color: #69722f; background: #f4f7df; font-size: 11px; font-weight: 700; }
  .submit-heading { margin-bottom: 8px; }
  body:not(.login-page) .my-tasks-panel { border-radius: 14px; box-shadow: 0 16px 35px rgba(24,32,29,.12); }
  body:not(.login-page) .stats-grid, body:not(.login-page) .board-panel, body:not(.login-page) .form-card { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 35px rgba(32,37,34,.06); }
  body:not(.login-page) .stat-card { min-height: 132px; padding: 23px 24px; }
  body:not(.login-page) .panel-heading { padding: 24px 28px; }
  body:not(.login-page) .toolbar { padding: 14px 20px; }
  body:not(.login-page) .home-services { grid-template-columns: 1fr 1fr; }
}

.login-page { position: relative; overflow: hidden; }
.login-page::before { display: none; }
.login-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.login-orb-peach { width: 318px; height: 318px; right: -100px; bottom: -130px; background: #f6cfc5; opacity: .68; }
.login-card { position: relative; }
.login-card-badge { display: none; }

@media (max-width: 950px) {
  .workspace-heading { padding: 18px 0 24px; }
  .workspace-heading h1 { font-size: 28px; }
  .topnav .nav-section-label, .topnav .nav-section-spaced, .topnav .nav-notice, .topnav .nav-icon, .topnav .nav-dot { display: none; }
  .top-user-card { display: none; }
  .home-services { grid-template-columns: 1fr; }
  .workspace-date { display: none; }
  .workspace-breadcrumb { margin-top: 0; }
}

@media (min-width: 951px) {
  body:not(.login-page) .topbar { width: 252px; padding: 42px 20px 28px; border-right: 0; background: linear-gradient(180deg, #F28C40 0%, #F6AD69 46%, #FFF1D0 100%); box-shadow: none; }
  body:not(.login-page) .brand { width: 100%; margin: 0 8px 38px; color: #fff; }
  body:not(.login-page) .brand strong { color: #fff; font: 700 21px/1.25 var(--body); letter-spacing: -.05em; }
  body:not(.login-page) .brand small.brand-version { display: block; margin-top: 7px; color: rgba(255,255,255,.78); font: 500 10px/1 var(--body); letter-spacing: .08em; }
  body:not(.login-page) .topnav { display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 0; }
  body:not(.login-page) .nav-menu-card { display: flex; flex-direction: column; gap: 0; padding: 10px; border: 1px solid #171717; border-radius: 18px; background: #fff; box-shadow: none; }
  body:not(.login-page) .nav-menu-card a, body:not(.login-page) .nav-notice { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: flex-start; border-radius: 11px; color: #171717; font-size: 14px; font-weight: 500; }
  body:not(.login-page) .nav-menu-card a::after, body:not(.login-page) .nav-notice::after { display: none; }
  body:not(.login-page) .nav-menu-card a:hover, body:not(.login-page) .nav-menu-card a.active { color: #171717; background: #FFF6E0; }
  body:not(.login-page) .nav-menu-card .nav-test-root { font-weight: 700; }
  body:not(.login-page) .nav-notice { width: 100%; margin-top: 22px; justify-content: center; border: 1px solid #171717; border-radius: 18px; background: #fff; box-shadow: none; cursor: pointer; }
  body:not(.login-page) .nav-notice:hover { background: #fff; }
  body:not(.login-page) .nav-dot, body:not(.login-page) .nav-icon, body:not(.login-page) .nav-section-label { display: none; }
  body:not(.login-page) .dashboard-shell, body:not(.login-page) .submit-shell { width: min(1120px, calc(100% - 332px)); margin-left: 292px; }
}
