/* ==========================================================================
   Mabuy's Kit: design system
   Light + dark themes, bento-flavoured cards, zero external dependencies.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg:            #f6f7fb;
  --bg-blur:       rgba(246, 247, 251, .78);
  --surface:       #ffffff;
  --surface-2:     #fbfbfe;
  --surface-3:     #f1f2f8;
  --text:          #101223;
  --text-2:        #4c5270;
  --text-3:        #838aa8;
  --border:        #e4e6f0;
  --border-2:      #d3d6e6;
  --shadow-sm:     0 1px 2px rgba(16, 18, 35, .05);
  --shadow:        0 2px 4px rgba(16, 18, 35, .04), 0 12px 24px -12px rgba(16, 18, 35, .12);
  --shadow-lg:     0 24px 60px -24px rgba(16, 18, 35, .28), 0 4px 12px rgba(16, 18, 35, .05);

  --brand:         #5b5bd6;
  --brand-2:       #8b5cf6;
  --brand-3:       #06b6d4;
  --brand-soft:    #eeecfe;
  --brand-ink:     #4338ca;
  --accent:        #12b981;
  --accent-soft:   #e6f8f1;
  --warn:          #f59e0b;
  --warn-soft:     #fef4e2;
  --danger:        #e4573d;
  --danger-soft:   #fdecea;
  --grad:          linear-gradient(135deg, #5b5bd6 0%, #8b5cf6 55%, #06b6d4 130%);
  --grad-soft:     linear-gradient(135deg, #eeecfe 0%, #f3ecfe 50%, #e6f7fb 100%);

  --r-xs: 8px;  --r-sm: 12px;  --r: 16px;  --r-lg: 22px;  --r-xl: 30px;  --r-pill: 999px;
  --pad: 24px;
  --maxw: 1220px;
  --header-h: 66px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  --bg:            #080a13;
  --bg-blur:       rgba(8, 10, 19, .76);
  --surface:       #111424;
  --surface-2:     #151931;
  --surface-3:     #1b1f3a;
  --text:          #eceefb;
  --text-2:        #a8aecb;
  --text-3:        #7b81a3;
  --border:        #232948;
  --border-2:      #323a63;
  --shadow-sm:     0 1px 2px rgba(0, 0, 0, .4);
  --shadow:        0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -20px rgba(0, 0, 0, .7);
  --shadow-lg:     0 30px 70px -30px rgba(0, 0, 0, .8), 0 4px 14px rgba(0, 0, 0, .4);
  --brand:         #8b8bfa;
  --brand-2:       #a98bfa;
  --brand-soft:    #1e1f45;
  --brand-ink:     #c7c4ff;
  --accent:        #34d399;
  --accent-soft:   #10291f;
  --warn-soft:     #2c2210;
  --danger-soft:   #33150f;
  --grad-soft:     linear-gradient(135deg, #171a35 0%, #1a1633 50%, #0f2430 100%);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
/* inline icons carry a viewBox but no width/height, so without a default they
   stretch to the container width. Component rules further down override this. */
