:root{--ink:#171923;--muted:#565c6a;--accent:#d83546;--line:#e8e7eb;--paper:#f9f8fb;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}:focus-visible{outline:3px solid #a334bf;outline-offset:4px}header{background:#fff;border-bottom:1px solid var(--line)}.bar,.section,footer>div{max-width:1270px;margin:auto;padding:0 32px}.bar{height:72px;display:flex;align-items:center;gap:52px}.brand{font-weight:850;font-size:23px;letter-spacing:-1px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.brand span:first-child{display:grid;place-items:center;color:white;background:var(--accent);border-radius:9px;width:31px;height:34px;font-size:20px}.brand .brand-dot{color:var(--accent);margin-left:-7px}.bar nav{display:flex;gap:24px;font-size:14px;font-weight:650}.bar nav a:hover,.back:hover{color:var(--accent)}.hero{position:relative;overflow:hidden;border-bottom:1px solid #f0e1e5;background:linear-gradient(115deg,#fff8f7,#fff0f0 65%,#f9e3eb)}.hero-inner{max-width:1270px;margin:auto;padding:58px 32px 62px;position:relative;z-index:1}.hero h1,.work h1{font-size:clamp(46px,6vw,78px);line-height:1;letter-spacing:-.065em;margin:0}.hero em{color:var(--accent);font-style:normal}.intro{color:var(--muted);font-size:17px;line-height:1.55;max-width:440px;margin:19px 0 25px}.search{width:min(100%,420px);background:white;display:flex;align-items:center;padding:0 13px;gap:10px;border:1px solid #efd6db;border-radius:10px;height:50px;box-shadow:0 5px 15px #84213c0c}.search span{font-size:26px;color:var(--accent);line-height:1}.search input{flex:1;min-width:0;border:0;background:transparent;outline:none}.search:focus-within{outline:2px solid var(--accent)}kbd{color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 6px}.art{position:absolute;top:50%;right:max(10%,calc((100% - 900px)/2));width:240px;height:250px;transform:translateY(-50%);color:var(--accent)}.art i,.art b{position:absolute;display:grid;place-items:center;inset:16px 48px 16px 26px;background:#fff;border:1px solid #f0aaba;border-radius:18px;box-shadow:0 20px 36px #b62a4b16;transform:rotate(-12deg);font-size:46px;letter-spacing:-.09em}.art i{background:#fcd9df;transform:rotate(13deg) translate(29px,-3px)}.art span{position:absolute;right:0;top:27px;font-size:32px}.art span:first-child{right:auto;left:-25px;top:190px}.section{padding-top:34px;padding-bottom:52px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section h2{font-size:27px;letter-spacing:-.04em;margin:0}.section-head span,small,#empty{color:var(--muted);font-size:14px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 20px}.filters button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:24px;padding:8px 13px;font-weight:650;font-size:13px;cursor:pointer}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.card{position:relative;display:block;padding:17px;min-height:147px;background:#fff;border:1px solid var(--line);border-radius:12px;transition:transform .15s,border-color .15s,box-shadow .15s}.card:hover{transform:translateY(-3px);border-color:#e6a9b5;box-shadow:0 6px 20px #2920360c}.icon{display:inline-grid;place-items:center;width:41px;height:41px;border-radius:10px;color:var(--tone);background:color-mix(in srgb,var(--tone) 11%,white);font-weight:800;font-size:21px}.card h3{font-size:16px;margin:11px 0 5px;letter-spacing:-.02em}.card p,.work p{color:var(--muted);font-size:13px;line-height:1.5;margin:0}.arrow{position:absolute;right:16px;top:19px;color:#766e7b}.back{font-size:14px;font-weight:700}.work{max-width:680px;margin:28px auto 0;padding:32px;background:white;border:1px solid var(--line);border-radius:20px;text-align:center}.work h1{font-size:clamp(34px,6vw,58px);margin:12px 0}.work p{font-size:15px}.drop{display:grid;position:relative;gap:5px;place-content:center;min-height:118px;margin-top:23px;border:2px dashed #e29aa8;background:#fff6f7;border-radius:12px;color:#ad283d;cursor:pointer}.drop:focus-within,.drop.over{outline:3px solid var(--accent);outline-offset:3px}.drop span{color:var(--muted);font-size:13px}.drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}#queue{list-style:none;padding:0;text-align:left}#queue li{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:8px;margin-top:6px;padding:8px 10px}#queue li span{flex:1;overflow-wrap:anywhere}#queue button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:5px}#options{text-align:left;display:grid;gap:10px;margin:12px auto;max-width:410px}#options label{display:grid;gap:5px;font-size:14px}#options input,#options select{width:100%;padding:9px;border:1px solid var(--line);border-radius:6px}.primary{display:inline-block;padding:13px 23px;border:0;border-radius:8px;background:#c92e40;color:white;font-weight:750;cursor:pointer}.primary:disabled{opacity:.55;cursor:default}#status{margin:14px 0;overflow-wrap:anywhere}footer{border-top:1px solid var(--line);background:white}footer>div{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:14px}@media(max-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.art{right:4%}}@media(max-width:700px){.art,.bar nav>a{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bar,.hero-inner,.section,footer>div{padding-left:18px;padding-right:18px}.hero-inner{padding-top:46px;padding-bottom:44px}.work{padding:22px 15px}}@media(max-width:360px){.grid{grid-template-columns:1fr}}
.bar{position:relative}.bar nav{align-items:center}.tool-menu summary{height:72px;display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;white-space:nowrap}.menu-arrow{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);flex:none}.tool-menu[open] .menu-arrow{transform:translateY(1px) rotate(225deg)}.tool-menu summary::-webkit-details-marker{display:none}.tool-menu summary:hover{color:var(--accent)}.menu-panel{display:grid;position:absolute;z-index:5;top:100%;left:32px;right:32px;gap:22px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 14px 36px #24203b29;max-height:75vh;overflow:auto}.all-tools-menu{grid-template-columns:repeat(4,minmax(0,1fr))}.convert-menu{grid-template-columns:repeat(2,minmax(0,1fr));left:32px;right:auto;width:min(430px,calc(100% - 64px))}.menu-panel h2{margin:0 0 6px;font-size:14px}.menu-panel ul{margin:0;padding:0;list-style:none}.menu-panel li>a,.menu-panel li>.menu-unavailable{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:13px;overflow-wrap:anywhere}.menu-panel .icon{width:24px;height:24px;border-radius:6px;font-size:13px;flex:none}.menu-panel li a:hover{color:var(--accent)}.menu-unavailable,.availability{color:var(--muted)}.availability{display:block;margin-top:7px;font-size:12px;font-weight:650}.card.unavailable:hover{transform:none;border-color:var(--line);box-shadow:none}@media(max-width:700px){.menu-panel{left:18px;right:18px}.all-tools-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}

@media(max-width:700px){.bar{gap:16px;justify-content:space-between}.bar nav{gap:14px;font-size:12px}.tool-menu summary{gap:5px}.brand{font-size:20px}.brand span:first-child{width:26px;height:29px}.convert-menu{width:auto}}
@media(max-width:360px){.bar{gap:9px;padding-inline:12px}.bar nav{gap:9px}.brand{font-size:18px;gap:5px}.brand .brand-dot{margin-left:-4px}}

.icon svg{display:block;width:27px;height:27px}.menu-panel .icon svg{width:19px;height:19px}
.site-footer .footer-inner{padding-block:20px;flex-wrap:wrap;gap:14px 24px}.site-footer nav{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px}.site-footer nav a:hover,.policy-home:hover{color:var(--accent);text-decoration:underline}.policy-home{font-size:14px;font-weight:650;margin-left:auto}.policy{max-width:810px;min-height:calc(100vh - 180px)}.policy h1{margin:0 0 12px;font-size:clamp(34px,6vw,54px);letter-spacing:-.045em}.policy h2{margin:27px 0 6px;font-size:21px;letter-spacing:-.025em}.policy p{line-height:1.65;margin:8px 0 14px}.policy p a{text-decoration:underline;text-underline-offset:3px}.policy-date{color:var(--muted);font-size:14px}@media(max-width:700px){.site-footer .footer-inner{align-items:flex-start;flex-direction:column}}

.drop{cursor:default;place-items:center}.drop input[hidden]{display:none}.file-picker{display:flex;position:relative;color:white;background:#245fe8;border-radius:10px;isolation:isolate}.file-picker button,.file-picker summary{border:0;font:inherit;color:inherit;cursor:pointer;background:none}.file-picker #choose-device{padding:.86rem 1.35rem;font-weight:750}.file-picker summary{display:grid;place-items:center;height:100%;padding:0 1rem;border-left:1px solid #ffffff50;list-style:none}.file-picker summary::-webkit-details-marker{display:none}.file-picker button:hover,.file-picker summary:hover{background:#ffffff1e}.file-sources{position:absolute;z-index:8;top:100%;left:0;min-width:max(100%,224px);background:#3267dd;border-radius:0 0 9px 9px;box-shadow:0 10px 26px #18213c40;text-align:left;overflow:hidden}.file-sources button{width:100%;display:flex;align-items:center;gap:.8rem;text-align:left;padding:.8rem 1rem;border-bottom:1px solid #ffffff35;white-space:nowrap}.drop .file-sources span{color:inherit;width:1.15rem;text-align:center}.source-panel{text-align:left;margin:12px 0;border:1px solid var(--line);padding:12px;border-radius:9px}.source-entry{display:flex;gap:8px}.source-entry input,.contact-form input,.contact-form textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}.source-entry button,.contact-form button{border:0;background:#245fe8;color:white;border-radius:8px;padding:8px 14px;cursor:pointer;font:inherit}.source-panel p{margin:.35rem 0;font-size:.85rem}.contact-form{max-width:560px;display:grid;gap:8px}.contact-form button{justify-self:start}.contact-message{margin:12px 0}.contact-form .quiet-field{position:absolute;left:-10000px}

.visual-editor{background:#e9edf4;color:#182236;min-height:90vh}.ed-bar{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #d4dce8;padding:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ed-bar button,.ed-bar select,.ed-bar a,.ed-props button,.ed-props select,.ed-props input,.ed-props textarea{border:1px solid #cdd6e3;background:white;color:#182236;border-radius:7px;padding:7px 9px;font:inherit}.ed-bar button,.ed-props button{cursor:pointer}.ed-bar button[aria-pressed=true]{background:#e7efff;border-color:#789cf9;color:#1744aa}.ed-bar .ed-export{margin-left:auto;background:#2259d8;color:white;border-color:#2259d8}.ed-status{margin:0 auto;padding:8px 12px;max-width:900px;font-size:14px}.ed-props{max-width:900px;margin:0 auto 10px;padding:10px;background:white;border-radius:9px;display:flex;gap:8px;align-items:end;flex-wrap:wrap}.ed-props[hidden]{display:none}.ed-props label{display:grid;gap:4px;font-size:13px}.ed-props .ed-value{flex:1 1 230px}.ed-props textarea{min-height:40px;resize:vertical}.ed-props input[type=number]{width:74px}.ed-pages{display:grid;justify-items:center;gap:22px;padding:10px 12px 55px}.ed-sheet{width:100%;max-width:850px}.ed-sheet>span{display:block;text-align:center;font-size:13px;margin-bottom:7px}.ed-paper{position:relative;background:white;box-shadow:0 4px 16px #14213d30;isolation:isolate}.ed-paper canvas,.ed-layer{position:absolute;inset:0;width:100%;height:100%}.ed-layer{cursor:crosshair}.ed-item,.ed-text-hit{position:absolute;margin:0;padding:0;border:0;background:none}.ed-text-hit{cursor:text}.ed-text-hit:hover,.ed-text-hit:focus-visible{outline:1px solid #3974e4;background:#d9e7ff38}.ed-item{border:1px dashed #1d58cd;box-sizing:border-box;cursor:move;touch-action:none;overflow:visible}.ed-item.active{outline:2px solid #1c55d0}.ed-item img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.ed-item .ed-preview{display:block;white-space:pre-wrap;overflow:hidden;width:100%;height:100%;line-height:1.13;pointer-events:none}.ed-item .ed-handle{position:absolute;bottom:-5px;right:-5px;border:1px solid white;width:13px;height:13px;border-radius:3px;background:#1756cc;cursor:nwse-resize;touch-action:none}.ed-item .ed-handle[hidden]{display:none}.ed-item.ed-rect{border:2px solid}.ed-item.ed-ellipse{border:2px solid;border-radius:50%}.ed-item.ed-link{background:#2168ef20}.ed-page-jump{width:75px}@media(max-width:680px){.ed-bar{font-size:13px}.ed-props{margin:0 10px 10px}.ed-bar .ed-export{margin-left:0}}

@media (max-width: 760px) {
  .bar { height: auto; min-height: 64px; gap: 8px; padding-inline: 14px; }
  .bar nav { gap: 8px; min-width: 0; }
  .bar nav > a { display: none; }
  .tool-menu summary { min-height: 44px; height: auto; padding-inline: 5px; }
  .menu-panel, .convert-menu {
    left: 10px; right: 10px; width: auto; padding: 12px;
    gap: 14px; max-height: 68vh; max-height: 68dvh; overscroll-behavior: contain;
  }
  .menu-panel li > a, .menu-panel li > .menu-unavailable {
    min-height: 44px; padding: 6px 3px; font-size: 14px;
  }
  .menu-panel h2 { margin-bottom: 2px; }
  .menu-panel section { min-width: 0; }
  .hero-inner { padding: 31px 16px 27px; }
  .hero h1 { font-size: clamp(32px, 7.8vw, 49px); line-height: 1.06; }
  .hero .intro { font-size: 15px; margin: 13px 0 17px; }
  .search { height: 46px; }
  .search kbd { display: none; }
  .search input, #options input, #options select, .source-entry input,
  .contact-form input, .contact-form textarea, .ed-props input,
  .ed-props textarea, .ed-props select { font-size: 16px; }
  .section { padding: 22px 14px 36px; }
  .section h2 { font-size: 24px; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto; padding: 4px 3px 7px;
    margin: 12px -3px; scrollbar-width: thin;
  }
  .filters button { flex: none; min-height: 44px; white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card { min-height: 0; padding: 12px; }
  .card h3 { overflow-wrap: anywhere; }
  .card .arrow { top: 13px; right: 12px; }
  .card .icon { width: 36px; height: 36px; }
  .card .icon svg { width: 24px; height: 24px; }
  .work { padding: 19px 12px; margin-top: 16px; border-radius: 14px; }
  .work h1 { font-size: clamp(32px, 8vw, 45px); overflow-wrap: anywhere; }
  .drop { margin-top: 18px; min-height: 106px; }
  .drop > span { display: none; }
  .file-picker summary { min-width: 48px; min-height: 48px; }
  .file-sources { width: min(224px, calc(100vw - 80px)); min-width: 0; left: 50%; transform: translateX(-50%); }
  .file-sources button { min-height: 46px; white-space: normal; }
  .source-entry { flex-wrap: wrap; }
  .source-entry button, .contact-form button, .primary { min-height: 44px; }
  #queue li span { min-width: 0; }
  #queue button { flex: none; min-width: 44px; min-height: 44px; }
  .site-footer nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .site-footer nav { gap: 0 14px; }
  footer > button { margin: 0 14px 14px; min-height: 36px; }
  .ed-bar { position: static; padding: 8px; gap: 5px; }
  .ed-bar button, .ed-bar select, .ed-bar a, .ed-props button { min-height: 42px; }
  .ed-bar a { display: inline-flex; align-items: center; }
  .ed-props label { min-width: 0; }
  .ed-props textarea { width: 100%; }
}
@media (max-width: 420px) {
  .bar { flex-wrap: wrap; padding-top: 9px; gap: 3px; }
  .bar nav { flex-basis: 100%; gap: 8px; }
  .bar nav .tool-menu { flex: 1; }
  .tool-menu summary { justify-content: center; border-radius: 7px; }
  .tool-menu[open] summary { background: #fff1f3; }
  .all-tools-menu { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
  .convert-menu { grid-template-columns: 1fr; }
}

@media (min-width: 761px) { .tool-menu:has(> .convert-menu) { position: relative; } .tool-menu > .convert-menu { left: auto; right: 0; width: 430px; } }
