.feedback-filter,.analysis-filter{display:flex;align-items:end;gap:12px;margin-bottom:15px;padding:14px}
#personModal{place-items:start center;overflow-y:auto}
#personModal>.person-modal{height:calc(100dvh - 40px);max-height:calc(100vh - 40px);overflow-y:scroll!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}
#personModal>.person-modal::-webkit-scrollbar{width:10px}
#personModal>.person-modal::-webkit-scrollbar-thumb{background:#9bb7a8;border:2px solid var(--paper);border-radius:10px}
.modal-backdrop{overflow-y:auto;align-items:start}
.modal-backdrop>.person-modal{margin:auto;max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal-backdrop>.person-modal::-webkit-scrollbar{width:10px}
.modal-backdrop>.person-modal::-webkit-scrollbar-thumb{background:#9bb7a8;border:2px solid var(--paper);border-radius:10px}
.assignment-list{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow-y:auto;padding-right:4px}
.assignment-item{display:flex;align-items:flex-start;gap:9px;padding:9px;border:1px solid var(--line);border-radius:9px;background:#fff}
.assignment-item span,.assignment-item small{display:block}.assignment-item small{margin-top:3px;color:var(--muted)}
.integrated-review-modal{width:min(980px,100%);max-height:calc(100vh - 30px);overflow-y:auto}.integrated-review-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.integrated-review-fields fieldset{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:10px}.integrated-review-fields legend{font-weight:900;color:var(--green-dark);padding:0 6px}.integrated-review-fields textarea{width:100%;min-height:70px;border:1px solid var(--line);border-radius:9px;padding:9px;resize:vertical}.integrated-review-fields[hidden]{display:none}@media(max-width:760px){.integrated-review-fields{grid-template-columns:1fr}}
.export-modal{width:min(620px,calc(100% - 24px))}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.export-options button{display:flex;min-height:170px;flex-direction:column;align-items:flex-start;gap:9px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#f7faf8;color:var(--ink);text-align:left;cursor:pointer}.export-options button:hover,.export-options button:focus-visible{border-color:var(--green);background:#eaf4ef;box-shadow:0 8px 20px rgba(35,107,87,.12)}.export-options strong{font-size:19px;color:var(--green-dark)}.export-options span{line-height:1.55}.export-options small{margin-top:auto;color:var(--muted);font-weight:700}@media(max-width:560px){.export-options{grid-template-columns:1fr}.export-options button{min-height:135px}}
.call-content-modal{width:min(780px,calc(100% - 24px))}.artifact-panel{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#f7faf8}.artifact-panel h4{margin:0 0 10px}.artifact-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.artifact-heading .secondary-button{padding:8px 12px;text-decoration:none}.artifact-status{padding:12px;border-radius:10px;background:#edf5f1;color:var(--green-dark);font-weight:700}.call-content-modal audio{width:100%}.call-transcript-full{max-height:42vh;margin:0;padding:14px;border-radius:9px;background:#fff;white-space:pre-wrap;overflow:auto;font:14px/1.7 "Malgun Gothic",sans-serif;color:var(--ink)}.archive-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.archive-links a{text-decoration:none}
.feedback-filter label,.analysis-filter label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:10px}
.feedback-filter input,.feedback-filter select,.analysis-filter input,.analysis-filter select{height:39px;min-width:190px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 11px;color:var(--ink);font-size:11px}
.feedback-card h4{margin:0 0 8px;font-size:14px}
.feedback-followup{font-size:10px;color:var(--orange);align-self:center;margin-left:auto}
.analysis-data-table td{vertical-align:middle}
.analysis-data-table .summary-cell{min-width:260px}
@media(max-width:760px){.feedback-filter,.analysis-filter{align-items:flex-start;flex-wrap:wrap}.feedback-filter label,.analysis-filter label,.feedback-filter input,.feedback-filter select,.analysis-filter input,.analysis-filter select{width:100%}.feedback-followup{margin-left:0}}
.record-search{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.record-search label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px}.record-search input,.record-search select{height:37px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px;font-size:11px}.record-pager{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:15px}.record-pager button{padding:9px 14px}.record-pager span{font-size:11px;color:var(--muted)}.report-list .table-action+.table-action{margin-left:5px}.board-card{border-left:4px solid var(--green)}.board-meta,.board-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.board-meta{font-size:10px;color:var(--muted);margin:10px 0}.board-actions button{padding:9px 12px;font-size:11px}.general-feedback-panel{margin-top:16px}.general-feedback-item{padding:12px 0;border-top:1px solid var(--line)}.general-feedback-item:first-child{border-top:0}.general-feedback-item p{font-size:11px;color:#536159}.general-feedback-item small{color:var(--muted)}.service-period{margin:12px 0}.service-period input{width:100%;height:40px;border:1px solid var(--line);border-radius:9px;padding:0 10px;background:#fff}.login-form{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.login-form label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px}.login-form input{height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff}.login-form+.secondary-button{width:100%;margin-bottom:8px}.service-period label{font-size:11px;font-weight:700}.sidebar-foot small{line-height:1.4}.board-card .status-pill{vertical-align:middle}

/* FEEDBACK_MODAL_COMPACT_V1 */
#feedbackModal .integrated-review-modal {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px 28px;
}

#feedbackModal .modal-head {
  margin: 0 0 12px;
  padding: 0;
}

#feedbackForm.person-form {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start !important;
  gap: 14px !important;
  min-height: 0 !important;
}

#feedbackContext.call-help {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#feedbackContext p {
  margin: 0 0 6px;
}

#feedbackModal .feedback-call-tools {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  min-height: 0 !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
}

