/* ==========================================================================
   Moris Proposal Management — app-level styles.

   The design's own stylesheets (header/menu/common/pages) are used verbatim.
   This file only covers the React components that have no counterpart in the
   static HTML (toast stack, status pill, chips, pagination, skeletons), using
   the same tokens as scss/_variables.scss.
   ========================================================================== */

:root {
  --moris-primary: #6D007D;
  --moris-secondary: #EF1855;
  --moris-red: #E1003E;
  --moris-yellow: #FDEC07;
  --moris-gray: #6F6F6F;
  --moris-gray-light: #EAEAEA;
  --moris-green: #089D41;
  --moris-bg: #F7F8FB;
  --moris-gradient: linear-gradient(110deg, #6E0D88 0%, #E1003E 100%);
}

/* ── Page shell ────────────────────────────────────────────────────────── */
/* .dashboard_menu is position:fixed; .custom_container's padding-left:95px
   already clears the collapsed rail, so the shell just needs height. */
.fullheight { min-height: 100vh; width: 100%; }
.listing_area { width: 100%; padding-bottom: 40px; }

/* The rail overlays content when it expands, so lift it above the tables. */
.dashboard_menu { z-index: 101; }
.dashboard_menu .menu_links > ul { width: 100%; list-style: none; margin: 0; padding: 0; }
.dashboard_menu .menu_links > ul li a.disabled { opacity: .45; cursor: default; }
/* Group headers are buttons, not links — keep the pointer affordance. */
.dashboard_menu .menu_links > ul li .main_heading a { cursor: pointer; }
.page_title { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700; color: #1a1a1a; margin: 0; }
.page_subtitle { font-size: 13px; color: var(--moris-gray); margin: 4px 0 0; }

.top_section .user_chip { gap: 10px; margin-left: 16px; }
.top_section .user_name { font-size: 13px; font-weight: 600; color: #1a1a1a; white-space: nowrap; }

/* Not .custom_container — nesting one inside another applies its max-width
   and its 95px sidebar padding twice. */
.allcount_box { margin-top: 18px; }
.allcount_inner { display: flex; flex-wrap: wrap; gap: 12px; }
.allcount_box .countbox {
  background: #fff; border: 1px solid var(--moris-gray-light); border-radius: 10px;
  padding: 12px 18px; min-width: 130px;
}
.allcount_box .countbox h3 {
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700;
  margin: 0; color: var(--moris-primary);
}
.allcount_box .countbox p { margin: 2px 0 0; font-size: 12px; color: var(--moris-gray); }

/* ── Tables ────────────────────────────────────────────────────────────── */
.moris_table_wrap { background: #fff; border-radius: 12px; overflow: auto; border: 1px solid var(--moris-gray-light); }
.moris_table { width: 100%; border-collapse: collapse; font-size: 13px; }
.moris_table thead th {
  background: var(--moris-bg); color: #1a1a1a; font-weight: 600; text-align: left;
  padding: 14px 12px; white-space: nowrap; border-bottom: 1px solid var(--moris-gray-light);
  position: sticky; top: 0; z-index: 2;
}
.moris_table tbody td { padding: 12px; border-bottom: 1px solid #f2f2f2; vertical-align: top; }
.moris_table tbody tr:hover { background: #fcfcfd; }
.moris_table .cell_title { font-weight: 600; color: #1a1a1a; }
.moris_table .cell_sub { display: block; font-size: 12px; color: var(--moris-gray); margin-top: 2px; }
.moris_table .cell_clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 420px; }
.moris_table .cell_price { font-weight: 600; white-space: nowrap; }
.moris_table .table_btn {
  min-width: 0; min-height: 0; font-size: 11px; padding: 5px 12px;
  display: inline-flex; border-radius: 5px;
}
.moris_table td .table_btn + .table_btn { margin-top: 6px; }
.moris_table .cell_discount { display: block; font-size: 11px; color: var(--moris-green); }
.moris_table ul.included_list { margin: 0; padding-left: 16px; }
.moris_table ul.included_list li { font-size: 12px; color: var(--moris-gray); }

/* ── Status pill ───────────────────────────────────────────────────────── */
.status_toggle { border: 1px solid var(--moris-gray-light); border-radius: 20px; overflow: hidden; width: max-content; }
.status_toggle button {
  border: 0; background: #fff; padding: 5px 14px; font-size: 12px;
  color: var(--moris-gray); cursor: pointer;
}
.status_toggle button.active { background: var(--moris-green); color: #fff; }
.status_toggle button.inactive { background: var(--moris-red); color: #fff; }
.status_toggle.is_busy { opacity: .6; pointer-events: none; }

/* ── Chips (multi-select) ──────────────────────────────────────────────── */
.selected_chips { gap: 6px; align-items: center; }
.selected_chips .chip {
  background: #F0F6FF; border: 1px solid #d9e6fb; border-radius: 14px;
  padding: 3px 8px 3px 10px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px;
}
.selected_chips .chip button { border: 0; background: none; color: var(--moris-red); line-height: 1; cursor: pointer; }
.selected_chips .chip_add {
  border: 1px dashed var(--moris-gray-light); background: #fff; border-radius: 14px;
  padding: 4px 12px; font-size: 12px; color: var(--moris-gray); cursor: pointer;
}

/* ── Dropdown extras ───────────────────────────────────────────────────── */
.ui.dropdown .clear_select {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; font-size: 16px; color: var(--moris-gray); cursor: pointer;
}
.ui.dropdown .item_sub { color: var(--moris-gray); font-size: 12px; }
.ui.dropdown .item.disabled { color: #b5b5b5; cursor: default; }

/* ── Pagination ────────────────────────────────────────────────────────── */
.pagination_wrap { padding: 14px 4px; gap: 16px; flex-wrap: wrap; }
.pagination_info { font-size: 12px; color: var(--moris-gray); }
.pagination_list { list-style: none; margin: 0; padding: 0; gap: 4px; }
.pagination_list button {
  min-width: 32px; height: 32px; border: 1px solid var(--moris-gray-light);
  background: #fff; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.pagination_list button.active { background: var(--moris-gradient); color: #fff; border-color: transparent; }
.pagination_list button:disabled { opacity: .45; cursor: not-allowed; }
.pagination_list .gap { padding: 0 4px; color: var(--moris-gray); }
.pagination_limit { height: 32px; border: 1px solid var(--moris-gray-light); border-radius: 6px; font-size: 12px; padding: 0 8px; }

/* ── Loading / empty ───────────────────────────────────────────────────── */
.skeleton_bar {
  display: block; height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%; animation: moris-shimmer 1.4s ease infinite;
}
@keyframes moris-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skeleton_bar { animation: none; } }
.nodata_box { padding: 40px 12px; color: var(--moris-gray); }
.nodata_box img { width: 42px; opacity: .6; margin-bottom: 10px; }

/* ── Toasts ────────────────────────────────────────────────────────────── */
/* ── Toasts ───────────────────────────────────────────────────────────────
   A white card with a coloured rail and icon rather than a solid block of
   colour: it sits over the app without shouting, stays readable at a glance,
   and carries its own dismiss. The rail at the foot drains for exactly as long
   as the toast will live, so its disappearing is never a surprise. */
.moris_toast_stack {
  position: fixed; top: 20px; right: 20px; z-index: 2000;
  display: flex; flex-direction: column; gap: 12px;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}
.moris_toast {
  --tone: #089D41;
  background: #fff;
  position: relative;
  width: 380px; max-width: 100%;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 40px 15px 16px;
  border: 1px solid #EFEFEF;
  border-left: 3px solid var(--tone);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 12, 34, .14);
  overflow: hidden;
  pointer-events: auto;
  animation: toast_in .26s cubic-bezier(.16, 1, .3, 1);
}
.moris_toast.is_error   { --tone: #E1003E; }
.moris_toast.is_info    { --tone: #6D007D; }
.moris_toast .mt_icon { color: var(--tone); line-height: 0; flex: 0 0 20px; margin-top: 1px; }
.moris_toast .mt_body { min-width: 0; }
.moris_toast .mt_title {
  display: block; font-size: 13px; line-height: 19px; font-weight: 600; color: #101010;
}
.moris_toast .mt_message {
  margin: 2px 0 0; font-size: 12px; line-height: 18px; color: #6F6F6F; word-break: break-word;
}
.moris_toast .mt_close {
  position: absolute; top: 11px; right: 11px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%;
  color: #9A9A9A; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.moris_toast .mt_close:hover { background: #F4F4F6; color: #101010; }
.moris_toast .mt_timer {
  position: absolute; left: 0; bottom: 0; height: 2px;
  background: var(--tone); opacity: .45;
  animation-name: toast_drain; animation-timing-function: linear; animation-fill-mode: forwards;
}
@keyframes toast_in {
  from { opacity: 0; transform: translateX(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast_drain { from { width: 100%; } to { width: 0; } }
@media (prefers-reduced-motion: reduce) {
  .moris_toast { animation: none; }
  .moris_toast .mt_timer { animation: none; width: 100%; }
}
@media (max-width: 500px) {
  .moris_toast_stack { left: 20px; right: 20px; }
  .moris_toast { width: 100%; }
}

/* ── Filters row ───────────────────────────────────────────────────────── */
.filters_row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.filters_row .commonbox { min-width: 200px; }
.filters_row .filter_label { font-size: 12px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; display: block; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
/* Helper text under a field label. .custom_label has no block child style, so
   without this the hint runs straight on from the label text. */
.custom_label .label_hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  color: var(--moris-gray);
}

/* The design's .formarea is 505px — right for a single column, cramped for the
   two-column create screens, which it widens with .mw730. */
.page_wrap .step_content .fullrow_mid .formarea.mw730 { max-width: 730px; }

.form_error { color: var(--moris-red); font-size: 12px; margin-top: 6px; }

/* The design styles .new_inputlabel as the bordered wrapper and .input as a
   borderless 45px field inside it. Only add what it leaves out. */
.new_inputlabel { width: 100%; }
.new_inputlabel .input { width: 100%; background: transparent; }
.new_inputlabel:focus-within { border-color: var(--moris-primary); }
.new_inputlabel .input:focus { outline: none; }

/* The design has no textarea variant, so the fixed .input height must go. */
.new_inputlabel textarea.input {
  height: auto !important;
  line-height: 1.5 !important;
  padding: 12px 20px !important;
  border: 0;
  resize: vertical;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}
.c_btn:disabled { opacity: .6; cursor: not-allowed; }
.price_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.price_grid .price_cell { border: 1px solid var(--moris-gray-light); border-radius: 10px; padding: 12px; background: #fff; }
.price_grid .price_cell h4 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.price_grid .price_cell input { width: 100%; border: 1px solid var(--moris-gray-light); border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.price_grid .price_cell label { font-size: 11px; color: var(--moris-gray); display: block; margin: 8px 0 3px; }

@media (max-width: 991px) {
  .moris_table { font-size: 12px; }
  .top_section .topbox { flex-direction: column; gap: 12px; align-items: flex-start; }
}


/* ==========================================================================
   Login — no design file exists for it, so it is self-contained rather than
   borrowing the step_content shell used by the create/add screens.
   ========================================================================== */
.auth_page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(109, 0, 125, .10), transparent 60%),
    radial-gradient(900px 480px at 100% 110%, rgba(225, 0, 62, .10), transparent 60%),
    var(--moris-bg);
}

.auth_card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid rgba(172, 172, 172, .3);
  border-radius: 14px;
  padding: 40px 38px 34px;
  box-shadow: 0 18px 48px rgba(16, 12, 34, .08);
}

.auth_head { text-align: center; margin-bottom: 28px; }
.auth_logo { height: 40px; width: auto; margin-bottom: 20px; }
.auth_head h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--moris-primary);
  margin: 0;
}
.auth_head p { font-size: 13px; color: var(--moris-gray); margin: 8px 0 0; }
.auth_rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: var(--moris-gradient);
}

.auth_form { display: flex; flex-direction: column; gap: 18px; }
.auth_field .custom_label { display: block; padding: 0 0 7px; }

/* Room for the Show/Hide control so long passwords never run under it. */
.new_inputlabel.has_suffix { position: relative; }
.new_inputlabel.has_suffix .input { padding-right: 62px !important; }
.auth_reveal {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--moris-primary);
  cursor: pointer;
}
.auth_reveal:hover { color: var(--moris-red); }

.auth_remember {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #1a1a1a;
  cursor: pointer;
  margin: 0;
}
.auth_remember input { width: 15px; height: 15px; accent-color: var(--moris-primary); cursor: pointer; }

.auth_error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(225, 0, 62, .07);
  border: 1px solid rgba(225, 0, 62, .22);
  color: var(--moris-red);
  font-size: 13px;
}

.auth_submit { width: 100%; margin-top: 4px; }

@media (max-width: 480px) {
  .auth_card { padding: 30px 22px 26px; }
  .auth_head h1 { font-size: 21px; }
}


/* ==========================================================================
   Listing chrome — small additions on top of the design's own listing CSS
   (css/pages/listing-common.css), which handles .custom_table, .commonbox,
   .togglecheck_box, .roundbtn and .allcount_box.
   ========================================================================== */
.top_section .rgtbtn { gap: 10px; align-items: center; }




.togglecheck_box.is_busy { opacity: .6; pointer-events: none; }

/* Loading rows inside .custom_table's flex cells. */
.custom_table .commonbox .skeleton_bar { width: 100%; }


/* Description cell in the team grid — the design keeps rows to a fixed height. */
.custom_table .desc_clamp {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 16px;
}

/* Extra .commonbox widths used by the grids the design sizes differently. */
.page_wrap .listing_area .tab_content .custom_table .commonbox.w130 { width: 130px; min-width: 130px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w150 { width: 150px; min-width: 150px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w250 { width: 250px; min-width: 250px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w300 { width: 300px; min-width: 300px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w340 { width: 340px; min-width: 340px; }


/* The team and pricing grids are 1340px of columns — wider than the container
   at 1366 minus the sidebar gutter — so the wrapper the design already names
   "tableresponsive" needs to actually scroll. */
.page_wrap .listing_area .tab_content .tableresponsive { overflow-x: auto; }
.page_wrap .listing_area .tab_content .tableresponsive .custom_table { min-width: max-content; }


/* ==========================================================================
   Service Deliverables (edit-deliverable.html) — inline editing.
   The design toggles contenteditable; React uses real inputs instead, so the
   edit-mode fields need sizing the static markup gets for free.
   ========================================================================== */
.deliverables_area .search_full2 .innerbox .rtext {
  margin-left: auto; font-size: 12px; color: var(--moris-gray); white-space: nowrap;
}
.deliverables_area .search_full2 .search_field { border: 0; background: transparent; flex: 1; }

/* Inline-edit fields. Deliberately NOT .new_inputlabel: listing-common.css
   styles that class inside this table as an 85px rounded pill, which is right
   for the small "per month" dropdown but squashes a text field. */
.deliverables_area .inline_field {
  width: 100%;
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--moris-gray-light);
  border-radius: 6px;
}
.deliverables_area .inline_field:focus-within { border-color: var(--moris-primary); }
.deliverables_area .inline_field .input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: #000;
  padding: 0 10px;
  height: 36px;
  line-height: 36px;
}
.deliverables_area .inline_field textarea.input {
  height: auto;
  min-height: 150px;
  line-height: 1.45;
  padding: 8px 10px;
  resize: vertical;
}
.deliverables_area .inline_field .input:focus { outline: none; }

/* Cells are flex columns with align-items:flex-start, so children shrink to
   content — stretch them while the row is being edited. */
.page_wrap .listing_area .tab_content .custom_table tbody tr.is_editing .commonbox {
  align-items: stretch;
}



.deliverables_area .custom_table .per_month {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  border: 1px solid var(--moris-gray-light); border-radius: 6px;
  padding: 5px 10px; font-size: 11px; color: var(--moris-gray); background: #fff;
}

/* Edit-mode plans: one row per included plan (3 / 6 / 12 months) with its
   label, what the client gets, and a control to drop it. */
.deliverables_area .checklist.editing { gap: 10px; width: 100%; }
.deliverables_area .checklist.editing li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'tag remove' 'field field';
  align-items: center;
  gap: 4px 6px;
  padding-left: 0;
  list-style: none;
}
.deliverables_area .checklist.editing li::before { content: none; }
.deliverables_area .checklist.editing .plan_tag {
  grid-area: tag;
  font-size: 11px;
  font-weight: 600;
  color: var(--moris-primary);
}
.deliverables_area .checklist.editing .inline_field { grid-area: field; }
.deliverables_area .checklist.editing .remove_item {
  grid-area: remove;
  border: 0; background: none; color: var(--moris-red);
  font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.deliverables_area .checklist.editing .remove_item:hover { color: #a00030; }

.deliverables_area .addmore_btnrow { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.deliverables_area .addmore_done { font-size: 11px; color: var(--moris-gray); }

/* A plan that is not included is priced at 0 and locked. */
.deliverables_area .inline_field.is_excluded { background: #f7f7f7; border-style: dashed; }
.deliverables_area .inline_field.is_excluded .input { color: var(--moris-gray); cursor: not-allowed; }

.deliverables_area .update_deliverable { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* Three-dot row menu. */
.deliverables_area .dropdown { position: relative; }
.deliverables_area .dropdown-menu.mycommon_dropdown.show {
  display: block;
  position: absolute;
  /* Bootstrap's .dropdown-menu sets left:0, which beat the right:0 here and
     pushed the menu off the right edge of the scroll container, clipping the
     labels. Anchor it to the button's right edge and open leftwards. */
  left: auto;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  background: #fff;
  border: 1px solid var(--moris-gray-light);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 200px;
  padding: 6px;
}
.deliverables_area .dropdown-menu.mycommon_dropdown .dropdown-item { white-space: nowrap; }
.deliverables_area .dropdown-menu.mycommon_dropdown ul { list-style: none; margin: 0; padding: 0; }
.deliverables_area .dropdown-menu.mycommon_dropdown .dropdown-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border: 0; background: none; padding: 8px 10px; font-size: 12px; text-align: left;
  color: #1a1a1a; border-radius: 6px; cursor: pointer;
}
.deliverables_area .dropdown-menu.mycommon_dropdown .dropdown-item:hover { background: #F6EFF8; color: var(--moris-primary); }
.deliverables_area .dropdown-menu.mycommon_dropdown .icon { width: 16px; display: flex; }
.deliverables_area .dropdown-menu.mycommon_dropdown .icon svg { width: 14px; height: 14px; }

/* Inactive chip — the design only ships the green one. */
.btntype.red span { background: #FDE8EE; color: var(--moris-red); }


/* ── Dropdowns inside modals ──────────────────────────────────────────────
   Semantic UI positions .ui.dropdown .menu absolutely, so inside a modal the
   open option list sits on top of the footer and swallows clicks on
   Cancel / Attach. Let it expand inline instead: the footer moves down and
   every control stays reachable. */
.common_modal .ui.dropdown .menu {
  position: static;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  box-shadow: none;
  border: 1px solid var(--moris-gray-light);
  border-radius: 8px;
}
.common_modal .ui.dropdown .menu .select_scrollarea { max-height: 220px; overflow-y: auto; }
.common_modal .modal_body { max-height: 85vh; overflow-y: auto; }


/* Selection count beside the table title. */
.top_allrow .selected_note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 2px; font-size: 12px; color: var(--moris-primary); font-weight: 500;
}
.top_allrow .selected_note button {
  border: 0; background: none; padding: 0; font-size: 12px;
  color: var(--moris-red); text-decoration: underline; cursor: pointer;
}


/* The rail opens ON TOP of the page rather than pushing it sideways — shifting
   every column made the layout jump. A backdrop catches the next click so it
   closes again without disturbing what is underneath. */
.menu_backdrop {
  position: fixed; inset: 0; background: transparent;
  z-index: 100; border: 0; padding: 0; cursor: default;
}


/* While a row is being edited the status cell also carries Save / Cancel. */
.deliverables_area .custom_table tbody tr.is_editing .commonbox.status_cell {
  justify-content: space-between;
  height: 100%;
}


/* The design draws the checklist tick as a background image with a 20px
   inset. In edit mode each item is an input, so drop both. */
.deliverables_area .checklist.editing li {
  background-image: none !important;
  padding-left: 0 !important;
}

/* Update / Cancel sit side by side under the status, as one button row. */
.deliverables_area .update_deliverable { flex-direction: row; align-items: center; }
.deliverables_area .update_deliverable .c_btn { white-space: nowrap; }




/* ── Filter dropdown panels ───────────────────────────────────────────────
   Three things the shipped CSS gets wrong for a React-driven dropdown:
   Semantic UI hides any input.search (opacity:0) because it drives its own
   typeahead; the menu is pinned to the trigger's width; and items are nowrap,
   so "LinkedIn Management & Leads" was clipped mid-word. */
.main_selectoptions .ui.dropdown .menu,
.common_modal .ui.dropdown .menu {
  min-width: 280px;
  max-width: min(380px, 90vw);
}
.ui.dropdown .menu .selectsearch_wrap { padding: 10px 12px; }
.ui.dropdown .menu .search_area { width: 100%; }
/* Undo Semantic's opacity:0 — this is a real, visible filter box. */
.ui.dropdown .menu .search_area input.search,
.ui.dropdown .menu .search_area input[type='text'] {
  opacity: 1 !important;
  width: 100% !important;
  height: 34px;
  border: 1px solid var(--moris-gray-light) !important;
  border-radius: 6px;
  padding: 0 10px !important;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  background: #fff;
  position: static !important;
}
.ui.dropdown .menu .search_area input:focus { outline: none; border-color: var(--moris-primary) !important; }

/* Let long option labels wrap instead of being cut off. */
.ui.dropdown .menu .select_scrollarea { max-height: 260px; overflow-y: auto; }
.ui.dropdown .menu .item {
  white-space: normal !important;
  line-height: 1.35;
  min-height: 0;
  padding: 9px 14px !important;
  font-size: 12px;
}
.ui.dropdown .menu .item.active,
.ui.dropdown .menu .item.selected { background: #F6EFF8; color: var(--moris-primary); }



/* Update / Cancel as one row under the status in the inline editor. */
.deliverables_area .btnrow.update_deliverable {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


/* ── Dropdown trigger: keep the label clear of the controls ───────────────
   The design paints the chevron as a background image at right 15px, and the
   clear button sits at right 32px. With only 22px of padding the selected
   label ran underneath both. Reserve the full gutter and ellipsize. */
/* listing-common.css / create-common.css both set
   `.ui.search.dropdown > .text { width: 100% }` — more specific than a plain
   `.ui.dropdown > .text`, so the gutter has to be claimed at their level. */
.ui.search.selection.dropdown > .text,
.ui.search.selection.dropdown > .text.default,
.ui.dropdown > .text,
.ui.dropdown > .text.default {
  display: block;
  /* Not padding-right: overflow clips at the PADDING box, so an ellipsised
     label still renders through the padding and under the ✕ / chevron.
     Narrowing the box itself is what actually reserves the gutter.
     (The shipped CSS tries `calc(100%-30px)` — invalid, so it never applied.) */
  width: calc(100% - 52px);
  padding-right: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* One control only: no clear button means only the chevron to clear. */
.ui.search.selection.dropdown:not(:has(.clear_select)) > .text,
.ui.dropdown:not(:has(.clear_select)) > .text { width: calc(100% - 28px); }
.ui.dropdown .clear_select {
  right: 32px;
  width: 18px;
  height: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 15px;
}
.ui.dropdown .clear_select:hover { background: #F6EFF8; color: var(--moris-red); }

/* ── Option rows ──────────────────────────────────────────────────────────
   The shipped CSS makes `.item` a flex row so an option's icon sits beside its
   label — that is how the design draws the flagged country list. A sublabel
   (a service's category) must not break that row, so label and sublabel share
   a column of their own, matching the design's `itemtext_twoline` variant. */
.ui.dropdown .menu .item .item_text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ui.dropdown .menu .item .item_sub {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--moris-gray);
}
/* Checkbox options in the multi-select stay on one line with their label. */
.ui.dropdown.multiple .menu .item {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
}
.ui.dropdown.multiple .menu .item input[type='checkbox'] { margin-top: 2px; flex: 0 0 auto; }




/* ── Banner + pagination bar (design: .top_allrow.bggray / .pagination_bar) ─ */
.top_allrow .lbox h3 { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 600; margin: 0; }
.top_allrow .lbox p { margin: 2px 0 0; font-size: 12px; color: var(--moris-gray); }
.top_allrow .c_btn.export { min-height: 36px; gap: 8px; }
.top_allrow .c_btn.black_border { border: 1px solid #1a1a1a; background: #fff; color: #1a1a1a; }
.top_allrow .c_btn.black_border:hover { background: #1a1a1a; color: #fff; }
.top_allrow .c_btn.black_border svg path { fill: currentColor; }

.pagination_bar { width: 100%; padding: 18px 0 28px; }
.pagination_bar .custom_container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.pagination_bar .selectshow { gap: 10px; font-size: 12px; color: #000; }
/* The entries picker is a compact pill, not a full-width field. */
.pagination_bar .selectshow .new_inputlabel {
  width: 76px; min-height: 34px; padding: 0;
  border: 1px solid var(--moris-gray-light); border-radius: 6px; background: #fff;
}
.pagination_bar .selectshow .ui.search.selection.dropdown {
  min-height: 32px; height: 32px; line-height: 32px; padding: 0 !important;
  background-position: right 8px center !important; background-size: 9px auto !important;
}
.pagination_bar .selectshow .ui.search.selection.dropdown > .text {
  width: calc(100% - 24px); padding: 0 0 0 10px; font-size: 12px; line-height: 32px;
}
.pagination_bar .selectshow .ui.dropdown .menu { min-width: 76px; max-width: 76px; }
.pagination_bar .selectshow .ui.dropdown .menu .item { padding: 7px 10px !important; }
.pagination_bar .selectshow .clear_select { display: none; }
.pagination_bar .midcol { font-size: 12px; color: var(--moris-gray); }
.pagination_bar .midcol .prpltext { color: var(--moris-primary); font-weight: 600; }
.pagination_bar .pagination { display: flex; align-items: center; gap: 6px; }
.pagination_bar .page-btn {
  min-width: 34px; height: 34px; border: 1px solid var(--moris-gray-light); background: #fff;
  border-radius: 6px; font-size: 12px; color: #1a1a1a; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.pagination_bar .page-btn.active { background: var(--moris-gradient); color: #fff; border-color: transparent; }
.pagination_bar .page-btn:disabled { opacity: .4; cursor: not-allowed; }
.pagination_bar .page-btn.dots { border: 0; cursor: default; min-width: 18px; }
.pagination_bar .page-btn svg { width: 7px; height: auto; }

/* ── Grid cells the design uses ───────────────────────────────────────────── */
.type_pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 84px; padding: 5px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 500; white-space: nowrap;
}
.type_pill.campaign     { background: #F3E8F7; color: #6D007D; }
.type_pill.retainer     { background: #FDE8EE; color: #E1003E; }
.type_pill.onetime      { background: #E6F0FF; color: #2459A3; }
.type_pill.subscription { background: #E4F7EA; color: #089D41; }
.type_pill.consulting   { background: #FFF2E0; color: #FF9100; }
.type_pill.production   { background: #EAF4FF; color: #1B6FB8; }
.type_pill.other        { background: #F0F0F0; color: #6F6F6F; }

.country_cell { display: flex; align-items: center; gap: 8px; }
.country_cell .flag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: 0 0 18px; }
.country_cell .btext { display: block; }

.team_list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.team_list a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: #1a1a1a; white-space: nowrap;
}
.team_list a:hover { color: var(--moris-primary); }
.team_list .arrow { color: var(--moris-red); font-size: 12px; }

/* Full-width search row above the filters. */
.search_full2 .innerbox .rtext { margin-left: auto; font-size: 12px; color: var(--moris-gray); white-space: nowrap; }
.search_full2 .search_field { border: 0; background: transparent; flex: 1; }


/* ── All Deliverable Structures: two-column layout ────────────────────────
   The design's listing-common.css styles .deliverables_listing, but only for
   the exact class nesting it ships. These fill the gaps for our markup. */
.deliverables_area .two_sections { gap: 20px; align-items: flex-start; flex-wrap: nowrap; }
.deliverables_area .leftsection { flex: 1 1 0; min-width: 0; }
.deliverables_area .rightsection {
  flex: 0 0 320px; width: 320px; background: #fff;
  border: 1px solid var(--moris-gray-light); border-radius: 12px; overflow: hidden;
}
.deliverables_area .borderbox {
  background: #fff; border: 1px solid var(--moris-gray-light); border-radius: 12px; overflow: hidden;
}

.deliverables_area .head_section {
  gap: 12px; padding: 16px 18px; align-items: center;
  background: linear-gradient(110deg, rgba(110,13,136,.06) 0%, rgba(225,0,62,.08) 100%);
}
.deliverables_area .head_section .icon { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 34px; }
.deliverables_area .head_section .icon img { width: 100%; height: 100%; object-fit: cover; }
.deliverables_area .head_section h3 { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 10px; }
.deliverables_area .head_section h3 .bg {
  background: #fff; border-radius: 20px; padding: 3px 12px; font-size: 11px;
}
.deliverables_area .head_section p { margin: 2px 0 0; font-size: 12px; color: var(--moris-gray); }

/* all-deliverables.html: a 57px row with the chips sitting 10px clear of
   its top and bottom edges. */
.deliverables_area .full_tabrow {
  min-height: 57px; padding: 0 20px; align-items: center;
  border-bottom: 1px solid var(--moris-gray-light); gap: 12px; flex-wrap: wrap;
}
.deliverables_area .full_tabrow .rbox { padding: 10px 0; }
.deliverables_area .main_tab .nav-pills { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.deliverables_area .main_tab .nav-link {
  border: 0; background: none; padding: 8px 0; font-size: 13px; color: var(--moris-gray); cursor: pointer;
  border-bottom: 2px solid transparent;
}
.deliverables_area .main_tab .nav-link.active { color: var(--moris-red); border-bottom-color: var(--moris-red); font-weight: 500; }
.deliverables_area .custom_tab .common_box {
  border: 1px solid var(--moris-gray-light); background: #fff; border-radius: 6px;
  padding: 7px 12px; font-size: 12px; cursor: pointer; gap: 6px;
}
.deliverables_area .custom_tab .common_box.active { border-color: var(--moris-primary); color: var(--moris-primary); }
.deliverables_area .custom_tab { gap: 8px; }
.deliverables_area .custom_table .pointer { color: #c9c9c9; cursor: grab; font-size: 13px; }

/* Right panel */
.rightsection .commonrow { padding: 16px 18px; border-bottom: 1px solid var(--moris-gray-light); }
.rightsection .sername { gap: 10px; }
.rightsection .sername img { width: 34px; height: 34px; object-fit: contain; }
.rightsection .sername h2 { font-size: 15px; font-weight: 600; margin: 0; color: var(--moris-primary); }
.rightsection .serinfo .fullrow { gap: 10px; align-items: flex-start; }
.rightsection .serinfo .icon { width: 18px; flex: 0 0 18px; }
.rightsection .serinfo .icon svg { width: 16px; height: 16px; }
.rightsection .serinfo .btext { font-size: 12px; }
.rightsection .countbox_wrap { gap: 8px; }
.rightsection .countbox {
  flex: 1; padding: 12px 6px; border-radius: 8px; background: #F7F8FB; text-align: center;
}
.rightsection .countbox strong { font-family: 'Outfit', sans-serif; font-size: 18px; color: var(--moris-primary); }
.rightsection .countbox span { font-size: 10px; color: var(--moris-gray); }
.rightsection .countbox.bggreen { background: #E4F7EA; }
.rightsection .countbox.bggreen strong { color: var(--moris-green); }
.rightsection .countbox.bgred { background: #FDE8EE; }
.rightsection .countbox.bgred strong { color: var(--moris-red); }

.rightsection .plan .heading_row { margin-bottom: 12px; }
.rightsection .plan h3 { font-size: 14px; margin: 0; }
.rightsection .plan .rbrn {
  border: 1px solid var(--moris-gray-light); background: #fff; border-radius: 20px;
  padding: 4px 12px; font-size: 11px; color: var(--moris-primary); cursor: pointer;
}
.rightsection .planbox { background: #F0F6FF; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.rightsection .planbox.bgred { background: #FDE8EE; }
.rightsection .planbox.bgblue { background: #F3E8F7; }
.rightsection .planbox .trow .btext { font-size: 12px; font-weight: 600; }
.rightsection .planbox .new_inputlabel.withicon {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--moris-gray-light); border-radius: 8px; padding: 0 12px; min-height: 42px;
}
.rightsection .planbox .new_inputlabel .licon img { width: 15px; }
.rightsection .planbox .new_inputlabel .input {
  flex: 1; border: 0; background: transparent; font-size: 14px; font-weight: 600; padding: 0; height: 40px;
}
.rightsection .planbox .new_inputlabel .input:focus { outline: none; }
.rightsection .planbox .gst { font-size: 10px; color: var(--moris-gray); }

.overview_tab .overview_row { padding: 14px 0; border-bottom: 1px solid #f2f2f2; }
.overview_tab .overview_row .btext { display: block; font-size: 13px; }
.overview_tab .overview_row .ctext { display: block; font-size: 11px; color: var(--moris-primary); margin-bottom: 4px; }
.overview_tab .overview_row p { margin: 0; font-size: 12px; color: var(--moris-gray); line-height: 1.5; }

@media (max-width: 1280px) {
  .deliverables_area .two_sections { flex-wrap: wrap; }
  .deliverables_area .rightsection { flex: 1 1 100%; width: 100%; }
}


/* The table lives inside the left panel, so it scrolls within it rather than
   spilling under the pricing sidebar. */
.deliverables_area .leftsection .tableresponsive { overflow-x: auto; }
.deliverables_area .leftsection .tab_content > .custom_container { padding: 0; max-width: none; }
.deliverables_area .leftsection .pagination_bar .custom_container { padding: 0 18px; max-width: none; }
.deliverables_area .leftsection .pagination_bar { padding: 14px 0 18px; }
/* Row-select and drag handle sit tight to the left edge. */
.deliverables_area .custom_table .check_box { padding-left: 12px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w90  { width: 90px;  min-width: 90px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w210 { width: 210px; min-width: 210px; }


/* ── Global header (design: .header.deg2) ─────────────────────────────────
   header.css positions and colours it; these fill in the avatar fallback,
   the account dropdown and the clearance the fixed bar needs. */
.header .page_title { display: flex; align-items: center; gap: 10px; }
.header .userimg {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center; background: var(--moris-gradient);
}
.header .userimg img { width: 100%; height: 100%; object-fit: cover; }
.header .userimg .initials { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.header .page_title h3 { font-size: 15px; margin: 0; font-family: 'Outfit', sans-serif; }
.header .right_header { display: flex; align-items: center; gap: 16px; }
.header .right_header .date { font-size: 12px; color: var(--moris-gray); white-space: nowrap; }
.header .dropdown.user { position: relative; }
.header .dropdown.user > .dropdown-toggle { border: 0; background: none; padding: 0; cursor: pointer; }
/* `left: auto` is load-bearing: Bootstrap's `.dropdown-menu { left: 0 }` wins
   over a bare `right: 0`, which opened this panel rightwards off the screen. */
.header .dropdown.user .dropdown-menu.show {
  display: block; position: absolute; left: auto; right: 0; top: calc(100% + 10px); z-index: 120;
  background: #fff; border: 1px solid var(--moris-gray-light); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 260px; padding: 14px;
}
.header .user_details { display: flex; align-items: center; gap: 10px; }
.header .user_details .img {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center; background: var(--moris-gradient);
}
.header .user_details .img img { width: 100%; height: 100%; object-fit: cover; }
.header .user_details .img .initials { color: #fff; font-size: 14px; font-weight: 600; }
.header .user_details h3 { font-size: 14px; margin: 0; }
.header .user_details p { font-size: 11px; color: var(--moris-gray); margin: 2px 0 0; word-break: break-all; }
.header .dline { display: block; height: 1px; background: var(--moris-gray-light); margin: 12px 0; }
.header .options ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.header .options a,
.header .options .logout_btn {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 9px 10px; border-radius: 6px; font-size: 13px; color: #1a1a1a; cursor: pointer;
}
.header .options a:hover { background: #F6EFF8; color: var(--moris-primary); }
.header .options .logout_btn { color: var(--moris-red); }
.header .options .logout_btn:hover { background: #FDE8EE; }

/* The header is fixed, so the shell starts below it and the rail below that.
   .with_hamburger keeps its 50px top padding — that is the room the design
   reserves for the absolutely positioned hamburger, and zeroing it stacked the
   toggle on top of the logo. */
/* create-common.css centres its form by making `.page_wrap` a flex row. The
   shell now lives inside `.page_wrap` (header above, content below), so that
   would lay the header out beside the form. The wrapper stays a block and the
   form centres itself instead. */
.page_wrap { display: block; padding: 0; }
/* The listing and form mockups have no rail; ours is fixed at 80px, so every
   screen but the dashboard (whose container already carries the 95px gutter)
   shifts right by the rail's width. */
.page_wrap:not(:has(.dashboard_page)):not(:has(.acc_dashboard)):not(:has(.step_proposal)) { padding-left: 80px; }
/* The public payment page has no rail: it runs edge to edge. */
.pp_root > .page_wrap { padding-left: 0 !important; }
/* Both dashboards share one shell: the same gutter and top padding, so switching portals changes the panels, not their place. */
.page_wrap:has(.acc_dashboard) { padding: 20px 0 40px; }
/* create-common.css gives `.page_wrap` the flex row and the 25px vertical
   padding that let `.step_content` stretch to the viewport. Ours is a block,
   so the form screens get the same from `.fullheight`. */
.page_wrap .fullheight:has(> .custom_container.no_menu) {
  display: flex; padding: 25px 0; min-height: 100vh;
}
.page_wrap .fullheight > .custom_container.no_menu { margin: 0 auto; }

/* The header sits in the flow inside the container, as dashboard.html has it,
   so nothing needs clearing above and the rail starts at the very top. */
.page_wrap .header {
  position: relative; left: auto; top: auto;
  width: 100%; background-color: transparent;
  box-shadow: none; padding: 0; min-height: 63px;
}
/* The header's own container keeps the 95px rail gutter that
   listing-common.css strips. The 20px from the top comes from `.page_wrap`
   itself, so this must not add its own. */
.page_wrap > .custom_container:first-child {
  padding: 0 15px 0 95px;
  display: block;
}
/* Pages whose stylesheet does not pad `.page_wrap` still need the gap. */
.page_wrap:not(:has(.dashboard_page)):not(:has(.acc_dashboard)) > .custom_container:first-child { padding-top: 20px; }
@media (max-width: 991px) {
  .page_wrap > .custom_container:first-child { padding: 15px 15px 0; }
}
.dashboard_menu.with_hamburger { top: 0; padding-top: 50px; }



.fixture_note { font-size: 11px; line-height: 17px; color: #9A9A9A; margin: 4px 0 0; }
.fixture_note code { font-size: 11px; color: #6D007D; }

/* dashboard.html does not load listing-common.css, whose
   `.page_wrap .custom_container { padding: 0 15px }` strips the 95px gutter
   that clears the collapsed rail. Without it every panel here ran 80px wide
   of the design. */
.page_wrap .dashboard_page .custom_container { padding: 0 15px 0 95px; }
@media (max-width: 991px) {
  .page_wrap .dashboard_page .custom_container { padding: 0 15px; }
}

/* ── The unsaved draft row ────────────────────────────────────────────────
   "+ Add New Deliverable" puts a blank row at the top of the table. It is
   tinted so it reads as not-yet-saved, and carries a "New" chip where the
   serial number would be. */
.deliverables_area .custom_table tbody tr.is_new .fullrow {
  background: #FDF7FF;
  border: 1px dashed #6D007D;
}
.deliverables_area .custom_table tbody tr.is_new .new_badge {
  background: transparent linear-gradient(110deg, #6E0D88 0%, #E1003E 100%) 0% 0% no-repeat padding-box;
  font-size: 9px; line-height: 14px; font-weight: 600; color: #fff;
  padding: 2px 6px; border-radius: 3px; white-space: nowrap; display: inline-block;
}
.deliverables_area .c_btn:disabled { opacity: .5; pointer-events: none; }

/* ── Filter dropdowns with a leading icon ─────────────────────────────────
   The designs put an icon inside the trigger (icon_country, icon_greed …),
   which makes the trigger a flex row — see `.with_icon` in listing-common.css.
   A flex container cannot ellipsise a bare text node, so the label carries its
   own span and does the clipping there. */
/* Must out-specify the `display:block` rule above, which is written at
   `.ui.search.selection.dropdown` level. */
.ui.search.selection.dropdown.with_icon > .text,
.ui.search.selection.dropdown.with_icon > .text.default,
.ui.dropdown.with_icon > .text,
.ui.dropdown.with_icon > .text.default {
  display: flex;
  align-items: center;
}
.ui.search.selection.dropdown.with_icon > .text > .icon,
.ui.dropdown.with_icon > .text > .icon {
  width: 20px; min-width: 20px; margin-right: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ui.dropdown.with_icon > .text > .icon img { max-width: 20px; max-height: 20px; }
.ui.dropdown > .text > .dd_label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Options show their icon too — the country list is flagged in the design. */
.ui.dropdown .menu .item > .icon {
  width: 20px; min-width: 20px; margin-right: 8px;
  display: inline-flex; align-items: center;
}
.ui.dropdown .menu .item > .icon img { max-width: 20px; max-height: 20px; }
.ui.dropdown .menu .item:has(> .icon) { display: flex; align-items: center; }


/* ── Dropdown options: the design's row metrics ───────────────────────────
   40px tall with a 35px right gutter, so the active tick never sits on the
   label. `display:flex` already comes from the shipped CSS. */
.new_inputlabel .ui.search.dropdown .menu .item,
.ui.search.dropdown .menu .item,
.ui.dropdown .menu .item {
  align-items: center;
  min-height: 40px;
  padding: 8px 35px 8px 15px;
}
/* The label may still ellipsise, but it keeps its own line. */
.ui.dropdown .menu .item > .dd_label { min-width: 0; }


/* ── "Add a deliverable" picker ───────────────────────────────────────────
   The design's full-page modal (as Service Discount uses), listing the
   library rows this service has not taken yet. Picking one opens it as a
   filled-in draft row, so the modal only has to choose — no form. */
.picker_modal .step_content2 .formarea { width: 100%; max-width: 745px; margin: 0 auto; }
.picker_modal .picker_search { margin-bottom: 8px; }
.picker_modal .picker_hint { font-size: 12px; line-height: 18px; color: #707070; margin: 0 0 14px; }
.picker_modal .picker_list {
  max-height: 42vh; overflow-y: auto;
  border: 1px solid #EAEAEA; border-radius: 8px; background: #fff;
}
.picker_modal .picker_list .item.disabled { color: #9a9a9a; cursor: default; padding: 14px 16px; font-size: 13px; }
.picker_modal .picker_item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 0; border-bottom: 1px solid #F1F1F1;
  padding: 10px 16px; text-align: left; cursor: pointer;
  transition: background .15s ease;
}
.picker_modal .picker_item:last-child { border-bottom: 0; }
.picker_modal .picker_item:hover { background: #FAF6FA; }
.picker_modal .picker_item .icon {
  background: #F4EDF3; width: 34px; min-width: 34px; height: 34px; border-radius: 50px;
  display: flex; align-items: center; justify-content: center; padding: 7px;
}
.picker_modal .picker_item .icon img { max-width: 100%; max-height: 100%; }
.picker_modal .picker_item .item_text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.picker_modal .picker_item .dd_label { font-size: 13px; line-height: 19px; color: #000; font-weight: 500; }
.picker_modal .picker_item .item_sub { font-size: 11px; line-height: 15px; color: #707070; }
.picker_modal .picker_item .pick_arrow { opacity: 0; transition: opacity .15s ease; display: flex; }
.picker_modal .picker_item:hover .pick_arrow { opacity: 1; }
.picker_modal .picker_count { font-size: 12px; color: #707070; }
.picker_modal .fullrow_btm .two_btn { width: 100%; }

/* ── An open row needs room for Save / Cancel ─────────────────────────────
   The design sizes the status column for a pill and a three-dot button. While
   a row is being edited it also carries two buttons, so it widens and the
   buttons stack instead of running past the table's right edge. */
/* `.page_wrap .listing_area .tab_content .custom_table .commonbox.w130` sets
   the width, so this has to be written at the same depth to reach it. */
.page_wrap .listing_area .tab_content .custom_table tbody tr.is_editing .commonbox.status_cell,
.deliverables_area .custom_table tbody tr.is_editing .commonbox.status_cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}
.page_wrap .listing_area .tab_content .custom_table tbody tr.is_editing .btnrow.update_deliverable,
.deliverables_area .custom_table tbody tr.is_editing .btnrow.update_deliverable {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding-top: 0;
}
.page_wrap .listing_area .tab_content .custom_table tbody tr.is_editing .btnrow.update_deliverable .c_btn,
.deliverables_area .custom_table tbody tr.is_editing .btnrow.update_deliverable .c_btn {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
}

/* ── My Profile ───────────────────────────────────────────────────────────
   Same form chrome as the other create screens, with an identity strip and a
   read-only block for the facts an administrator owns. */
.profile_identity { gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #EAEAEA; }
.profile_identity .avatar {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%; overflow: hidden;
  background: var(--moris-gradient, linear-gradient(110deg, #6E0D88 0%, #E1003E 100%));
}
.profile_identity .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile_identity .avatar .initials { color: #fff; font-size: 18px; font-weight: 600; }
.profile_identity .who strong { font-size: 16px; line-height: 22px; color: #000; }
.profile_identity .who span { font-size: 12px; line-height: 18px; color: #707070; }

.profile_meta { gap: 18px 32px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #EAEAEA; }
.profile_meta .cell { display: flex; flex-direction: column; gap: 4px; }
.profile_meta .cell .k { font-size: 11px; line-height: 16px; color: #707070; }
.profile_meta .cell .v { font-size: 13px; line-height: 19px; color: #000; font-weight: 500; }

.change_pw_link { margin-top: 24px; display: inline-flex; width: auto; }

/* ── Advance Filters slide-out ────────────────────────────────────────────
   `.right_slider` ships the panel and its animation. Two corrections: the
   shipped rule points at an image the design never included (a 404 on every
   open), and the close button is ours, so it needs button resets. */
/* The shipped rule is written at `.page_wrap .right_slider` and points at an
   image the design never included, so every open 404s. Matched specificity. */
.page_wrap .right_slider,
.right_slider { background-image: none; }
.right_slider .closebtn { border: 0; background: none; padding: 0; }
.right_slider .closebtn svg { width: 14px; height: 14px; }
.right_slider .header_box h3 { font-size: 18px; line-height: 26px; color: #000; }
.right_slider .header_box p { font-size: 12px; line-height: 18px; color: #707070; margin: 0; }
.right_slider .body_box { flex: 1 1 auto; overflow-y: auto; padding: 0 40px; }
.right_slider .body_box .row > [class^="col-"] { margin-bottom: 18px; }
/* The footer's Reset/Apply are a pair, not the full-width form buttons. */
.right_slider .footer_box .btnrow { width: auto; padding-top: 0; gap: 12px; }
.right_slider .footer_box .btnrow .c_btn { min-width: 130px; min-height: 42px; }
/* The backdrop is a button so it can be dismissed from the keyboard. */
.bg_rightslider { border: 0; padding: 0; }
@media (max-width: 767px) {
  .right_slider .body_box { padding: 0 20px; }
}

/* ── Bulk Upload modal ────────────────────────────────────────────────────
   The design's `#upload_excel` chrome ships in listing-common.css. These are
   the two bits it has no equivalent for: the row-level errors the API sends
   back, and a text "Copy" button where the design used an icon link. */
.upload_excel .import_error {
  margin-top: 16px; padding: 12px 14px;
  background: #FFEBE6; border-left: 2px solid #E1003E; border-radius: 0 4px 4px 0;
}
.upload_excel .import_error p { font-size: 12px; line-height: 18px; margin: 0; font-weight: 500; }
.upload_excel .import_error ul { margin: 8px 0 0; padding-left: 16px; list-style: disc; }
.upload_excel .import_error li { font-size: 11px; line-height: 17px; color: #000; }
.upload_excel .by_json .rbtn {
  min-width: 46px; height: 32px; padding: 0 10px; cursor: pointer;
  font-size: 12px; font-weight: 500; color: #6D007D;
  background: #fff; border: 1px solid #EAEAEA; border-radius: 6px;
}
.upload_excel .by_json .rbtn:hover { border-color: #6D007D; }
.upload_excel .custom_choose .fileInput { display: none; }
.upload_excel .close { background: none; border: 0; cursor: pointer; }

/* ── Settings landing ─────────────────────────────────────────────────────
   No design ships for this screen, so it borrows the listing card language:
   white panel, thin border, the same icon treatment as the filter rows. */
.settings_area .settings_grid { gap: 16px; padding: 4px 0 24px; }
.settings_card {
  background: #fff;
  width: calc(50% - 8px);
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  transition: all ease-in-out .25s;
}
.settings_card:hover { border-color: #6D007D; box-shadow: 0 6px 18px rgba(109,0,125,.08); }
.settings_card .icon {
  width: 44px; height: 44px; min-width: 44px;
  background: #FAF6FA; border-radius: 8px;
}
.settings_card .icon img { max-width: 22px; max-height: 22px; }
.settings_card .body h3 {
  font-size: 15px; line-height: 22px; font-weight: 600; color: #000;
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.settings_card .body h3 .count {
  background: #FFF6F9; color: #E1003E;
  font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 20px;
}
.settings_card .body p { font-size: 12px; line-height: 18px; color: #707070; margin: 0; }
@media (max-width: 767px) { .settings_card { width: 100%; } }

/* ── Token field (Cross-Linked Services) ──────────────────────────────────
   The design draws this as a single search input; what it needs to be is a
   token field, so it keeps the design's input shell and puts the chosen chips
   and the search caret inside it together. */
.token_field { position: relative; }
.token_box {
  background: #fff;
  width: 100%;
  min-height: 45px;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(112,112,112,.2);
  border-radius: 5px;
  cursor: text;
  transition: border-color ease-in-out .2s;
}
.token_field.is_open .token_box { border-color: #6D007D; }
.token_field.is_disabled .token_box { background: #F7F7F7; cursor: not-allowed; }

.token {
  background: #F5EFF7;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 11px; line-height: 16px; color: #6D007D;
  border: 1px solid rgba(109,0,125,.18); border-radius: 4px;
}
.token > button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 14px; line-height: 1; color: #6D007D;
}
.token > button:hover { color: #E1003E; }

.token_input {
  flex: 1 1 120px;
  min-width: 120px;
  height: 31px;
  border: 0; outline: none;
  font-size: 13px; color: #000;
  font-family: "Outfit", sans-serif !important;
}
.token_clear {
  background: none; border: 0; padding: 0 2px; cursor: pointer;
  font-size: 11px; color: #707070; text-decoration: underline; white-space: nowrap;
}
.token_clear:hover { color: #E1003E; }

/* The menu is as wide as the field — long service names were being clipped
   into a 280px column before. */
.token_menu {
  background: #fff;
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 260px; overflow-y: auto;
  border: 1px solid #EAEAEA; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  z-index: 30;
  padding: 4px;
}
.token_item {
  background: none; border: 0; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 8px 10px; text-align: left; cursor: pointer; border-radius: 6px;
}
.token_item.is_cursor { background: #F5EFF7; }
.token_item.is_empty { color: #9a9a9a; cursor: default; font-size: 12px; }
.token_item .t_label { font-size: 13px; line-height: 19px; color: #000; }
.token_item .t_sub { font-size: 11px; line-height: 15px; color: #707070; }

.token_foot { margin-top: 5px; min-height: 16px; }
.token_foot .hint, .token_foot .count { font-size: 11px; line-height: 16px; color: #707070; }
.token_foot .count { white-space: nowrap; }

/* ── Add Digital Doctor ───────────────────────────────────────────────────
   add-team.html picks the pod with two chips rather than a dropdown. The chip
   styling ships as `.custom_tab .common_box`; these are the extras: a button
   reset (ours are real buttons), the seat count, and the optional headshot
   toggle the design ships hidden. */
.custom_tab.single_select .common_box {
  gap: 8px; background: #fff; cursor: pointer; font-size: 12px;
}
.custom_tab.single_select .common_box .pod_count {
  font-size: 10px; line-height: 14px; color: #909090;
  padding-left: 8px; border-left: 1px solid #EAEAEA;
}
.custom_tab.single_select .common_box.active .pod_count { color: #6D007D; }
.custom_tab.single_select .common_box svg { width: 15px; height: auto; }
.custom_tab.single_select .common_box.active svg path { fill: #6D007D; }

.link_btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 13px; line-height: 18px; color: #6D007D; font-weight: 500;
}
.link_btn:hover { color: #E1003E; }

/* A dropdown's menu should never be narrower than the control it belongs to —
   `mw280` clipped long service names on the wider form fields. */
.ui.search.selection.dropdown .menu,
.ui.dropdown .menu { min-width: 100%; }
/* The row the keyboard is on, distinct from the row that is selected. */
.ui.dropdown .menu .item.is_cursor { background: #F5EFF7 !important; }

/* ── Listing tabs ─────────────────────────────────────────────────────────
   listing-common.css styles these as `.main_tab ul li a`. Ours are <button>
   elements — correct, since they filter the table rather than navigate — so
   the design's rules are mirrored onto them here, including the 2px active
   underline and the red icon fill. */
.main_tab ul li button.nav-link {
  background-color: transparent;
  padding: 18px 20px;
  font-size: 13px; line-height: 20px; font-weight: 400;
  color: #6B6B6B;
  font-family: "Outfit", sans-serif !important;
  position: relative;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  border: 0; border-radius: 0;
  cursor: pointer;
}
.main_tab ul li button.nav-link svg { width: 16px; height: auto; }
.main_tab ul li button.nav-link svg path { fill: #6B6B6B; }
.main_tab ul li button.nav-link:hover { color: #000; }
/* Bootstrap's `.nav-pills .nav-link.active` paints a blue pill and outranks
   the base rule above, so the active state has to restate the background. */
.main_tab ul li button.nav-link.active {
  background-color: transparent;
  color: #E1003E !important;
}
.main_tab ul li button.nav-link.active svg path { fill: #E1003E; }
.main_tab ul li button.nav-link.active:before {
  content: ''; background-color: #E1003E;
  width: 100%; height: 2px;
  position: absolute; left: 0; bottom: 0;
}
@media (max-width: 767px) {
  .main_tab ul li button.nav-link { padding: 15px 10px; }
}

/* ── Service picker: closed control ───────────────────────────────────────
   Reads as one of the design's inputs, but it summarises rather than edits —
   the choosing happens in the slide-out. */
.picker_trigger {
  background: #fff;
  width: 100%;
  min-height: 45px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 14px;
  border: 1px solid rgba(112,112,112,.2);
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  transition: border-color ease-in-out .2s, box-shadow ease-in-out .2s;
}
.picker_trigger:hover:not(:disabled) { border-color: #6D007D; }
.picker_trigger:disabled { background: #F7F7F7; cursor: not-allowed; }
.picker_trigger .pt_body { min-width: 0; flex: 1 1 auto; }
.picker_trigger .pt_placeholder { font-size: 13px; color: #9a9a9a; }
.picker_trigger .pt_chips { display: flex; flex-wrap: wrap; gap: 5px; }
.picker_trigger .pt_chip {
  background: #F5EFF7; color: #6D007D;
  font-size: 11px; line-height: 16px;
  padding: 3px 8px; border-radius: 4px;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.picker_trigger .pt_more { font-size: 11px; line-height: 22px; color: #707070; }
.picker_trigger .pt_action {
  font-size: 12px; font-weight: 500; color: #6D007D; white-space: nowrap;
  padding-left: 12px; border-left: 1px solid #EAEAEA;
}
.picker_underrow { margin-top: 6px; }
.picker_underrow .count { font-size: 11px; color: #707070; }
.picker_underrow .clear {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 11px; color: #707070; text-decoration: underline;
}
.picker_underrow .clear:hover { color: #E1003E; }

/* ── Service picker: the slide-out ────────────────────────────────────── */
.right_slider.service_picker .picker_search {
  position: relative; padding: 0 40px; margin-bottom: 4px;
}
.right_slider.service_picker .picker_search .input { padding-right: 34px; }
.right_slider.service_picker .picker_search .sclear {
  background: none; border: 0; cursor: pointer;
  position: absolute; right: 52px; top: 50%; transform: translateY(-50%);
  font-size: 18px; line-height: 1; color: #909090;
}
.right_slider.service_picker .sp_section,
.right_slider.service_picker .sp_group { padding: 14px 0; border-bottom: 1px solid #F1F1F1; }
.right_slider.service_picker .sp_group:last-child { border-bottom: 0; }
.right_slider.service_picker .sp_head { margin-bottom: 10px; }
.right_slider.service_picker .sp_head h4 {
  font-size: 13px; line-height: 19px; font-weight: 600; color: #000; margin: 0;
}
.right_slider.service_picker .sp_head .n {
  background: #F5EFF7; color: #6D007D;
  font-size: 10px; font-weight: 600;
  padding: 1px 7px; border-radius: 20px; margin-left: 6px;
}
.right_slider.service_picker .sp_link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 11px; font-weight: 500; color: #6D007D;
}
.right_slider.service_picker .sp_link:hover { color: #E1003E; }
.right_slider.service_picker .sp_empty { font-size: 12px; color: #909090; margin: 0; }
.right_slider.service_picker .sp_empty.pad { padding: 18px 0; }

.right_slider.service_picker .sp_chips { gap: 6px; }
.right_slider.service_picker .sp_chip {
  background: #F5EFF7; color: #6D007D;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; line-height: 16px;
  padding: 5px 9px; border: 1px solid rgba(109,0,125,.18); border-radius: 4px;
  cursor: pointer;
}
.right_slider.service_picker .sp_chip:hover { background: #FFF0F5; border-color: #E1003E; color: #E1003E; }

.right_slider.service_picker .sp_list { display: flex; flex-direction: column; }
.right_slider.service_picker .sp_row {
  background: none; border: 0; width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; text-align: left; cursor: pointer; border-radius: 6px;
}
.right_slider.service_picker .sp_row:hover { background: #FAF6FA; }
.right_slider.service_picker .sp_box {
  width: 15px; height: 15px; min-width: 15px;
  border: 1px solid #C9C9C9; border-radius: 3px;
}
.right_slider.service_picker .sp_row:hover .sp_box { border-color: #6D007D; }
.right_slider.service_picker .sp_name { font-size: 12.5px; line-height: 18px; color: #000; }
.right_slider.service_picker .sp_count { font-size: 12px; color: #707070; }
.right_slider.service_picker .footer_box .btnrow { width: auto; padding-top: 0; gap: 12px; }
.right_slider.service_picker .footer_box .btnrow .c_btn { min-width: 120px; min-height: 42px; }

/* ── A closed slide-out must be out of reach ──────────────────────────────
   `.right_slider` only moves off-screen with `right: -715px`, so its buttons
   stayed in the tab order and still matched selectors — a closed panel's
   Cancel could be focused, and tooling clicked it instead of the form's.
   `visibility` is delayed by the slide duration so the animation still runs. */
.page_wrap .right_slider,
.right_slider {
  visibility: hidden;
  transition: right .3s ease-out, visibility 0s linear .3s;
}
.page_wrap .right_slider.show,
.right_slider.show {
  visibility: visible;
  transition: right .3s ease-out, visibility 0s linear 0s;
}

/* Commercial Performance tiles: dashboard.html draws these glyphs in the brand
   red. Ours are inline SVGs on `currentColor`, so the colour is set here. */
.commercial_performance .btm_commonrow ul li .icon { color: #E1003E; }

/* ── Menu: the active entry ───────────────────────────────────────────────
   menu.css fills it with a lilac block and a chevron. Against the collapsed
   rail that reads as a heavy slab, so the colour alone carries it. */
/* Written at menu.css's own depth: its rule is
   `.dashboard_menu.active .menu_btmrow .menu_links>ul li.dd .main_heading a.active`. */
.dashboard_menu.active .menu_btmrow .menu_links > ul li.dd .main_heading a.active,
.dashboard_menu.active .menu_btmrow .menu_links > ul li .main_heading a.active,
.dashboard_menu .menu_links .main_heading a.active,
.dashboard_menu .menu_links > ul li a.active {
  background-color: transparent;
  background-image: none;
}
.dashboard_menu .menu_links > ul li a.active .menu_icon { background: transparent; }

/* ── Form skeleton ────────────────────────────────────────────────────────
   Mirrors the field rhythm of the real form so nothing shifts when the record
   arrives. `.skeleton_bar` carries the shimmer. */
.form_skeleton .row > [class^="col-"] { margin-bottom: 18px; }
.form_skeleton .sk_label { display: block; width: 130px; height: 12px; margin: 0 10px 9px; }
.form_skeleton .sk_field { display: block; width: 100%; height: 45px; border-radius: 5px; }
.form_skeleton .sk_field.tall { height: 100px; }

/* ── Proposal Performance tabs ────────────────────────────────────────────
   dashboard.css styles these as `.common_tab li a`. Ours are <button>
   elements — they switch a pane rather than navigate — so the design's rules
   are mirrored onto them, and `.active` has to restate the background because
   Bootstrap's `.nav-pills .nav-link.active` paints a blue pill over it. */
.common_tab li button.nav-link {
  background: none;
  min-width: 50px;
  padding: 5px 10px;
  font-size: 10px; line-height: 15px; font-weight: 400;
  color: #6D007D;
  border: 0; border-radius: 4px;
  text-align: center;
  cursor: pointer;
}
.common_tab li button.nav-link.active { background: #6D007D; color: #fff; }

/* The disc tints (.bgred/.bgblue/.bggreen/.bgprpl) already ship in
   dashboard.css; only the glyph colour on top of them is ours. */
.recent_activities td .cbox .icon.bgred   { color: #E1003E; }
.recent_activities td .cbox .icon.bgblue  { color: #2459A3; }
.recent_activities td .cbox .icon.bggreen { color: #089D41; }
.recent_activities td .cbox .icon.bgprpl  { color: #6D007D; }

/* ── Coming soon ──────────────────────────────────────────────────────────
   The destination for menu entries whose module does not exist yet, so no
   link in the navigation is a dead `#`. */
.coming_soon { padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.coming_soon img { max-width: 150px; }
.coming_soon strong { font-size: 16px; line-height: 24px; color: #000; }
.coming_soon p { font-size: 13px; line-height: 20px; color: #707070; max-width: 440px; margin: 0; }
.coming_soon .c_btn { margin-top: 10px; }

/* ── Header: search and notifications ─────────────────────────────────────
   dashboard.html puts both beside the date. Search runs over the services
   catalogue; the bell has nothing behind it yet and says so. */
.header .right_header .dropdown.search .dropdown-menu,
.header .right_header .dropdown.notification .dropdown-menu {
  display: block; position: absolute; right: 0; left: auto; top: calc(100% + 10px);
  z-index: 120; min-width: 260px; padding: 12px;
  background: #fff; border: 1px solid var(--moris-gray-light); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.header .right_header .dropdown.search .dropdown-menu .input { width: 100%; height: 40px; font-size: 13px; }
.header .right_header .notify_menu .empty { margin: 0; font-size: 12px; color: #707070; text-align: center; padding: 10px 0; }
.header .right_header .dropdown > .dropdown-toggle.common_btn {
  background: #fff; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: #6F6F6F; border: 1px solid var(--moris-gray-light); border-radius: 50%; cursor: pointer;
}
.header .right_header .dropdown > .dropdown-toggle.common_btn:hover { color: #6D007D; border-color: #6D007D; }

/* The header's date shows a calendar glyph, and the account button a caret,
   as dashboard.html draws them. */
.header .right_header .date { display: inline-flex; align-items: center; gap: 7px; color: #6F6F6F; }
.header .right_header .date svg { flex: 0 0 auto; }
.header .dropdown.user > .dropdown-toggle { display: flex; align-items: center; gap: 7px; }
.header .dropdown.user > .dropdown-toggle .caret { color: #6F6F6F; }

/* ── Date range filter (all-service-categories.html "Select Date Range") ── */
.date_range { position: relative; }
.date_range .input { cursor: pointer; }
.date_range_pop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  min-width: 260px; padding: 14px; background: #fff;
  border: 1px solid #E5E5E5; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex; flex-direction: column; gap: 10px;
}
.date_range_pop label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #6F6F6F; }
.date_range_pop .input { height: 34px; font-size: 12px; }
.date_range_pop .textbtn { align-self: flex-end; font-size: 12px; }


/* ── add-deliverable.html's price field ───────────────────────────────────
   create-common.css hides every <span> inside the currency dropdown's text
   (the design shows a flag there); our label lives in a span, so bring it
   back. */
.new_inputlabel .two_column .td1 .ui.search.dropdown > .text span.dd_label { display: inline !important; }
.new_inputlabel .two_column .td1 .ui.search.dropdown { border: 0 !important; }
.new_inputlabel .two_column .td2 .input { border: 0 !important; }
.new_inputlabel:has(.two_column) { border: 1px solid #EAEAEA; border-radius: 5px; }
/* The design's quantity stepper: ± sit on the pill's edges. */
.quantity_addminus .addhere .btns .qbtn { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; }
.quantity_addminus .addhere .quantity-input { text-align: center; border: 0; }
.quantity_addminus .addhere .quantity-input::-webkit-inner-spin-button,
.quantity_addminus .addhere .quantity-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* The cross-linked services picker reads as the design's plain input. */
.picker_trigger { min-height: 47px; padding: 5px 15px; border-color: #EAEAEA; }
.picker_trigger .pt_placeholder { font-size: 14px; color: #000; opacity: .5; font-family: 'Outfit', sans-serif; }

/* The design's `.step_content` is a flex column whose `.fullrow_mid` fills
   it, pinning Cancel / Add to the bottom. Ours wraps the two in a <form>, so
   the form has to carry the column on. */
.page_wrap .step_content > form { display: flex; flex-direction: column; flex: 1 1 auto; }
.page_wrap .step_content > form > .fullrow_mid { flex: 1 1 auto; }

/* ── The slide-out on form screens ────────────────────────────────────────
   listing-common.css positions `.right_slider`; the form screens load
   create-common.css instead, and the cross-linked services picker on
   add-team.html needs the same off-canvas placement. */
.page_wrap .right_slider {
  background: #fff; width: 700px; right: -715px; position: fixed; top: 0; bottom: 0;
  font-family: "Outfit", sans-serif !important; box-shadow: 6px 14px 8px #00000007;
  transition: all .3s ease-out; z-index: 102; display: flex; flex-direction: column;
}
.page_wrap .right_slider.show { right: 0 !important; }
.page_wrap .right_slider .closebtn { width: 20px; height: 20px; position: absolute; right: 20px; top: 35px; border-radius: 50px; cursor: pointer; z-index: 2; }
.page_wrap .right_slider .header_box { width: 100%; padding: 20px 50px 20px 40px; display: flex; gap: 3px 0; position: relative; border-bottom: 1px solid #EAEAEA; margin-bottom: 20px; }
.page_wrap .right_slider .footer_box { width: 100%; justify-content: flex-end; align-items: center; gap: 15px; padding: 20px 40px; margin: 20px 0 1px; border-top: 1px solid #EAEAEA; position: relative; }
.page_wrap .right_slider .body_box { width: 100%; height: 100%; padding: 0 40px; display: flex; flex-direction: column; overflow: hidden; overflow-y: auto; }
.page_wrap .bg_rightslider { background: rgba(0,0,0,0.5); position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 101; opacity: 0; visibility: hidden; transition: all ease-in-out 0.4s; }
.page_wrap .bg_rightslider.show { opacity: 1; visibility: visible; }
/* Empty, the picker reads exactly as the design's input: no trailing hint. */
.picker_trigger:not(.has_value) .pt_action { display: none; }


/* ── Deliverables: collapsed pricing panel + under-row pricing ────────────
   The right panel starts closed; the list then takes the full width. */
.deliverables_listing .two_sections.panel_closed .leftsection { width: 100%; }
.deliverables_listing .full_tabrow .custom_tab .common_box svg { max-width: 12px; margin-right: 6px; }
.deliverables_listing .full_tabrow .custom_tab .common_box.active svg path { fill: #6E1588; }
/* "Edit Pricing" opens the row's prices in a band under its cells, built
   from the right panel's plan boxes. */
.custom_table tbody td .fullrow .btmrow.row_pricing {
  width: 100%; background: #FAF8FB; border-top: 1px solid #EAEAEA;
  padding: 15px 20px 18px; display: flex; flex-direction: column; gap: 12px;
}
.row_pricing .rp_head h4 { font-size: 13px; line-height: 18px; margin: 0; }
.row_pricing .rp_head .ctext { font-size: 11px; color: #9B9B9B; }
.row_pricing .rp_boxes { gap: 12px; }
.row_pricing .planbox { background: #F0F4FE; width: calc(25% - 9px); min-width: 180px; padding: 12px 14px; border-radius: 10px; }
.row_pricing .planbox.bgred { background: #FEF5F7; }
.row_pricing .planbox.bgprpl { background: #F5EFF7; }
.row_pricing .planbox.bggray { background: #F3F3F3; }
.row_pricing .planbox.is_excluded { opacity: .6; }
.row_pricing .planbox .trow .btext { font-size: 12px; font-weight: 600; }
.row_pricing .planbox .new_inputlabel.withicon { position: relative; padding-left: 15px; padding-right: 50px; background: #fff; border: 1px solid #EAEAEA; border-radius: 5px; display: flex; align-items: center; min-height: 40px; }
.row_pricing .planbox .new_inputlabel .licon { position: absolute; height: 100%; left: 12px; top: 0; display: flex; align-items: center; }
.row_pricing .planbox .new_inputlabel .licon img { width: 15px; }
.row_pricing .planbox .new_inputlabel .input { border: 0; background: none; height: 38px; padding: 0 0 0 24px; font-size: 14px; font-weight: 600; color: #000; width: 100%; }
.row_pricing .planbox .new_inputlabel .input:focus { outline: none; }
.row_pricing .planbox .new_inputlabel > .btext { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; }
.row_pricing .rp_btns { gap: 10px; }
/* With the panel closed the list is full width: the Deliverable column
   takes up the slack so the table still reaches the right edge. */
.deliverables_listing .two_sections.panel_closed .custom_table .fullrow,
.deliverables_listing .two_sections.panel_closed .custom_table .fullrow .toprow { width: 100%; }
.deliverables_listing .two_sections.panel_closed .custom_table .commonbox.cell_grow { flex: 1 1 auto; }
.custom_table tbody td .fullrow .btmrow.row_editbtns { padding: 10px 20px; background: #fff; }
.picker_modal .fullrow_btm .centerbox { width: 100%; max-width: 745px; margin: 0 auto; }

/* Submenu entries mark the current screen by text colour alone — no tinted
   background. Written at menu.css's own depth so it wins. */
.dashboard_menu.active .menu_btmrow .menu_links > ul li .dd_menu a.active,
.dashboard_menu.active .menu_btmrow .menu_links > ul li .dd_menu a:hover { background-color: transparent; }

/* ── Edit Prompt modal: what the design leaves room for ───────────────────
   The mockup shows the textarea only. The variables a prompt may use and the
   reset link sit around it in the same type scale. */
.prompt_modal .prompt_meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; color: #343434; }
.prompt_modal .prompt_meta .textbtn { background: none; border: 0; font-size: 12px; text-decoration: underline; cursor: pointer; }
.prompt_modal .new_inputlabel .textarea { font-size: 13px; line-height: 21px; max-height: 46vh; overflow-y: auto !important; }
.prompt_modal .prompt_vars { margin-top: 14px; }
.prompt_modal .prompt_vars .pv_title { display: block; font-size: 11px; color: #707070; margin-bottom: 8px; }
.prompt_modal .prompt_vars .pv_list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 96px; overflow-y: auto; }
.prompt_modal .prompt_vars .pv_chip {
  background: #F5EFF7; color: #6D007D; border: 0; border-radius: 4px; padding: 3px 8px;
  font-size: 11px; line-height: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer;
}
.prompt_modal .prompt_vars .pv_chip:hover:not(:disabled) { background: #6D007D; color: #fff; }

/* ── Step 03 diagnosis ────────────────────────────────────────────────── */
.diagnosis_host { width: 100%; }
/* No rating given yet: every star empty. */
.select_rating.unset .stars li { background-image: url("../images/create-proposal/icon_star_empty.png"); }
.accor_tab h3 img.section_state { width: 18px; height: 18px; margin-left: 8px; vertical-align: middle; }
.uploadbox.uploading { opacity: .6; pointer-events: none; }

/* ── Step 04 treatment plan ───────────────────────────────────────────── */
.page_wrap .step_proposal .main_leftbox.services_scope .fullrow_mid .detailsbox_wrap .detailsbox .btm_btns .c_btn.active { background-color: #6D007D; color: #fff; border-color: #6D007D; }
.services_scope .search_filter .mainbox.pointer { cursor: pointer; }
.services_scope .search_filter .mainbox.added { opacity: .55; }
.services_scope .selected_table .empty_row .commonbox { width: 100%; }
.deliverables_table .empty_row .commonbox { width: 100%; }
.deliverables_table .fullrow.editing .onclick_editable { outline: 1px dashed #C9A6D1; outline-offset: 3px; border-radius: 3px; }
.fullpage_modal.deliverables .custom_tab .common_box { background: #fff; }
.fullpage_modal.deliverables .custom_tab .common_box:disabled { opacity: .5; cursor: default; }
.services_scope .selected_table .td4 { flex-wrap: nowrap; }
.services_scope .selected_table .remove_service { margin-left: 14px; padding: 0; min-width: 0; }
.services_scope .selected_table .remove_service img { width: 14px; height: 14px; }
.services_scope .selected_table .remove_service:disabled { opacity: .4; }
.fullpage_modal.deliverables .custom_tab button.common_box { font: inherit; font-size: inherit; line-height: inherit; color: inherit; }

/* ── Step 05 commercial plan ──────────────────────────────────────────── */
.commercial_plan .services_type .plan_error { padding: 0 20px; text-align: right; }
.commercial_plan .with_aibtn .btn_withai[aria-disabled="true"] { opacity: .6; pointer-events: none; }
/* The design's flags are round; the country list's are not. */
.commercial_plan .top_filterrow .ui.dropdown .icon img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* ── Step 06 proposal structure ───────────────────────────────────────── */
.generate_structure .dragicon[draggable="true"] { cursor: grab; }
.generate_structure .dragicon.fixed_place { opacity: .3; cursor: not-allowed; }
.generate_structure .btn_withai[aria-disabled="true"],
.proposal_structure .btn_withai[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.generate_structure .total_slides .roundbtn:disabled { opacity: .3; cursor: not-allowed; }
.generate_structure .final_btnrow .roundbtn:disabled { opacity: .4; cursor: not-allowed; }
.generate_structure .new_inputlabel.deliverables .ui.dropdown { cursor: pointer; }
.generate_structure .open_details { cursor: pointer; }
.generate_structure .empty_structure .textbox { padding: 24px; }
/* The menu hangs below its button, as the dropdown plugin places it. */
.generate_structure .new_inputlabel.deliverables .ui.dropdown > .menu { position: absolute !important; top: 100% !important; right: 0; left: auto !important; z-index: 30; display: none !important; width: 280px !important; min-width: 280px !important; }
.generate_structure .new_inputlabel.deliverables .ui.dropdown > .menu.visible { display: block !important; }
.generate_structure .rgt_options .new_inputlabel.deliverables { width: auto; flex: 0 0 auto; }

/* ── Visualize ────────────────────────────────────────────────────────── */
.visualize_page .left_pannel .prevbox { cursor: pointer; }
.visualize_page .left_pannel .prevbox.active { border-color: #6D007D !important; box-shadow: 0 0 0 2px rgba(109, 0, 125, .18); }
.visualize_page .deck_thumb { display: block; width: 100%; aspect-ratio: 16 / 9; }
.visualize_page .deck_slide { display: block; width: 100%; height: 620px; border-radius: 12px; }
.visualize_page .dragicon[draggable="true"] { cursor: grab; }
.visualize_page .dragicon.fixed_place { opacity: .3; cursor: not-allowed; }
.visualize_page .ai_writing { margin-left: 12px; font-size: 11px; color: #E1003E; }
.visualize_page .common_visualize.is_editing [contenteditable="true"] { outline: 0; border-radius: 4px; cursor: text; min-width: 20px; }
.visualize_page .common_visualize.is_editing [contenteditable="true"]:focus { outline: 0; }
.visualize_page .editcontent.active { color: #E1003E; }
.visualize_page .image_options li { cursor: pointer; }
.visualize_page .selected_theme { cursor: pointer; }
.visualize_page .delete_themeimage:disabled { opacity: .4; cursor: default; }
.right_settingbox .select_themewrap .common_box { cursor: pointer; }
.right_settingbox .select_themewrap .common_box.coming_soon { cursor: default; opacity: .6; }
.right_settingbox .select_themewrap .no_choice { font-size: 13px; color: #707070; padding: 20px 0; }
.right_settingbox .imagestyle_options .common_box { cursor: pointer; }
.right_settingbox .img_gallery .img { cursor: pointer; }
.right_settingbox .uploadbox.dragover { outline: 2px dashed #6D007D; outline-offset: 4px; }
.right_settingbox .uploadbox .uploadiimage { width: 100%; height: 100%; object-fit: cover; }
.visualize_page .barcode .barcode_svg { display: block; height: 100%; }

/* ── Prompt Library ───────────────────────────────────────────────────── */
.prompt_open { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.prompt_variables { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.prompt_variables code { background: #F5EFF7; color: #6D007D; border-radius: 4px; padding: 2px 6px; font-size: 10.5px; line-height: 15px; }
.prompt_variables .more { font-size: 11px; color: #707070; }
.prompt_actions { display: flex; gap: 14px; }
.prompt_actions .textbtn { background: none; border: 0; font-size: 12px; font-weight: 500; cursor: pointer; padding: 0; }
/* The rail stays in view while the slides scroll past it. */
.visualize_page .two_sections > .left_pannel { position: sticky; top: 16px; align-self: flex-start; max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
.visualize_page .two_sections > .left_pannel > .body { overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.dashboard_page .refresh.spinning svg { animation: dash_spin .8s linear infinite; }
@keyframes dash_spin { to { transform: rotate(360deg); } }
.visualize_page .two_sections > .left_pannel > .head { flex: 0 0 auto; }
.visualize_page .two_sections > .left_pannel > .body > .prevbox { flex: 0 0 auto; }

/* ── Roles & permissions ──────────────────────────────────────────────── */
.perm_matrix { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.perm_group { border: 1px solid #EFE4F2; border-radius: 12px; background: #fff; overflow: hidden; }
.perm_head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: #FBF7FC; border-bottom: 1px solid #EFE4F2; }
.perm_head h4 { font-size: 15px; margin: 0; }
.perm_count { font-size: 11px; color: #707070; }
.perm_bulk { margin-left: auto; display: flex; gap: 16px; }
.perm_bulk .textbtn { background: none; border: 0; padding: 0; font-size: 12px; font-weight: 500; cursor: pointer; }
.perm_row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #F5EFF7; }
.perm_row:last-child { border-bottom: 0; }
.perm_module { flex: 0 0 220px; }
.perm_module label { font-weight: 500; color: #111; }
.perm_actions { flex: 1 1 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 16px; }
.perm_action { display: flex; flex-direction: column; gap: 3px; min-height: 38px; }
.perm_matrix .form-group.checkdyid { margin: 0; position: relative; }
.perm_matrix .form-group.checkdyid label { font-size: 13px; cursor: pointer; margin: 0; }
.perm_matrix .form-group.checkdyid input:disabled + label { opacity: .45; cursor: not-allowed; }
.perm_tag { font-size: 10px; line-height: 13px; color: #6D007D; padding-left: 26px; }
.perm_tag.green { color: #0E9F52; }
.perm_tag.red { color: #E1003E; }
.perm_action.revoked label { text-decoration: line-through; color: #9a9a9a; }
.access_form .fullrow_mid .formarea { max-width: 1000px; }
.access_form .section_title { font-size: 16px; font-weight: 600; color: #6D007D; margin: 26px 0 4px; }
.access_form .section_note { font-size: 12px; color: #707070; margin: 0 0 14px; }
.access_form .role_cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.access_form .role_card { border: 1px solid #E3E3E3; border-radius: 10px; padding: 12px 14px; background: #fff; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.access_form .role_card strong { font-size: 13px; color: #111; }
.access_form .role_card small { font-size: 11px; color: #707070; line-height: 15px; }
.access_form .role_card.active { border-color: #6D007D; background: #FBF7FC; box-shadow: 0 0 0 1px #6D007D inset; }
.access_form .role_card:disabled { opacity: .5; cursor: not-allowed; }
.access_form .access_note { background: #FFF7E6; border: 1px solid #FFE0A3; border-radius: 8px; padding: 10px 14px; font-size: 12px; color: #6b4b00; margin-bottom: 14px; }
.access_form .reset_access { background: none; border: 0; padding: 0; font-size: 12px; font-weight: 500; color: #E1003E; text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) { .perm_row { flex-direction: column; } .perm_module { flex-basis: auto; } .perm_actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role_badges { display: flex; flex-wrap: wrap; gap: 5px; }
.user_initials { font-size: 13px; font-weight: 600; color: #6D007D; }
.access_form .step_content .fullrow_mid .formarea { max-width: 1040px !important; width: 100%; margin-left: auto; margin-right: auto; }
.perm_matrix .form-group.checkdyid { display: flex; align-items: center; gap: 8px; }
.perm_matrix .form-group.checkdyid input[type="checkbox"] { position: static; opacity: 1; width: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: #6D007D; cursor: pointer; }
.perm_matrix .form-group.checkdyid label { padding: 0; line-height: 18px; }
.perm_matrix .form-group.checkdyid label::before, .perm_matrix .form-group.checkdyid label::after { display: none !important; }
.perm_tag { padding-left: 24px; }
.perm_matrix .form-group.checkdyid input[type="checkbox"] { display: inline-block !important; visibility: visible !important; appearance: auto !important; -webkit-appearance: checkbox !important; pointer-events: auto; }
.perm_matrix .form-group.checkdyid label { display: inline !important; width: auto !important; min-width: 0; flex: 0 1 auto; white-space: normal; }
.perm_module .form-group.checkdyid label { white-space: nowrap; }

/* ── Generate the final proposal ──────────────────────────────────────── */
.export_block { background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.export_block h3 { font-size: 16px; margin: 0 0 4px; }
.export_row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #F5EFF7; }
.export_row:last-child { border-bottom: 0; }
.export_row span { color: #707070; }
.export_row strong { color: #111; font-weight: 500; text-align: right; }
.export_buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.export_buttons .c_btn { min-width: 0; padding: 0 18px; height: 44px; font-size: 13px; }
.export_buttons .textbtn { background: none; border: 0; font-size: 12px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.export_note { font-size: 12px; line-height: 18px; color: #707070; margin: 0; }

/* ── Invoices & payments ──────────────────────────────────────────────── */
.payment_modal .modal-dialog.mw900 { max-width: 900px; }
.payment_modal .modal_body { max-height: calc(100vh - 300px); overflow-y: auto; padding: 0 30px 10px; text-align: left; }
.payment_modal .modal_footer { padding: 18px 30px 26px; }
.payment_modal .pay_section { font-size: 15px; font-weight: 600; color: #6D007D; margin: 22px 0 6px; padding-bottom: 8px; border-bottom: 1px solid #EFE4F2; }
.payment_modal .row > [class^="col-"] { margin-bottom: 14px; }
.payment_modal input[type="date"].input { font-family: inherit; }
.payment_modal .add_account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment_modal .add_account .input { height: 44px; border: 1px solid #e3e3e3; border-radius: 5px; padding: 0 12px; font-size: 12px; }
.payment_modal .add_account .input:first-child { grid-column: 1 / -1; }
.payment_modal .add_account .c_btn { grid-column: 1 / -1; height: 40px; min-width: 0; }
.payment_modal .label_withbtn .textbtn { background: none; border: 0; font-size: 12px; font-weight: 500; cursor: pointer; }
.payment_modal .proof_box { border: 1px dashed #C9A6D1; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 96px; justify-content: center; }
.payment_modal .proof_box .c_btn { height: 38px; min-width: 0; padding: 0 16px; font-size: 12px; }
.payment_modal .proof_box small { font-size: 11px; color: #707070; }
.payment_modal .proof_box a { font-size: 12px; word-break: break-all; }
.payment_modal .proof_box .textbtn { background: none; border: 0; padding: 0; font-size: 11px; text-decoration: underline; cursor: pointer; }
.pay_summary .export_row.strong strong, .pay_summary .export_row.strong span { font-weight: 600; color: #6D007D; }
.invoice_page { padding: 26px 0 60px; }
.invoice_page .invoice_wait { display: block; height: 560px; border-radius: 14px; }
.invoice_top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.invoice_top h2 { font-size: 24px; margin: 8px 0 4px; display: flex; align-items: center; gap: 12px; }
.invoice_top p { font-size: 13px; color: #707070; margin: 0; }
.invoice_top .textbtn { font-size: 12px; font-weight: 500; }
.invoice_actions { display: flex; gap: 10px; flex-wrap: wrap; }
.invoice_actions .c_btn { height: 46px; min-width: 0; padding: 0 22px; font-size: 13px; }
.invoice_grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.invoice_side { display: flex; flex-direction: column; gap: 16px; }
.invoice_sheet { position: relative; background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 40px 44px; font-size: 13px; color: #111; overflow: hidden; }
.invoice_sheet .sheet_head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 2px solid #6D007D; }
.invoice_sheet .sheet_logo { height: 46px; width: auto; }
.invoice_sheet .sheet_title { text-align: right; }
.invoice_sheet .sheet_title h3 { font-size: 20px; font-weight: 600; color: #6D007D; letter-spacing: 1px; margin: 0 0 4px; }
.invoice_sheet .sheet_parties { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; }
.invoice_sheet .sheet_parties > div { display: flex; flex-direction: column; gap: 3px; }
.invoice_sheet .sheet_parties .right { text-align: right; }
.invoice_sheet small { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #9a9a9a; margin-top: 6px; }
.invoice_sheet .sheet_parties span { color: #555; font-size: 12px; }
.invoice_sheet .sheet_table { width: 100%; border-collapse: collapse; }
.invoice_sheet .sheet_table th { background: #FBF7FC; color: #6D007D; font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; text-align: left; padding: 11px 14px; }
.invoice_sheet .sheet_table td { padding: 16px 14px; border-bottom: 1px solid #F0E8F2; vertical-align: top; }
.invoice_sheet .sheet_table td span { display: block; color: #707070; font-size: 12px; margin-top: 4px; }
.invoice_sheet .right { text-align: right; }
.invoice_sheet .sheet_totals { margin: 20px 0 0 auto; width: 320px; display: flex; flex-direction: column; }
.invoice_sheet .sheet_totals > div { display: flex; justify-content: space-between; padding: 7px 14px; }
.invoice_sheet .sheet_totals span { color: #555; }
.invoice_sheet .sheet_totals .total { border-top: 1px solid #E3D3E8; margin-top: 4px; padding-top: 11px; font-size: 14px; }
.invoice_sheet .sheet_totals .total strong { font-weight: 600; }
.invoice_sheet .sheet_totals .due { background: #6D007D; border-radius: 8px; margin-top: 8px; padding: 11px 14px; }
.invoice_sheet .sheet_totals .due span, .invoice_sheet .sheet_totals .due strong { color: #fff; font-weight: 600; }
.invoice_sheet .sheet_notes { margin-top: 26px; }
.invoice_sheet .sheet_notes p { margin: 4px 0 0; color: #555; font-size: 12px; line-height: 18px; white-space: pre-wrap; }
.invoice_sheet .sheet_foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid #F0E8F2; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .5px; color: #9a9a9a; }
.invoice_sheet .sheet_foot span:first-child { color: #E1003E; font-weight: 600; }
.invoice_sheet .sheet_stamp { position: absolute; top: 120px; right: 40px; transform: rotate(-14deg); border: 3px solid #E1003E; color: #E1003E; font-size: 26px; font-weight: 700; letter-spacing: 3px; padding: 4px 18px; border-radius: 8px; opacity: .55; }
.invoice_sheet .sheet_stamp.paid { border-color: #0E9F52; color: #0E9F52; }
.payment_item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F5EFF7; }
.payment_item:last-child { border-bottom: 0; padding-bottom: 0; }
.payment_item > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payment_item strong { font-size: 14px; color: #111; }
.payment_item span { font-size: 11.5px; color: #707070; word-break: break-word; }
.payment_item span.note { font-style: italic; }
.payment_links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.payment_links .textbtn { background: none; border: 0; padding: 0; font-size: 11.5px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.access_form .textarea { width: 100%; border: 1px solid #e3e3e3; border-radius: 5px; padding: 12px 14px; font-size: 12px; font-family: inherit; resize: vertical; }
.payment_modal .textarea { width: 100%; border: 1px solid #e3e3e3; border-radius: 5px; padding: 12px 14px; font-size: 12px; font-family: inherit; resize: vertical; }
@media (max-width: 1100px) { .invoice_grid { grid-template-columns: 1fr; } }
/* Step 06: what the slide shows in Visualize. */
.history_link { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.history_link .ctext { font-size: 11px; color: #6D007D; text-decoration: underline; }
.type_industry { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.type_industry .ctext { font-size: 11px; color: #707070; }

/* ── Proposal theme, send by email ─────────────────────────────────────── */
.visualize_page .left_pannel .head { display: flex; flex-direction: column; gap: 8px; }
.visualize_page .left_pannel .head .deck_theme_btn { background: #fff; color: #6D007D; border: 1px solid #6D007D; }

/* ── Proposal structures (themes) ──────────────────────────────────────── */
.structures_page .theme_cards { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.structures_page .theme_skeleton { display: block; height: 260px; border-radius: 16px; }
.structures_page .theme_empty { background: #fff; border: 1px solid #EFE4F2; border-radius: 16px; padding: 40px; text-align: center; margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.structures_page .theme_card { background: #fff; border: 1px solid #EFE4F2; border-radius: 16px; padding: 22px 24px; }
.structures_page .theme_card[aria-busy="true"] { opacity: .7; }
.structures_page .theme_card.inactive .theme_thumb, .structures_page .theme_card.inactive .theme_slides { filter: grayscale(1); opacity: .7; }
.structures_page .theme_head { display: flex; gap: 18px; align-items: center; }
.structures_page .theme_thumb { flex: 0 0 160px; width: 160px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid #EFE4F2; background: #F8F3FA; }
.structures_page .theme_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.structures_page .theme_info { flex: 1 1 auto; min-width: 0; }
.structures_page .theme_name { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.structures_page .theme_name h3 { font-size: 20px; color: #111; margin: 0; }
.structures_page .theme_info p { font-size: 13px; line-height: 20px; color: #444; margin: 0 0 4px; }
.structures_page .theme_info small { font-size: 12px; color: #707070; }
.structures_page .theme_actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.structures_page .theme_actions .c_btn { height: 40px; min-width: 0; padding: 0 18px; font-size: 13px; }
.structures_page .textbtn { background: none; border: 0; font-size: 12px; font-weight: 500; text-decoration: underline; cursor: pointer; padding: 0; }
.structures_page .textbtn:disabled { opacity: .5; cursor: default; }
.structures_page .theme_title { font-size: 14px; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid #F5EFF7; }
.structures_page .theme_note { font-size: 12px; color: #707070; margin: -4px 0 12px; }
.structures_page .theme_slides { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.structures_page .theme_kind { background: #FBF8FC; border: 1px solid #F1E8F4; border-radius: 12px; padding: 12px; min-width: 0; }
.structures_page .theme_kind.wide { grid-column: 1 / -1; order: 9; }
.structures_page .kind_head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.structures_page .kind_head strong { font-size: 13px; font-weight: 600; color: #111; }
.structures_page .kind_looks { display: flex; flex-wrap: wrap; gap: 10px; }
.structures_page .look { width: 130px; background: #fff; border: 1px solid #E6DAEA; border-radius: 8px; padding: 4px 4px 6px; display: flex; flex-direction: column; gap: 4px; align-items: center; cursor: default; }
.structures_page .look:not(:disabled) { cursor: pointer; }
.structures_page .look img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; display: block; }
.structures_page .look span { font-size: 12px; color: #444; }
.structures_page .look.active { border-color: #6D007D; }
.structures_page .look.active span { color: #6D007D; font-weight: 600; }
.structures_page .look:not(:disabled):not(.active) { opacity: .6; }
.structures_page .theme_kind:not(.wide) .look { width: 100%; }
.structures_page .theme_assets { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.structures_page .theme_asset { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.structures_page .theme_asset strong { font-size: 12px; font-weight: 500; color: #111; }
.structures_page .asset_img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid #E6DAEA; background: #fff; }
.structures_page .asset_img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.structures_page .asset_img.empty { border-style: dashed; background: #FBF8FC; display: flex; align-items: center; justify-content: center; }
.structures_page .asset_img.empty span { font-size: 11px; color: #9A8AA0; }
.structures_page .asset_actions { display: flex; gap: 12px; }
@media (max-width: 1300px) { .structures_page .theme_assets { grid-template-columns: repeat(4, minmax(0, 1fr)); } .structures_page .theme_slides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .structures_page .theme_head { flex-direction: column; align-items: flex-start; } .structures_page .theme_actions { align-items: flex-start; flex-direction: row; } .structures_page .theme_assets, .structures_page .theme_slides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Visualize: the design's red scrollbar, and each slide's number on the rail ── */
html:has(.visualize_page) { scrollbar-width: thin; scrollbar-color: #EF1855 #F3E9F5; }
html:has(.visualize_page)::-webkit-scrollbar, html:has(.visualize_page) body::-webkit-scrollbar { width: 6px; height: 6px; }
html:has(.visualize_page)::-webkit-scrollbar-track, html:has(.visualize_page) body::-webkit-scrollbar-track { background: #F3E9F5; }
html:has(.visualize_page)::-webkit-scrollbar-thumb, html:has(.visualize_page) body::-webkit-scrollbar-thumb { background-color: #EF1855; border-radius: 6px; }
.visualize_page .two_sections > .left_pannel > .body.customscroll { scrollbar-width: thin; scrollbar-color: #EF1855 transparent; }
.visualize_page .left_pannel .prevbox .prev_number { position: absolute; left: 0; bottom: 0; min-width: 24px; height: 18px; padding: 0 6px; border-radius: 0 8px 0 0; background: #6D007D; color: #fff; font-size: 10px; font-weight: 600; line-height: 18px; text-align: center; pointer-events: none; }
.visualize_page .left_pannel .prevbox.active .prev_number { background: #EF1855; }

/* ── Steps 07, 09, 10 ──────────────────────────────────────────────────── */
/* Buttons the design draws as <div>: the state a real button shows on its own. */
.write_proposal .btn_withai.disabled, .write_proposal .btn_withai:disabled, .write_proposal .c_btn:disabled { opacity: .55; cursor: default; pointer-events: none; }
.write_proposal .accor_tab { cursor: pointer; }
.write_proposal .rgt_section .commonrow.pointer { cursor: pointer; }
.write_proposal .two_sections > .rgt_section { position: sticky; top: 20px; align-self: flex-start; }
.write_proposal .accordion.error > .accor_tab { border-color: #E1003E; }
.write_proposal .accordion_wrap .skeleton_bar { display: block; height: 18px; margin: 0 20px; border-radius: 6px; }
.write_proposal .reasign_btn { background: none; border: 0; }
.write_proposal .planbox .textbtn { background: none; border: 0; padding: 0; }
.write_proposal .planbox .error_msg, .write_proposal .two_sectionform .error_msg { margin-top: 6px; }
.review_proposal .approval_tab li a { cursor: pointer; border: 1px solid transparent; }
.review_proposal .approval_tab li a.disabled { opacity: .5; cursor: not-allowed; }
.review_proposal .review_note { font-size: 12px; line-height: 18px; color: #707070; }
.review_proposal .custom_table .action .roundbtn:disabled { opacity: .4; cursor: default; }
.final_proposal .select_format li a { cursor: pointer; }
.final_proposal .after_block { margin-top: 24px; }
.final_proposal .after_block .dline { margin-bottom: 8px; }
.final_proposal .after_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.final_proposal .after_buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.final_proposal .after_note { font-size: 12px; line-height: 18px; color: #707070; margin: 8px 0; }
.final_proposal .after_block .textbtn { background: none; border: 0; font-size: 12px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.final_proposal .after_block .c_btn { padding: 0 18px; }
.final_proposal .after_block textarea.textarea { width: 100%; border: 0; resize: vertical; font-size: 14px; line-height: 20px; }
.final_proposal .mail_history { list-style: none; margin: 12px 0 0; padding: 8px 0 0; border-top: 1px solid #EAEAEA; display: block; }
.final_proposal .graybox ul.mail_history li { width: 100%; border: 0; padding: 6px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.final_proposal .graybox ul.mail_history li:before { display: none; }
.final_proposal .mail_history li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: #444; }
.final_proposal .mail_history li strong { flex: 0 0 auto; font-weight: 500; }
/* The slides the files are made from: laid out in full, out of sight. */
.deck_frame { position: fixed; left: -20000px; top: 0; width: 1280px; height: 900px; border: 0; visibility: hidden; pointer-events: none; }
.modal.success_generateproposal .prevbtn:disabled { opacity: .4; cursor: default; }
.modal.success_generateproposal .text .c_btn { cursor: pointer; }
/* Preview: the deck alone. */
.visualize_page.preview_page .two_sections > .right_pannel { margin: 0 auto; }
.visualize_page.preview_page.embed { padding: 0; min-height: 0; }
.visualize_page.preview_page.embed .fullrow_mid { padding: 0; }
/* The design opens a slide with jQuery's show(); here the open slide is the one that is drawn. */
.page_wrap .step_proposal .main_leftbox.write_proposal .fullrow_mid .formarea .accordion_wrap .accordion > .accor_tab.active + .accor_content { display: block; }

/* ── "Show N entries" above a table: room for the number beside the browser's arrow ── */
.listing_area select.input { width: auto; min-width: 84px; padding: 0 30px 0 16px !important; text-indent: 0; color: #000; font-size: 14px; background-color: #fff; }

/* ── A note box inside the design's field frame: one border, not two ──────── */
.new_inputlabel > textarea.textarea { display: block; width: 100%; height: auto; min-height: 110px !important; padding: 14px 16px; border: 0 !important; border-radius: inherit; background: transparent; resize: vertical; font-size: 14px; line-height: 20px; font-family: inherit; outline: 0; box-shadow: none; }
.payment_modal .new_inputlabel > textarea.textarea { min-height: 96px; font-size: 13px; }

/* ── Record Payment: the form scrolls as one; its buttons sit side by side ── */
.payment_modal { overflow-y: auto; }
.payment_modal .modal-dialog.mw900 { margin: 30px auto; align-items: flex-start; min-height: 0; }
.payment_modal .modal-content { padding: 30px 0 0; }
.payment_modal .modal_header { padding: 0 30px 6px; }
.payment_modal .modal_body { max-height: none; overflow: visible; padding: 0 40px 10px; }
.payment_modal .modal_footer { padding: 18px 40px 30px; border-top: 1px solid #EFE4F2; margin-top: 10px; }
.payment_modal .modal_footer .btnrow { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.payment_modal .modal_footer .btnrow .c_btn { margin: 0; min-width: 170px; }
.payment_modal .custom_tab .common_box { min-width: 88px; height: 44px; cursor: pointer; }
.payment_modal.modal { background: rgba(28, 8, 36, .55) !important; backdrop-filter: none; }
.payment_modal .modal-dialog.mw900 { width: calc(100% - 40px); height: auto; display: block; }
.payment_modal .modal-content { background: #fff !important; border: 0; border-radius: 20px; box-shadow: 0 20px 60px rgba(40, 0, 60, .25); height: auto; max-height: none; overflow: visible; }
.payment_modal .modal-content > form { display: block; }
.payment_modal .pay_section { background: none; }
.payment_modal .modal-dialog.mw900::before, .payment_modal .modal-dialog.mw900::after { display: none !important; content: none !important; height: 0 !important; }

/* ── A select list inside a modal: as wide as its field, laid over what is below it ── */
.page_wrap .common_modal .new_inputlabel { position: relative; }
.page_wrap .common_modal .new_inputlabel .ui.search.dropdown .menu,
.page_wrap .common_modal .new_inputlabel .ui.search.dropdown .menu.mw280 {
  position: absolute; top: 100%; left: -1px; right: -1px; width: auto; min-width: 0; max-width: none; margin: 0;
  z-index: 40; background: #fff; border: 1px solid #EAEAEA; border-top: 0; border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(60, 0, 80, .12);
}
.page_wrap .common_modal .new_inputlabel .ui.search.dropdown .menu .select_scrollarea { max-height: 230px; overflow-y: auto; }
.page_wrap .common_modal .modal-content, .page_wrap .common_modal .modal_body, .page_wrap .common_modal .centerbox, .page_wrap .common_modal .row { overflow: visible; }

/* ── Step 03: a section with errors keeps its own coloured header, so its white title stays readable.
   The warning beside the title is what marks it. ── */
.page_wrap .step_proposal .main_leftbox.diagnosis .fullrow_mid .formarea .accordion_step1 > .accordion > .accor_tab.error,
.page_wrap .step_proposal .main_leftbox.diagnosis .fullrow_mid .formarea .accordion_step1 > .accordion > .accor_tab.active.error {
  background: transparent linear-gradient(90deg, #6E0D88 0%, #E1003E 100%) 0% 0% no-repeat padding-box; border-color: #E1003E;
}

/* ── Step 09: one slide in a popup ─────────────────────────────────────── */
.page_wrap .slide_popup.modal, .slide_popup.modal { background: rgba(28, 8, 36, .6) !important; display: flex !important; align-items: center; justify-content: center; overflow: auto; padding: 20px; }
.slide_popup .slide_popup_box { background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(30, 0, 50, .35); padding: 0 16px; max-width: none; box-sizing: border-box; flex: 0 0 auto; }
.slide_popup .slide_popup_head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px 12px; }
.slide_popup .slide_popup_head h3 { font-size: 16px; line-height: 22px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slide_popup .slide_popup_head .close { position: static; background: none; border: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; opacity: 1; flex: 0 0 auto; cursor: pointer; }
.slide_popup .slide_popup_stage { position: relative; overflow: hidden; border-radius: 10px; background: #F6F1F8; }
.slide_popup .slide_popup_stage iframe { border: 0; display: block; transform-origin: 0 0; background: #fff; }
.slide_popup .slide_popup_stage .skeleton_bar { position: absolute; inset: 0; display: block; }
.slide_popup .slide_popup_foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 14px; font-size: 12px; color: #707070; }
.slide_popup .slide_popup_foot .c_btn { min-width: 96px; padding: 0 16px; }
.slide_popup .slide_popup_foot .c_btn:disabled { opacity: .4; cursor: default; }
/* The slide alone: no frame of a page around it. */
html:has(.preview_page.single), html:has(.preview_page.single) body { overflow: hidden; background: #fff; }
.preview_page.single .two_sections, .preview_page.single .formarea, .preview_page.single .fullrow_mid { padding: 0 !important; margin: 0 !important; gap: 0 !important; }
.preview_page.single .right_pannel { width: 848px; flex: 0 0 848px; padding: 0 !important; margin: 0 !important; gap: 0 !important; }
.preview_page.single .right_pannel .common_visualize { width: 848px; height: 477px; margin: 0 !important; border-radius: 0; box-shadow: none; }
.step_proposal:has(.preview_page.single), .step_proposal:has(.preview_page.single) .custom_container { padding: 0 !important; margin: 0 !important; min-height: 0 !important; max-width: none !important; width: 848px; }

/* ── Proposal preview: a deck viewer — slides down the side, one on the stage ── */
html:has(.deck_viewer), html:has(.deck_viewer) body { height: 100%; overflow: hidden; background: #2B2530; }
.deck_viewer { position: fixed; inset: 0; display: flex; flex-direction: column; background: #2B2530; color: #fff; font-family: "Outfit", sans-serif; min-height: 0; padding: 0; }
.deck_viewer .viewer_bar { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; height: 60px; padding: 0 20px; background: #fff; color: #111; border-bottom: 3px solid; border-image: linear-gradient(90deg, #6E0D88, #E1003E) 1; }
.deck_viewer .viewer_back { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border: 1px solid #EAEAEA; border-radius: 50px; background: #fff; color: #6D007D; font-size: 13px; cursor: pointer; }
.deck_viewer .viewer_back:hover { border-color: #6D007D; }
.deck_viewer .viewer_title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 18px; }
.deck_viewer .viewer_title strong { font-size: 15px; font-weight: 600; color: #6D007D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck_viewer .viewer_title span { font-size: 12px; color: #707070; }
.deck_viewer .viewer_tools { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.deck_viewer .viewer_count { font-size: 13px; color: #444; }
.deck_viewer .viewer_tools .c_btn { min-width: 0; height: 36px; min-height: 36px; padding: 0 22px; font-size: 13px; }
.deck_viewer .viewer_body { flex: 1 1 auto; min-height: 0; display: flex; }
.deck_viewer .viewer_rail { flex: 0 0 238px; width: 238px; overflow-y: auto; overflow-x: hidden; padding: 16px 14px 16px 8px; background: #F4F1F6; border-right: 1px solid #DDD5E1; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #EF1855 transparent; }
.deck_viewer .viewer_rail::-webkit-scrollbar { width: 5px; }
.deck_viewer .viewer_rail::-webkit-scrollbar-thumb { background-color: #EF1855; border-radius: 5px; }
.deck_viewer .viewer_thumb { display: flex; align-items: flex-start; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; flex: 0 0 auto; }
.deck_viewer .thumb_number { flex: 0 0 22px; width: 22px; text-align: right; font-size: 12px; line-height: 18px; color: #707070; font-weight: 500; }
.deck_viewer .thumb_frame { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #fff; outline: 1px solid #D5CBDA; outline-offset: 0; box-sizing: content-box; }
.deck_viewer .viewer_thumb:hover .thumb_frame { outline-color: #6D007D; }
.deck_viewer .viewer_thumb.active .thumb_frame { outline: 3px solid #E1003E; }
.deck_viewer .viewer_thumb.active .thumb_number { color: #E1003E; font-weight: 700; }
.deck_viewer .thumb_slide, .deck_viewer .stage_slide { position: absolute; left: 0; top: 0; width: 848px; height: 477px; transform-origin: 0 0; display: block; padding: 0 !important; margin: 0 !important; gap: 0 !important; }
.deck_viewer .thumb_slide { pointer-events: none; }
.deck_viewer .slide_scope, .deck_viewer .slide_scope > .main_leftbox, .deck_viewer .slide_scope .fullrow_mid, .deck_viewer .slide_scope .two_sections, .deck_viewer .slide_scope .right_pannel {
  display: block !important; width: 848px !important; min-width: 0 !important; max-width: none !important; height: auto; min-height: 0 !important; padding: 0 !important; margin: 0 !important; gap: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important; position: static !important; overflow: visible !important; flex: none !important;
}
.deck_viewer .slide_scope .right_pannel .common_visualize { width: 848px !important; height: 477px !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.deck_viewer .viewer_stage { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; background: #2B2530; overflow: hidden; }
.deck_viewer .stage_frame { position: relative; flex: 0 0 auto; background: #fff; box-shadow: 0 18px 60px rgba(0, 0, 0, .55); overflow: hidden; }
.deck_viewer .viewer_stage.showing { background: #000; cursor: pointer; }
.deck_viewer .viewer_stage.showing .stage_frame { box-shadow: none; }
.deck_viewer .stage_nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; padding: 0 0 4px; }
.deck_viewer .stage_nav:hover:not(:disabled) { background: #E1003E; }
.deck_viewer .stage_nav:disabled { opacity: .25; cursor: default; }
.deck_viewer .stage_nav.prev { left: 14px; }
.deck_viewer .stage_nav.next { right: 14px; }
.deck_viewer .viewer_foot { flex: 0 0 auto; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #1F1A23; color: #CFC6D4; font-size: 12px; }
.deck_viewer .viewer_foot strong { color: #fff; margin-right: 6px; }
.deck_viewer .skeleton_bar.deck_slide { width: 60%; aspect-ratio: 16 / 9; height: auto; display: block; border-radius: 6px; opacity: .25; }
@media (max-width: 900px) { .deck_viewer .viewer_rail { display: none; } .deck_viewer .viewer_foot span:last-child { display: none; } }
/* The viewer is dark; the slides keep the page's own text colour. */
.deck_viewer .slide_scope { color: rgba(0, 0, 0, .87); font-size: 14px; line-height: 1.4285em; text-align: left; }

/* A person with no photo is shown by their initials, never by someone else's photo. */
.initials_avatar { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 36px; min-height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6E0D88, #E1003E); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.deck_viewer .viewer_empty { color: #CFC6D4; font-size: 14px; text-align: center; padding: 40px; }
/* A heading longer than its line wraps inside the slide; nothing runs past the slide's edge. */
.deck_viewer .common_visualize, .preview_page .common_visualize { overflow: hidden; }
.visualize_page .common_visualize .c_heading, .visualize_page .common_visualize h2, .visualize_page .common_visualize h3, .visualize_page .common_visualize h4 { overflow-wrap: anywhere; }

/* Settings → Company: one form in sections, and the bank accounts table. */
.company_form .section_tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #EAEAEA; margin: 0 0 8px; }
.company_form .section_tabs button { position: relative; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font-size: 13px; font-weight: 500; color: #555; cursor: pointer; margin-bottom: -1px; }
.company_form .section_tabs button.active { color: #6D007D; border-bottom-color: #6D007D; }
.company_form .section_tabs button .dot { position: absolute; top: 8px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #E1003E; }
.company_form .row > .section_title { margin-top: 22px; }
.company_form .field_hint { font-size: 11px; line-height: 16px; color: #707070; margin: 6px 0 0; }
.company_form .field_hint code { font-size: 11px; color: #6D007D; background: #FBF7FC; border-radius: 3px; padding: 1px 5px; margin-right: 4px; }
.company_form .section_note code { font-size: 11px; color: #6D007D; background: #FBF7FC; border-radius: 3px; padding: 1px 5px; margin-right: 4px; }
.company_form .new_inputlabel select.input { padding-right: 36px; }
.company_form .new_inputlabel > textarea.textarea { min-height: 80px !important; font-size: 13px; }
.company_form .deck_items { display: flex; flex-direction: column; gap: 8px; }
.company_form .deck_item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; }
.company_form .bank_table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.company_form .bank_table th { font-size: 11px; font-weight: 600; color: #6D007D; text-transform: uppercase; letter-spacing: .03em; padding: 10px 12px; border-bottom: 1px solid #EAEAEA; white-space: nowrap; }
.company_form .bank_table td { padding: 12px; border-bottom: 1px solid #F1F1F1; vertical-align: middle; color: #222; }
.company_form .bank_table .default_tag { display: inline-block; margin-left: 8px; font-size: 10px; line-height: 16px; padding: 0 7px; border-radius: 8px; background: #FBF7FC; color: #6D007D; font-weight: 600; }
.company_form .link_btn.red { color: #E1003E; }
.company_form .btntype.grey { background: #F1F1F1; color: #707070; }
@media (max-width: 767px) { .company_form .deck_item { grid-template-columns: 1fr; } }
.invoice_sheet .sheet_parties > div { flex: 1 1 0; min-width: 0; }
.invoice_sheet .sheet_parties > .right { flex: 0 0 auto; }
.invoice_sheet .sheet_bank { display: flex; justify-content: space-between; gap: 30px; margin-top: 26px; padding-top: 16px; border-top: 1px solid #F0E8F2; }
.invoice_sheet .sheet_bank > div { display: flex; flex-direction: column; gap: 3px; }
.invoice_sheet .sheet_bank .right { text-align: right; }
.invoice_sheet .sheet_bank span { color: #555; font-size: 12px; }
.invoice_sheet .sheet_bank .sign strong { margin-top: 28px; }
/* Step 04: the delete icon sits after View / Edit on one line; the design's
   cell was sized for the two text buttons only. */
.selected_services .selected_table .fullrow > div.td4 { width: 340px; min-width: 340px; flex-wrap: nowrap; white-space: nowrap; }
.selected_services .selected_table .fullrow > div.td4 .textbtn { flex: 0 0 auto; }
.selected_services .selected_table .fullrow > div.td4 .remove_service { margin-left: 0; }
@media (max-width: 991px) { .selected_services .selected_table .fullrow > div.td4 { width: auto; min-width: 0; } }

/* Step 06: "Regenerate All" beside "+ Add Slide" in the All Slides header. */
/* Step 06 on a wide monitor: the design centres a 1366px container, which
   leaves the right of the screen empty; the columns stretch instead. */
@media (min-width: 1400px) {
  .page_wrap .step_proposal .main_leftbox.generate_structure .fullrow_mid .two_sections { max-width: none; }
  .step_proposal:has(.main_leftbox.generate_structure) > .custom_container { max-width: min(100%, 1900px); padding: 0 40px; }
  .page_wrap .step_proposal .main_leftbox.generate_structure .two_sections .lft_section { width: calc(100% - 405px); }
  .page_wrap .step_proposal .main_leftbox.generate_structure .two_sections .rgt_section { width: 380px; min-width: 380px; }
}
/* Visualize → Change Slide Image → Select Model: the design hides every
   <span> inside the trigger (its own "provider" tag); our label is a span. */
.select_modal .ui.search.dropdown > .text span.dd_label,
.page_wrap .right_settingbox .upload_content .new_inputlabel.select_modal .ui.search.dropdown > .text span.dd_label { display: inline; }
/* Visualize → Edit Content. Editable text looks like the slide until it is
   pointed at or focused; the add/remove controls stay small and quiet. */
.common_visualize [contenteditable="true"] { outline: 0; border-radius: 4px; transition: background-color .12s, box-shadow .12s; cursor: text; }
.common_visualize [contenteditable="true"]:hover { box-shadow: 0 0 0 1px rgba(109, 0, 125, .35); }
/* The text keeps its own colour on every theme (some slides write in white), so the focus ring is the only change. */
.common_visualize [contenteditable="true"]:focus { box-shadow: 0 0 0 1.5px #6D007D, 0 0 0 4px rgba(109, 0, 125, .12); }
.common_visualize [contenteditable="true"]:empty::before { content: attr(data-hint); color: #b9b9b9; font-weight: 400; }
.common_visualize .edit_add { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; border: 0; background: none; color: #6D007D; font-size: 11px; line-height: 16px; font-weight: 600; cursor: pointer; letter-spacing: .01em; }
.common_visualize .edit_add:hover { color: #E1003E; text-decoration: underline; }
.common_visualize .listtype li, .common_visualize ul[class*="_"] > li, .common_visualize .edit_line { position: relative; }
.common_visualize .edit_remove { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; border: 0; background: rgba(225, 0, 62, .12); color: #E1003E; font-size: 12px; line-height: 16px; padding: 0; cursor: pointer; z-index: 3; opacity: 0; transition: opacity .12s; }
.common_visualize li:hover > .edit_remove, .common_visualize .edit_line:hover > .edit_remove, .common_visualize .edit_remove:focus { opacity: 1; }
.common_visualize .edit_remove:hover { background: #E1003E; color: #fff; }
.common_visualize .is_editing_tag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 5; background: #6D007D; color: #fff; font-size: 11px; line-height: 16px; font-weight: 500; padding: 4px 12px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); pointer-events: none; }

/* All Structures: a theme the design has no artwork for yet says so. */
.theme_card .theme_thumb.empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: 11px; line-height: 15px; color: #9a9a9a; background: #FBF7FC; border: 1px dashed #D8C6DC; }
.visualize_page .common_fullrow .td1 small { font-size: 10px; color: #9a9a9a; }

/* Selecting text while editing a slide: gradient-clipped headings would show
   the selection as white, so they are drawn flat while editable. */
.common_visualize.is_editing .gtext[contenteditable="true"] { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #6D007D; color: #6D007D; }
.common_visualize.is_editing .gtext.redprpl[contenteditable="true"] { -webkit-text-fill-color: #E1003E; color: #E1003E; }
.common_visualize [contenteditable="true"]::selection, .common_visualize [contenteditable="true"] *::selection { background: rgba(109, 0, 125, .22); color: inherit; -webkit-text-fill-color: inherit; }
/* While a slide is edited its gradient headings are drawn solid: text typed
   into a background-clipped, transparent-filled element does not show. */
.page_wrap .common_visualize.is_editing .gtext[contenteditable="true"],
.page_wrap .common_visualize.is_editing [contenteditable="true"].gtext * {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: #6D007D !important; -webkit-text-fill-color: #6D007D !important;
}
.page_wrap .common_visualize.is_editing .gtext.redprpl[contenteditable="true"] { color: #E1003E !important; -webkit-text-fill-color: #E1003E !important; }
.page_wrap .common_visualize.is_editing [contenteditable="true"][data-path$=".value"],
.page_wrap .common_visualize.is_editing [contenteditable="true"][data-path$=".value"] * {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: #E1003E !important; -webkit-text-fill-color: #E1003E !important;
}
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .right_pannel .common_visualize.is_editing .main_contentbox [contenteditable="true"][data-path$=".value"],
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .right_pannel .common_visualize.is_editing .main_contentbox .listtype ul li [contenteditable="true"].number {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: #E1003E !important; -webkit-text-fill-color: #E1003E !important;
}
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .right_pannel .common_visualize.is_editing [contenteditable="true"].blacktext { -webkit-text-fill-color: #000 !important; background: none !important; }
/* Proposals: the table fills the width (the title column takes the slack). */
.proposals_listing .custom_table { width: 100%; }
.proposals_listing .custom_table .fullrow { width: 100%; }
/* ⋮ Jump to step: the design's dropdown card, fixed so the table's scroll box never clips it. */
.step_jump { position: relative; display: inline-flex; }
.step_jump .step_jump_btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #EAEAEA; background: #fff; color: #6D007D; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.step_jump .step_jump_btn:hover, .step_jump.show .step_jump_btn { background: #6D007D; color: #fff; border-color: #6D007D; }
.step_jump_menu { position: fixed; z-index: 1050; width: 250px; padding: 6px 0; background: #fff; border: 1px solid #EAEAEA; border-radius: 10px; box-shadow: 0 12px 32px rgba(41, 0, 48, .16); font-family: "Outfit", sans-serif; }
.step_jump_menu .step_jump_title { display: block; padding: 10px 16px 8px; margin-bottom: 4px; border-bottom: 1px solid #F1EAF3; font-size: 13px; font-weight: 600; color: #6D007D; }
.step_jump_menu .step_jump_item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 16px; font-size: 13px; line-height: 18px; color: #222; text-decoration: none; }
.step_jump_menu .step_jump_item .num { flex: 0 0 26px; height: 22px; border-radius: 11px; background: #F4ECF6; color: #6D007D; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step_jump_menu a.step_jump_item:hover { background: #FBF7FC; color: #6D007D; }
.step_jump_menu .step_jump_item.current .num { background: #6D007D; color: #fff; }
.step_jump_menu .step_jump_item.current { font-weight: 600; color: #6D007D; }
.step_jump_menu .step_jump_item .tag { margin-left: auto; font-size: 10px; font-weight: 600; color: #0E9F52; background: #E8F7EE; border-radius: 8px; padding: 1px 7px; }
.step_jump_menu .step_jump_item.disabled { color: #c4c4c4; cursor: not-allowed; }
.step_jump_menu .step_jump_item.disabled .num { background: #F5F5F5; color: #c4c4c4; }
/* Step 07: the slide as it will look, floating over the page so the form keeps its layout. */
.live_preview.floating { position: fixed; right: 24px; bottom: 24px; z-index: 1040; background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; box-shadow: 0 18px 48px rgba(41, 0, 48, .22); padding: 10px 12px 10px; max-width: calc(100vw - 48px); }
.live_preview.floating.small { padding: 0; }
.live_preview_head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6D007D; cursor: grab; touch-action: none; user-select: none; padding: 2px 2px 8px; }
.live_preview.floating.small .live_preview_head { padding: 10px 14px; }
.live_preview_head .dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #0E9F52; box-shadow: 0 0 0 3px rgba(14,159,82,.18); }
.live_preview_head .ttl { display: flex; flex-direction: column; line-height: 16px; min-width: 0; }
.live_preview_head .ttl em { font-style: normal; font-weight: 400; font-size: 11px; color: #707070; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.live_preview_head .toggle { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: #F4ECF6; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.live_preview_stage { position: relative; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #F1EAF3; }
.live_preview_stage iframe { position: absolute; top: 0; left: 0; }
.live_preview_stage .skeleton_bar { position: absolute; inset: 0; height: auto; }
.live_preview_note { display: block; margin-top: 6px; font-size: 10px; color: #9a9a9a; text-align: right; }
@media (max-width: 991px) { .live_preview.floating:not(.small) .live_preview_stage { width: 300px !important; height: 169px !important; } .live_preview.floating:not(.small) .live_preview_stage iframe { transform: scale(.354) !important; } }
/* Step 07 deck tools and Paste & Fit. */
.paste_fit .paste_steps { margin: 0 0 14px; padding-left: 18px; font-size: 13px; line-height: 20px; color: #444; }
.paste_fit .paste_steps code { font-size: 12px; color: #6D007D; background: #FBF7FC; border-radius: 3px; padding: 1px 5px; }
.paste_fit .paste_label { margin: 10px 0 6px; }
.paste_fit .paste_label small { font-size: 11px; color: #9a9a9a; }
.paste_fit .textarea.paste_template { background: #FAFAFA; color: #555; font-size: 12px; line-height: 18px; font-family: ui-monospace, Menlo, monospace; }
.paste_fit .textarea.paste_input { font-size: 13px; line-height: 20px; min-height: 200px; }
.c_btn.approve_all { background: #fff; border: 1px solid #0E9F52; color: #0E9F52; }
.c_btn.approve_all:hover:not(:disabled) { background: #0E9F52; color: #fff; }
/* The live preview sits between an open slide's tab and its form. */
.page_wrap .step_proposal .main_leftbox.write_proposal .fullrow_mid .formarea .accordion_wrap .accordion > .accor_tab.active ~ .accor_content { display: block; }
/* Step 07 blocks: compact cards, three across (two on narrower screens, one on phones). */
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div {
  position: relative; display: block !important; margin: 0 !important; padding: 10px 10px 8px; min-width: 0;
  background: #fff; border: 1px solid #EFE4F2; border-left: 3px solid #E1003E; border-radius: 8px; box-shadow: 0 2px 8px rgba(41, 0, 48, .04);
}
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div:hover { border-color: #DCC6E1; border-left-color: #E1003E; box-shadow: 0 4px 14px rgba(41, 0, 48, .08); }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div .dragicon { position: absolute; top: 6px; right: 30px; width: 20px; height: 20px; min-width: 0; margin: 0; background: transparent; opacity: .45; z-index: 2; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div:hover .dragicon { opacity: 1; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div .dragicon img { width: 12px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .fieldarea { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .textarea_group { margin: 0; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .new_inputlabel { border: 0 !important; border-radius: 0; background: transparent; box-shadow: none; min-height: 0; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_heading .new_inputlabel { border-bottom: 1px solid #F1EAF3 !important; padding-right: 44px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div .remove_block { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #FDE8EE; color: #E1003E; font-size: 14px; line-height: 1; cursor: pointer; z-index: 2; opacity: .7; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div:hover .remove_block { opacity: 1; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div .remove_block:hover { background: #E1003E; color: #fff; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] textarea.textarea { padding: 4px 2px !important; min-height: 0 !important; font-size: 12px; line-height: 17px; background: transparent; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_heading textarea.textarea { font-weight: 600; color: #6D007D; font-size: 12.5px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_text textarea.textarea { min-height: 52px !important; color: #444; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .letter_remaining, .page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .word_count { font-size: 10px; margin-top: 0; text-align: right; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .error_msg { margin-top: 4px; }
@media (max-width: 767px) { .page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] { grid-template-columns: 1fr; } }
.live_preview_head:active { cursor: grabbing; }
.live_preview_head .toggle { cursor: pointer; }
/* View PDF (Step 07 panel, Visualize rail). */
.c_btn.view_pdf { background: #fff; border: 1px solid #E1003E; color: #E1003E; }
.c_btn.view_pdf:hover:not(:disabled) { background: #E1003E; color: #fff; }
/* View PDF: an in-app reader, no download. */
.pdf_viewer { position: fixed; inset: 0; z-index: 2000; background: #3b3b3f; display: flex; flex-direction: column; }
.pdf_viewer .pdf_bar { flex: 0 0 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: #2a2a2e; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.pdf_viewer .pdf_name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf_viewer .pdf_tag { background: #E1003E; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; letter-spacing: .04em; }
.pdf_viewer .pdf_ctrl { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pdf_viewer .pdf_ctrl button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.pdf_viewer .pdf_ctrl button:hover { background: rgba(255,255,255,.2); }
.pdf_viewer .pdf_ctrl .pdf_close { margin-left: 8px; font-size: 20px; }
.pdf_viewer .pdf_zoom { min-width: 42px; text-align: center; color: #ddd; }
.pdf_viewer .pdf_page_no { margin-right: 10px; color: #ddd; }
.pdf_viewer .pdf_body { flex: 1 1 auto; overflow: auto; padding: 24px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pdf_viewer .pdf_page { position: relative; flex: 0 0 auto; max-width: none; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); user-select: none; }
.pdf_viewer .pdf_page img { display: block; width: 100%; height: auto; pointer-events: none; }
.pdf_viewer .pdf_page_label { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: #fff; background: rgba(0,0,0,.45); border-radius: 8px; padding: 1px 7px; }
/* Visualize rail: a little wider, its three tools as one row of icons. */
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel { width: 236px; min-width: 236px; }
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel .head.rail_tools { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; padding: 14px 16px; }
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel .head.rail_tools .c_btn.rail_btn {
  position: relative; flex: 1 1 0; width: auto; min-width: 0; min-height: 38px; height: 38px; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center; background: #F5EFF7; color: #6D007D; border: 1px solid #EAEAEA; border-radius: 10px;
}
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel .head.rail_tools .c_btn.rail_btn:hover:not(:disabled) { background: #6D007D; color: #fff; border-color: #6D007D; }
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel .head.rail_tools .c_btn.view_pdf { color: #E1003E; }
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .left_pannel .head.rail_tools .c_btn.view_pdf:hover:not(:disabled) { background: #E1003E; border-color: #E1003E; color: #fff; }
.rail_btn[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #2a2a2e; color: #fff; font-size: 11px; line-height: 15px; padding: 4px 8px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 30; }
.rail_btn[data-tip]:hover::after, .rail_btn[data-tip]:focus-visible::after { opacity: 1; }
.sr_only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.pdf_open .live_preview, body.pdf_open .rail_btn[data-tip]::after, body.pdf_open .top_successful_msg, body.pdf_open .prevbtn, body.pdf_open .moris_toast_stack { display: none !important; }

/* Steps 06 and 07: one toolbar under the panel title. Two equal columns,
   the same height everywhere; AI in purple, approve in green, View PDF in red. */
.rgt_section .panel_tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 20px 14px; border-bottom: 1px solid #EAEAEA; }
.rgt_section .panel_tools .tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-height: 34px; min-width: 0; width: 100%; margin: 0; padding: 0 10px;
  font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: #fff; color: #6D007D; border: 1px solid #E3D3E7; border-radius: 17px; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.rgt_section .panel_tools .tool svg { flex: 0 0 14px; }
.rgt_section .panel_tools .tool:hover:not(:disabled) { background: #6D007D; border-color: #6D007D; color: #fff; }
.rgt_section .panel_tools .tool.ai { background: #F5EFF7; border-color: #E3D3E7; }
.rgt_section .panel_tools .tool.ai:hover:not(:disabled) { background: linear-gradient(90deg, #6D007D, #E1003E); border-color: transparent; color: #fff; }
.rgt_section .panel_tools .tool.approve { color: #0E9F52; border-color: #BFE6CF; }
.rgt_section .panel_tools .tool.approve:hover:not(:disabled) { background: #0E9F52; border-color: #0E9F52; color: #fff; }
.rgt_section .panel_tools .tool.pdf { color: #E1003E; border-color: #F4C2D0; }
.rgt_section .panel_tools .tool.pdf:hover:not(:disabled) { background: #E1003E; border-color: #E1003E; color: #fff; }
.rgt_section .panel_tools .tool.wide { grid-column: 1 / -1; }
.rgt_section .panel_tools .tool:disabled { opacity: .55; cursor: not-allowed; }
/* The c_btn on Add Slide is for the old selectors only; it takes the toolbar look. */
.page_wrap .step_proposal .rgt_section .panel_tools .tool.c_btn { min-width: 0; font-size: 12px; }
/* Step 07: the per-slide tools in the open slide's tab. */
.write_proposal .accor_tab .slide_tools { display: inline-flex; gap: 6px; margin-right: 8px; }
.write_proposal .accor_tab .slide_tools .slide_tool { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; border: 1px solid #E3D3E7; color: #6D007D; font-size: 11.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.write_proposal .accor_tab .slide_tools .slide_tool:hover:not(:disabled) { background: #6D007D; border-color: #6D007D; color: #fff; }
.page_wrap .step_proposal .main_leftbox.write_proposal .accordion .accor_tab .slide_tools.show_onclick { opacity: 0; visibility: hidden; }
.page_wrap .step_proposal .main_leftbox.write_proposal .accordion .accor_tab.active .slide_tools.show_onclick { opacity: 1; visibility: visible; }
.step_jump_menu .step_jump_draft { border: 0; border-top: 1px solid #F1EAF3; margin-top: 4px; background: none; text-align: left; color: #E1003E; cursor: pointer; font-family: inherit; }
.step_jump_menu .step_jump_draft .num { background: #FDE8EE; color: #E1003E; }
.step_jump_menu .step_jump_draft:hover { background: #FFF5F8; }
/* Proposals: header and rows share exact column widths that fill the table. */
.page_wrap .listing_area.proposals_listing .custom_table thead .fullrow, .page_wrap .listing_area.proposals_listing .custom_table tbody .toprow { display: flex; width: 100%; box-sizing: border-box; }
/* All Proposals: the twelve columns add up to 1360px (28 + 180 + 160 + 160 + 90×3 + 120 + 120 + 127 + 135 + 40), so the table fits a 1440px screen without a scrollbar. */
.page_wrap .listing_area.all_proposal .tab_content .custom_table .commonbox.w210 { width: 180px; min-width: 180px; }
.page_wrap .listing_area.all_proposal .tab_content .custom_table .commonbox.w180 { width: 160px; min-width: 160px; }
.page_wrap .listing_area.all_proposal .tab_content .custom_table .commonbox.w130 { width: 127px; min-width: 127px; }
.page_wrap .listing_area.all_proposal .tab_content .custom_table .commonbox.w150 { width: 135px; min-width: 135px; }
/* Impact Number: three headline figures. */
.common_visualize .main_textbox .listtype ul.impact_number { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; padding-top: 6px; }
.common_visualize .main_textbox .listtype ul.impact_number li { width: auto !important; position: relative; padding: 0; }
.common_visualize ul.impact_number .impact_value { display: block; font-size: 46px; line-height: 50px; font-weight: 700; letter-spacing: -.5px; background: linear-gradient(60deg, #E1003E 0%, #6D007D 30%, #6D007D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.common_visualize ul.impact_number .impact_rule { width: 46px; height: 3px; border-radius: 2px; background: #E1003E; margin: 8px 0 10px; }
.common_visualize ul.impact_number h4 { font-size: 15px; line-height: 20px; font-weight: 600; color: #6D007D; margin: 0 0 6px; }
.common_visualize ul.impact_number p { font-size: 12px; line-height: 17px; color: #354E41; margin: 0; }
/* Metric Number: four KPI tiles, number beside its label. */
.common_visualize .main_textbox .listtype ul.matric_number { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 4px; }
.common_visualize .main_textbox .listtype ul.matric_number li { width: auto !important; display: flex; align-items: center; gap: 14px; position: relative; padding: 12px 14px; background: #FBF7FC; border: 1px solid #EFE4F2; border-radius: 10px; }
.common_visualize ul.matric_number .metric_value { flex: 0 0 auto; min-width: 70px; font-size: 30px; line-height: 34px; font-weight: 700; background: linear-gradient(60deg, #E1003E 0%, #6D007D 35%, #6D007D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.common_visualize ul.matric_number .metric_body { min-width: 0; border-left: 2px solid #E1003E; padding-left: 12px; }
.common_visualize ul.matric_number h4 { font-size: 13.5px; line-height: 18px; font-weight: 600; color: #6D007D; margin: 0 0 3px; }
.common_visualize ul.matric_number p { font-size: 11.5px; line-height: 16px; color: #354E41; margin: 0; }
.page_wrap .common_visualize.is_editing ul.impact_number [contenteditable="true"].impact_value, .page_wrap .common_visualize.is_editing ul.matric_number [contenteditable="true"].metric_value { background: none !important; -webkit-text-fill-color: #E1003E !important; color: #E1003E !important; }
/* Visualize: the slide column runs to the page's edge and the slides scale to fill it. */
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections > .right_pannel { flex: 1 1 auto; min-width: 0; align-items: center; }
/* The deck's zoom reaches every slide, including the ones inside the
   draggable group — as a child-only selector it left those at full size. */
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections > .right_pannel .common_visualize { zoom: var(--deck-zoom, 1); }
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections > .right_pannel .draggable { zoom: 1; }

/* Up to twelve short bullets: two tighter columns. */
.common_visualize .main_textbox .listtype ul.dense { gap: 8px 16px !important; }
.common_visualize .main_textbox .listtype ul.dense > li { width: calc(50% - 8px) !important; }
.common_visualize .main_textbox .listtype ul.dense > li h4 { font-size: 11px; line-height: 15px; margin-bottom: 1px; }
.common_visualize .main_textbox .listtype ul.dense > li p { font-size: 9.5px; line-height: 13px; }
/* A slide with no picture yet: a quiet tinted panel; in the export, nothing a reader could click. */
.common_visualize .themeimage.noimg { background-color: #ede7f1; }
.common_visualize .themeimage.noimg .select_bgimage h3 { font-size: 11px; color: #6D007D; }
.preview_page .common_visualize .themeimage.noimg, .deck_viewer .common_visualize .themeimage.noimg { background: linear-gradient(160deg, #f4eef7, #e6dbea); }

/* Listing cell menus: a fixed card so the table's scroll box cannot clip it; long ones scroll. */
.cell_menu_card { max-height: 80vh; overflow-y: auto; min-width: 230px; }
.cell_menu_card .dropdown-item[disabled] { opacity: .45; cursor: not-allowed; }
.cell_menu_card .ltext { padding: 8px 16px 2px; font-size: 9px; letter-spacing: .4px; color: #A8A8A8; }
.avatar_initials { width: 100%; height: 100%; border-radius: 50%; background: #F8F3FA; color: #6E0D88; font-size: 12px; font-weight: 600; }

/* "How should this proposal look?": the two visualisation choices. */
.visual_mode_modal .modal-dialog { max-width: 760px; }
.visual_mode_modal .modal-content { padding: 28px 28px 22px; border-radius: 16px; }
.visual_mode_modal .vm_head { text-align: center; margin-bottom: 22px; }
.visual_mode_modal .vm_head small { font-size: 10px; letter-spacing: 1.2px; font-weight: 600; }
.visual_mode_modal .vm_head h3 { margin: 4px 0 8px; font-size: 22px; }
.visual_mode_modal .vm_head .dline { width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6D007D, #E1003E); }
.visual_mode_modal .vm_head .ctext { max-width: 460px; margin: 12px auto 0; font-size: 12px; line-height: 18px; color: #707070; }
.visual_mode_modal .vm_row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.visual_mode_modal .vm_card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 18px 18px; text-align: left;
  background: #fff; border: 1.5px solid #ECE4EF; border-radius: 14px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.visual_mode_modal .vm_card:hover { border-color: #C9A6D2; transform: translateY(-1px); }
.visual_mode_modal .vm_card.is_on { border-color: #6D007D; box-shadow: 0 10px 28px rgba(109, 0, 125, .14); }
.visual_mode_modal .vm_icon { width: 62px; height: 62px; border-radius: 16px; color: #6D007D; background: linear-gradient(135deg, rgba(109,0,125,.08), rgba(225,0,62,.08)); }
.visual_mode_modal .vm_card.is_on .vm_icon { color: #fff; background: linear-gradient(135deg, #6D007D, #E1003E); }
.visual_mode_modal .vm_title { font-size: 15px; font-weight: 600; color: #290030; }
.visual_mode_modal .vm_line { font-size: 12px; color: #6D007D; }
.visual_mode_modal .vm_points { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.visual_mode_modal .vm_points li { position: relative; padding-left: 16px; font-size: 11px; line-height: 16px; color: #707070; }
.visual_mode_modal .vm_points li::before { content: ''; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #E1003E; }
.visual_mode_modal .vm_tag { position: absolute; top: 14px; right: 14px; padding: 2px 8px; border-radius: 20px; background: #FDE8EE; color: #E1003E; font-size: 9px; font-weight: 600; letter-spacing: .6px; }
.visual_mode_modal .vm_check { position: absolute; right: 14px; bottom: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #E3D7E8; color: transparent; transition: all .15s; }
.visual_mode_modal .vm_card.is_on .vm_check { border-color: #6D007D; background: #6D007D; color: #fff; }
.visual_mode_modal .btnrow { margin-top: 24px; }
@media (max-width: 680px) { .visual_mode_modal .vm_row { grid-template-columns: 1fr; } }

/* Visualise with images: the slide editor's own screen, each slide the picture
   AI drew from its content. The picture is changed through the editor's own
   Upload/Generate Image panel, so both modes work the same way. */
.deck_images_page .right_pannel { gap: 26px; }
.deck_image_slot { display: flex; flex-direction: column; gap: 8px; }
/* The editor pins any slide to 477px; an image slide is as tall as its picture. */
.page_wrap .step_proposal .main_leftbox.visualize_page .fullrow_mid .two_sections .right_pannel .common_visualize.deck_image_card,
.deck_image_card { position: relative; width: 848px; max-width: 100%; height: auto; min-height: 0; padding: 0; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(41, 0, 48, .10); }
/* Slides are drawn 3:2 by default; a picture of another shape is fitted inside, never cropped. */
.deck_image_card .shot { position: relative; aspect-ratio: 3 / 2; background: #F1ECF4; border-radius: 14px; overflow: hidden; }
.deck_image_card .shot img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.deck_image_card .shot_empty { width: 100%; height: 100%; font-size: 13px; color: #A8A8A8; }
/* While a slide is being drawn: a sweeping shimmer across the empty frame. */
.deck_image_card .shot_loading { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(110deg, #F6F1F8 8%, #EFE6F3 18%, #F6F1F8 33%); }
.deck_image_card .shot_loading .sweep { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.85) 45%, transparent 70%); transform: translateX(-100%); animation: deck_sweep 1.5s ease-in-out infinite; }
.deck_image_card .shot_loading .caption { position: absolute; inset: 0; gap: 10px; font-size: 12px; font-weight: 600; color: #6D007D; }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(109, 0, 125, .22); border-top-color: #6D007D; animation: deck_spin .7s linear infinite; display: inline-block; }
@keyframes deck_sweep { to { transform: translateX(100%); } }
@keyframes deck_spin { to { transform: rotate(360deg); } }
.deck_image_card .shot .num { position: absolute; bottom: 12px; left: 12px; padding: 2px 9px; border-radius: 20px; background: rgba(41, 0, 48, .72); color: #fff; font-size: 11px; }
/* The same hover affordance the drawn slides use for their picture. */
.deck_image_card .themeimage_edit { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .15s; }
.deck_image_card:hover .themeimage_edit, .deck_image_card .themeimage_edit:focus-visible { opacity: 1; background: rgba(41, 0, 48, .42); }
.deck_image_card .themeimage_edit .label { padding: 9px 18px; border-radius: 30px; background: #fff; color: #6D007D; font-size: 12px; font-weight: 600; }
.deck_image_card .shot:has(+ .themeimage_edit) { border-radius: 14px; }
.deck_images_page .left_pannel .prevbox { min-height: 66px; }
.deck_images_page .left_pannel .prevbox .thumb_empty .spinner { width: 18px; height: 18px; border-width: 2px; border-color: rgba(106, 40, 122, .18); border-top-color: #ee1d56; }
.deck_images_page .left_pannel .prevbox .thumb_empty { width: 100%; min-height: 62px; font-size: 10px; color: #A8A8A8; background: linear-gradient(110deg, #F6F1F8 8%, #EFE6F3 18%, #F6F1F8 33%); border-radius: 6px; }
.deck_images_page .fullrow_btm .btnrow { gap: 12px; }
/* A slide that is one generated picture fills the stage as the drawn slides do. */
.deck_image_slide { width: 848px; height: 477px; overflow: hidden; background: #fff; }
/* The page is 16:9 and a slide picture is 3:2 by default: it is fitted on white, never cropped. */
.deck_image_slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; }

/* ── Editing a slide: easier to see and to hit ───────────────────────────── */
/* Every editable piece shows as a field while the slide is being edited, so
   it is obvious what can be typed into and where one piece ends. */
.common_visualize.is_editing [contenteditable="true"] { padding: 3px 6px; margin: -3px -6px; background: rgba(109, 0, 125, .035); box-shadow: inset 0 0 0 1px rgba(109, 0, 125, .14); }
.common_visualize.is_editing [contenteditable="true"]:hover { background: rgba(109, 0, 125, .06); box-shadow: inset 0 0 0 1px rgba(109, 0, 125, .34); }
.common_visualize.is_editing [contenteditable="true"]:focus { background: #fff; box-shadow: 0 0 0 1.5px #6D007D, 0 0 0 4px rgba(109, 0, 125, .12); }
/* Points and paragraphs get room to breathe, so a twelve-point slide is still readable. */
.common_visualize.is_editing .edit_line, .common_visualize.is_editing li { padding-right: 24px; }
.common_visualize.is_editing .listtype li + li, .common_visualize.is_editing ul[class*="_"] > li + li { margin-top: 6px; }
.common_visualize.is_editing .edit_remove { top: 0; right: 0; width: 20px; height: 20px; font-size: 13px; opacity: .55; }
.common_visualize.is_editing .edit_remove:hover, .common_visualize.is_editing .edit_remove:focus { opacity: 1; }
.common_visualize.is_editing .edit_add { margin-top: 10px; padding: 4px 10px; border: 1px dashed rgba(109, 0, 125, .45); border-radius: 20px; font-size: 11px; }
.common_visualize.is_editing .edit_add:hover { border-color: #E1003E; text-decoration: none; background: rgba(225, 0, 62, .06); }
/* The slide being edited stands out from the ones around it, and gains a little height. */
.visualize_page .common_visualize.is_editing { box-shadow: 0 0 0 2px #6D007D, 0 18px 40px rgba(41, 0, 48, .18); }
.visualize_page .stage_slide .common_visualize.is_editing { min-height: 500px; }
/* A block that has no picture yet waits for one, rather than showing stock photography. */
.common_visualize .imgbox .block_noimg { width: 100%; height: 100%; min-height: 90px; background: linear-gradient(135deg, #F6EFF8, #FBEFF3); color: #9A7BA6; font-size: 10px; font-weight: 500; }
/* Live preview: Structure or Image, the two looks a slide can have. */
.live_preview .live_preview_switch { display: inline-flex; gap: 2px; margin: 0 0 8px; padding: 3px; border-radius: 20px; background: #F4EEF6; }
.live_preview .live_preview_switch button { padding: 4px 14px; border: 0; border-radius: 16px; background: transparent; color: #6D007D; font-size: 11px; font-weight: 500; cursor: pointer; }
.live_preview .live_preview_switch button.on { background: #fff; box-shadow: 0 2px 6px rgba(109, 0, 125, .14); font-weight: 600; }
.deck_image_none { width: 848px; height: 477px; background: #FAF6FB; color: #9A7BA6; font-size: 18px; }

/* Step 07 bullet, focus and stage blocks: a tidy card — number, heading and
   actions in one row, the text below, both word limits in a quiet footer. */
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] { gap: 14px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div.block_card { display: flex !important; flex-direction: column; gap: 6px; padding: 12px 14px 10px; border: 1px solid #EEE4F1; border-left: 3px solid #E1003E; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(41, 0, 48, .04); transition: box-shadow .15s, border-color .15s; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div.block_card:hover { border-color: #DCC6E1; border-left-color: #E1003E; box-shadow: 0 6px 18px rgba(41, 0, 48, .08); }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div.block_card:focus-within { border-color: #C9A6D2; border-left-color: #6D007D; box-shadow: 0 0 0 3px rgba(109, 0, 125, .08); }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_head { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid #F3ECF5; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_no { flex: 0 0 auto; min-width: 26px; height: 22px; padding: 0 6px; margin-top: 2px; border-radius: 6px; background: #F8F1FA; color: #6D007D; font-size: 11px; font-weight: 600; line-height: 22px; text-align: center; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_head .block_heading { flex: 1 1 auto; min-width: 0; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_head .block_heading .new_inputlabel { border-bottom: 0 !important; padding-right: 0; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; opacity: .35; transition: opacity .15s; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div.block_card:hover .block_actions, .page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] > .common_div.block_card:focus-within .block_actions { opacity: 1; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions .dragicon, .page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions .remove_block { position: static !important; opacity: 1 !important; width: 24px; height: 24px; margin: 0; border-radius: 6px; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions .dragicon { background: #F6F0F8; cursor: grab; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions .remove_block { border: 0; background: #FDEEF2; color: #E1003E; font-size: 15px; line-height: 1; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_actions .remove_block:hover { background: #E1003E; color: #fff; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_card .block_text textarea.textarea { min-height: 38px !important; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; font-size: 10px; color: #A79AAD; }
.page_wrap .step_proposal .main_leftbox.write_proposal .block_wrap[data-blocks] .block_meta .over { color: #E1003E; font-weight: 600; }

/* ── "Generating your image" ─────────────────────────────────────────────── */
.gen_loader { position: relative; width: 100%; height: 100%; min-height: 260px; overflow: hidden; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #FBF8FC; isolation: isolate; }
.gen_loader.compact { min-height: 0; border-radius: inherit; }
.gen_canvas { position: absolute; inset: 0; z-index: -1; }
.gen_grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(109, 0, 125, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(109, 0, 125, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at center, #000 30%, transparent 75%); }
.gen_sweep { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .9) 50%, transparent 75%); transform: translateX(-100%); animation: gen_sweep 2.4s ease-in-out infinite; }
.gen_blob { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .2; animation: gen_float 9s ease-in-out infinite; }
.gen_blob.b1 { background: #6a287a; top: -18%; left: -8%; }
.gen_blob.b2 { background: #ee1d56; bottom: -22%; right: -6%; animation-delay: -3s; opacity: .16; }
.gen_blob.b3 { background: #fdec07; top: 40%; left: 55%; width: 16%; opacity: .12; animation-delay: -6s; }
.gen_center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 22px; text-align: center; }
.gen_orb { position: relative; width: 76px; height: 76px; margin-bottom: 4px; }
.gen_loader.compact .gen_orb { width: 58px; height: 58px; }
.gen_orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; }
.gen_orb .r1 { border-top-color: #6a287a; border-right-color: #ee1d56; animation: gen_spin 1.4s linear infinite; }
.gen_orb .r2 { inset: 8px; border-bottom-color: #ee1d56; border-left-color: #6a287a; animation: gen_spin 2.1s linear infinite reverse; opacity: .7; }
.gen_orb .core { position: absolute; inset: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #6a287a, #ee1d56); box-shadow: 0 6px 22px rgba(238, 29, 86, .35); animation: gen_pulse 1.8s ease-in-out infinite; }
.gen_loader.compact .gen_orb .core { inset: 12px; }
.gen_orb .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fdec07; box-shadow: 0 0 8px #fdec07; opacity: 0; animation: gen_spark 2.4s ease-in-out infinite; }
.gen_orb .s1 { top: -2px; left: 50%; } .gen_orb .s2 { right: -4px; top: 45%; animation-delay: .6s; }
.gen_orb .s3 { bottom: -2px; left: 30%; animation-delay: 1.2s; } .gen_orb .s4 { left: -4px; top: 30%; animation-delay: 1.8s; }
.gen_title { font-size: 16px; font-weight: 600; letter-spacing: .1px; background: linear-gradient(90deg, #6a287a, #ee1d56); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #6a287a; }
.gen_loader.compact .gen_title { font-size: 14px; }
.gen_dots i { font-style: normal; animation: gen_dot 1.2s infinite; -webkit-text-fill-color: #ee1d56; }
.gen_dots i:nth-child(2) { animation-delay: .2s; } .gen_dots i:nth-child(3) { animation-delay: .4s; }
.gen_stage { font-size: 11.5px; color: #7B6684; animation: gen_in .4s ease-out; }
.gen_bar_row { display: flex; align-items: center; gap: 10px; width: min(260px, 70%); }
.gen_bar { flex: 1; height: 5px; border-radius: 5px; background: rgba(109, 0, 125, .1); overflow: hidden; }
.gen_bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6a287a, #ee1d56); transition: width .9s ease-out; position: relative; }
.gen_bar span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: gen_sweep 1.6s linear infinite; }
.gen_time { font-size: 11px; font-variant-numeric: tabular-nums; color: #9A88A2; min-width: 30px; text-align: right; }
.gen_note { font-size: 10.5px; color: #A79AAD; }
.gen_loader.waiting .gen_orb .r1, .gen_loader.waiting .gen_orb .r2 { animation-duration: 3s; opacity: .45; }
.gen_loader.waiting .gen_orb .core { animation: none; opacity: .55; }
@keyframes gen_spin { to { transform: rotate(360deg); } }
@keyframes gen_pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes gen_spark { 0%, 100% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1); } }
@keyframes gen_float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8%, 6%); } }
@keyframes gen_sweep { to { transform: translateX(100%); } }
@keyframes gen_dot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
@keyframes gen_in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .gen_loader *, .gen_loader *::after { animation: none !important; transition: none !important; }
}
/* In the image panel, the loader fills the preview box. */
.generating_box .gen_loader { min-height: 280px; }

/* ── A slide while AI works on it ────────────────────────────────────────── */
.slide_skeleton { position: relative; display: flex; gap: 22px; width: 100%; height: 100%; min-height: 300px; padding: 22px; border-radius: 16px; background: #fff; overflow: hidden; }
.slide_skeleton.overlay { position: absolute; inset: 0; z-index: 30; min-height: 0; border-radius: inherit; }
.slide_skeleton.img_right { flex-direction: row-reverse; }
.slide_skeleton .sk { display: block; border-radius: 8px; background: linear-gradient(100deg, #F3ECF6 30%, #FBF7FC 50%, #F3ECF6 70%); background-size: 300% 100%; animation: sk_shimmer 1.6s ease-in-out infinite; }
.slide_skeleton .sk_image { flex: 0 0 34%; border-radius: 0 120px 120px 0; background-color: #EFE6F3; }
.slide_skeleton.img_right .sk_image { border-radius: 120px 0 0 120px; }
.slide_skeleton .sk_body { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 6px; }
.slide_skeleton .sk_logo { width: 64px; height: 18px; }
.slide_skeleton .sk_heading { width: 62%; height: 26px; margin-top: 8px; }
.slide_skeleton .sk_rule { width: 70px; height: 4px; background: linear-gradient(90deg, #6D007D, #E1003E); opacity: .35; animation: none; }
.slide_skeleton .sk_line { width: 96%; height: 10px; }
.slide_skeleton .sk_line.short { width: 58%; }
.slide_skeleton .sk_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.slide_skeleton .sk_card { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; border-left: 3px solid rgba(225, 0, 62, .35); background: #FBF7FC; }
.slide_skeleton .sk_card_title { width: 70%; height: 11px; }
.slide_skeleton .sk_card_line { width: 100%; height: 8px; }
.slide_skeleton .sk_card_line.short { width: 64%; }
.slide_skeleton .sk_label { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 30px; background: #fff; box-shadow: 0 6px 20px rgba(41, 0, 48, .12); color: #6D007D; font-size: 12px; font-weight: 600; white-space: nowrap; }
.slide_skeleton .sk_dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #6a287a, #ee1d56); animation: gen_pulse 1.2s ease-in-out infinite; }
.slide_skeleton .sk_dots i { font-style: normal; animation: gen_dot 1.2s infinite; }
.slide_skeleton .sk_dots i:nth-child(2) { animation-delay: .2s; } .slide_skeleton .sk_dots i:nth-child(3) { animation-delay: .4s; }
@keyframes sk_shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .slide_skeleton .sk, .slide_skeleton .sk_dot, .slide_skeleton .sk_dots i { animation: none; } }
/* Step 07: a slide's form while AI writes it. */
.write_skeleton { position: relative; margin: 14px 20px 20px; height: 360px; }
/* Step 03: the research-everything row above the diagnosis form. */
.diagnosis .research_row { margin: 4px 0 18px; padding: 12px 16px; border: 1px dashed #E3D2EA; border-radius: 12px; background: #FCF8FD; }
.diagnosis .research_row .ctext { margin: 0; font-size: 12px; color: #6B5874; }

/* Step 07 — the structure, previewed name by name before any slider is opened. */
.generate_structure .structure_preview { background: #fff; border: 1px solid #ece4f0; border-radius: 16px; margin-bottom: 24px; overflow: hidden; }
.generate_structure .structure_preview .sp_head { width: 100%; padding: 16px 20px; background: linear-gradient(90deg, rgba(106, 40, 122, .06), rgba(238, 29, 86, .05)); border: 0; text-align: left; gap: 16px; }
.generate_structure .structure_preview .sp_head strong { font-size: 18px; }
.generate_structure .structure_preview .sp_head small { color: #6b6478; font-size: 13px; }
.generate_structure .structure_preview .sp_arrow { width: 28px; height: 28px; transition: transform .2s; }
.generate_structure .structure_preview.is_open .sp_arrow { transform: rotate(180deg); }
.generate_structure .structure_preview .sp_list { list-style: none; margin: 0; padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.generate_structure .structure_preview .sp_row { gap: 12px; padding: 6px 8px; border-radius: 10px; }
.generate_structure .structure_preview .sp_row:hover { background: #faf6fb; }
.generate_structure .structure_preview .sp_row.has_error .sp_name { border-color: #ee1d56; }
.generate_structure .structure_preview .sp_no { width: 28px; flex: none; font-size: 14px; }
.generate_structure .structure_preview .sp_name { flex: 1; min-width: 0; border: 1px solid transparent; border-radius: 8px; padding: 7px 10px; font-size: 15px; font-weight: 500; color: #1d1e2b; background: transparent; }
.generate_structure .structure_preview .sp_name:not(:disabled):hover, .generate_structure .structure_preview .sp_name:focus { border-color: #d9cce0; background: #fff; outline: none; }
.generate_structure .structure_preview .sp_name:disabled { color: #6b6478; }
.generate_structure .structure_preview .sp_state { flex: none; font-size: 12px; color: #b07a00; }
.generate_structure .structure_preview .sp_state.ok { color: #1a8a4a; }
.generate_structure .structure_preview .sp_edit { flex: none; border: 1px solid #ee1d56; color: #ee1d56; background: #fff; border-radius: 20px; padding: 4px 14px; font-size: 13px; }
.generate_structure .structure_preview .sp_edit:hover { background: #ee1d56; color: #fff; }
.proposal_structure .slider_steps .optional { color: #8a8395; font-weight: 400; font-size: 13px; }
@media (max-width: 767px) { .generate_structure .structure_preview .sp_state { display: none; } }

/* Step 04 — the monthly proposal price every plan is worked out from. */
#selected_service .proposal_price { gap: 16px; padding: 18px 24px; margin-bottom: 24px; border: 1px solid #ece4f0; border-radius: 16px; background: #fff; }
#selected_service .proposal_price strong { font-size: 18px; }
#selected_service .proposal_price small { color: #6b6478; font-size: 13px; }
#selected_service .proposal_price .price_input { gap: 8px; border: 1px solid #d9cce0; border-radius: 10px; padding: 6px 14px; background: #fff; }
#selected_service .proposal_price .price_input:focus-within { border-color: #6a287a; }
#selected_service .proposal_price .price_input input { border: 0; outline: none; width: 160px; font-size: 18px; font-weight: 600; color: #1d1e2b; background: transparent; }
#selected_service .proposal_price .cur { font-weight: 600; color: #6a287a; }
#selected_service .proposal_price .per { color: #8a8395; font-size: 13px; }

/* Step 04 — the client requirement, shown again and editable. */
#selected_service .requirement_card { padding: 18px 24px; border: 1px solid #ece4f0; border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
#selected_service .requirement_card .rq_head { gap: 16px; }
#selected_service .requirement_card .rq_toggle { border: 0; background: none; padding: 0; text-align: left; }
#selected_service .requirement_card .rq_toggle strong { font-size: 18px; }
#selected_service .requirement_card .rq_toggle small { color: #6b6478; font-size: 13px; }
#selected_service .requirement_card .rq_chip { padding: 4px 12px; border-radius: 20px; background: #fde7ee; color: #ee1d56; font-size: 13px; font-weight: 500; white-space: nowrap; }
#selected_service .requirement_card .rq_chip.soft { background: #f3eaf6; color: #6a287a; }
#selected_service .requirement_card .rq_edit { border: 1px solid #ee1d56; color: #ee1d56; background: #fff; border-radius: 20px; padding: 4px 16px; font-size: 13px; }
#selected_service .requirement_card .rq_edit:hover { background: #ee1d56; color: #fff; }
#selected_service .requirement_card .rq_text { margin: 0; color: #1d1e2b; font-size: 15px; line-height: 1.6; white-space: pre-line; }
#selected_service .requirement_card .rq_form { gap: 14px; }
#selected_service .requirement_card .rq_form textarea { width: 100%; border: 1px solid #d9cce0; border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.6; }
#selected_service .requirement_card .rq_form select { min-width: 200px; border: 1px solid #d9cce0; border-radius: 10px; padding: 8px 12px; font-size: 14px; background: #fff; }
#selected_service .requirement_card .rq_form label small { color: #6b6478; margin-bottom: 4px; }

/* Step 03 — the requirement, confirmed before AI researches the client. */
.requirement_modal .modal-content { padding: 32px; border-radius: 20px; }
.requirement_modal h3 { font-size: 24px; margin: 0 0 4px; }
.requirement_modal textarea { width: 100%; min-height: 260px; border: 1px solid #d9cce0; border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.6; resize: vertical; }
.requirement_modal textarea:focus { border-color: #6a287a; outline: none; }
.requirement_modal .rq_count { color: #8a8395; margin-top: -8px; }
.requirement_modal select { min-width: 220px; border: 1px solid #d9cce0; border-radius: 10px; padding: 9px 12px; font-size: 14px; background: #fff; }
.requirement_modal label small { color: #6b6478; margin-bottom: 4px; }
#selected_service .proposal_price .saving { color: #8a8395; font-size: 12px; }
.services_type .proposal_price_row { background: linear-gradient(90deg, rgba(106, 40, 122, .07), rgba(238, 29, 86, .06)) !important; }
.services_type .proposal_price_row .td1 { font-weight: 600; color: #6a287a; }
.services_type .proposal_price_row .nrml_div { font-weight: 700; color: #1d1e2b; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.services_type .proposal_price_row .off_tag { padding: 2px 8px; border-radius: 12px; background: #e6f6ec; color: #1a8a4a; font-size: 11px; font-weight: 600; }
.requirement_modal .modal-dialog { max-width: 820px; width: calc(100% - 32px); }
.requirement_modal .modal-content { background: #fff; box-shadow: 0 24px 64px rgba(29, 30, 43, .18); padding: 36px 40px; }
.requirement_modal .ctext { font-size: 14px; color: #6b6478; margin: 0; }
.requirement_modal select { min-width: 260px; }
.services_type .proposal_price_row .nrml_div { flex-wrap: nowrap; white-space: nowrap; }
.services_type .proposal_price_row .td1 { white-space: nowrap; }
.common_modal.requirement_modal .modal-dialog { max-width: 820px !important; width: calc(100% - 32px) !important; }
.common_modal.requirement_modal .modal-content { width: 100% !important; max-width: none !important; }
.requirement_modal .d-flex.flex-wrap.gap-3 { flex-direction: row !important; }
.requirement_modal label { flex: 1 1 240px; }
.requirement_modal select { width: 100%; min-width: 0; }

/* Step 03 — the requirement box shows about seven lines and scrolls beyond them. */
.diagnosis_host textarea[data-field*=".what_is_the_"][data-field$="looking_for"] { min-height: 120px !important; max-height: 200px !important; overflow-y: auto !important; resize: vertical; }

/* Step 04 recommendations — tick several, accept them together. */
.accept_bar { position: sticky; top: 12px; z-index: 20; gap: 12px; padding: 14px 20px; margin-bottom: 24px; border: 1px solid #ece4f0; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(106, 40, 122, .08); }
.accept_bar .ctext { font-size: 14px; color: #6b6478; }
.pick_service { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid #d9cce0; border-radius: 30px; cursor: pointer; font-size: 14px; color: #6a287a; background: #fff; user-select: none; }
.pick_service input { width: 16px; height: 16px; accent-color: #ee1d56; cursor: pointer; }
.pick_service.on { border-color: #ee1d56; background: #fde7ee; color: #ee1d56; font-weight: 500; }
.detailsbox { position: relative; }
.detailsbox > .pick_service { position: absolute; top: -17px; right: 14px; height: 34px; padding: 0 14px; font-size: 13px; z-index: 2; }
.services_type .proposal_price_row .price_view { border: 1px dashed transparent; background: none; border-radius: 8px; padding: 2px 6px; cursor: pointer; font: inherit; font-weight: 700; color: #1d1e2b; display: flex; align-items: center; gap: 6px; }
.services_type .proposal_price_row .price_view:hover:not(:disabled) { border-color: #c9a9d4; background: #fff; }
.services_type .proposal_price_row .price_view .pencil { color: #ee1d56; font-size: 13px; opacity: .7; }
.services_type .proposal_price_row .price_edit { gap: 4px; }
.services_type .proposal_price_row .price_edit input { width: 130px; border: 1px solid #6a287a; border-radius: 8px; padding: 4px 8px; font-weight: 700; font-size: 14px; text-align: right; outline: none; }

/* Step 07 — the proposal flow as one list: name in place, actions on the line, details on expand. */
.generate_structure .flow_list { background: #fff; border: 1px solid #ece4f0; border-radius: 16px; overflow: visible; }
.generate_structure .fl_toolbar, .write_proposal .fl_toolbar { position: sticky; top: 0; z-index: 5; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f1eaf4; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #faf5fb, #fff5f8); }
.generate_structure .fl_toolbar strong, .write_proposal .fl_toolbar strong { font-size: 18px; }
.generate_structure .fl_toolbar small, .write_proposal .fl_toolbar small { color: #6b6478; font-size: 13px; }
.generate_structure .fl_tool, .write_proposal .fl_tool { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid #d9cce0; border-radius: 20px; background: #fff; color: #6a287a; font-size: 13px; font-weight: 500; }
.generate_structure .fl_tool:hover:not(:disabled), .write_proposal .fl_tool:hover:not(:disabled) { border-color: #6a287a; }
.generate_structure .fl_tool.ai, .write_proposal .fl_tool.ai { border-color: #ee1d56; color: #ee1d56; }
.generate_structure .fl_tool.approve, .write_proposal .fl_tool.approve { border: 0; color: #fff; background: linear-gradient(90deg, #6a287a, #ee1d56); }
.generate_structure .fl_tool:disabled, .write_proposal .fl_tool:disabled { opacity: .55; }
.generate_structure .fl_empty { padding: 24px; margin: 0; color: #6b6478; }
.generate_structure .fl_rows { list-style: none; margin: 0; padding: 6px 10px 10px; }
.generate_structure .fl_row { border-radius: 12px; padding: 2px 8px; }
.generate_structure .fl_row + .fl_row { border-top: 1px solid #f5eff7; }
.generate_structure .fl_row:hover, .generate_structure .fl_row.open { background: #fcf9fd; }
.generate_structure .fl_row.open { box-shadow: inset 3px 0 0 #ee1d56; }
.generate_structure .fl_line { gap: 10px; min-height: 52px; }
.generate_structure .fl_drag { width: 18px; flex: none; cursor: grab; opacity: .45; display: flex; }
.generate_structure .fl_drag.fixed { cursor: not-allowed; opacity: .15; }
.generate_structure .fl_drag img { width: 14px; }
.generate_structure .fl_no { width: 26px; flex: none; font-size: 14px; }
.generate_structure .fl_name { flex: 1; min-width: 0; border: 1px solid transparent; border-radius: 8px; padding: 7px 10px; font-size: 15px; font-weight: 500; color: #1d1e2b; background: transparent; }
.generate_structure .fl_name:not(:disabled):hover, .generate_structure .fl_name:focus { border-color: #d9cce0; background: #fff; outline: none; }
.generate_structure .fl_name:disabled { color: #6b6478; }
.generate_structure .fl_row.has_error .fl_name { border-color: #ee1d56; }
.generate_structure .fl_suggest { flex: none; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px dashed #c9a9d4; border-radius: 14px; padding: 2px 10px; font-size: 12px; color: #6a287a; background: #fff; }
.generate_structure .fl_state { flex: none; width: 92px; text-align: right; font-size: 12px; color: #6a287a; }
.generate_structure .fl_state.ok { color: #1a8a4a; font-weight: 500; }
.generate_structure .fl_state.warn { color: #b07a00; }
.generate_structure .fl_actions { gap: 4px; flex: none; }
.generate_structure .fl_icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #6b6478; }
.generate_structure .fl_icon:hover:not(:disabled) { background: #f3eaf6; color: #6a287a; }
.generate_structure .fl_icon.ai { color: #ee1d56; }
.generate_structure .fl_icon.danger:hover:not(:disabled) { background: #fde7ee; color: #ee1d56; }
.generate_structure .fl_icon.approve.on { background: #e6f6ec; color: #1a8a4a; opacity: 1; }
.generate_structure .fl_icon:disabled { opacity: .45; }
.generate_structure .fl_icon svg { width: 16px; height: 16px; }
.generate_structure .fl_icon.expand img { width: 22px; height: 22px; transition: transform .2s; }
.generate_structure .fl_row.open .fl_icon.expand img { transform: rotate(180deg); }
.generate_structure .fl_spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fl_spin .7s linear infinite; }
@keyframes fl_spin { to { transform: rotate(360deg); } }
.generate_structure .fl_details { gap: 14px; padding: 6px 4px 16px 64px; }
.generate_structure .fl_label { font-size: 13px; font-weight: 600; color: #1d1e2b; margin-bottom: 6px; }
.generate_structure .fl_label small { color: #8a8395; font-weight: 400; }
.generate_structure .fl_field textarea { width: 100%; min-height: 72px; border: 1px solid #e3d8e8; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.55; background: #fff; }
.generate_structure .fl_link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: #ee1d56; font-size: 12px; font-weight: 500; padding: 0; }
.generate_structure .fl_link.muted { color: #8a8395; }
.generate_structure .fl_link:disabled { opacity: .5; }
.generate_structure .fl_menu { position: relative; }
.generate_structure .fl_menu_list { position: absolute; right: 0; top: 22px; z-index: 30; min-width: 260px; max-height: 260px; overflow: auto; background: #fff; border: 1px solid #ece4f0; border-radius: 12px; box-shadow: 0 12px 30px rgba(29, 30, 43, .12); padding: 6px; display: flex; flex-direction: column; }
.generate_structure .fl_menu_list button { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.generate_structure .fl_menu_list button:hover { background: #faf5fb; }
.generate_structure .fl_menu_list img { width: 20px; height: 20px; }
@media (max-width: 767px) {
  .generate_structure .fl_state, .generate_structure .fl_suggest, .generate_structure .fl_drag { display: none; }
  .generate_structure .fl_details { padding-left: 4px; }
}
.generate_structure .fl_icon.gap { visibility: hidden; }

/* Step 07 — wider, approve on the line, details in two columns. */
.generate_structure .center_box.flow_wide { max-width: 1240px; width: 100%; margin-left: auto; margin-right: auto; }
.generate_structure .fl_approve { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; margin-left: 4px; border: 1px solid #6a287a; border-radius: 18px; background: #fff; color: #6a287a; font-size: 12px; font-weight: 600; white-space: nowrap; }
.generate_structure .fl_approve:hover:not(:disabled) { background: linear-gradient(90deg, #6a287a, #ee1d56); border-color: transparent; color: #fff; }
.generate_structure .fl_approve.on { border-color: #bfe5cc; background: #e6f6ec; color: #1a8a4a; opacity: 1; }
.generate_structure .fl_approve:disabled:not(.on) { opacity: .5; }
.generate_structure .fl_approve svg { width: 14px; height: 14px; }
.generate_structure .fl_state.warn { width: auto; padding: 3px 10px; border-radius: 12px; background: #fff6e0; }
.generate_structure .fl_details { padding: 4px 8px 18px 62px; }
.generate_structure .fl_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.generate_structure .fl_grid .fl_field { background: #fff; border: 1px solid #ece4f0; border-radius: 12px; padding: 14px 16px; }
.generate_structure .fl_grid .fl_field textarea { min-height: 120px; border-color: #eee6f1; background: #fdfbfe; }
.generate_structure .fl_grid .fl_field textarea:focus { border-color: #6a287a; background: #fff; outline: none; }
.generate_structure .fl_foot { margin-top: 14px; }
@media (max-width: 991px) { .generate_structure .fl_grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .generate_structure .fl_approve { padding: 0 10px; } }
.generate_structure .fl_approve { width: 140px; justify-content: center; }
.generate_structure .fl_row.open .fl_icon.expand img { transform: scaleY(-1); }
.generate_structure .fl_foot { margin-top: 10px; }
/* Sliders sit apart as their own cards; a slider without deliverables gives the approach the full width. */
.generate_structure .fl_rows { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.generate_structure .fl_row { border: 1px solid #f0e8f3; border-radius: 12px; padding: 4px 12px; background: #fff; }
.generate_structure .fl_row + .fl_row { border-top: 1px solid #f0e8f3; }
.generate_structure .fl_row:hover { border-color: #e2d3e8; background: #fdfafe; }
.generate_structure .fl_row.open { border-color: #f3b7c9; background: #fdf8fb; box-shadow: none; border-left: 3px solid #ee1d56; }
.generate_structure .fl_grid.single { grid-template-columns: 1fr; }

/* Proposals list — AI cost per proposal, and its audit. */
.ai_cost_cell { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid #ece4f0; border-radius: 10px; background: #fff; padding: 6px 10px; min-width: 84px; cursor: pointer; }
.ai_cost_cell:hover { border-color: #6a287a; background: #faf5fb; }
.ai_cost_cell strong { font-size: 13px; color: #1d1e2b; font-weight: 600; }
.ai_cost_cell small { font-size: 11px; color: #8a8395; }
.ai_cost_modal .modal-dialog { max-width: 980px; }
.ai_cost_modal .ac_totals { gap: 12px; margin-bottom: 18px; }
.ai_cost_modal .ac_totals > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #faf5fb, #fff5f8); border: 1px solid #f1e6f3; }
.ai_cost_modal .ac_totals small { color: #6b6478; font-size: 12px; }
.ai_cost_modal .ac_totals strong { font-size: 24px; color: #6a287a; font-variant-numeric: tabular-nums; }
.ai_cost_modal .ac_totals span { color: #8a8395; font-size: 12px; }
.ai_cost_modal .ac_steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ai_cost_modal .ac_step { display: grid; grid-template-columns: 130px 1fr 180px 90px; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: none; text-align: left; font-size: 13px; }
.ai_cost_modal .ac_step:hover, .ai_cost_modal .ac_step.on { border-color: #ece4f0; background: #fcf9fd; }
.ai_cost_modal .ac_name { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #1d1e2b; }
.ai_cost_modal .ac_name i { width: 10px; height: 10px; border-radius: 3px; }
.ai_cost_modal .ac_bar { height: 8px; border-radius: 6px; background: #f3eef6; overflow: hidden; }
.ai_cost_modal .ac_bar span { display: block; height: 100%; border-radius: 6px; }
.ai_cost_modal .ac_meta { color: #8a8395; font-size: 12px; }
.ai_cost_modal .ac_step strong { text-align: right; font-variant-numeric: tabular-nums; }
.ai_cost_modal .ac_calls_head { margin-bottom: 8px; font-size: 14px; }
.ai_cost_modal .ac_clear { border: 0; background: none; color: #ee1d56; font-size: 12px; }
.ai_cost_modal .ac_table { max-height: 340px; overflow: auto; border: 1px solid #f1e6f3; border-radius: 12px; }
.ai_cost_modal table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ai_cost_modal th { position: sticky; top: 0; background: #faf5fb; color: #6b6478; font-weight: 600; text-align: left; padding: 8px 10px; }
.ai_cost_modal td { padding: 7px 10px; border-top: 1px solid #f5eff7; vertical-align: top; color: #1d1e2b; }
.ai_cost_modal td small { display: block; color: #8a8395; font-size: 11px; }
.ai_cost_modal td code { font-size: 11px; color: #6a287a; background: #f6eff8; padding: 1px 6px; border-radius: 6px; }
.ai_cost_modal .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 767px) { .ai_cost_modal .ac_step { grid-template-columns: 1fr auto; } .ai_cost_modal .ac_bar, .ai_cost_modal .ac_meta { display: none; } }

/* Step 08 Write — a read-through of every slide, and the switch to edit. */
.write_proposal .write_view_bar { gap: 12px; padding: 14px 18px; margin-bottom: 16px; border: 1px solid #ece4f0; border-radius: 14px; background: linear-gradient(90deg, #faf5fb, #fff5f8); position: sticky; top: 0; z-index: 6; }
.write_proposal .write_view_bar strong { font-size: 18px; }
.write_proposal .write_view_bar small { color: #6b6478; font-size: 13px; }
.write_proposal .write_view_switch { display: inline-flex; padding: 4px; border-radius: 24px; background: #fff; border: 1px solid #e3d8e8; }
.write_proposal .write_view_switch button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 18px; border: 0; border-radius: 20px; background: none; color: #6a287a; font-size: 13px; font-weight: 500; }
.write_proposal .write_view_switch button.on { background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; }
.write_proposal .write_view_switch svg { width: 14px; height: 14px; }
.write_proposal .write_preview { gap: 16px; }
.write_proposal .wp_card { background: #fff; border: 1px solid #ece4f0; border-radius: 16px; overflow: hidden; scroll-margin-top: 90px; }
.write_proposal .wp_card.bad { border-color: #f3a8bd; }
.write_proposal .wp_head { gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f3edf6; background: #fcf9fd; }
.write_proposal .wp_no { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #f3eaf6; color: #6a287a; font-weight: 700; font-size: 14px; }
.write_proposal .wp_title { flex: 1; min-width: 0; }
.write_proposal .wp_title small { color: #8a8395; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.write_proposal .wp_title strong { font-size: 15px; color: #1d1e2b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.write_proposal .wp_state { flex: none; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.write_proposal .wp_state.st_approved { background: #e6f6ec; color: #1a8a4a; }
.write_proposal .wp_state.st_progress { background: #f3eaf6; color: #6a287a; }
.write_proposal .wp_state.st_bad { background: #fde7ee; color: #ee1d56; }
.write_proposal .wp_state.st_empty { background: #fff6e0; color: #b07a00; }
.write_proposal .wp_actions { gap: 6px; flex: none; }
.write_proposal .wp_btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #d9cce0; border-radius: 16px; background: #fff; color: #6a287a; font-size: 12px; font-weight: 500; white-space: nowrap; }
.write_proposal .wp_btn:hover:not(:disabled) { border-color: #6a287a; }
.write_proposal .wp_btn.ai { border-color: #f6b6c8; color: #ee1d56; }
.write_proposal .wp_btn.approve { border-color: #6a287a; }
.write_proposal .wp_btn.approve:hover:not(:disabled) { background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; border-color: transparent; }
.write_proposal .wp_btn.approve.on { background: #e6f6ec; border-color: #bfe5cc; color: #1a8a4a; opacity: 1; }
.write_proposal .wp_btn:disabled:not(.on) { opacity: .5; }
.write_proposal .wp_btn svg { width: 14px; height: 14px; }
.write_proposal .wp_body { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 10px; cursor: text; }
.write_proposal .wp_heading { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; color: #6a287a; }
.write_proposal .wp_sub { margin: 0; font-size: 15px; font-weight: 600; color: #6a287a; }
.write_proposal .wp_text { margin: 0; font-size: 14px; line-height: 1.7; color: #3a3846; max-width: 75ch; }
.write_proposal .wp_blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 6px; }
.write_proposal .wp_block { padding: 12px 14px; border-radius: 12px; background: #fbf8fc; border: 1px solid #f1e8f4; }
.write_proposal .wp_block strong { display: block; font-size: 14px; color: #1d1e2b; margin-bottom: 4px; }
.write_proposal .wp_block p { margin: 0; font-size: 13px; line-height: 1.6; color: #4a4757; }
.write_proposal .wp_blocks.journey .wp_block { position: relative; padding-top: 30px; }
.write_proposal .wp_step { position: absolute; top: 10px; left: 14px; font-size: 11px; font-weight: 700; color: #ee1d56; }
.write_proposal .wp_cta { align-self: flex-start; margin-top: 6px; padding: 8px 18px; border-radius: 20px; background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; font-size: 13px; font-weight: 600; }
.write_proposal .wp_empty { margin: 16px; padding: 22px; border: 1px dashed #d9cce0; border-radius: 12px; background: #fcfafd; color: #8a8395; font-size: 13px; }
.write_proposal .wp_empty:hover { border-color: #6a287a; color: #6a287a; }
@media (max-width: 767px) {
  .write_proposal .wp_head { flex-wrap: wrap; }
  .write_proposal .wp_actions { width: 100%; justify-content: flex-end; }
  .write_proposal .wp_body { padding: 16px; }
}
.write_proposal .wp_state.st_draft { background: #fff6e0; color: #b07a00; }
.write_proposal .wp_state.st_saving { background: #f3eef6; color: #6b6478; }
.write_proposal .wp_state.st_saved { background: #f3eef6; color: #6b6478; }

/* Write — Rephrase: the slide's text, editable, before AI rewrites it. */
.common_modal.rephrase_modal .modal-dialog { max-width: 820px !important; width: calc(100% - 32px) !important; }
.rephrase_modal .modal-content { width: 100% !important; max-width: none !important; background: #fff; border-radius: 20px; padding: 32px 36px; box-shadow: 0 24px 64px rgba(29, 30, 43, .18); }
.rephrase_modal h3 { font-size: 22px; margin: 4px 0; }
.rephrase_modal .ctext { margin: 0; color: #6b6478; font-size: 14px; }
.rephrase_modal .rp_text { width: 100%; min-height: 300px; max-height: 50vh; border: 1px solid #d9cce0; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.6; resize: vertical; }
.rephrase_modal .rp_text:focus, .rephrase_modal .rp_ask:focus { border-color: #6a287a; outline: none; }
.rephrase_modal .rp_count { color: #8a8395; margin-top: -8px; text-align: right; }
.rephrase_modal .rp_label { font-size: 13px; font-weight: 600; color: #1d1e2b; margin-bottom: 6px; }
.rephrase_modal .rp_label em { font-weight: 400; color: #8a8395; font-style: normal; }
.rephrase_modal .rp_ask { width: 100%; height: 44px; border: 1px solid #d9cce0; border-radius: 10px; padding: 0 14px; font-size: 14px; }
.rephrase_modal .c_btn.gradient svg { width: 14px; height: 14px; margin-right: 6px; }

/* Write preview — the slide is typed into where it reads. */
.write_proposal .wp_fw { position: relative; }
.write_proposal .wp_f { display: block; width: 100%; margin: 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; resize: none; overflow: hidden; font: inherit; color: #3a3846; line-height: 1.65; outline: none; transition: background .12s, border-color .12s, box-shadow .12s; }
.write_proposal textarea.wp_f::placeholder { color: #b3acbf; font-style: italic; }
.write_proposal textarea.wp_f:hover { background: #fcf9fd; border-color: #ece4f0; }
.write_proposal textarea.wp_f:focus { background: #fff; border-color: #6a287a; box-shadow: 0 0 0 3px rgba(106, 40, 122, .08); }
.write_proposal .wp_fw.over textarea.wp_f { border-color: #ee1d56; }
.write_proposal .wp_f.big { font-size: 14px; max-width: 78ch; }
.write_proposal .wp_f.wp_text { font-size: 14px; }
.write_proposal .wp_f.wp_sub { font-size: 15px; font-weight: 600; color: #6a287a; }
.write_proposal .wp_f.wp_heading { font-size: 22px; font-weight: 700; line-height: 1.3; color: #6a287a; }
.write_proposal .wp_count { position: absolute; right: 8px; bottom: -14px; font-size: 10px; color: #8a8395; background: #fff; padding: 0 4px; border-radius: 4px; }
.write_proposal .wp_fw.over .wp_count { color: #ee1d56; font-weight: 600; }
.write_proposal .wp_body { gap: 6px; padding-bottom: 28px; cursor: default; }
.write_proposal .wp_blocks { gap: 10px; margin-top: 10px; }
.write_proposal .wp_block { position: relative; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.write_proposal .wp_block:hover { border-color: #e2d3e8; }
.write_proposal .wp_f.wp_btitle { font-size: 14px; font-weight: 600; color: #1d1e2b; padding: 2px 6px; }
.write_proposal .wp_f.wp_btext { font-size: 13px; line-height: 1.6; color: #4a4757; padding: 2px 6px; }
.write_proposal .wp_block .wp_count { bottom: -10px; }
.write_proposal .wp_remove { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; color: #b3acbf; font-size: 16px; line-height: 1; display: none; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(29, 30, 43, .12); z-index: 2; }
.write_proposal .wp_block:hover .wp_remove, .write_proposal .wp_block:focus-within .wp_remove { display: inline-flex; }
.write_proposal .wp_remove:hover { background: #fde7ee; color: #ee1d56; }
.write_proposal .wp_blocks.journey .wp_block { padding-top: 26px; }
.write_proposal .wp_add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 86px; border: 1px dashed #d9cce0; border-radius: 12px; background: #fcfafd; color: #6a287a; font-size: 13px; font-weight: 500; }
.write_proposal .wp_add:hover:not(:disabled) { border-color: #6a287a; background: #faf5fb; }
.write_proposal .wp_add svg { width: 16px; height: 16px; }
.write_proposal .wp_add small { color: #8a8395; font-size: 11px; font-weight: 400; }

/* Requirement window — priority and timeline as pills, every choice in view. */
.requirement_modal .rq_choice { display: flex; flex-direction: column; gap: 8px; }
.requirement_modal .rq_choice_label { font-size: 13px; font-weight: 600; color: #1d1e2b; }
.requirement_modal .rq_pills { display: flex; flex-wrap: wrap; gap: 8px; }
.requirement_modal .rq_pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid #e3d8e8; border-radius: 20px; background: #fff; color: #4a4757; font-size: 13px; font-weight: 500; transition: border-color .12s, background .12s, color .12s, box-shadow .12s; }
.requirement_modal .rq_pill:hover { border-color: #c9a9d4; background: #fcf9fd; }
.requirement_modal .rq_pill:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(106, 40, 122, .18); }
.requirement_modal .rq_pill.on { border-color: transparent; background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; box-shadow: 0 4px 12px rgba(238, 29, 86, .22); }
.requirement_modal .rq_pill i { width: 8px; height: 8px; border-radius: 50%; background: #b3acbf; }
.requirement_modal .rq_pill.prio_critical i { background: #e0243a; }
.requirement_modal .rq_pill.prio_high i { background: #f07b2a; }
.requirement_modal .rq_pill.prio_medium i { background: #e8b100; }
.requirement_modal .rq_pill.prio_normal i { background: #2f9e62; }
.requirement_modal .rq_pill.on i { background: #fff; }
.requirement_modal .rq_pill.on, .requirement_modal .rq_pill.on:hover, .requirement_modal .rq_pill.on:focus { color: #fff !important; -webkit-text-fill-color: #fff; opacity: 1; }
.requirement_modal .rq_pill:focus { outline: none; } .requirement_modal .rq_pill:focus-visible { box-shadow: 0 0 0 3px rgba(106, 40, 122, .25); }

/* Step 04 — the proposal price, with what each plan comes to. */
#selected_service .pp_card { margin-bottom: 24px; border: 1px solid #ece4f0; border-radius: 18px; background: #fff; overflow: hidden; }
#selected_service .pp_main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: linear-gradient(120deg, #faf5fb 0%, #fff 55%, #fff6f9 100%); }
#selected_service .pp_intro { display: flex; flex-direction: column; gap: 4px; flex: 1 1 360px; max-width: 560px; }
#selected_service .pp_kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #ee1d56; }
#selected_service .pp_intro strong { font-size: 20px; line-height: 1.3; }
#selected_service .pp_intro small { color: #6b6478; font-size: 13px; line-height: 1.55; }
#selected_service .pp_field_wrap { display: flex; flex-direction: column; gap: 8px; flex: 0 1 340px; }
#selected_service .pp_field { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 18px; border: 1.5px solid #d9cce0; border-radius: 14px; background: #fff; cursor: text; transition: border-color .15s, box-shadow .15s; }
#selected_service .pp_field:focus-within { border-color: #6a287a; box-shadow: 0 0 0 4px rgba(106, 40, 122, .1); }
#selected_service .pp_field.filled { border-color: #c9a9d4; }
#selected_service .pp_field .cur { font-size: 24px; font-weight: 700; color: #6a287a; }
#selected_service .pp_field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 28px; font-weight: 700; color: #1d1e2b; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#selected_service .pp_field input::placeholder { color: #d0c7d8; }
#selected_service .pp_field .per { font-size: 13px; color: #8a8395; white-space: nowrap; }
#selected_service .pp_hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; font-size: 12px; }
#selected_service .pp_hint .saving { color: #8a8395; }
#selected_service .pp_hint .ok { color: #1a8a4a; font-weight: 500; }
#selected_service .pp_use { border: 1px dashed #c9a9d4; border-radius: 14px; background: #fff; padding: 3px 10px; color: #6a287a; font-size: 12px; font-weight: 500; }
#selected_service .pp_use:hover { border-style: solid; border-color: #6a287a; }
#selected_service .pp_terms { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #f1eaf4; }
#selected_service .pp_term { display: flex; flex-direction: column; gap: 2px; padding: 14px 26px; }
#selected_service .pp_term + .pp_term { border-left: 1px solid #f1eaf4; }
#selected_service .pp_term_name { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b6478; font-weight: 500; }
#selected_service .pp_term_name em { font-style: normal; font-size: 11px; font-weight: 600; color: #1a8a4a; background: #e6f6ec; padding: 1px 8px; border-radius: 10px; }
#selected_service .pp_term strong { font-size: 20px; font-weight: 700; color: #1d1e2b; font-variant-numeric: tabular-nums; }
#selected_service .pp_term small { font-size: 12px; color: #8a8395; font-variant-numeric: tabular-nums; }
#selected_service .pp_terms.muted strong { color: #c9c2d1; }
@media (max-width: 767px) { #selected_service .pp_terms { grid-template-columns: 1fr; } #selected_service .pp_term + .pp_term { border-left: 0; border-top: 1px solid #f1eaf4; } }
/* Price box at a normal input size. */
#selected_service .pp_field_wrap { flex: 0 1 280px; }
#selected_service .pp_field { height: 46px; padding: 0 14px; gap: 8px; border-width: 1px; border-radius: 10px; }
#selected_service .pp_field .cur { font-size: 16px; }
#selected_service .pp_field input { font-size: 17px; font-weight: 600; }
#selected_service .pp_field .per { font-size: 12px; }
#selected_service .pp_intro strong { font-size: 17px; }
#selected_service .pp_main { padding: 18px 22px; }
#selected_service .pp_term { padding: 12px 22px; }
#selected_service .pp_term strong { font-size: 17px; }
/* Seven to twelve points: three tight columns, so the slide stays its height. */
.common_visualize .main_textbox .listtype ul.dense { gap: 6px 12px !important; }
.common_visualize .main_textbox .listtype ul.dense > li { width: calc(33.333% - 8px) !important; padding-top: 6px !important; padding-bottom: 6px !important; }
.common_visualize .main_textbox .listtype ul.dense > li h4 { font-size: 10.5px; line-height: 13px; margin-bottom: 1px; }
.common_visualize .main_textbox .listtype ul.dense > li p { font-size: 9px; line-height: 12px; }
.common_visualize .main_textbox .listtype ul.xdense { gap: 4px 10px !important; }
.common_visualize .main_textbox .listtype ul.xdense > li { padding-top: 4px !important; padding-bottom: 4px !important; }
.common_visualize .main_textbox .listtype ul.xdense > li h4 { font-size: 10px; line-height: 12px; }
.common_visualize .main_textbox .listtype ul.xdense > li p { font-size: 8.5px; line-height: 11px; }
/* Pricing slides — the View Deliverables buttons read in white on their gradient. */
.common_visualize .btnrow .c_btn.gradient, .common_visualize .btnrow .c_btn.gradient:hover, .common_visualize .btnrow .c_btn.gradient:focus,
.deck_viewer .btnrow .c_btn.gradient, .slide_popup .btnrow .c_btn.gradient { color: #fff !important; -webkit-text-fill-color: #fff; }

/* Image deck — auto-generation switch and the slides to draw. */
.deck_gen_bar { gap: 14px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid #ece4f0; border-radius: 14px; background: #fff; }
.deck_gen_bar .dg_switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; margin: 0; }
.deck_gen_bar .dg_switch input { position: absolute; opacity: 0; pointer-events: none; }
.deck_gen_bar .dg_track { position: relative; width: 40px; height: 22px; border-radius: 12px; background: #d9cce0; transition: background .15s; }
.deck_gen_bar .dg_track i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .15s; }
.deck_gen_bar .dg_switch input:checked + .dg_track { background: linear-gradient(90deg, #6a287a, #ee1d56); }
.deck_gen_bar .dg_switch input:checked + .dg_track i { left: 21px; }
.deck_gen_bar .dg_switch input:focus-visible + .dg_track { box-shadow: 0 0 0 3px rgba(106, 40, 122, .2); }
.deck_gen_bar .dg_label { font-size: 13px; color: #4a4757; }
.deck_gen_bar .dg_label b { color: #6a287a; }
.deck_gen_bar .dg_range { gap: 8px; font-size: 13px; color: #4a4757; }
.deck_gen_bar .dg_range input { width: 62px; height: 34px; border: 1px solid #d9cce0; border-radius: 8px; padding: 0 8px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.deck_gen_bar .dg_range input:focus { border-color: #6a287a; outline: none; }
.deck_gen_bar .dg_of { color: #8a8395; }
.deck_gen_bar .dg_go { gap: 12px; }
.deck_gen_bar .dg_go small { color: #6b6478; font-size: 12px; white-space: nowrap; }
.deck_gen_bar .dg_go .c_btn { height: 36px; padding: 0 18px; font-size: 13px; }

/* Client form — a possible duplicate, shown before it is created. */
.common_modal.dup_modal .modal-dialog { max-width: 680px !important; width: calc(100% - 32px) !important; }
.dup_modal .modal-content { width: 100% !important; max-width: none !important; background: #fff; border-radius: 20px; padding: 30px 32px; gap: 10px; box-shadow: 0 24px 64px rgba(29, 30, 43, .18); }
.dup_modal h3 { font-size: 22px; margin: 2px 0 0; }
.dup_modal .ctext { margin: 0 0 6px; color: #6b6478; font-size: 14px; }
.dup_modal .dup_list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dup_modal .dup_list li { gap: 14px; padding: 12px 14px; border: 1px solid #ece4f0; border-radius: 14px; background: #fcf9fd; }
.dup_modal .dup_logo { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #f3eaf6; color: #6a287a; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dup_modal .dup_logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dup_modal .dup_text { flex: 1; min-width: 0; gap: 2px; }
.dup_modal .dup_text strong { font-size: 15px; color: #1d1e2b; }
.dup_modal .dup_text strong small { color: #8a8395; font-weight: 400; font-size: 12px; }
.dup_modal .dup_text > small { color: #6b6478; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dup_modal .dup_tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dup_modal .dup_tags em { font-style: normal; font-size: 11px; font-weight: 600; color: #ee1d56; background: #fde7ee; padding: 2px 8px; border-radius: 10px; }
.dup_modal .dup_list .c_btn { flex: none; height: 36px; padding: 0 16px; font-size: 13px; }
#selected_service .pp_req { font-style: normal; font-weight: 600; color: #ee1d56; letter-spacing: 0; text-transform: none; margin-left: 4px; }
#selected_service .pp_field.invalid { border-color: #ee1d56; box-shadow: 0 0 0 4px rgba(238, 29, 86, .1); }
#selected_service .pp_error { color: #ee1d56; font-size: 12px; font-weight: 500; }

/* Write — "Add Your Document & Fit" pulses gently so it is noticed; it stops on hover and for reduced motion. */
.write_proposal .panel_tools .tool.doc_fit { position: relative; border-color: #ee1d56; color: #ee1d56; font-weight: 600; animation: docFitPulse 2.2s ease-in-out infinite; }
.write_proposal .panel_tools .tool.doc_fit:hover, .write_proposal .panel_tools .tool.doc_fit:disabled { animation: none; }
@keyframes docFitPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 29, 86, .45); background: #fff; }
  50% { box-shadow: 0 0 0 7px rgba(238, 29, 86, 0); background: #fff1f5; }
}
@media (prefers-reduced-motion: reduce) { .write_proposal .panel_tools .tool.doc_fit { animation: none; } }
.paste_fit .skip_doc { border: 0; background: none; color: #8a8395; font-size: 13px; text-decoration: underline; padding: 0 8px; }
.paste_fit .skip_doc:hover { color: #6a287a; }
.paste_fit .paste_more { margin-top: 14px; border-top: 1px dashed #e3d8e8; padding-top: 10px; }
.paste_fit .paste_more summary { cursor: pointer; color: #6a287a; font-size: 13px; font-weight: 500; list-style: revert; }
.paste_fit .paste_more[open] summary { margin-bottom: 10px; }
.paste_fit .paste_note { margin: 8px 0 0; color: #8a8395; font-size: 12px; }

/* Add Your Document & Fit — the window. */
.common_modal.doc_fit_modal .modal-dialog { max-width: 860px !important; width: calc(100% - 32px) !important; }
.doc_fit_modal .modal-content { width: 100% !important; max-width: none !important; padding: 28px 32px 24px; border-radius: 20px; background: #fff; box-shadow: 0 24px 64px rgba(29, 30, 43, .18); }
.doc_fit_modal .df_head { gap: 14px; margin-bottom: 18px; }
.doc_fit_modal .df_icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #6a287a, #ee1d56); }
.doc_fit_modal .df_head h3 { margin: 0; font-size: 22px; color: #6a287a; font-weight: 600; }
.doc_fit_modal .df_head p { margin: 2px 0 0; color: #6b6478; font-size: 13px; }
.doc_fit_modal .df_close { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f5f0f7; color: #6b6478; font-size: 20px; line-height: 1; }
.doc_fit_modal .df_close:hover { background: #ece4f0; color: #1d1e2b; }
.doc_fit_modal .df_steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.doc_fit_modal .df_steps li { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: #faf6fb; border: 1px solid #f1e8f4; }
.doc_fit_modal .df_steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: #6a287a; }
.doc_fit_modal .df_steps span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #6b6478; line-height: 1.45; }
.doc_fit_modal .df_steps strong { font-size: 13px; color: #1d1e2b; }
.doc_fit_modal .df_drop { border: 2px dashed #d9cce0; border-radius: 16px; padding: 14px; background: #fdfbfe; transition: border-color .15s, background .15s; }
.doc_fit_modal .df_drop.over { border-color: #ee1d56; background: #fff4f7; }
.doc_fit_modal .df_drop.has_text { border-style: solid; border-color: #e3d8e8; background: #fff; }
.doc_fit_modal .df_empty { gap: 4px; padding: 14px 0 10px; text-align: center; }
.doc_fit_modal .df_up { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #6a287a; background: #f3eaf6; margin-bottom: 4px; }
.doc_fit_modal .df_empty strong { font-size: 15px; color: #1d1e2b; }
.doc_fit_modal .df_empty > span:not(.df_up) { font-size: 12px; color: #8a8395; }
.doc_fit_modal .df_empty .c_btn { margin-top: 8px; height: 34px; padding: 0 16px; font-size: 13px; }
.doc_fit_modal .df_file { justify-content: space-between; gap: 10px; margin-bottom: 8px; padding: 6px 10px; border-radius: 8px; background: #f3eaf6; font-size: 13px; color: #6a287a; }
.doc_fit_modal .df_file button { border: 0; background: none; color: #ee1d56; font-size: 12px; text-decoration: underline; }
.doc_fit_modal .df_drop textarea { width: 100%; border: 1px solid #ece4f0; border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.6; resize: vertical; background: #fff; }
.doc_fit_modal .df_drop textarea:focus { border-color: #6a287a; outline: none; }
.doc_fit_modal .df_meta { margin: 8px 2px 0; font-size: 12px; color: #8a8395; }
.doc_fit_modal .df_meta .df_err { color: #ee1d56; font-weight: 500; }
.doc_fit_modal .df_foot { margin-top: 18px; gap: 12px; }
.doc_fit_modal .df_foot .c_btn.gradient { min-width: 200px; }
@media (max-width: 767px) { .doc_fit_modal .df_steps { grid-template-columns: 1fr; } .doc_fit_modal .modal-content { padding: 20px; } }
.proposal_structure .steps_over { color: #b45309; font-weight: 500; }
.proposal_structure .steps_over .textbtn { border: 0; background: none; color: #ee1d56; font-weight: 600; text-decoration: underline; padding: 0 2px; }

/* Pre-written proposal structures (all-proposals-structures.html). The bulk bar
   sits over the "All Structures" row, as it does inside the design's top_section. */
.structures_allrow { position: relative; }
.structures_allrow .hostedby_onclick { bottom: 10px; }
.structures_allrow .hostedby_onclick .form-group { margin: 0; }
.structures_allrow .hostedby_onclick a { text-decoration: none; }
/* "View Template": the structure's outline in the common modal shell. */
.structure_template .modal-dialog { max-width: 640px; }
.structure_template .modal_body { padding: 10px 0 0; text-align: left; }
.structure_template .st_head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.structure_template .st_title { display: flex; flex-direction: column; gap: 2px; }
.structure_template .st_title .btext { font-size: 16px; font-weight: 600; color: #6E0D88; }
.structure_template .st_meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.structure_template .st_meta .btext { display: flex; }
.structure_template .st_body { max-height: 50vh; overflow: auto; border: 1px solid #E6E6E6; border-radius: 8px; padding: 14px 16px; background: #FBFAFD; }
.structure_template .st_body p { margin: 0 0 4px; font-size: 13px; line-height: 20px; color: #333; white-space: pre-wrap; }

/* ── Managers (all-managers.html): a manager without a photo shows initials in the profile modal's photo box ── */
.viewclient .modal_header .imgbox .user_initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3eaf6; font-size: 22px; }
.all_manager .imgbox.w53 .roundbox .user_initials { font-size: 15px; }

/* ── NDAs & Agreements (all-nda.html, all-agreements.html, create-nda.html, create-agreement.html) ──
   The document (.whitebox pages) is styled by create-agreement.css only inside
   `.body_section .two_sections .viewbox`. The same page is also shown on the
   view screen, in the preview modal and offscreen for the PDF, so the design's
   values are repeated here under `.contract_doc`. */
.contract_doc .whitebox { background-color: #fff; width: 100%; min-height: 536px; padding: 7px 0; position: relative; }
.contract_doc .whitebox:before, .contract_doc .whitebox:after { content: ''; background: linear-gradient(90deg, #E1003E 50%, #6D007D 50%) top/100% 3px no-repeat; width: 100%; height: 3px; position: absolute; left: 0; }
.contract_doc .whitebox:before { top: 0; }
.contract_doc .whitebox:after { bottom: 0; }
.contract_doc .whitebox .head_part { padding: 10px 20px; border-bottom: 1px solid #E6E6E6; }
.contract_doc .whitebox .head_part .logo { width: 36px; min-width: 36px; }
.contract_doc .whitebox .head_part .rtext { width: 180px; min-width: 180px; }
.contract_doc .whitebox .head_part .rtext p { font-size: 9px; line-height: 11px; color: #000; margin: 0; }
.contract_doc .whitebox .head_part .rtext p strong { width: 70px; min-width: 70px; display: inline-block; padding-right: 10px; position: relative; }
.contract_doc .whitebox .head_part .rtext p strong:after { content: ':'; font-size: 9px; line-height: 11px; color: #000; position: absolute; right: 5px; top: 0; }
.contract_doc .whitebox .body_part { height: 100%; min-height: 430px; padding: 10px 20px 0; }
.contract_doc .whitebox .body_part h4 { font-size: 11px; line-height: 14px; color: #000; font-weight: 500; margin-bottom: 2px; }
.contract_doc .whitebox .body_part p { font-size: 9px; line-height: 11px; color: #000; font-weight: 300; margin-bottom: 10px; }
.contract_doc .whitebox .body_part .center_heading h3 { font-size: 12px; line-height: 14px; text-align: center; }
.contract_doc .whitebox .body_part .center_heading p { text-align: center; margin: 0; }
.contract_doc .whitebox .body_part .sig_section { padding-top: 20px; gap: 20px; }
.contract_doc .whitebox .body_part .sig_section .common { padding-top: 70px; gap: 3px; position: relative; }
.contract_doc .whitebox .body_part .sig_section .common .absdiv { width: 50px; height: 50px; position: absolute; left: 15px; top: 10px; }
.contract_doc .whitebox .body_part .sig_section .common:before { content: ''; background-color: #f0f0f0; width: 100%; height: 2px; position: absolute; left: 0; top: 40px; }
.contract_doc .whitebox .body_part .sig_section .common h4 { margin-bottom: 10px; }
.contract_doc .whitebox .body_part .sig_section .common p { margin: 0; }
.contract_doc .whitebox .footer_part { padding: 0 20px 10px; position: relative; }
.contract_doc .whitebox .footer_part:after { content: ''; background-color: #E6E6E6; height: 1px; position: absolute; left: 0; right: 0; top: 10px; }
.contract_doc .whitebox .footer_part .page_count { background-color: #f5f2fc; padding: 3px 10px; font-size: 10px; line-height: 14px; color: #6D007D; border-radius: 10px; position: relative; z-index: 2; }
/* The view screen and "Preview NDA / Agreement": the same page, read at A4 width. */
.contract_doc.preview { background-color: #F5F2FC; max-width: 820px; margin: 0 auto; padding: 13px; border-radius: 10px; }
.contract_doc.preview .whitebox { zoom: 1.96; }
.contract_preview_modal .modal-dialog.full .modal-content { max-width: 900px; }
/* Where the PDF is taken from: an A4-proportioned copy kept off screen. */
.contract_pdf_stage { position: fixed; left: -5000px; top: 0; width: 405px; pointer-events: none; }
.contract_pdf_stage .whitebox { width: 405px; min-height: 573px; }
.contract_pdf_stage .whitebox .body_part { min-height: 468px; }
.contract_pdf_stage .d-flex.gap-2 { gap: 0 !important; }
/* The create page's own tab strip and buttons do not need the pointer rule of the design's bootstrap tabs. */
.contract_form .tabbing_top .nav-link { cursor: pointer; }
/* The bulk bar sits on the top section's lower edge, over the filter row's bottom margin. */
.listing_area.proposals_structures .top_section { position: relative; }

/* ── Client Management (all-clients.html): what the design has no picture for ── */
.all_clients .hostedby_onclick .customscroll > ul li a.is_disabled { opacity: .45; cursor: not-allowed; }
.all_clients .custom_table .title_box .mainbox { border: 0; background: none; padding: 0; width: 100%; cursor: pointer; }
.upload_agreement .viewbox .contract_preview { width: 100%; min-height: 520px; border: 0; border-radius: 8px; background: #fff; object-fit: contain; }
.contact_client .midrow .imgbox .avatar_initials, .viewclient .top_details .imgbox .avatar_initials { font-size: 18px; }
.change_owner_modal .member_details .imgbox .avatar_initials { font-size: 16px; }

/* ── Portal switch (header): Proposal Portal | Accounting Portal ─────────── */
.header .right_header .portal_switch { display: flex; align-items: center; padding: 3px; margin-right: 14px; border: 1px solid #e3e3e3; border-radius: 30px; background: #fff; }
.header .right_header .portal_switch a { padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 500; color: #707070; white-space: nowrap; line-height: 18px; }
.header .right_header .portal_switch a:hover { color: #7b0a8e; }
.header .right_header .portal_switch a.active { color: #fff; background: linear-gradient(90deg, #7b0a8e 0%, #e1003e 100%); }
.dashboard_menu .acc_icon { display: inline-flex; align-items: center; justify-content: center; }

/* ── F2 accounting overview: dashboard, All Invoices, Client Ledger, Reports ── */
/* dashboard.html: the bar chart keeps the height Chart.js gives it in the pack. */
.acc_dashboard .billing_collections .grapharea { height: 250px; }
.acc_dashboard .collection_section .tableresponsive a.fullrow { color: inherit; }

/* ── Accounting: billing documents (agent F1) — create-invoice.html / send-invoice.html / invoice view ── */
/* Full-page forms in the pack: no rail, so no rail gutter. */
.page_wrap:not(:has(.dashboard_page)):has(.billing_form) { padding-left: 0; }
.billing_form .date_wrap { position: relative; width: 100%; height: 100%; }
.billing_form .date_wrap .input.datepicker { cursor: pointer; }
.billing_form .date_wrap .date_native { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.billing_form .proforma_invoice .rate_input { width: 34px; height: 22px; padding: 0 2px; margin: 0 1px; border: 0; border-bottom: 1px dashed #6D007D; background: transparent; font: inherit; color: inherit; text-align: center; -moz-appearance: textfield; }
.billing_form .proforma_invoice .rate_input::-webkit-outer-spin-button,
.billing_form .proforma_invoice .rate_input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.billing_form .proforma_invoice .rate_input:focus { outline: 0; border-bottom-style: solid; }
.billing_form .add_client_link { margin-top: 2px; font-size: 13px; padding: 0; background: none; border: 0; }
.billing_form .search_client .search_filter .add_client_row { justify-content: center; padding: 12px 0; }
.billing_form .search_client .search_filter .no_client .td1 { width: 100%; gap: 4px; }
.billing_form .selected_service .c_btn:disabled { opacity: .6; cursor: default; }
.billing_form .ui.search.dropdown .clear_select { right: 34px; }
/* The send screen draws the PDF from the document sheet, kept off screen at print width. */
.billing_form .billing_pdf_source { position: fixed; left: -12000px; top: 0; width: 900px; pointer-events: none; }
.billing_view .invoice_actions a.c_btn { display: inline-flex; align-items: center; justify-content: center; }
.billing_view .export_buttons { display: flex; flex-direction: column; gap: 10px; }
.billing_view .export_buttons .c_btn { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.invoice_sheet.billing_sheet .sheet_table th, .invoice_sheet.billing_sheet .sheet_table td { padding: 10px 8px; font-size: 12px; }
.invoice_sheet.billing_sheet .sheet_sign { height: 40px; width: auto; margin: 6px 0 0 auto; display: block; }
.invoice_sheet .sheet_stamp.draft { border-color: #9a9a9a; color: #9a9a9a; }

/* ── Accounting: Expenses and Accounting Settings (agent F4) — all-expenses.html / add-expense.html / settings ── */
.acc_datefield { position: relative; width: 100%; }
.acc_datefield .input.datepicker { cursor: pointer; }
.page_wrap .new_inputlabel .acc_datefield .input.datepicker { background: url("/images/common-images/icon_calendar.svg") no-repeat right 15px center #fff; padding-right: 40px; }
.acc_datefield .acc_datefield_native { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.acc_datefield .acc_datefield_native::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
/* add-expense.html is a page of its own: nothing shows through. */
.page_wrap .modal.bg_white.acc_expense_form { background: #fff; }
.page_wrap .modal.view_invoice .expense_bill_pdf { width: 600px; max-width: 100%; height: calc(100vh - 120px); border: 0; background: #fff; border-radius: 6px; }
.page_wrap .modal.view_invoice .expense_voucher { background: #fff; border-radius: 10px; padding: 30px; }
.page_wrap .modal.view_invoice .expense_voucher h3 { font-size: 20px; margin-bottom: 2px; }
.page_wrap .modal.view_invoice .expense_voucher table { width: 100%; margin-top: 20px; font-size: 13px; }
.page_wrap .modal.view_invoice .expense_voucher th { width: 42%; padding: 8px 0; font-weight: 400; color: #707070; border-bottom: 1px solid #F0F0F0; }
.page_wrap .modal.view_invoice .expense_voucher td { padding: 8px 0; color: #000; border-bottom: 1px solid #F0F0F0; }
.acc_expenses .commonbox a.ctext.underline { text-decoration: underline; }
.billing_form .new_inputlabel .input.datepicker { background: #fff url("/images/common-images/icon_calendar.svg") no-repeat right 15px center; }
/* all-invoices.html: every cell starts at the top of its row (`toprow align-items-start`). */
.all_invoices .custom_table tbody .toprow { align-items: flex-start !important; }
/* Accounting Settings: no pack page — create-invoice.html's cards (.c_whitebox / .c_heading) on the listing sheet. */
.acc_settings .c_whitebox, .acc_form_modal .c_whitebox { background-color: #fff; padding: 20px 25px; border: 1px solid #EAEAEA; border-radius: 20px; }
.acc_settings .c_whitebox.bggray { background-color: #FEF9FF; }
.acc_settings .c_heading { font-size: 16px; line-height: 20px; font-weight: 500; font-family: "Outfit", sans-serif !important; color: #6D007D; padding: 0 0 15px 5px; }
.acc_settings .c_heading .icon { width: 16px; min-width: 16px; line-height: 16px; margin-right: 7px; display: inline-block; vertical-align: -2px; }
.acc_settings .c_heading .icon img { max-width: 16px; }
.acc_settings .acc_tabbody { padding: 30px 0 60px; }
.acc_settings .acc_tabbody .c_whitebox + .c_whitebox { margin-top: 24px; }
.acc_settings .acc_saverow { margin-top: 24px; }
.acc_settings .acc_hint, .acc_form_modal .acc_hint { font-size: 12px; color: #707070; margin: 6px 0 0; }
.acc_settings .acc_switchrow, .acc_form_modal .acc_switchrow { border: 1px solid #EAEAEA; border-radius: 6px; padding: 10px 14px; margin-bottom: 20px; min-height: 54px; background: #fff; }
.acc_settings .acc_switchrow .custom_label, .acc_form_modal .acc_switchrow .custom_label { margin: 0; padding: 0; }
.acc_settings .acc_grid .acc_gridhead { font-size: 13px; color: #707070; padding-bottom: 8px; border-bottom: 1px solid #F0F0F0; margin-bottom: 14px; }
.acc_settings .acc_grid .acc_gridrow { margin-bottom: 6px; }
.acc_settings .acc_grid .acc_gridrow .new_inputlabel { margin-bottom: 10px; }
.acc_settings .acc_remove { width: 36px; height: 36px; border: 0; margin-top: 8px; }
.acc_settings .acc_remove img { width: 14px; }
.acc_settings .acc_remove:disabled { opacity: .35; }
.acc_settings .acc_chips .btntype { cursor: pointer; border: 0; min-width: 80px; }
.acc_settings .acc_chip { display: inline-flex; align-items: center; gap: 8px; cursor: default !important; }
.acc_settings .acc_chip button { border: 0; background: none; color: #E1003E; font-size: 16px; line-height: 1; padding: 0; }
.acc_settings .acc_radio { margin: 0 0 10px; }
.acc_settings .acc_flag { width: 16px; height: 11px; object-fit: cover; }
.acc_settings .acc_viewbtn { min-width: 96px; min-height: 32px; padding: 4px 12px; }
.acc_settings .acc_brand .acc_brandhead { padding: 24px 0 10px; }
.acc_settings .acc_brand .acc_brandlogo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.acc_settings .acc_brand .acc_brandlogo img { width: 100%; height: 100%; object-fit: contain; }
.acc_settings .acc_subtabs { margin-top: 10px; }
.acc_settings .acc_colour input[type="color"] { width: 44px; height: 38px; border: 0; padding: 0; background: none; cursor: pointer; flex: none; }
.acc_settings .roundbox.objectfit img, .acc_form_modal .roundbox.objectfit img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.acc_form_modal .acc_switchrow { margin-top: 4px; }
.acc_form_modal .new_inputlabel .textarea, .acc_settings .new_inputlabel .textarea { min-height: 70px; padding-top: 12px; resize: vertical; }
/* Client Ledger: region cards stack name over currency/tax, six stat cards three to a row. */
.acc_ledger .region_row .nav-link { display: flex; flex-direction: column; align-items: flex-start; min-width: 180px; gap: 2px; }
.acc_ledger .region_row .nav-link small { font-size: 11px; color: #707070; }
.acc_ledger .allcount_box.deg2 ul, .acc_reports .allcount_box.deg2 ul { flex-wrap: nowrap; }
.acc_ledger .allcount_box.deg2 ul li, .acc_reports .allcount_box.deg2 ul li { width: auto !important; flex: 1 1 0; min-width: 0; }
.acc_ledger .allcount_box.deg2 ul li { padding: 16px 12px; }
.acc_ledger .ledger_stats { padding-top: 20px; }
.acc_ledger .ledger_stats small { font-size: 11px; line-height: 14px; color: #707070; font-weight: 300; margin-top: 4px; }
.acc_ledger .allcount_box.deg2 ul li .text h3 { font-size: 18px; }
.acc_ledger .initials_badge, .acc_reports .initials_badge { width: 30px; height: 30px; border-radius: 50%; background: #f3e8f4; color: #6e0d88; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.acc_ledger .ledger_actions .roundbtn, .acc_ledger .custom_table .roundbtn, .ledger_statement .roundbtn { width: 29px; height: 29px; padding: 6px; border-radius: 50%; }
.acc_ledger .ledger_actions .roundbtn img, .acc_ledger .custom_table .roundbtn img, .ledger_statement .roundbtn img { width: 14px; }
.ledger_statement .statement_info { padding: 18px 20px 4px; }
.ledger_statement .other_details { margin: 10px 0 16px; }
.ledger_statement .statement_actions { margin-bottom: 16px; }
.acc_settings .c_whitebox .row > [class*="col-"], .acc_form_modal .modal_body .row > [class*="col-"] { margin-bottom: 20px; }
.acc_settings .c_whitebox .acc_grid .row > [class*="col-"] { margin-bottom: 0; }
.acc_settings .c_whitebox .new_inputlabel .input, .acc_settings .c_whitebox .new_inputlabel .ui.search.dropdown > .text { font-size: 13px; }
.acc_ledger .ledger_stats ul li .text { flex: 1 1 auto; min-width: 0; width: auto; max-width: none; white-space: normal; position: relative; z-index: 1; }
.acc_ledger .ledger_stats ul li .text small { overflow: visible; text-overflow: clip; white-space: normal; }

/* ── Accounting registers (F3): All Payments, GST Register, TDS Register ── */
.acc_register .register_pick { position: absolute; top: calc(100% + 4px); left: 0; right: 0; max-height: 300px; overflow-y: auto; z-index: 80; display: block; }
.acc_register .register_pick.static, .common_modal .register_pick.static { position: static; max-height: 320px; overflow-y: auto; box-shadow: none; border: 1px solid #EAEAEA; }
.register_pick ul li .dropdown-item { white-space: normal; text-align: left; }
.register_pick ul li .dropdown-item .icon img { width: 20px; height: 20px; object-fit: contain; border-radius: 50%; }
.acc_register .commonbox a[role="button"] { cursor: pointer; text-align: left; }
.acc_register .main_tab.box_type ul li a.nav-link { cursor: pointer; }
.acc_register .period_summary { margin-bottom: 30px; }
.acc_register .period_summary a[role="button"] { cursor: pointer; }
.acc_register .avatar_initials, .common_modal .avatar_initials { width: 100%; height: 100%; border-radius: 50%; background: #F8F2F9; color: #6E1588; font-size: 11px; font-weight: 600; }
.common_modal .uploadbox.uploaded .uploadiimage { display: block; }
.view_invoice .modal-content .billing_sheet { margin: 0 auto; }
/* all-invoices.html's form modals scroll as one page, footer last (as the pack does). */
#record_payment_modal .modal_body, #record_tds_modal .modal_body, #update_gst_details .modal_body, #send_reminder_modal .modal_body { max-height: none; overflow: visible; }
/* View Invoice: the invoice's linked registers stack under Download, clear of the document. */
#view_invoice_modal .rgttop_btns { flex-direction: column; align-items: flex-end; gap: 8px; }
#view_invoice_modal .rgttop_btns .cross { order: -1; }
#view_invoice_modal .rgttop_btns .c_btn { min-width: 170px; justify-content: center; }
.ledger_statement .other_details { gap: 18px 36px; }
.ledger_statement .other_details .common { min-width: 150px; gap: 4px; }
.ledger_statement .fullrow_top small { display: block; text-align: left; }
/* View Invoice shows the A4 page scaled to the screen, as the pack's image does. */
#view_invoice_modal .acc_invoice_scale { zoom: 0.72; }
#view_invoice_modal .modal-content { width: auto; background: transparent; align-items: center; }

/* ── Duplicate warning (components/ui/DuplicateWarning.tsx) — "This looks like an existing …" over any form or modal. ── */
.common_modal.dup_warning { z-index: 1090 !important; }
.modal-backdrop.dup_backdrop { z-index: 1085 !important; }
.common_modal.dup_warning .modal-dialog { max-width: 620px !important; }
.common_modal.dup_warning .modal-content { padding: 34px 34px 30px; }
.common_modal.dup_warning .centerbox { text-align: center; }
.common_modal.dup_warning .centerbox .mainimg { width: 64px !important; height: 59px !important; max-width: none; display: block; margin: 0 auto 12px; }
.common_modal.dup_warning .dup_text strong small { white-space: nowrap; }
.common_modal.dup_warning .centerbox > small { display: block; letter-spacing: .08em; font-size: 11px; margin-bottom: 4px; }
.common_modal.dup_warning .sure_text { display: block; font-size: 20px; line-height: 1.35; }
.common_modal.dup_warning .confirm_text { margin: 8px 0 14px; color: #6b6478; font-size: 14px; }
.common_modal.dup_warning .dup_list { text-align: left; max-height: 300px; overflow-y: auto; margin-bottom: 18px; }
.common_modal.dup_warning .dup_list li a.c_btn { flex: none; height: 36px; min-width: 76px; padding: 0 16px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.common_modal.dup_warning .btnrow { display: flex; justify-content: center; gap: 14px; }
/* Inline data checks on forms ("amount exceeds the balance") — the design's error_msg box, worded as a check, not blocking. */
.error_msg.data_hint { margin: 8px 0 0; }
.error_msg.data_hint .textbox p { white-space: normal; }

/* ── Motion, site-wide ────────────────────────────────────────────────────
   The design pack animates with Semantic UI (select menus slide down in
   ~200ms), Bootstrap 5 (modals drop 50px and fade in 300ms, the backdrop
   fades) and jQuery (sidebar submenus slide down). The React screens mount
   these elements already open, so the same motion is played on mount here.
   Everyone who asks their system for less motion gets none. */
@keyframes mm_fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm_drop { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: none; } }
/* Menus fade in place: no movement and no clipping, so a click never lands while they are still arriving. */
@keyframes mm_menu { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm_up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mm_slide_down { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 600px; } }
@keyframes mm_slide_in { from { transform: translateX(100%); } to { transform: none; } }

/* Pop-ups: the dialog drops in, the backdrop fades (Bootstrap 5 .modal.fade). */
.modal.show .modal-dialog { animation: mm_drop .3s ease-out backwards; }
.modal-backdrop.show { animation: mm_fade .15s linear backwards; }
/* Select lists (Semantic UI "slide down") and every dropdown menu. */
.ui.dropdown .menu.visible, .ui.dropdown.active .menu { animation: mm_menu .2s ease-out backwards; }
.dropdown-menu.show, .mycommon_dropdown.show { animation: mm_menu .18s ease-out backwards; }
/* Sidebar submenus open like the design's jQuery slideDown. */
.dashboard_menu .menu_links li.dd.dd_active .dd_menu { overflow: hidden; animation: mm_slide_down .35s ease-out backwards; }
/* A screen settles in when it opens; tab panes when they switch. */
/* Opacity only, and released once played ("backwards", not "both"): a
   transform or a held animation on a wrapper makes it the frame for every
   position:fixed menu and pop-up inside it, which then land in the wrong place. */
.page_enter { animation: mm_fade .28s ease-out backwards; }
/* Success banners, toasts and inline warnings appear rather than blink in. */
.top_successful_msg.show, .error_msg:not(.d-none), .data_hint { animation: mm_fade .2s ease-out backwards; }
/* Hover feedback on the design's buttons and rows, as the pack's 0.4s eases. */
.roundbtn, .dropdown-item, .custom_table tbody tr, .item { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }

/* The thin bar at the top while a screen is on its way. */
.route_progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 2000; pointer-events: none;
  background: linear-gradient(90deg, #7b0a8e 0%, #e1003e 100%); box-shadow: 0 0 8px rgba(225, 0, 62, .45);
  transition: width .3s ease-out, opacity .3s ease .15s; }

@media (prefers-reduced-motion: reduce) {
  .modal.show .modal-dialog, .modal-backdrop.show, .ui.dropdown .menu.visible, .ui.dropdown.active .menu,
  .dropdown-menu.show, .mycommon_dropdown.show, .dashboard_menu .menu_links li.dd.dd_active .dd_menu,
  .page_enter, .top_successful_msg.show, .error_msg:not(.d-none), .data_hint { animation: none; }
  .route_progress { transition: none; }
}

/* A manual proposal offers one way to build the structure: the box sits in the middle of its column. */
#step6 .select_proposal .nav:has(> .nav-item:only-child) { justify-content: center; }

/* Step 07: the same toolbar as Step 06 sits above the slides; the right panel is the designed list. */
.write_proposal .fl_toolbar { border: 1px solid #ece4f0; border-radius: 16px; margin-bottom: 16px; }
.write_proposal .fl_tool svg { width: 14px; height: 14px; }
.write_proposal .fl_tool.pdf { color: #E1003E; border-color: #F4C2D0; }
.write_proposal .fl_tool.pdf:hover:not(:disabled) { border-color: #E1003E; }
.page_wrap .step_proposal .write_proposal .fl_tool.view_pdf { min-width: 0; }
/* The agreement window sits above the document window it answers. */
.fit_plan_layer .common_modal { z-index: 1090 !important; }
.fit_plan_layer .modal-backdrop { z-index: 1085 !important; }
.fit_plan_layer .confirm_text { text-align: left; }

/* Proposals list: how a proposal was made, and the AI cost cell of one made without AI. */
.btntype.made_with { margin-top: 4px; }
.btntype.made_with.ai { background: #F5EFF7; color: #6D007D; }
.ai_cost_cell.none { cursor: default; border-style: dashed; }
.ai_cost_cell.none:hover { border-color: #ece4f0; background: #fff; }

/* Create NDA / Create Agreement: the five tabs each show their own pane; parties sit side by side; the template editor lists its sections. */
.contract_form .tab_pane { display: none; }
.contract_form .tab_pane.active { display: block; }
.contract_form .party_box { border: 1px solid #ece4f0; border-radius: 14px; padding: 18px 18px 6px; background: #fff; height: 100%; }
.contract_form .party_box > h4 { font-size: 15px; font-weight: 600; color: #6a287a; margin: 0 0 12px; }
.contract_form .tab_nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; }
.contract_form .pane_note { font-size: 13px; color: #6b6478; margin: -6px 0 14px; }
.contract_form .summary_list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0 0 18px; padding: 0; list-style: none; }
.contract_form .summary_list li { font-size: 13px; color: #1d1e2b; display: flex; gap: 8px; }
.contract_form .summary_list li span { color: #6b6478; min-width: 150px; }
.contract_form .summary_list li.missing strong { color: #E1003E; }
.company_form .tpl_section { border: 1px solid #ece4f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.company_form .tpl_section .tpl_head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.company_form .tpl_section .tpl_head input { flex: 1; }
.company_form .tpl_section textarea { min-height: 90px; }
.company_form .tpl_vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.company_form .tpl_vars button { border: 1px solid #d9cce0; border-radius: 14px; background: #faf5fb; color: #6a287a; font-size: 12px; padding: 3px 10px; cursor: pointer; }
.company_form .tpl_vars button:hover { border-color: #6a287a; }
.company_form .tpl_kind_tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.company_form .tpl_kind_tabs button { border: 1px solid #d9cce0; border-radius: 20px; background: #fff; color: #6a287a; padding: 6px 16px; font-size: 13px; font-weight: 500; }
.company_form .tpl_kind_tabs button.active { background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; border-color: transparent; }
.company_form .tpl_tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

/* The portal switch in the main menu: two tabs below the menu entries; letters only while the rail is collapsed. */
.dashboard_menu .menu_footrow .portal_tabs { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 4px; }
.dashboard_menu .menu_footrow .portal_tabs a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; border: 1px solid #ece4f0; color: #555; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; overflow: hidden; }
.dashboard_menu .menu_footrow .portal_tabs a i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; background: #F5EFF7; color: #6D007D; }
.dashboard_menu .menu_footrow .portal_tabs a.active { color: #fff; border-color: transparent; background: linear-gradient(90deg, #7b0a8e 0%, #e1003e 100%); }
.dashboard_menu .menu_footrow .portal_tabs a.active i { background: rgba(255,255,255,.25); color: #fff; }
.dashboard_menu:not(.active) .menu_footrow .portal_tabs { padding: 8px 0 0; align-items: center; }
.dashboard_menu:not(.active) .menu_footrow .portal_tabs a { padding: 4px; border-radius: 8px; }
.dashboard_menu:not(.active) .menu_footrow .portal_tabs a span { display: none; }
.dashboard_menu .menu_footrow { flex: 0 0 auto; border-top: 1px solid #ece4f0; background: #fff; }
.dashboard_menu .menu_footrow .portal_tabs { padding: 10px 12px 12px; }
.dashboard_menu .menu_btmrow { flex: 1 1 auto; min-height: 0; }

/* Prompt Library: one line per prompt — the variables as a count, three named, the rest on hover. */
.prompt_variables { flex-wrap: nowrap; overflow: hidden; max-width: 400px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w320 { width: 320px; min-width: 320px; }
.page_wrap .listing_area .tab_content .custom_table .commonbox.w420 { width: 420px; min-width: 420px; }
.prompt_variables code { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: #faf5fb; color: #6D007D; border: 1px solid #ece4f0; white-space: nowrap; flex: 0 1 auto; min-width: 0; max-width: 128px; overflow: hidden; text-overflow: ellipsis; }
.prompt_variables .more { flex: 0 0 auto; }
.prompt_variables .more { font-size: 11px; font-weight: 600; color: #6D007D; white-space: nowrap; border: 1px solid #d9cce0; border-radius: 12px; background: #fff; padding: 2px 8px; cursor: pointer; }
.prompt_variables .more:hover { background: #6D007D; color: #fff; border-color: #6D007D; }
.prompt_variables .btntype { min-width: 28px; }
.prompt_vars_modal .modal-dialog { max-width: 640px !important; width: calc(100% - 32px) !important; }
.prompt_vars_modal .modal_body { padding: 26px 28px 22px; text-align: left; }
.prompt_vars_modal .pv_head h3 { margin: 4px 0 4px; font-size: 20px; }
.prompt_vars_modal .pv_rows { list-style: none; margin: 14px 0 18px; padding: 0; max-height: 50vh; overflow-y: auto; border: 1px solid #ece4f0; border-radius: 12px; }
.prompt_vars_modal .pv_rows li { display: flex; gap: 14px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #f1eaf4; font-size: 13px; color: #1d1e2b; }
.prompt_vars_modal .pv_rows li:last-child { border-bottom: 0; }
.prompt_vars_modal .pv_name { flex: 0 0 220px; text-align: left; font-family: monospace; font-size: 12px; color: #6D007D; background: #faf5fb; border: 1px solid #ece4f0; border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.prompt_vars_modal .pv_name:hover { background: #6D007D; color: #fff; }

/* Both dashboards line up with every listing page: content from 172px to 1508px, title at the same height, so only the panels change between screens. */
.page_wrap:has(.dashboard_page) .custom_container, .page_wrap:has(.acc_dashboard) .custom_container { max-width: none; width: calc(100% - 80px); margin: 0 0 0 80px; padding-left: 92px; padding-right: 92px; }
.page_wrap:has(.dashboard_page), .page_wrap:has(.acc_dashboard) { padding-top: 12px; }
@media (max-width: 991px) { .page_wrap:has(.dashboard_page) .custom_container, .page_wrap:has(.acc_dashboard) .custom_container { width: 100%; margin: 0; padding-left: 15px; padding-right: 15px; } }

/* ── My Profile: the manager's form vocabulary on a plain form page ──────── */
.profile_form .formarea .heading_withline { gap: 10px; margin: 22px 0 10px; }
.profile_form .formarea .heading_withline:first-child { margin-top: 0; }
.profile_form .formarea .heading_withline h3 { font-size: 16px; line-height: 22px; color: #6D007D; font-weight: 500; font-family: "Outfit", sans-serif !important; margin: 0; }
.profile_form .formarea .heading_withline .h_line { background-color: #EAEAEA; flex: 1; min-width: 25px; height: 1px; }
.profile_form .formarea .row > [class*="col-"] { margin-bottom: 14px; }
.profile_form .formarea .qr_box .imgbox { width: 72px; height: 72px; border: 1px solid #EAEAEA; border-radius: 6px; overflow: hidden; }
.profile_form .formarea .qr_box .imgbox img { width: 100%; height: 100%; object-fit: contain; }
.profile_form .section_note { font-size: 12px; color: #707070; margin: 0 0 12px; }
/* What a proposal shows for this person, and where each value comes from. */
.presenter_preview { list-style: none; margin: 0; padding: 0; border: 1px solid #EAEAEA; border-radius: 8px; overflow: hidden; }
.presenter_preview li { display: grid; grid-template-columns: 150px 1fr auto; grid-template-areas: "k v s" "k u u"; gap: 2px 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #F0F0F0; }
.presenter_preview li:first-child { border-top: 0; }
.presenter_preview li .k { grid-area: k; font-size: 12px; font-weight: 600; color: #000; }
.presenter_preview li .v { grid-area: v; font-size: 12px; color: #333; word-break: break-all; }
.presenter_preview li .v img { height: 36px; max-width: 120px; object-fit: contain; border: 1px solid #EAEAEA; border-radius: 4px; background: #fff; }
.presenter_preview li .u { grid-area: u; font-size: 11px; color: #8A8A8A; }
.presenter_preview li .src { grid-area: s; font-size: 10px; line-height: 16px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.presenter_preview li .src.own { background: #E8F7EE; color: #1E7E46; }
.presenter_preview li .src.default { background: #F3E8FF; color: #6D007D; }
.presenter_preview li .src.none { background: #FDECEF; color: #E1003E; }
/* Settings → Manager Default Assets: where each field lands. */
.presenter_uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.presenter_uses li { display: flex; flex-direction: column; font-size: 12px; padding: 6px 0; border-bottom: 1px solid #F0F0F0; }
.presenter_uses li strong { color: #6D007D; font-weight: 600; }
.presenter_uses li span { color: #707070; font-size: 11px; }
.company_form .uploadwrap .upload_info h3 { font-size: 13px; }
@media (max-width: 767px) { .presenter_preview li { grid-template-columns: 1fr; grid-template-areas: "k" "v" "s" "u"; } .presenter_uses { grid-template-columns: 1fr; } }

/* The manager's photo sits inside the round frame of the closing slide and the cover, whatever shape was uploaded. */
.slide_closing .main_contentbox .main_textbox .manager_details .lftbox .imgbox img,
.prepared_by .imgbox img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.right_slider .header_box .who_line { font-size: 12px; color: #6D007D; font-weight: 500; margin: 2px 0 4px; }

/* A headshot in a round frame keeps the face: tall portraits are cropped from the top, never the middle. */
.header .userimg img, .page_title .userimg img, .user_details .img img, .all_manager .roundbox img, .viewclient .modal_header .imgbox img,
.profile_identity .avatar img, .img_manager img, .prepared_by .imgbox img,
.slide_closing .main_contentbox .main_textbox .manager_details .lftbox .imgbox img, .slide_team .circle_in img { object-fit: cover; object-position: center top; }

/* ── Asset Library: the theme-card vocabulary, with tall tiles for slide cut-outs ── */
.asset_library .library_note { margin: 4px 0 -6px; }
.asset_library .theme_assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.asset_library .asset_img.tall { aspect-ratio: 1 / 2; max-height: 300px; background: linear-gradient(180deg, #FBF4FC, #FFF); }
.asset_library .asset_img.square { aspect-ratio: 1 / 1; max-height: 160px; }
.asset_library .asset_img img { object-fit: contain; }
.asset_library .theme_asset small { font-size: 10px; line-height: 14px; }
.asset_library .owner_thumb { width: 64px; min-width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #F3E8FF; color: #6D007D; font-weight: 600; }
.asset_library .owner_thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.asset_library .theme_card [data-asset-type] + [data-asset-type] { margin-top: 18px; }
.asset_library .theme_head .theme_thumb.owner_thumb { flex: 0 0 64px; width: 64px; min-width: 64px; max-width: 64px; height: 64px; aspect-ratio: 1 / 1; border-radius: 50%; }

/* Library and theme cards sit inside the page container, like every listing table. */
.structures_page .library_body { padding-bottom: 30px; }
.structures_page .library_body .library_note { margin: 14px 0 -4px; }

.asset_library .theme_head { margin-bottom: 14px; }

/* Pictures section inside Add/Edit Manager and My Profile: the library's tiles, scaled to the form. */
.owner_assets .tpl_kind_tabs { margin-bottom: 8px; }
.owner_assets .theme_note { font-size: 11px; color: #707070; margin: 0 0 10px; }
.owner_assets .theme_assets { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.owner_assets .asset_img.tall { max-height: 220px; }
.owner_assets .asset_img.square { max-height: 120px; }
.owner_assets .theme_skeleton { display: block; height: 180px; border-radius: 12px; }
.right_slider .owner_assets .theme_assets { grid-template-columns: repeat(3, 1fr); }
/* The pictures section stands alone in forms: its tabs and tiles carry their own styles. */
.owner_assets .tpl_kind_tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.owner_assets .tpl_kind_tabs button { border: 1px solid #d9cce0; border-radius: 20px; background: #fff; color: #6a287a; padding: 5px 14px; font-size: 12px; font-weight: 500; }
.owner_assets .tpl_kind_tabs button.active { background: linear-gradient(90deg, #6a287a, #ee1d56); color: #fff; border-color: transparent; }
.owner_assets .theme_assets { display: grid; }
.owner_assets .theme_asset { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.owner_assets .theme_asset strong { font-size: 12px; font-weight: 500; color: #111; }
.owner_assets .asset_img { border-radius: 8px; overflow: hidden; border: 1px solid #E6DAEA; background: #fff; }
.owner_assets .asset_img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.owner_assets .asset_img.empty { border-style: dashed; background: #FBF8FC; display: flex; align-items: center; justify-content: center; }
.owner_assets .asset_img.empty span { font-size: 11px; color: #9A8AA0; }
.owner_assets .asset_actions { display: flex; gap: 12px; }
.owner_assets .asset_actions .textbtn { font-size: 12px; padding: 0; background: none; border: 0; }

/* The admin signed in as a manager: a bar above every screen, with the way back. */
.impersonation_bar { position: sticky; top: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 16px; background: #6D007D; color: #fff; font-size: 13px; }
.impersonation_bar strong { font-weight: 600; }
.impersonation_bar .c_btn { height: 30px; padding: 0 14px; font-size: 12px; background: #fff; color: #6D007D; border-color: #fff; }

/* Step 06: the slider structure as a list, added from a document or pasted in the modal. */
.structure_doc .structure_lines { margin: 0 0 12px; padding: 12px 14px 12px 32px; border: 1px solid #EAEAEA; border-radius: 8px; background: #FCFAFD; max-height: 260px; overflow: auto; font-size: 12px; line-height: 20px; color: #222; }
.structure_doc .structure_lines li { padding: 1px 0; }
.structure_doc .structure_empty { font-size: 12px; color: #707070; margin: 0 0 12px; padding: 14px; border: 1px dashed #D9CCE0; border-radius: 8px; background: #FBF8FC; }
.structure_doc .structure_actions { align-items: center; }

/* Slides written by hand: the text as written. Sizes follow the deck's paragraph type. */
.main_textbox .rich_blocks { width: 100%; }
.main_textbox .rich_blocks .rich_h { font-size: 12px; line-height: 16px; font-weight: 600; margin: 4px 0 4px; }
.main_textbox .rich_blocks p { margin-bottom: 8px; }
.main_textbox .rich_blocks .rich_list { margin: 0 0 8px; padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 3px 16px; }
.main_textbox .rich_blocks .rich_list li, .main_textbox .rich_blocks .rich_list .rich_li { display: block; position: relative; font-size: 11px; line-height: 15px; letter-spacing: -0.2px; color: #354E41; padding-left: 14px; width: 100%; }
.main_textbox .rich_blocks .rich_list.ul li:before, .main_textbox .rich_blocks .rich_list.ul .rich_li:before { content: ''; position: absolute; left: 1px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #E1003E, #6D007D); }
.main_textbox .rich_blocks .rich_list.ol { counter-reset: rich; }
.main_textbox .rich_blocks .rich_list.ol li, .main_textbox .rich_blocks .rich_list.ol .rich_li { counter-increment: rich; padding-left: 18px; }
.main_textbox .rich_blocks .rich_list.ol li:before, .main_textbox .rich_blocks .rich_list.ol .rich_li:before { content: counter(rich) '.'; position: absolute; left: 0; top: 0; color: #E1003E; font-weight: 600; }
.main_textbox .rich_blocks.dense .rich_list li, .main_textbox .rich_blocks.dense .rich_list .rich_li { width: calc(50% - 8px); }
.rich_input { font-family: inherit; }

/* Long hand-written slides: smaller type, tighter spacing, never cut. */
.main_textbox .rich_blocks.fit_m p, .main_textbox .rich_blocks.fit_m .rich_list li, .main_textbox .rich_blocks.fit_m .rich_list .rich_li { font-size: 10.5px !important; line-height: 14px !important; }
.main_textbox .rich_blocks.fit_m p { margin-bottom: 6px !important; }
.main_textbox .rich_blocks.fit_s p, .main_textbox .rich_blocks.fit_s .rich_list li, .main_textbox .rich_blocks.fit_s .rich_li { font-size: 10px !important; line-height: 13px !important; }
.main_textbox .rich_blocks.fit_s p { margin-bottom: 5px !important; } .main_textbox .rich_blocks.fit_s .rich_h { font-size: 11px !important; line-height: 14px !important; margin: 2px 0 2px !important; } .main_textbox .rich_blocks.fit_s .rich_list { margin-bottom: 5px !important; gap: 2px 14px !important; }
.main_textbox .rich_blocks.fit_xs p, .main_textbox .rich_blocks.fit_xs .rich_list li, .main_textbox .rich_blocks.fit_xs .rich_li { font-size: 9.5px !important; line-height: 12px !important; }
.main_textbox .rich_blocks.fit_xs p { margin-bottom: 4px !important; } .main_textbox .rich_blocks.fit_xs .rich_h { font-size: 10.5px !important; line-height: 13px !important; margin: 2px 0 1px !important; } .main_textbox .rich_blocks.fit_xs .rich_list { margin-bottom: 4px !important; gap: 1px 12px !important; }
.main_textbox .rich_blocks.fit_xxs p, .main_textbox .rich_blocks.fit_xxs .rich_list li, .main_textbox .rich_blocks.fit_xxs .rich_li { font-size: 8.8px !important; line-height: 11px !important; }
.main_textbox .rich_blocks.fit_xxs p { margin-bottom: 3px !important; } .main_textbox .rich_blocks.fit_xxs .rich_h { font-size: 9.8px !important; line-height: 12px !important; margin: 2px 0 1px !important; } .main_textbox .rich_blocks.fit_xxs .rich_list { margin-bottom: 3px !important; gap: 1px 10px !important; }
.main_textbox .rich_blocks.fit_xxxs p, .main_textbox .rich_blocks.fit_xxxs .rich_list li, .main_textbox .rich_blocks.fit_xxxs .rich_li { font-size: 8px !important; line-height: 10px !important; }
.main_textbox .rich_blocks.fit_xxxs p { margin-bottom: 2px !important; } .main_textbox .rich_blocks.fit_xxxs .rich_h { font-size: 9px !important; line-height: 11px !important; margin: 1px 0 1px !important; } .main_textbox .rich_blocks.fit_xxxs .rich_list { margin-bottom: 2px !important; gap: 0 10px !important; }
.main_textbox .rich_blocks.fit_xxs .rich_list li, .main_textbox .rich_blocks.fit_xxs .rich_list .rich_li, .main_textbox .rich_blocks.fit_xxxs .rich_list li, .main_textbox .rich_blocks.fit_xxxs .rich_list .rich_li { width: calc(50% - 8px) !important; }

/* Dashboard header: view the system as a manager. */
.switch_user .switch_menu { min-width: 300px; padding: 12px; }
.switch_user .switch_title { font-size: 12px; font-weight: 600; color: #6D007D; margin: 0 0 8px; }
.switch_user .switch_filter { height: 34px; font-size: 12px; margin-bottom: 8px; }
.switch_user .switch_list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.switch_user .switch_list li button { width: 100%; background: none; border: 0; padding: 7px 6px; border-radius: 8px; display: flex; align-items: center; text-align: left; }
.switch_user .switch_list li button:hover { background: #F7F0F9; }
.switch_user .who { display: flex; align-items: center; gap: 10px; }
.switch_user .avatar { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; overflow: hidden; background: #F3E8FF; color: #6D007D; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.switch_user .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.switch_user .switch_list strong { font-size: 13px; color: #111; } .switch_user .switch_list small { font-size: 11px; color: #707070; }
.header .switch_user .empty { font-size: 12px; color: #707070; padding: 8px 6px; }

/* Signed in as a manager: a small draggable pill above every screen, with the way back. */
.impersonation_pill { position: fixed; right: 20px; bottom: 20px; z-index: 1300; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid #E6DAEA; box-shadow: 0 6px 24px rgba(109, 0, 125, 0.18); cursor: grab; user-select: none; touch-action: none; }
.impersonation_pill:active { cursor: grabbing; }
.impersonation_pill .pill_avatar { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #E1003E, #6D007D); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.impersonation_pill .pill_avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.impersonation_pill .pill_text { display: flex; flex-direction: column; line-height: 1.1; }
.impersonation_pill .pill_text small { font-size: 10px; color: #707070; }
.impersonation_pill .pill_text strong { font-size: 13px; color: #111; white-space: nowrap; }
.impersonation_pill .pill_back { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #6D007D; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.impersonation_pill .pill_back:hover { background: #E1003E; }

/* Team members written at length by hand: smaller type, same places. The design's rules are far more specific, hence !important. */
.common_visualize .team_members .member_details.long h4 { font-size: 9px !important; line-height: 11px !important; }
.common_visualize .team_members .member_details.long p { font-size: 7.5px !important; line-height: 9.5px !important; letter-spacing: -0.3px !important; }
.common_visualize.teamslide.deg2 .main_textbox .team_members .member_details.long { min-height: 0 !important; }

/* Step 07: the slide's text as written, over the template it fills. Shown with the open slide, like the form beneath it. */
.page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion .raw_content { display: none; width: 100%; padding: 20px 40px 0; }
.page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion > .accor_tab.active ~ .raw_content { display: block; }
@media (max-width: 991px) { .page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion .raw_content { padding: 15px 20px 0; } }
.page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion .raw_content.content_tabs { padding-bottom: 4px; }
.page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion .raw_content.raw_pane { padding-bottom: 24px; }
.page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .accordion_wrap .accordion .content_tabs .c_btn.border_btn { background: #fff; }

/* The text as written: a small editor that shows sub-headings, bullets and bold as such. */
.raw_editor { border: 1px solid #E5DDEA; border-radius: 10px; background: #fff; }
.raw_editor.is_disabled { opacity: .7; }
.raw_editor .raw_toolbar { padding: 6px 10px; border-bottom: 1px solid #F0E8F3; flex-wrap: wrap; }
.raw_editor .raw_toolbar button { min-width: 28px; height: 26px; padding: 0 7px; border: 1px solid #E5DDEA; border-radius: 6px; background: #FBF7FC; font-size: 12px; line-height: 1; color: #6D007D; }
.raw_editor .raw_toolbar button:hover { background: #F3E8F6; }
.raw_editor .raw_toolbar small { font-size: 11px; }
.raw_editor .raw_body { min-height: 170px; max-height: 440px; overflow: auto; padding: 12px 14px; font-size: 13px; line-height: 1.55; color: #212121; outline: 0; white-space: normal; }
.raw_editor .raw_body:empty:before { content: attr(data-placeholder); color: #9a9a9a; }
.raw_editor .raw_body h3 { font-size: 13px; font-weight: 600; color: #E1003E; margin: 8px 0 2px; }
.raw_editor .raw_body p { margin: 0 0 6px; }
.raw_editor .raw_body ul, .raw_editor .raw_body ol { margin: 0 0 6px 18px; padding: 0; }
.raw_editor .raw_body ul { list-style: disc; } .raw_editor .raw_body ol { list-style: decimal; }
.raw_editor .raw_body li { margin: 2px 0; display: list-item; }
.raw_editor .raw_body strong { font-weight: 600; }

/* Step 04: subscription or one-time payment. */
#selected_service .pp_model { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 26px 0; }
#selected_service .pp_model .pp_kicker { margin-right: 6px; }
#selected_service .pp_pill { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 16px; border: 1px solid #E5DDEA; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: #6D007D; text-align: left; }
#selected_service .pp_pill small { font-size: 11px; font-weight: 400; color: #8a8395; }
#selected_service .pp_pill.on { border-color: #E1003E; background: linear-gradient(90deg, rgba(225,0,62,.08), rgba(109,0,125,.08)); color: #E1003E; }
#selected_service .pp_pill:disabled { opacity: .6; }
#selected_service .pp_note { width: 100%; font-size: 11px; color: #8a8395; }
#selected_service .pp_terms.one { grid-template-columns: 1fr; }
.services_type.one_time { max-width: 420px; }

/* Switch Account from the menu: the same picker in a small window. */
.switch_account_layer { position: fixed; inset: 0; z-index: 1200; background: rgba(29, 30, 43, .35); display: flex; align-items: center; justify-content: center; padding: 16px; }
.switch_account_layer .switch_user { position: relative; }
.switch_account_layer .switch_menu { position: relative; width: 360px; max-width: 100%; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 16px !important; }
.switch_account_layer .switch_close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 20px; line-height: 1; color: #8a8395; }
.dashboard_menu .switch_account_item .main_heading a { cursor: pointer; }

/* All Managers: the columns share the window instead of forcing a sideways scroll; the action column holds its four buttons. */
.page_wrap .listing_area.all_manager .tab_content .tableresponsive .custom_table { min-width: 100%; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w240 { width: auto; min-width: 190px; flex: 1 1 240px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w200 { width: auto; min-width: 140px; flex: 1 1 200px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w180 { width: auto; min-width: 165px; flex: 1 1 180px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w130 { width: 96px; min-width: 96px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w120 { width: 104px; min-width: 104px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w100 { width: 76px; min-width: 76px; }
.page_wrap .listing_area.all_manager .tab_content .custom_table .commonbox.w140 { width: 176px; min-width: 176px; }

/* Asset Library: one searchable list of managers above the chosen manager's pictures. */
.asset_library .owner_bar { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 12px 16px; }
.asset_library .owner_label { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.asset_library .owner_picker { flex: 0 0 360px; width: 360px; }
.asset_library .owner_picker .ui.dropdown { min-height: 42px; }
.asset_library .owner_hint { font-size: 12px; color: #707070; }
.asset_library .owner_pane { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 767px) { .asset_library .owner_bar { flex-wrap: wrap; } .asset_library .owner_picker { flex: 1 1 100%; width: auto; } }

/* Billing lines and client matches: a long unbroken name wraps inside its column instead of widening the page. */
[data-line] .mainbox > div { min-width: 0; flex: 1 1 auto; }
[data-line] .mainbox .ctext, [data-line] .mainbox p, [data-block="clientResults"] .btext, [data-block="clientResults"] .ctext, [data-block="clientResults"] p { overflow-wrap: anywhere; word-break: break-word; }
/* A service match in billing: its name and description wrap inside the card (a description is clamped to four lines). */
.selected_service .textbox { min-width: 0; }
.selected_service .textbox h3, .selected_service .textbox p { overflow-wrap: anywhere; word-break: break-word; }
.selected_service .textbox p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* The manager list shows each person's head, round, in the box and in its rows. */
.asset_library .owner_picker .ui.dropdown .icon { width: 28px; height: 28px; min-width: 28px; display: flex; align-items: center; justify-content: center; }
.asset_library .owner_picker .ui.dropdown .icon img { width: 28px; height: 28px; max-width: none; max-height: none; border-radius: 50%; object-fit: cover; object-position: center top; background: #F3E8F6; }

/* Client emails: the template table, the editor and the log. */
.email_templates .tpl_filters_note { font-size: 12px; color: #666; max-width: 420px; align-self: center; }
.email_templates .tpl_table .tpl_cat_row td { background: #FBF4FC; }
.email_templates .tpl_table .tpl_cat { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 10px 4px; }
.email_templates .tpl_table .tpl_cat_text h3 { font-size: 15px; font-weight: 600; color: #5b1f7a; margin: 0; }
.email_templates .tpl_tagline { margin: 2px 0 0; font-size: 12px; color: #666; }
.email_templates .tpl_row.is_off .commonbox { opacity: .72; }
.email_templates .tpl_row.is_off .commonbox.action, .email_templates .tpl_row.is_off .commonbox.align-items-center { opacity: 1; }
.email_templates .tpl_num { color: #E02054; letter-spacing: .4px; }
.email_templates .tpl_subject { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 16px; }
.email_templates .tpl_sched { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #444; flex-wrap: wrap; }
.email_templates .tpl_sched input { width: 52px; height: 28px; border: 1px solid #E6C9EC; border-radius: 8px; padding: 0 6px; font-size: 12px; text-align: center; }
.email_templates .tpl_banner { display: flex; align-items: center; gap: 12px; }
.email_templates .tpl_banner img { width: 210px; height: 56px; object-fit: cover; border-radius: 10px; background: #F3E8F6; box-shadow: 0 4px 14px rgba(41, 0, 48, .15); }
.email_templates .tpl_banner.tpl_banner_sm { gap: 8px; }
.email_templates .tpl_banner.tpl_banner_sm img { width: 96px; height: 32px; border-radius: 6px; box-shadow: none; border: 1px solid #EFE4F2; }
.email_templates .tpl_banner_actions { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.email_templates .tpl_banner_src { font-size: 10px; color: #8a8a8a; white-space: nowrap; }
.email_templates .tpl_banner_change { font-size: 12px; font-weight: 600; color: #6D007D; cursor: pointer; text-decoration: underline; margin: 0; line-height: 16px; }
.email_templates .tpl_banner .textbtn { font-size: 11px; color: #888; background: none; border: 0; padding: 0; text-align: left; line-height: 14px; }
.email_templates .tpl_banner .textbtn:hover { color: #6D007D; }
.email_editor_page .editor_banner img { width: 150px; height: 44px; }
.email_settings_box { background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 18px 20px; margin-top: 20px; }
.email_settings_box h3 { font-size: 16px; font-weight: 600; color: #5b1f7a; margin: 0 0 4px; }
.email_settings_box .legal_tabs { display: flex; gap: 8px; margin: 10px 0 6px; }
.email_settings_box .legal_tabs button { border: 1px solid #E6C9EC; background: #fff; border-radius: 20px; padding: 4px 14px; font-size: 12px; color: #5b1f7a; cursor: pointer; }
.email_settings_box .legal_tabs button.is_active { background: #5b1f7a; color: #fff; border-color: #5b1f7a; }
.email_editor { display: grid; grid-template-columns: minmax(400px, 1fr) minmax(420px, 1.05fr); gap: 20px; align-items: start; }
.email_editor .editor_col, .email_editor .preview_col { background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 18px 20px; min-width: 0; }
.email_editor .preview_col { position: sticky; top: 16px; }
.email_editor .editor_toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -18px -20px 14px; padding: 14px 20px; background: #fff; border-bottom: 1px solid #EFE4F2; border-radius: 14px 14px 0 0; }
.email_editor .toolbar_text { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 17px; color: #5b5b5b; min-width: 0; }
.email_editor .toolbar_text strong { color: #2a2a2a; font-weight: 600; font-size: 13px; }
.email_editor .picker_wrap { position: relative; flex: 0 0 auto; }
.email_editor .picker_btn { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; padding: 5px 16px; height: auto; gap: 2px; }
.email_editor .picker_btn small { font-size: 10px; font-weight: 400; color: #8a8a8a; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email_editor .picker_backdrop { position: fixed; inset: 0; z-index: 20; }
.email_editor .picker_pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 21; width: 420px; max-width: calc(100vw - 48px); background: #fff; border: 1px solid #E6C9EC; border-radius: 14px; box-shadow: 0 14px 40px rgba(91, 31, 122, .16); overflow: hidden; }
.email_editor .picker_search { width: 100%; border: 0; border-bottom: 1px solid #EFE4F2; padding: 12px 16px; font-size: 13px; outline: none; }
.email_editor .picker_list { max-height: 420px; overflow: auto; padding: 6px 0 10px; }
.email_editor .picker_group h5 { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #a46bb8; margin: 10px 16px 4px; }
.email_editor .picker_group button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; border: 0; background: none; text-align: left; padding: 7px 16px; cursor: pointer; }
.email_editor .picker_group button:hover, .email_editor .picker_group button:focus-visible { background: #FBF4FC; outline: none; }
.email_editor .picker_group button code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #5b1f7a; font-weight: 600; }
.email_editor .picker_group button span { font-size: 11px; line-height: 15px; color: #6b6b6b; }
.email_editor .picker_group button em { font-style: normal; color: #9a9a9a; }
.email_editor .word_group { margin-bottom: 14px; }
.email_editor .group_title { font-size: 13px; font-weight: 600; color: #5b1f7a; margin: 0 0 8px; letter-spacing: .2px; }
.email_editor .content_head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 0 8px; padding-top: 14px; border-top: 1px dashed #EFE4F2; }
.email_editor .section_group { border: 1px solid #EFE4F2; border-radius: 12px; padding: 0 12px 10px; }
.email_editor .section_group.is_folded { padding-bottom: 0; }
.email_editor .section_toggle { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 11px 2px; text-align: left; cursor: pointer; }
.email_editor .section_title { font-size: 13px; font-weight: 600; color: #2a2a2a; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email_editor .section_meta { font-size: 11px; color: #8a8a8a; white-space: nowrap; }
.email_editor .section_chev { width: 8px; height: 8px; border-right: 1.5px solid #5b1f7a; border-bottom: 1.5px solid #5b1f7a; transform: rotate(45deg); margin: 0 4px 3px 2px; transition: transform .15s; }
.email_editor .is_folded .section_chev { transform: rotate(-45deg); margin-bottom: 0; }
.email_editor .word_field { position: relative; border: 1px solid #EFE4F2; border-left-width: 4px; border-left-color: #D9C3E0; border-radius: 10px; padding: 7px 12px 9px; margin: 0 0 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.email_editor .word_field.kind_heading, .email_editor .word_field.kind_subheading { border-left-color: #5b1f7a; }
.email_editor .word_field.kind_button, .email_editor .word_field.kind_link { border-left-color: #E02054; }
.email_editor .word_field.kind_label, .email_editor .word_field.kind_line { border-left-color: #C9A2D6; }
.email_editor .word_field.is_target { border-color: #B98BC8; box-shadow: 0 0 0 3px rgba(91, 31, 122, .08); }
.email_editor .word_field.is_changed { background: #FFFBF4; }
.email_editor .word_head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.email_editor .word_kind { font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #a46bb8; }
.email_editor .kind_heading .word_kind, .email_editor .kind_subheading .word_kind { color: #5b1f7a; }
.email_editor .kind_button .word_kind, .email_editor .kind_link .word_kind { color: #E02054; }
.email_editor .word_undo { border: 0; background: none; font-size: 11px; color: #B26A00; cursor: pointer; padding: 0; font-weight: 600; }
.email_editor .word_undo:hover { text-decoration: underline; }
.email_editor .word_input { display: block; width: 100%; border: 0; outline: none; background: transparent; padding: 2px 0; font-size: 14px; line-height: 22px; color: #1d1d1d; resize: none; overflow: hidden; font-family: inherit; }
.email_editor .kind_heading .word_input { font-size: 16px; font-weight: 600; line-height: 24px; }
.email_editor .kind_subheading .word_input { font-weight: 600; }
.email_editor .kind_button .word_input { font-weight: 600; letter-spacing: .4px; }
.email_editor .word_input:disabled { color: #555; }
.email_editor .html_editor { border: 1px solid #E6C9EC; border-left: 4px solid #5b1f7a; border-radius: 10px; background: #1f1a24; margin-bottom: 14px; overflow: hidden; }
.email_editor .html_editor.is_changed { border-left-color: #E02054; }
.email_editor .html_box { display: block; width: 100%; height: 640px; min-height: 320px; max-height: 80vh; resize: vertical; border: 0; outline: none; background: transparent; color: #F3EAF6; padding: 14px 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 19px; tab-size: 2; white-space: pre; overflow: auto; }
.email_editor .html_box:disabled { color: #bdb2c2; }
.email_editor .extras { border: 1px dashed #E6C9EC; border-radius: 12px; padding: 10px 14px; }
.email_editor .extras summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #5b1f7a; }
.email_editor .preview_head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.email_editor .preview_head .modes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.email_editor .preview_head .modes button { border: 1px solid #E6C9EC; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.email_editor .preview_head .modes button.is_active { background: #5b1f7a; color: #fff; border-color: #5b1f7a; }
.email_editor .text_view { white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 21px; color: #2a2a2a; max-height: 760px; overflow: auto; background: #FBF8FC; border: 1px solid #EFE4F2; border-radius: 12px; padding: 16px 18px; }
.email_frame { width: 100%; border: 1px solid #EFE4F2; border-radius: 12px; background: #f6f3f8; display: block; }
.email_frame.narrow { width: 420px; max-width: 100%; margin: 0 auto; }
.email_preview_modal .modal-dialog { max-width: 920px; }
.email_preview_modal .modal_body { padding: 24px 26px 26px; }
.email_preview_modal .df_close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 26px; line-height: 1; color: #E02054; cursor: pointer; }
.email_log .status_chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 12px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.email_log .status_chip.sent { background: #EEF2FF; color: #3949AB; }
.email_log .status_chip.opened { background: #FFF4E5; color: #B26A00; }
.email_log .status_chip.clicked { background: #E5F6EA; color: #1E7F3A; }
.email_log .status_chip.failed { background: #FDE8EC; color: #C62828; }
.email_log .status_chip.queued { background: #F1F1F1; color: #555; }
.email_log .link_list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.email_log .link_list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #EFE4F2; }
.email_log .link_list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #444; }
.email_log .detail_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 13px; margin-bottom: 12px; }
.email_log .detail_grid dt { color: #707070; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.email_log .detail_grid dd { margin: 0 0 6px; color: #111; word-break: break-word; }
.mail_history li .mail_state { font-size: 11px; }
.send_preview_row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.send_preview_row .template_pill { background: #FBF4FC; color: #5b1f7a; border-radius: 12px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
@media (max-width: 1199px) { .email_editor { grid-template-columns: 1fr; } .email_editor .preview_col { position: static; } }

/* ── The client's own pages (opened from the emails, no login) ─────────────────────────────────────── */
.cp_page { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px 56px; background: radial-gradient(1100px 520px at 12% -10%, rgba(109, 0, 125, .10), transparent 60%), radial-gradient(900px 480px at 100% 110%, rgba(225, 0, 62, .10), transparent 60%), var(--moris-bg); font-family: 'Outfit', sans-serif; }
.cp_card { width: 100%; max-width: 680px; background: #fff; border: 1px solid rgba(172, 172, 172, .3); border-radius: 18px; padding: 36px 36px 28px; box-shadow: 0 18px 48px rgba(16, 12, 34, .08); }
.cp_head { text-align: center; margin-bottom: 22px; }
.cp_logo { height: 40px; width: auto; margin-bottom: 18px; }
.cp_head h1 { font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--moris-primary); margin: 0; text-wrap: balance; }
.cp_head p { font-size: 14px; line-height: 21px; color: #555; margin: 10px auto 0; max-width: 520px; }
.cp_rule { display: block; width: 56px; height: 3px; margin: 18px auto 0; border-radius: 2px; background: var(--moris-gradient); }
.cp_summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; background: #FBF8FC; border: 1px solid #EFE4F2; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.cp_summary.tight { margin: 0 0 10px; }
.cp_summary div { min-width: 0; }
.cp_summary dt { font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; color: #a46bb8; font-weight: 600; }
.cp_summary dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: #1d1d1d; word-break: break-word; }
.cp_actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.cp_btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 24px; background: var(--moris-gradient); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .2px; cursor: pointer; text-decoration: none; }
.cp_btn:hover { filter: brightness(1.05); color: #fff; }
.cp_btn:disabled { opacity: .6; cursor: default; }
.cp_section { margin: 18px 0; }
.cp_section h2, .cp_form h2 { font-size: 16px; font-weight: 600; color: var(--moris-primary); margin: 0 0 8px; }
.cp_list { list-style: none; margin: 0; padding: 0; }
.cp_list li { padding: 8px 0 8px 18px; position: relative; border-bottom: 1px dashed #EFE4F2; font-size: 14px; line-height: 20px; }
.cp_list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #E02054; }
.cp_list li strong { display: block; font-weight: 600; color: #1d1d1d; }
.cp_list li span { color: #555; font-size: 13px; }
.cp_plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 18px; }
.cp_plan { border: 1px solid #EFE4F2; border-radius: 14px; padding: 14px; position: relative; }
.cp_plan.is_chosen { border-color: #5b1f7a; box-shadow: 0 0 0 3px rgba(91, 31, 122, .08); }
.cp_plan h3 { font-size: 14px; font-weight: 600; color: #5b1f7a; margin: 0 0 6px; }
.cp_plan strong { display: block; font-size: 18px; color: #E02054; }
.cp_plan span { font-size: 12px; color: #777; }
.cp_plan small { display: block; margin-top: 6px; font-size: 11.5px; line-height: 16px; color: #555; }
.cp_plan em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 10px; font-weight: 600; background: #5b1f7a; color: #fff; border-radius: 10px; padding: 2px 8px; }
.cp_form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.cp_field label { display: block; font-size: 13px; font-weight: 600; color: #2a2a2a; margin-bottom: 6px; }
.cp_req { color: #E02054; }
.cp_field input, .cp_field select, .cp_field textarea { width: 100%; border: 1px solid #DDD3E2; border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: inherit; color: #1d1d1d; background: #fff; outline: none; }
.cp_field input:focus, .cp_field select:focus, .cp_field textarea:focus { border-color: #B98BC8; box-shadow: 0 0 0 3px rgba(91, 31, 122, .10); }
.cp_field.has_error input, .cp_field.has_error select, .cp_field.has_error textarea { border-color: #E02054; }
.cp_field small { display: block; margin-top: 5px; font-size: 12px; color: #777; }
.cp_error { color: #C62828 !important; font-size: 12px; margin: 0; }
.cp_done { background: #E5F6EA; border: 1px solid #BFE6CA; color: #1E7F3A; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 20px; margin: 0 0 16px; }
.cp_done.soft { background: #FFF4E5; border-color: #F5DBB3; color: #8A5300; }
.cp_note { font-size: 13px; color: #555; line-height: 19px; margin: 10px 0 0; }
.cp_qr { display: block; width: 160px; height: auto; margin: 10px 0 0; border: 1px solid #EFE4F2; border-radius: 10px; }
.cp_loading { padding: 40px 0; text-align: center; color: #777; }
.cp_foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid #EFE4F2; font-size: 12px; line-height: 18px; color: #777; text-align: center; }
.cp_foot a { color: #5b1f7a; }
@media (max-width: 560px) { .cp_card { padding: 26px 18px 22px; border-radius: 14px; } .cp_page { padding: 16px 12px 36px; } }
.client_responses { margin: 14px 0 6px; }
.client_responses ul { list-style: none; margin: 0; padding: 0; }
.client_responses li { border: 1px solid #EFE4F2; border-left: 4px solid #D9C3E0; border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; font-size: 12px; }
.client_responses li.is_new { border-left-color: #E02054; background: #FFFBF4; }
.client_responses .resp_head { display: flex; justify-content: space-between; gap: 10px; }
.client_responses .resp_head strong { color: #5b1f7a; font-weight: 600; font-size: 13px; }
.client_responses .resp_head span { color: #8a8a8a; white-space: nowrap; }
.client_responses .resp_body { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; color: #333; }
.client_responses .resp_body em { font-style: normal; color: #8a8a8a; }

/* ── The proposal's journey: stages in a row, the current one lit, the emails under each ───────────── */
.journey_strip { margin: 0 0 16px; }
.journey_strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.journey_strip li { position: relative; border: 1px solid #EFE4F2; border-radius: 10px; padding: 8px 8px 8px 10px; background: #fff; min-width: 0; }
.journey_strip li .dot { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #F3E8F6; color: #5b1f7a; font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.journey_strip li strong { display: block; font-size: 11.5px; line-height: 15px; font-weight: 600; color: #2a2a2a; }
.journey_strip li small { display: block; font-size: 10px; line-height: 13px; color: #8a8a8a; margin-top: 2px; }
.journey_strip li em { display: block; font-style: normal; font-size: 10px; line-height: 13px; color: #a46bb8; margin-top: 3px; }
.journey_strip li.is_done { background: #FBF8FC; }
.journey_strip li.is_done .dot { background: #E5F6EA; color: #1E7F3A; }
.journey_strip li.is_now { border-color: #5b1f7a; box-shadow: 0 0 0 3px rgba(91, 31, 122, .08); }
.journey_strip li.is_now .dot { background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)); color: #fff; }
.journey_strip li.is_now strong { color: #5b1f7a; }
.journey_strip .journey_next { margin: 8px 0 0; font-size: 12.5px; line-height: 18px; color: #444; background: #FFF8E1; border: 1px solid #F5DBB3; border-radius: 8px; padding: 7px 12px; }
.journey_strip .journey_next strong { color: #8A5300; }
.journey_strip.compact ol { gap: 4px; }
.journey_strip.compact li { padding: 6px 6px 6px 8px; }
.journey_strip.compact li strong { font-size: 10.5px; line-height: 13px; }
.next_hint { display: block; font-size: 11px; line-height: 14px; color: #8A5300; margin-top: 3px; max-width: 150px; }
@media (max-width: 991px) { .journey_strip ol { grid-template-columns: repeat(3, 1fr); } }
.cp_two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
@media (max-width: 560px) { .cp_two { grid-template-columns: 1fr; } }
.next_action { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 6px; }
.next_action .next_btn { min-height: 28px; height: 28px; padding: 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; }
.next_action .next_hint { margin-top: 0; }
/* The row's next-action button keeps its look whether it is a link or a button (table styles strip buttons). */
.custom_table .next_action .next_btn, .next_action a.next_btn, .next_action button.next_btn { display: inline-flex !important; align-items: center; justify-content: center; min-height: 28px; height: 28px; padding: 0 12px; border: 0 !important; border-radius: 16px; background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)) !important; color: #fff !important; font-size: 11px; font-weight: 600; line-height: 1; text-decoration: none; opacity: 1 !important; cursor: pointer; }
.custom_table .next_action { position: relative; z-index: 1; }
.cp_list.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cp_list.two li { padding: 7px 0 7px 16px; font-size: 13px; line-height: 18px; }
.cp_list.two li::before { top: 12px; width: 7px; height: 7px; }
.cp_list.two li strong { font-weight: 500; color: #2a2a2a; }
@media (max-width: 560px) { .cp_list.two { grid-template-columns: 1fr; } }
/* Headings alone (the document gave no text under the points): a numbered grid of headings that fills the page. */
.common_visualize .main_textbox .listtype ul.heading_only { gap: 14px 22px !important; align-content: stretch; }
.common_visualize .main_textbox .listtype ul.heading_only.cols2 > li { width: calc(50% - 11px) !important; }
.common_visualize .main_textbox .listtype ul.heading_only.cols3 > li { width: calc(33.333% - 15px) !important; }
.common_visualize .main_textbox .listtype ul.heading_only > li { display: flex; flex-direction: column; justify-content: flex-start; padding: 12px 14px !important; margin: 0 !important; }
.common_visualize .main_textbox .listtype ul.heading_only > li h4 { font-size: 14px; line-height: 19px; font-weight: 600; margin: 0; text-wrap: balance; }
.common_visualize .main_textbox .listtype ul.heading_only.cols3 > li h4 { font-size: 13px; line-height: 17px; }
.common_visualize .main_textbox .listtype ul.heading_only > li .number { font-size: 22px; line-height: 24px; }
.common_visualize .main_textbox .listtype ul.heading_only > li p:empty { display: none; }
/* Deliverables page: the way back, above the logo. */
.deliverables_wrap .page_return { position: relative; z-index: 2; padding: 14px 0 0; }
.deliverables_wrap .page_return .return_link { font-size: 13px; font-weight: 500; color: #6a1b9a; text-decoration: none; }
.deliverables_wrap .page_return .return_link:hover { text-decoration: underline; }
.deliverables_wrap .page_return .return_close { font-size: 13px; font-weight: 500; color: #444; background: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 6px 14px; cursor: pointer; }
.deliverables_wrap .page_return .return_close:hover { border-color: #6a1b9a; color: #6a1b9a; }
@media print { .deliverables_wrap .page_return { display: none; } }
/* The admin sheet's View PDF / Download PDF links wear the same pill as × Close, in the return bar or the embed bar. */
.deliverables_wrap a.return_close.pdf_link { display: inline-flex; align-items: center; text-decoration: none; line-height: 18px; }
.deliverables_wrap a.return_close.pdf_link:hover { text-decoration: none; }
/* Invoice priced from the proposal: its plans as pills, the client's choice marked. */
.from_proposal { margin: 0 24px 18px; padding: 14px 16px; border: 1px dashed #d9c7e6; border-radius: 12px; background: #fcfaff; }
.from_proposal .fp_head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.from_proposal .fp_head strong { font-size: 14px; color: #6a1b9a; }
.from_proposal .fp_head span { font-size: 12px; color: #666; }
.from_proposal .fp_plans { display: flex; gap: 10px; flex-wrap: wrap; }
.from_proposal .fp_plan { display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 10px 14px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.from_proposal .fp_plan em { font-style: normal; font-size: 12px; color: #555; }
.from_proposal .fp_plan b { font-size: 15px; color: #222; }
.from_proposal .fp_plan small { font-size: 11px; color: #c2185b; font-weight: 500; }
.from_proposal .fp_plan.on { border-color: #6a1b9a; box-shadow: 0 0 0 2px rgba(106, 27, 154, 0.12); }
.from_proposal .fp_note { margin: 10px 0 0; font-size: 12.5px; line-height: 18px; color: #444; }
/* Status window: sending to the client from here. */
.proposal_status_modal .send_panel { margin-bottom: 14px; }
.proposal_status_modal .send_panel .input { width: 100%; }
.proposal_status_modal .resend_row .textbtn { padding: 0; background: none; border: 0; font-size: 13px; }
/* Under the row's next-action button: the smaller second choice (skip a step, send a reminder) and the done mark. */
.next_action .next_alts { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; }
.next_action .next_alt { background: none; border: 0; padding: 0; font-size: 11px; line-height: 14px; color: #6a1b9a; text-decoration: underline; cursor: pointer; }
.next_action .next_alt.email { font-weight: 600; text-decoration: none; color: #E1003E; }
.next_action .next_alt.email:hover { text-decoration: underline; }
.next_action .next_alt:hover { color: #e1003e; }
.next_action .next_done { display: inline-flex; align-items: center; min-height: 28px; font-size: 12px; font-weight: 600; color: #1b8a3a; }
/* Wizard: the Previous button stands out, and a Go to step list sits at the top of every screen. */
.step_proposal .prevbtn.is_strong { font-weight: 700 !important; font-size: 14px !important; color: #fff !important; border: 0 !important; border-radius: 22px; padding: 9px 20px 9px 14px !important; min-height: 40px; background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)) !important; box-shadow: 0 6px 16px rgba(109, 0, 125, .22); gap: 8px; }
.step_proposal .prevbtn.is_strong svg path, .step_proposal .prevbtn.is_strong svg { fill: #fff; stroke: #fff; }
.step_proposal .prevbtn.is_strong:hover { filter: brightness(1.05); }
.step_proposal .step_nav_select { height: 40px; border-radius: 22px; }
.step_proposal .prevbtn.is_strong svg, .step_proposal .prevbtn.is_strong img { filter: none; }
.step_proposal .fullrow_top { position: relative; }
.step_proposal .step_navrow { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; margin-top: 10px; }
.step_proposal .step_navrow .step_nav_label { white-space: nowrap; }
.step_proposal .step_navrow .prevbtn { position: static !important; top: auto !important; bottom: auto !important; margin: 0 !important; }
.step_proposal .step_nav { display: flex; align-items: center; gap: 8px; margin: 0; }
.step_proposal .step_nav_label { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #6D007D; }
.step_proposal .step_nav_select { appearance: auto; min-width: 210px; height: 32px; padding: 0 10px; border: 1px solid #d9c7e6; border-radius: 16px; background: #fff; font-size: 12px; font-weight: 500; color: #333; }
.step_proposal .step_nav_select:focus { outline: 0; border-color: #6D007D; box-shadow: 0 0 0 2px rgba(109, 0, 125, .12); }
/* The structure document window: what is being prepared, 1 to 4. */
.doc_fit_modal .df_stages { list-style: none; margin: 10px 0 14px; padding: 12px 14px; border: 1px dashed #d9c7e6; border-radius: 12px; background: #fcfaff; display: flex; gap: 14px; flex-wrap: wrap; }
.doc_fit_modal .df_stages li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #888; }
.doc_fit_modal .df_stages li .n { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #d9c7e6; font-size: 11px; font-weight: 600; background: #fff; }
.doc_fit_modal .df_stages li.is_now { color: #6D007D; font-weight: 600; }
.doc_fit_modal .df_stages li.is_now .n { border-color: #6D007D; background: #6D007D; color: #fff; animation: df_pulse 1.2s ease-in-out infinite; }
.doc_fit_modal .df_stages li.is_done { color: #1b8a3a; }
.doc_fit_modal .df_stages li.is_done .n { border-color: #1b8a3a; color: #1b8a3a; }
@keyframes df_pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(109, 0, 125, .35); } 50% { box-shadow: 0 0 0 6px rgba(109, 0, 125, 0); } }
/* Image panel: the prompt to copy before uploading. */
.prompt_copy { padding: 12px 14px; border: 1px dashed #d9c7e6; border-radius: 12px; background: #fcfaff; margin-bottom: 14px; }
.prompt_copy .pc_hint { font-size: 12px; color: #666; }
.prompt_copy .pc_text { width: 100%; margin-top: 10px; font-size: 12.5px; line-height: 18px; }
/* Manage Deliverables: replace the list from a sheet or a pasted table. */
.dl_import { margin: 0 0 14px; padding: 12px 14px; border: 1px dashed #d9c7e6; border-radius: 12px; background: #fcfaff; }
.dl_import .dl_import_row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl_import .dl_import_row strong { font-size: 13px; color: #6D007D; }
.dl_import .dl_import_row span { font-size: 12px; color: #666; margin-right: auto; }
.dl_import .dl_import_hint { display: block; margin-top: 6px; font-size: 11.5px; color: #777; }
.dl_import .dl_paste { margin-top: 10px; }
.dl_import .dl_paste .textarea { width: 100%; font-size: 12.5px; }
/* The client's deliverables link opens the View Deliverables sheet as a page of its own. */
.cp_sheet_page { min-height: 100vh; }
.deliverables_wrap .sheet_embed_bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 0 0; }
.deliverables_wrap .sheet_embed_bar .cp_btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 20px; background: linear-gradient(135deg, #6d007d, #e1003e); color: #fff; font-weight: 600; font-size: 13px; text-decoration: none; }
.deliverables_wrap .sheet_embed_bar .cp_note { font-size: 12.5px; color: #555; }
/* Manage Deliverables: replace the list from a sheet or a pasted table. */
.dl_import { margin: 0 0 14px; padding: 12px 14px; border: 1px dashed #d9c7e6; border-radius: 12px; background: #fcfaff; }
.dl_import .dl_import_row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl_import .dl_import_row strong { font-size: 13px; color: #6D007D; }
.dl_import .dl_import_row span { font-size: 12px; color: #666; margin-right: auto; }
.dl_import .dl_import_hint { display: block; margin-top: 6px; font-size: 11.5px; color: #777; }
.dl_import .dl_paste { margin-top: 10px; }
.dl_import .dl_paste .textarea { width: 100%; font-size: 12.5px; }
/* The client's deliverables page carries the same sheet as View Deliverables. */
.cp_sheet { margin: 18px -24px 0; }
.cp_sheet .deliverables_wrap { background: transparent; }
/* Send an Email from the row. */
.send_email_modal .se_files { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.send_email_modal .se_file { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 14px; background: #F3E8F7; font-size: 12px; color: #4a1a56; }
.send_email_modal .se_file button { border: 0; background: none; color: #6D007D; font-size: 14px; line-height: 1; cursor: pointer; }
/* Proposals list: sliders and deliverables share one column. */
.sd_cell { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.sd_cell .sd_row { display: flex; align-items: center; gap: 6px; }
.sd_cell .sd_row .btntype { min-width: 28px; padding: 0 6px; }
/* Asset Library: the four image templates to shoot to. */
.asset_templates { margin: 6px 0 18px; padding: 14px 16px; border: 1px dashed #d9c7e6; border-radius: 14px; background: #fcfaff; }
.asset_templates .at_head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.asset_templates .at_head strong { font-size: 14px; color: #6D007D; }
.asset_templates .at_head span { font-size: 12.5px; color: #666; }
.asset_templates .at_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.asset_templates .at_card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid #ebe3ef; border-radius: 12px; background: #fff; text-decoration: none; color: #333; transition: box-shadow .2s, border-color .2s; }
.asset_templates .at_card:hover { border-color: #6D007D; box-shadow: 0 6px 18px rgba(109, 0, 125, .1); }
.asset_templates .at_card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid #eee; margin-bottom: 4px; }
.asset_templates .at_card strong { font-size: 13px; color: #2a2a2a; }
.asset_templates .at_card small { font-size: 11px; color: #E1003E; font-weight: 600; }
.asset_templates .at_card span { font-size: 11.5px; line-height: 15px; color: #666; }
.asset_templates .at_card em { font-style: normal; font-size: 12px; font-weight: 600; color: #6D007D; margin-top: 4px; }
@media (max-width: 991px) { .asset_templates .at_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The journey strip holds nine stages now. */
.journey_strip ol { grid-template-columns: repeat(9, 1fr); gap: 5px; }
.journey_strip.compact li { padding: 6px 6px 6px 8px; }
.journey_strip.compact li strong { font-size: 10.5px; line-height: 13px; }
.journey_strip.compact li .dot { width: 18px; height: 18px; font-size: 10px; }
/* The row says whose move it is, and a row waiting on us is lit. */
.next_action { padding: 8px 10px; border-radius: 10px; margin-left: -10px; }
.next_action.is_you { background: #FBF4FD; box-shadow: inset 3px 0 0 #6D007D; }
.next_action.is_client { background: #FFF8E1; box-shadow: inset 3px 0 0 #E0A100; }
.next_action.is_reviewer { background: #EEF4FF; box-shadow: inset 3px 0 0 #2459A3; }
.next_action.is_done { background: #F1FAF3; box-shadow: inset 3px 0 0 #1E7F3A; }
.next_wait { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; line-height: 14px; margin-bottom: 2px; }
.next_wait.is_you { color: #6D007D; } .next_wait.is_client { color: #8A5300; } .next_wait.is_reviewer { color: #2459A3; } .next_wait.is_done { color: #1E7F3A; }
.next_action.is_client .next_btn, .next_action.is_reviewer .next_btn { background: #fff !important; color: #6D007D !important; box-shadow: inset 0 0 0 1.5px #6D007D; }
/* The journey note window. */
.journey_note_modal .jn_title { font-size: 18px; font-weight: 700; color: #6D007D; margin: 6px 0 4px; }
/* The journey as a progress bar: a track behind the dots, filled to the current stage. */
.journey_bar ol { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; padding: 6px 0 2px; }
.journey_bar ol::before, .journey_bar ol::after { content: ''; position: absolute; top: calc(6px + 14px); left: calc(100% / 18); right: calc(100% / 18); height: 4px; border-radius: 2px; }
.journey_bar ol::before { background: #EEE4F2; }
.journey_bar ol::after { right: auto; width: calc((100% - 100% / 9) * var(--progress, 0%) / 100%); background: var(--moris-gradient, linear-gradient(90deg, #6d007d, #e1003e)); transition: width .5s ease; }
.journey_bar li { position: relative; z-index: 1; border: 0; border-radius: 0; background: transparent !important; box-shadow: none !important; padding: 0 4px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.journey_bar li .dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #E3D6E8; color: #9a8aa3; font-size: 11px; font-weight: 700; margin: 0 0 8px; box-sizing: border-box; }
.journey_bar li strong { display: block; font-size: 11px; line-height: 14px; font-weight: 600; color: #777; }
.journey_bar li small { display: block; font-size: 10px; line-height: 13px; color: #9a9a9a; margin-top: 3px; }
.journey_bar li em { display: block; font-style: normal; font-size: 10px; line-height: 13px; color: #a46bb8; margin-top: 3px; }
.journey_bar li.is_done .dot { background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)); border-color: transparent; color: #fff; }
.journey_bar li.is_done strong { color: #5b1f7a; }
.journey_bar li.is_now .dot { background: #fff; border-color: #6D007D; color: #6D007D; width: 32px; height: 32px; margin-top: -2px; margin-bottom: 6px; font-size: 12px; box-shadow: 0 0 0 5px rgba(109, 0, 125, .12); animation: jb_pulse 1.6s ease-in-out infinite; }
.journey_bar li.is_now strong { color: #6D007D; font-weight: 700; }
.journey_bar.is_declined li.is_now .dot { border-color: #E1003E; color: #E1003E; box-shadow: 0 0 0 5px rgba(225, 0, 62, .12); }
.journey_bar.compact ol::before, .journey_bar.compact ol::after { top: calc(6px + 12px); height: 3px; }
.journey_bar.compact li .dot { width: 24px; height: 24px; font-size: 10px; margin-bottom: 6px; }
.journey_bar.compact li.is_now .dot { width: 28px; height: 28px; margin-top: -2px; margin-bottom: 4px; }
.journey_bar.compact li strong { font-size: 10.5px; line-height: 13px; }
@keyframes jb_pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(109, 0, 125, .12); } 50% { box-shadow: 0 0 0 9px rgba(109, 0, 125, .05); } }
/* Choices shown all at once, as cards with a radio mark. */
.choice_cards { display: grid; gap: 10px; margin: 4px 0 10px; }
.choice_card { display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 12px 14px; border: 1.5px solid #E6DDEA; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.choice_card:hover { border-color: #b98cc6; }
.choice_card.is_on { border-color: #6D007D; background: #FBF6FD; box-shadow: 0 0 0 3px rgba(109, 0, 125, .1); }
.choice_card:disabled { opacity: .5; cursor: not-allowed; }
.choice_card .cc_mark { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid #CDBBD4; background: #fff; position: relative; }
.choice_card.is_on .cc_mark { border-color: #6D007D; }
.choice_card.is_on .cc_mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)); }
.choice_card .cc_body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice_card strong { font-size: 13.5px; line-height: 18px; color: #2a2a2a; }
.choice_card.is_on strong { color: #6D007D; }
.choice_card small { font-size: 11.5px; line-height: 15px; color: #777; }
.choice_card em { font-style: normal; font-size: 11px; line-height: 14px; color: #8A5300; margin-top: 2px; }
.choice_cards.compact .choice_card { padding: 8px 10px; }
/* Send an Email: the stage's emails first, the history under. */
.send_email_modal .se_scope { display: flex; gap: 8px; flex-wrap: wrap; }
.send_email_modal .se_tab { border: 1px solid #E6DDEA; background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: #555; cursor: pointer; }
.send_email_modal .se_tab.is_on { background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)); color: #fff; border-color: transparent; }
.send_email_modal .se_history { list-style: none; margin: 0; padding: 0; border: 1px solid #EFE4F2; border-radius: 12px; overflow: hidden; }
.send_email_modal .se_history li { display: grid; grid-template-columns: 10px 1fr 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; font-size: 12px; border-bottom: 1px solid #F3EDF5; }
.send_email_modal .se_history li:last-child { border-bottom: 0; }
.send_email_modal .se_history strong { color: #2a2a2a; font-weight: 600; }
.send_email_modal .se_history span { color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send_email_modal .se_history em { font-style: normal; color: #8A5300; }
.send_email_modal .se_dot { width: 8px; height: 8px; border-radius: 50%; background: #1E7F3A; display: inline-block; }
.send_email_modal .se_dot.failed { background: #E1003E; } .send_email_modal .se_dot.queued { background: #E0A100; }
/* The preview names the attachments. */
.email_preview_modal .attach_chip { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border-radius: 10px; background: #F3E8F7; color: #4a1a56; font-size: 11.5px; }
/* The stage bar is a reading, not a menu: stages not reached look it and refuse the pointer. */
.journey_bar li.is_later { cursor: not-allowed; opacity: .75; }
.journey_bar li.is_done { cursor: default; }
.journey_bar li.is_now { cursor: default; }
/* Next Action has its own column: the box fills it. */
.listing_area.all_proposal .next_action { margin-left: 0; width: 100%; box-sizing: border-box; }
.listing_area.all_proposal .next_action .next_hint { max-width: none; }
/* The status windows grow with their content; the whole window scrolls. */
.proposal_status_modal .modal_body { max-height: none !important; }
/* Preview & Send: the preview ends with the Send button. */
.email_preview_modal .email_preview_foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid #EFE4F2; }
/* Proposals list: payment as a small chip under the status, a tiny AI / Manual chip, red links. */
.pay_chip { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .2px; background: #F1F1F3; color: #666; }
.pay_chip.green { background: #E5F6EA; color: #1E7F3A; } .pay_chip.red { background: #FDECEF; color: #C2003A; } .pay_chip.orange { background: #FFF3DF; color: #8A5300; }
.mode_chip { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 8px; font-size: 9.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; background: #EEF0F3; color: #666; }
.mode_chip.ai { background: #F3E8F7; color: #6D007D; }
.listing_area.all_proposal .bluelink.underline { color: #E1003E !important; font-weight: 600; }
/* The deliverables window stands on its own on the View Deliverables page, where the wizard's stylesheet is not loaded. */
.modal.fullpage_modal.deliverables { position: fixed; inset: 0; z-index: 100000; overflow: auto; background-color: #F6F7FB; background-size: cover; min-height: 100vh; padding: 20px; }
.modal.fullpage_modal.deliverables .modal-dialog { background: transparent; max-width: 1320px; min-height: calc(100vh - 40px); display: flex; padding: 0; margin: 0 auto; }
.modal.fullpage_modal.deliverables .modal-dialog .modal-content { background: #fff; width: 100%; min-height: 100%; padding: 0; border: 1px solid #EAEAEA; border-radius: 0; position: relative; }

.modal.fullpage_modal.deliverables + .modal-backdrop { z-index: 99999; }
.modal.fullpage_modal.deliverables .fullrow_btm { padding: 16px 0 6px; }
.modal.fullpage_modal.deliverables .fullrow_btm .two_btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* The deliverables window's Previous reads like the wizard's: a large gradient button. */
.modal.fullpage_modal.deliverables .prevbtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700 !important; font-size: 14px !important; color: #fff !important; border: 0 !important; border-radius: 22px; padding: 9px 20px 9px 14px !important; min-height: 40px; background: var(--moris-gradient, linear-gradient(135deg, #6d007d, #e1003e)) !important; box-shadow: 0 6px 16px rgba(109, 0, 125, .22); cursor: pointer; margin-bottom: 10px; }
.modal.fullpage_modal.deliverables .prevbtn svg, .modal.fullpage_modal.deliverables .prevbtn svg path { fill: #fff; stroke: #fff; }

/* Copy-prompt box: room to read the whole prompt, and a quiet writing state while it is written. */
.prompt_copy .pc_text { min-height: 190px; max-height: 320px; font-size: 13px; line-height: 20px; padding: 12px 14px; resize: vertical; background: #fff; }
.prompt_copy .pc_writing { display: flex; align-items: center; gap: 6px; color: #7a5a95; border: 1px dashed #d9c7e6; border-radius: 10px; min-height: 120px; justify-content: center; margin-top: 10px; }
.prompt_copy .pc_dot { width: 6px; height: 6px; border-radius: 50%; background: #862b8f; animation: pc_pulse 1s infinite ease-in-out; }
.prompt_copy .pc_dot:nth-child(2) { animation-delay: .15s; } .prompt_copy .pc_dot:nth-child(3) { animation-delay: .3s; }
@keyframes pc_pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Cover ring without a client logo: says so, and offers the upload; the export shows no ring at all. */
.roundlogo.nologo { padding: 22px; background-color: #fff; }
.roundlogo.nologo .nologo_in { width: 100%; height: 100%; border: 1.5px dashed #d9c7e6; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; color: #6f6f6f; font-size: 10px; line-height: 13px; }
.roundlogo.nologo .nologo_icon svg { width: 22px; height: 22px; opacity: .55; margin-bottom: 3px; }
.roundlogo.nologo strong { font-size: 11.5px; color: #862b8f; }
.roundlogo.nologo .nologo_btn { margin-top: 5px; border: 0; background: linear-gradient(90deg, #ed2650 0%, #862b8f 100%); color: #fff; font-size: 10px; font-weight: 600; line-height: 22px; padding: 0 12px; border-radius: 20px; cursor: pointer; }

/* Picture upload window: drop, choose or paste. */
.picture_modal .modal-dialog { max-width: 560px; }
.picture_modal .pm_head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; padding-right: 30px; }
.picture_modal .pm_title { font-size: 18px; color: #5A0F6E; font-weight: 600; }
.picture_modal .pm_hint { font-size: 13px; color: #707070; }
.picture_modal .pm_drop { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 34px 20px 26px; border: 2px dashed #DCC8E6; border-radius: 18px; background: #FDFBFE; cursor: pointer; transition: border-color .2s, background .2s; }
.picture_modal .pm_drop.is_over { border-color: #EE1D56; background: #FFF6F9; }
.picture_modal .pm_drop.is_busy { opacity: .6; pointer-events: none; }
.picture_modal .pm_icon { width: 64px; height: 64px; border-radius: 18px; background: #F6E9F8; color: #862b8f; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.picture_modal .pm_drop strong { font-size: 16px; color: #232025; }
.picture_modal .pm_drop > span { font-size: 12px; color: #9a9a9a; }
.picture_modal .pm_btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 4px 0 6px; }
.picture_modal .pm_drop small { font-size: 12px; color: #8E8595; }
.picture_modal .pm_note { margin: 12px 0 0; font-size: 13px; color: #A3123A; text-align: center; }

/* The PDF viewer shows each page as the PDF prints it: the visualize background, the rounded slide, the violet edge. */
.pdf_viewer .pdf_page { padding: 3.1%; background: url("/images/proposal-visualize/company/bg_visualize.avif") center / cover #FAF6FB; border-radius: 0; }
.pdf_viewer .pdf_page img { border-radius: 21px; box-shadow: #6d007d 4px 4px 0; background: #fff; }

/* The email preview sits above the window that opened it. */
.email_preview_modal { z-index: 1075; }
.email_preview_backdrop { z-index: 1070; }
.deck_viewer .viewer_tools { display: flex; align-items: center; gap: 10px; }
.deck_viewer .viewer_tools .view_pdf { min-height: 40px; }

/* ---- Email Templates (2026-11-11): thumbnails with hover actions, the lightbox, the foot link, the WYSIWYG editor ---- */
.email_templates .commonbox.w60 { width: 60px; min-width: 60px; }
.email_templates .commonbox.w380 { width: 380px; min-width: 380px; }
.email_templates .tpl_table .tpl_cat { justify-content: flex-start; gap: 14px; flex-wrap: nowrap; padding: 8px 4px; }
.email_templates .tpl_cat_text { min-width: 0; flex: 1 1 auto; }
.email_templates .tpl_cat_count { font-size: 11px; color: #8a8a8a; white-space: nowrap; }
.email_templates .tpl_name_cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.email_templates .tpl_name_text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.email_templates .tpl_thumb { position: relative; flex: 0 0 auto; width: 72px; height: 24px; border-radius: 6px; overflow: hidden; background: #F3E8F6; border: 1px solid #EFE4F2; }
.email_templates .tpl_thumb.is_large { width: 48px; height: 32px; border-radius: 8px; }
.email_templates .tpl_thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.email_templates .tpl_thumb_over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(44, 10, 66, .62); opacity: 0; transition: opacity .15s; }
.email_templates .tpl_thumb:hover .tpl_thumb_over, .email_templates .tpl_thumb:focus-within .tpl_thumb_over { opacity: 1; }
.email_templates .tpl_thumb_btn { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #fff; color: #5b1f7a; cursor: pointer; margin: 0; padding: 0; line-height: 1; }
.email_templates .tpl_thumb_btn:hover { background: #FDEC07; }
.email_templates .tpl_thumb.is_busy .tpl_thumb_over { opacity: 1; }
.email_templates .tpl_thumb.is_busy .tpl_thumb_btn { opacity: .5; pointer-events: none; }
.email_templates .tpl_thumb_clear { position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; border: 0; background: #E02054; color: #fff; font-size: 11px; line-height: 16px; padding: 0; cursor: pointer; display: none; }
.email_templates .tpl_thumb:hover .tpl_thumb_clear { display: block; }
.email_templates .tpl_foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid #EFE4F2; border-radius: 14px; padding: 16px 20px; margin: 18px 0 24px; }
.email_templates .tpl_foot strong { display: block; font-size: 15px; color: #5b1f7a; font-weight: 600; }
.banner_lightbox .modal_body { padding: 26px 28px; }
.banner_lightbox_img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #EFE4F2; }
.email_settings_page .email_settings_box { margin-top: 16px; }
.email_settings_page .after_note a { color: #6D007D; text-decoration: underline; }

/* The editor: a sheet that looks like the email's content cell (Outfit, the design's colours), the Quill snow toolbar restyled. */
.email_editor .source_toggle { font-size: 12px; color: #8a8a8a; background: none; border: 1px dashed #D9C3E0; border-radius: 8px; padding: 2px 10px; }
.email_editor .source_toggle.is_on, .email_editor .source_toggle:hover { color: #5b1f7a; border-color: #5b1f7a; }
.email_editor .is_hidden { display: none !important; }
.email_editor .body_editor { border: 1px solid #E6C9EC; border-left: 4px solid #5b1f7a; border-radius: 10px; background: #F3ECF6; margin-bottom: 14px; overflow: hidden; }
.email_editor .body_editor.is_changed { border-left-color: #E02054; }
.email_editor .body_toolbar.ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid #E6C9EC; background: #fff; padding: 6px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-family: inherit; }
.email_editor .body_toolbar .ql-formats { margin-right: 10px; display: inline-flex; align-items: center; }
.email_editor .body_toolbar .ql-picker.ql-header { width: 128px; font-size: 12px; }
.email_editor .body_toolbar .ql-picker.ql-header .ql-picker-label::before, .email_editor .body_toolbar .ql-picker.ql-header .ql-picker-item::before { content: 'Paragraph'; }
.email_editor .body_toolbar .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .email_editor .body_toolbar .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: 'Section title'; }
.email_editor .body_toolbar .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .email_editor .body_toolbar .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: 'Greeting line'; }
.email_editor .body_toolbar .ql-snow.ql-toolbar button:hover, .email_editor .body_toolbar button:hover .ql-stroke, .email_editor .body_toolbar button.ql-active .ql-stroke { stroke: #E02054; }
.email_editor .body_toolbar button.ql-active .ql-fill { fill: #E02054; }
.email_editor .body_toolbar .history_btns button { font-size: 15px; line-height: 1; color: #5b1f7a; width: 26px; }
.email_editor .body_sheet { padding: 18px 16px 10px; max-height: 70vh; overflow: auto; }
.email_editor .body_mount.ql-container.ql-snow { border: 0; background: #fff; border-radius: 14px; max-width: 600px; margin: 0 auto; box-shadow: 0 6px 24px rgba(41, 0, 48, .08); font-family: 'Outfit', 'Poppins', Arial, Helvetica, sans-serif; font-size: 15px; }
.email_editor .body_mount .ql-editor { padding: 30px 44px 26px; min-height: 360px; font-family: 'Outfit', 'Poppins', Arial, Helvetica, sans-serif; font-size: 15px; line-height: 25px; color: #2B2B2B; }
.email_editor .body_mount .ql-editor.ql-blank::before { color: #a99bb0; font-style: normal; left: 44px; }
.email_editor .body_mount .ql-editor p { margin: 0 0 16px; }
.email_editor .body_mount .ql-editor h2 { font-size: 21px; line-height: 28px; color: #6A287A; font-weight: 800; margin: 10px 0 12px; padding-bottom: 14px; position: relative; }
.email_editor .body_mount .ql-editor h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: #EE1D56; box-shadow: 52px 0 0 #FDEC07; clip-path: inset(0 -20px 0 0); }
.email_editor .body_mount .ql-editor h2::before { content: ''; position: absolute; left: 52px; bottom: 0; width: 14px; height: 4px; border-radius: 4px; background: #FDEC07; }
.email_editor .body_mount .ql-editor h1, .email_editor .body_mount .ql-editor h3 { font-size: 17px; line-height: 26px; color: #5A0F6E; font-weight: 700; margin: 0 0 16px; }
.email_editor .body_mount .ql-editor strong { font-weight: 700; }
.email_editor .body_mount .ql-editor a { color: #6A287A; font-weight: 600; text-decoration: underline; }
.email_editor .body_mount .ql-editor blockquote { border: 1px solid #EEE3F2; border-left: 4px solid #EE1D56; border-radius: 10px; background: #F7F0FA; padding: 12px 16px; margin: 4px 0 20px; font-size: 13.5px; line-height: 21px; color: #4A4450; }
.email_editor .body_mount .ql-editor ol, .email_editor .body_mount .ql-editor ul { padding-left: 0; margin: 0 0 16px; }
.email_editor .body_mount .ql-editor li { padding-left: 1.6em; margin-bottom: 8px; }
.email_editor .body_mount .ql-editor li[data-list="bullet"] > .ql-ui::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: #EE1D56; vertical-align: middle; margin-right: 11px; }
.email_editor .body_mount .ql-editor li[data-list="ordered"] > .ql-ui::before { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 11px; background: #6A287A; color: #FDEC07; font-size: 11px; font-weight: 800; text-align: center; margin-right: 10px; }
.email_editor .body_mount .ql-editor li[data-list="ordered"] { padding-left: 2.2em; }
.email_editor .body_mount .ql-editor li > .ql-ui { margin-left: -1.6em; }
.email_editor .body_mount .ql-editor li[data-list="ordered"] > .ql-ui { margin-left: -2.2em; }
.email_editor .ql-snow .ql-tooltip { z-index: 30; font-family: inherit; }
.email_editor .body_hint { margin: 0; padding: 0 16px 10px; font-size: 11.5px; line-height: 16px; color: #8a8a8a; }
.email_editor .cta_panel { border: 1px solid #EFE4F2; border-radius: 12px; padding: 12px 14px; }
.email_editor .cta_panel .togglecheck_box input { position: static; width: 16px; height: 16px; opacity: 1; margin: 0; }
.email_editor .cta_panel .togglecheck_box .slider { display: none; }
.email_editor .cta_links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.email_editor .cta_links button { border: 1px solid #E6C9EC; background: #fff; border-radius: 14px; padding: 2px 10px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #5b1f7a; cursor: pointer; }
.email_editor .cta_links button.is_on { background: #5b1f7a; color: #fff; border-color: #5b1f7a; }
.email_editor .cta_pill_sample { display: inline-block; padding: 12px 26px; border-radius: 30px; background: #3A0C52; background-image: linear-gradient(90deg, #2C0A42, #6A1E66 55%, #E1003E 85%, #F0507A); font-family: 'Outfit', Arial, sans-serif; font-size: 13px; line-height: 16px; font-weight: 800; letter-spacing: .4px; color: #FDEC07; text-transform: uppercase; }
.email_editor .html_editor .html_box { height: 420px; }

/* Email Templates table: the row's cells sit side by side at their widths; the category header is one line. */
.tpl_table .fullrow { width: 100%; }
.tpl_table .fullrow .toprow { display: flex; align-items: center; width: 100%; }
.tpl_table .fullrow .toprow .commonbox { display: flex; align-items: center; flex: 0 0 auto; }
.tpl_table .fullrow .toprow .commonbox.w380 { flex: 1 1 380px; min-width: 300px; }
.tpl_table .tpl_name_cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tpl_table .tpl_name_text { display: flex; flex-direction: column; min-width: 0; }
.tpl_table .tpl_name_text .tpl_subject { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tpl_table .tpl_cat { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px; }
.tpl_table .tpl_cat .tpl_thumb { flex: 0 0 auto; }
.tpl_table .tpl_cat .tpl_cat_text { display: flex; flex-direction: column; min-width: 0; }
.tpl_table .tpl_cat .tpl_cat_text p { margin: 0; }
.tpl_table .tpl_cat_count { margin-left: auto; }

.tpl_table .tpl_cat.fullrow { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; }

/* A prompt being written: the caret blinks at its end until the last word lands */
.textarea[data-typing] { caret-color: transparent; background-image: linear-gradient(#862b8f, #862b8f); background-size: 0 0; }
.prompt_copy .pc_text[data-typing], .new_inputlabel.prompt .textarea[data-typing] { box-shadow: inset 0 0 0 1px #d9c7e6; }

/* Go to step: a pill naming the current step opens the numbered list; Back to Proposals beside it on every step. */
.step_proposal .step_nav { position: relative; }
.step_proposal .step_nav_btn { display: inline-flex; align-items: center; gap: 8px; min-width: 230px; height: 40px; padding: 0 12px 0 6px; border: 1px solid #d9c7e6; border-radius: 22px; background: #fff; font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 500; color: #333; cursor: pointer; text-align: left; }
.step_proposal .step_nav_btn:hover, .step_proposal .step_nav.show .step_nav_btn { border-color: #6D007D; box-shadow: 0 0 0 2px rgba(109, 0, 125, .12); }
.step_proposal .step_nav_btn .num, .step_proposal .step_nav_item .num { flex: 0 0 28px; height: 28px; border-radius: 14px; background: #6D007D; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.step_proposal .step_nav_btn .name { flex: 1 1 auto; white-space: nowrap; }
.step_proposal .step_nav_btn .chev { flex: 0 0 auto; color: #6D007D; transition: transform .15s; }
.step_proposal .step_nav.show .step_nav_btn .chev { transform: rotate(180deg); }
.step_proposal .step_nav_menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1050; width: 290px; max-height: min(70vh, 460px); overflow: auto; padding: 6px 0; background: #fff; border: 1px solid #EAEAEA; border-radius: 12px; box-shadow: 0 12px 32px rgba(41, 0, 48, .16); font-family: "Outfit", sans-serif; }
.step_proposal .step_nav_item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 14px; border: 0; background: none; font-family: inherit; font-size: 13px; line-height: 18px; color: #222; text-align: left; cursor: pointer; }
.step_proposal .step_nav_item .num { flex-basis: 26px; height: 22px; border-radius: 11px; background: #F4ECF6; color: #6D007D; }
.step_proposal .step_nav_item .name { flex: 1 1 auto; }
.step_proposal button.step_nav_item:hover { background: #FBF7FC; color: #6D007D; }
.step_proposal .step_nav_item.current { font-weight: 600; color: #6D007D; }
.step_proposal .step_nav_item.current .num { background: #6D007D; color: #fff; }
.step_proposal .step_nav_item .tag { margin-left: auto; font-size: 10px; font-weight: 600; color: #0E9F52; background: #E8F7EE; border-radius: 8px; padding: 1px 7px; }
.step_proposal .step_nav_item.disabled { color: #b9b9b9; cursor: not-allowed; }
.step_proposal .step_nav_item.disabled .num { background: #F5F5F5; color: #c4c4c4; }
.step_proposal .step_nav_item .why { margin-left: auto; font-size: 10px; color: #c4c4c4; white-space: nowrap; }
.step_proposal .step_back_link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid #d9c7e6; border-radius: 22px; background: #fff; font-size: 12px; font-weight: 600; color: #6D007D; text-decoration: none; white-space: nowrap; }
.step_proposal .step_back_link:hover { background: #6D007D; color: #fff; border-color: #6D007D; }
.step_proposal .visualize_page .step_navrow { justify-content: center; }
@media (max-width: 767px) { .step_proposal .step_navrow { flex-wrap: wrap; } .step_proposal .step_nav_btn { min-width: 0; } }

/* Send an Email: the documents drawn for the email, and the hidden sources they are drawn from */
.send_email_modal .se_docs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.send_email_modal .se_doc { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #4a1a56; cursor: pointer; margin: 0; }
.send_email_modal .se_doc input { width: 16px; height: 16px; accent-color: #6D007D; margin: 0; }
.send_email_modal .se_pdf_source { position: fixed; left: -12000px; top: 0; width: 900px; pointer-events: none; }

/* Step 10 summary: the deliverables item carries its View / Edit / Manage links */
.final_proposal .summary_links .textbtn { padding: 0; background: none; border: 0; font-weight: 600; }
.final_proposal .summary_links .dlive { width: 1px; height: 12px; background: #e3d6ea; display: inline-block; }

/* The deliverables PDF page: the View Deliverables sheet at a fixed width, cut into landscape pages when saved */
.dpdf_admin { background: #e9e9ec; min-height: 100vh; padding-bottom: 40px; }
.dpdf_admin .dpdf_toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e6e0ea; }
.dpdf_admin .dpdf_toolbar .tb_title { display: flex; flex-direction: column; font-size: 12px; color: #7a6a80; }
.dpdf_admin .dpdf_toolbar .tb_title b { font-size: 15px; color: #6D007D; }
.dpdf_admin .dpdf_toolbar .tb_actions { display: flex; gap: 10px; }
.dpdf_admin .dpdf_sheet { width: 1400px; margin: 24px auto; background: #fff; box-shadow: 0 5px 28px rgba(0, 0, 0, .12); }
.dpdf_admin[data-embed] { background: #fff; padding: 0; }
.dpdf_admin[data-embed] .dpdf_sheet { margin: 0; box-shadow: none; }
.dpdf_admin .deliverables_wrap { min-height: 0; }
.deliverables_admin .sheet_embed_bar .cp_sheet_bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }

/* Step 10 summary: the deliverables item is the one to notice, so it sits in its own lit panel with pill links */
.final_proposal li[data-block="summary-deliverables"] { flex: 1 1 100% !important; max-width: 100% !important; border: 0 !important; padding: 0 !important; margin-top: 14px; }
.final_proposal li[data-block="summary-deliverables"] > .text { width: 100%; padding: 16px 20px; border-radius: 14px; border: 1px solid #E6CDEF; background: linear-gradient(135deg, #FBF3FD, #FFF0F4); box-shadow: 0 6px 18px rgba(109, 0, 125, .08); border-left: 5px solid #6D007D; }
.final_proposal li[data-block="summary-deliverables"] .label { color: #6D007D; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 11px; }
.final_proposal li[data-block="summary-deliverables"] h4 { font-size: 20px; color: #6D007D; }
.final_proposal li[data-block="summary-deliverables"] .summary_links { margin-top: 10px !important; gap: 8px !important; }
.final_proposal li[data-block="summary-deliverables"] .summary_links .dlive { display: none; }
.final_proposal li[data-block="summary-deliverables"] .summary_links .textbtn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px !important; border-radius: 16px; border: 1px solid #d9c7e6 !important; background: #fff !important; font-size: 12px; font-weight: 600; color: #6D007D; text-decoration: none; }
.final_proposal li[data-block="summary-deliverables"] .summary_links .textbtn.redtext { color: #E1003E; border-color: #f3c5d2 !important; }
.final_proposal li[data-block="summary-deliverables"] .summary_links .textbtn:hover { background: #6D007D !important; color: #fff; border-color: #6D007D !important; }
.final_proposal li[data-block="summary-deliverables"] .summary_links .textbtn.redtext:hover { background: #E1003E !important; border-color: #E1003E !important; }

/* View Deliverables (admin design): the category bands, notes and total of the Deliverables System sheet */
.deliverables_admin .pricetable_in > ul > li.category_row { display: block; background: linear-gradient(90deg, #F4ECF6, #FBF5FC); padding: 14px 24px; border-bottom: 1px solid #ECE3F0; }
.deliverables_admin .category_row .category_title h3 { font-size: 16px; margin: 0; }
.deliverables_admin .category_row .category_title p { margin: 2px 0 0; font-size: 12px; color: #6f6f75; }
.deliverables_admin .category_row .category_count { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 14px; background: #fff; border: 1px solid #E6CDEF; font-size: 11px; font-weight: 700; color: #6D007D; white-space: nowrap; }
.deliverables_admin .pricetable_in > ul > li.category_note { display: block; padding: 10px 24px; background: #FBFAFC; border-bottom: 1px solid #ECE3F0; }
.deliverables_admin .category_note p { margin: 0; font-size: 12px; font-style: italic; color: #6f6f75; }
.deliverables_admin .category_note.important { background: #FFF5F8; border-left: 4px solid #E1003E; }
.deliverables_admin .category_note.important p { font-style: normal; color: #2B2B2B; }
.deliverables_admin [data-role="total-row"] .lftbox { flex-direction: column; align-items: flex-start; gap: 2px; }
.deliverables_admin .category_row .category_head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; }

/* Step 10: Deliverables as a section of its own, after the summary, in the same card as Send to the Client */
.final_proposal .deliverables_box .summary_links .c_btn { white-space: nowrap; }
.final_proposal .deliverables_box { margin-top: 20px; }

/* Steps 03 and 04: the service row's deliverable actions on one line */
.selected_table .commonbox.td4.deliverable_actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 14px; white-space: nowrap; }
.selected_table .commonbox.td4.deliverable_actions .textbtn { text-decoration: none; }
.selected_table .fullrow > div.td4.deliverable_actions { width: auto !important; min-width: 430px !important; justify-content: flex-end; }

/* Selected Services: the proposal-wide deliverable actions sit once in the card's head, not on every service row */
.selected_services .head_section.with_actions { flex-direction: row !important; flex-wrap: wrap; gap: 10px 16px; }
.selected_services .head_section.with_actions .deliverable_actions { gap: 18px; white-space: nowrap; }
.selected_services .head_section.with_actions .deliverable_actions .textbtn { text-decoration: none; }
.selected_services .head_section.with_actions .deliverable_actions .textbtn svg, .selected_services .head_section.with_actions .deliverable_actions .textbtn img { margin-right: 6px; }

/* Manage Deliverables in sheet mode: the template's columns, scrolling sideways inside the window */
.fullpage_modal.deliverables.sheet_mode .mainbox { overflow-x: auto; }
.fullpage_modal.deliverables.sheet_mode .thead .fullrow, .fullpage_modal.deliverables.sheet_mode .tbody .fullrow { min-width: 2050px; }
.fullpage_modal.deliverables.sheet_mode .commonbox.w70 { width: 70px; min-width: 70px; }
.fullpage_modal.deliverables.sheet_mode .commonbox.w150 { width: 150px; min-width: 150px; }
.fullpage_modal.deliverables.sheet_mode .lines_cell { white-space: pre-line; font-size: 12px; line-height: 18px; }
.fullpage_modal.deliverables.sheet_mode .num_cell { min-width: 24px; }
.fullpage_modal.deliverables.sheet_mode .svc_select { height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #d9c7e6; border-radius: 8px; background: #fff; width: 100%; }
.fullpage_modal.deliverables.sheet_mode .fullrow.editing .onclick_editable { outline: 1px dashed #c9a6d6; border-radius: 6px; padding: 2px 4px; min-height: 22px; }
/* Upload page: assign each category to a service when the proposal has several (the page's own cards and controls) */
.udl .assign { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: var(--lav, #F6EFF9); }
.udl .assign .assign-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.udl .assign .assign-head b { color: var(--p, #6A287A); font-size: 16px; font-weight: 700; }
.udl .assign .assign-head span { font-size: 13px; color: #6f6f75; line-height: 1.5; }
.udl .assign .assign-rows { display: flex; flex-direction: column; gap: 10px; }
.udl .assign .assign-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 280px; align-items: center; gap: 14px; margin: 0; padding: 12px 16px; background: #fff; border: 1px solid #E3D2EC; border-radius: 14px; }
.udl .assign .assign-row::before { content: attr(data-no); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(100deg, #EE1D56, #6A287A); color: #fff; font-weight: 700; font-size: 13px; }
.udl .assign .assign-cat { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.udl .assign .assign-cat b { font-size: 14px; color: var(--ink, #2B2B2B); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.udl .assign .assign-cat small { font-size: 12px; color: #6f6f75; }
.udl .assign .assign-select { height: 42px; border: 1px solid #E3D2EC; border-radius: 12px; padding: 0 12px; font-size: 14px; color: var(--ink, #2B2B2B); background: #fff; width: 100%; }
@media (max-width: 767px) { .udl .assign .assign-row { grid-template-columns: 36px minmax(0, 1fr); } .udl .assign .assign-select { grid-column: 1 / -1; } }

/* Step 10: Download and Save As Draft sit under the version and file name */
.final_proposal .final_actions { margin-top: 6px; }
.final_proposal .final_actions .c_btn { min-width: 180px; }
.final_proposal .final_actions .ctext { flex: 1 1 260px; font-size: 12px; color: #6f6f75; }

/* Email templates: a typed email is one row; its five designs open in a window */
.email_templates .linkbtn { padding: 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.email_templates .linkbtn:hover { color: #6D007D; }
.designs_modal .modal-dialog { max-width: 760px; }
.designs_modal .pm_head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.designs_modal .pm_title { font-size: 18px; color: #6D007D; }
.designs_modal .pm_hint { font-size: 12px; color: #6f6f75; }
.designs_modal .tpl_designs { display: flex; flex-direction: column; gap: 10px; }
.designs_modal .tpl_design { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid #ECE3F0; border-radius: 12px; background: #FCFAFD; }
.designs_modal .tpl_design.is_off { opacity: .6; }
.designs_modal .tpl_design .tpl_design_text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.designs_modal .tpl_design .tpl_design_text .btext { font-size: 14px; }
.designs_modal .tpl_design .tpl_design_text .ctext { font-size: 11px; color: #8a7a90; }

/* Email editor: the proposal type select on a typed email (one design per type) */
.email_editor_page .tpl_type_pick { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; }
.email_editor_page .tpl_type_pick > span { font-size: 13px; font-weight: 600; color: #4a4a4a; white-space: nowrap; }
.email_editor_page .tpl_type_pick .form-select { width: auto; min-width: 240px; height: 36px; padding: 4px 36px 4px 14px; border-radius: 18px; border: 1px solid #d9d9e3; font-size: 13px; font-weight: 600; color: #1b1b1b; background-color: #fff; }
.email_editor_page .tpl_type_pick .form-select:focus { border-color: #7b1fa2; box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.12); }

/* The client's proposal deck: the company's mark where the admin has Close */
.deck_viewer .viewer_brand { display: flex; align-items: center; height: 34px; }
.deck_viewer .viewer_brand img { height: 34px; width: auto; display: block; }
@media (max-width: 700px) {
  .deck_viewer .viewer_bar { height: auto; min-height: 60px; flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
  .deck_viewer .viewer_title { flex: 1 1 140px; }
  .deck_viewer .viewer_tools { flex: 1 1 100%; justify-content: space-between; }
}

/* The fitted box keeps its last child's bottom margin inside itself, so the fit measures the room the text really takes (the closing slide's cards sat 11px over the footer). */
.fit_scale > div:not(.d-flex) { display: flow-root; }

/* The row of team cards with the document's five members: each card takes the room seven would have shared. */
.team_members.few .member_details { width: 158px; min-width: 158px; }

/* Step 09 · Review Deliverables */
.deliverables_step .dl_summary { margin: 14px 0 0; padding: 0 20px; font-size: 13px; color: #4a4a4a; }
.deliverables_step .dl_prompt { margin: 16px 20px 0; padding: 16px 18px; border: 1px solid #E9E2F1; border-radius: 14px; background: #FCFAFE; }
.deliverables_step .dl_prompt h4 { font-size: 15px; }
.deliverables_step .dl_prompt .wait { color: #8A5300; font-size: 12.5px; }
.deliverables_step .dl_prompt_body { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #E9E2F1; display: flex; flex-direction: column; gap: 10px; }
.deliverables_step .dl_prompt .vars { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; }
.deliverables_step .dl_prompt .vars div { display: flex; gap: 8px; font-size: 12.5px; line-height: 18px; min-width: 0; }
.deliverables_step .dl_prompt .vars dt { flex: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #6D007D; font-weight: 600; }
.deliverables_step .dl_prompt .vars dd { margin: 0; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deliverables_step .dl_prompt .text { width: 100%; min-height: 300px; padding: 12px 14px; border: 1px solid #E9E2F1; border-radius: 10px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: #222; background: #fff; resize: vertical; }
.deliverables_step .dl_confirm { margin: 16px 20px 20px; padding: 12px 16px; border-radius: 10px; background: #FFF4E5; color: #8A5300; font-size: 13px; }
.deliverables_step .dl_confirm.is_on { background: #EAF8EF; color: #1E6B3A; }
.deliverables_step .c_btn:disabled { opacity: .5; cursor: not-allowed; }

/* Step 09 · the deliverables table, in the View Deliverables design, filling the step's box */
.deliverables_step .dl_table { margin: 18px 20px 0; }
.deliverables_step .dl_table .table_borderbox { position: relative; border-radius: 42px; border: 1px solid #EAEAEA93; }
.deliverables_step .dl_table .table_borderbox:before { content: ''; background: linear-gradient(90deg, #ffeb00 0%, #f64e68 49%, #8642d2 100%); width: 100%; height: 88px; position: absolute; left: 0; top: -7px; border-radius: 50px; }
.deliverables_step .dl_table .pricetable_wrap { background-color: #fff; width: 100%; padding: 15px; border-radius: 42px; margin: 0 auto; position: relative; }
.deliverables_step .dl_table .pricetable { background-color: #fff; width: 100%; position: relative; border-radius: 52px; }
.deliverables_step .dl_table .pricetable_in { width: 100%; position: relative; border-radius: 44px; }
.deliverables_step .dl_table .pricetable_in ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 2; }
.deliverables_step .dl_table .pricetable_in > ul > li { width: 100%; display: flex; gap: 0 20px; }
.deliverables_step .dl_table .pricetable_in > ul > li h3 { font-size: 16px; line-height: 24px; font-family: "Poppins", sans-serif !important; margin-bottom: 10px; }
.deliverables_step .dl_table .pricetable_in > ul > li .lftbox { background-color: rgba(244, 237, 255, 0.5); flex: 0 0 22%; min-width: 200px; max-width: 300px; padding: 22px 24px; border-bottom: 1px solid #EAEAEA93; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox { flex: 1 1 auto; min-width: 0; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox > div { display: flex; flex-direction: column; padding: 22px 24px; border-left: 1px solid #EAEAEA93; border-bottom: 1px solid #EAEAEA93; min-width: 0; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox > div p { font-size: 11px; line-height: 16px; font-weight: 300; color: #000; margin: 0; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox > div > ul { gap: 5px; margin: 0; padding: 0; list-style: none; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox > div > ul li { font-size: 11px; line-height: 16px; font-weight: 300; color: #000; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox > div > ul.checklist li { background: url("../images/all-services/icon_check_border.svg") no-repeat left top 2px; background-size: 12px 12px; padding-left: 20px; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td1 { flex: 1.25 1 0; border-left: 3px solid #FFF5F8; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td2 { flex: 1.2 1 0; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td3, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td4, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td5 { flex: 0 0 140px; padding-left: 14px; padding-right: 14px; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td3 .btext, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td3 .ctext, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td4 .btext, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td4 .ctext, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td5 .btext, .deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td5 .ctext { text-align: center; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .td5 { border-right: 3px solid #FFF5F8; }
.deliverables_step .dl_table .pricetable_in > ul > li .rgtbox .is_chosen { background: #FFFBEB; }
.deliverables_step .dl_table .pricetable_in > ul > li.head_row .dline { width: 44px; }
.deliverables_step .dl_table .pricetable_in > ul > li.head_row .lftbox { border-radius: 44px 44px 0 0; }
.deliverables_step .dl_table .pricetable_in > ul > li.head_row .rgtbox > div { border-top: 3px solid #FFF5F8; }
.deliverables_step .dl_table .pricetable_in > ul > li.head_row .rgtbox > div.td1 { border-radius: 44px 0 0 0; }
.deliverables_step .dl_table .pricetable_in > ul > li.head_row .rgtbox > div.td5 { border-radius: 0 44px 0 0; }
.deliverables_step .dl_table .pricetable_in > ul > li.category_row { display: block; background: linear-gradient(90deg, #F4ECF6, #FBF5FC); padding: 14px 24px; border-bottom: 1px solid #ECE3F0; }
.deliverables_step .dl_table .category_row .category_head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; }
.deliverables_step .dl_table .category_row .category_title h3 { font-size: 16px; margin: 0; }
.deliverables_step .dl_table .category_row .category_title p { margin: 2px 0 0; font-size: 12px; color: #6f6f75; }
.deliverables_step .dl_table .category_row .category_count { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 14px; background: #fff; border: 1px solid #E6CDEF; font-size: 11px; font-weight: 700; color: #6D007D; white-space: nowrap; }
.deliverables_step .dl_table .pricetable_in > ul > li.category_note { display: block; padding: 10px 24px; background: #FBFAFC; border-bottom: 1px solid #ECE3F0; }
.deliverables_step .dl_table .category_note p { margin: 0; font-size: 12px; font-style: italic; color: #6f6f75; }
.deliverables_step .dl_table .category_note.important { background: #FFF5F8; border-left: 4px solid #E1003E; }
.deliverables_step .dl_table .category_note.important p { font-style: normal; color: #2B2B2B; }
.deliverables_step .dl_table .pricetable_in > ul > li:last-child .lftbox { background-color: #EBE4F7; padding-top: 15px; padding-bottom: 15px; border-radius: 0 0 44px 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.deliverables_step .dl_table .pricetable_in > ul > li:last-child .rgtbox > div { padding-top: 15px; padding-bottom: 15px; border-bottom: 3px solid #FFF5F8; }
.deliverables_step .dl_table .pricetable_in > ul > li:last-child .rgtbox .td1 { border-radius: 0 0 0 44px; }
.deliverables_step .dl_table .pricetable_in > ul > li:last-child .rgtbox .td5 { border-radius: 0 0 44px 0; }
.deliverables_step .dl_table .btext { font-size: 13px; line-height: 18px; }
.deliverables_step .dl_table .graytext { color: #A8A8A8; }

/* The proposals list: the Email column */
.email_action { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.email_action .email_btn { height: 26px; min-height: 0; min-width: 0; padding: 0 11px; font-size: 10.5px; line-height: 1; font-weight: 600; white-space: nowrap; }
.email_action .email_btn:hover { font-size: 10.5px; }
.email_action .email_btn.gradient:hover { color: #fff; }
.email_action .email_btn:disabled { opacity: .55; cursor: not-allowed; }
.email_action .email_btn.border_btn:disabled:hover { background: transparent; color: #6D007D; }
.email_action .email_hint { font-size: 11px; line-height: 14px; color: #777; }

/* The Send Proposal popup (the design's window): curved purple head, CC row, three upload cards, the responsibility note */
.send_proposal_modal { overflow-y: auto; }
.send_proposal_modal .modal-dialog { max-width: 760px; width: calc(100% - 32px); margin: 24px auto; min-height: 0; }
.send_proposal_modal .modal-content { border-radius: 20px; overflow: hidden; }
.send_proposal_modal > .close { display: none; }
.sp_close { position: absolute; right: 14px; top: 14px; z-index: 6; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sp_close:hover { background: #E1003E; }
.sp_recipients { position: relative; }
.sp_chips { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 40px; padding: 4px 8px; border: 1px solid #E3E3E3; border-radius: 6px; background: #fff; cursor: text; }
.sp_chips:focus-within { border-color: #8A1B88; box-shadow: 0 0 0 3px rgba(138, 27, 136, .1); }
.sp_chips.is_error { border-color: #E1003E; }
.sp_chips input { flex: 1 1 120px; min-width: 100px; height: 28px; border: 0; outline: none; font-size: 13px; color: #333; background: transparent; }
.sp_chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px 0 3px; border-radius: 14px; background: #F4EAF6; color: #4A0E57; font-size: 12px; font-weight: 500; max-width: 100%; }
.sp_chip img, .sp_chip i { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.sp_chip i { display: inline-flex; align-items: center; justify-content: center; background: #8A1B88; color: #fff; font-style: normal; font-size: 11px; font-weight: 600; }
.sp_chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.sp_chip button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: transparent; color: #8A1B88; font-size: 14px; line-height: 18px; padding: 0; cursor: pointer; }
.sp_chip button:hover { background: #E1003E; color: #fff; }
.sp_people { position: absolute; left: 0; right: 0; top: calc(100% - 8px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px rgba(40, 10, 60, .18); max-height: 240px; overflow-y: auto; }
.sp_people li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.sp_people li:hover, .sp_people li.is_active { background: #F7EEF9; }
.sp_people li img, .sp_people li i { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.sp_people li i { display: inline-flex; align-items: center; justify-content: center; background: #8A1B88; color: #fff; font-style: normal; font-size: 12px; font-weight: 600; }
.sp_people .who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sp_people .who strong { font-size: 13px; font-weight: 600; color: #222; line-height: 16px; }
.sp_people .who small { font-size: 11px; color: #777; line-height: 14px; }
.sp_people .addr { font-size: 11px; color: #6A0F7B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.sp_people li.typed .who strong { color: #6A0F7B; }
.sp_popup { background: #fff; }
.sp_head { position: relative; height: 112px; background: radial-gradient(120% 140% at 50% -40%, #B0268F 0%, #8A1B88 45%, #6A0F7B 100%); border-radius: 0 0 50% 50% / 0 0 44px 44px; }
.sp_head .dot { position: absolute; border-radius: 50%; background: #FDEC07; }
.sp_head .d1 { left: 44px; top: 28px; width: 16px; height: 16px; } .sp_head .d2 { left: 70px; top: 40px; width: 9px; height: 9px; } .sp_head .d3 { left: 92px; top: 42px; width: 6px; height: 6px; }
.sp_head .d4 { right: 48px; top: 28px; width: 16px; height: 16px; } .sp_head .d5 { right: 74px; top: 40px; width: 9px; height: 9px; } .sp_head .d6 { right: 96px; top: 42px; width: 6px; height: 6px; }
.sp_avatar { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); width: 92px; height: 92px; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 8px 24px rgba(106, 15, 123, .18); }
.sp_avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #FBF5FC; }
.sp_body { padding: 46px 28px 22px; }
.sp_title { text-align: center; font-size: 18px; font-weight: 600; color: #6A0F7B; margin: 0 0 16px; }
.sp_title span { display: block; font-size: 12px; font-weight: 400; color: #777; margin-top: 2px; }
.sp_grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sp_field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.sp_field label { font-size: 13px; font-weight: 500; color: #1b1b1b; }
.sp_field label em { font-style: normal; color: #E1003E; font-size: 12px; }
.sp_input { height: 40px; border: 1px solid #E3E3E3; border-radius: 6px; padding: 0 14px; font-size: 13px; color: #333; background: #fff; }
.sp_input:focus { outline: none; border-color: #8A1B88; box-shadow: 0 0 0 3px rgba(138, 27, 136, .1); }
.sp_select .ui.dropdown { display: block; height: 40px !important; min-height: 0; line-height: 38px; border: 1px solid #E3E3E3 !important; border-radius: 6px !important; padding: 0 40px 0 14px !important; font-size: 13px; background-color: #fff !important; background-size: 11px auto !important; transition: border-color .15s ease, box-shadow .15s ease; }
.sp_select .ui.dropdown:hover { border-color: #C9B6CF !important; }
.sp_select .ui.dropdown .text { display: block; font-family: inherit; font-size: 13px; font-weight: 400; color: #333; line-height: 38px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp_select .ui.dropdown .text.default { color: #999; }
.sp_select .ui.dropdown .dd_label { font-size: 13px; }
.sp_select .ui.dropdown.active { border-color: #8A1B88 !important; box-shadow: 0 0 0 3px rgba(138, 27, 136, .1); }
/* The option list drops under the field like a proper select (the modal rule that lets lists expand inline would float it over the title). */
.send_proposal_modal .sp_select .ui.dropdown .menu { position: absolute !important; left: 0; top: calc(100% + 6px); width: 100% !important; min-width: 0; max-width: none; margin: 0; z-index: 40; background: #fff; border: 1px solid #ECE4EF; border-radius: 10px; box-shadow: 0 14px 34px rgba(40, 10, 60, .16); line-height: 1.4; animation: mm_up .18s ease-out backwards; overflow: hidden; }
.send_proposal_modal .sp_select .ui.dropdown .menu .selectsearch_wrap { padding: 10px 10px 6px; }
.send_proposal_modal .sp_select .ui.dropdown .menu .search_area input { height: 36px !important; border: 1px solid #E3E3E3 !important; border-radius: 6px; padding: 0 12px !important; font-size: 13px; }
.send_proposal_modal .sp_select .ui.dropdown .menu .select_scrollarea { max-height: 264px; overflow-y: auto; padding: 0 6px 6px; }
.send_proposal_modal .sp_select .ui.dropdown .menu .item { font-family: inherit; font-size: 13px; font-weight: 400; color: #333; padding: 9px 10px !important; border-radius: 7px; border: 0; white-space: normal; line-height: 18px; }
.send_proposal_modal .sp_select .ui.dropdown .menu .item:hover, .send_proposal_modal .sp_select .ui.dropdown .menu .item.active, .send_proposal_modal .sp_select .ui.dropdown .menu .item.selected { background: #F7EEF9; color: #6A0F7B; font-weight: 500; }
/* A proper modal: a dark backdrop behind the window, not the sheet's white wash. */
.send_proposal_modal.modal { background: rgba(28, 8, 36, .55) !important; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.send_proposal_modal .modal-content { box-shadow: 0 24px 60px rgba(20, 4, 30, .35); }
.sp_hint { font-size: 11px; color: #777; }
.sp_err { font-size: 11px; color: #E1003E; }
.sp_err.form { margin: 8px 0 0; font-size: 12px; }
.sp_cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2px 0 12px; }
.sp_card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #ECE3F0; border-radius: 12px; padding: 10px 10px 10px 12px; background: #FDFBFE; }
.sp_card_pic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.sp_card_pic img { max-width: 44px; max-height: 44px; }
.sp_card_text { min-width: 0; }
.sp_card h4 { font-size: 10.5px; letter-spacing: .5px; font-weight: 700; color: #E1003E; margin: 0 0 2px; }
.sp_card p { font-size: 11px; line-height: 15px; color: #333; margin: 0; }
.sp_card p em { font-style: normal; color: #999; }
.sp_upload { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: #E1003E; font-weight: 700; font-size: 10px; cursor: pointer; padding: 0; }
.sp_upload i { width: 30px; height: 30px; border-radius: 50%; background: #E1003E; color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.sp_upload:hover i { transform: translateY(-2px); background: #c80037; }
.sp_files { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.sp_files li { font-size: 11px; color: #333; display: flex; justify-content: space-between; gap: 6px; background: #F5EAF8; border-radius: 6px; padding: 2px 8px; }
.sp_files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp_files li button { border: 0; background: none; color: #E1003E; font-size: 13px; cursor: pointer; line-height: 1; }
.sp_docs { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: -4px 0 12px; font-size: 12px; color: #333; }
.sp_docs label { display: flex; align-items: center; gap: 6px; margin: 0; }
.sp_docs input { accent-color: #6A0F7B; }
.sp_resp { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #FFF6F8; border: 1px solid #FBE1E8; }
.sp_resp_icon { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #E1003E; color: #E1003E; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; font-style: italic; }
.sp_resp strong { display: block; font-size: 12px; margin-bottom: 2px; color: #1b1b1b; }
.sp_resp p { font-size: 11px; line-height: 16px; color: #555; margin: 0; max-height: 64px; overflow-y: auto; }
.sp_actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.sp_agree { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #1b1b1b; cursor: pointer; }
.sp_agree input { width: 16px; height: 16px; accent-color: #6A0F7B; }
.sp_btns { display: flex; align-items: center; gap: 10px; }
.sp_preview { background: none; border: 1px solid #E3E3E3; border-radius: 6px; height: 40px; padding: 0 16px; font-size: 12px; font-weight: 600; color: #6A0F7B; cursor: pointer; }
.sp_preview:hover:not(:disabled) { border-color: #6A0F7B; }
.sp_send { background: linear-gradient(110deg, #6E0D88 0%, #E1003E 100%); border: 0; border-radius: 6px; height: 40px; padding: 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .8px; color: #fff; cursor: pointer; }
.sp_send:hover:not(:disabled) { background: linear-gradient(110deg, #E1003E 0%, #6E0D88 100%); }
.sp_send:disabled, .sp_preview:disabled { opacity: .55; cursor: not-allowed; }
.send_proposal_modal .deck_frame { position: absolute; left: -9999px; top: 0; width: 1200px; height: 700px; opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .sp_grid.two, .sp_cards { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sp_grid.two, .sp_cards { grid-template-columns: 1fr; } .sp_body { padding: 64px 18px 24px; } }

/* Visualize › Image Position: a nine-point grid; the picture is placed to the chosen point of its frame */
.image_focus { display: flex; align-items: center; gap: 14px; }
.image_focus .grid { display: grid; grid-template-columns: repeat(3, 22px); gap: 4px; padding: 6px; border: 1px solid #E9E2F1; border-radius: 8px; background: #FCFAFE; }
.image_focus .grid button { width: 22px; height: 22px; border-radius: 4px; border: 1px solid #E3D2EC; background: #fff; cursor: pointer; padding: 0; }
.image_focus .grid button:hover { border-color: #6D007D; }
.image_focus .grid button.is_on { background: linear-gradient(135deg, #6D007D, #E1003E); border-color: transparent; }
.image_focus .reset { background: none; border: 0; color: #6D007D; font-size: 12px; text-decoration: underline; cursor: pointer; }
.image_focus small { font-size: 11px; color: #777; }

/* Visualize: the close at the top right, like every step */
.visualize_page .fullrow_top { position: relative; }
.visualize_page .visualize_close { position: absolute; right: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #6D007D; background: #fff; border: 1px solid #E3D2EC; z-index: 3; }
.visualize_page .visualize_close:hover { color: #E1003E; border-color: #E1003E; }
/* Upload Deliverables as a pop-up (2026-11-17): the upload stylesheet pins .udl fixed and full-page with !important; the
   same weight puts it inside the window. Inner parts (state, drop zone, result, sheet) keep the sheet's styles, compacted. */
.udl_modal.modal { background: rgba(28, 8, 36, .55) !important; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); overflow-y: auto; z-index: 100001; }
.modal.common_modal.udl_modal .modal-dialog { max-width: 960px !important; width: calc(100% - 32px) !important; margin: 24px auto; min-height: 0; }
.udl_modal .modal-content { border-radius: 20px; overflow: hidden; border: 0; box-shadow: 0 24px 60px rgba(20, 4, 30, .35); background: #fff; }
.page_wrap .udl.udl_pop, .udl.udl_pop { position: static !important; inset: auto !important; z-index: auto !important; overflow: visible !important; min-height: 0 !important; background: #fff !important; font-size: 14px; }
.page_wrap .udl.udl_pop .udl_main, .udl.udl_pop .udl_main { max-width: none !important; padding: 16px 24px 24px !important; margin: 0 !important; }
.udl_pop .pop_head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 60px 18px 24px; background: linear-gradient(90deg, #FBF5FC, #FFF5F8); }
.udl_pop .pop_head .t { min-width: 0; }
.udl_pop .pop_head .eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #E1003E; margin-bottom: 4px; }
.udl_pop .pop_head h2 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; color: #5A0F6E; }
.udl_pop .pop_head p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #6F6876; max-width: 560px; }
.udl_pop .pop_head .tb-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: none; margin-top: 2px; }
.udl_pop .pop_head .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #FDEC07, #EE1D56 45%, #6A287A); }
.udl_pop .pop_close { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: #6A287A; box-shadow: 0 2px 8px rgba(106, 40, 122, .18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.udl_pop .pop_close:hover { background: #E1003E; color: #fff; }
.udl_pop .btn { padding: 7px 14px; font-size: 12.5px; gap: 6px; }
.udl_pop .btn svg { width: 15px; height: 15px; }
.udl_pop .btn.primary.big { padding: 10px 22px; font-size: 14px; }
.udl_pop .btn.ghost.danger { color: #E1003E; border-color: #F3C7D3; }
.udl_pop .btn.ghost.danger:hover { background: #FFF1F4; }
.udl_pop .mprompt { margin-top: 0; padding: 12px 16px; border-radius: 14px; }
.udl_pop .mprompt h2 { font-size: 15px; } .udl_pop .mprompt p { font-size: 12.5px; }
.udl_pop .state { margin-top: 0; padding: 10px 14px; border-radius: 14px; font-size: 13px; }
.udl_pop .mprompt + .state { margin-top: 12px; }
.udl_pop .state .acts { display: flex; gap: 8px; }
.udl_pop .drop { margin-top: 12px; padding: 26px 20px 22px; border-radius: 18px; min-height: 0; }
.udl_pop .drop .ic { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 12px; }
.udl_pop .drop .ic svg { width: 26px; height: 26px; }
.udl_pop .drop h2 { font-size: 18px; } .udl_pop .drop p { font-size: 13px; max-width: 560px; margin: 6px auto 14px; }
.udl_pop .drop .small { font-size: 12px; margin: 12px 0 0; }
.udl_pop .result { margin-top: 12px; padding: 16px 18px; border-radius: 18px; }
.udl_pop .result .file { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.udl_pop .result .stats { margin-top: 12px; }
.udl_pop .result .stat b { font-size: 20px; } .udl_pop .result .stat span { font-size: 11.5px; }
.udl_pop .issues { max-height: 180px; overflow-y: auto; }
.udl_pop .sheet { margin-top: 16px; }
.udl_pop .sheet h2 { font-size: 15px; } .udl_pop .sheet-head p { font-size: 12px; }
.udl_pop .tablebox { max-height: 40vh; margin-top: 10px; font-size: 12px; }
.udl_pop .res-acts { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767px) { .udl_pop .pop_head { flex-direction: column; padding-right: 24px; } .udl_pop .pop_head .tb-actions { justify-content: flex-start; } }

/* Business Entities (Settings): the listing, the editor and the entity cards in Email Settings (2026-11-16). */
.entities_page .after_note a, .entity_editor a { color: #6D007D; text-decoration: underline; }
.entities_page .country_cell { display: flex; align-items: center; gap: 10px; }
.entities_page .country_cell .flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; flex: none; }
.entities_page .country_cell span { display: flex; flex-direction: column; }
.entity_editor .custom_label .legal_var { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #9A8FA3; margin-left: 6px; font-weight: 400; }
.entity_editor .new_inputlabel.has_error { border-color: #E1003E; }
.entity_editor .error_msg { color: #E1003E; font-size: 12px; display: block; margin-top: 4px; }
.entity_editor .entity_check { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: 13px; color: #4A4450; cursor: pointer; }
.entity_editor .entity_check input { width: 16px; height: 16px; accent-color: #6D007D; }
.entity_editor .entity_preview { background: #FAF7FB; border-color: #EEE3F2; }
.entity_editor .entity_preview p { line-height: 20px; }
.entity_editor .textbtn.redtext { color: #E1003E; }
.email_settings_box .legal_entities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 8px; }
.email_settings_box .legal_entity { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #EFE4F2; border-radius: 12px; background: #FCFAFD; text-decoration: none; color: inherit; }
.email_settings_box .legal_entity:hover { border-color: #C9A9D6; }
.email_settings_box .legal_entity .ctext { font-size: 12px; line-height: 17px; }

/* Visualize › Image Position: the picture is dragged inside its frame (2026-11-16). */
.has_drag img.is_placeable { cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
.has_drag img.is_placeable.is_dragging, .has_drag img.is_placeable:active { cursor: grabbing; }
.image_focus_row small { font-size: 11px; color: #777; line-height: 15px; }
.image_focus_row .reset { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: 4px; color: #6D007D; font-size: 12px; text-decoration: underline; cursor: pointer; }
/* The frame drawn over a placeable picture lets the pointer through to it. */
*:has(> .has_drag) > .frameimg, *:has(> .has_drag) > .frameimg img { pointer-events: none; }
.has_drag { overflow: hidden; }
/* The enlargement pill on a placeable picture: shown while the pointer is over the picture's box. */
.has_drag .pic_zoom { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 2px; padding: 3px 4px; border-radius: 16px; background: rgba(20, 6, 30, .72); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .15s; }
.has_drag:hover .pic_zoom, .has_drag:focus-within .pic_zoom { opacity: 1; pointer-events: auto; }
.has_drag .pic_zoom button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; line-height: 22px; padding: 0; cursor: pointer; }
.has_drag .pic_zoom button:hover:not(:disabled) { background: #E1003E; }
.has_drag .pic_zoom button:disabled { opacity: .35; cursor: default; }
.has_drag .pic_zoom span { min-width: 34px; text-align: center; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .2px; }
/* The listing sheet strips every button's background inside the table; the Email column's button keeps the design's gradient and outline. */
.page_wrap .listing_area .tab_content .custom_table .fullrow .email_action .email_btn.gradient { background: linear-gradient(110deg, #6E0D88 0%, #E1003E 100%); color: #fff; }
.page_wrap .listing_area .tab_content .custom_table .fullrow .email_action .email_btn.gradient:hover { background: linear-gradient(110deg, #E1003E 0%, #6E0D88 100%); color: #fff; }
.page_wrap .listing_area .tab_content .custom_table .fullrow .email_action .email_btn.border_btn { background: transparent; border: 1px solid #6D007D; color: #6D007D; }
.page_wrap .listing_area .tab_content .custom_table .fullrow .email_action .email_btn.border_btn:hover:not(:disabled) { background: #6D007D; color: #fff; }
.page_wrap .listing_area .tab_content .custom_table .fullrow .email_action .email_btn.border_btn:disabled:hover { background: transparent; color: #6D007D; }
.email_action .email_hint { white-space: normal; line-height: 13px; max-width: 110px; }

/* ── HR portal ───────────────────────────────────────────────────────────────
   The HR screens are drawn with the app's own listing / form / dashboard sheets and components. The rules below are
   the few the job-admin pack had for pieces the app's sheets do not draw (the JD builder's accordion preview, the
   post wizard's location and salary blocks, the live-jobs status select), re-coloured to the app's tokens and scoped
   under .hr_portal, plus the cells of the applications and interviewers tables. */
.page_wrap .hr_portal .breakall{word-break:break-all}
.page_wrap .hr_portal .link{color:var(--moris-primary) !important}
.page_wrap .hr_portal .new_inputlabel .textarea.mh220, .page_wrap .step_proposal .main_leftbox .fullrow_mid .formarea .hr_step .textarea.mh220, .hr_step .new_inputlabel .textarea.mh220{min-height:220px !important}
.page_wrap .hr_portal .togglecheck_box .checkbox-label{background:#EBEBEB;width:38px;height:10px;margin:0 auto;text-align:center;position:absolute;left:0;display:flex;cursor:pointer;border-radius:50px}
@media (max-width: 767px){.page_wrap .hr_portal .togglecheck_box .checkbox-label{width:30px}}
.page_wrap .hr_portal .togglecheck_box .checkbox-label .c_text{font-size:18px;line-height:24px;font-family:"Outfit",sans-serif !important;font-weight:600;white-space:nowrap;text-align:left;position:absolute;z-index:0;top:-8px;margin-left:50px}
@media (max-width: 767px){.page_wrap .hr_portal .togglecheck_box .checkbox-label .c_text{font-size:15px;margin-left:40px}}
.page_wrap .hr_portal .togglecheck_box .checkbox-label .on{display:block;opacity:0;color:#089D41}
.page_wrap .hr_portal .togglecheck_box .checkbox-label .off{display:block;opacity:1;color:var(--moris-red)}
.page_wrap .hr_portal .togglecheck_box .checkbox-label:before{content:"";background:var(--moris-red);width:23px;height:23px;display:block;position:absolute;z-index:1;top:-7px;left:0;border-radius:50px}
@media (max-width: 767px){.page_wrap .hr_portal .togglecheck_box .checkbox-label:before{width:18px;height:18px;top:-4px}}
.page_wrap .hr_portal .togglecheck_box .checkbox{position:absolute;left:-5000px}
.page_wrap .hr_portal .togglecheck_box .checkbox:checked+.checkbox-label{background:#DEDEDE}
.page_wrap .hr_portal .togglecheck_box .checkbox:checked+.checkbox-label .on{opacity:1}
.page_wrap .hr_portal .togglecheck_box .checkbox:checked+.checkbox-label .off{opacity:0}
.page_wrap .hr_portal .togglecheck_box .checkbox:checked+.checkbox-label:before{background:#089D41;left:initial;right:0}
.page_wrap .hr_portal .togglecheck_box.deg2 .checkbox-label{width:30px;height:16px}
.page_wrap .hr_portal .togglecheck_box.deg2 .checkbox-label:before{width:10px;height:10px;top:3px;left:3px}
.page_wrap .hr_portal .togglecheck_box.deg2 .checkbox-label .c_text{font-size:12px;line-height:12px;top:0;margin-left:38px}
.page_wrap .hr_portal .togglecheck_box.deg2 .checkbox:checked+.checkbox-label{background-color:#F0F6FF}
.page_wrap .hr_portal .togglecheck_box.deg2 .checkbox:checked+.checkbox-label:before{right:3px}
.page_wrap .hr_portal .center_div{width:100%;max-width:500px;margin:0 auto}
.page_wrap .hr_portal .center_div.mw660{max-width:660px}
.page_wrap .hr_portal .center_div.mw720{max-width:720px}
.page_wrap .hr_portal .center_div.mw925{max-width:925px}
.page_wrap .hr_portal .center_div.mw1040{max-width:1040px}
.page_wrap .hr_portal .center_div.mw1100{max-width:1100px}
.page_wrap .hr_portal .center_div.full{max-width:100%}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options{background:none;gap:10px 15px}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box{min-width:87px;min-height:38px;color:#292929;justify-content:center}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box .circle{background-color:#fff;width:16px;min-width:16px;height:16px;border-radius:20px;border:1px solid #EAEAEA;position:relative}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box .circle:after{content:'';background-color:#EAEAEA;width:8px;height:8px;border-radius:20px}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box.active{background-color:#FFF0F4}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box.active:after{display:none}
.page_wrap .hr_portal .step_proposal .fullrow_mid .common_tabbtn .check_options .common_box.active .circle:after{background-color:var(--moris-red)}
.page_wrap .hr_portal .step_proposal .accordion_wrap .accordion .accor_content .center_div{max-width:1100px}
.page_wrap .hr_portal .step_proposal .location_selector .heading_border{width:100%;margin:40px 0;position:relative}
@media (max-width: 767px){.page_wrap .hr_portal .step_proposal .location_selector .heading_border{margin:25px 0}}
.page_wrap .hr_portal .step_proposal .location_selector .heading_border:before{content:'';background-color:#EAEAEA;width:100%;height:1px;position:absolute;left:0;top:50%}
.page_wrap .hr_portal .step_proposal .location_selector .heading_border strong{background-color:#fff;font-size:18px;line-height:24px;font-weight:600;color:#000;padding:0 20px;position:relative}
@media (max-width: 767px){.page_wrap .hr_portal .step_proposal .location_selector .heading_border strong{font-size:16px}}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox{background-color:#F7F7FB;min-height:80px;padding:20px 60px 20px 30px;position:relative;border-radius:20px}
@media (max-width: 991px){.page_wrap .hr_portal .step_proposal .location_selector .bluebox{padding:15px 45px 0px 20px}}
@media (max-width: 767px){.page_wrap .hr_portal .step_proposal .location_selector .bluebox{padding:40px 15px 0}}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .delete_btn{background-color:#fff;width:35px;height:35px;padding:8px;border-radius:50px;border:1px solid #EAEAEA;position:absolute;right:10px;top:10px}
@media (max-width: 991px){.page_wrap .hr_portal .step_proposal .location_selector .bluebox .delete_btn{width:30px;height:30px}}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .delete_btn:hover{background-color:rgba(200,0,31,0.04);border-color:var(--moris-red)}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div label{font-size:12px;line-height:15px;font-weight:500;color:#000;margin:0 0 15px}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}
@media (max-width: 767px){.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab{margin-bottom:10px}}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab .commondiv{background-color:#fff;min-width:160px;min-height:50px;padding:5px 15px;font-size:14px;line-height:16px;border:1px solid #EAEAEA;border-radius:29px;gap:10px;cursor:pointer}
@media (max-width: 767px){.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab .commondiv{font-size:12px}}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab .commondiv.active{background-color:#FCF2FFB3;border-color:var(--moris-primary);color:var(--moris-primary)}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab .commondiv.active:after{content:'';background:url("/images/common-images/icon_check_prpl.svg") no-repeat center center;background-size:100% 100%;width:14px;height:14px;position:relative}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_tab .commondiv.active svg path{fill:var(--moris-primary)}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_content .note{background-color:rgba(217,217,235,0.44);padding:15px;border:1px solid #EAEAEA;border-radius:10px}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_content .note .icon{width:18px;min-width:18px;margin-right:10px}
.page_wrap .hr_portal .step_proposal .location_selector .bluebox .options_div .options_content .note p{font-size:14px;line-height:18px;font-weight:400;color:#000;margin:0}
.page_wrap .hr_portal .step_proposal .location_selector .addmore_row{padding:25px 15px}
.page_wrap .hr_portal .step_proposal .location_selector .addmore_row .c_btn{color:#000;border-color:#EAEAEA}
.page_wrap .hr_portal .step_proposal .location_selector .addmore_row .c_btn svg path{fill:#707070}
.page_wrap .hr_portal .step_proposal .location_selector .addmore_row .c_btn:hover{color:#fff;border-color:var(--moris-primary)}
.page_wrap .hr_portal .step_proposal .location_selector .addmore_row .c_btn:hover svg path{fill:#fff}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap{width:100%;min-height:200px;border-radius:10px;overflow:auto}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable{width:100%}
@media (max-width: 1199px){.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable{padding-bottom:10px;min-width:1070px}}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .centerth{text-align:center !important}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .fullrow{display:flex;align-items:center;padding:0 10px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .fullrow .toprow{display:flex;align-items:center}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable thead tr th{background-color:rgba(233,233,242,0.64);text-align:left;padding:0px 0;vertical-align:middle;white-space:nowrap;border:0}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable thead tr th .fullrow>div{min-height:55px;font-size:12px;line-height:22px;color:#000;font-weight:500;display:flex;align-items:center;gap:8px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable thead tr th .fullrow>div img, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable thead tr th .fullrow>div svg{max-width:14px;max-height:14px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody tr{border-top:1px solid rgba(112,112,112,0.1)}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody td{background-color:#fff}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody td .fullrow{width:100%;display:flex;flex-direction:column;align-items:flex-start}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody td .fullrow .toprow{width:100%;display:flex;align-items:initial}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody td .fullrow .toprow>div{padding-top:25px;padding-bottom:20px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody td *[data-target]{cursor:pointer}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .location_box{flex:1;padding:10px 20px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .currency_box, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .minsalary_box, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .maxsalary_box, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable .period_box{width:200px;min-width:200px;padding:10px 20px;border-left:1px solid #EAEAEA}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel{width:100%}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .input, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .textarea{font-size:12px !important}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown>.text, .page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown>.search{font-size:12px !important}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown .icon{width:14px;min-width:14px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown .icon img{max-width:14px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown .menu{min-width:200px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel .ui.search.dropdown .menu .item{min-height:25px;font-size:12px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel.with_licon{display:flex;align-items:center;padding-left:13px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel.with_licon .licon{width:14px;min-width:14px;max-height:14px;line-height:14px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel.with_licon>.input{padding:0 8px !important}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .new_inputlabel.with_licon .ui.search.dropdown{min-width:calc(100% - 20px) !important}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box{display:flex;gap:15px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .img{width:25px;min-width:25px;height:25px;border-radius:50px;margin-top:4px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .img img{border-radius:50px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .text{position:relative}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .text:after{content:'';background:url("/images/hr/create/img_dash.svg") no-repeat left bottom;background-size:100% 100%;width:15px;height:9px;position:absolute;left:-29px;top:36px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .text h3{min-height:32px;font-size:14px;line-height:16px;font-weight:600;color:#000;display:flex;align-items:center;margin-bottom:2px}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .location_box .text p{font-size:12px;line-height:19px;font-weight:300;color:var(--moris-primary)}
.page_wrap .hr_portal .step_proposal .postjob_tablewrap .mytable tbody .period_box .new_inputlabel .ui.dropdown .menu{left:auto !important;right:0 !important}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox{background-color:rgba(201,219,244,0.25);width:100%;padding:15px;border-radius:35px}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox{border-radius:20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox{background-color:#fff;width:100%;padding:25px 30px;border-radius:35px}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox{padding:20px;border-radius:20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2{background-color:#fff;width:100%;border-bottom:1px solid #EAEAEA}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2{width:100%;padding:18px 20px 18px 30px;display:flex;align-items:center;gap:10px 20px;justify-content:space-between;position:relative}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2{padding:15px 0px 15px;flex-wrap:wrap}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .dragicon{background:url("/images/hr/create/icon_drag.svg") no-repeat left center;background-size:12px 20px;width:12px;height:20px;position:absolute;left:0;top:50%;transform:translateY(-50%);cursor:pointer}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .dragicon{transform:none;top:15px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .textbox{display:flex;flex-direction:column;gap:3px;cursor:pointer}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .textbox{width:100%;padding:0 25px 10px 20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .textbox h3{font-size:16px;line-height:22px;color:#707070;font-weight:600;font-family:"Outfit",sans-serif !important}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .textbox h3{font-size:14px;line-height:20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt{min-width:305px;display:flex;align-items:center;justify-content:flex-end;gap:7px 15px}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt{gap:10px}}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt{min-width:100%;flex-wrap:wrap;justify-content:flex-start}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn{font-size:12px;line-height:16px;font-weight:400;color:#707070;font-family:"Outfit",sans-serif !important;display:flex;align-items:center;gap:5px;cursor:pointer}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn{font-size:11px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn:hover{color:var(--moris-primary)}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn:hover svg path{fill:var(--moris-primary)}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn.prpltext:hover{color:var(--moris-red) !important}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .more_opt .tbtn.prpltext:hover svg path{fill:var(--moris-red)}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .rgtarrow{background:url("/images/hr/create/arrow_accordion_prpl.svg") no-repeat center center;background-size:100% 100% !important;width:18px;min-width:18px;height:18px;right:0;cursor:pointer;position:absolute;right:0;top:50%;transform:translateY(-50%)}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2 .rgtarrow{transform:none;top:15px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2.active .textbox h3{color:var(--moris-red)}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_tab2.active .rgtarrow{background:url("/images/hr/create/arrow_accordion_red.svg") no-repeat center center}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2{width:100%;padding:30px;border-top:1px solid #EAEAEA}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2{padding:20px 15px}}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2{padding:10px 0px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2.showalways{display:block}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2 .btnrow{justify-content:center !important;gap:10px 15px !important}}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .accor_content2 .btnrow .c_btn{min-width:145px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section{width:100%;padding:25px 0;display:flex;align-items:center;gap:15px}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section{padding:20px 0}}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section{padding:15px 0}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section .icon{width:28px;min-width:28px}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section .icon{width:20px;min-width:20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section .icon svg, .page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section .icon img{max-width:100%}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section h3{font-size:18px;line-height:24px;font-weight:600;color:var(--moris-primary);margin:0}
@media (max-width: 991px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .accordion_wrap2 .accordion2 .head_section h3{font-size:16px;line-height:20px}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .row>div{margin:20px 0}
@media (max-width: 767px){.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .row>div{margin:15px 0}}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .custom_label{padding-left:0}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text{width:100%;padding-left:22px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text p, .page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text li{font-size:14px;line-height:18px;font-weight:400;color:#707070}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .link.ricon:after{content:'';background:url("/images/hr/create/icon_export.png") no-repeat center center;background-size:100% 100%;width:20px;min-width:20px;height:20px;line-height:20px;display:inline-block;position:relative;top:5px;margin-left:5px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .text_withicon{display:flex;align-items:center;gap:8px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .text_withicon p{margin:0}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .text_withicon .smimg{width:15px;min-width:15px;height:15px;line-height:15px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .listtype{display:flex;flex-direction:column;gap:10px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .listtype li{position:relative;padding-left:20px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .bluebox .whtbox .display_div .dy_text .listtype li:before{content:'';background-color:#000;width:4px;height:4px;border-radius:5px;position:absolute;left:0;top:8px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap{border:1px solid #EAEAEA}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable thead tr th{background-color:rgba(242,246,253,0.49)}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .currency_box, .page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .minsalary_box, .page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .maxsalary_box, .page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .period_box{width:150px;min-width:150px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .dy_data{display:flex;align-items:center;gap:7px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .dy_data .icon{width:14px;min-width:14px;line-height:14px;display:flex}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .dy_data .icon img{width:100%;max-height:14px}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .dy_data .icon.round{height:14px;border-radius:50px;overflow:hidden}
.page_wrap .hr_portal.preview_job .step_proposal .fullrow_mid .postjob_tablewrap .mytable .dy_data .icon.round img{border-radius:50px;line-height:14px}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .bluebox{background-color:#F7F7FB;width:100%;padding:15px;border-radius:20px}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .bluebox .whtbox{background-color:#fff;width:100%;border-radius:10px}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .addhere{display:flex;justify-content:space-between}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .input{flex:1}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns{background-color:#EAEAEA3B;width:105px;height:100%;position:absolute;right:0;top:0;display:flex}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns:before{content:'';background-color:#EAEAEA;width:1px;position:absolute;left:50%;top:10px;bottom:10px}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns .qbtn{width:50%}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns .qbtn img, .page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns .qbtn svg{max-width:16px}
.page_wrap .hr_portal .step_proposal.salary_compensation .fullrow_mid .quantity_addminus .btns .qbtn:hover{opacity:0.8}
.page_wrap .hr_portal .modal.common_modal .modal-dialog.mw_600{max-width:600px}
.page_wrap .hr_portal .modal.fullpage_modal .modal-dialog .modal-content .modal_body .fullrow_mid .formarea .textarea.mh_125{min-height:125px}
.hr_portal .breakall{word-break:break-all}
.page_wrap .hr_portal .darkbluetext{color:#126DC7 !important}
.page_wrap .hr_portal .togglecheck_box .checkbox-label{background:#E5E5E5;width:29px;height:11px;margin:0 auto;text-align:center;position:absolute;left:0;display:flex;cursor:pointer;border-radius:50px}
.page_wrap .hr_portal .togglecheck_box .checkbox-label .c_text{font-size:13px;line-height:12px;font-family:"Poppins",sans-serif;font-weight:500;white-space:nowrap;text-align:left;position:absolute;z-index:0;top:-1px;margin-left:38px}
.page_wrap .hr_portal .togglecheck_box .checkbox-label .on{display:block;opacity:0;color:#00B564}
.page_wrap .hr_portal .togglecheck_box .checkbox-label:before{content:"";background:var(--moris-red);width:15px;height:15px;display:block;position:absolute;z-index:1;top:-2px;left:0;border-radius:50px}
.page_wrap .hr_portal .togglecheck_box .checkbox:checked+.checkbox-label:before{background:#00B564;left:initial;right:0}
.page_wrap .hr_portal .listing_area .search_full .custom_container .whtbox{background-color:#fff;width:100%;padding:5px;display:flex;align-items:center;justify-content:space-between;border:1px solid #EAEAEA;border-radius:40px}
.page_wrap .hr_portal .listing_area .top_section .search_full .whtbox{display:flex;align-items:center;justify-content:space-between;gap:0px}
.page_wrap .hr_portal .listing_area .top_section .search_full .whtbox .input{border:0}
.page_wrap .hr_portal .listing_area .top_section .search_full .whtbox .c_btn{min-width:100px;min-height:40px;padding:5px 10px}
.page_wrap .hr_portal .listing_area .mytable .location_box{width:150px;min-width:150px;padding:0 20px 0 10px;position:relative}
.page_wrap .hr_portal .listing_area .mytable tbody .details_box .mainbox .imgbox .roundimg{width:43px;min-width:43px;height:43px;border-radius:50px}
.page_wrap .hr_portal .listing_area .mytable tbody .location_box{display:flex;flex-direction:column;align-items:flex-start}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle .circle, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item .circle{background-color:#19BC73;width:15px;height:15px;border-radius:25px;display:inline-block}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.opened, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.opened{background-color:rgba(25,188,115,0.1);color:#19BC73}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.opened .circle, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.opened .circle{background-color:#19BC73}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.paused, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.paused{background-color:rgba(253,149,7,0.1);color:#FD9507}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.paused .circle, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.paused .circle{background-color:#FD9507}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.closed, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.closed{background-color:rgba(225,0,62,0.1);color:#E1003E}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle.closed .circle, .page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .item.closed .circle{background-color:#E1003E}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .dropdown-toggle{background:url("/images/hr/live-jobs/icon_arrow2.svg") no-repeat right 10px center;background-color:rgba(25,188,115,0.1);min-width:98px;min-height:27px;padding:3px 7px;font-size:11px;line-height:24px;font-weight:500;color:#19BC73;display:flex;align-items:center;justify-content:flex-start;gap:7px;border-radius:30px;cursor:pointer}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .setstatus_option .item{padding:5px 10px;font-size:11px;line-height:24px;font-weight:500;display:flex;align-items:center;gap:10px;cursor:pointer}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .setstatus_option .item .circle{width:10px;height:10px}
.page_wrap .hr_portal .listing_area .mytable tbody .status_box .setstatus .setstatus_option .item:hover{opacity:0.8}
.page_wrap .hr_portal .listing_area .mytable tbody .details_row .details_box .mainbox .imgbox .roundimg{width:30px;min-width:30px;height:30px}
.page_wrap .hr_portal .listing_area .mytable tbody .details_row .location_box .abstext{display:flex;flex-direction:column;align-items:flex-end;position:absolute;right:-10px;top:12px}
.page_wrap .hr_portal .right_slider .body_box .status_select{width:100%;display:flex;flex-wrap:wrap;gap:15px}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box{background-color:#fff;min-width:135px;min-height:50px;padding:5px 15px;display:flex;align-items:center;justify-content:flex-start;gap:10px;font-size:14px;line-height:18px;font-weight:400;color:#707070;border:1px solid #EAEAEA;border-radius:30px;cursor:pointer}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box .circle{background-color:#fff;width:22px;height:22px;border:1px solid #EAEAEA;border-radius:50px;display:flex;align-items:center;justify-content:center}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box .circle:before{content:'';background-color:#EAEAEA;width:14px;height:14px;border-radius:20px}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box.active{border-color:#089D41;color:#089D41}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box.active .circle{border-color:#089D41}
.page_wrap .hr_portal .right_slider .body_box .status_select .common_box.active .circle:before{background-color:#089D41}
.page_wrap .hr_portal .listing_area .mytable tbody td .details_box .imgbox .roundimg{width:43px;height:43px;border-radius:100px;overflow:hidden}
.page_wrap .hr_portal .listing_area .mytable tbody td .details_box .imgbox .roundimg img{width:100%;height:100%;object-fit:cover;object-position:center center}
.page_wrap .hr_portal .listing_area.view_report .mytable tbody .details_box .imgbox .roundimg{width:35px;height:35px}
.page_wrap .hr_portal .listing_area.drafted_jobs .search_full .whtbox{display:flex;align-items:center;justify-content:space-between;gap:0px}
.page_wrap .hr_portal .listing_area.drafted_jobs .search_full .whtbox .input{border:0}
.page_wrap .hr_portal .listing_area.drafted_jobs .search_full .whtbox .c_btn{min-width:100px;min-height:40px;padding:5px 10px}
/* HR cells drawn with the app's tokens: avatars, chips, the fit badge, the applicant / interviewer cells, the row details. */
.hr_portal .hr_svg, .dashboard_menu .hr_svg { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.hr_portal .hr_svg svg { display: block; }
.hr_portal .custom_table .commonbox.hr_grow { flex: 1 1 auto; }
.hr_portal .custom_table .roundimg { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #F7F8FB; }
.hr_portal .custom_table .roundimg.hr_flag_round { border: 1px solid #EAEAEA; }
.hr_portal .custom_table .roundimg.sm { width: 36px; height: 36px; min-width: 36px; }
.hr_portal .custom_table .roundimg img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hr_portal .roundbtn.open_details img { width: 10px; transition: transform .2s; }
.hr_portal .roundbtn.open_details img.hr_rot { transform: rotate(180deg); }
.hr_portal .custom_table tbody tr.opened td { background: #FBF7FF; }
.hr_portal .hr_details { display: flex; flex-wrap: wrap; gap: 18px 34px; padding: 14px 16px 6px 56px; border-top: 1px dashed #EAEAEA; margin-top: 10px; align-items: flex-start; }
.hr_portal .hr_detail { display: flex; flex-direction: column; gap: 3px; min-width: 150px; }
.hr_portal .hr_detail small { font-size: 11px; color: #8a8a8a; text-transform: uppercase; letter-spacing: .3px; }
.hr_portal .hr_detail_menu { margin-left: auto; align-self: center; }
.hr_portal .hr_flag { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; }
.hr_portal .form_error { color: var(--moris-red); font-size: 13px; padding: 10px 0; }
.hr_portal .bluelink.underline { border: 0; background: none; padding: 0; }
/* The applicant cell (all-applications.jpg): picture with the fit badge, name, designation, flag + city, View Profile and the social icons. */
.hr_portal .hr_applicant { display: flex; gap: 14px; align-items: flex-start; }
.hr_portal .hr_applicant_left { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hr_portal .hr_applicant_left small { font-size: 11px; font-weight: 500; white-space: nowrap; }
.hr_portal .hr_applicant_text { display: flex; flex-direction: column; gap: 2px; }
.hr_portal .fs15 { font-size: 15px; }
.hr_avatar { position: relative; display: flex; flex-direction: column; align-items: center; }
.hr_avatar_ring { width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--moris-secondary); background: #F3E8F5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hr_avatar_ring.sm { width: 48px; height: 48px; min-width: 48px; }
.hr_avatar_ring img { width: 100%; height: 100%; object-fit: cover; }
.hr_avatar_ring span { font-size: 16px; font-weight: 600; color: var(--moris-primary); }
.hr_fit_badge { margin-top: -10px; padding: 3px 10px; border-radius: 20px; font-size: 9px; font-weight: 600; letter-spacing: .2px; color: #fff; background: #f5a623; white-space: nowrap; text-transform: uppercase; }
.hr_fit_badge.green { background: var(--moris-green); }
.hr_fit_badge.blue { background: #2F6FD6; }
.hr_fit_badge.red { background: var(--moris-red); }
.hr_portal .c_btn.mh30 { min-height: 30px; height: 30px; padding: 0 12px; }
.hr_portal .custom_table .c_btn.hr_invite_btn { min-height: 36px; height: 36px; padding: 0 16px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--moris-gradient) !important; color: #fff !important; border: 0; border-radius: 30px; }
.hr_portal .custom_table .c_btn.hr_invite_btn svg { stroke: #fff; }
.hr_portal .hr_round_icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--moris-secondary); color: var(--moris-secondary); display: inline-flex; align-items: center; justify-content: center; }
.hr_portal .hr_round_icon svg { width: 12px; height: 12px; }
.hr_portal .hr_applied { display: flex; flex-direction: column; gap: 3px; }
.hr_portal .hr_applied .uppercase { text-transform: uppercase; font-size: 12px; letter-spacing: .2px; }
.hr_portal .hr_applied .ctext { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.hr_portal .hr_status_icons { display: flex; gap: 10px; color: #c9c9c9; }
.hr_portal .hr_status_icons span.on { color: var(--moris-secondary); }
.hr_portal .hr_actions { display: flex; align-items: center; gap: 2px; }
.hr_portal .hr_icon_btn { width: 28px; height: 28px; border: 0; background: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: #444; border-radius: 6px; }
.hr_portal .hr_icon_btn:hover { background: #F3E8F5; color: var(--moris-primary); }
/* Interviewers: chips and the hired circle. */
.hr_portal .hr_chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #F3E8F5; color: var(--moris-primary); font-size: 12px; font-weight: 500; white-space: nowrap; }
.hr_portal .hr_count_circle { width: 44px; height: 44px; border-radius: 50%; background: #F3E8F5; color: var(--moris-secondary); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.hr_portal .btntype.sm span { padding: 3px 10px; font-size: 11px; }
/* The HR form modals (the app's common_modal frame): the narrow width and the avatar row above the fields. */
.hr_form_modal .modal-dialog.full .modal-content .centerbox { padding: 30px 36px 10px; }
.hr_form_modal.hr_modal_sm .modal-dialog.full { max-width: 680px; }
.hr_form_modal .modal_header { text-align: center; margin-bottom: 18px; }
.hr_form_modal .modal_header h3 { font-size: 20px; margin: 0 0 4px; }
.hr_form_modal .modal_header p { font-size: 12px; color: #6B6B6B; margin: 0 0 10px; }
.hr_form_modal .modal_header .dline { width: 70px; height: 3px; border-radius: 3px; background: var(--moris-gradient); margin: 0 auto; }
.hr_form_modal .hr_modal_avatar { display: flex; flex-direction: column; align-items: center; margin: 0 0 14px; }
.hr_form_modal .hr_photo_pick { cursor: pointer; }
.hr_form_modal .hr_photo_hint { font-size: 11px; color: var(--moris-primary); margin-top: 4px; }
.hr_form_modal .btnrow.center { margin-top: 14px; }
/* The application profile drawer: the app's right_slider with fact blocks and the history list. */
.hr_drawer { width: 760px; max-width: 95vw; }
.hr_drawer .header_box p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hr_drawer .hr_block { margin-bottom: 22px; }
.hr_drawer .hr_block h4 { font-size: 13px; font-weight: 600; color: var(--moris-primary); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #EAEAEA; }
.hr_drawer .hr_fact { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.hr_drawer .hr_fact small { font-size: 11px; color: #8a8a8a; }
.hr_drawer .hr_fact p { margin: 0; font-size: 13px; white-space: pre-wrap; }
.hr_drawer .hr_history { list-style: none; padding: 0; margin: 0; }
.hr_drawer .hr_history li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #EAEAEA; }
.hr_drawer .hr_history .hr_dot { width: 8px; height: 8px; min-width: 8px; margin-top: 6px; border-radius: 50%; background: var(--moris-secondary); }
.hr_drawer .hr_history p { margin: 2px 0; font-size: 13px; }
.hr_drawer .hr_history li[data-kind="note"] .hr_dot { background: var(--moris-primary); }
/* The JD builder / post wizard on the app's form sheet: the pack's few buttons drawn as <a>/<div>. */
.hr_portal button.cross_close, .hr_portal button.prevbtn { background: none; border: 0; }
.hr_portal button.prevbtn { padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.hr_portal .buttons_div .c_btn:disabled { opacity: .6; cursor: default; }
.hr_portal .setstatus .dropdown-toggle, .hr_portal .setstatus .setstatus_option .item, .hr_portal .options_tab .commondiv, .hr_portal .check_options .common_box { cursor: pointer; }
.hr_portal.jd_builder .tbtn.edit_section, .hr_portal.post_wizard .tbtn { display: inline-flex; align-items: center; gap: 6px; }
.hr_portal .quantity_addminus .qbtn { border: 0; background: none; }
.hr_portal .location_selector .delete_btn { border: 0; }
.hr_portal .accor_tab2 .more_opt { display: flex; align-items: center; gap: 12px; }
/* The HR dashboard's job board beside the pipeline. */
.acc_dashboard.hr_dashboard .common_fullrow.rowtwo .largebox.hr_board .tableresponsive .fullrow { padding: 12px 20px; }

/* ── HR: interview rounds, candidate emails, summary, assignment, My Calendar (2026-11-19) ── */
.hr_portal .hr_rounds { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 4px; text-align: left; width: 100%; }
.hr_portal .hr_rounds li { font-size: 12px; line-height: 16px; color: #3f414e; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.hr_portal .hr_rounds li strong { color: var(--moris-primary); font-weight: 600; }
.hr_portal .hr_round_mail { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #9a9a9a; }
.hr_portal .hr_round_mail svg { width: 13px; height: 13px; }
.hr_portal .hr_round_mail.on { color: #1f9d55; }
.hr_portal .hr_invite_btn .hr_next_round { font-size: 9px; font-weight: 500; opacity: .85; margin-left: 4px; text-transform: none; }
.hr_portal .hr_status_icons span { cursor: default; }
.hr_form_modal .hr_rounds_done { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; color: #3f414e; text-align: center; }
.hr_form_modal .hr_rounds_done li { margin: 2px 0; }
.hr_form_modal .hr_rounds_done strong { color: var(--moris-primary); }
.hr_form_modal .hr_slots { margin-top: 8px; }
.hr_form_modal .hr_slot_row, .hr_calendar .hr_workdays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hr_slot { border: 1px solid #DADADA; background: #fff; color: #3f414e; border-radius: 20px; font-size: 11px; line-height: 14px; padding: 5px 10px; cursor: pointer; font-family: 'Outfit', sans-serif; }
.hr_slot:hover { border-color: var(--moris-primary); color: var(--moris-primary); }
.hr_slot.picked { background: var(--moris-gradient); color: #fff; border-color: transparent; }
.hr_slot.off { background: #F3F3F3; color: #B5B5B5; cursor: not-allowed; text-decoration: line-through; }
.hr_slot.off.taken { background: #FDECEF; color: #E1003E; text-decoration: none; }
.hr_form_modal .hr_check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3f414e; margin-top: 4px; cursor: pointer; }
.hr_form_modal .hr_check input { width: 16px; height: 16px; accent-color: var(--moris-primary); }
.hr_form_modal.hr_modal_md .modal-dialog.full { max-width: 820px; }
.hr_summary { padding: 6px 4px; background: #fff; }
.hr_summary_top { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #EAEAEA; margin-bottom: 14px; }
.hr_summary_who h3 { font-size: 22px; font-weight: 700; margin: 0 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hr_summary_who h3 small { font-size: 13px; font-weight: 400; color: #3f414e; }
.hr_summary_who p { margin: 0 0 4px; font-size: 13px; }
.hr_summary_contact { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 6px; font-size: 13px; }
.hr_summary_contact em { font-style: normal; background: #F6EFF8; color: var(--moris-primary); border-radius: 12px; padding: 2px 9px; font-size: 11px; margin-right: 6px; }
.hr_summary_table { width: 100%; border-collapse: collapse; }
.hr_summary_table th { text-align: left; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: var(--moris-primary); font-weight: 600; width: 36%; padding: 8px 10px; border-bottom: 1px solid #EFEFEF; vertical-align: top; }
.hr_summary_table td { font-size: 13px; color: #1a1a1a; padding: 8px 10px; border-bottom: 1px solid #EFEFEF; }
.hr_summary_rounds h4 { font-size: 13px; font-weight: 600; color: var(--moris-primary); text-transform: uppercase; letter-spacing: .4px; margin: 16px 0 6px; }
.hr_drawer .hr_round_list, .hr_drawer .hr_mail_list { list-style: none; margin: 0; padding: 0; }
.hr_drawer .hr_round_list li, .hr_drawer .hr_mail_list li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #EAEAEA; }
.hr_drawer .hr_round_main { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.hr_drawer .hr_round_main .btntype { align-self: flex-start; }
.hr_drawer .hr_round_actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; min-width: 180px; }
.hr_drawer .hr_mail_list li .ctext { font-size: 12px; }
.hr_calendar { padding: 0 20px 30px; }
.hr_calendar_box { background: #fff; border: 1px solid #EAEAEA; border-radius: 10px; padding: 18px 20px; min-height: 100%; }
.hr_calendar_box h4 { font-size: 15px; font-weight: 600; color: var(--moris-primary); margin: 0 0 12px; }
.hr_calendar_box [data-field] { margin-bottom: 12px; }
.hr_month_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.hr_month_head h4 { margin: 0; }
.hr_month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hr_month_dow { font-size: 10px; font-weight: 600; color: #8a8a8a; text-align: center; letter-spacing: .4px; padding: 4px 0; }
.hr_day { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid transparent; background: #F6EFF8; color: var(--moris-primary); font-weight: 600; font-size: 13px; cursor: pointer; font-family: 'Outfit', sans-serif; }
.hr_day:hover { border-color: var(--moris-primary); }
.hr_day.past { background: #F5F5F5; color: #B5B5B5; }
.hr_day.off { background: #F0F0F0; color: #A5A5A5; }
.hr_day.partial { box-shadow: inset 0 0 0 2px #F6C343; }
.hr_day.today { border-color: var(--moris-secondary); }
.hr_day.picked { background: var(--moris-gradient); color: #fff; }
.hr_slot_list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; }
.hr_slot_list li { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-size: 13px; }
.hr_slot_time { display: inline-flex; align-items: center; gap: 6px; color: #3f414e; }
.hr_slot_toggle { display: flex; gap: 14px; font-size: 12px; }
.hr_slot_toggle label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.hr_slot_toggle input { accent-color: var(--moris-primary); }
.dashboard_menu .menu_links .dd_menu > .fullrow .common_jscontent ul li.menu_section a { font-weight: 600; color: var(--moris-primary); padding-left: 0; }
.dashboard_menu .menu_links .dd_menu > .fullrow .common_jscontent ul li.menu_section a:before { display: none; }
.dashboard_menu .menu_links .dd_menu > .fullrow .common_jscontent ul li.menu_indent { padding-left: 14px; }
.hr_form_modal .hr_selfbook { background: #F6EFF8; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; line-height: 19px; color: #3f414e; margin: 0 0 6px; }
/* The candidate's booking page */
.cp_booking .cp_days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.cp_day { min-width: 62px; border: 1px solid #E5E0E8; background: #fff; border-radius: 12px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font-family: 'Outfit', sans-serif; color: #3f414e; }
.cp_day small { font-size: 10px; text-transform: uppercase; letter-spacing: .4px; color: #8a8a8a; }
.cp_day strong { font-size: 18px; color: var(--moris-primary); }
.cp_day.picked { background: var(--moris-gradient); border-color: transparent; } .cp_day.picked small, .cp_day.picked strong { color: #fff; }
.cp_day.empty { opacity: .4; cursor: not-allowed; }
.cp_slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.cp_slot { border: 1px solid #E5E0E8; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 13px; cursor: pointer; font-family: 'Outfit', sans-serif; color: #3f414e; }
.cp_slot:hover { border-color: var(--moris-primary); color: var(--moris-primary); }
.cp_slot.picked { background: var(--moris-gradient); color: #fff; border-color: transparent; }
.cp_booking .cp_actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cp_booking .cp_link { background: none; border: 0; color: var(--moris-primary); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 6px 0; display: block; font-family: 'Outfit', sans-serif; }
.cp_booking .cp_error { color: #E1003E; font-size: 13px; margin: 6px 0; }
.cp_booking .cp_foot { display: flex; justify-content: space-between; margin-top: 26px; font-size: 12px; color: #8a8a8a; }

/* Website-wise hiring emails (2026-11-19): the site heading rows in Settings › Email Templates, the "Add for <site>" link; the candidate's feedback page. */
.email_templates .tpl_table .tpl_site_row td { background: #F6F2F8; }
.email_templates .tpl_table .tpl_site { display: flex; align-items: center; gap: 14px; padding: 7px 8px; }
.email_templates .tpl_table .tpl_site .ctext { flex: 1; }
.email_templates .tpl_add_site { display: inline-block; font-size: 12px; margin-top: 2px; margin-right: 10px; padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.cp_rating .cp_slot { font-size: 14px; }
.cp_textarea { width: 100%; border: 1px solid #E5E0E8; border-radius: 12px; padding: 12px 14px; font-family: 'Outfit', sans-serif; font-size: 14px; margin: 0 0 14px; resize: vertical; }
.cp_textarea:focus { outline: none; border-color: var(--moris-primary); }
.hr_round_main .hr_feedback strong { color: #E8A100; letter-spacing: 1px; }

/* ===== The invoice on the supplied design artwork (Invoice V2 2026, the Accounting Portal pack's css/invoice.css) ===== */
@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
.inv-design { position: relative; width: 794px; height: 1123px; background: #fff; color: #1f1f1f; font-family: 'Outfit', 'Poppins', sans-serif; font-size: 11.5px; line-height: 1.5; overflow: hidden; box-sizing: border-box; display: block; }
.inv-design *, .inv-design *::before, .inv-design *::after { box-sizing: border-box; }
.inv-design p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.inv-design h5, .inv-design h6 { line-height: inherit; }
.invd-bg { position: absolute; inset: 0; width: 794px; height: 1123px; display: block; }
.invd-bg-blank { background: #fff; border-top: 4px solid #e3194b; }
.inv-design > *:not(.invd-bg) { position: absolute; }
.invd-facts { inset: 0; pointer-events: none; }
.invd-facts span { position: absolute; left: 174.7px; transform: translateY(-50%); font-size: 13.2px; font-weight: 400; white-space: nowrap; }
.is-tax .invd-facts span { left: 188px; }
.invd-facts .invd-status { font-weight: 500; color: #e3194b; }
.invd-status.s-paid { color: #2fb04a; }
.invd-status.s-partially-paid { color: #f39200; }
.invd-status.s-cancelled { color: #6b7280; }
.invd-bill { left: 392.7px; top: 240px; width: 362px; }
.invd-bill h5 { margin: 0 0 5px; font-size: 13.6px; font-weight: 500; color: #e3194b; line-height: 1.25; font-family: inherit; }
.invd-addr { display: flex; gap: 6px; align-items: flex-start; font-size: 10px; line-height: 14.6px; }
.invd-addr img { width: 10px; margin-top: 2px; flex: none; }
.invd-gst { margin: 7px 0 0 16px; font-size: 10.8px; display: flex; gap: 10px; }
.invd-gst b { font-weight: 500; }
.invd-contact { display: flex; margin-top: 6px; font-size: 10.8px; }
.invd-contact span { display: inline-flex; align-items: center; gap: 6px; min-width: 175px; }
.invd-contact span.em { min-width: 0; }
.invd-contact img { width: 10px; }
.invd-flow { left: 0; right: 0; top: 419px; bottom: 105px; display: flex; flex-direction: column; }
.invd-row { position: relative; min-height: 46px; padding: 14px 0; border-bottom: 1px solid #ececf0; font-size: 10.8px; line-height: 1.35; }
.invd-row > span { position: absolute; top: 14px; white-space: nowrap; }
.invd-row .c-svc { position: static; display: block; margin-left: 70.7px; width: 200px; white-space: normal; }
.invd-row .c-svc b { display: block; font-weight: 600; font-size: 11.2px; }
.invd-row .c-svc small { display: block; font-size: 9.6px; line-height: 12.3px; color: #2b2b2b; margin-top: 4px; }
.invd-row .c-sr { left: 33.2px; font-weight: 500; } .invd-row .c-type { left: 301.7px; } .invd-row .c-sac { left: 395.6px; } .invd-row .c-qty { left: 477.1px; }
.invd-row .c-basic { left: 527.6px; } .invd-row .c-disc { left: 614.3px; } .invd-row .c-price { left: 693px; }
.invd-lower { position: relative; height: 205px; margin-top: 32px; flex: none; }
.invd-paybox { position: absolute; left: 23px; top: 0; width: 202px; min-height: 110px; padding: 17px 14px 14px 23px; background: rgba(246, 242, 249, .92); border-radius: 16px; border-left: 2px solid #e3194b; font-size: 10.8px; line-height: 1.6; }
.invd-paybox div + div { margin-top: 10px; }
.invd-paybox b { display: block; font-weight: 600; }
.invd-totals { position: absolute; left: 491.5px; top: 0; width: 279.5px; background: rgba(246, 242, 249, .92); border-radius: 16px; font-size: 10.8px; }
.invd-totals div { display: grid; grid-template-columns: 139.5px 117.5px; }
.invd-totals span { text-align: right; font-weight: 600; }
.invd-totals b { text-align: right; font-weight: 500; }
.invd-totals .t-top { display: block; padding: 28px 0 16px; border-bottom: 1px solid #ebe4ef; }
.invd-totals .t-top div + div { margin-top: 7.6px; }
.invd-totals .t-grand { padding: 15px 0 14px; border-bottom: 1px solid #ebe4ef; color: #e3194b; font-size: 13.4px; }
.invd-totals .t-grand span, .invd-totals .t-grand b { font-weight: 600; }
.invd-totals .t-grand:last-child { border-bottom: 0; padding-bottom: 22px; }
.invd-totals .t-due { padding: 12px 0; }
.invd-totals .t-due + .t-due { padding-top: 0; }
.invd-totals .t-due:last-child { padding-bottom: 22px; }
.invd-foot { position: relative; margin-top: auto; display: grid; grid-template-columns: 444px 186px; column-gap: 74px; padding-left: 21.7px; align-items: end; flex: none; }
.invd-terms h6 { margin: 0 0 10px; font-size: 11px; font-weight: 500; color: #1f1f1f; font-family: inherit; }
.invd-terms p { margin: 0 0 11px; font-size: 8.6px; line-height: 12.3px; color: #3f3f46; text-align: justify; }
.invd-terms p:last-child { margin-bottom: 0; }
.invd-terms .invd-noterms { color: #dc2626; }
.invd-side { display: flex; flex-direction: column; align-items: center; }
.invd-cta { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 24px 0 18px; margin-bottom: 52px; border-radius: 99px; background: linear-gradient(90deg, #6a287a 0%, #b32068 70%, #e3194b 100%); color: #fff !important; font-weight: 600; font-size: 13px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(106, 40, 122, .18); }
.invd-cta .cta-ic { width: 16px; }
.invd-cta .cta-cur { position: absolute; right: -12px; bottom: -8px; width: 20px; }
.invd-sign { position: relative; width: 186px; text-align: center; padding-bottom: 6px; }
.invd-sign i { display: block; height: 1px; background: #8b8b93; margin-bottom: 9px; }
.invd-sign p { margin: 0; font-size: 10px; font-weight: 500; line-height: 16px; text-transform: uppercase; }
.invd-stamp { position: absolute; left: 50%; top: 13px; width: 87px; transform: translate(-50%, -50%) rotate(-4deg); mix-blend-mode: multiply; opacity: .95; }
.invd-scale { position: relative; overflow: hidden; margin: 0 auto; }
.invd-stage { background: #f3f0f6; padding: 24px; border-radius: 16px; display: flex; justify-content: center; }
.invd-stage .inv-design { box-shadow: 0 10px 30px rgba(40, 16, 48, .12); }
/* The admin's invoice view and the send screen draw the artwork sheet in place of the earlier hand-drawn sheet. */
.billing_view .invoice_grid > .invd-wrap { flex: 1; min-width: 0; }
.billing_pdf_source .inv-design { box-shadow: none; }
/* The client's invoice page. */
.ci-page { min-height: 100vh; background: #f3f0f6; font-family: 'Outfit', 'Poppins', sans-serif; padding: 28px 16px 48px; color: #252525; }
.ci-top { max-width: 840px; margin: 0 auto 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ci-top h1 { margin: 0; font-size: 20px; font-weight: 600; color: #6a287a; }
.ci-top h1 small { display: block; font-size: 13px; font-weight: 400; color: #6b7280; margin-top: 2px; }
.ci-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ci-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 99px; font-weight: 600; font-size: 13.5px; text-decoration: none !important; cursor: pointer; border: 1.5px solid #6a287a; color: #6a287a !important; background: #fff; font-family: inherit; }
.ci-btn.primary { background: linear-gradient(90deg, #6a287a 0%, #b32068 70%, #e3194b 100%); color: #fff !important; border-color: transparent; }
.ci-btn:disabled { opacity: .6; cursor: default; }
.ci-sheet { max-width: 840px; margin: 0 auto; }
.ci-sheet .invd-scale { box-shadow: 0 10px 30px rgba(40, 16, 48, .12); background: #fff; }
.ci-foot { max-width: 840px; margin: 18px auto 0; text-align: center; color: #6b7280; font-size: 12.5px; }
.ci-missing { max-width: 640px; margin: 80px auto; background: #fff; border-radius: 20px; padding: 36px; text-align: center; }
.ci-missing h1 { font-size: 20px; color: #6a287a; margin: 0 0 10px; }
/* Create Billing Document: the discount field (mode % / amount, then the value) and the line description row. */
.page_wrap .body_section .two_sections .left_section .tableresponsive .custom_table .commonbox.disc_col, .billing_form .custom_table .commonbox.disc_col { width: 172px; min-width: 172px; }
.billing_form .discount_cell { display: flex; align-items: center; gap: 0; height: 42px; border: 1px solid #E5DAE8; border-radius: 10px; background: #fff; overflow: hidden; }
.billing_form .discount_cell:focus-within { border-color: #6D007D; box-shadow: 0 0 0 3px rgba(109, 0, 125, .08); }
.billing_form .discount_mode { display: inline-flex; flex: none; height: 100%; border-right: 1px solid #E5DAE8; background: #F8F3FA; }
.billing_form .discount_mode button { border: 0; background: transparent; color: #6D007D; font-size: 13px; font-weight: 600; min-width: 34px; height: 100%; padding: 0 8px; cursor: pointer; line-height: 1; font-family: inherit; }
.billing_form .discount_cell .discount_mode button.on { background: #6D007D !important; color: #fff !important; }
.billing_form .discount_input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; padding: 0 8px 0 10px; font-size: 14px; font-weight: 500; color: #222; font-family: inherit; background: transparent; -moz-appearance: textfield; }
.billing_form .discount_input::-webkit-outer-spin-button, .billing_form .discount_input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.billing_form .discount_unit { flex: none; padding: 0 10px 0 2px; color: #8A8A8A; font-size: 13px; font-weight: 500; }
.billing_form .discount_hint { display: block; margin-top: 4px; font-size: 11.5px; color: #099F0F; font-weight: 500; }
.billing_form .line_desc { min-width: 0; flex: 1; }
.billing_form .line_desc_row { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 14px 34px; }
.billing_form .line_desc_row label { font-size: 12px; font-weight: 600; color: #6D007D; margin: 0; }
.billing_form .line_desc_row label span { font-weight: 400; color: #8A8A8A; margin-left: 6px; }
.billing_form .line_desc_input { display: block; width: 100%; max-width: 760px; border: 1px solid #E5DAE8; border-radius: 10px; font-size: 13px; line-height: 20px; padding: 9px 12px; resize: none; overflow: hidden; min-height: 42px; color: #333; font-family: inherit; background: #fff; }
.billing_form .line_desc_input::placeholder { color: #A5A5A5; }
.billing_form .line_desc_input:focus { outline: 0; border-color: #6D007D; box-shadow: 0 0 0 3px rgba(109, 0, 125, .08); }
/* Accounting Settings › Offices, Payment Page, Templates, Stamps, Assets (the app's own listing and form pieces). */
.acc_settings .acc_countrypills .c_btn { display: inline-flex; align-items: center; }
.acc_settings .acc_offices .acc_brandhead { padding: 24px 0 14px; }
.acc_settings .acc_paysection { margin-top: 10px; }
.acc_settings .acc_paysection_head { padding: 14px 0 6px; border-top: 1px solid #F0F0F0; }
.acc_settings .acc_paysection_head .btext { display: block; }
.acc_settings .acc_paysection_meta { padding: 6px 0 14px; }
.acc_settings .acc_tabflag { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.acc_settings .acc_banklogo { background: #fff; border: 1px solid #EAEAEA; }
.acc_settings .acc_banklogo.purple { background: #6a287a; border-color: #6a287a; }
.acc_settings .acc_banklogo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: 50%; }
.acc_settings .acc_stampthumb, .acc_settings .acc_assetthumb { background: #fff; border: 1px solid #EAEAEA; cursor: pointer; }
.acc_settings .acc_stampthumb img, .acc_settings .acc_assetthumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; border-radius: 50%; }
.acc_settings .acc_assetthumb.dark { background: #45184f; }
.acc_settings .acc_tplthumb { width: 46px; height: 64px; border-radius: 6px; overflow: hidden; background: #f3f0f6; border: 1px solid #EAEAEA; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 9px; text-align: center; }
.acc_settings .acc_tplthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.acc_imgpick .acc_imgbox { width: 84px; height: 84px; border-radius: 14px; border: 1px dashed #C9B3D0; background: #FEF9FF; overflow: hidden; cursor: pointer; flex: none; }
.acc_imgpick .acc_imgbox.tall { width: 110px; height: 150px; }
.acc_imgpick.wide .acc_imgbox { width: 220px; height: 84px; }
.acc_imgpick .acc_imgbox img { width: 100%; height: 100%; object-fit: contain; }
.acc_form_modal .acc_repeater, .acc_form_modal .acc_vars { margin-bottom: 20px; }
.acc_form_modal .acc_remove { width: 32px; height: 32px; min-width: 32px; border: 1px solid #EAEAEA; background: #fff; border-radius: 50%; flex: none; }
.acc_form_modal .acc_remove img { width: 12px; }
.acc_form_modal .acc_applies input { accent-color: #6D007D; }
.acc_form_modal .acc_tplpreview { position: sticky; top: 16px; padding: 14px; }
.acc_form_modal .acc_tctabs .c_btn { display: inline-flex; align-items: center; }
.acc_form_modal .btntype.fs11 { font-size: 11px; cursor: pointer; border: 0; }
.acc_form_modal .modal-dialog.full .centerbox { max-width: 1240px; }
.acc_form_modal [data-role] h3 { font-family: 'Outfit', sans-serif; }
.acc_settings .acc_remove:disabled { opacity: .35; }
.acc_settings .roundbtn.acc_remove { width: 28px; height: 28px; border: 1px solid #EAEAEA; background: #fff; border-radius: 50%; font-size: 13px; color: #6D007D; }
/* The artwork sheet keeps its own type sizes whatever page it sits on. */
.inv-design .invd-addr p { font-size: 10px; line-height: 14.6px; margin: 0; color: #1f1f1f; }
.inv-design .invd-bill h5 { font-size: 13.6px; }
.inv-design .invd-row .c-type, .inv-design .invd-row .c-sac { white-space: normal; width: 88px; line-height: 1.25; }
.inv-design .invd-row .c-sac { width: 76px; }
.inv-design .invd-sign p { font-size: 10px; line-height: 16px; }
.inv-design .invd-terms p { font-size: 8.6px; }
.inv-design .invd-paybox b, .inv-design .invd-paybox span { font-size: 10.8px; }
