/* =============================================================================
   TABLE OF CONTENTS
   1. Order page layout and components       <- grep: SECTION: Order page styles
   ============================================================================= */

/* =============================================================================
   SECTION: Order page styles
   ============================================================================= */

    .order-page-section {
      min-height: 100vh;
      padding-top: 140px;
    }

    /* ------------------------------------------------------------------
       Q&A Floating Panel
    ------------------------------------------------------------------ */
    .qa-panel {
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 200;
      width: 300px;
    }
    .qa-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(20, 10, 40, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(18px);
      color: var(--accent-secondary);
      font-size: 11px;
      font-family: var(--font-display);
      letter-spacing: 0.12em;
      text-decoration: none;
      cursor: none;
      transition: border-color 0.2s;
    }
    .qa-toggle:hover { border-color: var(--accent-secondary); }
    .qa-toggle__label {
      overflow: hidden;
      white-space: nowrap;
      max-width: 220px;
      transition: max-width 0.3s ease, opacity 0.3s ease;
    }
    .qa-toggle__short {
      overflow: hidden;
      white-space: nowrap;
      max-width: 0;
      opacity: 0;
      transition: max-width 0.3s ease, opacity 0.3s ease;
    }
    .qa-toggle.qa-mini .qa-toggle__label { max-width: 0; opacity: 0; }
    .qa-toggle.qa-mini .qa-toggle__short { max-width: 30px; opacity: 1; }
    .qa-toggle__dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent-secondary);
      flex-shrink: 0;
    }
    .qa-body {
      margin-top: 0;
      border-radius: 16px;
      background: transparent;
      border: 0;
      backdrop-filter: none;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.35s ease;
    }
    .qa-body.open {
      margin-top: 8px;
      max-height: 520px;
      overflow-y: auto;
      background: rgba(12, 5, 28, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.09);
      backdrop-filter: blur(24px);
    }
    .qa-body::-webkit-scrollbar { width: 3px; }
    .qa-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
    .qa-header {
      padding: 14px 16px 10px;
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .qa-item { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .qa-item:last-child { border-bottom: none; }
    .qa-item-q {
      padding: 11px 16px;
      font-size: 12.5px;
      color: var(--text-primary);
      cursor: none;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.4;
      user-select: none;
    }
    .qa-item-q::after {
      content: '+';
      color: var(--accent-secondary);
      font-size: 16px;
      line-height: 1;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .qa-item-q.qa-open::after { content: '\2212'; }
    .qa-item-a {
      max-height: 0;
      overflow: hidden;
      padding: 0 16px;
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.65;
      transition: max-height 0.25s ease, padding 0.25s ease;
    }
    .qa-item-a.qa-open { max-height: 180px; padding: 0 16px 12px; }

    /* ------------------------------------------------------------------
       Search View
    ------------------------------------------------------------------ */
    .view-search {
      max-width: 560px;
      margin: 0 auto;
      padding: 40px 20px;
      text-align: center;
    }
    .view-search.hidden { display: none; }
    .s-eyebrow {
      font-family: var(--font-display);
      font-size: 12px;
      letter-spacing: 0.3em;
      color: var(--accent-secondary);
    }
    .s-title {
      font-family: var(--font-display);
      font-size: clamp(36px, 5vw, 52px);
      font-weight: 600;
      letter-spacing: -0.02em;
      margin: 8px 0 12px;
    }
    .s-title em {
      font-style: italic;
      font-weight: 400;
      background: linear-gradient(120deg, var(--accent-glow), var(--accent-secondary));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .s-sub { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; }
    .s-form {
      display: flex;
      gap: 8px;
      padding: 6px;
      border-radius: 999px;
      background: rgba(20, 10, 40, 0.55);
      border: var(--glass-border);
      backdrop-filter: blur(16px);
    }
    .s-input {
      flex: 1;
      padding: 14px 22px;
      background: transparent;
      border: none;
      outline: none;
      color: var(--text-primary);
      font-family: var(--font-display);
      font-size: 16px;
      letter-spacing: 0.06em;
    }
    .s-input::placeholder { color: var(--text-muted); letter-spacing: 0.04em; }
    .s-btn {
      padding: 12px 22px;
      border-radius: 999px;
      border: none;
      background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
      color: #1a0a2e;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.08em;
      cursor: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .s-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240, 171, 252, 0.4); }
    .s-hint { margin-top: 14px; font-size: 12px; color: var(--text-muted); }
    .s-hint code {
      background: var(--surface);
      padding: 2px 8px;
      border-radius: 6px;
      color: var(--accent-secondary);
      font-family: var(--font-display);
    }
    .s-error {
      margin-top: 16px;
      font-size: 13px;
      color: #f87171;
      display: none;
    }
    .s-error.shown { display: block; }

    /* ------------------------------------------------------------------
       Detail View — Shell
    ------------------------------------------------------------------ */
    .view-detail {
      width: 100%;
      margin: 0 auto;
      padding: 32px 0 80px;
      display: none;
    }
    .view-detail.shown { display: block; }
    .det-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 30px;
      color: var(--accent-secondary);
      font-size: 13px;
      text-decoration: none;
      cursor: none;
      background: none;
      border: none;
      font-family: var(--font-body, inherit);
    }
    .det-back:hover { opacity: 0.7; }

    /* ------------------------------------------------------------------
       Detail View — Header Block
    ------------------------------------------------------------------ */
    .det-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      padding-bottom: 26px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      margin-bottom: 20px;
    }
    .det-header__code {
      font-size: 11px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent-secondary);
      margin-bottom: 6px;
    }
    .det-header__name {
      font-family: var(--font-display);
      font-size: clamp(24px, 4vw, 34px);
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.15;
      margin-bottom: 8px;
    }
    .det-header__meta { font-size: 13px; color: var(--text-secondary); }
    .det-header__right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      flex-shrink: 0;
    }
    .pill {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 999px;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 600;
    }
    .pill-in-progress { background: rgba(167,139,250,0.15); border: 1px solid rgba(167,139,250,0.35); color: #a78bfa; }
    .pill-final-stages { background: rgba(196,181,253,0.15); border: 1px solid rgba(196,181,253,0.35); color: #c4b5fd; }
    .pill-awaiting-deposit { background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.3); color: #fbbf24; }
    .pill-awaiting-final-payment { background: rgba(196,181,253,0.15); border: 1px solid rgba(196,181,253,0.35); color: #c4b5fd; }
    .pill-waiting     { background: rgba(251,191,36,0.12);  border: 1px solid rgba(251,191,36,0.3);  color: #fbbf24; }
    .pill-done        { background: rgba(134,239,172,0.12); border: 1px solid rgba(134,239,172,0.3); color: #86efac; }
    .pill-on-hold     { background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.3); color: #fb7185; }
    .pill-cancelled   { background: rgba(251,113,133,0.12); border: 1px solid rgba(251,113,133,0.3); color: #fb7185; }
    .pill-paid        { background: rgba(134,239,172,0.1);  border: 1px solid rgba(134,239,172,0.2); color: #86efac; }
    .pill-deposit     { background: rgba(251,191,36,0.1);   border: 1px solid rgba(251,191,36,0.2);  color: #fbbf24; }
    .pill-unpaid      { background: rgba(251,113,133,0.1);  border: 1px solid rgba(251,113,133,0.25);color: #fb7185; }

    /* ------------------------------------------------------------------
       Detail View — Reusable Info Block
    ------------------------------------------------------------------ */
    .det-block {
      padding: 22px 24px;
      border-radius: 18px;
      background: rgba(20, 10, 40, 0.45);
      border: 1px solid rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(14px);
      margin-bottom: 18px;
    }
    .det-block__title {
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 18px;
    }
    .det-rows {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 11px 16px;
    }
    .det-rows dt {
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
      align-self: center;
    }
    .det-rows dd { font-size: 14px; color: var(--text-primary); }
    .det-total {
      font-size: 18px;
      font-family: var(--font-display);
      font-weight: 600;
    }

    /* ------------------------------------------------------------------
       Timeline
    ------------------------------------------------------------------ */
    .tl-scroll { overflow-x: auto; padding-bottom: 10px; }
    .tl-scroll::-webkit-scrollbar { height: 3px; }
    .tl-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
    .tl-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
    .tl-track {
      position: relative;
      padding: 0 40px;
    }
    .tl-rail {
      position: absolute;
      top: 20px;
      left: 40px;
      right: 40px;
      height: 2px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 999px;
    }
    .tl-rail-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
      border-radius: 999px;
      width: 0%;
      transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1),
                  height 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .tl-phases {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
    }
    .tl-phase {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;
    }
    .tl-dot-wrap {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 8px;
    }
    .tl-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      position: relative;
      z-index: 2;
    }
    .tl-phase.done .tl-dot {
      background: #86efac;
      box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.2);
    }
    .tl-phase.active .tl-dot {
      --tl-dot-color: #60a5fa;
      background: var(--tl-dot-color);
      box-shadow: 0 0 12px var(--tl-dot-color), 0 0 24px rgba(96, 165, 250, 0.45);
    }
    .tl-phase.upcoming .tl-dot {
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.18);
    }
    /* Highlight only the next pending phase without overriding completed/active dots. */
    .tl-phase.is-payment-pending .tl-dot {
      --tl-dot-color: #f87171;
      background: var(--tl-dot-color);
      border: 0;
      box-shadow: 0 0 12px var(--tl-dot-color), 0 0 24px rgba(248, 113, 113, 0.45);
    }
    .tl-phase.is-on-hold .tl-dot {
      --tl-dot-color: #fbbf24;
      background: var(--tl-dot-color);
      border: 0;
      box-shadow: 0 0 12px var(--tl-dot-color), 0 0 24px rgba(251, 191, 36, 0.45);
    }
    .tl-phase.active .tl-dot::after,
    .tl-phase.is-payment-pending .tl-dot::after,
    .tl-phase.is-on-hold .tl-dot::after {
      content: "";
      position: absolute;
      inset: -6px;
      border: 1px solid var(--tl-dot-color);
      border-radius: 50%;
      animation: tl-pulse-ring 1.8s ease-out infinite;
    }
    @keyframes tl-pulse-ring {
      0% { transform: scale(0.8); opacity: 0.9; }
      100% { transform: scale(1.65); opacity: 0; }
    }
    .tl-phase-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-align: center;
      color: var(--text-primary);
    }
    .tl-phase.upcoming .tl-phase-label { color: var(--text-muted); }
    .tl-phase-dates {
      margin-top: 6px;
      font-size: 10px;
      color: var(--text-muted);
      text-align: center;
      line-height: 1.7;
    }
    .tl-phase-dates span { display: block; }
    .tl-img-wrap {
      margin-top: 18px;
      width: 85%;
      max-width: 200px;
    }
    .tl-img-wrap img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 10px;
      outline: 2px solid transparent;
      outline-offset: 6px;
      transition: outline-color 0.18s;
    }
    .tl-img-wrap:not(.no-art) img:hover {
      outline-color: rgba(255, 255, 255, 0.55);
    }
    .tl-img-wrap.no-art {
      height: 80px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px dashed rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .tl-img-wrap.no-art span {
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-align: center;
      padding: 0 8px;
    }
    .tl-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    /* ------------------------------------------------------------------
       Messages Log
    ------------------------------------------------------------------ */
    .msg-item {
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .msg-item:last-child { border-bottom: none; padding-bottom: 0; }
    .msg-date {
      font-size: 11px;
      letter-spacing: 0.12em;
      color: var(--accent-secondary);
      margin-bottom: 6px;
    }
    .msg-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
    .msg-empty { font-size: 14px; color: var(--text-muted); }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* ------------------------------------------------------------------
       Contact Block
    ------------------------------------------------------------------ */
    .det-contact {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .det-contact__hint { font-size: 13px; color: var(--text-secondary); }
    .det-contact__btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 999px;
      background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
      color: #1a0a2e;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.06em;
      text-decoration: none;
      cursor: none;
      transition: transform 0.2s, box-shadow 0.2s;
      flex-shrink: 0;
    }
    .det-contact__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240, 171, 252, 0.35); }

    .contact-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(4, 7, 18, 0.78);
      backdrop-filter: blur(14px);
    }
    .contact-modal.open { display: flex; }
    .contact-modal__panel {
      width: min(680px, 100%);
      max-height: min(760px, calc(100vh - 40px));
      display: flex;
      flex-direction: column;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background: #101426;
      box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
      overflow: hidden;
    }
    .contact-modal__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .contact-modal__title {
      margin: 0;
      font-size: 16px;
      letter-spacing: 0.04em;
      color: var(--text-primary);
    }
    .contact-modal__close {
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-primary);
      font-size: 24px;
      line-height: 1;
      cursor: none;
    }
    .contact-modal__body {
      padding: 18px 20px;
      overflow: auto;
      display: grid;
      gap: 14px;
    }
    .contact-thread {
      display: grid;
      gap: 10px;
      min-height: 160px;
    }
    .contact-message {
      max-width: 82%;
      padding: 11px 13px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.07);
      color: var(--text-secondary);
      line-height: 1.55;
      justify-self: start;
    }
    .contact-message.is-customer {
      background: rgba(240, 171, 252, 0.16);
      color: var(--text-primary);
      justify-self: end;
    }
    .contact-message__meta {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 5px;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .contact-message__text {
      white-space: pre-wrap;
      overflow-wrap: anywhere;
      font-size: 14px;
    }
    .contact-empty,
    .contact-status {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.5;
    }
    .contact-form {
      display: grid;
      gap: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 14px;
    }
    .contact-input {
      min-height: 110px;
      resize: vertical;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-primary);
      padding: 12px;
      font: inherit;
    }
    .contact-form__row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .contact-send {
      border: 0;
      border-radius: 999px;
      padding: 10px 18px;
      background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
      color: #1a0a2e;
      font-weight: 700;
      cursor: none;
    }
    .contact-send:disabled { opacity: 0.55; }

    /* ------------------------------------------------------------------
       Lightbox
    ------------------------------------------------------------------ */
    .lb-overlay {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease;
    }
    .lb-overlay.open { opacity: 1; pointer-events: auto; }
    .lb-box {
      position: relative;
      max-width: min(640px, 72vw);
      max-height: 68vh;
      touch-action: pan-x pan-y;
    }
    .lb-box img {
      display: block;
      max-width: 100%;
      max-height: 68vh;
      width: auto;
      height: auto;
      border-radius: 14px;
      object-fit: contain;
      user-select: none;
      pointer-events: none;
      -webkit-user-drag: none;
    }
    .lb-close {
      position: absolute;
      top: -13px;
      right: -13px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: rgba(25, 12, 55, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: var(--text-primary);
      font-size: 17px;
      line-height: 1;
      cursor: none;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, border-color 0.15s;
    }
    .lb-close:hover {
      background: rgba(80, 30, 130, 0.95);
      border-color: var(--accent-secondary);
    }

    /* ------------------------------------------------------------------
       Responsive
    ------------------------------------------------------------------ */
    @media (max-width: 640px) {
      .det-header { flex-direction: column; }
      .det-header__right { align-items: flex-start; flex-direction: row; }
      .det-rows { grid-template-columns: 110px 1fr; }
      .det-contact { flex-direction: column; align-items: flex-start; }
      .qa-panel { width: calc(100vw - 40px); }

      /* Vertical timeline */
      .tl-scroll { overflow-x: visible; }
      .tl-track { padding: 0; }
      .tl-rail {
        top: 20px;
        left: 19px;
        right: auto;
        width: 2px;
        height: calc(100% - 40px);
      }
      .tl-rail-fill {
        width: 100%;
        height: 0%;
        background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
        transition: height 1.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .tl-phases {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
      }
      .tl-phase {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        flex: none;
        width: 100%;
        padding-bottom: 24px;
      }
      .tl-phase:last-child { padding-bottom: 0; }
      .tl-dot-wrap { margin-bottom: 0; flex-shrink: 0; }
      .tl-content { align-items: flex-start; }
      .tl-phase-label { text-align: left; }
      .tl-phase-dates { text-align: left; }
      .tl-img-wrap { width: 100%; max-width: 180px; margin-top: 10px; }
      .tl-img-wrap.no-art { height: 70px; width: 100%; }
    }

    /* ------------------------------------------------------------------
       Card file upload hint
    ------------------------------------------------------------------ */
    .s-upload-hint {
      margin-top: 18px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .s-upload-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      color: var(--accent-secondary);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-size: 12px;
      transition: opacity 0.2s;
    }
    .s-upload-label:hover { opacity: 0.75; }

    /* ------------------------------------------------------------------
       Card status view
    ------------------------------------------------------------------ */
    .view-card-status {
      max-width: 560px;
      margin: 0 auto;
      padding: 40px 20px;
      display: none;
    }
    .view-card-status.shown { display: block; }

    .cs-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 30px;
      color: var(--accent-secondary);
      font-size: 13px;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-body, inherit);
    }
    .cs-back:hover { opacity: 0.7; }

    .cs-box {
      background: rgba(20, 10, 40, 0.55);
      border: var(--glass-border);
      backdrop-filter: blur(16px);
      border-radius: 20px;
      padding: 36px 28px;
      margin-bottom: 24px;
      text-align: center;
    }
    .cs-icon { font-size: 52px; margin-bottom: 14px; line-height: 1; }
    .cs-status-label {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }
    .cs-message {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.65;
      margin-bottom: 10px;
    }
    .cs-reason {
      margin-top: 14px;
      padding: 12px 16px;
      border-radius: 10px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      font-size: 13px;
      color: var(--text-secondary);
      text-align: left;
    }
    .cs-reason strong { color: var(--text-primary); display: block; margin-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }

    .cs-warn {
      margin-top: 14px;
      padding: 10px 14px;
      border-radius: 8px;
      background: rgba(251, 191, 36, 0.1);
      border: 1px solid rgba(251, 191, 36, 0.3);
      font-size: 12.5px;
      color: #fbbf24;
      text-align: left;
    }

    .cs-status-label.not-found  { color: var(--text-muted); }
    .cs-status-label.reviewing  { color: var(--accent-secondary); }
    .cs-status-label.rejected   { color: #f87171; }
    .cs-status-label.cancelled  { color: #f87171; }
    .cs-status-label.expired    { color: #f59e0b; }
    .cs-status-label.superseded { color: #f59e0b; }
    .cs-status-label.issued     { color: #60a5fa; }
    .cs-status-label.confirmed  { color: #34d399; }
  
