@layer reset,base,layout,components,responsive;
@layer reset {
  * {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  h4,
  p {
    margin: 0;
  }
  button,
  input,
  textarea,
  select {
    font: inherit;
  }
  button,
  a,
  input,
  textarea,
  select {
    -webkit-tap-highlight-color: transparent;
  }
  button,
  a {
    touch-action: manipulation;
  }
  button {
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    color: inherit;
  }
  button:disabled {
    cursor: wait;
    opacity: 0.5;
  }
  svg {
    display: block;
    flex-shrink: 0;
  }
  button svg {
    pointer-events: none;
  }
}
@layer base {
  :root {
    color-scheme: dark;
    --bg: #0d0d0d;
    --panel: #171717;
    --panel2: #1e1e1e;
    --line: #2a2a2a;
    --text: #f6f5f3;
    --muted: #9b9b98;
    --orange: #ffa21f;
    --orange-soft: #302518;
    --radius: 26px;
    font-family:
      Inter,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
    font-size: 15px;
    font-synthesis: none;
  }
  html {
    background: var(--bg);
    scroll-behavior: smooth;
  }
  body {
    color: var(--text);
    line-height: 1.5;
    min-width: 320px;
  }
  button {
    border: 0;
    background: none;
  }
  input,
  textarea,
  select {
    color: var(--text);
    background: #121212;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    width: 100%;
    transition:
      border-color 0.18s,
      background 0.18s;
  }
  input:focus,
  textarea:focus,
  select:focus {
    border-color: #a8732e;
    background: #161412;
  }
  textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.65;
  }
  input::placeholder,
  textarea::placeholder {
    color: #757571;
  }
  input[type="checkbox"] {
    accent-color: var(--orange);
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }
  input[type="number"] {
    appearance: textfield;
  }
  label {
    display: block;
    color: #bdbdb8;
    font-size: 13px;
  }
  label > input,
  label > textarea,
  label > select {
    margin-top: 8px;
  }
  h1,
  h2,
  h3 {
    font-weight: 550;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
    line-height: 1.13;
  }
  h2 {
    font-size: 26px;
    letter-spacing: -0.8px;
    line-height: 1.25;
  }
  h3 {
    font-size: 18px;
    letter-spacing: -0.35px;
    line-height: 1.4;
  }
  ::selection {
    background: #6b471d;
    color: white;
  }
  :focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
  }
  button,
  a {
    transition:
      background 0.18s,
      color 0.18s,
      border-color 0.18s,
      opacity 0.18s;
  }
  button:active,
  .btn:active {
    filter: brightness(0.85);
  }
  .muted {
    color: var(--muted);
  }
  .accent {
    color: var(--orange);
  }
  .small {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
  }
  .hidden {
    display: none !important;
  }
}
@layer layout {
  .shell {
    max-width: 1500px;
    min-height: 100dvh;
    margin: auto;
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    padding: 42px 22px 28px 30px;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 43px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 10px;
  }
  .brand-symbol {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 40px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .brand-symbol img {
    position: absolute;
    width: 90px;
    height: 90px;
    max-width: none;
    left: -26px;
    top: -25px;
  }
  .brand-word {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -1.3px;
  }
  .brand-word > span {
    color: var(--orange);
  }
  .side-nav {
    display: grid;
    gap: 8px;
  }
  .nav-link {
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-size: 14px;
    text-align: left;
  }
  .nav-link.active {
    background: #252016;
    color: var(--orange);
  }
  .nav-link:not(.active):hover {
    color: var(--text);
    background: var(--panel);
  }
  .nav-count {
    margin-left: auto;
    font-size: 11px;
    color: #aaa;
  }
  .sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 24px;
  }
  .main {
    padding: 35px 48px 48px;
    min-width: 0;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    margin-bottom: 24px;
  }
  .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #29251e;
    color: #ffd18e;
    display: grid;
    place-items: center;
    font-size: 13px;
  }
  .user-name {
    font-size: 12px;
  }
  .page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
  }
  .page-intro p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    max-width: 540px;
  }
  .page-intro h1 {
    font-size: 28px;
  }
  .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .stack {
    display: grid;
    gap: 18px;
  }
  .columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
  }
  .mobile-nav {
    display: none;
  }
  .mobile-brand {
    display: none;
  }
  .status-strip {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 15px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 24px;
  }
  .status-strip a {
    margin-left: auto;
  }
  .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #9b9b89;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .dot.orange {
    background: var(--orange);
  }
  .dot.green {
    background: #a7c193;
  }
  .dot.red {
    background: #dd8a7a;
  }
  .boot {
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    color: var(--muted);
    padding: 24px;
    text-align: center;
  }
  .boot p {
    font-size: 14px;
  }
  .loading-line {
    width: 130px;
    height: 2px;
    background: #242424;
    overflow: hidden;
    border-radius: 4px;
  }
  .loading-line:after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: var(--orange);
    animation: loading 1.3s ease-in-out infinite;
  }
  @keyframes loading {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(330%);
    }
  }
}
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 15px;
    padding: 13px 18px;
    min-height: 46px;
    font-size: 13px;
    font-weight: 550;
    white-space: nowrap;
    border: 1px solid transparent;
  }
  .btn.primary {
    color: #19130a;
    background: var(--orange);
  }
  .btn.primary:hover {
    background: #ffb346;
  }
  .btn.secondary {
    background: #252525;
    border-color: #303030;
    color: #eee;
  }
  .btn.secondary:hover {
    background: #303030;
  }
  .btn.ghost {
    background: transparent;
    border-color: var(--line);
    color: #c7c7c1;
  }
  .btn.ghost:hover {
    background: #242424;
  }
  .btn.danger {
    color: #eca290;
    background: #32201d;
  }
  .btn.full {
    width: 100%;
  }
  .btn.compact {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 12px;
    border-radius: 12px;
  }
  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .icon-btn:hover {
    color: var(--text);
    background: #242424;
  }
  .icon-btn.saved {
    color: var(--orange);
    background: var(--orange-soft);
    border-color: #4a3520;
  }
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 24px;
  }
  .tabs {
    display: flex;
    gap: 4px;
    padding: 5px;
    background: #171717;
    border-radius: 16px;
    overflow: auto;
    max-width: 100%;
  }
  .tab {
    padding: 9px 15px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
  }
  .tab.active {
    background: #30302d;
    color: #f4f4ef;
  }
  .tab span {
    margin-left: 6px;
    opacity: 0.55;
    font-size: 11px;
  }
  .search-input {
    width: 190px;
    position: relative;
  }
  .search-input svg {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #7d7d78;
  }
  .search-input input {
    border-radius: 14px;
    padding: 12px 13px 12px 38px;
    font-size: 12px;
    background: transparent;
  }
  .job-card {
    background: var(--panel);
    border: 1px solid #252525;
    border-radius: var(--radius);
    padding: 23px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition:
      border-color 0.2s,
      background 0.2s;
    animation: arrive 0.3s ease-out both;
  }
  .job-card:hover {
    border-color: #404039;
    background: #1a1a19;
  }
  .job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
  }
  .category-pill {
    font-size: 10px;
    letter-spacing: 0.1px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c3c3b9;
    background: #242422;
    border-radius: 9px;
    padding: 6px 9px;
    max-width: calc(100% - 38px);
  }
  .category-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-time {
    font-size: 10px;
    color: #94948d;
    white-space: nowrap;
  }
  .job-card h3 {
    margin-bottom: 11px;
    max-width: 95%;
    min-height: 50px;
  }
  .title-button {
    text-align: left;
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
  }
  .title-button:hover {
    color: #ffc779;
  }
  .job-description {
    font-size: 12px;
    line-height: 1.8;
    color: #a0a099;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 22px;
    min-height: 43px;
  }
  .job-budget {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: auto;
  }
  .job-budget strong {
    font-size: 25px;
    letter-spacing: -0.8px;
    font-weight: 550;
  }
  .job-budget span {
    color: var(--muted);
    font-size: 11px;
  }
  .job-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 11px;
    margin-bottom: 21px;
    color: #92928a;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .job-meta > span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .job-meta .few {
    color: #bec7ae;
  }
  .job-card-bottom {
    border-top: 1px solid #2a2a26;
    padding-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .match-label {
    font-size: 10px;
    color: #c0ae91;
    max-width: 55%;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .match-label > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .open-card {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0 5px 8px;
  }
  .open-card svg {
    color: var(--orange);
  }
  .empty {
    grid-column: 1/-1;
    text-align: center;
    border: 1px dashed #33332d;
    border-radius: 26px;
    padding: 56px 24px;
    color: var(--muted);
  }
  .empty > svg {
    margin: 0 auto 20px;
    color: #b99a71;
  }
  .empty h3 {
    color: #efefe9;
    margin-bottom: 10px;
  }
  .empty p {
    max-width: 400px;
    margin: 0 auto 22px;
    font-size: 13px;
    line-height: 1.8;
  }
  .panel {
    background: var(--panel);
    border: 1px solid #272725;
    border-radius: 26px;
    padding: 27px;
  }
  .panel h3 {
    margin-bottom: 8px;
  }
  .panel-subtitle {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 22px;
    line-height: 1.8;
  }
  .search-card {
    padding: 26px;
    border-radius: 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .search-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .search-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #30271b;
    color: var(--orange);
    margin-bottom: 16px;
  }
  .search-card p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
  }
  .search-rules {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    min-height: 30px;
  }
  .chip {
    font-size: 10px;
    color: #b7b7ad;
    border: 1px solid #36362e;
    border-radius: 9px;
    padding: 5px 9px;
  }
  .search-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .switch {
    width: 42px;
    height: 25px;
    background: #3a3a36;
    border-radius: 30px;
    position: relative;
    flex-shrink: 0;
    padding: 0;
  }
  .switch:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    background: #b6b6ae;
    transition:
      transform 0.2s,
      background 0.2s;
  }
  .switch.on {
    background: #544022;
  }
  .switch.on:after {
    transform: translateX(17px);
    background: var(--orange);
  }
  .form-grid {
    display: grid;
    gap: 20px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-help {
    color: #8e8e85;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 8px;
  }
  .checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #cacac1;
  }
  .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
  }
  .notice {
    background: #231f18;
    border: 1px solid #3d3222;
    border-radius: 17px;
    padding: 15px 17px;
    font-size: 12px;
    line-height: 1.8;
    color: #cbb99d;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .notice svg {
    color: var(--orange);
    margin-top: 3px;
  }
  .notice.neutral {
    background: #20201d;
    border-color: #34342f;
    color: #aaa;
  }
  .connect-row {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .provider-mark {
    height: 45px;
    width: 45px;
    border: 1px solid #363630;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 19px;
    color: #e8e3d9;
    background: #22221f;
    font-weight: 600;
  }
  .connect-info {
    flex: 1;
    min-width: 0;
  }
  .connect-info strong {
    font-size: 14px;
    font-weight: 500;
  }
  .connect-info p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    overflow-wrap: anywhere;
  }
  .connect-row > .btn {
    margin-left: auto;
  }
  .profile-badge {
    display: flex;
    gap: 17px;
    align-items: center;
    margin-bottom: 24px;
  }
  .profile-badge .avatar {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    font-size: 20px;
  }
  .stat-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
  }
  .stat-row:last-child {
    border: 0;
  }
  .stat-row strong {
    color: #e6e6dd;
    font-weight: 400;
  }
  .draft-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--panel);
  }
  .draft-card .draft-info {
    flex: 1;
    min-width: 0;
  }
  .draft-info h3 {
    font-size: 15px;
    margin-bottom: 7px;
  }
  .draft-info p {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .draft-meta {
    font-size: 11px;
    color: #bba27c;
    margin-top: 10px;
  }
  .admin-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-user:last-child {
    border: 0;
  }
  .admin-user-info {
    flex: 1;
  }
  .admin-user-info p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
  }
  .admin-user-info strong {
    font-size: 14px;
    font-weight: 500;
  }
  .admin-user select {
    width: 140px;
    font-size: 12px;
    padding: 10px;
  }
  .admin-user .avatar {
    width: 34px;
    height: 34px;
  }
  .toggle-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .toggle-setting strong {
    font-size: 13px;
    font-weight: 500;
  }
  .toggle-setting p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: #000a;
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    animation: fade 0.2s;
  }
  .modal {
    background: #171717;
    border: 1px solid #34342f;
    border-radius: 30px;
    width: 640px;
    max-width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 24px 100px #0008;
    animation: arrive 0.22s ease-out;
  }
  .modal.wide {
    width: 740px;
  }
  .modal-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 27px 28px 20px;
    border-bottom: 1px solid var(--line);
  }
  .modal-header h2 {
    font-size: 23px;
    margin-top: 4px;
  }
  .modal-header .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .modal-body {
    padding: 26px 28px 28px;
  }
  .modal-footer {
    border-top: 1px solid var(--line);
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #171717;
    z-index: 2;
  }
  .modal .btn {
    min-height: 46px;
  }
  .category-list {
    display: grid;
    gap: 7px;
  }
  .category-group {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 11px 13px;
  }
  .category-group summary {
    font-size: 12px;
    color: #c9c9c1;
    cursor: pointer;
  }
  .category-group .checkline {
    margin-top: 11px;
    font-size: 11px;
  }
  .category-group > label.checkline {
    margin: 0;
  }
  .category-group details {
    margin-top: 9px;
  }
  .category-group summary::marker {
    color: #79796f;
  }
  .segmented {
    display: flex;
    padding: 4px;
    background: #22221e;
    border-radius: 13px;
    gap: 4px;
  }
  .segmented label {
    flex: 1;
  }
  .segmented input {
    width: auto;
    margin: 0 5px 0 0;
  }
  .segmented span {
    padding: 9px;
    display: block;
    font-size: 11px;
    border-radius: 10px;
    cursor: pointer;
  }
  .segmented label:has(input:checked) span {
    background: #37342c;
    color: #ffbf66;
  }
  .project-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 20px 0 5px;
    font-size: 32px;
    letter-spacing: -1px;
  }
  .project-price span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0;
  }
  .project-description {
    font-size: 14px;
    color: #c1c1b9;
    line-height: 1.95;
    white-space: pre-wrap;
    margin: 25px 0;
  }
  .project-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  .project-stats > .chip {
    padding: 8px 11px;
    font-size: 11px;
  }
  .project-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 24px 0 16px;
  }
  .composer-text {
    min-height: 270px;
    font-size: 14px;
  }
  .composer-result {
    white-space: pre-wrap;
    line-height: 1.9;
    color: #cecec3;
    font-size: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .editor-status {
    font-size: 11px;
    color: #96968d;
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .danger-text {
    color: #e9a391;
  }
  .file-label {
    border: 1px dashed #4e4434;
    border-radius: 17px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    background: #201c16;
  }
  .file-label input {
    display: block;
    border: 0;
    font-size: 11px;
    padding: 10px 0 0;
    color: #b8aa93;
  }
  .file-label svg {
    margin: 0 auto 10px;
    color: var(--orange);
  }
  .file-label strong {
    font-size: 13px;
    color: #ded5c7;
  }
  .pending {
    min-height: 70dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pending .panel {
    max-width: 460px;
    text-align: center;
    padding: 42px;
  }
  .pending svg {
    margin: 0 auto 22px;
    color: var(--orange);
  }
  .pending p {
    color: var(--muted);
    font-size: 14px;
    margin: 16px 0 25px;
    line-height: 1.8;
  }
  #toasts {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: grid;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 32px);
    pointer-events: none;
  }
  .toast {
    background: #efeee8;
    color: #22221c;
    border-radius: 17px;
    padding: 15px 21px;
    font-size: 13px;
    max-width: 480px;
    box-shadow: 0 10px 40px #0007;
    animation: arrive 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .toast.error {
    background: #3a2821;
    color: #ffe1ce;
    border: 1px solid #78513e;
  }
  .busy svg {
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(7px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@layer responsive {
  @media (min-width: 1400px) {
    .main {
      padding: 40px 64px 50px;
    }
    .job-card {
      padding: 27px;
    }
    .job-description {
      font-size: 13px;
    }
    .job-card h3 {
      font-size: 19px;
    }
  }
  @media (max-width: 1100px) {
    .shell {
      grid-template-columns: 205px minmax(0, 1fr);
    }
    .sidebar {
      padding-left: 18px;
      padding-right: 16px;
    }
    .main {
      padding: 30px;
    }
    .job-card {
      padding: 20px;
    }
    .toolbar {
      gap: 10px;
    }
    .search-input {
      width: 160px;
    }
    .tab {
      padding: 9px 11px;
    }
    .columns {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 780px) {
    .shell {
      display: block;
    }
    .sidebar {
      display: none;
    }
    .main {
      padding: 22px 22px 115px;
    }
    .topbar {
      margin-bottom: 24px;
    }
    .mobile-brand {
      display: flex;
      padding: 0;
      gap: 7px;
    }
    .mobile-brand .brand-word {
      font-size: 25px;
    }
    .mobile-brand .brand-symbol {
      width: 31px;
      height: 34px;
    }
    .mobile-brand .brand-symbol img {
      width: 76px;
      height: 76px;
      left: -22px;
      top: -21px;
    }
    .user-name {
      display: none;
    }
    .topbar-right .icon-btn {
      display: none;
    }
    .toolbar {
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 22px;
    }
    .tabs {
      flex: 1;
    }
    .tab {
      flex: 1;
      padding: 9px 10px;
    }
    .search-input {
      width: 100%;
    }
    .content-grid {
      gap: 14px;
    }
    .job-card {
      padding: 21px;
    }
    .job-card h3 {
      font-size: 17px;
      min-height: 48px;
    }
    .job-description {
      font-size: 12px;
    }
    .job-budget strong {
      font-size: 24px;
    }
    .mobile-nav {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      position: fixed;
      bottom: max(14px, env(safe-area-inset-bottom, 0px));
      left: 16px;
      right: 16px;
      max-width: 480px;
      margin-inline: auto;
      padding: 7px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 27px;
      background: rgba(35, 35, 35, 0.72);
      -webkit-backdrop-filter: blur(24px) saturate(135%);
      backdrop-filter: blur(24px) saturate(135%);
      box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
      z-index: 50;
      gap: 2px;
    }
    .mobile-nav button {
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      padding: 9px 4px;
      border-radius: 14px;
      font-size: 9px;
      color: #99998f;
      min-width: 0;
    }
    .mobile-nav button.active {
      background: rgba(255, 162, 31, 0.12);
      color: var(--orange);
    }
    .page-intro {
      align-items: flex-start;
    }
    .page-intro h1 {
      font-size: 30px;
    }
    .page-intro .btn {
      font-size: 12px;
      padding: 10px 13px;
    }
    .page-intro .btn span.mobile-hide {
      display: none;
    }
    .panel {
      padding: 23px;
    }
    .status-strip {
      font-size: 10px;
      align-items: flex-start;
    }
    #toasts {
      bottom: 95px;
    }
    .modal-backdrop {
      padding: 14px;
    }
    .modal {
      max-height: 94dvh;
      border-radius: 26px;
    }
    .modal-header {
      padding: 23px 22px 18px;
    }
    .modal-body {
      padding: 23px 22px;
    }
    .modal-footer {
      padding: 16px 22px;
    }
    .modal-header h2 {
      font-size: 21px;
    }
  }
  @media (max-width: 560px) {
    .content-grid {
      grid-template-columns: 1fr;
    }
    .main {
      padding-left: 20px;
      padding-right: 20px;
    }
    .job-card h3 {
      min-height: auto;
      font-size: 18px;
    }
    .job-card {
      padding: 23px;
    }
    .job-description {
      -webkit-line-clamp: 2;
      min-height: auto;
    }
    .job-card-top {
      margin-bottom: 18px;
    }
    .job-card h3 {
      margin-bottom: 10px;
    }
    .job-budget {
      margin-top: 0;
    }
    .job-card-bottom {
      padding-top: 16px;
    }
    .job-meta {
      font-size: 11px;
    }
    .category-pill {
      font-size: 10px;
    }
    .card-time {
      font-size: 10px;
    }
    .form-row {
      gap: 12px;
    }
    .connect-row {
      gap: 12px;
    }
    .connect-row .btn {
      padding: 9px 4px;
      min-height: 38px;
      font-size: 11px;
    }
    .connect-info strong {
      font-size: 13px;
    }
    .provider-mark {
      height: 40px;
      width: 40px;
      border-radius: 13px;
    }
    .page-intro h1 {
      font-size: 29px;
    }
    .project-actions {
      grid-template-columns: 1fr;
    }
    .modal-backdrop {
      align-items: center;
      padding: 0;
    }
    .modal {
      max-height: 95dvh;
      border-radius: 28px 28px 0 0;
      border-bottom: 0;
    }
    .modal-footer {
      padding-bottom: max(18px, env(safe-area-inset-bottom));
      flex-wrap: wrap;
    }
    .modal-footer .btn {
      flex: 1;
    }
    .modal-header {
      padding-top: 27px;
    }
    .modal.wide {
      width: 100%;
    }
    .draft-card {
      padding: 20px;
      gap: 12px;
    }
    .draft-card > .icon-btn:first-child {
      display: none;
    }
    .admin-user {
      gap: 10px;
    }
    .admin-user select {
      width: 120px;
      padding: 9px;
      font-size: 11px;
    }
    .profile-badge {
      gap: 14px;
    }
    .profile-badge h2 {
      font-size: 22px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}
@layer components {
  .job-meta > .icon-btn {
    margin-left: auto;
    width: 29px;
    height: 29px;
    border-radius: 10px;
  }
  .page-intro .eyebrow {
    margin: 0 0 13px;
  }
  .search-card-head .search-icon {
    margin: 0;
  }
  .form-grid textarea[rows="2"] {
    min-height: 85px;
  }
  .file-label input:disabled {
    opacity: 0.4;
  }
  .panel .form-grid {
    margin-top: 22px;
  }
}
@layer responsive {
  @media (max-width: 780px) {
    body {
      min-width: 0;
    }
    .sidebar .btn {
      white-space: normal;
    }
    .tabs {
      min-width: 0;
    }
    .tab {
      font-size: 11px;
      padding: 9px 8px;
    }
    .tab span {
      margin-left: 4px;
      font-size: 10px;
    }
  }
  @media (max-width: 380px) {
    .tabs {
      padding: 4px;
      gap: 2px;
    }
    .tab {
      font-size: 10px;
      padding: 9px 7px;
    }
    .mobile-nav {
      padding-left: 6px;
      padding-right: 6px;
    }
    .mobile-nav button {
      padding: 8px;
      min-width: 0;
    }
    .main {
      padding-left: 18px;
      padding-right: 18px;
    }
    .job-card {
      padding: 20px;
    }
  }
  @media (min-width: 781px) {
    .sidebar {
      min-width: 0;
    }
  }
}

@layer components {
  .topbar {
    justify-content: flex-end;
  }
  .sidebar-bottom .nav-link {
    font-size: 12px;
    gap: 10px;
    padding: 14px 10px;
  }
  .page-intro {
    min-height: 40px;
    margin-bottom: 20px;
  }
  .notification-on {
    color: var(--orange);
  }
  .job-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .job-meta {
    min-height: 29px;
  }
  .job-meta > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .job-meta > span:nth-child(2) {
    flex: 1;
  }
}
@layer responsive {
  @media (max-width: 780px) {
    .main {
      padding: 18px 18px 114px;
    }
    .topbar {
      justify-content: space-between;
      min-height: 38px;
      margin-bottom: 24px;
    }
    .page-intro {
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }
    .page-intro h1 {
      font-size: 26px;
      letter-spacing: -0.7px;
    }
    .toolbar {
      margin: 0 0 18px;
      gap: 12px;
    }
    .tabs {
      flex-basis: 100%;
    }
    .tab {
      min-height: 38px;
      font-size: 11px;
    }
    .content-grid {
      gap: 14px;
    }
    .job-card {
      padding: 20px;
    }
    .job-card h3 {
      min-height: 0;
    }
    .job-card-top {
      margin-bottom: 14px;
    }
    .job-description {
      margin-bottom: 18px;
    }
    .job-budget {
      flex-wrap: wrap;
      gap: 4px 8px;
    }
    .job-budget strong {
      font-size: 24px;
    }
    .job-meta {
      margin-top: 10px;
      margin-bottom: 16px;
      gap: 10px;
    }
    .category-pill {
      max-width: 68%;
    }
    .card-time {
      font-size: 10px;
    }
    .mobile-nav button {
      min-height: 50px;
      font-size: 9px;
      gap: 5px;
      border-radius: 20px;
    }
    #toasts {
      bottom: 100px;
    }
  }
  @media (max-width: 380px) {
    .mobile-nav {
      left: 12px;
      right: 12px;
      padding: 6px;
    }
    .mobile-nav button {
      padding: 8px 2px;
    }
    .main {
      padding-inline: 16px;
    }
    .job-card {
      padding: 18px;
    }
  }
  @media (prefers-reduced-transparency: reduce) {
    .mobile-nav {
      background: #242424;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }
}

@layer base {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
@layer responsive {
  @media (max-width: 780px) {
    input,
    textarea,
    select {
      font-size: 16px;
    }
    .search-input input {
      font-size: 16px;
      min-height: 46px;
    }
    .search-input svg {
      top: 15px;
    }
    .mobile-nav button {
      font-size: 10px;
    }
  }
}