#feedbackCallContent {
  align-self: flex-start !important;
  margin: 0 !important;
}

#feedbackModal label,
#feedbackModal fieldset {
  margin-top: 0;
  margin-bottom: 0;
}

#feedbackModal .modal-actions {
  margin-top: 2px;
}


/* FEEDBACK_GUIDANCE_TOGGLE_HIDE_V1 */
#feedbackForm .feedback-guidance-toggle,
#feedbackForm .guidance-toggle,
#feedbackForm .feedback-guidance-option,
#feedbackForm label:has(#feedbackGuidanceEnabled) {
  display: none !important;
}

#feedbackGuidanceEnabled {
  display: none !important;
}

#feedbackGuidanceFields {
  display: block !important;
}

/* MEMBER_MEMO_BALANCE_V1 */
#feedbackForm label:has(textarea[name="body"]) {
  display: grid;
  gap: 10px;
  margin-top: 30px !important;
}

#feedbackForm #feedbackBodyLabel {
  display: block;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink, #18352f);
}

#feedbackForm textarea[name="body"] {
  margin-top: 0 !important;
}

/* 회원 관리 메모 아래 중요 메모 선택 상자를 위로 당김 */
#feedbackForm label:has(textarea[name="body"])
  ~ :is(div, section, label):has(input[type="checkbox"]) {
  margin-top: 10px !important;
}
/* /MEMBER_MEMO_BALANCE_V1 */

/* MEMBER_MEMO_INPUT_FONT_V1 */
#feedbackForm textarea[name="body"] {
  font-size: 16px;
  line-height: 1.65;
}


/* MEMBER_MEMO_HEIGHT_V1 */
#feedbackForm textarea[name="body"] {
  height: 112px;
  min-height: 112px;
}


/* MEMBER_NOTES_SCROLL_V1 */
.person-management-memo-preview {
  font-size: 16px;
  line-height: 1.6;
}

.person-management-memo-preview > b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 800;
}