svg { width: 1.15em; height: 1.15em; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--text-3); background-clip: content-box; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.wrap-wide { max-width: 1500px; }
.section { padding-block: 72px; }
.section-sm { padding-block: 44px; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.grow { flex: 1 1 auto; min-width: 0; }
.hide { display: none !important; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); }
h3 { font-size: 1.18rem; }
.lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--text-2); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.tiny { font-size: .8rem; }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); font-size: .86em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-ink);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  background: var(--bg-blur);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.stuck { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(16,18,35,.4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; color: var(--text); text-decoration: none !important; }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px var(--brand); flex: none; }
.logo-mark svg { width: 19px; height: 19px; }
.breadcrumb svg { width: 14px; height: 14px; color: var(--text-3); }
.eyebrow svg { width: 15px; height: 15px; }
.logo-badge { font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand-ink); padding: 3px 6px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav a { color: var(--text-2); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: var(--r-xs); }
.nav a:hover { color: var(--text); background: var(--surface-3); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.searchbtn {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 12px; min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  color: var(--text-3); font-size: .9rem; box-shadow: var(--shadow-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.searchbtn:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.searchbtn svg { width: 16px; height: 16px; flex: none; }
.searchbtn .kbd { margin-left: auto; }

.kbd {
  font-family: var(--font); font-size: .7rem; font-weight: 600; color: var(--text-2);
  background: var(--surface-3); border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 6px; padding: 2px 6px; white-space: nowrap;
}
.iconbtn {
  width: 38px; height: 38px; border-radius: var(--r-pill); display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  transition: all .18s var(--ease); flex: none;
}
.iconbtn:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.iconbtn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-size: .94rem; font-weight: 600; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), opacity .16s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--border-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { --btn-bg: var(--grad); --btn-fg: #fff; --btn-bd: transparent; box-shadow: 0 10px 24px -12px var(--brand); background-size: 160% 160%; }
.btn-primary:hover { box-shadow: 0 16px 34px -14px var(--brand); background-position: 60% 50%; }
.btn-dark { --btn-bg: var(--text); --btn-fg: var(--bg); --btn-bd: transparent; }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--text-2); }
.btn-ghost:hover { --btn-fg: var(--text); box-shadow: none; background: var(--surface-3); }
.btn-soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-ink); --btn-bd: transparent; }
.btn-danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); --btn-bd: transparent; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { padding: 7px 13px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .48; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600;
  background: var(--surface-3); color: var(--text-2); border: 1px solid transparent; white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge-brand { background: var(--brand-soft); color: var(--brand-ink); }
.badge-ok { background: var(--accent-soft); color: var(--accent); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-outline { border-color: var(--border); background: transparent; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-pad { padding: var(--pad); }
.card-head { padding: 18px var(--pad); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.card-head h3 { font-size: 1.02rem; }
.card-body { padding: var(--pad); }
.card-foot { padding: 16px var(--pad); border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--r) var(--r); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 92px) 40px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: 0; pointer-events: none;
}
.hero::before { width: 560px; height: 560px; background: radial-gradient(circle, #8b5cf6 0%, transparent 68%); top: -240px; left: -140px; }
.hero::after { width: 520px; height: 520px; background: radial-gradient(circle, #06b6d4 0%, transparent 68%); top: -160px; right: -160px; opacity: .38; }
html[data-theme="dark"] .hero::before { opacity: .3; }
html[data-theme="dark"] .hero::after { opacity: .22; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { max-width: 640px; margin-inline: auto; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

.hero-search { position: relative; max-width: 700px; margin: 30px auto 0; }
.hero-search-inner { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 6px 6px 6px 18px; box-shadow: var(--shadow-lg); }
.hero-search-inner:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-lg); }
.hero-search-inner > svg { width: 20px; height: 20px; color: var(--text-3); flex: none; }
.hero-search input { flex: 1; border: 0; background: none; outline: 0; padding: 14px 0; font-size: 1.05rem; min-width: 0; }
.hero-search input::placeholder { color: var(--text-3); }
.hero-search .btn { border-radius: var(--r); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip { padding: 6px 13px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); font-size: .84rem; font-weight: 500; color: var(--text-2); transition: all .16s var(--ease); }
.chip:hover { color: var(--brand-ink); border-color: var(--brand); background: var(--brand-soft); text-decoration: none; transform: translateY(-1px); }

.statbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 46px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 1.6rem; letter-spacing: -.03em; }
.stat span { font-size: .82rem; color: var(--text-2); }

/* ---------- tool grid ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.tool-card {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  overflow: hidden;
}
.tool-card::after { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .2s var(--ease); z-index: 0; }
.tool-card > * { position: relative; z-index: 1; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); text-decoration: none; }
.tool-card:hover::after { opacity: .55; }
.tool-card:hover .tool-title { color: var(--brand-ink); }
.tool-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand-ink); }
.tool-ico svg { width: 21px; height: 21px; }
.tool-card:nth-child(6n+1) .tool-ico { background: #eeecfe; color: #4338ca; }
.tool-card:nth-child(6n+2) .tool-ico { background: #e8f4fd; color: #0369a1; }
.tool-card:nth-child(6n+3) .tool-ico { background: #fdeef4; color: #be185d; }
.tool-card:nth-child(6n+4) .tool-ico { background: #e9f8f0; color: #047857; }
.tool-card:nth-child(6n+5) .tool-ico { background: #fef3e2; color: #b45309; }
.tool-card:nth-child(6n)   .tool-ico { background: #eef0fb; color: #4338ca; }
html[data-theme="dark"] .tool-ico { background: rgba(139,92,246,.16) !important; color: #c4b5fd !important; }
.tool-title { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.tool-desc { font-size: .84rem; color: var(--text-2); margin-top: 3px; line-height: 1.5; }
.tool-flag { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; }
.cat-block { margin-top: 46px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-head h3 { font-size: 1.22rem; }
.cat-head .count { font-size: .78rem; color: var(--text-3); font-weight: 600; background: var(--surface-3); padding: 3px 9px; border-radius: var(--r-pill); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { color: var(--text-2); max-width: 560px; margin-top: 8px; }

/* category index rail */
.cat-rail { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.cat-rail a { font-size: .85rem; font-weight: 600; color: var(--text-2); padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); }
.cat-rail a:hover { color: var(--brand-ink); border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }

/* ---------- tool page ---------- */
.tool-hero { padding-block: 30px 22px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-3); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-2); }
.tool-hero-main { display: flex; align-items: flex-start; gap: 18px; }
.tool-hero-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px var(--brand); flex: none; }
.tool-hero-ico svg { width: 28px; height: 28px; }
.tool-hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 8px; }
.tool-hero p { color: var(--text-2); max-width: 680px; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 22px; align-items: start; padding-bottom: 60px; }
.work-main { min-width: 0; }
.work-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }

