.tool-workspace{border:1px solid var(--line,#dfe3d9);background:var(--surface,#fff);border-radius:var(--radius,16px);padding:28px;box-shadow:0 12px 36px rgba(32,40,33,.035);margin:32px 0;color:var(--ink,#202821)}.tw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line,#dfe3d9);margin-bottom:24px}.tw-heading h2{font-size:1.2rem;margin:0;letter-spacing:-.03em}.tw-private{display:flex;gap:8px;align-items:center;font-size:.75rem;color:var(--fern,#326649);font-weight:600}.tw-private span{font-size:.55rem}.tw-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.tw-panel{min-width:0}.tw-panel h3{font-size:.88rem;line-height:1.4;margin:0 0 12px;font-weight:650}.tw-panel h4{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;margin:24px 0 12px;color:var(--muted,#667064)}.tw-output-panel{border-left:1px solid var(--line,#dfe3d9);padding-left:28px}.tw-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1.5px dashed #c6cfc0;border-radius:12px;min-height:210px;gap:12px;text-align:center;padding:24px 20px;background:#fafbf7;transition:background .2s,border-color .2s}.tw-drop p{font-size:.9rem;max-width:28ch;margin:0}.tw-drop small{font-size:.68rem;line-height:1.6;color:var(--muted,#667064)}.tw-drop-symbol{display:grid;place-items:center;height:36px;width:36px;border:1px solid var(--line,#dfe3d9);border-radius:10px;font-size:1.3rem;background:#fff}.tw-dragging{background:#f0f7d8;border-color:var(--fern,#326649)}.tw-file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.tw-drop:focus-within{outline:2px solid var(--fern,#326649);outline-offset:3px}.tw-file-list{list-style:none;margin:12px 0 0;padding:0}.tw-file-list li{display:flex;align-items:center;gap:8px;font-size:.75rem;padding:8px 0;border-bottom:1px solid var(--line,#dfe3d9)}.tw-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-file-list small{white-space:nowrap;color:var(--muted,#667064);font-size:.65rem}.tw-file-action{padding:2px 7px;background:transparent;border:1px solid var(--line,#dfe3d9);border-radius:5px;line-height:1.5;cursor:pointer;color:var(--ink,#202821)}.tw-file-action:disabled{opacity:.3;cursor:default}.tw-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tw-options>small{grid-column:1/-1;color:var(--muted,#667064);font-size:.72rem;line-height:1.6}.tw-field{position:relative;display:flex;flex-direction:column;gap:7px;min-width:0}.tw-field label{font-size:.73rem;font-weight:550;line-height:1.45}.tw-field input:not([type=checkbox]):not([type=range]):not([type=color]),.tw-field select,.tool-workspace textarea{font:inherit;font-size:.84rem;color:var(--ink,#202821);background:#fff;border:1px solid var(--line,#dfe3d9);border-radius:8px;width:100%;padding:10px 11px;box-sizing:border-box;outline-offset:3px}.tw-field input[type=color]{width:100%;height:41px;padding:4px;border:1px solid var(--line,#dfe3d9);border-radius:8px;background:#fff}.tw-field input[type=range]{width:100%;accent-color:var(--fern,#326649);height:28px;margin:0}.tw-field output{font:500 .67rem ui-monospace,monospace;color:var(--muted,#667064)}.tw-check{flex-direction:row;align-items:center;gap:8px;grid-column:1/-1}.tw-check input{accent-color:var(--fern,#326649);width:15px;height:15px;margin:0}.tool-workspace textarea{resize:vertical;line-height:1.65;min-height:180px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.tool-workspace textarea:focus,.tw-field input:focus,.tw-field select:focus{outline:2px solid var(--fern,#326649)}.tw-result-text{background:#f8f9f5!important;min-height:260px!important}.tw-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:20px}.tw-run,.tw-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 17px;border-radius:8px;font:600 .78rem var(--font,system-ui,sans-serif);line-height:1.2;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s}.tw-run{border:1px solid var(--ink,#202821);background:var(--ink,#202821);color:#fff}.tw-run:hover{background:var(--fern,#326649);border-color:var(--fern,#326649);color:#fff}.tw-secondary{border:1px solid var(--line,#dfe3d9);background:#fff;color:var(--ink,#202821)}.tw-secondary:hover{background:#f2f4ec;border-color:#bdc5b4}.tw-run:disabled,.tw-secondary:disabled{opacity:.55;cursor:wait}.tool-workspace [hidden]{display:none!important}.tw-text-button{border:0;background:transparent;font:500 .73rem var(--font,system-ui,sans-serif);color:var(--fern,#326649);padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.tw-empty{min-height:240px;display:grid;place-items:center;text-align:center;border:1px solid var(--line,#dfe3d9);border-radius:12px;background:repeating-linear-gradient(0deg,transparent,transparent 31px,#eff1eb 31px,#eff1eb 32px),repeating-linear-gradient(90deg,#fafbf7,#fafbf7 31px,#eff1eb 31px,#eff1eb 32px);font-size:.78rem;color:var(--muted,#667064);padding:24px}.tw-result{min-height:220px;overflow-wrap:anywhere}.tw-status{font-size:.78rem;line-height:1.6;min-height:1.6em;margin:20px 0 0;color:var(--fern,#326649)}.tw-error{color:#a32727!important;background:#fff3ef;border:1px solid #f1d2c7;border-radius:8px;padding:10px 12px}.tw-privacy-note{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line,#dfe3d9);font-size:.7rem;line-height:1.7;color:var(--muted,#667064);max-width:none}.tw-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tw-previews figure{margin:0;min-width:0}.tw-previews img{display:block;width:100%;height:210px;object-fit:contain;background:repeating-conic-gradient(#e9ece5 0% 25%,#fff 0% 50%) 50%/14px 14px;border-radius:8px;border:1px solid var(--line,#dfe3d9)}.tw-previews figcaption{font-size:.65rem;line-height:1.5;color:var(--muted,#667064);margin-top:8px}.tw-result-meta{font-size:.7rem;line-height:1.6;color:var(--muted,#667064);margin:14px 0}.tw-file-result{width:80px;height:104px;display:grid;place-items:center;margin:32px auto 20px;border:1px solid #cad4be;border-radius:10px 24px 10px 10px;background:#f1f6df;color:var(--fern,#326649);font:700 1.1rem ui-monospace,monospace}.tw-file-result+p{text-align:center;color:var(--muted,#667064);font-size:.8rem}.tw-swatch{height:80px;border-radius:10px;margin-bottom:12px;border:1px solid var(--line,#dfe3d9)}.tw-color-preview{border-radius:10px;padding:24px;font-size:1.15rem;line-height:1.6;margin:0 0 12px}.tw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){.tool-workspace{padding:20px}.tw-layout{grid-template-columns:1fr;gap:24px}.tw-output-panel{padding:24px 0 0;border-left:0;border-top:1px solid var(--line,#dfe3d9)}.tw-result{min-height:140px}.tw-empty{min-height:160px}}@media(max-width:440px){.tw-heading{align-items:flex-start;flex-direction:column;gap:8px}.tw-options{gap:14px 10px}.tw-previews{grid-template-columns:1fr}.tw-previews img{height:220px}.tw-file-list small{display:none}}@media(prefers-reduced-motion:reduce){.tool-workspace *{transition:none!important}}