.member-note-scroll {
  display: grid;
  gap: 7px;
  max-height: 160px;
  margin-top: 4px;
  padding-right: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.member-note-row {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.member-note-row.important {
  border-left: 4px solid var(--green-dark);
  background: #f2f7f4;
}

.member-note-empty {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}


/* ORGANIZATION_SCOPE_V1 */
.organization-scope{display:flex;align-items:center;gap:8px;min-width:190px;padding:8px 12px;border:1px solid rgba(35,91,72,.16);border-radius:14px;background:#fff;color:#235b48}.organization-scope>span{font-size:12px;font-weight:700;white-space:nowrap;color:#6d7d76}.organization-scope select{width:100%;min-width:125px;border:0;background:transparent;color:#173f34;font:inherit;font-weight:700;outline:0}.organization-scope strong{font-size:14px;white-space:nowrap;color:#173f34}.organization-scope[hidden]{display:none!important}#callCards .table-wrap,#analysisTable{overflow-x:auto}.report-list,.analysis-data-table{min-width:1480px;table-layout:fixed}.report-list th,.report-list td,.analysis-data-table th,.analysis-data-table td{padding:14px 10px;vertical-align:top;font-size:13px;line-height:1.55}.report-list .summary-cell,.analysis-data-table .summary-cell{white-space:normal;overflow-wrap:anywhere}.report-list small,.analysis-data-table small{display:block;margin-top:4px}@media(max-width:900px){.organization-scope{min-width:0;max-width:180px}.organization-scope>span{display:none}.organization-scope select{min-width:100px}}


/* COMPACT_COUNSELING_ROWS_V2 */
.report-list,.analysis-data-table{width:100%;min-width:1450px;table-layout:fixed}
.report-list th,.report-list td,.analysis-data-table th,.analysis-data-table td{padding:10px 8px;line-height:1.45}
.person-cell strong,.person-cell small,.date-cell .date-line,.date-cell .time-line{display:block;white-space:nowrap}
.person-cell strong{font-size:14px}.person-cell small,.date-cell .time-line{margin-top:3px;font-size:12px;color:#75827d}
.report-list th:nth-child(1){width:120px}.report-list th:nth-child(2){width:130px}.report-list th:nth-child(3){width:90px}.report-list th:nth-child(4){width:260px}.report-list th:nth-child(5){width:75px}.report-list th:nth-child(6){width:165px}.report-list th:nth-child(7){width:220px}.report-list th:nth-child(8){width:170px}.report-list th:nth-child(9){width:220px}
.analysis-data-table th:nth-child(1){width:130px}.analysis-data-table th:nth-child(2){width:120px}.analysis-data-table th:nth-child(3){width:90px}.analysis-data-table th:nth-child(4){width:75px}.analysis-data-table th:nth-child(5){width:260px}.analysis-data-table th:nth-child(6){width:165px}.analysis-data-table th:nth-child(7){width:220px}.analysis-data-table th:nth-child(8){width:170px}.analysis-data-table th:nth-child(9){width:220px}

/* PERSON_ID_SECOND_LINE_V1 */
.analysis-data-table td:first-child strong,.analysis-data-table td:first-child small{display:block;white-space:nowrap}.analysis-data-table td:first-child small{margin-top:6px}

/* REPORT_PERSON_ID_SECOND_LINE_V1 */
.report-list td:nth-child(2) strong,.report-list td:nth-child(2) small{display:block;white-space:nowrap}.report-list td:nth-child(2) small{margin-top:6px}

/* PERSON_CELL_COLUMN_V1 */
.report-list .person-cell,.analysis-data-table .person-cell{display:flex;flex-direction:column;align-items:flex-start;gap:0}.report-list .person-cell small,.analysis-data-table .person-cell small{margin-top:6px}

/* FEEDBACK_LEGACY_FIELDS_HIDDEN_V1 */
.feedback-legacy-hidden{display:none!important}

/* FEEDBACK_PANEL_TOP_ALIGN_V1 */
#feedback .general-feedback-panel{margin-top:0!important}

/* MENU_SVG_ICONS_V1 */
.main-nav .nav-item>span{width:24px;min-width:24px;display:grid;place-items:center;line-height:1}
.main-nav .menu-icon{display:block;width:20px;height:20px}
.mobile-nav .menu-icon{display:block;width:19px;height:19px;margin:0 auto 3px}
.main-nav .nav-item,.mobile-nav button{align-items:center}

/* FEEDBACK_MENU_CHECK_ICON_V1 */
.main-nav [data-view="feedback"] .menu-icon{width:22px;height:22px;overflow:visible}
.mobile-nav [data-view="feedback"] .menu-icon{width:20px;height:20px;overflow:visible}

/* FEEDBACK_SUMMARY_PREVIEW_V1 */
.feedback-summary-preview{margin-top:10px;padding:12px 14px;border:1px solid #d8e5df;border-radius:12px;background:#f5faf7}
.feedback-summary-preview b{display:block;margin-bottom:5px;color:#1f5f4a}
.feedback-summary-preview p{margin:0;line-height:1.55;color:#42564f;white-space:pre-wrap}

/* STATUS_QUEUE_SHORTCUTS_V1 */
.status-jump{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer;font:inherit}
.status-jump:hover .status-pill,.status-jump:focus-visible .status-pill{box-shadow:0 0 0 2px rgba(31,95,74,.22);transform:translateY(-1px)}
.request-status-detail{margin-top:7px}

/* REQUEST_CARD_HEADER_SPACING_V1 */
.request-work-card .feedback-card-head{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-bottom:9px}
.request-work-card>h4{margin:0 0 14px;line-height:1.5}

/* REQUEST_CARD_INFORMATION_FLOW_V2 */
.request-work-card .feedback-card-head{
  display:flex;
  flex-direction:row;
  align-items:center;
  margin-bottom:10px;
}
.request-work-card .request-status-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 11px;
}
.request-work-card .request-assignee-label{
  color:#77827d;
  font-size:.9rem;
  margin-left:2px;
}
.request-work-card .request-assignee-name{
  color:var(--ink);
  font-size:.92rem;
  font-weight:700;
}
.request-work-card .request-title{
  margin:0 0 15px;
  font-size:1.05rem;
  line-height:1.5;
}

/* DASHBOARD_WORKFLOW_LINKS_STYLE_V1 */
.dashboard-queue-link{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
  text-decoration:underline;
  text-decoration-color:rgba(31,95,74,.28);
  text-underline-offset:3px;
}
.dashboard-queue-link:hover{
  color:var(--green);
  text-decoration-color:currentColor;
}
.dashboard-attention-link{
  text-decoration:none;
}
.dashboard-attention-link .status-pill{
  cursor:pointer;
  box-shadow:0 0 0 2px rgba(31,95,74,.12);
}
.dashboard-attention-link:hover .status-pill{
  transform:translateY(-1px);
  box-shadow:0 2px 7px rgba(31,95,74,.18);
}

/* FEEDBACK_SUMMARY_TYPOGRAPHY_V2 */
.feedback-summary-preview>b{display:block;font-size:1.08rem;line-height:1.4;margin-bottom:8px;color:var(--green)}
.feedback-summary-preview>p{font-size:1rem;line-height:1.7;color:var(--ink);font-weight:500}

/* DASHBOARD_ALERT_TOPIC_ONLY_V1 */
.dashboard-alert-topic{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:5px 8px;
  margin-top:6px;
  line-height:1.5;
}
.dashboard-alert-topic>b{
  flex:0 0 auto;
  color:#527064;
  font-size:.82rem;
}
.dashboard-alert-topic>span{
  color:var(--ink);
  font-size:.92rem;
  font-weight:600;
}

/* DASHBOARD_LIST_RETURN_STYLE_V2 */
.dashboard-return-button{
  flex:0 0 auto;
  align-self:flex-end;
  margin-left:20px;
  color:#5f645f;
  background:#f1f0eb;
  border-color:#d8d5cb;
  box-shadow:none;
  white-space:nowrap;
}
.dashboard-return-button:hover{
  color:#454b47;
  background:#e8e6df;
  border-color:#cbc7bc;
}
@media(max-width:760px){
  .dashboard-return-button{
    width:100%;
    margin:8px 0 0;
    justify-content:center;
  }
}

/* DASHBOARD_SCHEDULE_NAVIGATION_STYLE_V1 */
.schedule-toolbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
#backToDashboardSchedules{
  margin-left:0;
}
#scheduleTable tr.dashboard-schedule-highlight>td{
  background:#edf7f1;
  box-shadow:inset 0 2px 0 #4f9477,inset 0 -2px 0 #4f9477;
  transition:background .25s ease,box-shadow .25s ease;
}
#scheduleTable tr.dashboard-schedule-highlight>td:first-child{
  box-shadow:
    inset 3px 0 0 #2f795e,
    inset 0 2px 0 #4f9477,
    inset 0 -2px 0 #4f9477;
}
@media(max-width:760px){
  .schedule-toolbar-actions{
    width:100%;
    flex-wrap:wrap;
    justify-content:stretch;
  }
  .schedule-toolbar-actions>button{
    flex:1 1 auto;
  }
}

/* SERVICE_REQUEST_ASSIGNEE_FILTER_STYLE_V1 */
#serviceRequestAssigneeSearch{
  min-width:190px;
}
.my-request-filter{
  align-self:flex-end;
  white-space:nowrap;
  color:#52615a;
  background:#f0f2ee;
  border-color:#d8ddd8;
  box-shadow:none;
}
.my-request-filter:hover{
  color:#285f4c;
  background:#e7eee9;
}
.my-request-filter.active,
.my-request-filter[aria-pressed="true"]{
  color:#fff;
  background:#2f795e;
  border-color:#2f795e;
  box-shadow:0 3px 10px rgba(47,121,94,.18);
}
@media(max-width:760px){
  #serviceRequestAssigneeSearch{
    min-width:0;
    width:100%;
  }
  .my-request-filter{
    width:100%;
    justify-content:center;
  }
}

/* REQUEST_SEARCH_NAME_AND_RETURN_POSITION_STYLE_V1 */
.feedback-view-switch{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.feedback-view-switch .status-view-return-button{
  margin-left:6px;
  color:#5f645f;
  background:#f1f0eb;
  border-color:#d8d5cb;
  box-shadow:none;
  white-space:nowrap;
}
.feedback-view-switch .status-view-return-button:hover{
  color:#454b47;
  background:#e8e6df;
  border-color:#cbc7bc;
}
@media(max-width:760px){
  .feedback-view-switch .status-view-return-button{
    flex:1 1 100%;
    margin:4px 0 0;
    justify-content:center;
  }
}

/* SERVICE_REQUEST_RESULT_POSITION_V3 */
#serviceRequestPanel .request-result-summary{
  display:flex;
  align-items:center;
  min-height:28px;
  margin:8px 0 10px;
  padding:0 5px;
}
#serviceRequestPanel .request-result-summary #serviceRequestCount{
  display:block;
  margin:0;
  color:#6f7e78;
  font-size:.82rem;
  line-height:1.4;
  white-space:nowrap;
}
@media(max-width:760px){
  #serviceRequestPanel .request-result-summary{
    margin:7px 0 9px;
    padding:0 3px;
  }
}

