:root {
    --wu-primary: #2c87db;
    --wu-primary-dark: #0f65b3;
    --wu-ink: #15223a;
    --wu-muted: #597089;
    --wu-border: #d7e3ef;
    --wu-soft: #f7faff;
    --wu-success: #168554;
    --wu-danger: #bd3346;
    --wu-warning: #85600a;
}

.web-utility-page { padding: 34px 0 64px; background: #f7f9fc; }
.web-utility-card { padding: 32px; border: 1px solid var(--wu-border); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(31, 54, 86, .06); }
.web-utility-intro { max-width: 860px; margin: 0 auto 22px; text-align: center; }
.web-utility-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #eaf5ff; color: var(--wu-primary-dark); font-size: 12px; font-weight: 750; }
.web-utility-intro h1 { margin: 11px 0 9px; color: var(--wu-ink); font-size: clamp(28px, 4vw, 39px); font-weight: 800; }
.web-utility-intro p { max-width: 760px; margin: 0 auto; color: #53657d; font-size: 15px; line-height: 1.65; }
.web-utility-alert { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #f2bac2; border-radius: 10px; background: #fff0f2; color: #a3293b; text-align: center; }
.web-utility-alert.is-warning { border-color: #efd58c; background: #fff8e7; color: var(--wu-warning); }
.web-utility-alert.is-success { border-color: #bce4cf; background: #effcf4; color: var(--wu-success); }
.web-utility-workspace { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
.web-utility-panel, .web-utility-result-card, .web-utility-network-workspace, .web-utility-notepad { min-width: 0; border: 1px solid var(--wu-border); border-radius: 15px; background: var(--wu-soft); }
.web-utility-panel, .web-utility-result-card { padding: 22px; }
.web-utility-panel-heading { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid #dfebf5; }
.web-utility-panel-heading h2 { display: flex; margin: 0 0 5px; align-items: center; color: var(--wu-ink); font-size: 18px; font-weight: 800; gap: 8px; }
.web-utility-panel-heading h2 i { color: var(--wu-primary); }
.web-utility-panel-heading p { margin: 0; color: var(--wu-muted); font-size: 12px; line-height: 1.55; }
.web-utility-control { min-width: 0; margin-top: 14px; }
.web-utility-panel-heading + .web-utility-control, .web-utility-tabs + .signature-mode-panel { margin-top: 0; }
.web-utility-control label, .web-utility-label { display: block; margin: 0 0 7px; color: #40536b; font-size: 12px; font-weight: 800; }
.web-utility-control .form-control, .web-utility-control .form-select, .web-utility-result-card .form-control { min-height: 47px; border-color: #cbd9e7; border-radius: 9px; color: var(--wu-ink); font-size: 15px; }
.web-utility-control textarea.form-control { min-height: 94px; resize: vertical; }
.web-utility-control .form-control:focus, .web-utility-control .form-select:focus, .web-utility-result-card .form-control:focus { border-color: var(--wu-primary); box-shadow: 0 0 0 .18rem rgba(44, 135, 219, .13); }
.web-utility-control small { display: block; margin-top: 5px; color: var(--wu-muted); font-size: 11px; line-height: 1.45; }
.web-utility-control .invalid-feedback { font-size: 11px; }
.web-utility-form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.web-utility-actions { display: flex; margin-top: 18px; flex-wrap: wrap; gap: 9px; }
.web-utility-actions .btn, .web-utility-wide-action { min-height: 42px; border-radius: 8px; font-size: 13px; font-weight: 750; }
.web-utility-result-card { display: flex; flex-direction: column; background: linear-gradient(150deg, #edf8ff, #f9fcff); }
.web-utility-result-kicker { display: flex; margin-bottom: 13px; align-items: center; color: var(--wu-primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; gap: 7px; }
.web-utility-result-card > label { display: block; margin: 14px 0 7px; color: #40536b; font-size: 12px; font-weight: 800; }
.web-utility-result-note { margin: 12px 0; color: var(--wu-muted); font-size: 12px; line-height: 1.5; }
.web-utility-copy-row { display: flex; gap: 8px; }
.web-utility-copy-row .form-control { min-width: 0; }
.web-utility-copy-row .btn { flex: 0 0 auto; }
.web-utility-open-link { width: 100%; margin-top: 13px; }
.web-utility-open-link.disabled { pointer-events: none; opacity: .6; }
.web-utility-privacy { display: flex; margin: 18px auto 0; align-items: flex-start; color: #49647d; font-size: 12px; line-height: 1.55; gap: 8px; }
.web-utility-privacy i { margin-top: 2px; color: var(--wu-success); }
.web-utility-notice { display: flex; margin: 16px 0; padding: 12px 14px; border: 1px solid #badbf7; border-radius: 11px; align-items: flex-start; background: #edf7ff; color: #225a88; font-size: 12px; line-height: 1.55; gap: 9px; }
.web-utility-notice i { margin-top: 2px; color: #1575c2; }
.web-utility-notice.is-warning { border-color: #efd58c; background: #fff8e7; color: var(--wu-warning); }
.web-utility-notice.is-warning i { color: #c88904; }
.web-utility-tip { margin: 13px 0 0; color: var(--wu-muted); font-size: 12px; line-height: 1.5; }
.web-utility-tip i { color: var(--wu-primary); }

/* Gravatar */
.web-utility-page .form-range { display: block; width: 100%; height: 22px; margin: 2px 0 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.web-utility-page .form-range::-webkit-slider-runnable-track { height: 7px; border: 0; border-radius: 999px; background: #cbd9e7; box-shadow: inset 0 1px 1px rgba(21, 34, 58, .08); }
.web-utility-page .form-range::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -5px; appearance: none; -webkit-appearance: none; border: 2px solid #fff; border-radius: 50%; background: var(--wu-primary); box-shadow: 0 1px 4px rgba(20, 79, 136, .35); }
.web-utility-page .form-range::-moz-range-track { height: 7px; border: 0; border-radius: 999px; background: #cbd9e7; box-shadow: inset 0 1px 1px rgba(21, 34, 58, .08); }
.web-utility-page .form-range::-moz-range-progress { height: 7px; border-radius: 999px; background: var(--wu-primary); }
.web-utility-page .form-range::-moz-range-thumb { width: 15px; height: 15px; border: 2px solid #fff; border-radius: 50%; background: var(--wu-primary); box-shadow: 0 1px 4px rgba(20, 79, 136, .35); }
.web-utility-avatar-wrap { display: grid; width: min(230px, 100%); aspect-ratio: 1; margin: 4px auto 4px; place-items: center; overflow: hidden; border: 1px solid #d5e4f2; border-radius: 50%; background: repeating-conic-gradient(#edf2f7 0 25%, #fff 0 50%) 50% / 24px 24px; }
.web-utility-avatar-wrap img { display: none; width: 100%; height: 100%; object-fit: cover; }
.web-utility-avatar-wrap img.is-visible { display: block; }

/* Signature */
.web-utility-tabs { display: grid; overflow: hidden; margin-bottom: 16px; border: 1px solid #cdddec; border-radius: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.web-utility-tabs button { min-width: 0; min-height: 50px; padding: 8px 5px; border: 0; border-right: 1px solid #d8e4ef; color: #667b93; background: #fff; font-size: 12px; font-weight: 800; }
.web-utility-tabs button:last-child { border-right: 0; }
.web-utility-tabs button.is-active { color: #fff; background: var(--wu-primary); }
.web-utility-tabs button i { display: block; margin-bottom: 3px; font-size: 14px; }
.web-utility-signature-fonts { display: grid; margin-top: 8px; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.web-utility-signature-fonts button { min-width: 0; min-height: 56px; overflow: hidden; padding: 7px; border: 1px solid #d7e3ef; border-radius: 9px; color: #17233a; background: #fff; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.web-utility-signature-fonts button.is-active { border: 2px solid var(--wu-primary); background: #eaf5ff; }
.web-utility-signature-fonts [data-signature-font="cursive"] { font-family: cursive; font-style: italic; }
.web-utility-signature-fonts [data-signature-font="script"] { font-family: "Brush Script MT", "Segoe Script", cursive; font-style: italic; }
.web-utility-signature-fonts [data-signature-font="classic"] { font-family: Georgia, serif; font-style: italic; }
.web-utility-signature-fonts [data-signature-font="modern"] { font-family: "Trebuchet MS", sans-serif; font-style: italic; font-weight: 700; }
.web-utility-signature-fonts [data-signature-font="serif"] { font-family: "Palatino Linotype", Georgia, serif; font-style: italic; }
.web-utility-signature-fonts [data-signature-font="hand"] { font-family: "Comic Sans MS", cursive; font-style: italic; }
.web-utility-signature-fonts [data-signature-font="formal"] { font-family: "Segoe Script", "Brush Script MT", cursive; }
.web-utility-signature-fonts [data-signature-font="bold"] { font-family: cursive; font-style: italic; font-weight: 800; }
.signature-mode-panel { min-height: 104px; }
.web-utility-file-drop { display: flex; min-height: 118px; padding: 18px; border: 1px dashed #9fc9ed; border-radius: 10px; align-items: center; justify-content: center; color: #1770bb; background: #fafdff; text-align: center; cursor: pointer; flex-direction: column; gap: 5px; }
.web-utility-file-drop i { font-size: 23px; }
.web-utility-file-drop span { color: #285276; font-size: 14px; font-weight: 800; }
.web-utility-file-drop small { color: var(--wu-muted); font-size: 11px; }
.signature-controls-grid { align-items: end; }
.signature-controls-grid .form-control-color { width: 58px; min-height: 42px; padding: 4px; }
.web-utility-signature-result { justify-content: flex-start; }
.web-utility-signature-canvas-wrap { display: grid; height: 260px; overflow: hidden; border: 1px solid #d5e4f2; border-radius: 11px; background: repeating-conic-gradient(#edf2f7 0 25%, #fff 0 50%) 50% / 24px 24px; place-items: stretch; touch-action: none; }
.web-utility-signature-canvas-wrap canvas { display: block; width: 100%; height: 100%; max-height: none; cursor: crosshair; }
.web-utility-wide-action { width: 100%; margin-top: 15px; }

/* Link and hash tools */
.web-utility-link-result textarea { min-height: 190px; resize: vertical; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; }
.web-utility-hash-output { display: block; min-height: 155px; padding: 15px; overflow-wrap: anywhere; border: 1px solid #d5e4f2; border-radius: 10px; color: #123d68; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.65; }
.web-utility-hash-output:empty::before { content: '—'; color: #8191a4; }
.web-utility-hash-switcher { display: inline-flex; margin: 0 0 17px; overflow: hidden; border: 1px solid #cbddec; border-radius: 8px; }
.web-utility-hash-switcher a { padding: 8px 13px; border-right: 1px solid #cbddec; color: #47627e; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.web-utility-hash-switcher a:last-child { border-right: 0; }
.web-utility-hash-switcher a:hover, .web-utility-hash-switcher a.is-active { color: #fff; background: var(--wu-primary); }

/* Network checkers */
.web-utility-network-workspace { padding: 22px; }
.web-utility-network-form { max-width: 900px; margin: 0 auto; }
.web-utility-network-form .web-utility-control { margin-top: 0; }
.web-utility-network-input { display: flex; gap: 9px; }
.web-utility-network-input .form-control { min-width: 0; }
.web-utility-network-input .btn { flex: 0 0 auto; min-height: 47px; font-weight: 750; }
.web-utility-network-input .spinner-border { margin-left: 4px; }
.web-utility-loading { display: flex; padding: 26px; align-items: center; justify-content: center; color: var(--wu-muted); font-size: 13px; gap: 11px; }
.web-utility-network-results { margin-top: 18px; }
.wu-network-summary { display: grid; padding: 18px; border: 1px solid #c6deef; border-radius: 13px; background: #f1f9ff; gap: 14px; grid-template-columns: auto minmax(0, 1fr); }
.wu-score { display: grid; width: 96px; height: 96px; border: 6px solid #62b0e9; border-radius: 50%; place-items: center; color: #1169b6; background: #fff; font-size: 25px; font-weight: 850; }
.wu-network-summary h2 { margin: 0 0 6px; color: var(--wu-ink); font-size: 18px; font-weight: 800; }
.wu-network-summary p { margin: 4px 0 0; overflow-wrap: anywhere; color: #47637d; font-size: 12px; line-height: 1.5; }
.wu-network-grid { display: grid; margin-top: 16px; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wu-network-card { min-width: 0; padding: 17px; border: 1px solid #d7e3ef; border-radius: 12px; background: #fff; }
.wu-network-card h2 { margin: 0 0 12px; color: var(--wu-ink); font-size: 16px; font-weight: 800; }
.wu-field-list, .wu-detail-list { margin: 0; padding: 0; list-style: none; }
.wu-field-list li { display: grid; padding: 10px 0; border-top: 1px dashed #dce8f1; gap: 5px; grid-template-columns: 1fr auto; }
.wu-field-list li:first-child { padding-top: 0; border-top: 0; }
.wu-field-list strong { overflow-wrap: anywhere; color: #284662; font-size: 12px; }
.wu-field-list span { overflow-wrap: anywhere; color: #61758c; font-size: 12px; }
.wu-status { align-self: start; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.wu-status.is-found { color: #146b42; background: #e8faef; }
.wu-status.is-missing { color: #a3293b; background: #fff0f2; }
.wu-preview { overflow: hidden; border: 1px solid #e1e8ef; border-radius: 10px; background: #f8fafc; }
.wu-preview-top { height: 49px; background: linear-gradient(135deg, #d8e9fa, #f0f7ff); }
.wu-preview-body { padding: 14px; }
.wu-preview-site { display: block; overflow-wrap: anywhere; color: #567089; font-size: 11px; }
.wu-preview h3 { margin: 7px 0 6px; color: #1c2c43; font-size: 16px; font-weight: 800; }
.wu-preview p { display: -webkit-box; margin: 0; overflow: hidden; color: #526982; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.wu-social-previews { min-width: 0; }
.wu-social-tabs { display: flex; margin-bottom: 13px; padding-bottom: 3px; overflow-x: auto; border-bottom: 1px solid #e1e9f1; gap: 6px; scrollbar-width: thin; }
.wu-social-tab { flex: 0 0 auto; padding: 7px 10px; border: 1px solid transparent; border-radius: 7px; color: #5a6f85; background: transparent; font-size: 11px; font-weight: 800; }
.wu-social-tab:hover, .wu-social-tab.is-active { border-color: #b9d7ef; color: var(--wu-primary-dark); background: #eaf5ff; }
.wu-social-preview-stage { min-width: 0; }
.wu-social-card { overflow: hidden; border: 1px solid #dce5ed; border-radius: 10px; color: #1b2738; background: #fff; }
.wu-social-card-header { display: flex; min-height: 44px; padding: 9px 12px; align-items: center; border-bottom: 1px solid #edf1f5; color: #3d5268; font-size: 12px; font-weight: 800; gap: 8px; }
.wu-social-platform-mark { display: grid; width: 24px; height: 24px; border-radius: 50%; place-items: center; color: #fff; background: #3978bd; font-size: 13px; font-weight: 850; }
.wu-social-preview-media { display: grid; aspect-ratio: 1.91 / 1; overflow: hidden; place-items: center; background: linear-gradient(135deg, #e6f1fa, #f7fbff); }
.wu-social-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.wu-social-preview-media.is-fallback { padding: 18px; color: #6f8194; background: repeating-conic-gradient(#edf3f8 0 25%, #f8fbfd 0 50%) 50% / 26px 26px; font-size: 11px; line-height: 1.45; text-align: center; }
.wu-social-preview-media.is-fallback i { display: block; margin-bottom: 7px; color: #97abc0; font-size: 23px; }
.wu-social-card-body { padding: 13px 14px 15px; }
.wu-social-preview-site { display: block; overflow-wrap: anywhere; color: #6c7d8d; font-size: 10px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.wu-social-card h3 { display: -webkit-box; margin: 6px 0 5px; overflow: hidden; color: #19293b; font-size: 15px; font-weight: 800; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wu-social-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #5b6e82; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.wu-social-card.is-x { border-color: #1a1a1a; }.wu-social-card.is-x .wu-social-card-header { color: #fff; border-bottom-color: #333; background: #111; }.wu-social-card.is-x .wu-social-platform-mark { color: #111; background: #fff; }
.wu-social-card.is-linkedin .wu-social-platform-mark { border-radius: 4px; background: #0a66c2; }.wu-social-card.is-whatsapp { max-width: 440px; margin: 0 auto; background: #eaf8ef; }.wu-social-card.is-whatsapp .wu-social-card-header { border-bottom-color: #d2eddd; }.wu-social-card.is-whatsapp .wu-social-platform-mark { background: #20a95a; }.wu-social-card.is-discord .wu-social-card-header { color: #fff; border-bottom-color: #4d5891; background: #5865f2; }.wu-social-card.is-discord .wu-social-platform-mark { background: #303a82; }.wu-social-card.is-telegram { max-width: 440px; margin: 0 auto; }.wu-social-card.is-telegram .wu-social-card-header { color: #fff; border-bottom-color: #1d8ec3; background: #2aabee; }.wu-social-card.is-telegram .wu-social-platform-mark { background: #137db4; }
.wu-detail-list > div { display: grid; padding: 9px 0; border-top: 1px dashed #dce8f1; gap: 8px; grid-template-columns: minmax(100px, .75fr) minmax(0, 1.25fr); }
.wu-detail-list > div:first-child { padding-top: 0; border-top: 0; }
.wu-detail-list dt { color: #587087; font-size: 12px; font-weight: 700; }
.wu-detail-list dd { margin: 0; overflow-wrap: anywhere; color: #203b57; font-size: 12px; }
.wu-brotli-state { display: flex; padding: 15px; border: 1px solid #badfca; border-radius: 10px; align-items: center; color: #146b42; background: #effbf4; font-size: 14px; font-weight: 800; gap: 9px; }
.wu-brotli-state.is-missing { border-color: #efd58c; color: var(--wu-warning); background: #fff8e7; }

/* Online notepad */
.web-utility-notepad { overflow: hidden; background: #fff; }
.notepad-topbar { display: flex; padding: 14px 16px; border-bottom: 1px solid #dce7f0; align-items: center; justify-content: space-between; background: #f8fbfe; gap: 14px; }
.notepad-title-control { min-width: 0; flex: 1 1 auto; }
.notepad-title-control .form-control { min-height: 42px; border-color: #cbd9e7; color: var(--wu-ink); font-weight: 750; }
.notepad-save-status { display: inline-flex; align-items: center; color: var(--wu-success); font-size: 12px; font-weight: 800; white-space: nowrap; gap: 5px; }
.notepad-save-status.is-error { color: var(--wu-danger); }
.notepad-toolbar { display: flex; padding: 9px 12px; border-bottom: 1px solid #dce7f0; flex-wrap: wrap; background: #fff; gap: 7px; }
.notepad-toolbar-group { display: flex; overflow: hidden; border: 1px solid #d4e1ed; border-radius: 7px; }
.notepad-toolbar-group button, .notepad-toolbar-group select, .notepad-toolbar-group input { min-width: 35px; height: 34px; padding: 0 9px; border: 0; border-right: 1px solid #d4e1ed; color: #40546d; background: #fff; font-size: 12px; font-weight: 750; }
.notepad-toolbar-group button:last-child, .notepad-toolbar-group input:last-child { border-right: 0; }
.notepad-toolbar-group button:hover, .notepad-toolbar-group button.is-active { color: #fff; background: var(--wu-primary); }
.notepad-toolbar-group select { min-width: 96px; }
.notepad-toolbar-group #notepad-block-format { min-width: 126px; }
.notepad-toolbar-group input[type="color"] { width: 39px; padding: 4px; }
.notepad-special-characters { position: relative; overflow: visible; }
.notepad-special-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: 250px; padding: 11px; border: 1px solid #d4e1ed; border-radius: 10px; box-shadow: 0 10px 26px rgba(30, 53, 83, .18); background: #fff; }
.notepad-special-panel strong { display: block; margin-bottom: 8px; color: #8495aa; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.notepad-special-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.notepad-special-panel button { display: grid; width: 33px; min-width: 0; height: 33px; padding: 0; border: 1px solid #dce6f0; border-radius: 5px; place-items: center; color: #2c4058; background: #f8fbfe; font-size: 16px; font-weight: 700; }
.notepad-special-panel button:hover, .notepad-special-panel button:focus { border-color: var(--wu-primary); color: #fff; background: var(--wu-primary); }
.notepad-toolbar-group-actions { margin-left: auto; }
.notepad-toolbar-group-actions button { display: inline-flex; align-items: center; gap: 5px; }
.notepad-find-panel { display: flex; padding: 10px 14px; border-bottom: 1px solid #dce7f0; align-items: center; flex-wrap: wrap; background: #f7fbff; gap: 8px; }
.notepad-find-panel .form-control { width: 180px; min-height: 36px; border-color: #ceddea; font-size: 12px; }
.notepad-find-panel label { margin: 0; color: #536a82; font-size: 11px; }
.notepad-editor-shell { display: flex; height: min(64vh, 680px); min-height: 360px; overflow: hidden; background: #fff; }
.notepad-lines { display: none; width: 50px; padding: 16px 8px; overflow: hidden; border-right: 1px solid #e0e8ef; color: #93a3b3; background: #f7f9fb; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.65; text-align: right; user-select: none; white-space: pre; }
.web-utility-notepad.is-lines-visible .notepad-lines { display: block; }
.notepad-editor { min-width: 0; padding: 16px 19px; overflow: auto; color: #1c2a3d; background: #fff; font-size: 15px; line-height: 1.65; outline: 0; flex: 1 1 auto; }
.notepad-editor:empty::before { content: attr(data-placeholder); color: #9aa8b6; pointer-events: none; }
.web-utility-notepad.is-code-mode .notepad-editor { color: #1a2b42; background: #fbfdff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; white-space: pre-wrap; tab-size: 4; }
.web-utility-notepad.is-code-mode .notepad-toolbar [data-notepad-command], .web-utility-notepad.is-code-mode .notepad-toolbar [data-notepad-case], .web-utility-notepad.is-code-mode .notepad-toolbar [data-notepad-symbol], .web-utility-notepad.is-code-mode #notepad-special-toggle, .web-utility-notepad.is-code-mode #notepad-block-format, .web-utility-notepad.is-code-mode #notepad-font-size, .web-utility-notepad.is-code-mode #notepad-color { opacity: .5; pointer-events: none; }
.notepad-footer { display: flex; padding: 12px 14px; border-top: 1px solid #dce7f0; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #f8fbfe; gap: 10px; }
.notepad-counts, .notepad-file-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.notepad-counts { color: #63768a; font-size: 11px; }
.notepad-counts span + span { padding-left: 8px; border-left: 1px solid #d5e1eb; }
.notepad-file-actions .btn { min-height: 35px; padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 750; }

@media (max-width: 991.98px) {
    .web-utility-workspace { grid-template-columns: 1fr; }
    .wu-network-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .web-utility-page { padding: 20px 0 46px; }
    .web-utility-card { padding: 20px 14px; border-radius: 15px; }
    .web-utility-intro h1 { font-size: 28px; }
    .web-utility-intro p { font-size: 14px; }
    .web-utility-panel, .web-utility-result-card, .web-utility-network-workspace { padding: 16px 13px; border-radius: 12px; }
    .web-utility-form-grid { grid-template-columns: 1fr; }
    .web-utility-actions .btn { flex: 1 1 100%; }
    .web-utility-network-input { flex-direction: column; }
    .web-utility-network-input .btn { width: 100%; }
    .web-utility-tabs button { min-height: 54px; font-size: 10px; }
    .web-utility-signature-fonts { gap: 7px; }
    .web-utility-signature-fonts button { min-height: 49px; font-size: 15px; }
    .web-utility-signature-canvas-wrap { min-height: 190px; }
    .wu-network-summary { grid-template-columns: 1fr; }
    .wu-score { width: 78px; height: 78px; font-size: 20px; }
    .notepad-topbar { padding: 11px; align-items: stretch; flex-direction: column; }
    .notepad-save-status { align-self: flex-end; }
    .notepad-toolbar { padding: 8px; gap: 5px; }
    .notepad-toolbar-group { flex: 1 1 auto; }
    .notepad-toolbar-group-actions { margin-left: 0; }
    .notepad-special-panel { left: auto; right: 0; }
    .notepad-toolbar-group button, .notepad-toolbar-group select { flex: 1 1 auto; }
    .notepad-toolbar-group-actions button { justify-content: center; }
    .notepad-find-panel { padding: 9px; }
    .notepad-find-panel .form-control { width: calc(50% - 4px); }
    .notepad-editor-shell { height: 56vh; min-height: 310px; }
    .notepad-editor { padding: 14px; font-size: 14px; }
    .notepad-footer { align-items: flex-start; flex-direction: column; }
    .notepad-file-actions { width: 100%; }
    .notepad-file-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 400px) {
    .web-utility-card { padding-inline: 10px; }
    .notepad-toolbar-group-actions span { display: none; }
    .notepad-toolbar-group button, .notepad-toolbar-group select, .notepad-toolbar-group input { min-width: 31px; padding-inline: 7px; }
    .notepad-find-panel .form-control { width: 100%; }
}

@media print {
    body * { visibility: hidden !important; }
    .web-utility-notepad, .web-utility-notepad * { visibility: visible !important; }
    .web-utility-notepad { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 0; background: #fff; }
    .notepad-topbar { padding: 0 0 18px; border: 0; background: #fff; }
    .notepad-title-control .form-control { min-height: 0; padding: 0; border: 0; color: #111; background: transparent; font-size: 22px; font-weight: 800; }
    .notepad-save-status, .notepad-toolbar, .notepad-find-panel, .notepad-lines, .notepad-footer { display: none !important; }
    .notepad-editor-shell { display: block; height: auto; min-height: 0; overflow: visible; }
    .notepad-editor { padding: 0; overflow: visible; color: #111; font-size: 12pt; line-height: 1.55; }
    .web-utility-notepad.is-code-mode .notepad-editor { color: #111; background: transparent; font-size: 10pt; }
}
