:root{--ink:#222724;--muted:#5d635f;--red:#bc382e;--red-h:#a52e26;--line:#dcded8;--white:#fff;--bg:#faf9f7;--radius:16px;--shadow:0 5px 20px #2527180b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #3165ba;outline-offset:3px}button[hidden],[hidden]{display:none!important}
.top{border-bottom:1px solid var(--line);background:#fff}.top-inner,.tool-section,.work,.foot,.privacy-page{width:min(1140px,calc(100% - 72px));margin-inline:auto}.top-inner{min-height:70px;display:flex;align-items:center;gap:44px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.34rem;font-weight:760;letter-spacing:-.065em;white-space:nowrap}.top nav{display:flex;align-items:center;gap:25px}.top nav a,.privacy-link{display:flex;align-items:center;min-height:44px;color:#656b66;text-decoration:none;font-size:.92rem;font-weight:560}.top nav a[aria-current=page],.top nav a:hover,.privacy-link:hover{color:var(--ink)}.nav-tools{display:none}.privacy-link{margin-left:auto;gap:6px;font-size:.84rem;font-weight:450;color:var(--muted)}.privacy-link svg{color:inherit}h1,h2,h3,p{margin-block-start:0}.upload-actions,.button-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.primary,.subtle,.text-button,.control,.feature button:not([class]),.result button{min-height:44px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.94rem;font-weight:620;padding:9px 16px;text-decoration:none}.primary{border:1px solid var(--red);background:var(--red);color:white}.primary:hover{background:var(--red-h)}.subtle,.control,.feature button:not([class]),.result button{border:1px solid var(--line);background:white;color:var(--ink)}.subtle:hover,.control:hover,.feature button:not([class]):hover{border-color:#a9afa7;background:#fafaf7}.text-button{font-weight:560;text-decoration:underline;text-decoration-color:#b6b4ac;text-underline-offset:4px;padding-inline:14px;border-radius:999px}
.text-button:focus-visible{background:#efede8}
@media(hover:hover){.text-button:hover{background:#efede8;text-decoration-color:currentColor}}
.tool-section{padding:30px 0 45px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-top h2{font-size:2.05rem;margin:0;letter-spacing:-.065em;line-height:1.1}.search-box{border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--muted)}.search-box input{border:none;outline:none;background:none;width:166px;min-height:42px;font-size:.95rem}.search-box kbd{display:none}
@media(hover:hover) and (pointer:fine){.search-box kbd{display:grid;place-items:center;width:22px;height:24px;font:inherit;font-size:.78rem;border:1px solid var(--line);border-radius:4px;background:var(--bg)}}
.search-box:focus-within{outline:2px solid #3165ba;outline-offset:1px}.search-box input:focus-visible{outline:none}.category-filter{display:none}.pills{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0 19px}.pills button{display:inline-flex;align-items:center;gap:6px;background:none;border:1px solid transparent;border-radius:22px;min-height:44px;font-size:.9rem;padding:5px 12px;white-space:nowrap;color:var(--muted)}.filter-count{font-size:.75rem;font-variant-numeric:tabular-nums;color:#62665e}.pills [aria-pressed=true] .filter-count{color:#e1e3df}.pills button[aria-pressed=true]{background:var(--ink);color:#fff}.pills button:hover:not([aria-pressed=true]){background:#eeeee9;color:var(--ink)}.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:11px}.tool-tile{background:white;display:flex;align-items:flex-start;gap:11px;padding:17px 13px;text-decoration:none;border:1px solid #dedcd5;border-radius:13px;min-height:110px;transition:border-color .14s,box-shadow .14s,transform .14s}
.tool-tile:focus-visible{border-color:#91978b;box-shadow:0 3px 12px #382e1f12}
@media(hover:hover){.tool-tile:hover{border-color:#aaa99d;box-shadow:0 3px 12px #382e1f12;transform:translateY(-1px)}}.tool-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:#e9eee8;color:#42574a}.tool-icon-accent{stroke:currentColor}.tool-icon.coral{color:#a53d32;background:#fae8e4}.tool-icon.teal{color:#287064;background:#e1f1eb}.tool-icon.blue{color:#3a6391;background:#e6edf8}.tool-icon.violet{color:#70508f;background:#efe9f6}.tool-icon.gold{color:#835c20;background:#f6efdd}.tool-icon.plum{color:#85476c;background:#f3e8f0}.tile-text{display:block;min-width:0}.tile-text b{display:block}.tile-text b{font-size:.99rem;letter-spacing:-.03em;line-height:1.3;margin:1px 0 4px}.tile-text small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--muted);font-size:.82rem;line-height:1.43}.empty-search{padding:15px 0;color:var(--muted)}.foot{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 24px;border-top:1px solid var(--line);padding:18px 0 calc(56px + env(safe-area-inset-bottom,0px));font-size:.83rem;color:var(--muted)}
.foot>span{font-weight:620;color:var(--ink)}.foot nav{display:flex;flex-wrap:wrap;gap:0 18px}.foot a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;text-underline-offset:4px}.foot a:hover,.foot a:focus-visible{text-decoration:underline}
.work{padding-top:20px;padding-bottom:40px;min-height:70vh}.crumb{display:flex;gap:10px;color:var(--muted);font-size:.85rem}.crumb a{color:var(--ink)}.work-title{display:flex;align-items:center;gap:16px;margin:19px 0 22px}.work-title>.tool-icon{width:49px;height:49px;border-radius:14px}.work-title h1{font-size:clamp(2rem,4.5vw,3.2rem);letter-spacing:-.065em;line-height:1.05;margin:0 0 5px}.work-title p{color:var(--muted);margin:0}.switch{margin-left:auto;display:grid;gap:3px;min-width:150px;font-size:.82rem;color:var(--muted)}.work select,.feature input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]),.feature textarea{max-width:100%;border:1px solid #cbd0c8;border-radius:7px;padding:7px 10px;background:white;color:var(--ink);min-height:40px}.work select{min-height:44px;font-size:.95rem}.drop-panel,.feature:not(:empty),.result,.runs{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(16px,2.4vw,28px);box-shadow:var(--shadow)}.drop-panel{text-align:center;border:1.5px dashed #b1bbb0;background:#f5f7f2;padding:37px 14px}.drop-panel.dragover{outline:3px solid #5d7b62;background:#eaf1e7}.upload-symbol{border:1px solid #d5ded0;border-radius:14px;background:#fff;width:53px;height:53px;margin:0 auto 12px;display:grid;place-items:center;color:#54755a}.drop-panel h2{font-size:1.42rem;letter-spacing:-.04em;margin:0 0 4px}.drop-panel p{color:var(--muted);margin-bottom:15px}.upload-actions{justify-content:center;gap:9px}.file-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 0}.file-strip .file-list{flex:1;min-width:150px;display:flex;gap:5px;flex-wrap:wrap}.file-chip{display:inline-flex;gap:7px;align-items:center;color:#354c39;max-width:100%;font-size:.88rem}.file-chip span{overflow-wrap:anywhere}.file-chip strong{font-weight:650}.file-chip .file-total{color:var(--muted)}.workspace-status{margin:10px 0;color:#395a40;font-size:.94rem;min-height:0;overflow-wrap:anywhere}.workspace-status:empty{display:none}.workspace-status.err{color:#a12b25}.feature:not(:empty),.result,.runs{margin-top:15px}.feature{min-width:0}.feature h2,.result h2,.runs h2{font-size:1.35rem;letter-spacing:-.04em;margin-bottom:8px}.feature h3{font-size:1.1rem;letter-spacing:-.025em}.feature canvas,.feature img{max-width:100%}.feature p,.result p{color:var(--muted)}.feature .stack,.stack{display:grid;gap:12px}.feature label.field,.field{display:grid;gap:4px;font-size:.94rem;font-weight:600}.feature .hint,.hint{font-size:.88rem;color:var(--muted);font-weight:400}.feature .output{white-space:pre-wrap;overflow-wrap:anywhere;max-height:290px;overflow:auto}.result{border-color:#c4d9c5;background:#f4f8f0}.result .primary{color:white;background:var(--red);border-color:var(--red)}.result .next{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.result .next span{font-size:.9rem;font-weight:600}.result .next select{max-width:220px}.runs ul{list-style:none;padding:0;margin:0}.runs li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;border-top:1px solid var(--line);padding:8px 0;overflow-wrap:anywhere}.runs li a{white-space:nowrap;min-height:44px}.runs .button-row{gap:8px}.history-file{display:grid;flex:1 1 160px;min-width:0}.history-file b{font-size:.95rem;font-weight:600}.history-file small{color:var(--muted)}
.result .merge-confirmation{display:flex;align-items:center;gap:9px}.merge-confirmation .check-mark{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;background:#dfead9;color:#365c3c}.privacy-page{max-width:720px;padding:42px 0}.privacy-page h1{font-size:clamp(2.3rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.065em;margin:20px 0 30px}.privacy-page h2{font-size:1.3rem;margin:24px 0 5px}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:5px;left:5px;background:white;padding:9px;z-index:10}.feature-list{display:flex;flex-direction:column;gap:7px;list-style:none;padding:0}.feature-list li{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 8px;background:#f6f7f4;border-radius:8px}.feature-list li span{overflow-wrap:anywhere}.feature .page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:9px;max-height:440px;overflow:auto}.page-tile{display:grid;align-content:start;justify-items:center;gap:4px;min-height:74px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:5px}.page-tile[aria-pressed=true]{border:2px solid #547759;background:#f0f6ef}.page-tile canvas{max-height:90px;object-fit:contain}
@media(max-width:950px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-inner,.tool-section,.work,.foot,.privacy-page{width:calc(100% - 44px)}}@media(max-width:700px){.top-inner,.tool-section,.work,.foot,.privacy-page{width:calc(100% - 32px)}.top-inner{gap:17px;min-height:61px}.brand{font-size:1.15rem;gap:7px}.brand svg{width:30px;height:30px}.top nav{gap:12px}.top nav a{font-size:.84rem}.privacy-link span{display:none}.privacy-link{justify-content:center;min-width:44px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}.section-top h2{font-size:1.7rem}.tool-tile{padding:12px;gap:8px}.section-top{gap:12px}.tool-section{padding-top:22px}.search-box input{width:115px}.pills{display:none}.category-filter{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:.9rem;color:var(--muted)}.category-filter select{font:inherit;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.work-title{flex-wrap:wrap;margin:13px 0}.work-title>.tool-icon{width:42px;height:42px}.work-title>div{flex:1;min-width:180px}.work-title p{font-size:.93rem}.switch{display:flex;align-items:center;gap:8px;width:100%;margin:0}.file-strip{gap:5px}.file-strip .file-list{width:100%;flex:auto}.work{padding-top:14px}.work select,.feature input,.feature textarea{font-size:1rem}.work .button-row{gap:6px}.feature-list li{flex-wrap:wrap}}
@media(max-width:440px){.tool-tile{display:block;min-height:0}.tool-icon{width:44px;height:44px;margin-bottom:7px}.work-title .tool-icon{margin-bottom:0}.tile-text small{font-size:.79rem}.top-inner{gap:12px}.top nav{gap:10px}.tool-grid{gap:8px}.search-box input{width:105px}.runs .history-file{flex-basis:100%}}@media(max-width:350px){.top-inner{gap:6px}.top nav{gap:7px}.nav-tools{display:inline}.nav-all{display:none}.tool-grid{grid-template-columns:1fr}.tool-tile{display:flex;min-height:65px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.tool-tile:hover{transform:none}}

.private-alternative{border-top:1px solid var(--line);margin-top:20px;padding-top:8px}.private-alternative summary{min-height:44px;cursor:pointer;align-content:center;font-size:.92rem;font-weight:620}.private-alternative>div{margin:10px 0 5px}

#upload-formats{margin:8px auto 0;max-width:560px;color:var(--muted);font-size:.9rem}
#upload-formats summary{min-height:44px;align-content:center;cursor:pointer}
#upload-formats p{margin:0;line-height:1.45;overflow-wrap:anywhere}
.tool-guide{width:min(720px,calc(100% - 32px));margin:0 auto 44px;padding-top:24px;border-top:1px solid var(--line)}
.tool-guide h2{font-size:1.4rem;letter-spacing:-.035em;margin-bottom:8px}
.tool-guide p,.tool-guide li{color:var(--muted)}
.tool-guide li+li{margin-top:.35rem}
@media(max-width:700px){
  .work:has(.ted-layout) .crumb{display:none}
  .work:has(.ted-layout) .work-title{gap:7px 10px;margin:0 0 8px}
  .work:has(.ted-layout) .work-title h1{font-size:1.65rem;margin:0}
  .work:has(.ted-layout) .work-title>div{min-width:0;flex:1 1 100px}
  .work:has(.ted-layout) .work-title p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .work:has(.ted-layout) .work-title>.tool-icon{width:34px;height:34px;border-radius:9px}
  .work:has(.ted-layout) .work-title>.tool-icon svg{width:24px;height:24px}
  .work:has(.ted-layout) .switch{width:auto;min-width:0;max-width:42%;margin-left:auto}
  .work:has(.ted-layout) .switch span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .work:has(.ted-layout) .switch select{padding:4px 8px;font-size:.88rem;text-overflow:ellipsis}
  .work:has(.ted-layout) .file-strip{padding:6px 0}
  .work:has(.ted-layout) .file-list{flex:1 1 12ch;min-width:0}
  .work:has(.ted-layout) .file-chip{min-width:0;font-size:.82rem}
  .work:has(.ted-layout) .file-strip button{padding-inline:8px;font-size:.81rem}
  .feature:has(.ted-layout){padding:8px;margin-top:8px}
}
