
      :root {
        font-family: Inter, Arial, sans-serif;
        color: #202e3a;
        background: #f3f5f7;
        font-size: 13px;
        --blue: #155b66;
        --line: #dce2e7;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
      }
      header {
        height: 58px;
        background: #162c38;
        color: white;
        display: flex;
        align-items: center;
        gap: 22px;
        padding: 0 24px;
      }
      header strong {
        font-size: 19px;
        letter-spacing: -0.5px;
      }
      header span {
        color: #c0d0d7;
      }
      header a {
        color: #c8e3e8;
        margin-left: auto;
      }
      button,
      input,
      select,
      textarea {
        font: inherit;
      }
      button {
        cursor: pointer;
        background: white;
        border: 1px solid #b9c7d0;
        border-radius: 4px;
        padding: 6px 10px;
        color: #233f4b;
      }
      button:hover {
        background: #edf6f7;
      }
      button.primary,
      button.active {
        background: var(--blue);
        color: white;
        border-color: var(--blue);
      }
      button:disabled {
        opacity: 0.45;
        cursor: default;
      }
      input,
      select,
      textarea {
        border: 1px solid #bfccd4;
        border-radius: 3px;
        padding: 6px;
        max-width: 100%;
        background: white;
        color: #202e3a;
      }
      label {
        display: block;
        color: #586c78;
        font-size: 12px;
        margin: 10px 0 4px;
      }
      input:not([type="checkbox"]),
      textarea {
        width: 100%;
      }
      .bar {
        display: flex;
        gap: 9px;
        align-items: center;
        padding: 10px 22px;
        border-bottom: 1px solid var(--line);
        background: white;
        flex-wrap: wrap;
      }
      .bar input {
        width: 180px;
      }
      .bar select {
        max-width: 290px;
      }
      #message {
        min-height: 26px;
        padding: 5px 22px;
        color: #1a6671;
      }
      #message.error {
        color: #a12920;
        background: #fff1ee;
      }
      .heading {
        padding: 12px 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .heading h1 {
        font-size: 21px;
        margin: 0 0 4px;
      }
      .muted {
        color: #74838c;
      }
      .tag {
        display: inline-block;
        border-radius: 3px;
        background: #e5edef;
        color: #405d67;
        padding: 3px 6px;
        font-size: 11px;
      }
      .layout {
        display: grid;
        grid-template-columns: minmax(650px, 1fr) 430px;
        gap: 14px;
        padding: 0 22px 22px;
        align-items: start;
      }
      .sheet,
      .panel {
        background: white;
        border: 1px solid var(--line);
        border-radius: 5px;
        overflow: hidden;
      }
      .summary {
        padding: 13px 14px;
        display: flex;
        gap: 24px;
        border-bottom: 1px solid var(--line);
      }
      .summary b {
        font-size: 20px;
        color: #183e4b;
      }
      .summary span {
        font-size: 11px;
        color: #6b808b;
        margin-left: 5px;
      }
      .tablewrap {
        overflow: auto;
        min-height: 340px;
      }
      table {
        border-collapse: collapse;
        width: 100%;
        font-size: 12px;
        white-space: nowrap;
      }
      th {
        text-align: left;
        font-size: 10px;
        color: #637b89;
        font-weight: 600;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        background: #f7f9fa;
        padding: 10px 8px;
        border-bottom: 1px solid var(--line);
      }
      td {
        padding: 9px 8px;
        border-bottom: 1px solid #edf0f2;
      }
      tr[data-id] {
        cursor: pointer;
      }
      tr[data-id]:hover,
      tr.selected {
        background: #eef7f8;
      }
      td.product {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 600;
      }
      td small {
        display: block;
        color: #83909b;
        font-size: 10px;
        margin-top: 3px;
      }
      .num {
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      .status {
        font-size: 10px;
        color: #385f6a;
        padding: 3px 4px;
        background: #edf3f4;
        border-radius: 3px;
      }
      .warn {
        color: #996013;
        background: #fff1d8;
      }
      .group td {
        background: #eaf0f3;
        font-size: 11px;
        color: #415c6a;
        padding: 6px 9px;
      }
      .panelhead {
        padding: 15px;
        border-bottom: 1px solid var(--line);
      }
      .panelhead h2 {
        font-size: 16px;
        margin: 0 0 5px;
      }
      .tabs {
        display: flex;
        gap: 3px;
        padding: 8px 12px;
        border-bottom: 1px solid var(--line);
      }
      .tabs button {
        border: 0;
        font-size: 12px;
      }
      .content {
        padding: 0 15px 15px;
        max-height: 720px;
        overflow: auto;
      }
      dl {
        display: grid;
        grid-template-columns: 115px 1fr;
        gap: 10px 8px;
        font-size: 12px;
      }
      dt {
        color: #70838f;
      }
      dd {
        margin: 0;
        overflow-wrap: anywhere;
      }
      h3 {
        font-size: 12px;
        color: #365766;
        margin: 18px 0 8px;
      }
      pre {
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        font-size: 11px;
        background: #f4f7f8;
        padding: 10px;
        max-height: 380px;
        overflow: auto;
      }
      details {
        border-bottom: 1px solid #edf0f2;
        padding: 9px 0;
      }
      summary {
        cursor: pointer;
        font-size: 12px;
      }
      .pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      textarea {
        font-family: ui-monospace, monospace;
        font-size: 11px;
        min-height: 80px;
      }
      .submit {
        width: 100%;
        margin-top: 15px;
      }
      .files {
        margin-top: 14px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
      }
      .empty {
        padding: 45px 20px;
        color: #7c8b95;
        text-align: center;
      }
      .foot {
        padding: 10px 14px;
        font-size: 11px;
        color: #778c96;
        border-top: 1px solid var(--line);
      }
      .modal {
        position: fixed;
        inset: 0;
        background: #162c3880;
        display: grid;
        place-items: center;
        z-index: 2;
      }
      .modal[hidden] {
        display: none;
      }
      .dialog {
        background: white;
        border-radius: 6px;
        padding: 22px;
        width: 550px;
        max-height: 90vh;
        overflow: auto;
      }
      #newlines label {
        font-size: 13px;
        color: #243c48;
      }
      #newlines input {
        width: auto;
      }
      a {
        color: var(--blue);
      }
      @media (max-width: 1100px) {
        .layout {
          grid-template-columns: 1fr;
        }
        .content {
          max-height: none;
        }
        .panel {
          min-height: 350px;
        }
      }
      :focus-visible {
        outline: 2px solid #d18830;
        outline-offset: 2px;
      }
    
.right{float:right}.preview{padding:9px 22px;background:#fff0c9;color:#664715;font-weight:600}.preview small{font-weight:400}.build{font-size:11px;color:#6b808b;padding:8px 22px}button:disabled{cursor:not-allowed}.case-grid{display:grid;grid-template-columns:minmax(560px,1fr) 430px;gap:14px;padding:0 22px 22px}@media(max-width:1100px){.case-grid{grid-template-columns:1fr}}