@font-face {
    font-family: 'GeometosNeueBlack';
    src: url(../fonts/GeometosNeueBlack.c43de3b8.woff2) format('woff2'),
        url(../fonts/GeometosNeueBlack.1667b3b1.woff) format('woff'),
        url(../fonts/GeometosNeueBlack.abc4dc34.ttf) format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat'), local('Montserrat Regular');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap
}

:root {
    --font-body: 'Montserrat', Avenir, Arial, sans-serif;
    --font-display: 'GeometosNeueBlack', 'Montserrat', 'Arial Black', Arial, sans-serif;
    --black: #000;
    --white: #fff;
    --gold: #C28F2B;
    --grey: #576170;
    --blue: #053857;
    --blue2: #386178;
    --light: #F5F6F7;
    --border: #E5E8EC;
    --green: #669E42;
    --red: #A31A54;
    --orange: #E59400;
    --muted: #6B7280;
    --line: #E6E8EB;
    --shadow: 0 18px 42px rgba(0, 0, 0, .14);
    --radius: 18px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--light);
    color: #101820;
    line-height: 1.5
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    max-width: 100%
}

.wrap {
    width: min(1180px, 92vw);
    margin: auto
}

.dark {
    background: #000;
    color: #fff
}

.title,
.hero-title,
.page-title,
.metric {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -.04em
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.topbar.light {
    background: rgba(255, 255, 255, .95);
    border-color: var(--border)
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.logo {
    width: 230px
}

.links {
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em
}

.links a {
    color: rgba(255, 255, 255, .86)
}

.light .links a {
    color: #101820
}

.links a:hover {
    color: var(--gold)
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    transition: .2s;
}

.btn.gold {
    background: var(--gold);
    color: #fff;
}

.btn.gold:hover {
    filter: brightness(.95);
    transform: translateY(-1px)
}

.btn.darkbtn {
    background: #050505;
    color: #fff
}

.btn.white {
    background: #fff;
    color: #050505
}

.btn.outline {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase
}

.bgold {
    background: rgba(194, 143, 43, .16);
    color: var(--gold)
}

.bblue {
    background: rgba(5, 56, 87, .12);
    color: var(--blue)
}

.bsuccess {
    background: rgba(102, 158, 66, .14);
    color: #47722f
}

.bwarn {
    background: rgba(229, 148, 0, .15);
    color: #8a5e00
}

.bdanger {
    background: rgba(163, 26, 84, .12);
    color: var(--red)
}

.hero {
    min-height: 740px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, #000 0%, rgba(0, 0, 0, .94) 48%, rgba(5, 56, 87, .7) 100%)
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.kicker:before {
    content: '';
    width: 42px;
    height: 4px;
    background: var(--gold)
}

.hero-title {
    font-size: clamp(2rem, 3vw, 5rem);
    /*font-size: clamp(2.5rem, 5vw, 5rem);*/
    /*font-size: clamp(3.4rem, 7vw, 6.9rem);*/
    line-height: .88;
    margin: 0 0 24px
}

.hero p {
    max-width: 690px;
    color: rgba(255, 255, 255, .76);
    font-size: 1.08rem
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px
}

.angled-card {
    position: relative;
    background: #fff;
    color: #101820;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden
}

.angled-card:before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 185px;
    height: 185px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: .95
}

.mock-card {
    background: #101820;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 26px;
    border-radius: 24px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
    position: relative
}

.mock-line {
    height: 12px;
    background: rgba(255, 255, 255, .12);
    border-radius: 99px;
    margin: 12px 0
}

.mock-line.gold {
    background: var(--gold);
    width: 66%
}

.mock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 18px
}

.mock-cell {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 18px
}

.section {
    padding: 78px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px
}

.section-title {
    font-size: 2.4rem;
    margin: 0
}

.muted {
    color: var(--grey)
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05)
}

.card.dark-card {
    background: #0C1117;
    color: #fff;
    border-color: rgba(255, 255, 255, .08)
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gold);
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #050505;
    margin-bottom: 16px
}

