:root{color:#172033;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#fff,#f4f7f6 38%,#f7f5f1)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.54}.app-shell{width:min(1180px,calc(100% - 40px));min-height:calc(100vh - 1.9rem);margin:0 auto;padding:34px 0 64px}.app-shell--wide{width:min(1720px,calc(100% - 32px))}.hero{display:grid;gap:42px;padding:24px 0 34px}.brand-row{display:flex;align-items:center;gap:10px}.brand-mark{display:inline-grid;min-width:54px;height:30px;place-items:center;border:1px solid #d7dee4;border-radius:7px;background:#fff;color:#0f766e;font-size:.78rem;font-weight:800;letter-spacing:.02em}.brand-name{color:#172033;font-size:.98rem;font-weight:800}.hero__eyebrow{margin:0 0 10px;color:#0f766e;font-size:.94rem;font-weight:800}.hero__copy h1{margin:0;color:#101828;font-size:clamp(2rem,4.5vw,3.55rem);line-height:1.12;letter-spacing:0}.hero__copy p{max-width:560px;margin:16px 0 0;color:#526070;font-size:1.04rem;line-height:1.65}.finder{display:grid;gap:16px;padding:10px 0 26px}.search-input{width:100%;min-height:54px;border:1px solid #d3d9df;border-radius:8px;background:#fff;color:#172033;padding:0 18px;outline:none;box-shadow:0 1px 2px #1018280a}.search-input:focus,.field__control:focus{border-color:#0f8b8d;box-shadow:0 0 0 3px #0f8b8d26}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.category-tab,.secondary-button,.text-button{border:1px solid #d3d9df;border-radius:8px;background:#fff;color:#344054;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.category-tab{flex:0 0 auto;min-height:38px;padding:0 14px;font-size:.92rem;font-weight:700}.category-tab--active{border-color:#0f8b8d;background:#e8f6f4;color:#075a5c}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tool-card{display:grid;grid-template-columns:48px 1fr;gap:14px;min-height:184px;border:1px solid #e1e6ea;border-radius:8px;background:#fff;padding:18px;color:inherit;text-align:left;box-shadow:0 10px 26px #1018280f;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.tool-card:hover,.category-tab:hover,.secondary-button:hover,.text-button:hover{border-color:#0f8b8d;transform:translateY(-1px)}.tool-card:hover{box-shadow:0 14px 32px #1018281a}.tool-card__icon,.detail-title__icon{display:inline-grid;place-items:center;border-radius:8px;background:#f0f7f6;color:#172033;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.45rem;font-weight:800;letter-spacing:0}.tool-card__icon{width:48px;height:48px}.tool-card__content{display:grid;min-width:0;gap:10px}.tool-card__title-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.tool-card__title{color:#172033;font-size:1.02rem;font-weight:800;overflow-wrap:anywhere}.tool-card__badge{flex:0 0 auto;border-radius:999px;background:#fff1df;color:#9a4d00;padding:3px 8px;font-size:.72rem;font-weight:800}.tool-card__description{color:#526070;font-size:.94rem;line-height:1.55}.tag-list{display:flex;flex-wrap:wrap;align-self:end;gap:6px}.tag{border-radius:999px;background:#eef1f4;color:#465361;padding:4px 8px;font-size:.76rem;font-weight:700}.empty-state{margin:34px 0;color:#667085;text-align:center}.detail-header{display:grid;gap:28px;padding:24px 0 28px}.text-button{justify-self:start;min-height:38px;padding:0 12px;font-size:.92rem;font-weight:700}.detail-title{display:flex;align-items:center;gap:16px}.detail-title__icon{width:58px;height:58px;font-size:1.65rem}.detail-title h1{margin:0;color:#101828;font-size:clamp(1.8rem,4vw,3rem);line-height:1.1}.detail-title p{margin:8px 0 0;color:#526070;line-height:1.55}.tool-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}.app-shell--wide .tool-workspace{grid-template-columns:minmax(320px,.72fr) minmax(760px,1.28fr);gap:20px}.tool-form,.result-panel{border:1px solid #d9e0e4;border-radius:8px;background:#fff;padding:20px;box-shadow:0 10px 26px #1018280f}.tool-form{display:grid;gap:16px}.prompt-assistant{display:grid;gap:10px;border:1px solid #d9e0e4;border-radius:8px;background:#f8fafc;padding:12px}.trend-fetch-button{min-height:42px;border:1px solid #0f766e;border-radius:8px;background:#fff;color:#0f766e;padding:0 14px;font-weight:800}.trend-fetch-button:hover{background:#ecfdf9}.prompt-assistant__error{margin:0;color:#b42318;font-size:.86rem;line-height:1.45}.trend-suggestions{display:grid;gap:8px}.trend-suggestion{display:grid;gap:3px;width:100%;border:1px solid #d3d9df;border-radius:8px;background:#fff;color:#344054;padding:10px 12px;text-align:left}.trend-suggestion:hover{border-color:#0f8b8d;background:#fbfefd}.trend-suggestion span{color:#172033;font-size:.92rem;font-weight:800}.trend-suggestion small{color:#667085;font-size:.78rem;line-height:1.45}.reference-upload{display:grid;gap:12px;border:1px solid #d9e0e4;border-radius:8px;background:#fff;padding:14px}.reference-upload__header h3{margin:0;color:#172033;font-size:.95rem}.reference-upload__header p{margin:5px 0 0;color:#667085;font-size:.84rem;line-height:1.5}.file-drop{display:grid;gap:4px;border:1px dashed #aeb8c2;border-radius:8px;background:#f8fafc;padding:14px;color:#344054}.file-drop:hover{border-color:#0f8b8d;background:#fbfefd}.file-drop input{width:100%;color:#475467;font-size:.88rem}.file-drop span{color:#172033;font-weight:800;overflow-wrap:anywhere}.file-drop small{color:#667085;font-size:.78rem}.reference-upload__error{margin:0;color:#b42318;font-size:.84rem;line-height:1.45}.file-run-button{min-height:42px;border:1px solid #263447;border-radius:8px;background:#263447;color:#fff;padding:0 14px;font-weight:800}.file-run-button:hover{background:#172033}.field{display:grid;gap:8px}.field__label{color:#344054;font-size:.9rem;font-weight:800}.field__control{width:100%;min-height:44px;border:1px solid #d3d9df;border-radius:8px;background:#fff;color:#172033;padding:10px 12px;outline:none}.field__control--textarea{min-height:220px;resize:vertical;line-height:1.6}.tool-form--wide-prompt .field:first-child .field__control--textarea{min-height:360px}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.primary-button,.secondary-button{min-height:42px;border-radius:8px;padding:0 16px;font-weight:800}.primary-button{border:1px solid #0f766e;background:#0f766e;color:#fff}.primary-button:hover{background:#0b5f59}.secondary-button{background:#fff}.result-panel{display:grid;gap:14px}.result-panel__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-panel h2{margin:0;color:#172033;font-size:1.08rem}.result-panel__meta{margin:5px 0 0;color:#667085;font-size:.8rem;font-weight:700}.result-panel__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.result-box{min-height:360px;margin:0;overflow:auto;white-space:pre-wrap;border:1px solid #d3d9df;border-radius:8px;background:#101828;color:#f9fafb;padding:18px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9rem;line-height:1.7}.result-box--empty{background:#f8fafc;color:#667085}.result-box--error{border-color:#fecaca;background:#fff7f7;color:#991b1b}.html-result-panel{min-height:560px}.result-tabs{display:flex;align-items:center;gap:6px;border-top:1px solid #d9e0e4;padding-top:8px}.result-tab{min-height:38px;border:0;border-bottom:2px solid transparent;background:transparent;color:#667085;padding:0 12px;font-size:.9rem;font-weight:800}.result-tab--active{border-bottom-color:#0f766e;color:#0f766e}.html-preview{min-height:430px;overflow:hidden;border:1px solid #d3d9df;border-radius:8px;background:#fff}.html-preview--empty{display:grid;place-items:center;color:#667085;background:#f8fafc}.loading-state{display:grid;min-height:430px;place-items:center;align-content:center;gap:10px;color:#475467;text-align:center}.loading-state p{margin:0;color:#172033;font-weight:800}.loading-state span{font-size:.92rem}.loading-state__spinner{width:34px;height:34px;border:3px solid #d9e0e4;border-top-color:#0f766e;border-radius:999px;animation:spin .9s linear infinite}.html-preview__frame{width:100%;height:min(760px,calc(100vh - 270px));min-height:560px;border:0;background:#fff}.html-source{min-height:430px;background:#0f172a}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 920px){.tool-grid,.tool-workspace,.app-shell--wide .tool-workspace{grid-template-columns:1fr}.tool-card{min-height:150px}}@media (max-width: 620px){.app-shell{width:min(100% - 24px,1180px);padding:28px 0 44px}.app-shell--wide{width:min(100% - 24px,1720px)}.hero{gap:22px;padding-top:18px}.tool-card{grid-template-columns:42px 1fr;padding:16px}.tool-card__icon{width:42px;height:42px}.detail-title{align-items:flex-start}.detail-title__icon{width:46px;height:46px}.result-panel__header{align-items:flex-start;flex-direction:column}.result-panel__actions,.form-actions{width:100%}.primary-button,.secondary-button{flex:1 1 140px}}