/* SERVICE_REQUEST_FILTER_RESPONSIVE_V2 */
#serviceRequestPanel>.feedback-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(160px,.9fr) auto;align-items:end;gap:12px}
#serviceRequestPanel>.feedback-filter>label{min-width:0}
#serviceRequestPanel>.feedback-filter>label input,#serviceRequestPanel>.feedback-filter>label select{width:100%}
#serviceRequestPanel>.feedback-filter>.my-request-filter{align-self:end;margin:0}
@media(max-width:1050px){#serviceRequestPanel>.feedback-filter{grid-template-columns:repeat(3,minmax(0,1fr))}#serviceRequestPanel>.feedback-filter>.my-request-filter{grid-column:1/-1;justify-self:start;width:auto}}
@media(max-width:700px){#serviceRequestPanel>.feedback-filter{grid-template-columns:1fr}#serviceRequestPanel>.feedback-filter>.my-request-filter{grid-column:1;width:100%;justify-content:center}}

/* ACTION_NOTIFICATION_CENTER_STYLE_V1 */
.action-notification-wrap{
  position:relative;
  flex:0 0 auto;
}
.action-notification-panel{
  position:absolute;
  z-index:120;
  top:calc(100% + 10px);
  right:0;
  width:min(390px,calc(100vw - 28px));
  max-height:min(650px,75vh);
  overflow:auto;
  padding:18px;
  border:1px solid #dce3de;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 18px 45px rgba(44,63,55,.18);
}
.action-notification-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.action-notification-head h3{
  margin:3px 0 0;
  font-size:1.12rem;
}
.action-notification-head h3 span{
  color:#b45147;
}
.action-notification-group{
  display:grid;
  gap:7px;
  margin-top:14px;
}
.action-notification-group>h4{
  display:flex;
  justify-content:space-between;
  margin:0 2px 3px;
  color:#36594b;
  font-size:.88rem;
}
.action-notification-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:4px 9px;
  width:100%;
  padding:11px 12px;
  border:1px solid #e2e7e3;
  border-radius:11px;
  color:var(--ink);
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.action-notification-item:hover{
  border-color:#9fc2b2;
  background:#f3f8f5;
}
.action-notification-item strong{
  align-self:center;
  font-size:.93rem;
}
.action-notification-item small,
.action-notification-item em{
  grid-column:1/-1;
  color:#68766f;
  font-size:.8rem;
  font-style:normal;
  line-height:1.45;
}
.action-notification-type{
  align-self:center;
  padding:4px 7px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:800;
}
.action-notification-type.danger{
  color:#99473f;
  background:#f8e5e2;
}
.action-notification-type.request{
  color:#28664f;
  background:#e3f1e9;
}
.action-notification-all{
  width:100%;
  margin-top:15px;
}
.action-notification-empty{
  margin:10px 0 2px;
  padding:22px 10px;
  color:#748078;
  text-align:center;
}
@media(max-width:600px){
  .action-notification-panel{
    position:fixed;
    top:70px;
    right:14px;
    left:14px;
    width:auto;
    max-height:calc(100vh - 90px);
  }
}

/* CONSULTATION_TABLE_RESPONSIVE_SCROLL_V1 */
#callCards,
#analysisTable,
#callCards .table-wrap,
#analysisTable .table-wrap {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  overscroll-behavior-inline:contain;
}

#callCards .report-list {
  width:100%;
  min-width:1500px;
}