.page-hero {
    background: #050505;
    color: #fff;
    padding: 58px 0;
    position: relative;
    overflow: hidden
}

/*
.page-hero:after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -80px;
    width: 400px;
    height: 230px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 22%, 100% 100%, 0 82%);
    opacity: .95
}
*/

.page-hero .wrap {
    position: relative;
    z-index: 2
}

.page-title {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: .95;
    margin: 10px 0 12px
}

.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px
}

.side {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    align-self: start;
    position: sticky;
    top: 104px
}

.side a,
.side .side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
    color: #39424e;
    font-weight: 800
}

.side a.active,
.side a:hover {
    background: rgba(194, 143, 43, .13);
    color: #000
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field label {
    font-weight: 800;
    font-size: .85rem
}

.input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    min-height: 46px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: .95rem
}

.input.error,
select.error,
textarea.error {
    border-color: var(--red);
    background: rgba(163, 26, 84, .04);
    box-shadow: 0 0 0 3px rgba(163, 26, 84, .12)
}

.input.error:focus,
select.error:focus,
textarea.error:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(163, 26, 84, .18)
}

.error-message {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 10px;
    border-left: 3px solid var(--red);
    border-radius: 8px;
    background: rgba(163, 26, 84, .1);
    color: #6b1037;
    font-size: .78rem;
    font-weight: 700
}

textarea {
    min-height: 112px
}

.full {
    grid-column: 1/-1
}

.stepper {
    display: flex;
    gap: 8px;
    margin: 24px 0
}

.step {
    height: 8px;
    flex: 1;
    background: #d9dde2;
    border-radius: 99px
}

.step.active {
    background: var(--gold)
}

.checklist {
    padding-left: 0;
    list-style: none;
    margin: 0
}

.checklist li {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10px
}

.checklist li:before {
    content: '✓';
    color: var(--gold);
    font-weight: 900
}

.timeline {
    position: relative;
    padding-left: 26px
}

.timeline:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #d9dde2
}

.tl {
    position: relative;
    margin-bottom: 22px
}

.tl:before {
    content: '';
    position: absolute;
    left: -24px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--gold)
}

.tl.done:before {
    background: var(--gold)
}

.tl h4 {
    margin: 0 0 4px
}

.dash {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh
}

.dash-side {
    background: #050505;
    color: #fff;
    padding: 28px 20px;
    position: sticky;
    top: 0;
    height: 100vh
}

.dash-side .logo {
    width: 210px;
    margin-bottom: 36px
}

.dash-nav {
    overflow-y: auto; 
    scrollbar-width: thin; 
    height: calc(100vh - 350px);
}

.dash-nav a {
    display: flex;
    padding: 13px 14px;
    margin-bottom: 6px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.dash-nav a.active,
.dash-nav a:hover {
    background: rgba(194, 143, 43, .18);
    color: #fff
}

.dash-main {
    padding: 30px
}

.dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px
}

.metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.metric {
    font-size: 2.1rem;
    color: #0b1117
}

.table-wrap {
    overflow: auto
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem
}

.table th {
    background: #F1F3F5;
    text-align: left;
    padding: 13px;
    color: #29323c;
    text-transform: uppercase;
    font-size: .75rem
}

.table td {
    border-bottom: 1px solid var(--border);
    padding: 14px
}

.filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    align-items: end
}

.score {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.score-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px
}

.score-value {
    font-size: 1.8rem;
    font-weight: 900
}

.decision {
    background: #050505;
    color: #fff
}

.bars {
    display: grid;
    gap: 13px
}

.bar {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    gap: 12px;
    align-items: center
}

.bar-track {
    height: 12px;
    background: #e4e7ea;
    border-radius: 999px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    background: var(--gold)
}

.donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(var(--gold) 0 42%, var(--blue) 42% 70%, var(--grey) 70% 88%, #dfe3e8 88%);
    display: grid;
    place-items: center;
    margin: auto
}

.donut:after {
    content: 'Statuts';
    display: grid;
    place-items: center;
    background: #fff;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    font-weight: 900;
    color: #111
}

.accueil-panel {
    background: #fff;
}

.login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*background: #050505*/
}