/* dropzone */
.drop {
  position: relative; border: 2px dashed var(--border-2); border-radius: var(--r-lg);
  background: var(--surface); padding: 46px 24px; text-align: center; cursor: pointer;
  transition: all .18s var(--ease);
}
.drop:hover { border-color: var(--brand); background: var(--brand-soft); }
.drop.over { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.005); box-shadow: var(--shadow-lg); }
.drop-ico { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 20px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 32px -16px var(--brand); }
.drop-ico svg { width: 30px; height: 30px; }
.drop h3 { font-size: 1.14rem; margin-bottom: 6px; }
.drop p { color: var(--text-2); font-size: .9rem; }
.drop .btn { margin-top: 18px; }
.drop-hint { margin-top: 12px; font-size: .78rem; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 7px; }
.drop-hint svg { width: 15px; height: 15px; color: var(--accent); }

/* file list */
.filelist { display: grid; gap: 10px; }
.file-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.file-actions.hide { display: none; }
.fileitem { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); }
.fileitem[draggable="true"] { cursor: grab; }
.fileitem.dragging { opacity: .45; }
.fileitem.drop-target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.fileitem .thumb { width: 40px; height: 52px; border-radius: 6px; background: var(--surface-3); border: 1px solid var(--border); object-fit: cover; flex: none; display: grid; place-items: center; overflow: hidden; }
.fileitem .thumb canvas, .fileitem .thumb img { width: 100%; height: 100%; object-fit: cover; }
.fileitem .fi-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.fileitem .fi-ico svg { width: 19px; height: 19px; }
.fileitem .grow { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.fname { font-size: .92rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmeta { font-size: .78rem; color: var(--text-3); flex: none; }
.grip { color: var(--text-3); cursor: grab; display: grid; place-items: center; padding: 4px; }
.grip svg { width: 16px; height: 16px; }
.remove { color: var(--text-3); padding: 6px; border-radius: 8px; }
.remove:hover { color: var(--danger); background: var(--danger-soft); }
.remove svg { width: 16px; height: 16px; }

/* page thumbnails grid (organizer / pickers) */
.pagegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 12px; }
.pagecard { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; transition: all .16s var(--ease); }
.pagecard .canvas-wrap { position: relative; aspect-ratio: 1 / 1.32; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; }
.pagecard canvas { width: 100%; height: 100%; object-fit: contain; transition: transform .2s var(--ease); }
.pagecard .pnum { position: absolute; bottom: 6px; left: 6px; font-size: .7rem; font-weight: 700; background: var(--text); color: var(--bg); padding: 2px 7px; border-radius: var(--r-pill); }
.pagecard .tick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); display: grid; place-items: center; color: transparent; }
.pagecard .tick svg { width: 12px; height: 12px; }
.pagecard.sel .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagecard.sel { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pagecard .page-tools { position: absolute; inset: auto 0 0 0; display: flex; gap: 2px; padding: 6px; justify-content: center; background: linear-gradient(to top, rgba(16,18,35,.85), transparent); opacity: 0; transition: opacity .18s var(--ease); }
.pagecard:hover .page-tools { opacity: 1; }
.pagecard .page-tools button { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.92); color: #101223; display: grid; place-items: center; }
.pagecard .page-tools button:hover { background: #fff; transform: scale(1.06); }
.pagecard .page-tools svg { width: 14px; height: 14px; }
.pagecard.deleted { opacity: .35; }
.pagecard.deleted .canvas-wrap::after { content: "deleted"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(228,87,61,.16); color: var(--danger); font-size: .78rem; font-weight: 700; }
.pagecard[draggable="true"] { cursor: grab; }
.pagecard.dragging { opacity: .4; }
.pagegrid.numbers .pagecard::before { content: attr(data-index); position: absolute; top: 6px; left: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.page-skeleton { aspect-ratio: 1 / 1.32; border-radius: var(--r-sm); background: linear-gradient(100deg, var(--surface-3) 30%, var(--surface-2) 50%, var(--surface-3) 70%); background-size: 220% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { to { background-position: -120% 0; } }

/* toolbar for pickers */
.picker-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 14px; }
.picker-bar .div { width: 1px; height: 22px; background: var(--border); margin-inline: 4px; }
.seg { display: inline-flex; background: var(--surface-3); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg button { padding: 6px 13px; border-radius: var(--r-pill); font-size: .84rem; font-weight: 600; color: var(--text-2); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- options form ---------- */
.opts { display: grid; gap: 18px; }
.opt { display: grid; gap: 7px; }
.opt-label { font-size: .86rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.opt-help { font-size: .78rem; color: var(--text-3); }
.opt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.group-label { font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); padding-top: 6px; border-top: 1px solid var(--border); margin-top: 4px; }
.group-label:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

input[type="text"], input[type="number"], input[type="email"], select, textarea {
  width: 100%; padding: 10px 12px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-xs); font-size: .92rem; outline: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
input[type="text"]:focus, input[type="number"]:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { resize: vertical; min-height: 96px; line-height: 1.6; font-family: var(--mono); font-size: .86rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23838aa8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 15px; padding-right: 32px; }
input[type="color"] { width: 46px; height: 38px; padding: 3px; border: 1px solid var(--border); border-radius: var(--r-xs); background: var(--surface); cursor: pointer; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--border); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 19px; height: 19px; margin-top: -7.5px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.24); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--surface-3); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); }
.range-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.range-val { font-family: var(--mono); font-size: .82rem; min-width: 56px; text-align: right; color: var(--text-2); background: var(--surface-3); border-radius: 6px; padding: 3px 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; }
.check input { appearance: none; width: 20px; height: 20px; flex: none; margin-top: 1px; border: 1.6px solid var(--border-2); border-radius: 6px; background: var(--surface); display: grid; place-items: center; transition: all .14s var(--ease); }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { content: ""; width: 5px; height: 10px; border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg) translate(-1px, -1px); }
.check span small { display: block; color: var(--text-3); font-size: .78rem; }
.swatch-row { display: flex; align-items: center; gap: 10px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border-2); }