#analysisTable .analysis-data-table {
  width:100%;
  min-width:1550px;
}

#callCards .report-list th,
#analysisTable .analysis-data-table th {
  white-space:nowrap;
}

#callCards .report-list td,
#analysisTable .analysis-data-table td {
  vertical-align:top;
}

#callCards::-webkit-scrollbar,
#analysisTable::-webkit-scrollbar,
#callCards .table-wrap::-webkit-scrollbar,
#analysisTable .table-wrap::-webkit-scrollbar {
  height:11px;
}

#callCards::-webkit-scrollbar-thumb,
#analysisTable::-webkit-scrollbar-thumb,
#callCards .table-wrap::-webkit-scrollbar-thumb,
#analysisTable .table-wrap::-webkit-scrollbar-thumb {
  background:#b7c5bd;
  border:3px solid transparent;
  border-radius:999px;
  background-clip:padding-box;
}

#callCards::-webkit-scrollbar-track,
#analysisTable::-webkit-scrollbar-track,
#callCards .table-wrap::-webkit-scrollbar-track,
#analysisTable .table-wrap::-webkit-scrollbar-track {
  background:#eef2ee;
  border-radius:999px;
}

/* CONSULTATION_TABLE_CARD_RESPONSIVE_V2 */
@media (max-width:1100px){
  #callCards,
  #analysisTable,
  #callCards .table-wrap,
  #analysisTable .table-wrap {
    overflow:visible;
  }

  #callCards .report-list,
  #analysisTable .analysis-data-table {
    display:block;
    width:100%;
    min-width:0;
  }

  #callCards .report-list thead,
  #analysisTable .analysis-data-table thead {
    display:none;
  }

  #callCards .report-list tbody,
  #analysisTable .analysis-data-table tbody {
    display:grid;
    gap:16px;
  }

  #callCards .report-list tr,
  #analysisTable .analysis-data-table tr {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    padding:8px 18px;
    border:1px solid var(--line);
    border-left:4px solid var(--green);
    border-radius:16px;
    background:#fffdf9;
    box-shadow:0 8px 22px rgba(38,67,53,.05);
  }

  #callCards .report-list td,
  #analysisTable .analysis-data-table td {
    display:block;
    min-width:0;
    padding:12px 10px;
    border-bottom:1px solid var(--line);
    white-space:normal;
    overflow-wrap:anywhere;
  }

  #callCards .report-list td::before,
  #analysisTable .analysis-data-table td::before {
    display:block;
    margin-bottom:7px;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    line-height:1.3;
  }

  #callCards .report-list td:nth-child(1)::before {content:'상담일시'}
  #callCards .report-list td:nth-child(2)::before {content:'대상자'}
  #callCards .report-list td:nth-child(3)::before {content:'상담 처리'}
  #callCards .report-list td:nth-child(4)::before {content:'AI 요약'}
  #callCards .report-list td:nth-child(5)::before {content:'위험도'}
  #callCards .report-list td:nth-child(6)::before {content:'요청여부 · 요청사항'}
  #callCards .report-list td:nth-child(7)::before {content:'최근 피드백'}
  #callCards .report-list td:nth-child(8)::before {content:'관리 메모'}
  #callCards .report-list td:nth-child(9)::before {content:'다음 AI 지침'}

  #analysisTable .analysis-data-table td:nth-child(1)::before {content:'대상자'}
  #analysisTable .analysis-data-table td:nth-child(2)::before {content:'최근 상담일'}
  #analysisTable .analysis-data-table td:nth-child(3)::before {content:'상담 처리'}
  #analysisTable .analysis-data-table td:nth-child(4)::before {content:'위험도'}
  #analysisTable .analysis-data-table td:nth-child(5)::before {content:'최근 AI 요약'}
  #analysisTable .analysis-data-table td:nth-child(6)::before {content:'요청여부 · 요청사항'}
  #analysisTable .analysis-data-table td:nth-child(7)::before {content:'최근 피드백'}
  #analysisTable .analysis-data-table td:nth-child(8)::before {content:'관리 메모'}
  #analysisTable .analysis-data-table td:nth-child(9)::before {content:'다음 AI 지침'}

  #callCards .report-list td:nth-last-child(-n+2),
  #analysisTable .analysis-data-table td:nth-last-child(-n+2) {
    border-bottom:0;
  }
}