.login-brand {
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    /*color: #fff*/
}

/*.login-brand:after {
    content: 'M';
    font-family: var(--font-display);
    position: absolute;
    right: -60px;
    bottom: -60px;
    font-size: 520px;
    color: rgba(194, 143, 43, .13)
}*/

.login-panel {
    background: #fff;
    margin: 30px;
    border-radius: 28px;
    padding: 45px;
    align-self: center
}

.tabs {
    display: flex;
    background: #f0f2f4;
    padding: 5px;
    border-radius: 999px;
    margin: 25px 0
}

.tab {
    flex: 1;
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 13px;
    font-weight: 900;
    cursor: pointer
}

.tab.active {
    background: #050505;
    color: #fff
}

.footer {
    background: #050505;
    color: #fff;
    padding: 34px 0;
    margin-top: 48px
}

.small {
    font-size: .86rem;
    color: var(--muted);
    margin: .15rem 0 .65rem
}

.note {
    border-left: 5px solid var(--gold);
    background: #fff;
    padding: 18px;
    border-radius: 0 16px 16px 0
}

.progress-ring {
    height: 10px;
    background: #e4e7ea;
    border-radius: 999px;
    overflow: hidden
}

.eyebrow {
    font-weight: 900;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .08em
}

.progress-ring span {
    display: block;
    height: 100%;
    background: var(--gold)
}


.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #6B7280;
    font-size: .9rem;
    margin-bottom: 24px
}

.breadcrumb a {
    font-weight: 800;
    color: var(--blue)
}

.conditions-hero {
    background: linear-gradient(135deg, #fff 0%, #fff 62%, #F2E7D1 62%, #fff 82%);
    padding-bottom: 34px
}

.condition-title {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    align-items: end
}

.condition-title h1 {
    max-width: 900px
}

.brand-title,
.h-title,
h1,
h2,
h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: -.04em;
    line-height: .95
}

h1 {
    font-size: clamp(2rem, 3vw, 5rem);
    margin: .3rem 0 1rem
}

h2 {
    font-size: 2rem;
    margin: 0 0 1rem
}

h3 {
    font-size: 1.05rem;
    margin: .15rem 0 .65rem
}

.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 24px
}

.pill {
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .35rem
}

.pill.gold {
    background: #FFF4DB;
    color: #825900
}

.pill.blue {
    background: #E8F1F6;
    color: var(--blue)
}

.pill.green {
    background: #ECF7EA;
    color: #33691E
}

.pill.red {
    background: #F7E8EF;
    color: #781240
}

.pill.grey {
    background: #F0F2F4;
    color: #4B5563
}

.readiness-card {
    min-height: 210px
}

.readiness-indicator {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px
}

.org-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 22px
}

.org-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font-weight: 900;
  color: #374151;
  text-align: left;
  cursor: pointer;
  font-family: inherit
}

.org-tab.active {
  background: #FFF4DB;
  border-color: rgba(194, 143, 43, .45);
  color: #3b2b0d;
  box-shadow: inset 4px 0 0 var(--gold)
}

.requirements-panel {
  background: #F9FAFB;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px
}

.req-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px
}

.doc-list {
  display: grid;
  gap: 10px
}

.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff
}

.checklist-docs .doc-item span:first-child {
  font-weight: 700;
  color: #374151
}

.submit-check {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}
.check-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: #F9FAFB;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  color: #374151
}

.check-line input {
  margin-top: 4px;
  accent-color: var(--gold);
  transform: scale(1.15)
}
.notice-box {
  background: #FFF8EA;
  border: 1px solid #F1D99F;
  border-radius: 14px;
  padding: 15px;
  color: #3b2b0d
}

.notice-box p {
  margin: .35rem 0 0;
  color: #6b4600;
  font-size: .9rem
}

.btn.disabled {
  opacity: .48;
  cursor: not-allowed;
  filter: grayscale(.2);
  pointer-events: auto
}

.benefit-icon,
.step-no {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFF4DB;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 900
}

.common-docs h3 {
  margin-top: 10px
}

.side-foot {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px
}

