@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:wght@500;600&display=swap');

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

  .pd-root {
    font-family: 'DM Sans', sans-serif;
    background: #F5F0E8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* TOP NAV */
  .pd-topnav {
    background: #ffffff;
    border-bottom: 1px solid #E4DDD0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .pd-logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pd-logo-icon {
    width: 32px;
    height: 32px;
    background: #6BAB3A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pd-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: #1C3A15;
  }
  .pd-logo-text span { color: #6BAB3A; }
  .pd-topnav-links {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .pd-topnav-links a {
    font-size: 13px;
    color: #4A5E3A;
    text-decoration: none;
    font-weight: 400;
  }
  .pd-topnav-links a:hover { color: #6BAB3A; }
  .pd-nav-cta {
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-notif-bell {
    width: 34px;
    height: 34px;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    background: #F5F0E8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  .pd-notif-dot {
    width: 8px;
    height: 8px;
    background: #E05A2B;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    right: 6px;
    border: 1.5px solid #fff;
  }
  .pd-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
  }
  .pd-avatar {
    width: 26px;
    height: 26px;
    background: #6BAB3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
  }
  .pd-user-chip-name { font-size: 13px; color: #2D4A1E; font-weight: 500; }

  /* MAIN LAYOUT */
  .pd-body {
    display: flex;
    flex: 1;
  }

  /* SIDEBAR */
  .pd-sidebar {
    width: 240px;
    background: #F5F0E8;
    border-right: 1px solid #E4DDD0;
    padding: 20px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
  }
  .pd-sidebar-profile {
    padding: 0 16px 20px;
    border-bottom: 1px solid #E4DDD0;
    margin-bottom: 12px;
  }
  .pd-sidebar-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .pd-sb-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6BAB3A, #4A7E28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    position: relative;
  }
  .pd-sb-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #2E6B5E;
    color: #fff;
    font-size: 9px;
    border-radius: 10px;
    padding: 2px 5px;
    border: 2px solid #F5F0E8;
    font-weight: 600;
  }
  .pd-sb-name {
    font-size: 14px;
    font-weight: 600;
    color: #1C3A15;
    text-align: center;
  }
  .pd-sb-email {
    font-size: 11px;
    color: #6A7E5A;
    text-align: center;
  }
  .pd-sb-tier {
    background: #EAF3DE;
    color: #3B6D11;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    padding: 3px 10px;
    border: 1px solid #C0DD97;
  }

  .pd-sidebar-section {
    padding: 4px 0;
  }
  .pd-sidebar-label {
    font-size: 10px;
    font-weight: 600;
    color: #9AAA8A;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px 4px;
  }
  .pd-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.15s;
    position: relative;
    text-decoration: none;
  }
  .pd-nav-item:hover {
    background: #EBE5D8;
  }
  .pd-nav-item.active {
    background: #fff;
    border-right: 3px solid #6BAB3A;
  }
  .pd-nav-item.active .pd-nav-label { color: #3B6D11; font-weight: 600; }
  .pd-nav-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .pd-nav-label {
    font-size: 13px;
    color: #4A5E3A;
    font-weight: 400;
  }
  .pd-nav-badge {
    margin-left: auto;
    background: #E05A2B;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    padding: 2px 7px;
    min-width: 20px;
    text-align: center;
  }
  .pd-nav-badge-green {
    background: #EAF3DE;
    color: #3B6D11;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    padding: 2px 7px;
    margin-left: auto;
  }
  .pd-sidebar-footer {
    margin-top: auto;
    padding: 12px 16px 0;
    border-top: 1px solid #E4DDD0;
  }
  .pd-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 4px;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-logout-label { font-size: 13px; color: #C0392B; font-weight: 500; }

  /* MAIN CONTENT */
  .pd-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: #F5F0E8;
  }

  /* BREADCRUMB */
  .pd-breadcrumb {
    font-size: 12px;
    color: #9AAA8A;
    margin-bottom: 16px;
  }
  .pd-breadcrumb span { color: #4A5E3A; font-weight: 500; }

  /* PAGE TITLE */
  .pd-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1C3A15;
    margin-bottom: 4px;
  }
  .pd-page-subtitle {
    font-size: 13px;
    color: #6A7E5A;
    margin-bottom: 24px;
  }

  /* STATS ROW */
  .pd-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .pd-stat-card {
    background: #fff;
    border: 1px solid #E4DDD0;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
  }
  .pd-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #6BAB3A;
  }
  .pd-stat-card.amber::before { background: #E08A1A; }
  .pd-stat-card.teal::before { background: #2E6B5E; }
  .pd-stat-card.red::before { background: #C0392B; }
  .pd-stat-label {
    font-size: 11px;
    color: #9AAA8A;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .pd-stat-value {
    font-size: 26px;
    font-weight: 600;
    color: #1C3A15;
    line-height: 1;
    margin-bottom: 4px;
  }
  .pd-stat-note {
    font-size: 11px;
    color: #9AAA8A;
  }
  .pd-stat-note.up { color: #3B6D11; }
  .pd-stat-note.warn { color: #E08A1A; }

  /* SECTION GRID */
  .pd-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .pd-grid-3-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .pd-card {
    background: #fff;
    border: 1px solid #E4DDD0;
    border-radius: 12px;
    padding: 20px;
  }
  .pd-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .pd-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1C3A15;
  }
  .pd-card-action {
    font-size: 12px;
    color: #6BAB3A;
    cursor: pointer;
    font-weight: 500;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
  }

  /* PROFILE SECTION */
  .pd-profile-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0EAE0;
    margin-bottom: 16px;
  }
  .pd-profile-avatar-lg {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6BAB3A, #4A7E28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
  }
  .pd-profile-info { flex: 1; }
  .pd-profile-name { font-size: 16px; font-weight: 600; color: #1C3A15; }
  .pd-profile-email { font-size: 12px; color: #9AAA8A; margin-top: 2px; }
  .pd-profile-since { font-size: 11px; color: #BCAA90; margin-top: 4px; }
  .pd-edit-btn {
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12px;
    color: #4A5E3A;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
  }
  .pd-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .pd-field {
    background: #FAFAF8;
    border: 1px solid #EDE8DE;
    border-radius: 8px;
    padding: 10px 12px;
  }
  .pd-field-label { font-size: 10px; color: #9AAA8A; font-weight: 600; text-transform: uppercase; margin-bottom: 3px; }
  .pd-field-value { font-size: 13px; color: #2D4A1E; font-weight: 500; }

  /* SUBSCRIPTION */
  .pd-sub-tier {
    background: linear-gradient(135deg, #1C3A15, #2E6B5E);
    border-radius: 10px;
    padding: 16px;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
  }
  .pd-sub-tier::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(107, 171, 58, 0.2);
  }
  .pd-sub-plan { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
  .pd-sub-name { font-size: 18px; font-weight: 600; margin: 2px 0 4px; }
  .pd-sub-renews { font-size: 11px; color: rgba(255,255,255,0.5); }
  .pd-sub-price { font-size: 22px; font-weight: 700; }
  .pd-sub-period { font-size: 11px; opacity: 0.6; }
  .pd-upgrade-btn {
    width: 100%;
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-usage-bar-wrap { margin-bottom: 12px; }
  .pd-usage-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9AAA8A;
    margin-bottom: 5px;
  }
  .pd-usage-track {
    background: #EDE8DE;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
  }
  .pd-usage-fill {
    height: 100%;
    border-radius: 4px;
    background: #6BAB3A;
  }
  .pd-usage-fill.warn { background: #E08A1A; }

  /* LINKED ACCOUNTS */
  .pd-linked-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F0EAE0;
  }
  .pd-linked-item:last-child { border-bottom: none; }
  .pd-linked-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .pd-linked-info { flex: 1; }
  .pd-linked-name { font-size: 13px; font-weight: 500; color: #1C3A15; }
  .pd-linked-status { font-size: 11px; color: #9AAA8A; }
  .pd-linked-toggle {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    border: none;
  }
  .pd-linked-toggle.connected { background: #EAF3DE; color: #3B6D11; }
  .pd-linked-toggle.not-connected { background: #F5F0E8; color: #4A5E3A; border: 1px solid #E4DDD0; }

  /* NOTIFICATIONS */
  .pd-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F0EAE0;
  }
  .pd-notif-item:last-child { border-bottom: none; }
  .pd-notif-dot-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
  }
  .pd-notif-text { font-size: 12px; color: #2D4A1E; line-height: 1.5; flex: 1; }
  .pd-notif-time { font-size: 10px; color: #BCAA90; flex-shrink: 0; }
  .pd-notif-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #F0EAE0;
    justify-content: space-between;
  }
  .pd-notif-toggle:last-child { border-bottom: none; }
  .pd-notif-toggle-label { font-size: 12px; color: #2D4A1E; }
  .pd-toggle-switch {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    padding: 2px 3px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .pd-toggle-switch.on { background: #6BAB3A; justify-content: flex-end; }
  .pd-toggle-switch.off { background: #D5CFC4; justify-content: flex-start; }
  .pd-toggle-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
  }

  /* SECURITY */
  .pd-security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F0EAE0;
  }
  .pd-security-item:last-child { border-bottom: none; }
  .pd-security-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .pd-security-info { flex: 1; }
  .pd-security-name { font-size: 13px; font-weight: 500; color: #1C3A15; }
  .pd-security-desc { font-size: 11px; color: #9AAA8A; margin-top: 2px; }
  .pd-security-action {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    border: none;
  }
  .pd-security-action.change { background: #F5F0E8; color: #4A5E3A; border: 1px solid #E4DDD0; }
  .pd-security-action.enable { background: #EAF3DE; color: #3B6D11; }
  .pd-security-action.view { background: #F5F0E8; color: #4A5E3A; border: 1px solid #E4DDD0; }

  /* TAB NAV */
  .pd-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #E4DDD0;
    margin-bottom: 20px;
  }
  .pd-tab {
    padding: 10px 18px;
    font-size: 13px;
    color: #9AAA8A;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-tab.active {
    color: #3B6D11;
    border-bottom-color: #6BAB3A;
  }

  /* RECENT ACTIVITY */
  .pd-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F0EAE0;
  }
  .pd-activity-item:last-child { border-bottom: none; }
  .pd-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
  }
  .pd-activity-info { flex: 1; }
  .pd-activity-title { font-size: 12px; font-weight: 500; color: #1C3A15; }
  .pd-activity-sub { font-size: 11px; color: #9AAA8A; margin-top: 2px; }
  .pd-activity-time { font-size: 10px; color: #BCAA90; }
  .pd-status-pill {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
  }
  .pd-status-pill.green { background: #EAF3DE; color: #3B6D11; }
  .pd-status-pill.amber { background: #FEF3E2; color: #854F0B; }
  .pd-status-pill.blue { background: #EAF2FB; color: #185FA5; }

  /* ASK SUPPORT */
  .pd-support-bar {
    background: #1C3A15;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
  }
  .pd-support-text { font-size: 13px; color: rgba(255,255,255,0.75); }
  .pd-support-text strong { color: #fff; }
  .pd-support-action-btn {
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
  }

  /* ==========================================================================
     SUBMIT ISSUE PANEL STYLES
     ========================================================================== */

  .pd-layer-stepper {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid #E4DDD0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }
  .pd-layer-step {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #E4DDD0;
    cursor: pointer;
    position: relative;
  }
  .pd-layer-step:last-child {
    border-right: none;
  }
  .pd-layer-step.done {
    background: #F0F7EA;
  }
  .pd-layer-step.current {
    background: #fff;
    border-bottom: 3px solid #6BAB3A;
  }
  .pd-layer-step.locked {
    background: #FAFAF8;
    opacity: .6;
    cursor: not-allowed;
  }
  .pd-ls-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .pd-ls-num.done-n {
    background: #6BAB3A;
    color: #fff;
  }
  .pd-ls-num.curr-n {
    background: #1C3A15;
    color: #fff;
  }
  .pd-ls-num.lock-n {
    background: #E4DDD0;
    color: #9AAA8A;
  }
  .pd-ls-info {}
  .pd-ls-title {
    font-size: 13px;
    font-weight: 600;
    color: #1C3A15;
  }
  .pd-ls-sub {
    font-size: 11px;
    color: #9AAA8A;
    margin-top: 1px;
  }
  .pd-ls-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
  }
  .pd-ls-tag.free {
    background: #EAF3DE;
    color: #27500A;
  }
  .pd-ls-tag.done-tag {
    background: #EAF3DE;
    color: #27500A;
  }
  .pd-ls-tag.locked-tag {
    background: #F0EAE0;
    color: #9AAA8A;
  }

  .pd-grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    margin-bottom: 16px;
  }

  .pd-card-si {
    background: #fff;
    border: 1px solid #E4DDD0;
    border-radius: 14px;
    overflow: hidden;
  }
  .pd-card-hd {
    padding: 16px 20px;
    border-bottom: 1px solid #F0EAE0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pd-card-title-si {
    font-size: 14px;
    font-weight: 600;
    color: #1C3A15;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pd-card-sub {
    font-size: 12px;
    color: #9AAA8A;
  }
  .pd-card-body-si {
    padding: 20px;
  }

  .pd-chat-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .pd-chat-msgs {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FAFAF8;
    border-bottom: 1px solid #F0EAE0;
  }
  .pd-msg {
    max-width: 88%;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
  }
  .pd-msg.bot {
    background: #EAF3DE;
    color: #1C3A15;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
  }
  .pd-msg.user {
    background: #1C3A15;
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
  }
  .pd-msg.bot .pd-msender {
    font-size: 10px;
    font-weight: 600;
    color: #3B6D11;
    margin-bottom: 4px;
  }
  .pd-msg.user .pd-msender {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 4px;
  }
  .pd-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #F0EAE0;
    background: #fff;
  }
  .pd-chip {
    background: #F5F0E8;
    border: 1px solid #DDD5C5;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    color: #4A5E3A;
    cursor: pointer;
    font-weight: 500;
  }
  .pd-chip:hover {
    background: #EAF3DE;
    border-color: #6BAB3A;
    color: #27500A;
  }
  .pd-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    align-items: center;
  }
  .pd-chat-input {
    flex: 1;
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #1C3A15;
    font-family: 'DM Sans', sans-serif;
    outline: none;
  }
  .pd-chat-send {
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
  }
  .pd-media-upload-row {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
    background: #fff;
  }
  .pd-media-slot {
    flex: 1;
    border: 1.5px dashed #C8BFA8;
    border-radius: 8px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #FAFAF8;
  }
  .pd-media-slot:hover {
    border-color: #6BAB3A;
    background: #F5FAF0;
  }
  .pd-media-slot.filled {
    border-style: solid;
    border-color: #6BAB3A;
    background: #F0F7EA;
  }
  .pd-media-label {
    font-size: 10px;
    color: #9AAA8A;
    margin-top: 2px;
  }
  .pd-ai-result-banner {
    margin: 0 16px 16px;
    background: #EAF3DE;
    border: 1px solid #C0DD97;
    border-radius: 10px;
    padding: 12px 14px;
  }
  .pd-aib-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .pd-aib-icon {
    width: 28px;
    height: 28px;
    background: #6BAB3A;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .pd-aib-title {
    font-size: 13px;
    font-weight: 600;
    color: #1C3A15;
  }
  .pd-aib-sub {
    font-size: 11px;
    color: #3B6D11;
  }
  .pd-severity-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
  }
  .pd-sev-cell {
    background: #fff;
    border-radius: 7px;
    padding: 8px 10px;
    border: 1px solid #DDF0C0;
  }
  .pd-sev-label {
    font-size: 10px;
    color: #6A7E5A;
    margin-bottom: 2px;
  }
  .pd-sev-val {
    font-size: 14px;
    font-weight: 600;
    color: #1C3A15;
  }
  .pd-sev-val.high {
    color: #C0392B;
  }
  .pd-sev-val.med {
    color: #E08A1A;
  }
  .pd-escalate-btn {
    width: 100%;
    margin-top: 10px;
    background: #1C3A15;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }

  .pd-right-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pd-info-card {
    background: #fff;
    border: 1px solid #E4DDD0;
    border-radius: 14px;
    padding: 16px;
  }
  .pd-ic-title {
    font-size: 13px;
    font-weight: 600;
    color: #1C3A15;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pd-prop-sel {
    width: 100%;
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #2D4A1E;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 10px;
  }
  .pd-tip-row {
    display: flex;
    gap: 6px;
    padding: 10px;
    background: #FFFBF4;
    border: 1px solid #FAC775;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .pd-tip-text {
    font-size: 11px;
    color: #633806;
    line-height: 1.5;
  }
  .pd-quick-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .pd-ql {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #F5F0E8;
    border-radius: 8px;
    cursor: pointer;
  }
  .pd-ql:hover {
    background: #EAF3DE;
  }
  .pd-ql-text {
    font-size: 12px;
    color: #2D4A1E;
    font-weight: 500;
  }

  .pd-form-section {
    background: #fff;
    border: 1px solid #E4DDD0;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  .pd-fs-header {
    padding: 16px 20px;
    background: #1C3A15;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pd-fs-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pd-fs-badge {
    background: #6BAB3A;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
  }
  .pd-fs-body {
    padding: 20px;
  }
  .pd-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .pd-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .pd-form-grid-1 {
    margin-bottom: 12px;
  }
  .pd-fgroup {}
  .pd-flabel {
    font-size: 11px;
    font-weight: 600;
    color: #6A7E5A;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .pd-freq {
    color: #C0392B;
    font-size: 10px;
  }
  .pd-finput {
    width: 100%;
    background: #FAFAF8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #1C3A15;
    font-family: 'DM Sans', sans-serif;
    outline: none;
  }
  .pd-finput:focus {
    border-color: #6BAB3A;
  }
  .pd-fselect {
    width: 100%;
    background: #FAFAF8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #1C3A15;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    cursor: pointer;
  }
  .pd-ftextarea {
    width: 100%;
    background: #FAFAF8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #1C3A15;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    resize: vertical;
    min-height: 72px;
  }
  .pd-multisel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .pd-mchip {
    background: #F5F0E8;
    border: 1px solid #DDD5C5;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    color: #4A5E3A;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .pd-mchip.sel {
    background: #EAF3DE;
    border-color: #6BAB3A;
    color: #27500A;
  }
  .pd-radrow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .pd-radopt {
    padding: 7px 14px;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    font-size: 12px;
    color: #4A5E3A;
    cursor: pointer;
    background: #FAFAF8;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .pd-radopt.sel {
    background: #EAF3DE;
    border-color: #6BAB3A;
    color: #27500A;
    font-weight: 600;
  }

  .pd-upload-zone {
    border: 2px dashed #C8BFA8;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    background: #FAFAF8;
  }
  .pd-upload-zone:hover {
    border-color: #6BAB3A;
    background: #F5FAF0;
  }
  .pd-uz-icon {
    width: 36px;
    height: 36px;
    background: #EAF3DE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
  }
  .pd-uz-title {
    font-size: 13px;
    font-weight: 500;
    color: #1C3A15;
  }
  .pd-uz-sub {
    font-size: 11px;
    color: #9AAA8A;
    margin-top: 3px;
  }
  .pd-uploaded-files {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .pd-uf-item {
    background: #EAF3DE;
    border: 1px solid #C0DD97;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pd-uf-name {
    font-size: 11px;
    color: #27500A;
    font-weight: 500;
  }
  .pd-uf-rm {
    font-size: 10px;
    color: #3B6D11;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
  }

  .pd-issue-repeat {
    border: 1px solid #E4DDD0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    background: #FAFAF8;
  }
  .pd-ir-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .pd-ir-num {
    font-size: 12px;
    font-weight: 600;
    color: #3B6D11;
    background: #EAF3DE;
    padding: 3px 10px;
    border-radius: 10px;
  }
  .pd-ir-rm {
    font-size: 11px;
    color: #C0392B;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
  }

  .pd-sec-form-tabs {
    display: flex;
    gap: 0;
    border: 1px solid #E4DDD0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff;
  }
  .pd-sft {
    flex: 1;
    padding: 10px 6px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    background: #FAFAF8;
    color: #9AAA8A;
    border-right: 1px solid #E4DDD0;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    border-top: none;
    border-bottom: none;
    border-left: none;
    transition: background 0.15s, color 0.15s;
  }
  .pd-sft:last-child {
    border-right: none;
  }
  .pd-sft.a {
    background: #1C3A15;
    color: #fff;
  }

  .pd-autosave-bar {
    background: #EAF3DE;
    border: 1px solid #C0DD97;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .pd-as-text {
    font-size: 12px;
    color: #27500A;
  }

  .pd-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #F0EAE0;
    background: #FAFAF8;
  }
  .pd-ask-support-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FCEBEB;
    border: 1px solid #F7C1C1;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #791F1F;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-save-draft-btn {
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5E3A;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-submit-btn {
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }

  .pd-spbar {
    background: #1C3A15;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
  }
  .pd-spt {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
  }
  .pd-spt strong {
    color: #fff;
  }
  .pd-spab {
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
  }

  .pd-modal-overlay {
    background: rgba(28, 58, 21, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    min-height: 260px;
  }
  .pd-modal {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    width: 100%;
    max-width: 380px;
  }
  .pd-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1C3A15;
    margin-bottom: 4px;
  }
  .pd-modal-sub {
    font-size: 12px;
    color: #9AAA8A;
    margin-bottom: 16px;
  }
  .pd-modal-close-btn {
    float: right;
    background: none;
    border: none;
    font-size: 18px;
    color: #9AAA8A;
    cursor: pointer;
    margin-top: -4px;
  }
  .pd-modal-row {
    margin-bottom: 12px;
  }
  .pd-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }
  .pd-modal-cancel {
    flex: 1;
    background: #F5F0E8;
    border: 1px solid #E4DDD0;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5E3A;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }
  .pd-modal-confirm {
    flex: 1;
    background: #6BAB3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
  }

  .pd-layer-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 20px;
  }
  .pd-ld-line {
    flex: 1;
    height: 1px;
    background: #E4DDD0;
  }
  .pd-ld-text {
    font-size: 11px;
    color: #9AAA8A;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
  }