@media (max-width:700px){
  #callCards .report-list tr,
  #analysisTable .analysis-data-table tr {
    grid-template-columns:1fr;
    padding:8px 14px;
  }

  #callCards .report-list td,
  #analysisTable .analysis-data-table td {
    padding:12px 8px;
  }

  #callCards .report-list td:nth-last-child(2),
  #analysisTable .analysis-data-table td:nth-last-child(2) {
    border-bottom:1px solid var(--line);
  }
}

/* DASHBOARD_TOTAL_PEOPLE_ICON_V1 */
.dashboard-people-icon {
  display:block;
  width:25px;
  height:25px;
  overflow:visible;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* IYAGIRO_HOME_LOGO_V1 */
.brand .brand-logo-home {
  width:72px;
  height:86px;
  min-width:72px;
  padding:4px;
  border:0;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 5px 16px rgba(34,62,50,.08);
}

.brand-logo-image {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.brand .brand-logo-home:hover {
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(34,62,50,.13);
}

/* IYAGIRO_HOME_LOGO_BACKGROUND_BLEND_V2 */
.brand .brand-logo-home,
.brand .brand-logo-home:hover,
.brand .brand-logo-home:focus {
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  transform:none;
}

.brand-logo-image {
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  object-fit:contain;
  mix-blend-mode:multiply;
}

/* IYAGIRO_HORIZONTAL_VECTOR_LOGO_V3 */
.sidebar .brand {
  display:block;
  width:100%;
  padding:2px 0 14px;
}

.brand .brand-logo-home,
.brand .brand-logo-home:hover,
.brand .brand-logo-home:focus {
  display:block;
  width:100%;
  height:auto;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  transform:none;
}

.brand-logo-vector {
  display:block;
  width:100%;
  height:auto;
  max-height:76px;
  margin:0;
  overflow:visible;
}

/* IYAGIRO_COMPLETE_HORIZONTAL_LOGO_V4 */
.sidebar .brand {
  display:block;
  width:100%;
  padding:2px 0 14px;
}

.brand .brand-logo-home,
.brand .brand-logo-home:hover,
.brand .brand-logo-home:focus {
  display:block;
  width:100%;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  transform:none;
}

.brand-logo-vector {
  display:block;
  width:100%;
  height:auto;
  max-height:82px;
  margin:0;
  overflow:visible;
}


/* DELETE_BUTTONS_V1 */
.danger-button,
.danger-action {
  border: 1px solid #dc6b6b;
  background: #fff5f5;
  color: #a62828;
}
.danger-button:hover,
.danger-action:hover {
  background: #fde5e5;
  border-color: #bd3e3e;
  color: #851f1f;
}
.danger-button {
  margin-right: auto;
}


/* PERSON_MODAL_ACTIONS_NOWRAP_V1 */
@media (min-width: 641px) {
  #personModal .modal-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  #personModal .modal-actions button {
    min-width: max-content;
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
  }
}


/* DELETE_PERSON_RADIUS_V1 */
#deletePerson {
  border-radius: 12px;
}


