/* Page-specific styles for the local screen and audio recorder. */
body[data-page="/video-tools/recorder/"] {
    color-scheme: light;
    --canvas: #f4f5f0;
    --paper: #fff;
    --ink: #20251f;
    --muted: #737b72;
    --line: #e5e9e1;
    --green: #367251;
    --green-dark: #254c37;
    --green-pale: #eaf2e9;
    --orange: #bd7848;
    --error: #a54838;
    --shadow: 0 16px 48px rgb(33 48 36 / 5%);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body[data-page="/video-tools/recorder/"] { min-width: 320px; margin: 0; background: var(--canvas); color: var(--ink); }
body[data-page="/video-tools/recorder/"] button,
body[data-page="/video-tools/recorder/"] select,
body[data-page="/video-tools/recorder/"] input { font: inherit; }
body[data-page="/video-tools/recorder/"] .app-shell { width: min(900px, calc(100% - 48px)); margin: 0 auto; }
body[data-page="/video-tools/recorder/"] .topbar { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid #e4e8df; }
body[data-page="/video-tools/recorder/"] .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.6px; text-decoration: none; }
body[data-page="/video-tools/recorder/"] .brand-mark { display: flex; align-items: end; gap: 2px; width: 21px; height: 21px; padding: 4px; border-radius: 7px; background: var(--green); }
body[data-page="/video-tools/recorder/"] .brand-mark span { width: 3px; border-radius: 2px; background: #fff; }
body[data-page="/video-tools/recorder/"] .brand-mark span:nth-child(1) { height: 6px; }
body[data-page="/video-tools/recorder/"] .brand-mark span:nth-child(2) { height: 11px; }
body[data-page="/video-tools/recorder/"] .brand-mark span:nth-child(3) { height: 8px; }
body[data-page="/video-tools/recorder/"] .local-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fafbf8; color: #5e685f; font-size: 12px; font-weight: 600; }
body[data-page="/video-tools/recorder/"] .local-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
body[data-page="/video-tools/recorder/"] .tool-brand-tagline { margin: 0 auto 0 22px; color: #68756b; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
body[data-page="/video-tools/recorder/"] .tool-breadcrumbs { display: block; width: 100%; margin: 14px 0 0; color: #68756b; font-size: 13px; line-height: 1.5; }
body[data-page="/video-tools/recorder/"] .tool-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
body[data-page="/video-tools/recorder/"] .tool-breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #9aa59b; }
body[data-page="/video-tools/recorder/"] .tool-breadcrumbs a { display: inline-flex; min-height: 31px; align-items: center; padding: .28rem .78rem; border: 1px solid var(--green-border); border-radius: 999px; background: var(--green-pale); color: var(--green-dark); font-weight: 700; text-decoration: none; }
body[data-page="/video-tools/recorder/"] .hero { max-width: 720px; padding: 32px 0 24px; }
body[data-page="/video-tools/recorder/"] .eyebrow,
body[data-page="/video-tools/recorder/"] .section-label { margin: 0; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; }
body[data-page="/video-tools/recorder/"] .hero h1 { margin: 12px 0; font-size: clamp(38px, calc(4vw + 4px), 56px); line-height: 1.08; letter-spacing: -2px; }
body[data-page="/video-tools/recorder/"] .hero h1 span { color: var(--green); }
body[data-page="/video-tools/recorder/"] .hero-copy { max-width: 620px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
body[data-page="/video-tools/recorder/"] .hero-seo-copy { max-width: 700px; margin: 10px 0 0; color: #6f796f; font-size: 13px; line-height: 1.65; }
body[data-page="/video-tools/recorder/"] .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
body[data-page="/video-tools/recorder/"] .utility-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .15s ease, border-color .15s ease, color .15s ease; }
body[data-page="/video-tools/recorder/"] .utility-button--primary { background: var(--green-dark); color: #fff; }
body[data-page="/video-tools/recorder/"] .utility-button--primary:hover { background: var(--green-hover); }
body[data-page="/video-tools/recorder/"] .app-shell.is-simple .utility-button--primary[aria-pressed="true"] { border-color: var(--green-border-soft); background: #fff; color: var(--green-dark); }
body[data-page="/video-tools/recorder/"] .utility-button--secondary { border-color: var(--green-border); background: #fff; color: var(--green-dark); }
body[data-page="/video-tools/recorder/"] .utility-button--secondary:hover:not(:disabled) { background: var(--green-soft); }
body[data-page="/video-tools/recorder/"] .utility-button:disabled { cursor: not-allowed; opacity: .45; }
body[data-page="/video-tools/recorder/"] .mode-note { color: #7b847b; font-size: 11px; line-height: 1.45; }
body[data-page="/video-tools/recorder/"] .tool-card { margin-top: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
body[data-page="/video-tools/recorder/"] .card-topline { display: flex; align-items: center; justify-content: space-between; }
body[data-page="/video-tools/recorder/"] .card-index { color: #869087; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
body[data-page="/video-tools/recorder/"] .card-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: #f8eee7; color: var(--orange); font-size: 17px; }
body[data-page="/video-tools/recorder/"] .tool-card h2 { margin: 13px 0 16px; font-size: 21px; letter-spacing: -.5px; }
body[data-page="/video-tools/recorder/"] .control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body[data-page="/video-tools/recorder/"] .control-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-page="/video-tools/recorder/"] .field { display: grid; align-content: start; gap: 6px; min-width: 0; color: #525d53; font-size: 11px; font-weight: 600; }
body[data-page="/video-tools/recorder/"] .field select,
body[data-page="/video-tools/recorder/"] .field input { box-sizing: border-box; width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #e4e9e2; border-radius: 8px; background: #fbfcfa; color: var(--ink); font-size: 13px; font-weight: 400; }
body[data-page="/video-tools/recorder/"] .field select:focus-visible,
body[data-page="/video-tools/recorder/"] .field input:focus-visible,
body[data-page="/video-tools/recorder/"] button:focus-visible { outline: 3px solid rgb(var(--green-rgb) / 25%); outline-offset: 2px; }
body[data-page="/video-tools/recorder/"] .audio-options,
body[data-page="/video-tools/recorder/"] .advanced-settings { margin: 16px 0 0; padding: 13px 14px; border: 1px solid #e8ece6; border-radius: 10px; background: #fbfcfa; }
body[data-page="/video-tools/recorder/"] fieldset legend { padding: 0 5px; color: #425145; font-size: 12px; font-weight: 700; }
body[data-page="/video-tools/recorder/"] .check-option { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; margin: 3px 16px 3px 0; color: #4c584d; font-size: 12px; cursor: pointer; }
body[data-page="/video-tools/recorder/"] .check-option input { width: 16px; height: 16px; accent-color: var(--green); }
body[data-page="/video-tools/recorder/"] .hint { margin: 7px 0 0; color: #858e84; font-size: 11px; line-height: 1.5; }
body[data-page="/video-tools/recorder/"] .record-controls { display: grid; grid-template-columns: minmax(170px, 1fr) auto auto auto; align-items: center; gap: 9px; margin-top: 19px; }
body[data-page="/video-tools/recorder/"] .primary-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 15px; border: 0; border-radius: 9px; background: var(--green-dark); color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .15s ease, opacity .15s ease; }
body[data-page="/video-tools/recorder/"] .primary-button:hover:not(:disabled) { background: var(--green-hover); }
body[data-page="/video-tools/recorder/"] .primary-button:disabled { cursor: not-allowed; opacity: .42; }
body[data-page="/video-tools/recorder/"] .record-timer { min-width: 55px; color: #47564a; font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
body[data-page="/video-tools/recorder/"] .action-status { min-height: 17px; margin: 10px 0 0; color: var(--green-dark); font-size: 12px; line-height: 1.5; }
body[data-page="/video-tools/recorder/"] .action-status.is-error { color: var(--error); }
body[data-page="/video-tools/recorder/"] .job-progress { display: grid; grid-template-columns: minmax(80px, 1fr) auto; align-items: center; gap: 10px; margin-top: 11px; }
body[data-page="/video-tools/recorder/"] .job-progress[hidden],
body[data-page="/video-tools/recorder/"] [hidden] { display: none !important; }
body[data-page="/video-tools/recorder/"] .job-progress progress { width: 100%; height: 8px; accent-color: var(--green); }
body[data-page="/video-tools/recorder/"] .job-progress span { color: #7f897f; font-size: 11px; font-variant-numeric: tabular-nums; }
body[data-page="/video-tools/recorder/"] .live-preview-wrap { position: relative; margin-top: 16px; }
body[data-page="/video-tools/recorder/"] .live-preview-wrap video { display: block; width: 100%; max-height: 420px; margin-top: 9px; border-radius: 10px; background: #171a18; object-fit: contain; }
body[data-page="/video-tools/recorder/"] .live-indicator { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; color: #758075; font-size: 11px; }
body[data-page="/video-tools/recorder/"] .live-indicator span { width: 7px; height: 7px; border-radius: 50%; background: #bd5848; }
body[data-page="/video-tools/recorder/"] .recording-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -5px 0 13px; }
body[data-page="/video-tools/recorder/"] .recording-meta span { padding: 5px 8px; border: 1px solid #e5eae3; border-radius: 7px; color: #647064; font-size: 11px; }
body[data-page="/video-tools/recorder/"] .result-card video,
body[data-page="/video-tools/recorder/"] .result-card audio { display: block; width: 100%; max-height: 480px; border-radius: 10px; background: #171a18; }
body[data-page="/video-tools/recorder/"] .download-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
body[data-page="/video-tools/recorder/"] .download-actions .primary-button { flex: 1; }
body[data-page="/video-tools/recorder/"] .trim-panel { margin-top: 18px; padding: 16px; border: 1px solid #e7ece5; border-radius: 11px; background: #fafbf9; }
body[data-page="/video-tools/recorder/"] .trim-panel h3 { margin: 0; font-size: 15px; }
body[data-page="/video-tools/recorder/"] .trim-panel .control-grid { margin-top: 12px; }
body[data-page="/video-tools/recorder/"] .trim-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
body[data-page="/video-tools/recorder/"] .seo-details { margin: 18px 0 4px; padding: 18px 21px; border: 1px solid var(--line); border-radius: 13px; background: rgb(255 255 255 / 66%); }
body[data-page="/video-tools/recorder/"] .seo-details h2 { margin: 0 0 9px; color: #354439; font-size: 16px; }
body[data-page="/video-tools/recorder/"] .seo-details p,
body[data-page="/video-tools/recorder/"] .seo-details li { color: #737b72; font-size: 12px; line-height: 1.6; }
body[data-page="/video-tools/recorder/"] .seo-details p { margin: 10px 0 0; }
body[data-page="/video-tools/recorder/"] .seo-details ul { margin: 8px 0 0; padding-left: 20px; }
body[data-page="/video-tools/recorder/"] .footer { display: flex; justify-content: space-between; gap: 15px; padding: 24px 0 30px; color: #929890; font-size: 11px; }
body[data-page="/video-tools/recorder/"] .utility-dialog { width: min(560px, calc(100vw - 30px)); max-height: min(82vh, 720px); margin: auto; padding: 0; overflow: auto; border: 1px solid #dfe6de; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgb(19 32 22 / 26%); }
body[data-page="/video-tools/recorder/"] .utility-dialog::backdrop { background: rgb(22 31 24 / 58%); backdrop-filter: blur(2px); }
body[data-page="/video-tools/recorder/"] .utility-dialog-content { padding: 22px 24px; }
body[data-page="/video-tools/recorder/"] .utility-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
body[data-page="/video-tools/recorder/"] .utility-dialog-header h2 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.5px; }
body[data-page="/video-tools/recorder/"] .utility-dialog ol { margin: 0; padding-left: 21px; }
body[data-page="/video-tools/recorder/"] .utility-dialog li,
body[data-page="/video-tools/recorder/"] .utility-dialog p { color: #687267; font-size: 13px; line-height: 1.6; }
body[data-page="/video-tools/recorder/"] .utility-dialog p { margin: 13px 0 0; }
body[data-page="/video-tools/recorder/"] .utility-dialog--error h2 { color: var(--error); }
body[data-page="/video-tools/recorder/"] .dialog-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #e1e7df; border-radius: 8px; background: #f8faf7; color: #4d5b4f; cursor: pointer; font-size: 25px; line-height: 1; }
body[data-page="/video-tools/recorder/"] .dialog-close:hover { border-color: var(--green-border-strong); background: var(--green-soft); }
body[data-page="/video-tools/recorder/"] .app-shell.is-simple .advanced-settings { display: none; }
body[data-page="/video-tools/recorder/"] .app-shell.is-busy .advanced-settings { opacity: .62; }
@media (max-width: 640px) {
    body[data-page="/video-tools/recorder/"] .app-shell { width: min(100% - 28px, 900px); }
    body[data-page="/video-tools/recorder/"] .topbar { height: auto; min-height: 66px; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
    body[data-page="/video-tools/recorder/"] .tool-brand-tagline { order: 3; flex-basis: 100%; margin: 0; }
    body[data-page="/video-tools/recorder/"] .local-badge { font-size: 10px; }
    body[data-page="/video-tools/recorder/"] .hero { padding-top: 26px; }
    body[data-page="/video-tools/recorder/"] .hero h1 { font-size: clamp(34px, 10vw, 46px); letter-spacing: -1.5px; }
    body[data-page="/video-tools/recorder/"] .tool-card { padding: 17px; }
    body[data-page="/video-tools/recorder/"] .control-grid,
    body[data-page="/video-tools/recorder/"] .control-grid--three { grid-template-columns: minmax(0, 1fr); }
    body[data-page="/video-tools/recorder/"] .record-controls { grid-template-columns: 1fr 1fr; }
    body[data-page="/video-tools/recorder/"] #record-button { grid-column: 1 / -1; }
    body[data-page="/video-tools/recorder/"] .record-timer { justify-self: end; }
    body[data-page="/video-tools/recorder/"] .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-page="/video-tools/recorder/"] *,
    body[data-page="/video-tools/recorder/"] *::before,
    body[data-page="/video-tools/recorder/"] *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
