.pact-demo[hidden], .pact-demo [hidden] { display: none !important; }
.pact-demo { padding: 24px; }
.pact-demo p { line-height: 1.6; font-size: 14px; }
.pact-language { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pact-language select { min-height: 44px; padding: 8px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.pact-copy-line { display: flex; align-items: start; gap: 10px; }
.pact-copy-line > :first-child { flex: 1 1 auto; }
.pact-info { flex: 0 0 44px; position: relative; }
.pact-info summary { display: flex; align-items: center; justify-content: center; list-style: none; width: 44px; height: 44px; cursor: pointer; border-radius: 50%; }
.pact-info summary::-webkit-details-marker { display: none; }
.pact-info summary span { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--teal-deep); border-radius: 50%; font: 700 14px/1 Georgia, serif; color: var(--teal-deep); }
.pact-info-panel { position: fixed; z-index: 100; top: 44px; left: 16px; margin: 0; width: min(320px, calc(100vw - 32px)); padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 8px 24px #14303f20; font-weight: 400; }
.pact-entry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pact-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--teal-deep); border-radius: 10px; background: var(--teal-deep); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.45; cursor: pointer; text-align: center; }
.pact-button:hover { color: #fff; background: #14303f; }
.pact-button-secondary { background: #fff; color: var(--teal-deep); }
.pact-button-secondary:hover { background: #f2f7f5; color: var(--teal-deep); }
.pact-button:disabled { opacity: .55; cursor: default; }
.pact-note { color: var(--muted); font-size: 14px; }
.pact-demo { display: grid; gap: 20px; }
.pact-demo-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.pact-demo-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pact-demo-heading h2 { margin-top: 8px; font-size: 26px; }
.pact-demo-badge { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #fff0d9; color: #6c451a; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.pact-demo-status { padding: 14px 16px; border-radius: 10px; background: #f1f7f5; border: 1px solid #dae7e1; }
.pact-demo-form, .pact-demo-card { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line-2); border-radius: 14px; max-width: 780px; }
.pact-demo-form h3, .pact-demo-card h3 { font-size: 21px; }
.pact-demo-form .pact-button { justify-self: start; }
.pact-field { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.pact-field :is(input, select) { width: 100%; min-width: 0; min-height: 44px; font: inherit; font-size: 16px; border: 1px solid #bfcec7; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
.pact-field small { color: var(--muted); font-size: 14px; font-weight: 400; }
.pact-check, .pact-choice { display: flex; align-items: start; gap: 12px; min-height: 44px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.pact-check input, .pact-choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; accent-color: var(--teal-deep); }
.pact-demo-form fieldset { border: 1px solid var(--line-2); padding: 16px; border-radius: 10px; }
.pact-demo-form legend { font-size: 14px; font-weight: 700; padding: 0 6px; }
.pact-demo-form details:not(.pact-info) summary { min-height: 44px; cursor: pointer; font-weight: 700; font-size: 14px; padding: 10px 0; }
.pact-demo-channels { list-style: none; padding: 0; margin: 0; }
.pact-demo-channels li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
.pact-demo-channels span { color: var(--muted); }
.pact-demo-error { color: #a22321; }
.pact-demo :is(button, input, select, a, summary):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media(max-width: 700px) { .pact-demo-heading { flex-direction: column; } .pact-demo-tools { width: 100%; justify-content: space-between; } .pact-entry-actions { width: 100%; } .pact-entry-actions .pact-button { flex: 1 1 100%; } .pact-demo-form, .pact-demo-card { padding: 16px; } .pact-demo-form .pact-button { width: 100%; } }