/* CALL_RETRY_ADMIN_UI_V1 */
.retry-attention-summary {
  border-color: #e6a2a2;
  background: #fff7f7;
}
.retry-attention-summary strong {
  color: #a62828;
}
.retry-attention-row {
  background: #fff9f7;
}
.retry-info {
  color: #8a5a16;
  font-weight: 700;
}
.retry-warning {
  max-width: 320px;
  color: #a62828;
  font-weight: 700;
  white-space: normal;
}
.retry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.retry-actions .table-action {
  white-space: nowrap;
}
.retry-risk-item {
  border-left: 4px solid #d26464;
}
.retry-row-focus {
  outline: 3px solid rgba(198, 92, 92, .35);
  outline-offset: -3px;
  transition: outline-color .3s ease;
}
@media (max-width: 760px) {
  .retry-actions {
    align-items: stretch;
    flex-direction: column;
  }
}


/* CALL_RETRY_SUMMARY_GRID_V1 */
.schedule-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.schedule-summary > article {
  min-width: 0;
}
@media (max-width: 1100px) {
  .schedule-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .schedule-summary {
    grid-template-columns: 1fr !important;
  }
}


/* DASHBOARD_FOUR_WORK_PANELS_V1 */
.dashboard-work-grid {
  grid-template-columns:
    minmax(190px, .72fr)
    minmax(190px, .72fr)
    minmax(190px, .72fr)
    minmax(380px, 1.55fr);
  align-items: stretch;
}
.dashboard-work-panel,
.dashboard-today-panel {
  min-width: 0;
}
.dashboard-work-panel {
  padding: 18px;
}
.dashboard-work-panel .panel-head {
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.dashboard-work-panel .panel-head h3 {
  line-height: 1.35;
}
.dashboard-work-panel .panel-head h3 span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.priority-list {
  min-height: 92px;
}
.priority-entry {
  width: 100%;
  min-height: 92px;
  border: 0;
  border-top: 3px solid var(--green);
  border-radius: 10px;
  background: #fafbf8;
  color: var(--ink);
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  padding: 11px;
  text-align: left;
}
.priority-entry:hover {
  background: #f1f6f2;
}
.priority-entry .person-avatar {
  width: 36px;
  height: 36px;
}
.priority-entry > span {
  min-width: 0;
}
.priority-entry strong,
.priority-entry small {
  display: block;
}
.priority-entry strong {
  font-size: 12px;
}
.priority-entry small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  margin-top: 4px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.priority-entry em,
.priority-entry .status-pill {
  grid-column: 2;
  justify-self: start;
  font-style: normal;
  font-size: 9px;
}
.retry-entry {
  border-top-color: #c75c52;
}
.risk-entry {
  border-top-color: #d17a34;
}
.pending-entry {
  border-top-color: #4d7f91;
}
.priority-empty {
  min-height: 92px;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.retry-detail-modal {
  width: min(560px, calc(100vw - 32px));
}
.retry-detail-body dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.retry-detail-body dl > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.retry-detail-body dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.retry-detail-body dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.55;
}
.retry-detail-reason {
  color: var(--danger) !important;
  font-weight: 800;
}
@media (max-width: 1400px) {
  .dashboard-work-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .dashboard-today-panel {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .dashboard-work-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-today-panel {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .retry-detail-body dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/* RETRY_RESCHEDULE_PICKER_UI_V1 */
.retry-reschedule-modal {
  width: min(540px, calc(100vw - 32px));
}
.retry-current-time {
  margin-bottom: 17px;
  border-radius: 12px;
  background: #f3f6f2;
  padding: 14px 16px;
}
.retry-current-time span,
.retry-current-time strong {
  display: block;
}
.retry-current-time span {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.retry-current-time strong {
  font-size: 14px;
}
.retry-picker-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.retry-picker-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.retry-picker-form input {
  width: 100%;
  height: 46px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}
.retry-picker-form .call-help,
.retry-picker-form .modal-actions {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .retry-picker-form {
    grid-template-columns: 1fr;
  }
  .retry-picker-form .call-help,
  .retry-picker-form .modal-actions {
    grid-column: auto;
  }
}


/* DASHBOARD_CALL_STATE_UI_V1 */
.dashboard-call-state {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.dashboard-call-state.failure {
  color: var(--danger);
  font-weight: 800;
}
.schedule-item p .status-pill {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 3px;
}
.schedule-item .failed-call {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #e6c2ba;
}
.schedule-item .failed-call:hover {
  background: #f2d8d1;
}
.retry-detail-modal .modal-actions {
  flex-wrap: wrap;
}
.retry-detail-modal .modal-actions button {
  white-space: nowrap;
}


/* RETRY_MODAL_USABILITY_FINAL_V1 */

/* 조치하기 버튼: 기본·마우스 올림·클릭·키보드 선택 시 글자색 유지 */
#scheduleList .schedule-call.failed-call,
#scheduleList .schedule-call.failed-call:hover,
#scheduleList .schedule-call.failed-call:focus,
#scheduleList .schedule-call.failed-call:focus-visible,
#scheduleList .schedule-call.failed-call:active {
  background: #f8e8e3 !important;
  border: 1px solid #dfa99f !important;
  color: #8f2f27 !important;
  box-shadow: none !important;
}

#scheduleList .schedule-call.failed-call:hover,
#scheduleList .schedule-call.failed-call:focus-visible {
  background: #f2d5ce !important;
  border-color: #cf8174 !important;
}

#scheduleList .schedule-call.failed-call:active {
  background: #ecc8bf !important;
  border-color: #bd695b !important;
  color: #76251f !important;
  transform: translateY(1px);
}

/* 운영진 확인창: PC에서 다섯 버튼 한 줄 */
.retry-detail-modal {
  width: min(720px, calc(100vw - 32px));
}

.retry-detail-modal .modal-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 7px;
}

.retry-detail-modal .modal-actions button {
  flex: 0 0 auto;
  min-width: 0;
  padding: 10px 12px;
  font-size: 12px;
  white-space: nowrap;
}

/* 직접 선택창: 취소·이전 화면·예약 한 줄 */
.retry-reschedule-modal .modal-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.retry-reschedule-modal .modal-actions button {
  flex: 0 0 auto;
  min-width: 0;
  padding: 11px 14px;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .retry-detail-modal .modal-actions,
  .retry-reschedule-modal .modal-actions {
    flex-wrap: wrap;
  }

  .retry-detail-modal .modal-actions button {
    flex: 1 1 calc(50% - 7px);
  }

  .retry-reschedule-modal .modal-actions button {
    flex: 1 1 auto;
  }
}


/* RETRY_ACTION_EQUAL_WIDTH_V1 */
.retry-detail-modal .modal-actions [data-retry-popup-action] {
  width: 104px;
  min-width: 104px;
  justify-content: center;
  text-align: center;
}

.retry-detail-modal .modal-actions [data-close-retry-detail] {
  width: 64px;
  min-width: 64px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 680px) {
  .retry-detail-modal .modal-actions [data-retry-popup-action],
  .retry-detail-modal .modal-actions [data-close-retry-detail] {
    width: auto;
    min-width: 0;
  }
}


/* RETRY_ACTION_TOP_SPACING_V1 */
.retry-detail-modal .modal-actions {
  margin-top: 8px;
  padding-top: 10px;
}


/* RETRY_ACTION_LETTER_SPACING_V1 */
#scheduleList .schedule-call.failed-call {
  letter-spacing: 0.025em;
}


/* RETRY_FAILURE_TEXT_SPACING_V1 */
.dashboard-call-state.failure,
.retry-detail-reason,
.retry-warning {
  letter-spacing: 0.012em;
}

/* 회원관리 담당자별 대표 색상 범례 */
.assignee-legend{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 15px;
  padding:13px 16px;
}

.assignee-legend-title{
  flex:0 0 auto;
  color:var(--green-dark);
  font-size:12px;
  white-space:nowrap;
}

.assignee-legend-items{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
}

.assignee-legend-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--ink);
  font-size:12px;
  white-space:nowrap;
}

.assignee-legend-item i{
  width:12px;
  height:12px;
  flex:0 0 12px;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(35,50,44,.08);
}

.assignee-legend-item b{
  font-weight:750;
}

.assignee-legend-item small{
  color:var(--muted);
  font-size:10px;
}

@media(max-width:760px){
  .assignee-legend{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }

  .assignee-legend-items{
    gap:8px 14px;
  }
}