/* 3x3 position picker */
.pospick { display: grid; grid-template-columns: repeat(3, 34px); gap: 5px; }
.pospick button { width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-3); position: relative; }
.pospick button::after { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--text-3); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pospick button.on { background: var(--brand-soft); border-color: var(--brand); }
.pospick button.on::after { background: var(--brand); width: 16px; }

/* secondary file input */
.filepick { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--border-2); border-radius: var(--r-sm); background: var(--surface-2); }
.filepick .fp-name { font-size: .86rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filepick img.preview { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--surface-3); }

/* progress */
.progress { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .25s var(--ease); }
.progress-outer { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999; background: transparent; pointer-events: none; }
.progress-outer > i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s var(--ease); box-shadow: 0 0 10px var(--brand); }

/* results */
.result-list { display: grid; gap: 10px; }
.result { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.result .ok { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.result .ok svg { width: 17px; height: 17px; }
.stat-inline { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--text-3); }
.stat-inline b { color: var(--text); font-family: var(--mono); }
.pill-bar { display: flex; flex-wrap: wrap; gap: 8px; }

/* callout */
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border); font-size: .88rem; color: var(--text-2); }
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.callout.warn { background: var(--warn-soft); border-color: transparent; color: var(--text); }
.callout.warn svg { color: var(--warn); }
.callout.ok { background: var(--accent-soft); border-color: transparent; color: var(--text); }
.callout.ok svg { color: var(--accent); }

