/* ═══════════════════════════════════════════════════════════
   PatrolWizzard V6 — Reset
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-size: 14px; }

body {
    font-family: var(--font-sans);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

hr { height: 0; border: 0; border-top: 1px solid var(--border-light); }
abbr[title] { text-decoration: underline dotted; }
b, strong { font-weight: 600; }
code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.9em; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }

table { border-collapse: collapse; border-spacing: 0; text-indent: 0; }

button, input, optgroup, select, textarea {
    font-family: inherit; font-size: 100%; line-height: inherit;
    color: inherit; margin: 0; padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] {
    -webkit-appearance: button; cursor: pointer;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

[hidden] { display: none !important; }

::placeholder { color: var(--text-muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Selection */
::selection { background: var(--pw-primary-100); color: var(--pw-primary-dark); }

/* Animations */
@keyframes pw-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pw-slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pw-slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pw-scale-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pw-spin { to { transform: rotate(360deg); } }
@keyframes pw-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
