  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #111111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 60px;
    background: #000;
    border-bottom: 3px solid #CC1F1F;
    flex-shrink: 0;
  }
  .logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-decoration: none;
  }
  .logo span { color: #CC1F1F; }
  .topbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
  }
  .topbar-right i { font-size: 14px; }

  .page {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2rem;
  }

  .card {
    width: 100%;
    max-width: 580px;
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem 2.5rem 2rem;
  }

  .card-header { margin-bottom: 1.75rem; }
  .card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #CC1F1F;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
  }
  .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
  }
  .card-sub {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
  }

  .divider-line {
    height: 1px;
    background: #E8E8E8;
    margin: 1.5rem 0;
  }

  .section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CC1F1F;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E8E8E8;
  }

  .form-row {
    display: flex;
    gap: 14px;
  }
  .form-row .form-group { flex: 1; }

  .form-group { margin-bottom: 14px; }
  .form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 6px;
  }
  .input-wrap { position: relative; }
  .input-wrap i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #AAA;
    pointer-events: none;
  }
  .form-input {
    width: 100%;
    padding: 10px 11px 10px 36px;
    font-size: 14px;
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    color: #111;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
  }
  .form-input.no-icon {
    padding-left: 11px;
  }
  .form-input:focus {
    border-color: #CC1F1F;
    background: #fff;
  }
  .form-input::placeholder { color: #C0C0C0; }

  .form-select {
    width: 100%;
    padding: 10px 11px;
    font-size: 14px;
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    color: #111;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
  }
  .form-select:focus {
    border-color: #CC1F1F;
    background: #fff;
  }

  .form-textarea {
    width: 100%;
    padding: 10px 11px;
    font-size: 14px;
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    color: #111;
    outline: none;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
  }
  .form-textarea:focus {
    border-color: #CC1F1F;
    background: #fff;
  }
  .form-textarea::placeholder { color: #C0C0C0; }

  .file-upload {
    border: 1.5px dashed #D0D0D0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #FAFAFA;
    position: relative;
  }
  .file-upload:hover {
    border-color: #CC1F1F;
    background: #FFF;
  }
  .file-upload i {
    font-size: 24px;
    color: #CC1F1F;
    display: block;
    margin-bottom: 6px;
  }
  .file-upload .file-label {
    font-size: 13px;
    color: #666;
  }
  .file-upload .file-label strong {
    color: #CC1F1F;
  }
  .file-upload .file-hint {
    font-size: 11px;
    color: #AAA;
    margin-top: 4px;
  }
  .file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  .file-name {
    font-size: 12px;
    color: #166534;
    margin-top: 6px;
    display: none;
  }
  .file-name.visible { display: block; }

  .state-select-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 40px;
    padding: 6px 11px;
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
  }
  .state-select-bar:hover { border-color: #CC1F1F; }
  .state-select-bar .ti-chevron-down {
    margin-left: auto;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
  }
  .state-placeholder {
    font-size: 14px;
    color: #C0C0C0;
  }
  .selected-tags { display: flex; flex-wrap: wrap; gap: 4px; }
  .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #CC1F1F;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
  }
  .tag .tag-remove {
    cursor: pointer;
    font-size: 13px;
    opacity: 0.7;
    transition: opacity 0.15s;
  }
  .tag .tag-remove:hover { opacity: 1; }

  .state-dropdown {
    display: none;
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    background: #fff;
    margin-top: 4px;
    max-height: 220px;
    overflow: hidden;
    flex-direction: column;
  }
  .state-dropdown.open { display: flex; }
  .state-search-wrap { padding: 8px; border-bottom: 1px solid #E8E8E8; }
  .state-search {
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
    border: 1.5px solid #E0E0E0;
    border-radius: 5px;
    outline: none;
    background: #FAFAFA;
    color: #111;
  }
  .state-search:focus { border-color: #CC1F1F; background: #fff; }
  .state-search::placeholder { color: #C0C0C0; }
  .state-check-list {
    overflow-y: auto;
    padding: 4px 0;
    max-height: 170px;
  }
  .state-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.1s;
  }
  .state-check-item:hover { background: #F5F5F5; }
  .state-check-item input[type="checkbox"] { accent-color: #CC1F1F; }
  .state-check-item.hidden { display: none; }

  .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 12px;
  }
  .check-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    padding: 4px 0;
  }
  .check-item input[type="checkbox"] { accent-color: #CC1F1F; }

  .btn-primary {
    width: 100%;
    background: #CC1F1F;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .btn-primary:hover { background: #A81818; }
  .btn-primary i { font-size: 16px; }

  .btn-primary .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
  }
  .btn-primary.loading .spinner { display: block; }
  .btn-primary.loading .btn-text,
  .btn-primary.loading .btn-icon { display: none; }

  @keyframes spin { to { transform: rotate(360deg); } }

  .error-message {
    display: none;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #991B1B;
    align-items: center;
    gap: 8px;
  }
  .error-message.visible { display: flex; }
  .error-message i { font-size: 16px; flex-shrink: 0; }

  .success-panel {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
  }
  .success-panel.visible { display: block; }
  .success-panel .check-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F0FDF4;
    border: 2px solid #BBF7D0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 24px;
    color: #166534;
  }
  .success-panel h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
  }
  .success-panel p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
  }

  .notice-box {
    background: #F5F5F5;
    border-radius: 6px;
    border-left: 3px solid #CC1F1F;
    padding: 0.85rem 1rem;
    margin-top: 20px;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .notice-box i {
    color: #CC1F1F;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.5rem;
    font-size: 13px;
    color: #CC1F1F;
    text-decoration: none;
    justify-content: center;
  }
  .back-link:hover { text-decoration: underline; }
  .back-link i { font-size: 16px; }

  .bottombar {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  .bottombar-left { font-size: 11px; color: rgba(255,255,255,0.6); }
  .bottombar-right { display: flex; gap: 20px; }
  .bottombar-right a { font-size: 11px; color: rgba(255,255,255,0.6); text-decoration: none; cursor: pointer; }
  .bottombar-right a:hover { color: rgba(255,255,255,0.6); }

  @media (max-width: 600px) {
    .topbar { padding: 0 1.25rem; }
    .page { padding: 1.5rem 1.25rem; }
    .card { padding: 2rem 1.5rem 1.5rem; }
    .form-row { flex-direction: column; gap: 0; }
    .bottombar { padding: 12px 1.25rem; flex-direction: column; gap: 8px; text-align: center; }
  }
  .nav-icon-btn, .theme-btn {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0.45rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
  }
  .nav-icon-btn:hover, .theme-btn:hover {
    opacity: 0.8;
    background: rgba(255,255,255,0.08);
  }
  body.light {
    background: #F5F7FA;
    color: #111;
  }
  body.light .topbar, body.light .topnav {
    background: #fff;
    border-color: #E5E7EB;
    color: #111;
  }
  body.light .topbar-right, body.light .topnav-right {
    color: rgba(0,0,0,0.65);
  }
  body.light .logo {
    color: #111;
  }
  body.light .logo span {
    color: #CC1F1F;
  }
  body.light a, body.light .nav-link {
    color: #111;
  }
  body.light .bottombar { background: #fff; border-top-color: #E8E8E8; }
  body.light .bottombar-left { color: rgba(0,0,0,0.4); }
  body.light .bottombar-right a { color: rgba(0,0,0,0.4); }
  body.light .bottombar-right a:hover { color: #111; }
  body.light .nav-icon-btn, body.light .theme-btn { color: rgba(0,0,0,0.4); }
  body.light .nav-icon-btn:hover, body.light .theme-btn:hover { color: #111; background: rgba(0,0,0,0.04); }
