/* Aral Portal policy list: compact overview + full detail dialogs */
.bonus-policy-page-shell .bonus-policy-section {
  min-height: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}
.bonus-policy-page-shell .bonus-policy-table-wrap {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.bonus-policy-table.bonus-policy-compact-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
}
.bonus-policy-compact-table .compact-status { width: 6%; }
.bonus-policy-compact-table .compact-branch { width: 8%; }
.bonus-policy-compact-table .compact-plate { width: 7%; }
.bonus-policy-compact-table .compact-company { width: 13%; }
.bonus-policy-compact-table .compact-number { width: 11%; }
.bonus-policy-compact-table .compact-amount { width: 8%; }
.bonus-policy-compact-table .compact-date { width: 9%; }
.bonus-policy-compact-table .compact-document { width: 10%; }
.bonus-policy-compact-table th,
.bonus-policy-compact-table td {
  min-width: 0;
  padding-right: 7px;
  padding-left: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bonus-policy-compact-table th { font-size: 9px; white-space: normal; }
.bonus-policy-compact-table td { font-size: 11px; }
.bonus-policy-compact-table .bonus-row-document-cell { padding: 4px; overflow: visible; }
.bonus-policy-compact-table .table-document-control {
  grid-template-columns: minmax(0, 1fr) 25px;
  min-height: 28px;
  border-radius: 6px;
}
.bonus-policy-compact-table .table-document-control .portal-document-upload,
.bonus-policy-compact-table .table-document-control .portal-document-delete {
  min-height: 27px;
  padding: 3px 2px;
  font-size: 8.5px;
}
.bonus-policy-compact-table .table-document-control .portal-document-delete {
  font-size: 14px;
  font-weight: 600;
}
.portal-policy-edit-panel {
  width: min(1040px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
}
.portal-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.portal-detail-heading h2 { margin: 0; }
.portal-detail-heading p { margin: 0 0 5px; }
.modal-close-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  place-items: center;
  color: #42536b;
  border: 1px solid #d7e0eb;
  border-radius: 9px;
  background: #f5f8fc;
  font-size: 22px;
  line-height: 1;
}
.portal-policy-detail-grid,
.customer-policy-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.portal-policy-detail-grid > div,
.customer-policy-detail-grid > div {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #e0e7f0;
  border-radius: 9px;
  background: #f7f9fc;
}
.portal-policy-detail-grid span,
.customer-policy-detail-grid span {
  display: block;
  margin-bottom: 5px;
  color: #738198;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.portal-policy-detail-grid strong,
.customer-policy-detail-grid strong {
  display: block;
  overflow: hidden;
  color: #24364f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-policy-edit-grid { margin-top: 18px; }
.portal-policy-edit-panel h3 {
  margin: 22px 0 10px;
  color: #263850;
  font-size: 14px;
}
.portal-policy-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-portal-policy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.customer-portal-policy-actions > button {
  min-height: 38px;
  padding: 8px 14px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background: #1450c9;
  font-size: 11px;
  font-weight: 800;
}
.customer-portal-policy-actions > button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.customer-portal-plate-search .customer-portal-appointment-link {
  min-width: 132px;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #1559d5, #6556df);
  box-shadow: 0 5px 12px rgba(21, 80, 201, .18);
  white-space: nowrap;
}
.customer-portal-plate-search .customer-portal-appointment-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #104bb8, #5546ca);
}
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(1),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(1) { width: 7%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(2),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(2) { width: 5%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(3),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(3) { width: 8%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(4),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(4) { width: 6%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(5),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(5),
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(6),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(6) { width: 6%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(7),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(7) { width: 5%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(8),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(8),
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(9),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(9) { width: 7%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(10),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(10) { width: 7%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(11),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(11) { width: 9%; }
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(12),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(12),
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(13),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(13),
.customer-portal-policy-table.customer-portal-compact-table th:nth-child(14),
.customer-portal-policy-table.customer-portal-compact-table td:nth-child(14) { width: 7%; }
.customer-portal-policy-table.customer-portal-compact-table th,
.customer-portal-policy-table.customer-portal-fleet-table th,
.customer-portal-policy-table.customer-portal-vize-table th {
  box-sizing: border-box;
  height: 44px;
  padding: 9px 5px;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
}
.customer-portal-compact-table td {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
.customer-portal-compact-table .customer-policy-state {
  min-width: 58px;
  font-size: 10px;
}
.customer-portal-compact-table tbody tr[data-customer-policy-row] { cursor: pointer; }
.customer-portal-compact-table tbody tr[data-customer-policy-row].is-selected {
  background: #e6efff;
  box-shadow: inset 4px 0 0 #1450c9;
}
.customer-policy-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.customer-policy-modal.is-open { display: flex; }
.customer-policy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 27, 52, .62);
  backdrop-filter: blur(3px);
}
.customer-policy-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 32px));
  max-height: 88vh;
  padding: 26px;
  overflow-y: auto;
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(9, 28, 58, .3);
}
.customer-policy-modal-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.customer-policy-modal-documents a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
  background: #1450c9;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.customer-policy-modal-documents a:hover { background: #ff0000; }
.customer-policy-modal-documents a.is-disabled {
  pointer-events: none;
  color: #8793a5;
  background: #e9edf3;
}
body.customer-policy-modal-open { overflow: hidden; }

/* Portal ilk giriş izinleri ve profil menüsü */
.portal-consent-page,
.portal-permissions-page {
  min-height: calc(100vh - 76px);
  padding: 34px clamp(18px, 5vw, 84px);
  background: #f3f7fc;
}
.portal-consent-card,
.portal-permissions-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(27, 61, 110, .1);
}
.portal-consent-heading > span { color: #1450c9; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.portal-consent-heading h1,
.portal-permissions-card h1 { margin: 8px 0; color: #0f2445; }
.portal-consent-heading p,
.portal-consent-note,
.portal-permissions-card > p { color: #64748b; }
.portal-consent-list { display: grid; gap: 12px; margin: 24px 0; }
.portal-consent-list article { padding: 14px; border: 1px solid #dce5f1; border-radius: 10px; background: #f8faff; }
.portal-consent-list article > button { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, #1450c9, #6457dc); }
.portal-consent-list article > button.is-read { background: #169b69; }
.portal-consent-list label,
.portal-channel-selection label { display: flex; align-items: center; gap: 8px; color: #243b5a; font-weight: 600; }
.portal-channel-selection { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 0 0 20px; padding: 16px; border: 1px solid #dce5f1; border-radius: 10px; }
.portal-channel-selection legend { padding: 0 8px; color: #0f2445; font-weight: 800; }
.portal-consent-submit { width: 100%; margin-top: 8px; }
.portal-consent-modal { display: none; position: fixed; z-index: 500; inset: 0; align-items: center; justify-content: center; padding: 20px; }
.portal-consent-modal[aria-hidden="false"] { display: flex; }
.portal-consent-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 42, .68); backdrop-filter: blur(3px); }
.portal-consent-modal-panel { position: relative; z-index: 1; width: min(760px, 100%); padding: 26px; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.portal-consent-document { height: min(52vh, 440px); margin: 18px 0 10px; padding: 18px; overflow-y: auto; border: 1px solid #d7e0ec; border-radius: 10px; background: #f8fafc; color: #263c59; line-height: 1.65; white-space: pre-line; }
.portal-permissions-list,
.portal-permissions-card dl { display: grid; gap: 0; margin: 20px 0; }
.portal-permissions-list > div,
.portal-permissions-card dl > div { display: grid; grid-template-columns: minmax(190px, 34%) 1fr; gap: 16px; padding: 13px 4px; border-bottom: 1px solid #e4eaf2; }
.portal-permissions-list dt,
.portal-permissions-card dt { color: #64748b; font-weight: 700; }
.portal-permissions-list dd,
.portal-permissions-card dd { margin: 0; color: #132b4d; font-weight: 700; }
.app-modal[data-customer-permissions-modal] { box-sizing: border-box; align-items: flex-start; overflow: hidden; padding: clamp(12px, 2.5vh, 24px); }
.portal-permissions-modal-panel { display: flex; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); box-sizing: border-box; flex-direction: column; margin: auto; overflow: hidden; text-align: left; }
.portal-permissions-modal-panel > h2 { flex: 0 0 auto; margin-bottom: 8px; }
.portal-permissions-modal-panel [data-customer-permissions-content] { flex: 1 1 auto; min-height: 0; margin-right: -12px; padding-right: 12px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.portal-permissions-modal-panel > .app-modal-actions { flex: 0 0 auto; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e4eaf2; }
.portal-permission-account-heading { margin: 18px 0 0; padding: 10px 12px; border-radius: 8px; color: #1247b8; background: #edf4ff; font-size: 14px; }
.portal-permission-account-heading:first-child { margin-top: 12px; }
@media(max-width:600px){.app-modal[data-customer-permissions-modal]{padding:10px}.portal-permissions-modal-panel{width:100%;max-height:calc(100dvh - 20px);padding:20px}.portal-permissions-modal-panel .portal-permissions-list>div{grid-template-columns:1fr;gap:4px}}
.portal-profile-menu { position: relative; max-width: min(310px, 42vw); color: #fff; }
.portal-profile-menu summary { display: flex; min-width: 230px; min-height: 48px; align-items: center; gap: 10px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.38); border-radius: 11px; cursor: pointer; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); list-style: none; transition: background .18s ease, border-color .18s ease; }
.portal-profile-static-content { display: flex; min-width: 230px; min-height: 48px; align-items: center; gap: 10px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.38); border-radius: 11px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.portal-profile-menu summary:hover,
.portal-profile-menu[open] summary { border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.16); }
.portal-profile-menu summary::-webkit-details-marker { display: none; }
.portal-profile-avatar { position: relative; display: block; flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: linear-gradient(145deg,#2768df,#0e46b1); box-shadow: 0 3px 10px rgba(7,34,91,.24), inset 0 1px 0 rgba(255,255,255,.22); }
.portal-profile-avatar img { position: absolute; top: 8px; left: 2px; width: 95px; max-width: none; height: auto; }
.portal-profile-copy { display: grid; min-width: 0; flex: 1; gap: 1px; text-align: left; }
.portal-profile-copy small { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.portal-profile-copy strong { overflow: hidden; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.portal-profile-chevron { flex: 0 0 auto; font-size: 18px; transition: transform .18s ease; }
.portal-profile-menu[open] .portal-profile-chevron { transform: rotate(180deg); }
.portal-profile-menu > .portal-profile-dropdown { position: absolute; z-index: 60; top: calc(100% + 9px); right: 0; width: 100%; min-width: 230px; padding: 8px; border: 1px solid #dce5f1; border-radius: 11px; color: #183252; background: #fff; box-shadow: 0 18px 42px rgba(15,36,69,.24); }
.portal-profile-dropdown-label { display: block; padding: 6px 9px 8px; color: #7a889a; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.portal-profile-menu > .portal-profile-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 11px 10px; border-radius: 7px; color: #183252; font-size: 12px; font-weight: 800; text-decoration: none; }
.portal-profile-menu > .portal-profile-dropdown a:hover { color: #fff; background: #1450c9; }
.portal-profile-menu > .portal-profile-dropdown a + a { margin-top: 3px; }
.portal-account-page-header { top: 0; }
.portal-password-card { max-width: 560px; }
.portal-password-card > .muted { margin: 4px 0 22px; }
.portal-password-form { margin-top: 20px; }
.portal-password-success { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #a9dcc4; border-radius: 9px; color: #12633e; background: #e9f8f0; font-size: 12px; font-weight: 700; line-height: 1.5; }

@media (max-width: 760px) {
  .customer-portal-contact-lines { grid-template-columns: 1fr; gap: 13px; }
  .customer-portal-contact-phone { justify-content: center; }
  .portal-profile-menu { max-width: min(230px, 56vw); }
  .portal-profile-menu summary { min-width: 0; }
  .portal-profile-static-content { min-width: 0; }
  .portal-profile-copy small { display: none; }
  .portal-policy-detail-grid,
  .customer-policy-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-policy-document-grid,
  .customer-policy-modal-documents { grid-template-columns: 1fr; }
  .portal-consent-card,
  .portal-permissions-card { padding: 20px; }
  .portal-permissions-list > div,
  .portal-permissions-card dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Portal sabit kabuk son öncelik düzeltmeleri */
.customer-portal-body .portal-app-header { position: fixed; top: 30px; right: 0; left: 0; align-items: center; }
@media (max-width: 680px) {
  .customer-portal-body .portal-app-header { top: 28px; min-height: 68px; align-items: center; }
}

/* Müşteri portalı okunabilir ve yumuşak tipografi */
.customer-portal-body,
.customer-portal-body button,
.customer-portal-body input,
.customer-portal-body select,
.customer-portal-body textarea {
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}
.customer-portal-body h1,
.customer-portal-body h2,
.customer-portal-body h3,
.customer-portal-body h4,
.customer-portal-body strong { font-weight: 600; }
.customer-portal-body button,
.customer-portal-body .button,
.customer-portal-body label { font-weight: 500; }
.customer-portal-body .portal-sidebar-customer small,
.customer-portal-body .portal-sidebar > nav > a,
.customer-portal-body .portal-sidebar-settings > summary,
.customer-portal-body .portal-sidebar-settings > div a,
.customer-portal-body .portal-sidebar-secure,
.customer-portal-body .portal-profile-copy small,
.customer-portal-body .portal-notification-link,
.customer-portal-body .customer-portal-status,
.customer-portal-body .customer-portal-summary span,
.customer-portal-body .portal-overview-card > span,
.customer-portal-body .portal-overview-card > a,
.customer-portal-body .portal-overview-intro a,
.customer-portal-body .customer-portal-kicker,
.customer-portal-body .customer-portal-eyebrow,
.customer-portal-body .customer-portal-policy-head span,
.customer-portal-body .customer-portal-inspection-head span,
.customer-portal-body .customer-portal-inspection-row.is-head,
.customer-portal-body .portal-permissions-card dt,
.customer-portal-body .portal-permissions-card dd { font-weight: 600; }
.customer-portal-body .customer-portal-policy-table th { font-weight: 600; }
.customer-portal-body .customer-portal-policy-table td { font-weight: 400; }
.customer-portal-body .customer-policy-state,
.customer-portal-body .customer-document-link,
.customer-portal-body .inspection-days,
.customer-portal-body .portal-resend-form button,
.customer-portal-body .portal-channel-selection legend { font-weight: 600; }
.customer-portal-body .customer-portal-contact-bar-email,
.customer-portal-body .customer-portal-phone-menu > div a,
.customer-portal-body .customer-portal-footer,
.customer-portal-body .customer-portal-footer a { font-weight: 500; }

/* ARAL CRM genelinde portal ile bire bir yumuşak tipografi */
body:not(.customer-portal-body),
body:not(.customer-portal-body) button,
body:not(.customer-portal-body) input,
body:not(.customer-portal-body) select,
body:not(.customer-portal-body) textarea {
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}
body:not(.customer-portal-body) :where(p, span, a, div, li, dt, dd, td, input, select, textarea, small) {
  font-weight: 400 !important;
}
body:not(.customer-portal-body) :where(h1, h2, h3, h4, h5, h6, strong, b) {
  font-weight: 600 !important;
}
body:not(.customer-portal-body) :where(button, .button, label) {
  font-weight: 500 !important;
}
body:not(.customer-portal-body) :where(th, .nav-item, .settings-card, .quick-grid a, .pagination-actions a, .pagination-actions span) {
  font-weight: 600 !important;
}
body:not(.customer-portal-body) :where(.offer-status-badge, .days-badge, .date-chip, .dashboard-card-scope, .birthday-count, .birthday-greeting-state, .customer-status-badge, .portal-account-status-badge, .inspection-notification summary > span) {
  font-weight: 600 !important;
}
/* Portal request center */
.portal-request-page{padding:0 24px 24px}.portal-request-page .page-head p{margin:5px 0 0;color:#64748b}.portal-request-filters{display:flex;gap:10px;align-items:center;padding:0 0 14px}.portal-request-filters input{min-width:310px}.portal-request-filters input,.portal-request-filters select{height:40px;border:1px solid #cbd7e8;border-radius:8px;background:#fff;padding:0 12px;color:#17345c}.portal-request-filters .button{height:40px;display:inline-flex;align-items:center}.portal-request-table{width:100%;border-collapse:collapse}.portal-request-table th,.portal-request-table td{padding:13px 14px;border-bottom:1px solid #e2e8f0;text-align:left}.portal-request-table th{background:#dce7f7;color:#1450c8;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.portal-request-table td small{display:block;margin-top:4px;color:#64748b}.portal-request-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:650;white-space:nowrap;background:#eef2f7;color:#475569}.portal-request-status.is-open{background:#fff1d6;color:#9a5b00}.portal-request-status.is-in_progress{background:#dceaff;color:#1450c8}.portal-request-status.is-waiting_customer{background:#f0e6ff;color:#7040a8}.portal-request-status.is-completed{background:#daf5e7;color:#087447}.portal-request-status.is-cancelled{background:#fee2e2;color:#b42318}.portal-request-detail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.portal-request-back-button{display:inline-flex;align-items:center;gap:7px;height:36px;margin-bottom:10px;padding:0 14px;border:1px solid #b8c9e2;background:#fff;color:#174eae;box-shadow:0 4px 12px rgba(26,75,154,.08);font-size:12px;font-weight:650}.portal-request-back-button:hover{border-color:#2761c9;background:#edf4ff;color:#12469e}.portal-request-back-button span{font-size:16px;line-height:1}.portal-request-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px}.portal-request-record,.portal-request-manage{padding:22px}.portal-request-facts{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:22px}.portal-request-facts>div{padding:14px;border-radius:10px;background:#f5f8fc}.portal-request-facts span,.portal-request-result span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.portal-request-facts strong,.portal-request-facts small{display:block;margin-top:5px}.portal-request-record h2,.portal-request-manage h2{font-size:17px;margin:20px 0 12px}.portal-request-result{border-left:4px solid #1d58ce;background:#f0f5ff;padding:14px 16px;border-radius:8px}.portal-request-result p{margin:7px 0 0}.portal-request-conversation{display:flex;flex-direction:column;gap:10px}.portal-request-conversation article,.portal-customer-conversation article{padding:14px;border:1px solid #dbe4f1;border-radius:10px;background:#fff}.portal-request-conversation article.is-staff,.portal-customer-conversation article.is-staff{border-left:4px solid #1b59d1;background:#f6f9ff}.portal-request-conversation article.is-customer,.portal-customer-conversation article.is-customer{border-left:4px solid #14a66f}.portal-request-conversation header,.portal-customer-conversation article header{display:flex;justify-content:space-between;gap:10px;color:#17345c}.portal-request-conversation time,.portal-customer-conversation time{color:#64748b;font-size:11px}.portal-request-conversation p,.portal-customer-conversation article p{margin:9px 0}.portal-request-conversation a,.portal-customer-conversation article a{display:inline-block;color:#1450c8;font-weight:600}.portal-request-timeline{list-style:none;margin:0;padding:0}.portal-request-timeline li{display:grid;grid-template-columns:14px 1fr;gap:10px;padding-bottom:15px}.portal-request-timeline i{width:10px;height:10px;margin-top:4px;border-radius:50%;background:#1b59d1;box-shadow:0 0 0 4px #e4edff}.portal-request-timeline span{display:block;color:#64748b;font-size:11px;margin-top:3px}.portal-request-timeline p{margin:5px 0 0}.portal-request-manage{align-self:start;position:sticky;top:76px}.portal-request-manage .form-field{margin-bottom:13px}.portal-request-manage label,.portal-request-reply label{display:block;margin-bottom:5px;color:#314b6e;font-size:12px;font-weight:600}.portal-request-manage input:not([type=checkbox]),.portal-request-manage select,.portal-request-manage textarea,.portal-request-reply input,.portal-request-reply textarea{width:100%;box-sizing:border-box;border:1px solid #cbd7e8;border-radius:8px;background:#fff;padding:10px}.portal-request-manage .checkbox-field{display:flex;align-items:center;gap:8px}.portal-request-manage .checkbox-field label{margin:0}.portal-request-manage .checkbox-field input{order:-1}.portal-request-manage .form-help{font-size:11px;color:#64748b}.portal-request-manage button{width:100%}
.portal-recent-requests a{display:flex!important;justify-content:space-between;gap:12px;text-decoration:none}.portal-recent-requests a strong{font-size:11px;color:#1450c8}.portal-recent-requests a small{color:#64748b}.portal-request-center{padding:22px}.portal-section-heading span,.portal-request-customer-detail>header>div>span{font-size:10px;letter-spacing:.08em;color:#667995}.portal-section-heading h1{margin:5px 0;font-size:25px;color:#102b52}.portal-section-heading p{margin:0;color:#65758d}.portal-request-center-grid{display:grid;grid-template-columns:370px minmax(0,1fr);gap:16px;margin-top:18px}.portal-request-center-grid.is-list-only{grid-template-columns:minmax(0,760px)}.portal-request-customer-list,.portal-request-customer-detail{background:#fff;border:1px solid #d6e0ee;border-radius:12px;overflow:hidden}.portal-request-customer-list>a{display:flex;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e5ebf4;text-decoration:none;color:#17345c}.portal-request-customer-list>a:hover,.portal-request-customer-list>a.is-active{background:#edf4ff;box-shadow:inset 4px 0 #1b59d1}.portal-request-customer-list>a>div{display:flex;flex-direction:column;gap:5px}.portal-request-customer-list>a>div:last-child{align-items:flex-end}.portal-request-customer-list time{font-size:10px;color:#73829a}.portal-request-empty{padding:35px;text-align:center}.portal-request-empty a{color:#1450c8}.portal-request-customer-detail{padding:22px}.portal-request-customer-detail>header{display:flex;justify-content:space-between;align-items:start;padding-bottom:18px;border-bottom:1px solid #e2e8f0}.portal-request-customer-detail h2{margin:5px 0;font-size:21px}.portal-request-customer-detail header p{margin:0;color:#667995}.portal-customer-steps{display:flex;gap:0;overflow-x:auto;padding:22px 4px}.portal-customer-steps>div{min-width:150px;position:relative;padding-top:20px}.portal-customer-steps>div:before{content:"";position:absolute;top:6px;left:8px;right:-8px;height:2px;background:#c8d7ec}.portal-customer-steps>div:last-child:before{right:auto;width:0}.portal-customer-steps i{position:absolute;top:1px;left:2px;width:12px;height:12px;border:3px solid #dbe8fb;border-radius:50%;background:#1b59d1;z-index:1}.portal-customer-steps strong,.portal-customer-steps span{display:block;font-size:11px}.portal-customer-steps span{margin-top:4px;color:#73829a}.portal-customer-steps p{font-size:11px;color:#54657e}.portal-customer-conversation{margin-top:20px}.portal-customer-conversation h3,.portal-request-reply h3{font-size:16px;color:#17345c}.portal-customer-conversation article{margin-bottom:10px}.portal-request-reply{margin-top:18px;padding:17px;border-radius:10px;background:#f3f7fc}.portal-request-reply .form-field{margin-bottom:12px}.portal-request-reply small{display:block;color:#73829a;margin-bottom:12px}
.portal-requests-screen{height:100vh;overflow:hidden}.portal-requests-screen .portal-app-frame{height:calc(100vh - 106px);min-height:0;overflow:hidden}.portal-requests-screen .portal-app-content{height:100%;box-sizing:border-box;overflow:hidden;padding:10px 18px}.portal-requests-screen .portal-request-center{height:100%;box-sizing:border-box;padding:0}.portal-requests-screen .portal-section-heading h1{margin:0 0 8px}.portal-requests-screen .portal-request-center-grid{height:calc(100% - 38px);min-height:0;margin-top:0}.portal-requests-screen .portal-request-customer-list{min-height:0;overflow-y:auto;scrollbar-gutter:stable}.portal-requests-screen .portal-request-customer-detail{min-height:0;overflow-y:auto;scrollbar-gutter:stable}
@media(max-width:1000px){.portal-request-detail-grid,.portal-request-center-grid{grid-template-columns:1fr}.portal-request-manage{position:static}.portal-request-facts{grid-template-columns:1fr}.portal-request-filters{flex-wrap:wrap}.portal-request-filters input{min-width:220px}.portal-request-customer-list{max-height:350px;overflow:auto}}
@media(max-width:1000px){.portal-requests-screen{height:auto;overflow:auto}.portal-requests-screen .portal-app-frame{height:auto;min-height:calc(100vh - 96px);overflow:visible}.portal-requests-screen .portal-app-content,.portal-requests-screen .portal-request-center,.portal-requests-screen .portal-request-center-grid{height:auto;overflow:visible}.portal-requests-screen .portal-app-content{padding:14px}.portal-requests-screen .portal-request-customer-detail{overflow:visible}}
.list-head-tools .portal-request-filters{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:7px;margin:0;padding:0}.list-head-tools .portal-request-filters input{width:clamp(250px,22vw,350px);min-width:250px;height:39px;min-height:39px;padding:8px 11px;border:1px solid #c5d2e3;border-radius:8px;background:rgba(255,255,255,.92);font-size:12px}.list-head-tools .portal-request-filters select{width:155px;height:39px;min-height:39px;padding:7px 30px 7px 10px;border:1px solid #c5d2e3;border-radius:8px;background-color:rgba(255,255,255,.92);color:#314b6e;font-size:11px}.list-head-tools .portal-request-filters select[name=type]{width:170px}.list-head-tools .portal-request-filters button,.list-head-tools .portal-request-filters .button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:70px;height:39px;min-height:39px;padding:7px 12px;font-size:11px}.list-head-tools .portal-request-filters .button.secondary{min-width:72px}@media(max-width:1180px){.list-head-tools .portal-request-filters{flex-wrap:wrap}.list-head-tools .portal-request-filters input{flex:1 1 280px}.list-head-tools .portal-request-filters select{flex:0 1 155px}}@media(max-width:760px){.list-head-tools .portal-request-filters{width:100%;justify-content:flex-start}.list-head-tools .portal-request-filters input,.list-head-tools .portal-request-filters select,.list-head-tools .portal-request-filters select[name=type]{width:100%;min-width:0;flex:1 1 100%}}
.portal-request-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.portal-request-detail-actions .portal-request-back-button{margin:0}.portal-request-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.portal-request-detail-grid{align-items:stretch}.portal-request-detail-grid>.portal-request-record,.portal-request-detail-grid>.portal-request-manage{height:auto;box-sizing:border-box;align-self:stretch}.portal-request-detail-grid>.portal-request-manage{position:static;top:auto;margin-top:0}
@media(max-width:700px){.portal-request-detail-head{align-items:flex-start;flex-direction:column;gap:10px}.portal-request-detail-actions{width:100%;justify-content:space-between}.portal-request-facts{grid-template-columns:1fr}}

/* Portal ilk giris izin tercihleri */
.portal-consent-page{padding:24px clamp(18px,4vw,64px)}
.portal-consent-card{width:min(1040px,100%);padding:28px 30px}
.portal-consent-heading{padding-bottom:22px;border-bottom:1px solid #e3eaf3}
.portal-consent-heading h1{font-size:30px;font-weight:650;letter-spacing:-.025em}
.portal-consent-heading p{margin:7px 0 0;line-height:1.55}
.portal-consent-progress{display:flex;align-items:center;max-width:620px;margin-top:20px;color:#718198;font-size:11px;font-weight:600}
.portal-consent-progress span{display:flex;align-items:center;gap:7px;white-space:nowrap}.portal-consent-progress b{display:grid;width:25px;height:25px;place-items:center;border:1px solid #cbd7e8;border-radius:50%;color:#64748b;background:#fff}.portal-consent-progress .is-active{color:#174fb9}.portal-consent-progress .is-active b{border-color:#1d5bd1;color:#fff;background:#1d5bd1}.portal-consent-progress i{width:54px;height:1px;margin:0 10px;background:#d9e2ee}
.portal-consent-list{gap:10px;margin:20px 0}.portal-consent-list .portal-consent-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:16px 18px;background:#fff;transition:border-color .18s,box-shadow .18s}.portal-consent-list .portal-consent-item.is-required{border-left:3px solid #1d5bd1}.portal-consent-list .portal-consent-item.is-complete{border-color:#9ed8bd;box-shadow:0 5px 18px rgba(18,132,83,.07)}
.portal-consent-document-icon{display:grid;grid-row:1/span 2;width:42px;height:42px;place-items:center;border-radius:11px;color:#1856c9;background:#edf4ff;font-size:19px;font-weight:700}.portal-consent-item-copy h2{margin:3px 0 4px;color:#132b4d;font-size:16px;font-weight:650}.portal-consent-item-copy p{margin:0;color:#667891;font-size:12px}.portal-consent-kicker{color:#1856c9;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.portal-consent-kicker.is-optional{color:#7a6a45}
.portal-consent-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.portal-consent-list article>.portal-consent-actions button{display:inline-flex;width:auto;min-width:102px;margin:0;padding:9px 13px;color:#174fab;background:#f7faff;border:1px solid #bcd0ec;box-shadow:none}.portal-consent-status{padding:5px 8px;border-radius:999px;color:#667891;background:#eef2f7;font-size:10px;font-weight:650;white-space:nowrap}.is-complete .portal-consent-status{color:#087447;background:#dff5e9}
.portal-consent-choice{grid-column:2/span 2;margin-top:7px}.portal-consent-list .portal-consent-choice{font-size:12px;font-weight:550}.portal-consent-choice input{width:16px;height:16px;margin:0;accent-color:#1d5bd1}
.portal-channel-selection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;padding:16px 18px;background:#fbfcfe}.portal-channel-selection:disabled{opacity:.55}.portal-channel-selection legend{font-size:14px;font-weight:650}.portal-channel-selection legend small{margin-left:8px;color:#74849b;font-size:10px;font-weight:500}.portal-channel-selection label{position:relative;min-height:48px;padding:8px 10px;border:1px solid #dbe4f0;border-radius:9px;background:#fff;font-size:12px}.portal-channel-selection label input{order:-1;width:16px;height:16px;margin-left:auto;accent-color:#1d5bd1}.portal-channel-selection label b{font-weight:600}.portal-channel-icon{display:grid;width:29px;height:29px;place-items:center;border-radius:8px;color:#1a56c5;background:#edf4ff;font-size:10px;font-weight:750}
.portal-consent-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:16px;border-top:1px solid #e3eaf3}.portal-consent-footer .portal-consent-note{max-width:540px;margin:0;font-size:11px;line-height:1.55}.portal-consent-submit{width:auto;min-width:310px;margin:0;padding:13px 18px}.portal-consent-submit span{margin-left:8px;font-size:16px}.portal-consent-errors{margin-top:16px;padding:11px 14px;border:1px solid #efb6bc;border-radius:9px;color:#a52b38;background:#fff2f3;font-size:12px}.portal-consent-errors ul{margin:0;padding-left:18px}
.portal-consent-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.portal-consent-modal-head span{color:#1856c9;font-size:9px;font-weight:750;letter-spacing:.1em}.portal-consent-modal-head h2{margin:5px 0 0}.portal-consent-close{width:36px;height:36px;padding:0;border-radius:50%;color:#536780;background:#eef2f7;box-shadow:none;font-size:22px}.portal-consent-modal-panel>[data-consent-scroll-note]{color:#667891;font-size:11px}.portal-consent-modal-panel>[data-consent-confirm]{width:100%}
@media(min-width:761px){body.portal-consent-screen{height:100vh;overflow:hidden}.portal-consent-screen .consent-header{height:76px;min-height:76px}.portal-consent-screen .portal-consent-page{display:flex;height:calc(100vh - 76px);box-sizing:border-box;align-items:center;justify-content:center;overflow:hidden;padding:12px 24px}.portal-consent-screen .portal-consent-card{max-height:calc(100vh - 100px);box-sizing:border-box;padding:18px 26px;overflow:hidden}.portal-consent-screen .portal-consent-heading{padding-bottom:13px}.portal-consent-screen .portal-consent-heading h1{margin:4px 0 0;font-size:25px}.portal-consent-screen .portal-consent-heading p{margin-top:4px}.portal-consent-screen .portal-consent-progress{margin-top:12px}.portal-consent-screen .portal-consent-list{gap:8px;margin:12px 0}.portal-consent-screen .portal-consent-list .portal-consent-item{padding:11px 15px}.portal-consent-screen .portal-consent-document-icon{width:38px;height:38px}.portal-consent-screen .portal-consent-footer{padding-top:11px}.portal-consent-screen .portal-consent-submit{padding:10px 16px}}
@media(max-width:760px){.portal-consent-list .portal-consent-item{grid-template-columns:38px 1fr}.portal-consent-actions,.portal-consent-choice{grid-column:1/span 2}.portal-consent-actions{justify-content:space-between;margin-top:8px}.portal-channel-selection{grid-template-columns:repeat(2,1fr)}.portal-consent-footer{align-items:stretch;flex-direction:column}.portal-consent-submit{width:100%;min-width:0}.portal-consent-progress{display:none}}

/* Portal genel bakis: okunabilir tek ekran yerlesimi */
@media (min-width:1001px) and (min-height:800px){
  body.portal-overview-screen{height:100vh;overflow:hidden}
  .portal-overview-screen .portal-app-frame{height:calc(100vh - 106px);min-height:0;overflow:hidden}
  .portal-overview-screen .portal-app-content{height:100%;box-sizing:border-box;overflow:hidden;padding:12px 18px}
  .portal-overview-screen .portal-dashboard-content{display:flex;height:100%;min-height:0;flex-direction:column}
  .portal-overview-screen .customer-portal-summary{flex:0 0 auto;gap:12px;margin-bottom:12px}
  .portal-overview-screen .customer-portal-summary article{min-height:78px;padding:12px 17px}
  .portal-overview-screen .customer-portal-summary span{font-size:11px}
  .portal-overview-screen .customer-portal-summary strong{margin-top:5px;font-size:27px}
  .portal-overview-screen .portal-overview-grid{gap:12px;margin-top:0}
  .portal-overview-screen .portal-overview-card{min-height:158px;padding:20px 22px}
  .portal-overview-screen .portal-overview-card>span{font-size:10px}
  .portal-overview-screen .portal-overview-card>strong{margin-top:11px;font-size:40px}
  .portal-overview-screen .portal-overview-card h3{margin:9px 0 4px;font-size:24px}
  .portal-overview-screen .portal-overview-card p{margin:7px 0;font-size:13px;line-height:1.5}
  .portal-overview-screen .portal-overview-card>a{font-size:12px}
  .portal-overview-screen .portal-overview-intro a{padding:8px 11px;font-size:11px}
  .portal-overview-screen .portal-insight-grid{grid-template-rows:minmax(250px,1.35fr) minmax(132px,.65fr);min-height:0;flex:1 1 auto;gap:12px;margin-top:12px}
  .portal-overview-screen .portal-insight-card{padding:19px 21px}
  .portal-overview-screen .portal-insight-heading span{font-size:10px}
  .portal-overview-screen .portal-insight-heading h3{margin-top:5px;font-size:19px}
  .portal-overview-screen .portal-insight-heading>strong{font-size:32px}
  .portal-overview-screen .portal-distribution-content{gap:28px;margin-top:12px}
  .portal-overview-screen .portal-donut{width:178px;height:178px;flex-basis:178px}
  .portal-overview-screen .portal-donut:after{width:104px;height:104px}
  .portal-overview-screen .portal-donut>span{font-size:32px}
  .portal-overview-screen .portal-chart-legend{gap:5px}
  .portal-overview-screen .portal-chart-legend>div{font-size:12px}
  .portal-overview-screen .portal-chart-legend strong{font-size:13px}
  .portal-overview-screen .portal-fleet-metrics{gap:8px;margin-top:14px}
  .portal-overview-screen .portal-fleet-metrics>div{padding:10px 11px;font-size:12px}
  .portal-overview-screen .portal-fleet-metrics strong{font-size:21px}
  .portal-overview-screen .portal-fleet-summary-card>a{margin-top:11px;font-size:11px}
  .portal-overview-screen .portal-risk-card ul{gap:9px;min-height:88px;margin:16px 0 14px;font-size:12px}
  .portal-overview-screen .portal-risk-card li{min-height:42px;padding:12px 13px 12px 39px}
  .portal-overview-screen .portal-risk-scale{min-height:38px;font-size:9px}.portal-overview-screen .portal-risk-scale span{padding:8px 3px}
  .portal-overview-screen .portal-quick-request-card{padding:16px 20px}
  .portal-overview-screen .portal-quick-request-card>p{margin:5px 0 10px;font-size:12px}
  .portal-overview-screen .portal-request-actions button{min-height:48px;padding:8px 11px;font-size:11px}
}

/* Portal talepleri bos durum */
.portal-request-center-grid.is-empty{grid-template-columns:minmax(0,1fr);place-items:center}
.portal-requests-screen .portal-request-center-grid.is-empty{height:calc(100% - 38px)}
.portal-request-center-grid.is-empty .portal-request-customer-list{width:min(680px,100%);min-height:0;align-self:center;overflow:visible;border:0;background:transparent;box-shadow:none}
.portal-request-empty{box-sizing:border-box;padding:44px 54px;border:1px solid #d7e2f0;border-radius:16px;background:#fff;box-shadow:0 18px 46px rgba(27,61,110,.09);text-align:center}
.portal-request-empty-icon{display:grid;width:62px;height:62px;margin:0 auto 16px;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(145deg,#1450c9,#5365df);box-shadow:0 10px 24px rgba(20,80,201,.22)}
.portal-request-empty-icon span{font-size:29px;line-height:1}.portal-request-empty-kicker{color:#1b58c9;font-size:9px;font-weight:700;letter-spacing:.11em}.portal-request-empty h2{margin:8px 0;color:#142f55;font-size:21px;font-weight:650}.portal-request-empty p{max-width:520px;margin:0 auto;color:#687a92;font-size:12px;line-height:1.65}
.portal-request-empty-options{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:20px 0}.portal-request-empty-options span{padding:6px 9px;border:1px solid #d9e4f2;border-radius:999px;color:#536a87;background:#f6f9fd;font-size:10px;font-weight:550}
.portal-request-empty .portal-request-empty-action{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:10px;padding:0 18px;border-radius:9px;color:#fff;background:linear-gradient(135deg,#1450c9,#5d5ddd);box-shadow:0 8px 20px rgba(20,80,201,.2);font-size:11px;font-weight:650;text-decoration:none}.portal-request-empty-action b{font-size:16px;font-weight:500}
@media(max-width:700px){.portal-request-empty{padding:32px 20px}.portal-request-empty h2{font-size:19px}.portal-request-empty-options{display:grid;grid-template-columns:1fr 1fr}}

/* Portal sabit baslik ile icerik arasindaki ortak ust bosluk */
@media (min-width:1001px){
  .customer-portal-body .portal-app-content{padding-top:8px}
  .customer-portal-body .portal-dashboard-content .customer-portal-policy-card{margin-top:0}
}

/* Portal liste ekranlari: sabit kart, kart icinde dikey kaydirma */
@media (min-width:1001px){
  body.portal-list-screen{height:100vh;overflow:hidden}
  .portal-list-screen .portal-app-frame{height:calc(100vh - 106px);min-height:0;overflow:hidden}
  .portal-list-screen .portal-app-content{height:100%;box-sizing:border-box;overflow:hidden;padding:8px 18px 12px}
  .portal-list-screen .portal-dashboard-content{display:grid;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto;gap:8px}
  .portal-list-screen .customer-portal-policy-card{display:grid;height:100%;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}
  .portal-list-screen .customer-portal-table-wrap{min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
  .portal-list-screen .customer-portal-policy-table thead{position:sticky;top:0;z-index:3}
  .portal-list-screen .customer-portal-policy-table th{box-shadow:0 1px 0 rgba(12,45,98,.18)}
  .portal-list-screen .pagination-controls{margin-top:0}
}
.list-head-tools .portal-request-filters .toolbar-icon-button,
.list-head-tools .portal-request-filters .button.toolbar-icon-button,
.list-head-tools .portal-request-filters .button.toolbar-icon-button.secondary { width:40px; min-width:40px; height:40px; min-height:40px; padding:0; border-radius:50%; font-size:0; }
