.tool-app{background:#fff;border:1px solid #dfe6ef;border-radius:16px;padding:clamp(20px,4vw,36px);box-shadow:0 6px 24px #16233905;margin:24px 0 36px;min-width:0}
.tool-app h2{margin:0 0 20px;font-size:22px}.tool-app label{display:block;margin:12px 0 7px;font-weight:600;color:#34445b}.tool-app input:not([type=checkbox]):not([type=range]):not([type=color]),.tool-app select,.tool-app textarea{max-width:100%;min-width:0;padding:12px;border:1px solid #ccd6e3;border-radius:8px;background:#fbfcfe;color:#1c293f;font:inherit}.tool-app textarea{width:100%;min-height:160px;line-height:1.65}.tool-app .btn-row,.inbox-box{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}.tool-app button{min-height:44px;padding:10px 18px;border-radius:8px;cursor:pointer;white-space:normal}.tool-app button:disabled{opacity:.55;cursor:not-allowed}.tool-app pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f6f8fc;border-radius:10px}.tool-app .status-msg{min-height:24px;margin:14px 0;color:#52627a}.tool-app :focus-visible{outline:3px solid #b1c5ff;outline-offset:3px}.inbox-address{flex:1 1 280px;overflow-wrap:anywhere;font-family:ui-monospace,monospace;padding:14px;background:#f4f7fb;border-radius:8px}.message-list{padding:0;list-style:none}.message-list li{padding:16px;border-bottom:1px solid #e3e9f1;cursor:pointer}.message-list li:hover{background:#f4f7fb}.swatch-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.swatch{min-height:210px;display:flex;flex-direction:column;justify-content:space-between;padding:12px;border-radius:12px}.swatch button{background:#ffffffed;color:#172238;border:1px solid #ffffff80;font-size:12px;padding:8px}.palette-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.palette-controls label{margin:0}.palette-controls input[type=color]{display:block;width:64px;height:44px}.palette-preview{padding:24px;border-radius:12px;margin:20px 0;border:1px solid #e0e5ef}.tool-app [aria-busy=true]::before,.btn[aria-busy=true]::before{content:'';display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:8px;animation:busy-spin .8s linear infinite}@keyframes busy-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){[aria-busy=true]::before{animation:none!important}}@media(max-width:650px){.swatch-row{grid-template-columns:1fr}.swatch{min-height:100px;flex-direction:row;align-items:center}.tool-app{padding:20px}.inbox-box .btn{flex:1}.palette-controls{align-items:start}}
.tool-form-grid,.new-tool-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.new-tool-results section{min-width:0}.new-tool-results pre,.tall-output{min-height:160px;max-height:440px;overflow:auto}.inline-check{display:flex!important;align-items:center;gap:9px}.inline-check input{flex:0 0 auto}.case-actions .btn{flex:1 1 130px}.diff-inputs textarea{min-height:240px}.diff-output{max-height:620px;overflow:auto;border:1px solid #dce3ed;border-radius:10px;background:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.diff-row{display:grid;grid-template-columns:44px 44px 24px minmax(0,1fr);min-height:30px;border-bottom:1px solid #edf0f5}.diff-row:last-child{border-bottom:0}.diff-row>span{padding:6px;text-align:right;color:#748198;user-select:none}.diff-row code{padding:6px 10px;overflow-wrap:anywhere;white-space:pre-wrap}.diff-added{background:#ecfdf3}.diff-removed{background:#fff0f0}.diff-added>span:nth-child(3){color:#16803d}.diff-removed>span:nth-child(3){color:#c23535}@media(max-width:700px){.tool-form-grid,.new-tool-results{grid-template-columns:1fr}.diff-row{grid-template-columns:36px 36px 20px minmax(0,1fr)}}

.tool-app .tm-message{display:block;width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:0;overflow-wrap:anywhere;font:inherit}
.tool-app .file-list li{flex-wrap:wrap;gap:12px}.file-list .file-name{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}.file-actions{display:flex;flex-wrap:wrap;gap:8px}.file-actions .btn{min-height:44px}.image-file-list img{width:100px;max-height:100px;object-fit:contain;flex:0 0 auto}@media(max-width:600px){.file-actions{width:100%}.file-actions .btn{flex:1 1 80px}}

.temp-mail-console{padding:0;overflow:hidden}.temp-mail-controls{padding:clamp(22px,4vw,34px);background:linear-gradient(135deg,#f8faff,#eef3ff);border-bottom:1px solid #dfe6ef}.temp-mail-heading,.temp-mail-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.temp-mail-heading h2{margin:6px 0 0}.temp-mail-live{display:inline-flex;align-items:center;gap:8px;color:#496078;font-size:13px;font-weight:600}.temp-mail-live>span{width:9px;height:9px;border-radius:50%;background:#36a269;box-shadow:0 0 0 4px #36a2691f}.temp-mail-console .inbox-box{align-items:end;margin:24px 0 8px}.inbox-address-wrap{flex:1 1 380px}.inbox-address-wrap>span{display:block;margin-bottom:7px;color:#596a82;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.temp-mail-console .inbox-address{padding:15px 16px;background:#fff;border:1px solid #cfdaea;border-radius:10px;color:#12233e}.temp-mail-actions{display:flex;flex-wrap:wrap;gap:10px}.temp-mail-console .status-msg{margin:14px 0 0}.temp-mail-workspace{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(0,1.4fr);min-height:380px}.temp-mail-panel{min-width:0;background:#fff}.temp-mail-inbox{border-right:1px solid #dfe6ef}.temp-mail-panel-head{min-height:68px;padding:18px 22px;border-bottom:1px solid #e4e9f1}.temp-mail-panel-head h3{margin:0;font-size:17px}.temp-mail-count{padding:5px 9px;border-radius:999px;background:#eef3ff;color:#405bb1;font-size:12px;font-weight:700}.temp-mail-console .message-list{margin:0}.temp-mail-console .message-list li{padding:0;border-bottom:1px solid #e7ebf2;cursor:default}.temp-mail-console .message-list li:has(.tm-message):hover{background:#f6f8fc}.temp-mail-console .message-list li:not(:has(.tm-message)){padding:24px;color:#68778e}.temp-mail-console .tm-message{min-height:72px;padding:16px 22px;border-radius:0;line-height:1.5}.temp-mail-console .tm-message.is-active{background:#edf2ff;color:#2947a6;box-shadow:inset 3px 0 #4565e8}.temp-mail-reader #tm-viewer{padding:24px}.temp-mail-reader #tm-viewer h3{margin:0 0 8px;font-size:22px}.temp-mail-reader #tm-viewer>p{color:#69788f}.temp-mail-reader #tm-viewer pre{max-height:520px;margin-top:22px;overflow:auto;background:#f6f8fc;border:1px solid #e3e9f1;line-height:1.7}.temp-mail-empty{min-height:250px;display:grid;place-content:center;text-align:center;color:#718097}.temp-mail-empty strong{color:#263750;font-size:17px}.temp-mail-empty span{display:block;margin-top:7px}.temp-mail-console [aria-busy=true]::before{animation-name:busy-spin}
@media(max-width:760px){.temp-mail-heading{align-items:flex-start;flex-direction:column}.temp-mail-workspace{grid-template-columns:1fr}.temp-mail-inbox{border-right:0;border-bottom:1px solid #dfe6ef}.temp-mail-actions{width:100%}.temp-mail-actions .btn{flex:1 1 140px}.temp-mail-reader #tm-viewer{padding:18px}}
