/* 공통 부품 · 거래처 관리 · 홈 (덮어쓰기 층) — styles.css 에서 잘라 낸 조각. 자른 순서대로 읽힌다 · 순서를 바꾸면 생김새가 바뀐다 */
html, body { max-width: 100%; overflow-x: hidden; }
.app-shell, .layout, .main-content, .view-section,
.view-section > *, .panel, .table-wrap { min-width: 0; max-width: 100%; }

@media (min-width: 761px) {
  .main-content { padding: 18px 20px 34px; }
}

.view-section:not(#view-home) { gap: 12px; }
.view-section:not(#view-home) > .hero-card.compact:not(.contract-hero):not(.law-hero) { display: none; }

.view-section:not(#view-home) .panel,
.temp-reg-titlebar,
.temp-reg-workspace {
  border-color: #dfe6ec;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(16, 36, 62, .045);
}

.view-section:not(#view-home) .panel { padding: 16px; }
.view-section:not(#view-home) .panel-head {
  min-height: 44px;
  margin: -16px -16px 0;
  padding: 11px 16px;
  border-bottom: 1px solid #e7edf2;
  border-radius: 12px 12px 0 0;
  background: #fbfcfd;
}
.view-section:not(#view-home) .panel-head h3 { font-size: 15px; }
.view-section:not(#view-home) .meta-line { color: #718094; font-size: 11px; line-height: 1.55; }

.view-section:not(#view-home) .hero-card.contract-hero,
.view-section:not(#view-home) .hero-card.law-hero {
  min-height: 74px;
  padding: 14px 18px;
  overflow: hidden;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: linear-gradient(100deg, #fff 0%, #fff 74%, #eef9f8 100%);
  box-shadow: 0 3px 14px rgba(16, 36, 62, .045);
}
.view-section:not(#view-home) .hero-card h2 { font-size: 20px; }
.view-section:not(#view-home) .hero-card p:not(.hero-label) { max-width: 800px; margin-top: 4px; font-size: 11px; line-height: 1.55; }
.contract-origin-badge { padding: 8px 11px; border-color: #cfe4e3; border-radius: 8px; background: rgba(255,255,255,.9); }

/* Shared segmented tabs and toolbars */
.view-section:not(#view-home) .tab-row,
.law-source-tabs,
.temp-reg-tabs {
  gap: 4px;
  padding: 5px;
  border: 1px solid #e0e7ed;
  border-radius: 9px;
  background: #f3f6f8;
}
.view-section:not(#view-home) .tab-row button,
.law-source-tabs button,
.temp-reg-tabs button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #5d6c80;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}
.view-section:not(#view-home) .tab-row button:hover,
.law-source-tabs button:hover,
.temp-reg-tabs button:hover { background: #fff; color: var(--primary); }
.view-section:not(#view-home) .tab-row button.active,
.law-source-tabs button.active,
.temp-reg-tabs button.active {
  border-color: #c8e2e1;
  background: #fff;
  color: #078d8a;
  box-shadow: 0 1px 4px rgba(16,36,62,.08), inset 0 -2px var(--primary);
}

.tax-board-head, .vat-board-head, .client-board-head {
  align-items: flex-start;
  gap: 14px;
}
.tax-board-intro { min-width: 280px; }
.tax-toolbar {
  justify-content: flex-end;
  padding: 8px;
  border: 1px solid #e1e7ed;
  border-radius: 9px;
  background: #f7f9fb;
}
.tax-toolbar label { color: #617085; font-size: 10px; font-weight: 800; }
.tax-toolbar select, .tax-toolbar input { min-height: 34px; background: #fff; }
.tab-summary-grid { gap: 8px; }
.tab-summary-card {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e1e7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}
.tab-summary-card span { font-size: 10px; }
.tab-summary-card strong { font-size: 18px; }
.withholding-workflow-wrap, .vat-client-list, .admin-user-wrap, .admin-audit-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
}

/* Client management: compact master/detail workspace */
#view-temp_registration { gap: 12px; }
.temp-reg-titlebar {
  min-height: 70px;
  padding: 12px 16px 12px 18px;
  border-left: 4px solid var(--primary);
  background: #fff;
}
.temp-reg-titlebar h2 { margin-top: 2px; font-size: 20px; letter-spacing: -.03em; }
.temp-reg-title-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.temp-reg-title-actions button { min-height: 34px; padding: 7px 12px; }
.temp-reg-workspace {
  grid-template-columns: 288px minmax(0, 1fr);
  height: calc(100vh - 176px);
  min-height: 620px;
  max-height: none;
  overflow: hidden;
  border-top: 1px solid #dfe6ec;
  background: #fff;
}
.temp-reg-sidebar { border-color: #dfe6ec; background: #f5f7f9; }
.temp-reg-counts { gap: 6px; padding: 10px; border-bottom: 0; background: #f5f7f9; }
.temp-reg-count {
  min-height: 55px;
  padding: 8px 4px;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  background: #fff;
}
.temp-reg-count:last-child { border-right: 1px solid #dfe6ec; }
.temp-reg-count strong { color: #3e546d; font-size: 17px; }
.temp-reg-count.active { border-color: var(--primary); background: var(--primary); box-shadow: 0 3px 9px rgba(15,159,156,.18); }
.temp-reg-filter-row { gap: 7px; padding: 4px 10px; }
.temp-reg-filter-row select, .temp-reg-search-row input {
  height: 36px;
  border-color: #d5dee7;
  border-radius: 7px;
}
.temp-reg-search-row { grid-template-columns: minmax(0,1fr) 48px; gap: 7px; padding: 7px 10px; }
.temp-reg-search-row button { border-radius: 7px; background: var(--dark); }
.temp-reg-result-label { margin: 4px 12px 8px; }
.temp-reg-list { padding: 0 10px 14px; }
.temp-reg-card { margin-bottom: 7px; border-color: #dfe6ec; border-radius: 9px; box-shadow: 0 1px 2px rgba(16,36,62,.025); }
.temp-reg-card-main { padding-top: 11px; padding-bottom: 10px; }
.temp-reg-card.active { background: #f2fbfa; }
.temp-reg-company-head {
  min-height: 66px;
  padding: 13px 18px;
  background: linear-gradient(100deg, #10243e, #16395b);
}
.temp-reg-company-head strong { font-size: 19px; }
.temp-reg-head-right { min-width: 0; }
.temp-reg-backup { max-width: 330px; overflow: hidden; border-color: rgba(255,255,255,.3); border-radius: 6px; text-overflow: ellipsis; white-space: nowrap; }
.temp-reg-tabs {
  height: auto;
  margin: 10px 14px 0;
  padding: 4px;
  border-bottom: 1px solid #e0e7ed;
}
.temp-reg-tabs button { min-width: 100px; }
.temp-reg-detail-body { grid-template-columns: minmax(460px,1fr) minmax(260px,330px); gap: 18px; padding: 14px 16px 24px; }
.temp-reg-info-row { grid-template-columns: 176px minmax(0,1fr); min-height: 46px; border-bottom: 1px solid #edf1f4; }
.temp-reg-info-row dt { padding: 9px 13px; background: #f5f7f9; color: #4d5f75; font-size: 12px; }
.temp-reg-info-row dd { padding: 8px 13px; border-bottom: 0; font-size: 12px; }
.temp-reg-memo { position: sticky; top: 14px; border-radius: 10px; background: #eef9f8; }
.temp-reg-memo > strong { padding: 13px 15px; }
.temp-reg-memo > #temp-reg-memo-text { min-height: 120px; padding: 9px 15px; }

/* Law research: reduce empty chrome and keep the 3-pane workspace contained */
#view-law { gap: 10px; }
.law-hero { min-width: 0; }
.law-hero > div:first-child { min-width: 0; }
.law-source-tabs { padding: 5px 7px; }
.law-search-panel { gap: 9px; padding: 13px 15px !important; }
.law-search-form { grid-template-columns: 160px minmax(220px,1fr) auto; gap: 8px; }
.law-search-mode-field, .law-search-field { gap: 5px; font-size: 11px; font-weight: 700; }
.law-search-mode-field select, .law-search-field input { min-height: 38px; padding: 8px 11px; border-radius: 7px; }
.law-presets { gap: 5px; font-size: 10px; }
.law-presets button { padding: 5px 9px; border-radius: 6px; }
.law-explorer-layout { grid-template-columns: 240px minmax(0,1fr); gap: 10px; min-width: 0; }
.law-chain-main, .law-reference-chain-main { min-width: 0; max-width: 100%; }
.law-chain-results-panel { padding-bottom: 10px !important; }
.law-explorer-layout .law-chain-results-panel { top: 88px; max-height: calc(100vh - 110px); }
.law-find-panel { margin: 0; padding: 9px 12px !important; border-radius: 10px !important; }
.law-chain-board {
  width: 100%;
  min-width: 0;
  min-height: 520px;
  margin-top: 10px;
  border-color: #d7e0e8;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(16,36,62,.045);
}
.law-chain-pane { min-width: 0; height: min(66vh,740px); background: #fff; }
.law-chain-pane-head { padding: 11px 13px; border-color: #dfe6ec; background: rgba(245,248,250,.97); }
.law-chain-pane-head h3 { font-size: 14px; }
.law-chain-pane-body { padding: 10px; }
.law-reference-layout { grid-template-columns: 240px minmax(0,1fr); gap: 10px; min-width: 0; }

/* Forms, calculators and document tools */
.contract-workspace, .binding-workspace, .credit-split-layout {
  grid-template-columns: minmax(420px,.95fr) minmax(360px,1.05fr);
  gap: 12px;
  min-width: 0;
}
.contract-form-section, .binding-form-section, .subpanel, .credit-section {
  border-color: #e0e7ed;
  border-radius: 10px;
  background: #fbfcfd;
  box-shadow: none;
}
.contract-section-title > span { background: var(--primary); box-shadow: none; }
.contract-form-grid, .binding-default-grid, .binding-bulk-highlight, .binding-item-grid { gap: 10px; }
.contract-preview-panel, .binding-preview-panel { position: sticky; top: 94px; align-self: start; }
.contract-preview-frame, .contract-preview-empty { border-radius: 9px; }
.payroll-client-panel { background: linear-gradient(100deg,#fff,#f2fbfa); }
.payroll-grid { gap: 10px; }
.pdf-tool-panel { min-width: 0; }
.pdf-tool-panel .subpanel { padding: 14px; }
.drop-zone, .pdf-drop-zone { border-color: #bcd8d7; border-radius: 10px; background: #f3fbfa; }
.file-label {
  position: relative;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #435268;
  cursor: pointer;
}
.file-label:hover { border-color: #9fc7c5; background: #f4fbfa; color: #087f7c; }
.file-label input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.file-label span { display: inline-flex; min-height: 34px; padding: 8px 13px; align-items: center; font-size: 12px; font-weight: 700; }
.subpanel > .panel-head { margin: -14px -14px 0 !important; }

/* Dashboard refinement: closer proportions, clearer cards, less dead space */
#view-home { gap: 12px; }
.home-kpi-grid { gap: 12px; }
.home-kpi-card {
  position: relative;
  min-height: 112px;
  padding: 16px 18px;
  overflow: hidden;
  border-color: #dfe6ec;
  border-radius: 11px;
  box-shadow: 0 3px 14px rgba(16,36,62,.045);
}
.home-kpi-card::after { content:""; position:absolute; inset:0 0 auto; height:3px; background:linear-gradient(90deg,var(--primary),#71d4d0); opacity:.82; }
.home-kpi-icon { flex-basis: 50px; width: 50px; height: 50px; font-size: 22px; }
.home-kpi-card strong { font-size: 31px; }
.home-dashboard-grid { grid-template-columns: minmax(300px,.94fr) minmax(380px,1.18fr) minmax(250px,.72fr); gap: 12px; }
.home-dashboard-grid > .panel { min-height: 410px; }
.home-dashboard-grid .panel, .home-workflow-panel, .home-activity-panel { border-color:#dfe6ec; border-radius:11px; }
.home-dashboard-grid .panel-head, .home-workflow-panel .panel-head, .home-activity-panel .panel-head { background:#fbfcfd; }
.home-quick-grid { gap: 6px; }
.home-quick-grid button { min-height: 68px; border-color:#e0e7ed; border-radius:8px; font-size:10px; line-height:1.3; }
.home-quick-grid button > span { height:25px; min-width:25px; font-size:14px; }
.home-workflow-stage { min-height: 70px; border-radius:8px; background:#fbfcfd; }
.home-activity-row { min-height: 30px; }
.home-dashboard-empty-rich {
  display: grid;
  min-height: 285px;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(15,159,156,.065), transparent 54%);
}
.home-dashboard-empty-rich > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 3px;
  place-items: center;
  border: 1px solid #cde5e4;
  border-radius: 50%;
  background: #eaf8f7;
  color: #0b9693;
  font-size: 18px;
  font-weight: 800;
}
.home-dashboard-empty-rich strong { color: #425369; font-size: 12px; }
.home-dashboard-empty-rich small { color: #8491a1; font-size: 10px; }
.home-dashboard-empty-rich.is-compact { min-height: 112px; }
.home-dashboard-empty-rich.is-compact > span { width: 32px; height: 32px; font-size: 14px; }

@media (max-width: 1380px) and (min-width: 761px) {
  .temp-reg-detail-body { grid-template-columns: minmax(0,1fr); }
  .temp-reg-memo { position: static; }
  .contract-workspace, .binding-workspace { grid-template-columns: minmax(380px,1fr) minmax(330px,.9fr); }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .home-dashboard-grid { grid-template-columns: minmax(280px,.92fr) minmax(340px,1.08fr); }
  .home-dashboard-rail { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .home-quick-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .tax-board-head, .vat-board-head, .client-board-head { align-items: stretch; flex-direction: column; }
  .tax-toolbar { justify-content: flex-start; }
  .temp-reg-workspace { grid-template-columns: 252px minmax(0,1fr); }
  .contract-workspace, .binding-workspace, .credit-split-layout { grid-template-columns: 1fr; }
  .contract-preview-panel, .binding-preview-panel { position: static; }
  .law-explorer-layout, .law-reference-layout { grid-template-columns: 210px minmax(0,1fr); }
}

@media (max-width: 760px) {
  .view-section:not(#view-home) .panel-head { align-items: flex-start; flex-direction: column; }
  .temp-reg-titlebar { align-items: flex-start; flex-direction: column; }
  .temp-reg-title-actions { width: 100%; justify-content: flex-start; }
  .temp-reg-workspace { display: block; height: auto; min-height: 0; overflow: visible; }
  .temp-reg-sidebar { max-height: 420px; border-right: 0; border-bottom: 1px solid #dfe6ec; }
  .temp-reg-detail { overflow: visible; }
  .temp-reg-detail-body { grid-template-columns: 1fr; padding: 10px; }
  .temp-reg-info-row { grid-template-columns: 120px minmax(0,1fr); }
  .temp-reg-company-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .temp-reg-head-right { width: 100%; }
  .law-search-form { grid-template-columns: 1fr; }
  .law-explorer-layout, .law-reference-layout { grid-template-columns: 1fr; }
  .law-explorer-layout .law-chain-results-panel { position: static; max-height: none; }
  .law-chain-board { grid-template-columns: 1fr; min-height: 0; }
  .law-chain-pane { height: auto; min-height: 360px; }
  .contract-workspace, .binding-workspace, .credit-split-layout { grid-template-columns: 1fr; }
  .home-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .home-dashboard-rail { grid-column: auto; grid-template-columns: minmax(0,1fr); grid-template-rows: none; }
  .home-quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-workflow { grid-template-columns: minmax(0,1fr); }
}

/* Dashboard visual polish for the real 1365px workspace */
html, body { overflow-x: clip; }

.home-dashboard-grid > .panel,
.home-dashboard-rail .panel { align-content: start; }
.home-schedule-panel { grid-template-rows: auto minmax(0,1fr); }
.home-schedule-panel #home-schedule-list { min-height: 0; align-self: stretch; }
.home-withholding-panel { grid-template-rows: auto minmax(0,1fr); }
.home-withholding-panel #home-withholding-progress { align-self: start; }

.home-kpi-card {
  min-height: 118px;
  padding: 17px 19px;
  border-color: #d9e2e9;
  box-shadow: 0 4px 16px rgba(16,36,62,.06);
}
.home-kpi-card:hover { transform: translateY(-1px); border-color: #bedad9; box-shadow: 0 7px 20px rgba(16,36,62,.085); }
.home-kpi-icon { flex-basis: 52px; width:52px; height:52px; font-size:23px; }
.home-kpi-card p { font-size:14px; }
.home-kpi-card strong { font-size:35px; letter-spacing:-.035em; }
.home-kpi-card strong small { font-size:12px; }
.home-kpi-card > div:last-child > span { font-size:11px; }

.home-dashboard-grid .panel-head,
.home-workflow-panel .panel-head,
.home-activity-panel .panel-head {
  min-height: 56px;
  padding: 12px 16px;
}
.home-dashboard-grid .panel-head h3,
.home-workflow-panel .panel-head h3,
.home-activity-panel .panel-head h3 { font-size:16px; }
.home-dashboard-grid .panel-head .meta-line { margin-top:5px; font-size:11px; }
.home-panel-link { font-size:11px; font-weight:700; }

.home-schedule-item {
  grid-template-columns: 66px 12px minmax(0,1fr) auto;
  gap: 9px;
  min-height: 65px;
  padding: 7px 0;
}
.home-schedule-item::before { left:72px; }
.home-schedule-date {
  min-height:48px;
  padding:6px 4px;
  align-content:center;
  border-radius:8px;
  background:#f0f9f8;
}
.home-schedule-date strong { font-size:14px; }
.home-schedule-date small { font-size:10px; }
.home-schedule-title {
  display:-webkit-box;
  overflow:hidden;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.home-schedule-note { font-size:10px; }
.home-schedule-dday { min-width:44px; padding:5px 6px; font-size:10px; }

.home-wh-summary { margin-top:1px; border-radius:8px; }
.home-wh-summary > div { min-height:72px; align-content:center; padding:10px 7px; }
.home-wh-summary span { font-size:10px; font-weight:700; }
.home-wh-summary strong { font-size:21px; }
.home-wh-table { margin-top:10px; }
.home-wh-table-head { min-height:36px; font-size:10px; }
.home-wh-table-row { min-height:47px; font-size:11px; }
.home-wh-table-row strong { font-size:11px; }
.home-wh-table-row i { width:48px; height:6px; }

.home-quick-grid button {
  min-height:72px;
  padding:8px 4px;
  gap:5px;
  border-color:#dbe4eb;
  font-size:10.5px;
  line-height:1.32;
  word-break:keep-all;
}
.home-quick-grid button > span { height:28px; min-width:28px; border-radius:8px; font-size:15px; }
.home-deadline-list button { min-height:59px; }
.home-deadline-list button em { font-size:10.5px; }

.home-workflow-panel { padding-bottom:14px; }
.home-workflow { padding-top:11px; }
.home-workflow-stage { min-height:75px; padding:9px 11px; }
.home-workflow-stage strong { font-size:12px; }
.home-workflow-stage b { font-size:22px; }
.home-workflow-stage > div > span, .home-workflow-stage mark { font-size:9.5px; }
.home-activity-row { min-height:32px; font-size:10px; }
.home-activity-row strong { font-size:10px; }

@media (max-width: 1450px) and (min-width: 1281px) {
  body:not(.sidebar-collapsed) .topbar { grid-template-columns:232px minmax(60px,1fr) auto; }
  body:not(.sidebar-collapsed) .sidebar { width:232px; }
  body:not(.sidebar-collapsed) .main-content { margin-left:232px; padding:16px 18px 32px; }
  body:not(.sidebar-collapsed) .brand { margin-right:10px; padding-inline:16px; }
  .home-dashboard-grid { grid-template-columns:minmax(300px,.9fr) minmax(380px,1.28fr) 255px; }
  .home-dashboard-grid > .panel { min-height:400px; }
  .home-quick-grid button { min-height:68px; }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .home-kpi-card { min-height:108px; }
  .home-kpi-card strong { font-size:31px; }
  .home-dashboard-grid > .panel { min-height:380px; }
}

/* Dashboard structure: main work area + independent right rail */
.home-dashboard-body {
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  gap:12px;
  align-items:start;
  min-width:0;
}
.home-dashboard-main { display:grid; gap:12px; min-width:0; }
.home-dashboard-grid {
  grid-template-columns:minmax(310px,.92fr) minmax(410px,1.18fr);
  gap:12px;
  align-items:start;
}
.home-dashboard-grid > .panel { min-height:405px; }
.home-dashboard-rail {
  grid-column:auto;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:12px;
  align-content:start;
}
.home-quick-grid button b {
  display:grid;
  min-height:27px;
  place-items:center;
  color:inherit;
  font-size:11px;
  line-height:1.3;
  text-align:center;
  white-space:nowrap;
  word-break:keep-all;
}
.home-quick-grid button b .ui-editable-text {
  display:inline;
  width:auto;
  min-width:0;
  height:auto;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font:inherit;
  line-height:inherit;
}
.home-deadline-panel { min-height:0; }

@media (max-width:1450px) and (min-width:1281px) {
  .home-dashboard-body { grid-template-columns:minmax(0,1fr) 280px; }
  .home-dashboard-grid { grid-template-columns:minmax(300px,.9fr) minmax(390px,1.22fr); }
  .home-dashboard-grid > .panel { min-height:395px; }
}

@media (max-width:1280px) and (min-width:761px) {
  .home-dashboard-body { grid-template-columns:minmax(0,1fr); }
  .home-dashboard-grid { grid-template-columns:minmax(280px,.92fr) minmax(340px,1.08fr); }
  .home-dashboard-rail { grid-template-columns:1fr 1fr; }
  .home-quick-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}

@media (max-width:980px) {
  .home-dashboard-body { grid-template-columns:minmax(0,1fr); }
  .home-dashboard-grid { grid-template-columns:minmax(0,1fr); }
  .home-dashboard-grid > .panel { min-height:0; }
  .home-dashboard-rail { grid-template-columns:minmax(0,1fr); }
  .home-quick-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Client workspace: table + detail rail */
#view-temp_registration{position:relative;padding:0;background:#f6f8fb}
#view-temp_registration .temp-reg-titlebar{position:absolute;z-index:4;right:388px;top:10px;height:38px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-temp_registration .temp-reg-titlebar>div:first-child{display:none}
#view-temp_registration .temp-reg-title-actions{gap:7px}
#view-temp_registration .temp-reg-title-actions button{height:38px;padding:0 15px;border-radius:6px;font-size:12px}
#view-temp_registration #temp-reg-new-client{order:10;border-color:#099c9d;background:#099c9d;color:#fff}
#view-temp_registration .temp-reg-workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;height:calc(100vh - 92px);min-height:640px;max-height:none;border:0;border-radius:0;background:#fff;box-shadow:none;overflow:hidden}
.temp-reg-list-pane{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid #dfe6ed;background:#fff}
.temp-reg-list-tab{height:58px;padding:0 20px;border-bottom:1px solid #e1e7ed;background:#fff}
.temp-reg-list-tab strong{display:inline-flex;height:58px;align-items:center;border-bottom:3px solid #0aa0a1;color:#16243a;font-size:14px}
.temp-reg-filter-bar{display:grid;grid-template-columns:168px 178px 152px minmax(240px,1fr);gap:10px;margin:14px 20px 10px;padding:14px;border:1px solid #dfe6ed;border-radius:7px;background:#fbfcfd}
.temp-reg-filter-bar label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;color:#34445b;font-size:12px;font-weight:700;white-space:nowrap}
.temp-reg-filter-bar select,.temp-reg-search-row input{width:100%;height:36px;border:1px solid #d7e0e9;border-radius:5px;background:#fff;color:#34445b;font:inherit;font-size:12px}
.temp-reg-filter-bar select{padding:0 28px 0 9px}
.temp-reg-search-row{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:8px;padding:0}
.temp-reg-search-row input{padding:0 12px}
.temp-reg-search-row button{height:36px;padding:0 12px;border:1px solid #d5dee8;border-radius:5px;background:#fff;color:#24354d;font:inherit;font-size:12px;font-weight:700;white-space:nowrap}
.temp-reg-search-row button:hover{border-color:#0a9d9e;color:#078c8d}
.temp-reg-list-toolbar{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:0 20px;border-bottom:1px solid #e4e9ef}
.temp-reg-list-toolbar>div:first-child{display:flex;align-items:center;gap:12px}
.temp-reg-counts{display:flex;gap:3px;padding:0;border:0;background:transparent}
.temp-reg-count{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 8px;border:0!important;border-radius:5px;background:transparent!important;color:#68768a;font-size:11px}
.temp-reg-count strong{display:inline;margin:0;color:#118f91;font-size:12px}
.temp-reg-count.active{background:#e9f7f7!important;color:#087e80}.temp-reg-count.active strong{color:#087e80}
.temp-reg-result-label{margin:0;color:#8290a2;font-size:11px}.temp-reg-result-label strong{color:#0b9495}
.temp-reg-list-actions{display:flex;gap:7px}.temp-reg-list-actions button{height:34px;padding:0 12px;border-radius:5px;font-size:11px}.temp-reg-list-actions .primary-button{border-color:#079c9d;background:#079c9d}
.temp-reg-list{flex:1;min-height:0;padding:0;overflow:auto;background:#fff}
.temp-reg-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;color:#435269;font-size:11px}
.temp-reg-table th{height:42px;padding:0 10px;border-bottom:1px solid #dce4ec;background:#fafbfd;color:#25354d;font-weight:700;text-align:left;white-space:nowrap}
.temp-reg-table td{height:49px;padding:6px 10px;border-bottom:1px solid #e7ecf1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.temp-reg-table th:nth-child(1),.temp-reg-table td:nth-child(1){width:38px;text-align:center}.temp-reg-table th:nth-child(2),.temp-reg-table td:nth-child(2){width:18%}.temp-reg-table th:nth-child(3),.temp-reg-table td:nth-child(3){width:14%}.temp-reg-table th:nth-child(4),.temp-reg-table td:nth-child(4){width:12%}.temp-reg-table th:nth-child(5),.temp-reg-table td:nth-child(5){width:15%}.temp-reg-table th:nth-child(6),.temp-reg-table td:nth-child(6){width:17%}.temp-reg-table th:nth-child(7),.temp-reg-table td:nth-child(7){width:10%}.temp-reg-table th:nth-child(8),.temp-reg-table td:nth-child(8){width:12%}
.temp-reg-table tbody tr{cursor:pointer;transition:background .12s ease}.temp-reg-table tbody tr:hover{background:#f5fbfb}.temp-reg-table tbody tr.active{background:#ebf8f8;box-shadow:inset 3px 0 #0a9e9f}.temp-reg-table tbody tr.multi-selected{background:#eef7ff}
.temp-reg-table tr.temp-reg-card{position:static;display:table-row;width:auto;margin:0;padding:0;border:0;border-radius:0;background:#fff;text-align:left;overflow:visible;box-shadow:none}
.temp-reg-table tr.temp-reg-card:hover{border:0;background:#f5fbfb;box-shadow:none}.temp-reg-table tr.temp-reg-card.active{border:0;background:#ebf8f8;box-shadow:inset 3px 0 #0a9e9f}.temp-reg-table tr.temp-reg-card.multi-selected{background:#eef7ff;box-shadow:none}
.temp-reg-company-cell{display:block;overflow:hidden;color:#17263d;font-size:12px;text-overflow:ellipsis}
.temp-reg-table .temp-reg-card-tags{display:flex;min-height:14px;justify-content:flex-start;gap:3px;margin:2px 0 0;padding:0;overflow:hidden}.temp-reg-table .temp-reg-tag{padding:0 4px;border-radius:4px;font-size:9px;line-height:14px}.temp-reg-table .temp-reg-tag-add{width:14px;height:14px}.temp-reg-table .temp-reg-tag-add::before{width:7px}.temp-reg-table .temp-reg-tag-add::after{height:7px}
.temp-reg-table .temp-reg-select-box{position:static;display:grid;width:17px;height:17px;margin:auto;padding:0;transform:none;place-items:center;border:1px solid #c3ced9;border-radius:4px;background:#fff;color:#fff;font-size:10px}.temp-reg-table tr.multi-selected .temp-reg-select-box{border-color:#0b999a;background:#0b999a}