.interaction {
  display: flex;
  gap: 14px;
  margin-bottom: 15px
}

.interaction .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: #FFF4DB;
  color: var(--gold);
  flex: 0 0 38px
}

.interaction.demandeur .avatar {
  background: #E8F1F6;
  color: var(--blue)
}

.interaction-card {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 14px
}

.interaction-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #6B7280;
  font-size: .8rem;
  margin-bottom: 8px
}

.decision-box {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 22px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.chart {
  height: 230px;
  display: flex;
    align-items: stretch;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #F9FAFB);
  border-radius: 16px;
  border: 1px solid var(--line)
}

.chart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0
}

.chart-bar {
    width: 100%;
  background: var(--gold);
  border-radius: 10px 10px 0 0;
  min-height: 22px
}

.chart-label {
    text-align: center;
    font-size: .78rem;
    color: var(--slate);
    line-height: 1.1
}

.chart-item:nth-child(2) .chart-bar {
  background: var(--black)
}

.chart-item:nth-child(3) .chart-bar {
  background: var(--green)
}

.chart-item:nth-child(4) .chart-bar {
  background: var(--red)
}

.chart-item:nth-child(5) .chart-bar {
  background: var(--blue)
}

.chart-item:nth-child(6) .chart-bar {
  background: var(--blue2)
}

.chart-item:nth-child(7) .chart-bar {
  background: var(--green)
}

.chart-item:nth-child(8) .chart-bar {
  background: var(--red)
}

.chart-item:nth-child(9) .chart-bar {
  background: var(--orange)
}

.chart-item:nth-child(10) .chart-bar {
  background: var(--black)
}

.chart-item:nth-child(11) .chart-bar {
  background: var(--gold)
}

.chart-item:nth-child(5) .chart-bar {
  background: var(--grey)
}

.chart-item:nth-child(12) .chart-bar {
  background: var(--blue)
}

@media(max-width:980px) {

    .hero-grid,
    .layout,
    .dash,
    .login,
    .grid-4,
    .grid-3,
    .grid-2,
    .metrics,
    .score {
        grid-template-columns: 1fr
    }

    .links {
        display: none
    }

    .hero {
        min-height: auto;
        padding: 80px 0
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .filters {
        grid-template-columns: repeat(6, minmax(170px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px
    }

    .side {
        position: static
    }

    .dash-side {
        height: auto;
        position: relative
    }

    .dash-main {
        padding: 20px
    }

    .login-panel {
        margin: 15px
    }

    .section-head {
        display: block
    }

    .nav {
        height: auto;
        padding: 18px 0;
        align-items: flex-start
    }

    .actions {
        flex-wrap: wrap
    }

    .logo {
        width: 190px
    }

    .condition-title,
    .conditions-layout {
        grid-template-columns: 1fr
    }

    .org-selector {
        grid-template-columns: 1fr
    }
}

/* ===== Audit detail popup ===== */
.audit-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background .15s, color .15s;
    flex-shrink: 0
}

.audit-detail-btn:hover,
.audit-detail-btn:focus {
    background: var(--gold);
    color: #fff;
    outline: none
}

.audit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1000;
    align-items: center;
    justify-content: center
}

.audit-modal-overlay.active {
    display: flex
}

.audit-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    width: 100%;
    max-width: 480px;
    margin: 16px;
    outline: none;
    animation: auditModalIn .18s ease
}

@keyframes auditModalIn {
    from { opacity: 0; transform: translateY(-12px) }
    to   { opacity: 1; transform: translateY(0) }
}

.audit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #ebebeb
}

.audit-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700
}

.audit-modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
    border-radius: 4px;
    transition: color .1s
}

.audit-modal-close:hover {
    color: #111
}

.audit-modal-body {
    padding: 18px 20px 22px;
    max-height: 60vh;
    overflow-y: auto
}

.audit-detail-list {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px
}

.audit-detail-list dt {
    font-weight: 600;
    color: #555;
    font-size: .85rem;
    white-space: nowrap
}

.audit-detail-list dd {
    margin: 0;
    font-size: .9rem;
    color: #111;
    word-break: break-word
}
