@font-face{font-family:"DM Sans";src:url("/assets/dm-sans.woff2") format("woff2");font-weight:100 1000;font-style:normal;font-display:swap}
:root{font-family:"DM Sans",Arial,sans-serif;color:#1b2c27;background:#f7f9f7;font-size:16px;--green:#18593d;--muted:#586961;--border:#dfe5df;--rail:222px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}button,select,input,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #409578;outline-offset:3px}button{background:none;border:none}h1,h2,h3,p{margin:0}.icon{flex-shrink:0;vertical-align:middle}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(100%);white-space:nowrap}.skip:focus{position:fixed;top:5px;left:5px;z-index:30;background:white;padding:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--rail);background:#142922;color:#d7e3da;display:flex;flex-direction:column;padding:31px 15px 18px;z-index:10}.brand{display:inline-flex;align-items:center;gap:10px;color:white;font-weight:770;letter-spacing:-.65px;font-size:21px;line-height:1;width:max-content;margin:0 10px 48px}.brand-period{color:#97e7b8}.side-heading{text-transform:uppercase;color:#aabdb1;font-size:.69rem;letter-spacing:.14em;font-weight:650;margin:0 12px 11px}.side-link{display:flex;gap:11px;align-items:center;min-height:42px;padding:9px 12px;margin-bottom:4px;border-radius:7px;font-size:.91rem;font-weight:500}.side-link>.icon{color:#afc4b6}.side-link small{margin-left:auto;color:#afc4b6;font:500 .74rem "DM Sans",sans-serif}.side-link:hover{background:#223d31}.side-link.active{background:#2e493b;color:#d7f6df}.side-link.active .icon{color:#a5e7bd}.categories-label{margin-top:31px}.local{margin:auto 5px 16px;display:flex;gap:10px;align-items:center;padding-top:28px}.local-icon{display:flex;align-items:center;justify-content:center;color:#9aeab8}.local strong,.local small{display:block}.local strong{font-size:.80rem;font-weight:600;color:#e4eee7}.local small{font-size:.75rem;color:#b9cbbe;margin-top:3px}.side-footer{margin-inline:8px;padding:16px 2px 1px;border-top:1px solid #31473c;font-size:.74rem;color:#b2c2b7}.side-footer span{color:#a3b6aa;margin-left:3px}.main-shell{margin-left:var(--rail);min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:65px;border-bottom:1px solid var(--border);display:flex;align-items:center;background:#fff;gap:16px;padding:0 clamp(20px,3.4vw,54px)}.crumb,.bar-actions,.global-search,.lang-btn,.section-names,.chips,.display-switch{display:flex;align-items:center}.crumb{gap:10px;color:#68786d;font-size:.84rem}.crumb span{color:#273c31;font-weight:560}.crumb a:hover{text-decoration:underline}.bar-actions{margin-left:auto;gap:15px}.global-search{height:34px;gap:8px;background:#f6f8f6;border:1px solid #e4e9e4;border-radius:7px;padding:0 8px 0 10px;color:#5d7162}.global-search input{font-size:.84rem;border:0;background:transparent;width:clamp(105px,12vw,176px);height:100%;outline-offset:0;border-radius:2px}.global-search kbd{font:12px monospace;line-height:17px;text-align:center;border:1px solid #dbe1db;border-radius:3px;color:#718177;background:white;width:17px}.lang-wrap{position:relative}.lang-btn,.quiet-btn{display:inline-flex;gap:6px;align-items:center;justify-content:center}.lang-btn{padding:8px 0 8px 4px;font-weight:550;font-size:.82rem}.lang-wrap>div{position:absolute;right:0;top:100%;background:white;border:1px solid var(--border);border-radius:9px;padding:5px;min-width:125px;box-shadow:0 8px 25px #122b2015;z-index:8}.lang-wrap a{display:block;padding:8px 12px;border-radius:6px}.lang-wrap a:hover{background:#edf5ee}.mobile-menu,.mobile-close,.scrim{display:none}.main{width:100%;max-width:1570px;margin:0 auto;padding:clamp(23px,2.5vw,40px) clamp(20px,3.4vw,54px) 42px;flex:1}.hero{background:#d9f3e6;position:relative;isolation:isolate;overflow:hidden;border:1px solid #c8e4d5;border-radius:17px;display:flex;align-items:center;min-height:259px}.hero-copy{padding:25px clamp(26px,3vw,44px) 26px;position:relative;z-index:1;width:55%}.kit-label,.tool-label{display:inline-flex;align-items:center;gap:7px;font-size:.77rem;font-weight:680;color:#22563c}.hero h1{font-size:clamp(2.2rem,3.1vw,3.45rem);font-weight:720;letter-spacing:-.06em;line-height:1.02;margin:10px 0}.hero-copy>p{font-size:.94rem;line-height:1.44;max-width:400px;color:#3d5a49}.launch-btn,.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;font-size:.9rem;font-weight:650;padding:10px 15px;line-height:1.35}.launch-btn,.primary-btn{background:#194d35;color:#fff;border:1px solid #194d35}.launch-btn{margin-top:17px;font-size:.84rem}.launch-btn:hover,.primary-btn:hover{background:#103b28}.hero-art{position:absolute;width:51%;height:100%;right:0;inset-block:0;object-fit:contain;background:#d4f3e7;z-index:0;mask-image:linear-gradient(to right,transparent,#000 15%)}.library{margin-top:31px}.hero[hidden]+.library{margin-top:0}.section-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.section-names{gap:10px}.section-heading h2{font-size:clamp(1.55rem,2.1vw,2.05rem);line-height:1.18;letter-spacing:-.048em;font-weight:710}.total-pill{background:#e8eeea;color:#405449;padding:3px 8px;border-radius:7px;font-size:.74rem;font-weight:650}.display-switch{border:1px solid #dce3dd;border-radius:7px;padding:3px;gap:2px;background:white}.display-switch button{height:27px;width:30px;border-radius:4px;display:grid;place-items:center;color:#748076}.display-switch button.chosen{background:#e5f0e7;color:#20583c}.chips{gap:7px;margin:15px 0 16px;flex-wrap:wrap}.chip{background:#fff;border:1px solid #dbe2dc;border-radius:20px;color:#526156;font-size:.81rem;font-weight:550;padding:6px 13px}.chip:hover{border-color:#9ebca7}.chip.selected{background:#1e4d37;border-color:#1e4d37;color:white}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-card,.tool-page{--tile:#e2f2e5;--ink:#267045}.pdf{--tile:#f9e6e0;--ink:#a34b32}.work{--tile:#e9e8fb;--ink:#59569a}.kit{--tile:#d9f1e2;--ink:#226443}.tool-card{background:white;border:1px solid #dce3dd;border-radius:12px;position:relative;min-width:0;transition:border-color .15s,box-shadow .15s}.tool-card:hover{border-color:#a7bcae;box-shadow:0 4px 13px #2340320b}.card-link{display:block;height:100%;min-height:146px;padding:18px 19px 16px;border-radius:12px}.tool-icon{display:inline-grid;place-items:center;width:39px;height:39px;border-radius:10px;color:var(--ink);background:var(--tile)}.card-link h3{font-size:1.025rem;line-height:1.23;font-weight:690;letter-spacing:-.023em;margin:12px 0 5px}.card-link p{font-size:.865rem;line-height:1.45;color:var(--muted);max-width:34em}.save-btn{position:absolute;right:10px;top:10px;width:31px;height:31px;display:grid;place-items:center;border-radius:6px;color:#7c8a80}.save-btn:hover{background:#f1f6f1;color:#245a3b}.save-btn.is-saved{color:#24613e}.save-btn.is-saved svg{fill:#c1e5cd}.tool-grid.list-mode{grid-template-columns:1fr;gap:7px}.list-mode .card-link{display:grid;grid-template-columns:42px 1fr;column-gap:16px;min-height:68px;padding:13px 50px 13px 15px;align-content:center}.list-mode .tool-icon{grid-row:span 2}.list-mode h3{margin:0 0 2px}.list-mode .save-btn{top:50%;transform:translateY(-50%)}.empty{padding:34px;background:white;border:1px dashed var(--border);border-radius:12px;text-align:center}.empty p{margin:8px auto}.footer{border-top:1px solid #dfe6df;color:#66796b;font-size:.76rem;display:flex;align-items:center;gap:8px;padding:18px clamp(20px,3.4vw,54px)}.footer span{color:#8ba392}
.tool-page{max-width:980px;margin:0 auto}.tool-intro{margin:7px 0 23px}.tool-label{background:var(--tile);color:var(--ink);border-radius:7px;padding:6px 9px}.tool-intro h1{font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.1;letter-spacing:-.055em;margin:13px 0 8px}.tool-intro>p{color:var(--muted);line-height:1.5}.tool-body{background:white;border:1px solid var(--border);border-radius:14px;padding:clamp(17px,2.5vw,32px)}.tool-form{display:grid;gap:17px}.tool-body>h2,.tool-body h3,.tool-body h2{letter-spacing:-.025em}.tool-body input:not([type=checkbox]):not([type=radio]),.tool-body select,.tool-body textarea{max-width:100%;background:#fff;border:1px solid #bdccc1;border-radius:7px;padding:9px 11px;line-height:1.35}.tool-body input[type=checkbox],.tool-body input[type=radio]{accent-color:#27693f}.field{display:grid;align-content:start;gap:6px;min-width:0;font-size:.94rem;font-weight:560}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}.dropzone{padding:26px 14px;border:1.5px dashed #9bb5a6;background:#f4faf5;border-radius:10px;color:#235d3d;text-align:center;cursor:pointer}.secondary-btn{background:white;color:#32533e;border:1px solid #c6d6c9}.secondary-btn:hover{background:#f0f6f1}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.result{padding:15px;border:1px solid #c9e1ce;background:#f4faf5;border-radius:8px}.result:empty,.error:empty{display:none}.error{color:#9e321d;background:#fff4ee;padding:9px 12px;border-radius:6px}.help,.tool-body small{color:#586b5e;font-size:.87rem;line-height:1.5}.tool-footnote{display:flex;align-items:center;gap:6px;margin:15px 0;color:#607665;font-size:.83rem}.tool-body .file-list{overflow-wrap:anywhere}.tool-body fieldset{border:1px solid var(--border);border-radius:8px;min-width:0}.tool-body legend{font-weight:650}.tool-body input,.tool-body textarea{min-width:0}.tool-body input[type=file]{font-size:.85rem}.tool-body a[download]{cursor:pointer}.tool-body button:not([class]){border:1px solid #c6d6c9;background:#f4f8f4;border-radius:6px;padding:6px 9px}.tool-body p{line-height:1.5}.tool-body [hidden],[hidden]{display:none!important}.lang-hint{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:15px;padding:10px 15px;background:#f0f4fe;border:1px solid #cddcf7;border-radius:8px;font-size:.9rem}.lang-hint a{text-decoration:underline}.lang-hint button{font-size:1.2rem}.tools-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;border-radius:8px;background:#203a2c;color:#fff;font-size:.87rem;padding:10px 16px}
@media(min-width:1600px){.tool-grid:not(.list-mode){grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:285px}}
@media(max-width:1100px){:root{--rail:190px}.sidebar{padding-inline:10px}.hero-copy{width:58%}.hero-art{width:48%}.card-link{padding-inline:15px}.tool-grid{gap:10px}}
@media(max-width:900px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{width:60%}.hero-art{width:44%}}
@media(max-width:760px){:root{--rail:0px}.sidebar{width:230px;transform:translateX(-105%);visibility:hidden;transition:transform .17s}.sidebar.open{transform:translateX(0);visibility:visible}.scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:9;background:#10251f80}.mobile-menu,.mobile-close{display:inline-flex}.mobile-close{position:absolute;right:12px;top:30px;color:#d5e8d9}.mobile-menu{padding:7px 2px}.topbar{min-height:56px;gap:12px}.crumb a,.crumb>.icon{display:none}.crumb{font-weight:650}.bar-actions{gap:9px}.main{padding:18px 16px 26px}.hero{min-height:225px;border-radius:13px}.hero-copy{padding:20px 21px}.hero h1{font-size:2.18rem}.hero-copy>p{font-size:.89rem}.library{margin-top:24px}.tool-grid{gap:10px}.hero-art{width:44%}.brand{margin-bottom:36px}.local{padding-top:12px}}
@media(max-width:510px){.topbar{padding:0 13px;gap:8px}.crumb{max-width:91px;font-size:.80rem}.crumb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-search input{width:85px}.global-search kbd{display:none}.bar-actions{gap:8px}.hero-copy{width:69%;padding:17px 16px}.hero h1{font-size:1.96rem}.hero-copy>p{font-size:.85rem}.hero-art{right:-18px;width:46%;object-position:center}.hero{min-height:220px}.launch-btn{margin-top:13px;padding:8px 10px}.tool-grid{gap:8px}.card-link{padding:13px 11px;min-height:150px}.card-link h3{font-size:.96rem;margin-top:10px}.card-link p{font-size:.8rem}.save-btn{right:3px;top:6px}.chips{gap:5px}.chip{font-size:.78rem;padding:6px 10px}.tool-icon{width:34px;height:34px}.tool-icon svg{width:21px;height:21px}.section-heading h2{font-size:1.65rem}.tool-intro{margin-top:0}.tool-body{padding:15px}.topbar .lang-btn{gap:3px}.footer{padding:16px}.hero-copy .kit-label{font-size:.71rem}}
@media(max-width:345px){.tool-grid{grid-template-columns:1fr}.card-link{min-height:110px}.hero-art{opacity:.45}.hero-copy{width:80%}.topbar .crumb{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.sidebar{width:min(258px,88vw)}}
@media(min-width:345px) and (max-width:510px){.hero-art{height:72%;top:14%;right:-9px;width:43%;object-fit:cover;mask-image:linear-gradient(to right,transparent,#000 14%)}}
.brand{max-width:calc(100% - 20px)}
.brand>svg{flex:none}
#lang-menu{max-height:min(70vh,24rem);overflow-y:auto}
#lang-menu a{white-space:nowrap}

.pdf-tool .pdf-drop { position: relative; display: grid; justify-items: center; gap: .35rem; cursor: pointer; }
.pdf-tool .pdf-picker { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pdf-tool .pdf-drop:focus-within, .pdf-tool .pdf-drag { outline: 2px solid currentColor; outline-offset: 3px; }
.pdf-files { list-style: none; padding: 0; }
.pdf-file { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; padding-block: .35rem; }
.pdf-file-meta { display: grid; gap: .15rem; flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.pdf-file-action { padding: .4rem .65rem; }
.pdf-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-block: .6rem; }
.pdf-preview[hidden] { display: none; }
.pdf-preview-frame { position: relative; width: fit-content; max-width: 100%; line-height: 0; background: #fafafa; box-shadow: 0 0 0 1px #c3c9c8; }
.pdf-preview img { display: block; max-width: 175px; max-height: 135px; object-fit: contain; }
.pdf-preview-outline { pointer-events: none; position: absolute; border: 2px dashed #29795d; background: #a4e4bc20; }
.pdf-download { display: inline-block; text-decoration: none; }
.pdf-tool .result { overflow-wrap: anywhere; }
.pdf-excerpt { margin-top: .8rem; }
.pdf-excerpt pre { white-space: pre-wrap; max-height: 16rem; overflow: auto; }

.workbench {
  display: grid;
  gap: 1rem;
}
.work-print-frame {
  position: fixed;
  top: 0;
  left: -200vw;
  width: 800px;
  height: 900px;
  border: 0;
}
.workbench [hidden] {
  display: none !important;
}
.workbench .fields {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.workbench label.field,
.workbench .field {
  display: grid;
  align-content: start;
  gap: .4rem;
  min-width: 0;
}
.workbench .field > span,
.workbench .work-label {
  font-weight: 650;
}
.workbench input,
.workbench select,
.workbench textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
}
.workbench textarea {
  resize: vertical;
  min-height: 5rem;
}
.workbench .work-text {
  min-height: 10rem;
}
.workbench .work-check {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.workbench .work-check input {
  width: 1rem;
  height: 1rem;
}
.workbench .work-edit-table {
  display: grid;
  gap: .7rem;
}
.workbench .work-edit-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr .9fr auto;
  align-items: end;
  gap: .45rem;
}
.workbench .work-edit-row.invoice {
  grid-template-columns: minmax(0, 2.5fr) 1fr 1fr auto;
}
.workbench .work-edit-row .field > span {
  font-size: .82rem;
}
.workbench .work-delete {
  align-self: end;
  width: 2.25rem;
  min-height: 2.55rem;
  padding: .35rem;
  border-radius: .55rem;
  border: 1px solid #cbd5d1;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.workbench .work-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 2rem;
}
.workbench .work-stats > div {
  display: grid;
  gap: .18rem;
}
.workbench .work-stats b {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.workbench .work-stats span {
  font-size: .85rem;
}
.workbench .work-qr {
  max-width: 100%;
  width: 14rem;
  height: auto;
  margin: .5rem auto;
  display: block;
}
.workbench .work-summary {
  font-size: 1.22rem;
  font-weight: 700;
}
.workbench .work-mini {
  width: 100%;
  border-collapse: collapse;
}
.workbench .work-mini th,
.workbench .work-mini td {
  padding: .5rem .25rem;
  text-align: left;
  border-bottom: 1px solid #d7dfdc;
}
.workbench .work-mini th {
  font-size: .87rem;
}
.workbench .work-mini td:last-child,
.workbench .work-mini th:last-child {
  text-align: right;
}
.workbench details {
  padding: .65rem 0;
}
.workbench summary {
  cursor: pointer;
  font-weight: 650;
}
.workbench details[open] summary {
  margin-bottom: .65rem;
}
.workbench .work-file {
  max-width: 100%;
}
.workbench .work-files-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.workbench .work-files-line input {
  width: auto;
  max-width: 100%;
}
.workbench .work-subtitle {
  margin: 0;
  font-size: 1.05rem;
}
.workbench .actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.workbench .help {
  margin: 0;
}
@media (max-width: 640px) {
  .workbench .work-edit-row,
  .workbench .work-edit-row.invoice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .75rem;
    border: 1px solid #d7dfdc;
    border-radius: .65rem;
  }
  .workbench .work-edit-row .work-delete {
    justify-self: end;
    grid-column: 2;
  }
  .workbench .work-edit-row.invoice > :first-child {
    grid-column: 1 / -1;
  }
}
.pro-panel {margin-top:1.5rem;padding:clamp(1rem,3vw,2rem);border:1px solid #b4cfc2;border-radius:16px;background:#f4faf6;color:#18392c}
.pro-panel h2 {font-size:1.5rem;margin:.35rem 0 .5rem}
.pro-panel .pro-label {font-size:.875rem;font-weight:700;color:#36624c}
.pro-panel p {max-width:64ch;line-height:1.55}
.pro-panel .fields,.pro-panel .actions {margin:.8rem 0}
.pro-panel .field {min-width:0}
.pro-panel .pro-unlock {display:grid;gap:.7rem;max-width:24rem;margin:1rem 0}
.pro-panel .help:empty {display:none}
.collections {border-top:1px solid #b4cfc2;margin-top:1.5rem;padding-top:1rem;overflow-wrap:anywhere}
.collections h3,.collections h4 {margin:.5rem 0}
.collection-invoice,.collection-sample {border:1px solid #c7d8ce;border-radius:.6rem;background:white;padding:1rem;margin:.8rem 0}
.collections .field[hidden] {display:none}
.collections select,.collections textarea,.collections input {max-width:100%;min-width:0}
.collections button[aria-pressed="true"] {border-color:#28614a;color:#154831;background:#e1f0e6}
.tool-guide {max-width:72ch;margin:2rem 0;padding:0 0 1rem;line-height:1.65}
.tool-guide h2 {font-size:1.25rem;line-height:1.35;margin:1.6rem 0 .6rem}
.guide-links {display:flex;flex-wrap:wrap;gap:.5rem 1.3rem}
.guide-links a {color:#215941;text-decoration:underline;text-underline-offset:.15em}
.workbench .field[hidden] {display:none}
.quote-actions {margin-top:1.25rem}
.quote-actions h2 {font-size:1.25rem;margin:0}
.quote-actions .actions {flex-wrap:wrap}
.quote-actions [role=status]:empty {display:none}
.billing-shortcuts {padding:1rem 1.25rem;margin:1.3rem 0;border:1px solid #c7d8ce;border-radius:.75rem;background:#f4faf6}
.billing-shortcuts h2 {font-size:1.15rem;margin:0 0 .55rem}

.image-workspace [hidden] {
  display: none !important;
}

.image-workspace .image-dropzone {
  display: grid;
  place-items: center;
  gap: .55rem;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.image-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
}

.image-dropzone:focus-within,
.image-dropzone.image-dragging {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.image-selection,
.image-presets,
.image-result-row,
.image-workspace .image-check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.image-selection { flex-wrap: nowrap; }
.image-selection > div { min-width: 0; }
.image-selection .file-list,
.image-status,
.image-result-row span { overflow-wrap: anywhere; }
.image-selection img { width: 4rem; height: 4rem; object-fit: contain; border-radius: .35rem; }
.image-presets button { padding: .3rem .65rem; }
.image-presets button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: 1px; }
.image-workspace .image-check input { width: auto; min-height: 0; margin: 0; flex: 0 0 auto; }
.image-result-row { justify-content: space-between; margin-block: .55rem; }
.image-workspace .image-status:empty { display: none; }

.kit-workspace .kit-slot {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line, #d8dfda);
  border-radius: .65rem;
  display: grid;
  gap: .8rem;
}
.kit-slot legend { font-weight: 700; padding-inline: .3rem; }
.kit-workspace .kit-slot { grid-template-columns: minmax(0, 1fr); }
.kit-slot .field { grid-template-columns: minmax(0, 1fr); }
.kit-slot select { min-width: 0; width: 100%; }
.kit-chosen:empty { display: none; }
.kit-file,
.kit-output { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.kit-file { margin-block: .4rem; }
.kit-file img { width: 3rem; height: 3rem; object-fit: contain; }
.kit-file span { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.kit-results { display: grid; gap: 1rem; }
.kit-output p { flex: 1 1 100%; margin: .25rem 0; overflow-wrap: anywhere; }
.kit-output-image { width: auto; height: auto; max-width: min(12rem, 100%); max-height: 7rem; object-fit: contain; }

.theme-toggle {
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  min-height:44px;min-width:44px;padding:.4rem .65rem;border:1px solid var(--border);white-space:nowrap;flex:none;cursor:pointer;
  border-radius:8px;color:inherit;background:transparent;font-size:.84rem;font-weight:600;
}
.theme-toggle[hidden] {display:none}
.theme-toggle i {display:inline-flex;align-items:center;width:28px;height:17px;padding:2px;box-sizing:border-box;border-radius:20px;background:#53645c;direction:ltr}
.theme-toggle i::before {content:"";width:13px;height:13px;border-radius:50%;background:white}
.theme-toggle[aria-pressed=true] i {justify-content:flex-end;background:#a0debd}
.theme-toggle[aria-pressed=true] i::before {background:#173c31}
.theme-toggle:focus-visible,.dropzone:focus-within {outline-offset:3px}
.standalone-toolbar {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.5rem}
.standalone-toolbar a {font-weight:700;text-decoration:underline;text-underline-offset:.18em}
.tool-guide {margin-inline:auto;width:100%;max-width:980px}
.tool-guide p {max-width:72ch}
.tool-guide p + p,.standalone-copy p + p {margin-top:.75rem}
.sidebar {overflow-y:auto;overscroll-behavior:contain}
.drawer-open {overflow:hidden}
.global-search:focus-within {outline:2px solid #458f78;outline-offset:2px}
:root[data-theme="light"] {color-scheme:light}
:root:not([data-theme="light"]) {
  color-scheme:dark;
  --canvas:#131b1b;--panel:#1b2525;--field:#141e1e;--raised:#243131;
  --text:#e4ece8;--muted:#adbeb8;--border:#3b4c48;--line:var(--border);
  --green:#a0debd;--accent:#a0debd;--focus:#a1e5c9;
  color:var(--text);background:var(--canvas);
  & .sidebar {background:#10201c;border-right:1px solid #30423b}
  & .topbar,& .lang-wrap>div,& .tool-card,& .tool-body,& .empty,& .display-switch,
  & .collection-invoice,& .collection-sample,& .billing-shortcuts,& .skip:focus {
    background:var(--panel);color:var(--text);border-color:var(--border)
  }
  & .hero {background:linear-gradient(110deg,#1c352e,#213d33);border-color:#365449}
  & .hero-art {
    background:transparent;object-fit:cover;object-position:center 48%;
    filter:brightness(.76) saturate(.83);opacity:.72;
    mask-image:radial-gradient(ellipse 69% 90% at 55% 50%, black 24%, transparent 79%)
  }
  & .theme-toggle[aria-pressed=true] {background:#24372f;border-color:#526d60;color:#c9ebd7}
  & .hero h1 {color:#e2f0e7}
  & .kit-label,& .pro-panel .pro-label,& .guide-links a {color:var(--accent)}
  & .hero-copy>p,& .crumb,& .help,& .tool-body small,& .tool-footnote,& .footer,
  & .global-search,& .display-switch button {color:var(--muted)}
  & .crumb span {color:var(--text)}
  & .footer {border-color:var(--border)}
  & .lang-wrap a:hover,& .theme-toggle:hover,& .save-btn:hover,& .secondary-btn:hover {background:var(--raised);color:var(--text)}
  & .global-search,& .global-search kbd,& .tool-body input:not([type=checkbox]):not([type=radio]),
  & .tool-body select,& .tool-body textarea {background:var(--field);border-color:#61756d;color:var(--text)}
  & input::placeholder,& textarea::placeholder {color:#a2b2ac;opacity:1}
  & input[type=checkbox],& input[type=radio] {accent-color:var(--accent)}
  & :focus-visible,& .global-search:focus-within {outline-color:var(--focus)}
  & .chip,& .secondary-btn,& .tool-body button:not([class]),& .workbench .work-delete {
    background:var(--raised);color:var(--text);border-color:#587065
  }
  & .display-switch button.chosen,& .collections button[aria-pressed="true"],& .total-pill {background:#304b3f;color:#d1ecdc}
  & .launch-btn,& .primary-btn,& .chip.selected {
    color:#112b20;background:var(--accent);border-color:var(--accent)
  }
  & .launch-btn:hover,& .primary-btn:hover {background:#b4ecca}
  & .chip:hover,& .tool-card:hover,& .tool-card:focus-within {border-color:#78a790}
  & .tool-card,& .tool-page {--tile:#263f33;--ink:#addebc}
  & .pdf {--tile:#422e29;--ink:#f1b49c}
  & .work {--tile:#343348;--ink:#cfc6fe}
  & .save-btn {color:#a7bab1}
  & .save-btn.is-saved {color:var(--accent)}
  & .save-btn.is-saved svg {fill:#416951}
  & .dropzone,& .result,& .pro-panel {background:#1b3028;border-color:#597d68;color:#d4eadd}
  & .dropzone {border-color:#7c9e8b}
  & .error {background:#3f2927;color:#ffc2ad}
  & .lang-hint {background:#24333c;border-color:#526c78;color:#e1edf3}
  & .work-mini :is(th,td),& .workbench .work-edit-row,& .collections {border-color:var(--border)}
  & .tools-toast {background:#354d40;color:var(--text)}
}
@media(max-width:760px) {
  .theme-toggle {padding:.4rem}
  .bar-actions .theme-toggle span {display:inline}
  .topbar {padding-block:5px}
  .lang-btn,.mobile-menu,.mobile-close,.save-btn {min-height:42px;min-width:42px}
  .global-search {min-height:40px;min-width:0}
  .global-search input {min-width:0}
  .bar-actions {min-width:0}
  .display-switch button {width:36px;height:36px}
  .chip {min-height:38px}
  .lang-wrap a {padding-block:12px}
  .card-link h3 {overflow-wrap:anywhere}
}
@media(max-width:540px) {
  .topbar .crumb {display:none}
  .topbar .bar-actions {flex:1}
  .global-search {flex:1}
  .global-search input {width:100%}
  .tool-guide {margin-top:1.6rem}
  .hero-art {display:none}
  .hero-copy {width:100%;padding:20px}
  .hero {min-height:0}
  .hero-copy>p {max-width:42ch}
  .billing-shortcuts {margin-block:1rem;padding:.85rem 1rem}
  .billing-shortcuts .guide-links {gap:.4rem 1rem}
  .guide-links a {padding-block:.25rem}
}
@media(max-width:440px) {
  .tool-grid:not(.list-mode) {grid-template-columns:1fr}
  .tool-grid:not(.list-mode) .card-link {
    min-height:78px;display:grid;grid-template-columns:36px minmax(0,1fr);
    column-gap:12px;align-content:center;padding:14px 46px 14px 14px
  }
  .tool-grid:not(.list-mode) .tool-icon {grid-row:span 2}
  .tool-grid:not(.list-mode) .card-link h3 {margin:0 0 4px;font-size:1rem}
  .card-link p {font-size:.875rem}
  .tool-card .save-btn {right:2px;top:50%;transform:translateY(-50%)}
  .actions :is(.primary-btn,.secondary-btn),.tool-body .field :is(input:not([type=checkbox]),select) {min-height:44px}
  .tool-body input,.tool-body select,.tool-body textarea {font-size:1rem}
}
