.pop-action { border-color: #80654a; color: #4d3928; }
.pop-center { margin-bottom: 20px; padding: 26px; border: 1px solid #d8ccc0; border-radius: 6px; background: #fffdfa; }
.pop-center__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #d8ccc0; }
.pop-center__head h2 { margin: 4px 0 7px; color: #241f1d; font-size: 1.55rem; }
.pop-center__head p { max-width: 700px; margin: 0; color: #776e68; }
.pop-center__actions, .pop-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 0 0 auto; }
.pop-primary, .pop-link-action { border-radius: 8px; padding: 8px 10px; font: 700 .73rem Georgia, serif; cursor: pointer; white-space: nowrap; }
.pop-primary { border: 0; background: #1d1a1b; color: #fffdfa; }
.pop-primary:hover, .pop-primary:focus-visible { background: #5f4935; }
.pop-link-action { border: 1px solid #d8ccc0; background: transparent; color: #6c5136; }
.pop-link-action:hover, .pop-link-action:focus-visible { background: #f3e9d9; color: #241f1d; }
.pop-link-action--danger { color: #7a4237; }
.pop-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.pop-metrics article { min-width: 0; padding: 14px; border: 1px solid #e0d4c5; border-top: 3px solid #71806d; background: #fcfaf7; }
.pop-metrics article:nth-child(2) { border-top-color: #b07832; }.pop-metrics article:nth-child(3) { border-top-color: #a59a8f; }.pop-metrics article:nth-child(4) { border-top-color: #894f43; }
.pop-metrics span, .pop-metrics small { display: block; color: #776e68; font-size: .75rem; line-height: 1.3; }.pop-metrics strong { display: block; margin: 5px 0; color: #241f1d; font-size: 1.55rem; line-height: 1; }
.pop-filters { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(150px, .45fr) minmax(160px, .5fr); gap: 10px 12px; align-items: end; margin: 20px 0; }
.pop-filters label, .pop-search { display: grid; gap: 6px; color: #776e68; font-size: .78rem; font-weight: 700; }
.pop-filters input, .pop-filters select { min-width: 0; padding: 10px 12px; border: 1px solid #cdbfae; border-radius: 8px; background: #fffdfa; color: #241f1d; font: .88rem Georgia, serif; }
.pop-filter-status { grid-column: 1 / -1; min-height: 1.1em; margin: 0; color: #80654a; font-size: .78rem; }
.pop-layout { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr); gap: 15px; }
.pop-directory, .pop-detail { min-width: 0; padding: 17px; border: 1px solid #d8ccc0; background: #fffdfa; }
.pop-directory header { padding-bottom: 12px; border-bottom: 1px solid #ede5dc; }.pop-directory h3 { margin: 0 0 5px; color: #241f1d; font-size: 1rem; }.pop-directory p { margin: 0; color: #776e68; font-size: .8rem; line-height: 1.4; }
.pop-list { display: grid; gap: 8px; margin-top: 12px; }.pop-list-item { display: grid; gap: 3px; width: 100%; padding: 12px; border: 1px solid #e0d4c5; border-radius: 6px; background: #fffdfa; color: #241f1d; text-align: left; font: inherit; cursor: pointer; }.pop-list-item:hover, .pop-list-item.is-active { border-color: #80654a; box-shadow: 0 4px 12px #4b38200d; }.pop-list-item__code { color: #80654a; font: 700 .68rem Georgia, serif; letter-spacing: .07em; }.pop-list-item strong { font-size: .87rem; }.pop-list-item__meta { color: #776e68; font-size: .75rem; }.pop-status { width: fit-content; margin-top: 3px; padding: 3px 7px; border-radius: 999px; font-size: .68rem; font-weight: 700; }.pop-status.published { background: #eaf1e9; color: #617560; }.pop-status.review { background: #f5e9d5; color: #8a5c19; }.pop-status.draft { background: #f0ede8; color: #665e58; }.pop-status.archived { background: #eee8dd; color: #6c5136; }
.pop-empty, .pop-detail-empty { color: #776e68; font-size: .84rem; line-height: 1.45; }.pop-empty { margin: 0; padding: 16px 0; }.pop-detail-empty { display: grid; gap: 8px; padding: 18px 4px; }.pop-detail-empty h3 { margin: 0; color: #241f1d; font-size: 1.1rem; }.pop-detail-empty p { max-width: 480px; margin: 0; }.pop-detail-empty .pop-primary { width: fit-content; margin-top: 4px; }
.pop-detail__head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid #ede5dc; }.pop-detail__head > div:first-child { min-width: 0; flex: 1; }.pop-detail__head .eyebrow { margin: 0 0 4px; }.pop-detail__head h3 { margin: 0 0 4px; color: #241f1d; font-size: 1.2rem; }.pop-detail__area { margin: 0; color: #776e68; font-size: .82rem; }
.pop-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 16px 0; }.pop-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid #eee6dd; }.pop-facts dt { color: #776e68; font-size: .76rem; }.pop-facts dd { margin: 0; color: #241f1d; font-size: .79rem; font-weight: 700; overflow-wrap: anywhere; }
.pop-validation { margin: 0 0 16px; padding: 14px; border: 1px solid #e0d4c5; border-left: 3px solid #b07832; background: #fcfaf7; }.pop-validation.is-conferred { border-left-color: #80654a; background: #f7f0e4; }.pop-validation.is-authorized { border-left-color: #71806d; background: #f0f5ef; }.pop-validation h4 { margin: 0 0 5px; color: #241f1d; font-size: .9rem; }.pop-validation > p { margin: 0; color: #6c625c; font-size: .78rem; line-height: 1.42; }.pop-validation__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin-top: 11px; }.pop-validation__check { display: flex; align-items: flex-start; gap: 7px; padding: 9px 0; color: #776e68; }.pop-validation__check input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #71806d; }.pop-validation__check input:disabled { opacity: 1; }.pop-validation__check strong, .pop-validation__check small { display: block; }.pop-validation__check strong { color: #241f1d; font-size: .79rem; }.pop-validation__check small { margin-top: 3px; font-size: .72rem; line-height: 1.35; }.pop-validation__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pop-detail-content { display: grid; gap: 13px; }.pop-detail-block { padding: 13px; border-left: 2px solid #bba889; background: #fcfaf7; }.pop-detail-block h4, .pop-history h4 { margin: 0 0 6px; color: #241f1d; font-size: .88rem; }.pop-detail-block p { margin: 0; color: #5f4935; font-size: .81rem; line-height: 1.48; white-space: pre-wrap; }.pop-steps { display: grid; gap: 6px; margin: 0; padding-left: 25px; color: #5f4935; font-size: .81rem; line-height: 1.42; }.pop-company-chips { display: flex; flex-wrap: wrap; gap: 6px; }.pop-company-chips span { padding: 4px 7px; border-radius: 999px; background: #f0e5d5; color: #6c5136; font-size: .72rem; font-weight: 700; }
.pop-history { margin-top: 15px; padding-top: 15px; border-top: 1px solid #ede5dc; }.pop-history > p { margin: 0 0 8px; color: #776e68; font-size: .77rem; }.pop-history__error { color: #7a4237 !important; }.pop-history__list { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }.pop-history__list li { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid #eee6dd; }.pop-history__list strong { color: #241f1d; font-size: .79rem; }.pop-history__list span { color: #776e68; font-size: .74rem; }
.pop-center__note { margin: 18px 0 0; color: #776e68; font-size: .75rem; line-height: 1.42; }
.pop-dialog { max-width: 880px; }.pop-form-card { max-height: 88vh; overflow: auto; }.pop-form-card h2 { margin-bottom: 8px; }.pop-form-card__intro { margin: 0 0 14px; color: #776e68; font-size: .84rem; line-height: 1.42; }.pop-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; }.pop-form-grid label { display: grid; gap: 5px; color: #5f4935; font-size: .78rem; font-weight: 700; }.pop-form-grid .wide { grid-column: 1 / -1; }.pop-form-grid input, .pop-form-grid select, .pop-form-grid textarea { min-width: 0; padding: 9px; border: 1px solid #c8b99f; background: #fffdfa; color: #241f1d; font: inherit; }.pop-form-grid textarea { min-height: 76px; resize: vertical; }.pop-form-grid select[multiple] { min-height: 122px; }.pop-form-grid small { color: #776e68; font-size: .72rem; font-weight: 400; line-height: 1.35; }.pop-form-status { min-height: 1.2em; margin: 11px 0 0; color: #8a5c19; font-size: .78rem; }
.pop-approval-dialog { max-width: 560px; }.pop-approval-card { display: grid; gap: 12px; }.pop-approval-card__intro { margin: 0; padding: 11px 12px; border-left: 3px solid #80654a; background: #f8f1e6; color: #5f4935; font-size: .82rem; line-height: 1.45; }.pop-approval-card > label { display: grid; gap: 5px; color: #5f4935; font-size: .8rem; font-weight: 700; }.pop-approval-card input { min-width: 0; padding: 10px; border: 1px solid #c8b99f; background: #fffdfa; color: #241f1d; font: inherit; }
@media (max-width: 1050px) { .pop-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pop-layout { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .pop-center { padding: 18px; }.pop-center__head { flex-direction: column; }.pop-filters { grid-template-columns: 1fr 1fr; }.pop-search { grid-column: 1 / -1; }.pop-detail__head { flex-wrap: wrap; }.pop-detail__actions { order: 3; width: 100%; }.pop-facts, .pop-validation__checks { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pop-metrics, .pop-filters, .pop-form-grid { grid-template-columns: 1fr; }.pop-search { grid-column: auto; }.pop-form-grid .wide { grid-column: auto; }.pop-facts div { grid-template-columns: 1fr; gap: 3px; } }
