.srch{position:relative;max-width:520px;margin-bottom:16px}
.srch input{width:100%;background:var(--bg2);border:1.5px solid transparent;border-radius:var(--r-pill);
 padding:14px 18px 14px 46px;font-size:16px;outline:none;letter-spacing:-.01em}
.srch input:focus{border-color:var(--ink);background:#fff;box-shadow:var(--sh)}
.srch .pfx{position:absolute;left:18px;top:50%;transform:translateY(-50%);font-size:16px;color:var(--tx3)}
.cats{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 14px;margin-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cats::-webkit-scrollbar{display:none}
.cat{padding:10px 18px;background:#fff;border:1.5px solid var(--line2);border-radius:var(--r-pill);
 font-size:14px;font-weight:600;color:var(--tx2);white-space:nowrap;flex:none;transition:.15s;min-height:42px}
.cat:hover{border-color:var(--ink);color:var(--ink)}
.cat.on{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:700}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;padding-bottom:56px}
.tool{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px;text-align:left;
 position:relative;display:flex;flex-direction:column;gap:8px;min-height:150px;transition:.2s cubic-bezier(.2,.7,.2,1);width:100%}
.tool:hover{border-color:var(--accent);box-shadow:0 14px 30px rgba(0,113,227,.12);transform:translateY(-3px)}
.tool .ico{width:46px;height:46px;border-radius:var(--r-sm);background:var(--bg2);display:grid;place-items:center;font-size:21px;flex:none;color:var(--tx2);transition:.2s cubic-bezier(.2,.7,.2,1)}
.tool:hover .ico{background:var(--ink);color:#fff}
/* category colour-coding — scannable at a glance, iLovePDF-style */
.tool[data-cat="Organise"] .ico{background:#E8F0FE;color:#1A56DB}
.tool[data-cat="Optimise"] .ico{background:#FEF3E8;color:#C2660D}
.tool[data-cat="Convert"] .ico{background:#EAF7EC;color:#1E8E3E}
.tool[data-cat="Images"] .ico{background:#F5E9FB;color:#8B2FC9}
.tool[data-cat="Edit"] .ico{background:#FEEAF0;color:#D6206C}
.tool[data-cat="Security"] .ico{background:#E9F3FE;color:#0B6FD1}
.tool[data-cat="Developer"] .ico{background:#F0F0F0;color:#3D3D3D}
.tool[data-cat="Student"] .ico{background:#FEF8E4;color:#A8730A}
.tool:hover .ico{background:var(--ink)!important;color:#fff!important}
.tool h3{font-family:var(--fd);font-size:16.5px;font-weight:700;letter-spacing:0}
.tool p{margin:0;font-size:13px;color:var(--tx2);line-height:1.5}
/* catalog code: e.g. ORG-01 — generated per-tool in app.js from its category,
   so the number encodes real grouping, not a decorative sequence */
.tool .code{font-family:var(--fm);font-size:10px;font-weight:600;letter-spacing:.03em;color:var(--tx3)}
.offline-badge{display:inline-flex;align-items:center;gap:3px;margin-left:8px;font-family:var(--fm);font-size:9.5px;font-weight:600;letter-spacing:.02em;color:var(--ok,#1a8f4c)}
.offline-badge svg{flex:none}
.tool:hover .code{color:var(--accent)}
.tool .tag{position:absolute;top:14px;right:14px;font-family:var(--fm);font-size:9.5px;font-weight:600;padding:4px 8px;border-radius:var(--r-sm);letter-spacing:.03em}
.tag.soon{background:var(--bg3);color:var(--tx2)}
.tag.star{background:var(--accent);color:#fff}
.tag.new{background:#fff;border:1.5px solid var(--ink);color:var(--ink)}
.ws{position:fixed;inset:0;z-index:90;background:var(--bg);display:none;overflow-y:auto;-webkit-overflow-scrolling:touch}
.ws.open{display:block}
.ws-top{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:5}
.ws-top-in{display:flex;align-items:center;gap:14px;height:64px}
.ws-title{flex:1;min-width:0}
.ws-title h2{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-title p{margin:1px 0 0;font-size:13px;color:var(--tx2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-body{padding:24px 0 120px}
.icon-btn{width:44px;height:44px;border-radius:var(--r-sm);background:var(--bg2);display:grid;place-items:center;font-size:17px;flex:none}
.icon-btn:hover{background:var(--bg3)}
.steps{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.step{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--tx3);background:var(--bg2);padding:8px 15px;border-radius:var(--r-pill)}
.step .n{width:20px;height:20px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;flex:none}
.step.on{background:var(--ink);color:#fff}.step.on .n{background:rgba(255,255,255,.2);color:#fff}
.step.done{background:var(--bg3);color:var(--tx2)}
.hint{background:var(--bg2);border-radius:var(--r);padding:16px 18px;font-size:14.5px;line-height:1.6;margin-bottom:18px;display:flex;gap:12px;color:var(--tx2)}
.hint .q{font-size:17px;flex:none}
.drop{border:2px dashed var(--line2);border-radius:var(--r);padding:48px 22px;text-align:center;background:var(--bg2);cursor:pointer;transition:.18s}
.drop:hover,.drop.over{border-color:var(--ink);background:#fff;box-shadow:var(--sh-lg)}
.drop .big{font-size:40px;margin-bottom:10px}
.drop h3{font-size:18px;margin-bottom:6px}
.drop p{margin:0;color:var(--tx2);font-size:14px}
.files{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.file{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:13px 15px}
.file .fi{width:40px;height:40px;border-radius:var(--r-sm);background:var(--bg2);display:grid;place-items:center;font-size:17px;flex:none}
.file .fb{flex:1;min-width:0}
.file .fb b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file .fb span{font-size:12.5px;color:var(--tx3)}
.file .mv{width:36px;height:36px;border-radius:var(--r-sm);background:var(--bg2);display:grid;place-items:center;font-size:12px;flex:none;color:var(--tx2)}
.file .mv:hover{background:var(--ink);color:#fff}
.file-img{cursor:grab}
.file-img.dragging{opacity:.4}
.file .fthumb{width:40px;height:40px;border-radius:var(--r-sm);object-fit:cover;flex:none;background:var(--bg2);border:1px solid var(--line)}
.opts{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px}
.opts h4{font-size:16px;margin-bottom:16px}
.fld{margin-bottom:16px}
.fld label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
.fld input,.fld select,.fld textarea{width:100%;background:var(--bg2);border:1.5px solid transparent;border-radius:12px;
 padding:13px;font-size:16px;outline:none;letter-spacing:-.01em}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:var(--ink);background:#fff}
.fld textarea{min-height:130px;resize:vertical}
.fld small{display:block;margin-top:7px;font-size:12.5px;color:var(--tx3);font-weight:400}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{padding:10px 16px;background:var(--bg2);border:1.5px solid transparent;border-radius:var(--r-pill);font-size:13.5px;font-weight:600;color:var(--tx2);min-height:42px}
.chip:hover{border-color:var(--line2);color:var(--ink)}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:700}
.bar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:12px 0;z-index:12;
 box-shadow:0 -4px 24px rgba(2,6,12,.07);padding-bottom:max(12px,env(safe-area-inset-bottom))}
.bar-in{display:flex;align-items:center;gap:12px}
.bar .info{flex:1;font-size:13.5px;color:var(--tx2);min-width:0;font-weight:500}
.prog{height:8px;background:var(--bg3);border-radius:var(--r-pill);overflow:hidden;margin-top:14px}
.prog i{display:block;height:100%;background:var(--ink);width:0;transition:width .25s;border-radius:var(--r-pill)}
.result{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:32px 26px;text-align:center;margin-top:18px;box-shadow:var(--sh-lg)}
.result .big{font-size:44px}
.result h3{font-size:21px;margin:12px 0 7px}
.result p{color:var(--tx2);font-size:14.5px;margin:0 0 20px}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:11px;margin-top:16px}
.thumb{background:#fff;border:1.5px solid var(--line);border-radius:var(--r-sm);padding:8px;text-align:center;position:relative;cursor:pointer}
.thumb canvas,.thumb img{width:100%;border-radius:7px;background:#fff}
.thumb span{display:block;font-size:11.5px;color:var(--tx3);margin-top:6px;font-weight:600}
.thumb.sel{border-color:var(--ink);box-shadow:0 0 0 2px var(--ink)}
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(24px);background:var(--ink);color:#fff;
 padding:14px 22px;border-radius:var(--r-pill);font-size:14px;font-weight:600;z-index:99;
 max-width:calc(100vw - 32px);text-align:center;box-shadow:var(--sh-lg);
 /* Hidden until shown. translateY alone left a sliver of the pill visible above
    the viewport edge - that was the stray dark dot at the foot of the grid. */
 opacity:0;visibility:hidden;pointer-events:none;
 transition:transform .3s,opacity .3s,visibility .3s}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1;visibility:visible}
.sigpad{background:#fff;border:2px dashed var(--line2);border-radius:var(--r);touch-action:none;width:100%;max-width:520px;height:190px;cursor:crosshair}
.sigwrap{display:flex;flex-direction:column;align-items:center;gap:10px}
.cropwrap{position:relative;display:inline-block;max-width:100%}
.cropwrap canvas{max-width:100%;border-radius:12px;border:1px solid var(--line)}
.cropbox{position:absolute;border:2px solid var(--ink);background:rgba(2,6,12,.1);cursor:move;border-radius:4px}
.cropbox i{position:absolute;width:18px;height:18px;background:var(--ink);border-radius:50%;right:-9px;bottom:-9px;cursor:nwse-resize}
.cmp{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.cmp>div{background:var(--bg2);border-radius:var(--r-sm);padding:16px;max-height:440px;overflow:auto;font-size:13.5px;line-height:1.7;text-align:left}
.cmp h5{font-size:11.5px;font-weight:800;letter-spacing:.08em;color:var(--tx3);margin-bottom:10px;text-transform:uppercase}
.df-add{background:var(--ink);color:#fff;border-radius:3px;padding:0 2px}
.df-del{background:var(--bg3);color:var(--tx3);border-radius:3px;padding:0 2px;text-decoration:line-through}
@media(max-width:900px){.cmp{grid-template-columns:1fr}}
@media(max-width:640px){
 .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
 .tool{min-height:130px;padding:15px}
 .tool .ico{width:40px;height:40px;font-size:18px;border-radius:12px}
 .tool h3{font-size:14px}.tool p{font-size:12px}
 .ws-body{padding-bottom:150px}
 .bar-in{flex-wrap:wrap}
 .bar .info{width:100%;order:-1;margin-bottom:4px;font-size:12.5px}
 .bar .btn{flex:1;width:auto}
 .drop{padding:36px 18px}.drop .big{font-size:34px}
 .opts{padding:18px}
 .thumbs{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:9px}
 .toast{bottom:110px}
}
@media(max-width:380px){
 .grid{grid-template-columns:1fr 1fr;gap:9px}
 .tool{min-height:120px;padding:13px}
}

/* ---- sectioned tool listing ---- */
.grid{display:block;padding-bottom:56px}
.tsec{margin-bottom:38px}
.tsec-head{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.tsec-head h2{font-size:17px;font-weight:800;display:flex;align-items:center;gap:9px}
.tsec-n{font-size:11.5px;font-weight:700;background:var(--bg2);color:var(--tx2);
 padding:3px 9px;border-radius:var(--r-pill)}
.tsec-head p{margin:5px 0 0;color:var(--tx2);font-size:13.5px}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.no-res{text-align:center;padding:48px 20px;color:var(--tx2)}
@media(max-width:640px){
 .tgrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
 .tsec{margin-bottom:30px}
 .tsec-head h2{font-size:15.5px}
 .tsec-head p{font-size:12.5px}
}
@media(max-width:380px){.tgrid{grid-template-columns:1fr 1fr;gap:9px}}

/* recently used */
.rec-clear{margin-left:auto;font-size:12px;font-weight:600;color:var(--tx2);
 background:var(--bg2);padding:5px 12px;border-radius:var(--r-pill)}
.rec-clear:hover{background:var(--bg3);color:var(--ink)}
.tsec-head h2{width:100%}
/* larger touch handles on small screens */
@media(pointer:coarse){
  .cropbox i{width:26px;height:26px;right:-13px;bottom:-13px}
  .cropbox{border-width:2.5px}
  .sigpad{height:220px}
}
/* stop the page scrolling while dragging on a canvas */
.cropwrap,.cropwrap canvas,.cropbox,.sigpad{touch-action:none}

/* ---- render performance ----
   Sections below the fold are not laid out or painted until scrolled near.
   contain-intrinsic-size reserves their height so the scrollbar stays stable. */
/* content-visibility/contain removed — they blanked content on mobile Safari */
/* promote only what actually animates, so the compositor does less work */
.tool,.cat,.chip,.btn{will-change:auto}
.tool:hover{will-change:transform}

/* search field with the inline svg icon */
.srch .pfx{display:flex;align-items:center;color:var(--tx3);pointer-events:none}
.srch:focus-within .pfx{color:var(--ink)}
/* tool icons are svg now: give them a clean tile */
.tool .ico{color:var(--ink);background:var(--bg2)}
.tool:hover .ico{background:var(--ink);color:#fff}
.tool .ico svg{display:block}
.hint .q{display:flex;align-items:center;color:var(--ink)}
.icon-btn svg{display:block}

/* ---------- green-blue accents (tools) ---------- */
.tool:hover{border-color:var(--accent)}
.tool:hover .ico{background:var(--accent);color:#fff}
.cat.on,.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.prog>i{background:var(--accent)}
.srch:focus-within{border-color:var(--accent)}
.srch:focus-within .pfx{color:var(--accent)}
.step.on .n{background:var(--accent);color:#fff}

/* =========================================================
   Panels for the Images / Finance / Developer / Writing tools
   (tools-extra.js). Grid + flex only, fluid at every width.
   ========================================================= */
.xres{margin-top:16px}
.xres:empty{margin:0}
.xkv{display:grid;gap:2px;background:var(--bg2);border-radius:var(--r-sm);padding:6px 14px;margin-bottom:14px}
.xkv .kv{padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.xkv .kv:last-child{border-bottom:0}
.xkv .kv b{font-size:15.5px;color:var(--ink)}

.xout{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
 font-size:13px;line-height:1.55;background:var(--bg2);border:1px solid var(--line);
 border-radius:var(--r-sm);padding:12px;resize:vertical;margin-bottom:10px;white-space:pre}
.xerr{background:#fff4f4;border:1px solid #f3c9c9;color:#8a1c1c;
 border-radius:var(--r-sm);padding:12px 14px;font-size:14px;line-height:1.5}

.xtable{border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden;font-size:13.5px}
.xtr{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px 12px;border-bottom:1px solid var(--line)}
.xtr:last-child{border-bottom:0}
.xtr.xth{background:var(--bg2);font-weight:700;font-size:12px;text-transform:uppercase;
 letter-spacing:.05em;color:var(--tx3)}
.xtr code{font-size:12.5px;overflow-wrap:anywhere}

.xbars{display:grid;gap:10px;margin-top:14px}
.xbar{display:grid;grid-template-columns:1fr;gap:4px;font-size:13px}
.xbar span{color:var(--tx2)}
.xbar i{display:block;height:8px;border-radius:999px;background:var(--accent);min-width:2px;
 grid-row:2}
.xbar b{font-size:13px;color:var(--ink)}
@media(min-width:520px){
  .xbar{grid-template-columns:150px 1fr auto;align-items:center;gap:12px}
  .xbar i{grid-row:auto}
}

.xchips{display:flex;flex-wrap:wrap;gap:7px}
.xchips span{background:var(--bg2);border-radius:var(--r-pill);padding:6px 12px;font-size:13px;color:var(--tx2)}
.xchips b{color:var(--ink);margin-left:3px}

.xpal{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.xpal span{width:38px;height:38px;border-radius:9px;border:1px solid var(--line2);flex:none}
.xswatch{width:100%;height:74px;border-radius:var(--r-sm);border:1px solid var(--line2);margin-bottom:12px}
.cpwrap{margin-top:14px;display:flex;justify-content:center}
.cpwrap canvas{max-width:100%;height:auto}

.xitems{display:grid;gap:9px;margin-bottom:8px}
.xitem{display:grid;grid-template-columns:1fr;gap:7px}
.xitem input{width:100%}
@media(min-width:560px){ .xitem{grid-template-columns:1fr 80px 110px} }

.xdiff{margin-top:14px;border:1px solid var(--line);border-radius:var(--r-sm);
 overflow:auto;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px}
.xdiff div{padding:5px 12px;overflow-wrap:anywhere}
.xdel{background:#fff2f2;color:#8a1c1c}
.xadd{background:#f0fbf3;color:#14532d}

.xmd{border:1px solid var(--line);border-radius:var(--r-sm);padding:16px 18px;
 background:#fff;max-height:420px;overflow:auto}
.xmd h1{font-size:24px;margin:.5em 0 .3em}
.xmd h2{font-size:20px;margin:.6em 0 .3em}
.xmd h3{font-size:17px;margin:.6em 0 .3em}
.xmd p{margin:.6em 0}
.xmd ul{padding-left:1.3em;margin:.6em 0}
.xmd li{margin:.25em 0}
.xmd blockquote{border-left:3px solid var(--line2);margin:.6em 0;padding:.2em 1em;color:var(--tx2)}
.xmd pre{background:var(--bg2);padding:12px;border-radius:8px;overflow:auto;font-size:13px}
.xmd code{background:var(--bg2);padding:.12em .35em;border-radius:4px;font-size:13px}
.xmd a{color:var(--accent);text-decoration:underline}
.xmd hr{border:0;border-top:1px solid var(--line);margin:1em 0}
.xmd img{max-width:100%}

input[type=range]{width:100%;accent-color:var(--accent)}

/* invoice / receipt / quotation extras */
.xactions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 8px}
.xactions .btn{flex:1 1 150px}
.xlogo{max-height:64px;max-width:180px;margin-top:10px;border:1px solid var(--line);
 border-radius:8px;padding:6px;background:#fff;display:block}
#x_logo{padding:10px;background:var(--bg2);border:1px dashed var(--line2);border-radius:var(--r-sm)}
.opts h4{margin-top:0}
.opts h4+.fld{margin-top:10px}

/* ---- page selection bar (Delete / Extract pages) ------------------- */
/* Uses the site's own --accent / --ink variables. An earlier draft of this
   block referenced var(--brand), which this stylesheet never defines, so the
   tick badge was rendering with no background at all. */
.selbar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 8px}
.selbar .chip{padding:5px 11px;font-size:12.5px}
.selinfo{margin-top:6px;display:flex;flex-direction:column;gap:6px}
.selinfo .note{font-size:13px;color:var(--tx2);line-height:1.5}
.selinfo .note b{color:var(--tx)}
.selinfo .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}
.selinfo .warn{font-size:12.5px;line-height:1.45;padding:7px 10px;border-radius:9px;
  background:rgba(245,158,11,.12);color:#92400e}
.selinfo .warn.bad{background:rgba(239,68,68,.12);color:#b91c1c}
.thumb{transition:transform .14s ease,box-shadow .14s ease}
.thumb:hover{transform:translateY(-2px);box-shadow:var(--sh)}
.thumb.sel::after{content:'\2713';position:absolute;top:6px;right:6px;width:20px;height:20px;
  border-radius:50%;background:var(--accent);color:#fff;font-size:12px;line-height:20px;
  text-align:center;font-weight:700;box-shadow:0 1px 4px rgba(10,37,64,.3)}

/* ---- result screen: the save step -----------------------------------
   app.js uses .btn-primary and .btn-ghost, but neither class was ever
   defined in style.v4.css or here — so the main Save button after every
   tool run rendered as a bare, unstyled button. Defining them here fixes
   that everywhere they are used. */
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:var(--ink2);transform:translateY(-1px);box-shadow:var(--sh-lg)}
.btn-ghost{background:transparent;color:var(--tx2);border:1.5px solid var(--line2)}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink);background:var(--bg2)}

/* Saving is the only thing left to do on this screen, so it gets the weight.
   One primary action, then the destinations as equal tiles in a single row —
   pills of different widths wrapped badly and made the panel look unfinished. */
.savebox{max-width:430px;margin:4px auto 0;padding:20px 20px 16px;text-align:center;
  background:var(--bg2);border:1px solid var(--line);border-radius:var(--r)}
.savebox .savemain{width:100%;background:var(--accent);color:#fff;font-size:16.5px;
  min-height:56px;border-radius:var(--r-sm);gap:9px;letter-spacing:0;
  box-shadow:0 4px 14px rgba(0,113,227,.22)}
.savebox .savemain:hover{background:var(--accent2);transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(0,113,227,.32)}
.savebox .savemain:active{transform:translateY(0)}

.savebox .dests{display:grid;gap:8px;margin-top:10px;
  grid-template-columns:repeat(3,minmax(0,1fr))}
.savebox .dests[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.savebox .dests[data-n="1"]{grid-template-columns:minmax(0,1fr)}

.savebox .dest{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;padding:12px 6px 11px;min-height:76px;border-radius:var(--r-sm);
  background:#fff;border:1px solid var(--line);color:var(--tx2);
  font-size:12.5px;font-weight:600;line-height:1.25;cursor:pointer;
  transition:border-color .15s,color .15s,transform .15s,box-shadow .15s}
.savebox .dest:hover{border-color:var(--accent);color:var(--accent);
  transform:translateY(-2px);box-shadow:var(--sh)}
.savebox .dest:active{transform:translateY(0)}
.savebox .dest .dico{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--r-sm);
  background:var(--bg2);color:var(--ink);transition:background .15s,color .15s}
.savebox .dest:hover .dico{background:#f0e2e7;color:var(--accent)}
.savebox .dest .dico svg{width:19px;height:19px}
.savebox .dest .dlbl{display:block}

.savebox .savenote{margin:12px 2px 0;font-size:12.5px;color:var(--tx3);line-height:1.5}
.savebox .savenote a{color:var(--accent);font-weight:600;text-decoration:underline}

@media (max-width:420px){
  .savebox{padding:16px 14px 13px}
  .savebox .dest{min-height:70px;font-size:11.5px;padding:10px 4px}
  .savebox .dest .dico{width:30px;height:30px}
}
