/* pages/info.css */
.company-intent-answer { margin-top: 18px; padding-top: 16px; border-top: 1px solid #d5e4f5; }
.company-intent-answer label { display: block; font-weight: 700; margin-bottom: 10px; }
.company-intent-answer input { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #bccfe8; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; color: #193656; }
.company-intent-answer-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.company-intent-answer-options button { cursor: pointer; padding: 8px 12px; border: 1px solid #c9d9ec; border-radius: 20px; color: #215994; background: white; font: inherit; font-size: 13px; }
.company-intent-answer button:disabled { cursor: wait; opacity: .6; }
.company-intent-answer .company-intent-question button { background: #175fbd; border-color: #175fbd; color: white; }
.company-intent-intro {
  margin: 16px 0; padding: 18px 20px; border: 1px solid #d5e4f5;
  border-radius: 12px; background: #f5f9fe; color: #284568; line-height: 1.65;
}
.company-intent-intro p { margin: 5px 0 0; font-size: 13px; }
.company-intent-question { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.company-intent-question button { border: 1px solid #bfd2ed; border-radius: 8px; background: white; padding: 9px 12px; color: #1755a2; cursor: pointer; }
.company-intent-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.company-intent-groups button { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 9px; border: 1px solid #d9e2ee; color: #415570; background: white; cursor: pointer; font: inherit; font-size: 13px; }
.company-intent-groups button.active { border-color: #1763c7; background: #edf5ff; color: #135ab9; font-weight: 700; }
.company-intent-groups button span { font-variant-numeric: tabular-nums; }
.company-intent-group-heading { grid-column: 1 / -1; padding: 18px 0 2px; }
.company-intent-group-heading h3 { margin: 0; font-size: 17px; color: #163257; }
.company-intent-group-heading p { margin: 5px 0; font-size: 13px; color: #61718a; }
.company-recommendation-card.is-intent { grid-template-columns: 48px minmax(0, 1fr); }
.company-intent-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #52667d; background: #edf1f6; font-size: 14px; font-weight: 700; }
.company-intent-mark.is-direct { color: #165ec0; background: #eaf3ff; }
.company-intent-mark.is-related { color: #167064; background: #e8f5f1; }
.company-intent-evidence { margin: 14px 0; color: #354b67; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.company-intent-evidence > p { margin: 4px 0 8px; }
.company-intent-evidence blockquote { margin: 9px 0 4px; padding: 10px 14px; border-left: 3px solid #9abde9; background: #f6f9fd; white-space: pre-line; }
.company-intent-evidence small { color: #667991; }
.company-intent-conditions { margin-top: 14px; border: 1px solid #e1e7ef; border-radius: 9px; padding: 12px 14px; }
.company-intent-conditions summary { color: #4a5a72; font-weight: 700; cursor: pointer; }
.company-intent-conditions ul { padding-left: 18px; }
.company-intent-conditions li { margin: 12px 0; }
.company-intent-conditions p { margin: 4px 0; font-size: 12px; }
.company-intent-intro[hidden], .company-intent-groups[hidden] { display: none; }
@media (max-width: 640px) {
  .company-recommendation-card.is-intent { grid-template-columns: minmax(0, 1fr); }
  .company-intent-mark { display: none; }
  .company-intent-groups button { padding: 9px 10px; font-size: 12px; }
  .company-intent-intro { padding: 14px; }
}
.company-workspace {
  display: grid;
  gap: 18px;
  padding-top: 22px;
}

.company-hero,
.company-layout,
.company-form-panel,
.company-guide-panel article {
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 42, 78, .06);
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 32px;
  align-items: center;
  padding: 24px 28px;
}

.company-hero-copy {
  min-width: 0;
}

.company-hero h1 {
  max-width: 850px;
  margin: 8px 0 0;
  color: #101b35;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.company-hero p {
  margin: 0;
  color: #52627a;
  font-size: 15px;
  line-height: 1.55;
}

.company-readiness {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 2px 12px;
  width: min(100%, 360px);
  min-height: 82px;
  box-sizing: border-box;
  justify-self: end;
  align-content: center;
  padding: 14px 18px;
  border: 1px solid #cfe0f7;
  border-radius: 12px;
  background: #f5f9ff;
}

.company-readiness::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b5bd3;
  box-shadow: 0 0 0 8px rgba(11, 91, 211, .1);
}

.company-readiness small,
.company-readiness strong {
  grid-column: 2;
}

.company-readiness small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}

.company-readiness strong {
  color: #0b5bd3;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

.company-readiness span {
  grid-column: 2;
  color: #52627a;
  font-size: 12px;
  line-height: 1.4;
}

.company-readiness span:empty {
  display: none;
}

.company-readiness[data-state="complete"] {
  border-color: #b8e3c9;
  background: #f1fbf5;
}

.company-readiness[data-state="complete"]::before {
  background: #168a4b;
  box-shadow: 0 0 0 8px rgba(22, 138, 75, .11);
}

.company-readiness[data-state="complete"] strong {
  color: #11763f;
}

.company-readiness[data-state="guest"] {
  border-color: #f0d6a6;
  background: #fffaf0;
}

.company-readiness[data-state="guest"]::before {
  background: #c78316;
  box-shadow: 0 0 0 8px rgba(199, 131, 22, .11);
}

.company-readiness[data-state="guest"] strong {
  color: #9a6412;
}

.company-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
}

.company-guide-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.company-guide-panel article {
  display: grid;
  gap: 8px;
  padding: 18px;
  box-shadow: none;
}

.company-guide-panel article span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e8f1ff;
  color: #0b5bd3;
  font-weight: 950;
}

.company-guide-panel article strong {
  color: #172033;
  font-size: 16px;
  font-weight: 950;
}

.company-guide-panel article p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.company-form-panel {
  padding: 20px;
  box-shadow: none;
}

.company-profile-form { display: grid; gap: 16px; }
.company-form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; gap: 14px 16px;
}
.company-form-grid > * { min-width: 0; }
.company-form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.company-profile-form label,
.company-profile-form .company-form-field {
  display: grid; gap: 8px; color: #172033;
  font-size: 13px; font-weight: 900;
}
.company-profile-form label b { color: #e5484d; }
.company-optional-label { margin-left: 4px; color: #7b8aa3; font-size: 11px; font-style: normal; font-weight: 750; }

.company-optional-section { display: grid; gap: 10px; }
.company-optional-toggle {
  position: relative; display: grid; width: 100%; gap: 3px;
  padding: 14px 48px 14px 16px; border: 1px solid #cfe0f7; border-radius: 10px;
  background: #f6f9ff; font: inherit; text-align: left; cursor: pointer;
}
.company-optional-toggle span { color: #164c96; font-size: 14px; font-weight: 950; }
.company-optional-toggle small { color: #64748b; font-size: 11px; font-weight: 750; }
.company-optional-toggle::after { position: absolute; top: 50%; right: 17px; color: #0b5bd3; content: '+'; font-size: 24px; font-weight: 500; line-height: 1; transform: translateY(-50%); }
.company-optional-toggle:hover,
.company-optional-toggle.is-expanded { border-color: #9fc1ee; background: #eef5ff; }
.company-optional-toggle:focus-visible { outline: 3px solid rgba(11, 91, 211, .14); border-color: #0b5bd3; }
.company-optional-toggle.is-expanded::after { content: '−'; }
.company-optional-fields {
  display: grid; gap: 16px; padding: 16px;
  border: 1px solid #dbe6f4; border-radius: 10px; background: #fbfdff;
}
.company-optional-fields[hidden] { display: none; }
.company-optional-help { margin: 0; color: #52627a; font-size: 12px; font-weight: 750; line-height: 1.5; }
.company-optional-group { display: grid; gap: 12px; }
.company-optional-group + .company-optional-group { padding-top: 16px; border-top: 1px solid #e2eaf5; }
.company-form-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.company-form-subhead strong { color: #172033; font-size: 14px; font-weight: 950; }
.company-form-subhead small { color: #64748b; font-size: 11px; font-weight: 750; line-height: 1.4; text-align: right; }

.company-filter-toggles { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.company-optional-filter-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.company-optional-filter-toggle-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.company-optional-filter-toggle-track { position: relative; flex: none; width: 36px; height: 20px; border: 1px solid #c7d8ee; border-radius: 999px; background: #dbe6f4; transition: background-color .15s ease, border-color .15s ease; }
.company-optional-filter-toggle-knob { position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(15, 42, 78, .3); transition: transform .15s ease; }
.company-optional-filter-toggle-input:checked ~ .company-optional-filter-toggle-track { background: #0b5bd3; border-color: #0b5bd3; }
.company-optional-filter-toggle-input:checked ~ .company-optional-filter-toggle-track .company-optional-filter-toggle-knob { transform: translateX(16px); }
.company-optional-filter-toggle-input:focus-visible ~ .company-optional-filter-toggle-track { outline: 3px solid rgba(11, 91, 211, .25); outline-offset: 2px; }
.company-optional-filter-toggle-label { color: #33415c; font-size: 11px; font-weight: 800; white-space: nowrap; }
.company-optional-filter-toggle-input:checked ~ .company-optional-filter-toggle-label { color: #0b5bd3; }
.company-strict-toggle.is-disabled { opacity: .52; cursor: not-allowed; }

.company-strict-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.company-strict-toggle-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* 가로 타원 트랙 + 원형 손잡이 — 손잡이는 켜짐 여부에 따라 좌우로 슬라이드된다. */
.company-strict-toggle-track { position: relative; flex: none; width: 36px; height: 20px; border: 1px solid #c7d8ee; border-radius: 999px; background: #dbe6f4; transition: background-color .15s ease, border-color .15s ease; }
.company-strict-toggle-knob { position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(15, 42, 78, .3); transition: transform .15s ease; }
.company-strict-toggle-input:checked ~ .company-strict-toggle-track { background: #dc2626; border-color: #dc2626; }
.company-strict-toggle-input:checked ~ .company-strict-toggle-track .company-strict-toggle-knob { transform: translateX(16px); }
.company-strict-toggle-input:focus-visible ~ .company-strict-toggle-track { outline: 3px solid rgba(11, 91, 211, .25); outline-offset: 2px; }
.company-strict-toggle-label { color: #33415c; font-size: 11px; font-weight: 800; white-space: nowrap; }
.company-strict-toggle-input:checked ~ .company-strict-toggle-label { color: #dc2626; }

.company-profile-form input,
.company-profile-form select,
.company-profile-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d7e2f1;
  border-radius: 9px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
  font-weight: 750;
}

.company-profile-form textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.company-profile-form input:focus,
.company-profile-form select:focus,
.company-profile-form textarea:focus {
  outline: 3px solid rgba(11, 91, 211, .14);
  border-color: #0b5bd3;
  background: #ffffff;
}

.company-wide-field,
.company-grid-wide { grid-column: 1 / -1; }

.company-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
}

.company-form-actions p {
  flex: 1 1 220px;
  margin: 0;
  min-height: 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.company-form-action-buttons { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }

.company-workspace .filter-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-form-actions .filter-primary {
  width: 190px;
  height: 44px;
}

.company-form-actions .company-ai-quick-generate { width: 164px; height: 44px; border: 1px solid #9fc2ef; border-radius: 9px; background: #ffffff; color: #075fd5; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.company-form-actions .company-ai-quick-generate:hover:not(:disabled) { border-color: #4a90e2; background: #f2f7ff; }
.company-form-actions .company-ai-quick-generate:focus-visible { outline: 3px solid rgba(11, 91, 211, .18); outline-offset: 2px; }

.company-recommendation-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 42, 78, .06);
}

.company-recommendation-empty {
  padding: 22px;
  border: 1px dashed #cfe0f7;
  border-radius: 12px;
  background: #f6f9ff;
  color: #52627a;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.company-recommendation-list {
  display: grid;
  gap: 12px;
}

.company-profile-form select:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.company-region-district-trigger,
.company-industry-trigger {
  position: relative;
  width: 100%;
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  overflow: hidden;
  border: 1px solid #d7e2f1;
  border-radius: 9px;
  background: #fbfdff;
  color: #64748b;
  font: inherit;
  font-weight: 750;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.company-region-district-trigger::after,
.company-industry-trigger::after {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #64748b;
  content: '▾';
}

.company-region-district-trigger.has-selection,
.company-industry-trigger.has-selection {
  color: #172033;
}

.company-region-district-trigger:focus-visible,
.company-industry-trigger:focus-visible {
  outline: 3px solid rgba(11, 91, 211, .14);
  border-color: #0b5bd3;
  background: #ffffff;
}

.company-region-district-trigger:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.company-region-district-pop {
  max-height: min(380px, 65vh);
  overflow-y: auto;
}

.company-industry-picker {
  max-height: min(420px, 70vh);
  overflow-y: auto;
}

.company-selected-chips {
  display: flex;
  min-height: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.company-selected-chips:empty {
  display: none;
}

.company-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 11px;
  border: 1px solid #b7cff0;
  border-radius: 999px;
  background: #eef5ff;
  color: #164c96;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.company-selected-chip.is-custom {
  border-color: #c7d7c9;
  background: #f1f8f2;
  color: #28713b;
}

.company-selected-chip b {
  font-size: 15px;
  line-height: 1;
}

.company-custom-industry-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.company-custom-industry-entry button {
  min-width: 58px;
  border: 0;
  border-radius: 9px;
  background: #173f7a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.company-field-help,
.company-field-error {
  font-size: 11px;
  font-weight: 750;
}

.company-field-help {
  color: #718096;
}

.company-field-error {
  color: #c73737;
}

.company-field-error[hidden] {
  display: none;
}

.company-recommendation-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.company-recommendation-pagination[hidden] {
  display: none;
}

.company-recommendation-pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe6f4;
  border-radius: 9px;
  background: #fff;
  color: #22304a;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.company-recommendation-pagination button:hover:not(:disabled) {
  border-color: #1263f1;
  color: #1263f1;
}

.company-recommendation-pagination button.active {
  border-color: #1263f1;
  background: #1263f1;
  color: #fff;
}

.company-recommendation-pagination button:disabled {
  cursor: default;
  opacity: .45;
}

.company-recommendation-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.company-recommendation-profile-completeness {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #f6f9ff;
  color: #334b6b;
  font-size: 12px;
  line-height: 1.5;
}

.company-recommendation-profile-completeness[hidden] {
  display: none;
}

.company-recommendation-profile-completeness strong {
  flex: 0 0 auto;
  color: #0b5bd3;
  font-weight: 950;
}

.company-recommendation-profile-privacy {
  margin: -4px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.company-recommendation-score {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 104px;
  border-radius: 12px;
  border: 1px solid #d8e6f8;
  background: #f3f8ff;
  color: #0b5bd3;
}

.company-recommendation-score strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.company-recommendation-score span {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 900;
}

.company-recommendation-score em {
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
  font-style: normal;
  font-weight: 950;
}

.company-recommendation-score.high {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #0b5bd3;
}

.company-recommendation-score.medium {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #087443;
}

.company-recommendation-score.low {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #d94f00;
}

.company-recommendation-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.company-recommendation-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.company-recommendation-topline span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #0b5bd3;
  font-size: 12px;
  font-weight: 950;
}

.company-recommendation-topline small,
.company-recommendation-foot small {
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-recommendation-body h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

.company-recommendation-body p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-recommendation-tags,
.company-recommendation-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-recommendation-tags span,
.company-recommendation-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #d7e5f7;
  border-radius: 999px;
  background: #f6f9ff;
  color: #1d4f91;
  font-size: 12px;
  font-weight: 850;
}

.company-recommendation-keywords span {
  border-color: #e8edf5;
  background: #ffffff;
  color: #64748b;
}

.company-recommendation-confirmation {
  padding: 10px 12px;
  border: 1px solid #f4d58d;
  border-radius: 9px;
  background: #fffaf0;
  color: #744210;
  font-size: 12px;
  line-height: 1.5;
}

.company-recommendation-confirmation strong {
  display: block;
  margin-bottom: 3px;
  color: #5f370e;
  font-size: 12px;
  font-weight: 950;
}

.company-recommendation-topline .company-recommendation-eligibility-badge.is-review {
  background: #fff3d6;
  border: 1px solid #f4c66a;
  color: #9a5a00;
}

.company-recommendation-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #355579;
  font-size: 12px;
  font-weight: 900;
}

.company-ai-profile-panel {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 72%);
}
.company-ai-profile-panel[hidden] { display: none; }
.company-ai-profile-panel .info-section-head { margin-bottom: 8px; }
.company-ai-profile-panel .info-section-head > small { color: #385878; font-weight: 800; }
.company-ai-profile-description { margin: 0; color: #4b6179; font-size: 13px; line-height: 1.65; }
.company-ai-profile-free,
.company-ai-profile-workspace { margin-top: 15px; }
.company-ai-profile-free { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #35506b; }
.company-ai-profile-free a { color: #075fd5; font-weight: 900; }
.company-ai-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.company-ai-profile-actions .filter-secondary { min-height: 38px; padding: 0 14px; border: 1px solid #9fc2ef; border-radius: 9px; background: #fff; color: #0b5ec8; font-weight: 850; cursor: pointer; }
.company-ai-profile-status { min-height: 20px; margin: 12px 0 0; color: #50657a; font-size: 13px; font-weight: 750; }
.company-ai-profile-status[data-type="error"] { color: #b42318; }
.company-ai-profile-status[data-type="success"] { color: #087443; }
.company-ai-profile-active { margin-top: 14px; padding: 12px 14px; border: 1px solid #bce8d0; border-radius: 10px; background: #f2fff7; color: #175c3b; font-size: 13px; line-height: 1.55; }
.company-ai-profile-active strong { display: block; margin-bottom: 4px; }
.company-ai-profile-draft { display: grid; gap: 11px; margin-top: 15px; padding: 16px; border: 1px solid #d6e3f2; border-radius: 12px; background: #fff; }
.company-ai-profile-draft label { display: grid; gap: 6px; color: #233c56; font-size: 13px; font-weight: 850; }
.company-ai-profile-draft input,
.company-ai-profile-draft textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #b8cce2; border-radius: 8px; color: #1f3550; font: inherit; font-weight: 500; resize: vertical; }
.company-ai-profile-draft small,
.company-ai-profile-draft > p { margin: 0; color: #64748b; font-size: 12px; font-weight: 600; line-height: 1.5; }

.company-recommendation-confirmation.is-mismatch {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.company-recommendation-confirmation.is-mismatch strong {
  color: #b91c1c;
}

.company-recommendation-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
  color: #64748b;
  font-size: 12px;
}

.company-recommendation-feedback span {
  margin-right: 2px;
  font-weight: 800;
}

.company-recommendation-feedback button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.company-recommendation-feedback button.is-possible.active {
  border-color: #0b5bd3;
  background: #eaf2ff;
  color: #0b5bd3;
}

.company-recommendation-feedback button.is-unlikely.active {
  border-color: #dc2626;
  background: #fff1f2;
  color: #b91c1c;
}

.company-recommendation-feedback button.is-uncertain.active {
  border-color: #64748b;
  background: #f1f5f9;
  color: #475569;
}

.company-recommendation-feedback button.is-clear {
  border-color: transparent;
  background: transparent;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-recommendation-feedback button.is-clear:hover {
  color: #334155;
}

.company-recommendation-feedback button:disabled {
  cursor: wait;
  opacity: .65;
}

.company-recommendation-personalization {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 4px;
  padding: 13px 15px;
  border: 1px solid #dbe7f8;
  border-radius: 12px;
  background: #f8fbff;
}

.company-recommendation-personalization strong { color: #16356c; font-size: 13px; }
.company-recommendation-personalization p { margin: 4px 0 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.company-recommendation-personalization-actions,
.company-recommendation-personalization-toggle { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.company-recommendation-personalization-toggle { color: #334155; font-size: 12px; font-weight: 800; }
.company-recommendation-personalization-toggle input { accent-color: #0b5bd3; }
.company-recommendation-personalization-actions > button {
  min-height: 32px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 7px;
  background: #fff; color: #475569; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}

@media (max-width: 720px) {
  .company-recommendation-personalization { align-items: flex-start; flex-direction: column; }
}

.company-recommendation-topline .company-recommendation-scope.is-strong {
  background: #dcfce7;
  color: #166534;
}

.company-recommendation-topline .company-recommendation-scope.is-direct {
  background: #dbeafe;
  color: #1d4ed8;
}

.company-recommendation-topline .company-recommendation-scope.is-weak {
  background: #fef3c7;
  color: #92400e;
}

.company-recommendation-topline .company-recommendation-scope.is-general {
  background: #f1f5f9;
  color: #475569;
}

.company-recommendation-topline .company-recommendation-scope.is-fallback {
  background: #f8fafc;
  color: #64748b;
}

.company-recommendation-confirmation p,
.company-recommendation-confirmation ul {
  margin: 0;
}

.company-recommendation-confirmation ul {
  padding-left: 18px;
}

.company-recommendation-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.company-recommendation-foot div {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.company-recommendation-foot a,
.company-recommendation-foot .company-recommendation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: #ffffff;
  color: #0b5bd3;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.company-recommendation-foot .company-recommendation-link.is-disabled {
  cursor: not-allowed;
  opacity: .48;
}

.company-recommendation-foot a:first-child {
  border-color: #0b5bd3;
  background: #0b5bd3;
  color: #ffffff;
}

.company-email-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 42, 78, .06);
}

.company-email-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: #f6f9ff;
}

.company-email-toolbar p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.company-email-toolbar .filter-primary {
  width: 170px;
  height: 40px;
}

.company-email-status {
  margin: 0;
  min-height: 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.company-email-status[data-type="success"] {
  color: #087443;
}

.company-email-status[data-type="error"] {
  color: #c7283f;
}

.company-email-list {
  display: grid;
  gap: 12px;
}

.company-email-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: #ffffff;
}

.company-email-card-head,
.company-email-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.company-email-card-head div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.company-email-card-head strong {
  color: #172033;
  font-size: 16px;
  font-weight: 950;
}

.company-email-card-head span,
.company-email-card-meta span,
.company-email-card-head em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.company-email-card-head em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #d94f00;
}

.notification-ad-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff1e6;
  color: #c2540a;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  vertical-align: 1px;
}

.notice-ad-banner {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.notice-ad-banner[hidden] {
  display: none;
}

.company-picker-anchor {
  position: relative;
}

.company-picker-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.14);
}

.company-picker-pop[hidden] {
  display: none;
}

.company-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.company-picker-head strong {
  color: #172033;
  font-size: 13px;
  font-weight: 950;
}

.company-picker-close {
  padding: 5px 12px;
  border: 1px solid #c7d8ee;
  border-radius: 999px;
  background: #ffffff;
  color: #0b5bd3;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.company-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-picker-chip {
  padding: 7px 12px;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  background: #f8fbff;
  color: #33415c;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.company-picker-chip:hover {
  border-color: #9dbdec;
}

.company-picker-chip.is-selected {
  border-color: #0b5bd3;
  background: #0b5bd3;
  color: #ffffff;
}

.company-picker-pop small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.company-alert-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  background: #f6faff;
  margin: 0 0 12px;
}

.company-alert-row[hidden] {
  display: none;
}

.company-alert-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
}

.company-alert-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #0b5bd3;
}

.company-alert-row small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.company-plan-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.company-plan-badge.is-premium {
  background: #fdf3d7;
  color: #92600a;
}

.company-email-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-email-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fd;
  color: #1d4f91;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}

.company-email-badge.is-stored {
  background: #e7f6ec;
  color: #1f7a44;
}

.company-email-badge.is-muted {
  background: #f1f5f9;
  color: #64748b;
}

.company-email-note {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.company-email-card details {
  border-top: 1px solid #edf2f9;
  padding-top: 10px;
}

.company-email-card summary {
  cursor: pointer;
  color: #0b5bd3;
  font-size: 13px;
  font-weight: 950;
}

.company-email-card details div {
  margin-top: 10px;
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  body.notice-page .notice-header,
        body.notice-page.notice-detail-page .notice-header {
    grid-template-columns: none;
  }

  body.notice-page .notice-nav,
        body.notice-page.notice-detail-page .notice-nav {
    gap: 12px;
  }

  .company-hero,
        .company-layout {
    grid-template-columns: 1fr;
  }

  .company-hero {
    padding: 22px;
  }

  .company-readiness {
    width: 100%;
    justify-self: stretch;
  }

  .company-recommendation-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .company-workspace {
    padding-top: 14px;
  }

  .company-hero h1 {
    font-size: 25px;
  }

  .company-hero {
    padding: 18px;
  }

  .company-readiness {
    min-height: 78px;
    padding: 13px 15px;
  }

  .company-layout,
        .company-form-panel {
    padding: 12px;
  }

  .company-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .company-form-action-buttons { width: 100%; }
  .company-form-action-buttons .filter-primary,
  .company-form-action-buttons .company-ai-quick-generate { width: 100%; }

  .company-optional-fields {
    padding: 12px;
  }
  .company-form-grid,
  .company-form-grid-three { grid-template-columns: 1fr; }
  .company-form-subhead { align-items: flex-start; flex-direction: column; gap: 2px; }
  .company-form-subhead small { text-align: left; }

  .company-recommendation-panel {
    padding: 12px;
  }

  .company-recommendation-card {
    grid-template-columns: 1fr;
  }

  .company-recommendation-score {
    min-height: auto;
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 5px;
    padding: 12px;
  }

  .company-recommendation-score em {
    margin-top: 0;
    margin-left: 6px;
  }

  .company-recommendation-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .company-recommendation-foot small {
    white-space: normal;
  }

  .company-recommendation-foot div,
        .company-recommendation-foot a,
        .company-recommendation-foot .company-recommendation-link {
    width: 100%;
  }

  .company-email-panel {
    padding: 12px;
  }

  .company-email-toolbar,
        .company-email-card-head,
        .company-email-card-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .company-email-toolbar .filter-primary {
    width: 100%;
  }
}

body.notice-page,
body.notice-page:not(.notice-detail-page) {
  background-color: #edf7ff;
  background-image: linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)),
          url("/static/govmatch-background.webp?v=20260727");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body.notice-page,
        body.notice-page:not(.notice-detail-page) {
    background-attachment: scroll;
    background-position: center top;
  }
}
.company-recommendation-action-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef5ff;
  color: #24548f;
  font-size: 13px;
  font-weight: 700;
}

.company-recommendation-action-message[data-type="success"] {
  background: #ecfdf3;
  color: #12703f;
}

.company-recommendation-action-message[data-type="error"] {
  background: #fff1f2;
  color: #b42336;
}

.company-recommendation-action-message[hidden] {
  display: none;
}

/* 공개 튜토리얼은 /onboarding으로 통합하고, 내 회사에는 진입 링크만 둔다. */
.company-profile-head-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.company-tutorial-replay-button { display: inline-flex; min-height: 34px; align-items: center; padding: 0 10px; border: 1px solid #c8d9ef; border-radius: 999px; background: #ffffff; color: #25548e; font-size: 12px; font-weight: 850; text-decoration: none; }
.company-tutorial-replay-button:hover { border-color: #0b5bd3; color: #0b5bd3; background: #f5f9ff; }
.company-tutorial-replay-button:focus-visible { outline: 3px solid rgba(11, 91, 211, .25); outline-offset: 2px; }

@media (max-width: 640px) {
  .company-profile-head-actions { justify-content: flex-start; }
  .company-tutorial-replay-button { min-height: 38px; }
}

