.tools-page .tools-main{min-height:calc(100vh - 161px);padding-block:72px 64px}.tools-page .tools-heading{padding-block:16px 56px}.tools-page .tools-heading h1{font-size:clamp(40px,5.6vw,68px);line-height:1.12}.tools-page .tools-intro{max-width:640px;color:var(--text-secondary);margin-bottom:24px;font-size:18px;line-height:1.7}.tools-page .tools-filter{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.tools-page .tools-categories{flex-wrap:wrap;gap:6px;display:flex}.tools-page .tools-categories button{min-height:44px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:980px;padding:10px 16px;font-size:14px}.tools-page .tools-categories button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.tools-page .tools-categories button:hover{color:var(--accent)}.tools-page .tools-search input{border:1px solid var(--line-strong);background:var(--surface);width:240px;min-height:44px;color:var(--text);border-radius:980px;padding:10px 16px;font-size:14px}.tools-page .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.tools-page .tool-card{min-height:275px;transition:transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease;padding:28px}.tools-page .tool-card:hover{border-color:color-mix(in srgb, var(--accent) 28%, transparent);box-shadow:var(--shadow-hover);transform:translateY(-4px)}.tools-page .tool-card .card-copy{padding-top:32px}.tools-page .tool-card h2{letter-spacing:-.03em;margin-bottom:12px;font-size:22px;line-height:1.35}.tools-page .tool-card .card-copy>p:not(.card-label){font-size:14px}.tools-page .tool-card-arrow{color:var(--text-tertiary);font-size:22px}.tools-page .tools-local-note{color:var(--text-secondary);text-align:center;margin:36px 0 0;font-size:13px;line-height:1.7}.tools-page .tools-empty{text-align:center;color:var(--text-secondary);padding:64px 20px}.tools-page .tools-back{min-height:44px;color:var(--text-secondary);align-items:center;margin-bottom:28px;font-size:14px;display:inline-flex}.tools-page .tools-back:hover{color:var(--accent)}.tools-page .tool-heading{padding-right:80px;position:relative}.tools-page .tool-heading>.icon-tile{position:absolute;top:0;right:0}.tools-page .tool-heading .eyebrow{margin-bottom:14px}.tools-page .tool-heading h1{letter-spacing:-.04em;margin-bottom:18px;font-size:clamp(30px,4.5vw,48px);line-height:1.2}.tools-page .tool-workspace{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;margin-top:36px;display:grid}.tools-page .tool-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow-card);padding:32px}.tools-page .tool-panel h2{letter-spacing:-.02em;margin:0 0 24px;font-size:20px;line-height:1.4}.tools-page .tool-field-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.tools-page .tool-duration-fields{border:0;min-width:0;margin:0;padding:0}.tools-page .tool-duration-fields .tool-field-row{grid-template-columns:repeat(4,minmax(0,1fr))}.tools-page .tool-duration-fields legend{color:var(--text);margin-bottom:16px;padding:0;font-size:14px;font-weight:500}.tools-page .tool-help{color:var(--text-secondary);margin-bottom:24px;font-size:13px;line-height:1.7}.tools-page .tool-actions{flex-wrap:wrap;gap:12px;display:flex}.tools-page .tool-offset-actions .button{width:auto}.tools-page .button{cursor:pointer}.tools-page .tool-error{color:var(--danger);margin:20px 0 0;font-size:14px;line-height:1.6}.tools-page .tool-output-heading{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:20px;display:flex}.tools-page .tool-output-heading h2{margin:0}.tools-page .tool-inline-button{min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:13px}.tools-page .tool-placeholder{color:var(--text-tertiary);margin:16px 0 0;font-size:14px;line-height:1.7}.tools-page .tool-results{margin:0}.tools-page .tool-results>div{border-bottom:1px solid var(--line);padding-block:16px}.tools-page .tool-results>div:last-child{border-bottom:0}.tools-page .tool-results dt{color:var(--text-secondary);margin-bottom:7px;font-size:13px}.tools-page .tool-results dd{color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.65}.tools-page .tool-result-text{border:1px solid var(--line);background:var(--surface-solid);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-mono);border-radius:12px;max-height:640px;margin:0;padding:16px;font-size:13px;line-height:1.7;overflow-y:auto}.tools-page .tool-copy-status{min-height:18px;color:var(--text-secondary);margin:16px 0 0;font-size:13px}.tools-page .tool-dropzone{border:1px dashed var(--line-strong);text-align:center;background:var(--accent-soft);border-radius:16px;margin-bottom:24px;padding:24px 18px}.tools-page .tool-dropzone[data-drop-target]{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}.tools-page .tool-dropzone>p:first-child{color:var(--text-secondary);margin-bottom:16px;font-size:14px;line-height:1.7}.tools-page .tool-dropzone .tool-help{margin:16px 0 0}.tools-page .tool-source-info{margin-bottom:24px}.tools-page .tool-source-info>p{color:var(--text-secondary);overflow-wrap:anywhere;font-size:13px}.tools-page .tool-image-preview{object-fit:contain;border:1px solid var(--line);background:var(--bg);border-radius:12px;width:100%;max-height:360px;display:block}.tools-page .tool-source-info .tool-image-preview{max-height:200px}.tools-page .tool-download{margin-top:24px}.tools-page .tool-media-links{color:var(--accent);flex-wrap:wrap;gap:12px 20px;margin-top:20px;font-size:13px;display:flex}.tools-page .tool-subheading{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}.tools-page .tool-reference-link{color:var(--accent);margin-top:20px;font-size:13px;display:inline-block}.tools-page .tool-source-preview{max-height:200px;margin-bottom:24px}.tools-page .tool-logo-preview{object-fit:contain;max-width:160px;max-height:100px;margin:0 0 24px;display:block}.tools-page .tool-qr-preview{width:min(100%,360px);height:auto;image-rendering:pixelated;margin:24px auto;display:block}.tools-page .tool-tile-grid{gap:12px;margin-top:20px;display:grid}.tools-page .tool-split-tile{text-align:center;flex-direction:column;gap:8px;min-width:0;font-size:12px;display:flex}.tools-page .tool-split-tile img{aspect-ratio:1;object-fit:contain;background:var(--bg);border:1px solid var(--line);border-radius:8px;width:100%;display:block}.tools-page .tool-split-tile a{color:var(--accent);overflow-wrap:anywhere;place-items:center;min-height:32px;display:grid}.tools-page .tool-split-tile span{color:var(--text-secondary)}.tools-page button:disabled{opacity:.55;cursor:wait}.portal-page .nav-links a[aria-current=page]{color:var(--accent)}@media (width<=1000px){.tools-page .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.tools-page .tools-main{padding-top:40px}.tools-page .tools-heading{padding-bottom:40px}.tools-page .tools-filter{flex-direction:column;align-items:stretch}.tools-page .tools-search input{width:100%}.tools-page .tools-categories{gap:2px}.tools-page .tools-categories button{padding-inline:12px}.tools-page .tool-workspace{grid-template-columns:1fr;gap:20px}.tools-page .tool-panel{border-radius:24px;padding:24px}.tools-page .tools-intro{font-size:16px}}@media (width<=480px){.tools-page .tools-grid{grid-template-columns:1fr}.tools-page .tool-card{min-height:240px;padding:26px}.tools-page .tool-card .card-copy{padding-top:26px}.tools-page .tool-heading{padding-right:62px}.tools-page .tool-heading .icon-tile{width:42px;height:42px}}.ui-field{flex-direction:column;gap:10px;min-width:0;margin-bottom:22px;font-size:14px;font-weight:500;display:flex}.ui-input{border:1px solid var(--line-strong);background:var(--surface-solid);width:100%;min-width:0;max-width:100%;min-height:48px;color:var(--text);font:inherit;border-radius:12px;padding:12px 14px;font-weight:400}.ui-input:focus-visible,.ui-input[data-focus-within]{outline:2px solid var(--accent);outline-offset:2px}.ui-textarea{resize:vertical;line-height:1.65;font-family:var(--font-mono)}.ui-select-trigger{cursor:pointer;text-align:start;justify-content:space-between;align-items:center;gap:12px;display:flex}.ui-select-trigger[data-pressed]{border-color:var(--accent)}.ui-chevron{color:var(--text-secondary);font-size:18px;line-height:1}.portal-page.ui-popover{width:max-content;min-width:0;max-width:calc(100vw - 24px);min-height:0;max-height:min(var(--available-height), calc(100dvh - 24px));overscroll-behavior:contain;border:1px solid var(--line-strong);background:var(--surface-solid);color:var(--text);box-shadow:var(--shadow-hover);z-index:60;border-radius:16px;overflow-y:auto}.portal-page.ui-select-popover{min-width:var(--trigger-width);padding:6px}.ui-options{outline:none;max-height:280px;overflow-y:auto}.ui-option{min-height:44px;color:var(--text);cursor:pointer;border-radius:9px;outline:none;justify-content:space-between;align-items:center;gap:20px;padding:10px 12px;font-size:14px;display:flex}.ui-option[data-focused],.ui-option[data-hovered]{background:var(--accent-soft)}.ui-option[data-selected]{color:var(--accent);font-weight:600}.portal-page .ui-options:focus-visible,.portal-page .ui-option:focus-visible{outline:none}.portal-page .ui-option[data-focus-visible]{outline:2px solid var(--accent);outline-offset:-2px}.ui-date-group{align-items:center;gap:8px;padding:6px 8px 6px 12px;display:flex}.ui-date-input{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:1px;min-width:0;display:flex}.ui-date-group>.ui-date-input{flex:1}.ui-date-segment{white-space:nowrap;caret-color:#0000;border-radius:4px;padding:2px 1px}.ui-date-segment[data-placeholder]{color:var(--text-tertiary)}.ui-date-segment[data-focused]{background:var(--accent);color:var(--surface-solid);outline:none}.ui-calendar-trigger{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:8px;display:grid}.ui-calendar-trigger[data-hovered],.ui-calendar-nav[data-hovered]{background:var(--accent-soft);color:var(--accent)}.ui-calendar-trigger svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;width:20px;height:20px}.ui-date-dialog{outline:none;padding:16px}.ui-calendar{width:280px;max-width:100%}.ui-calendar-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.portal-page .ui-calendar-header h2{letter-spacing:normal;margin:0;font-size:15px;font-weight:600;line-height:1.4}.ui-calendar-nav{width:36px;height:36px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:24px}.ui-calendar-grid{border-collapse:collapse;table-layout:fixed;width:100%}.ui-calendar-grid th{height:32px;color:var(--text-secondary);text-align:center;font-size:12px;font-weight:400}.ui-calendar-grid td{text-align:center;padding:2px}.ui-calendar-day{cursor:pointer;font-variant-numeric:tabular-nums;border-radius:9px;outline:none;place-items:center;min-width:28px;height:34px;font-size:14px;display:grid}.ui-calendar-day[data-outside-month]{color:var(--text-tertiary)}.ui-calendar-day[data-hovered],.ui-calendar-day[data-focused]{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.ui-calendar-day[data-selected]{background:var(--button-fill);color:#fff}.ui-calendar-day[data-disabled]{opacity:.35;cursor:default}.ui-time-field{border-top:1px solid var(--line);color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:16px;font-size:12px;display:flex}.ui-time-field .ui-date-input{width:auto;min-height:40px;color:var(--text);padding:8px;font-size:14px}.ui-time-input-group{align-items:center;gap:6px;display:flex}.ui-time-dialog{outline:none;width:280px;max-width:calc(100vw - 24px);padding:16px}.portal-page .ui-time-heading{letter-spacing:normal;margin:0 0 14px;font-size:15px;font-weight:600}.ui-time-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ui-time-column{text-align:center;min-width:0}.ui-time-column-label{color:var(--text-secondary);padding:0 0 8px;font-size:12px;display:block}.ui-time-options{overscroll-behavior:contain;scrollbar-width:thin;max-height:220px}.ui-time-option{font-variant-numeric:tabular-nums;justify-content:center;padding:10px 4px}.ui-time-option[data-selected]{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.ui-date-actions{align-items:center;gap:16px;margin-top:16px;display:flex}.ui-text-button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:13px}.portal-page .ui-done-button{cursor:pointer;width:auto;min-height:36px;margin-left:auto;padding-inline:16px;font-size:13px}@media (width<=360px){.ui-date-dialog{padding:12px}.ui-calendar{width:264px}}
