/* prevention.css
   Newton Prism treatment for prevention.html. Loaded after justin.css.
   Signal Orange and Slate Grey on white, square-ish buttons (4px), 8px
   inputs and cards, and no gradients, glows or shadows. */

.panel-header .logo { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo .logo-newton { height: 64px; width: auto; }
/* The PNG has wide transparent margins; crop to the graphic itself */
.logo .logo-prism { position: relative; display: block; width: 96px; height: 82px; overflow: hidden; flex: none; }
.logo .logo-prism img { position: absolute; width: 239px; height: auto; left: -72px; top: -33px; max-width: none; }

/* Flat: remove the glows, gradients and shadows inherited from justin.css */
#ambient-bg { display: none; }
.orb-core { background: var(--newton-orange); box-shadow: none !important; }
.toast, .cookie-modal, .message-bubble { box-shadow: none; }
.cookie-modal { border: 1px solid var(--border-medium); }
.toast { border: 1px solid var(--border-medium); }

/* Buttons 4px */
.btn-start, .btn-end, .btn-send, .btn-copy, .btn-download, .btn-delete-conv, .btn-updates { border-radius: 4px; }

/* Entry form */
.form-heading { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.form-help    { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 14px; }
.field        { margin-bottom: 12px; }
.field label  { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.field .opt   { font-weight: 400; color: var(--text-muted); }
.field select, .field input[type="text"], .field input[type="email"] {
    width: 100%; padding: 10px 12px; font: inherit; font-size: 14px;
    color: var(--text-primary); background: #FFFFFF;
    border: 1px solid var(--border-strong); border-radius: 8px;
}
.field select:focus-visible, .field input:focus-visible {
    outline: 2px solid var(--newton-orange); outline-offset: 1px; box-shadow: none;
}
.anon-note { margin: 16px 0 14px; padding: 12px 14px; background: #FFFFFF; border: 1px solid var(--border-medium);
             border-left: 3px solid var(--newton-orange); border-radius: 8px; }
.anon-note h2 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.anon-note p  { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* Welcome copy */
.welcome-sub { font-size: 13px; font-weight: 700; color: var(--text-primary); margin: 18px 0 6px; }
.welcome-block ul.welcome-tips li::before { content: none; }
.welcome-block ul.welcome-tips li { padding-left: 0; }
.welcome-block ul.welcome-tips { padding-left: 1.2em; list-style: disc; }

/* After the call: delete and updates */
.conv-actions { width: 100%; }
.conv-actions .delete-hint { margin-top: 6px; text-align: center; }
.updates { width: 100%; border: 1px solid var(--border-medium); border-radius: 8px; background: #FFFFFF; }
.updates summary { cursor: pointer; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.updates summary:focus-visible { outline: 2px solid var(--newton-orange); outline-offset: 2px; }
.updates form { padding: 0 14px 14px; }
.updates .updates-line { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 10px; }
.updates .updates-sep  { font-size: 12px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.btn-updates { width: 100%; padding: 12px; background: var(--newton-slate); color: #FFFFFF; border: none;
               font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-updates:hover { background: var(--newton-slate-light-1); }
.btn-updates:focus-visible { outline: 2px solid var(--newton-orange); outline-offset: 2px; }