/* ---------- editor ---------- */
.editor { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: start; }
.editor.full { grid-template-columns: minmax(0, 1fr); }
.ed-toolbar { display: grid; gap: 5px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); position: sticky; top: calc(var(--header-h) + 18px); }
.ed-tool { width: 100%; aspect-ratio: 1; border-radius: 11px; display: grid; place-items: center; color: var(--text-2); border: 1px solid transparent; gap: 2px; padding: 4px; }
.ed-tool span { font-size: .58rem; font-weight: 700; letter-spacing: .01em; }
.ed-tool svg { width: 20px; height: 20px; }
.ed-tool:hover { background: var(--surface-3); color: var(--text); }
.ed-tool.on { background: var(--grad); color: #fff; border-color: transparent; }
.ed-stage { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; overflow: auto; max-height: calc(100vh - 190px); }
.ed-page { position: relative; margin: 0 auto 22px; box-shadow: var(--shadow-lg); background: #fff; }
.ed-page canvas { width: 100%; height: 100%; display: block; }
.ed-layer { position: absolute; inset: 0; }
.ann { position: absolute; cursor: move; }
.ann.sel { outline: 1.5px dashed var(--brand); outline-offset: 2px; }
.ann .handle { position: absolute; width: 11px; height: 11px; background: #fff; border: 2px solid var(--brand); border-radius: 50%; }
.ann .handle.se { right: -6px; bottom: -6px; cursor: nwse-resize; }
.ann .handle.ne { right: -6px; top: -6px; cursor: nesw-resize; }
.ann .del { position: absolute; top: -11px; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--danger); color: #fff; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.ann .rot { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: grab; }
.ann.drawing { pointer-events: none; }
.ed-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 12px; }
.ed-topbar .div { width: 1px; height: 24px; background: var(--border); }
.zoomlabel { font-size: .8rem; font-family: var(--mono); color: var(--text-2); min-width: 46px; text-align: center; }
.text-input-overlay { position: absolute; z-index: 5; min-width: 140px; padding: 4px 6px; border: 1.5px solid var(--brand); border-radius: 6px; background: #fff; color: #101223; font-size: 14px; outline: 0; box-shadow: var(--shadow); }

/* ---------- viewer ---------- */
.viewer-wrap { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; }
.thumbs { display: grid; gap: 10px; max-height: calc(100vh - 190px); overflow-y: auto; padding-right: 4px; }
.thumb-mini { border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; position: relative; }
.thumb-mini.on { border-color: var(--brand); }
.thumb-mini canvas { width: 100%; display: block; }
.thumb-mini i { position: absolute; bottom: 3px; right: 4px; font-size: .62rem; font-style: normal; background: rgba(16,18,35,.72); color: #fff; border-radius: 4px; padding: 0 4px; }
.viewer-stage { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; overflow: auto; max-height: calc(100vh - 190px); display: grid; place-items: start center; }
.viewer-stage canvas { box-shadow: var(--shadow-lg); background: #fff; }
.searchhit { background: rgba(245,158,11,.45); border-radius: 2px; }

/* ---------- sections: trust, faq, reviews ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.trust-card { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.trust-card .ti { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.trust-card .ti svg { width: 25px; height: 25px; }
.trust-card h4 { font-size: 1rem; margin-bottom: 6px; }
.trust-card p { font-size: .84rem; color: var(--text-2); }

.faq { display: grid; gap: 10px; max-width: 840px; margin-inline: auto; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.qa summary { padding: 16px 18px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 12px; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--text-3); line-height: 1; transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .qa-body { padding: 0 18px 18px; color: var(--text-2); font-size: .92rem; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 14px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.review .stars { color: #f5a524; letter-spacing: 2px; font-size: .95rem; }
.review p { font-size: .9rem; color: var(--text-2); }
.review .who { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad); color: #fff; padding: clamp(32px, 5vw, 56px); text-align: center;
  box-shadow: 0 30px 70px -30px var(--brand);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(255,255,255,.28), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 12px auto 24px; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: #4338ca; --btn-bd: transparent; }
.cta-band .btn.ghost { --btn-bg: rgba(255,255,255,.14); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-block: 52px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a { color: var(--text-2); font-size: .89rem; }
.footer-grid a:hover { color: var(--brand-ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: .84rem; color: var(--text-3); }
.footer-brand p { font-size: .88rem; color: var(--text-2); margin-top: 12px; max-width: 320px; }

/* ---------- command palette ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 26, .5); backdrop-filter: blur(6px); display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; animation: fade .16s var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.palette { width: 100%; max-width: 620px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .2s var(--ease); }
@keyframes pop { from { transform: translateY(-10px) scale(.98); opacity: .6 } to { transform: none; opacity: 1 } }
.palette-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.palette-head svg { width: 19px; height: 19px; color: var(--text-3); flex: none; }
.palette-head input { border: 0; background: none; outline: 0; font-size: 1.05rem; flex: 1; min-width: 0; }
.palette-list { max-height: 52vh; overflow-y: auto; padding: 8px; }
.palette-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-xs); cursor: pointer; }
.palette-item .pi-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; flex: none; }
.palette-item .pi-ico svg { width: 17px; height: 17px; }
.palette-item.on { background: var(--brand-soft); }
.palette-item.on .pi-ico { background: var(--brand); color: #fff; }
.palette-item .pi-cat { margin-left: auto; font-size: .74rem; color: var(--text-3); }
.palette-foot { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; gap: 16px; font-size: .76rem; color: var(--text-3); flex-wrap: wrap; }
.palette-empty { padding: 30px; text-align: center; color: var(--text-3); font-size: .9rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 210; background: rgba(10,12,26,.55); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .16s var(--ease); }
.modal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 760px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* signature pad */
.sigpad { border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; touch-action: none; cursor: crosshair; width: 100%; }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 18px; bottom: 18px; z-index: 300; display: grid; gap: 10px; max-width: min(360px, calc(100vw - 36px)); }
.toast { display: flex; gap: 12px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); font-size: .88rem; animation: slidein .22s var(--ease); }
.toast.ok { border-left-color: var(--accent); }
.toast.err { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--warn); }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.toast.ok svg { color: var(--accent); } .toast.err svg { color: var(--danger); } .toast.warn svg { color: var(--warn); }
.toast.warn svg, .toast svg.info { color: var(--brand); }
.toast b { display: block; font-size: .9rem; }
.toast p { color: var(--text-2); font-size: .83rem; }
@keyframes slidein { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }

/* ---------- drop overlay (drag anywhere) ---------- */
.globaldrop { position: fixed; inset: 0; z-index: 400; background: rgba(91,91,214,.14); backdrop-filter: blur(3px); display: grid; place-items: center; pointer-events: none; }
.globaldrop .box { background: var(--surface); border: 2px dashed var(--brand); border-radius: var(--r-lg); padding: 42px 54px; text-align: center; box-shadow: var(--shadow-lg); }

/* ---------- tables ---------- */
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.tbl th, table.tbl td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
table.tbl th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
table.tbl tr:last-child td { border-bottom: 0; }

/* ---------- misc ---------- */
.split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.step { display: flex; gap: 14px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: .86rem; display: grid; place-items: center; flex: none; }
.step h4 { font-size: .96rem; margin-bottom: 3px; }
.step p { font-size: .86rem; color: var(--text-2); }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.dark { border-color: var(--border-2); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
.copy-row { display: flex; align-items: center; gap: 8px; }
.divider { height: 1px; background: var(--border); margin-block: 8px; }
.fade-in { animation: fade .3s var(--ease); }
.zoomable { max-height: 70vh; overflow: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 840px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .searchbtn { min-width: 0; padding: 8px 12px; }
  .searchbtn .sb-text, .searchbtn .kbd { display: none; }
  .editor { grid-template-columns: minmax(0, 1fr); }
  .ed-toolbar { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; position: static; }
  .ed-tool { width: 54px; }
  .viewer-wrap { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 110px; overflow-x: auto; max-height: none; }
}
@media (max-width: 620px) {
  :root { --pad: 18px; }
  .section { padding-block: 52px; }
  .tool-hero-main { gap: 12px; }
  .tool-hero-ico { width: 48px; height: 48px; border-radius: 14px; }
  .tool-hero-ico svg { width: 22px; height: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pagegrid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .toasts { right: 12px; left: 12px; bottom: 12px; }
}

/* mobile nav sheet */
.navsheet { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 59; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 14px 20px 22px; display: grid; gap: 4px; animation: fade .16s var(--ease); }
.navsheet a { padding: 11px 12px; border-radius: var(--r-xs); color: var(--text); font-weight: 600; font-size: .95rem; }
.navsheet a:hover { background: var(--surface-3); text-decoration: none; }

@media print {
  .site-header, .site-footer, .work-side, .ed-toolbar, .picker-bar, .btn, .toasts { display: none !important; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
