.tool-detail-main:has(.unit-app)>.tool-detail-heading{display:none}.tool-detail-workspace:has(.unit-app){overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.unit-app{color:#111b34;font-size:.76rem}.unit-app :where(button,input,select){font:inherit}.unit-app svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.unit-hero{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;margin:0 -20px 12px;padding:3px 20px 12px;background:radial-gradient(circle at 85% 10%,rgba(94,53,239,.07),transparent 34%),#fff}.unit-hero-icon{display:grid;width:56px;height:56px;place-items:center;border:1px solid #c9baff;border-radius:11px;color:#5531ed;background:#faf8ff}.unit-hero-icon svg{width:36px;height:36px}.unit-hero h1{margin:0 0 5px;font-size:1.35rem;line-height:1.1;letter-spacing:-.035em}.unit-hero p{max-width:680px;margin:0;color:#45536b;font-size:.68rem;line-height:1.55}.unit-hero>button{display:flex;min-height:36px;align-items:center;gap:7px;padding:7px 13px;border:1px solid #d7deea;border-radius:7px;color:#243148;background:#fff;font-weight:750;cursor:pointer}
.unit-panel{display:grid;grid-template-columns:.78fr 1.05fr 1.17fr;border:1px solid #dce3ed;border-radius:9px;background:#fff}.unit-panel>div{min-width:0;padding:14px}.unit-panel>div+div{border-left:1px solid #e1e6ee}.unit-panel header{display:flex;align-items:flex-start;gap:9px;margin-bottom:13px}.unit-panel header>span{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:7px;color:#5634ef;background:#eeeaff;font-weight:800}.unit-panel h2,.unit-common h2,.unit-info-grid h2{margin:0;color:#172238;font-size:.78rem}.unit-panel header p{margin:2px 0 0;color:#637188;font-size:.58rem}.unit-panel label{display:block;margin:10px 0 5px;color:#2c3950;font-size:.61rem;font-weight:750}.unit-panel select,.unit-input-wrap{width:100%;min-height:39px;border:1px solid #d8dfea;border-radius:7px;color:#172238;background:#fff}.unit-panel select{padding:7px 34px 7px 10px;cursor:pointer}.unit-input-wrap{display:grid;grid-template-columns:1fr auto;overflow:hidden;margin-top:8px}.unit-input-wrap input{min-width:0;padding:8px 10px;border:0;outline:0;color:#151f35;font-size:1rem;font-weight:700}.unit-input-wrap strong{display:grid;min-width:48px;place-items:center;border-left:1px solid #d8dfea;background:#fafbfe;color:#303d54}.unit-swap{display:grid;width:38px;height:38px;margin:10px auto -1px;place-items:center;border:1px solid #c9baff;border-radius:8px;color:#5634ef;background:#fff;cursor:pointer}.unit-swap:hover{background:#f5f2ff}.unit-result{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:5px;margin-top:10px;padding:18px 12px;border:1px solid #d8ccff;border-radius:8px;text-align:center;background:linear-gradient(135deg,#fbfaff,#f1edff)}.unit-result output{font-size:1.8rem;font-weight:800;letter-spacing:-.04em;color:#4723e8}.unit-result>strong{font-size:.85rem;color:#4723e8}.unit-result small{grid-column:1/-1;color:#61548e;font-size:.55rem}
.unit-category-summary{display:grid;gap:5px;margin-top:11px;padding:10px;border-radius:7px;background:#f8f7ff;color:#59667c;font-size:.58rem;line-height:1.45}.unit-category-summary strong{color:#4930d8;font-size:.65rem}.unit-other-results{max-height:405px;overflow:auto;border:1px solid #e1e6ee;border-radius:7px}.unit-other-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 10px;border-bottom:1px solid #e7ebf1}.unit-other-row:last-child{border:0}.unit-other-row.is-selected{background:#f2efff;color:#4b25e8}.unit-other-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-other-row strong{font:600 .59rem "IBM Plex Mono",monospace;white-space:nowrap}
.unit-common{margin-top:10px;padding:12px;border:1px solid #dce3ed;border-radius:9px;background:#fff}.unit-common header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.unit-common header p{margin:0;color:#69768b;font-size:.56rem}.unit-common>div{display:flex;gap:7px;overflow-x:auto;margin-top:9px;padding-bottom:2px}.unit-common button{flex:0 0 auto;min-height:34px;padding:7px 12px;border:1px solid #dbe2ec;border-radius:7px;color:#26344c;background:#fff;font-weight:700;cursor:pointer}.unit-common button:hover{border-color:#bdaeff;color:#4e2de8;background:#faf8ff}
.unit-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.unit-info-grid article{padding:12px;border:1px solid #dce3ed;border-radius:9px;background:#fff}.unit-info-grid h2{display:flex;align-items:center;gap:7px;margin-bottom:7px}.unit-info-grid h2 span{display:grid;width:24px;height:24px;place-items:center;border-radius:6px;color:#5634ef;background:#efecff}.unit-info-grid :is(ol,ul){display:grid;gap:5px;margin:0;padding:0;list-style:none;counter-reset:steps}.unit-info-grid li{color:#4b596f;font-size:.58rem;line-height:1.4}.unit-info-grid ol li{position:relative;padding-left:21px;counter-increment:steps}.unit-info-grid ol li:before{position:absolute;left:0;display:grid;width:16px;height:16px;place-items:center;border-radius:4px;color:#5634ef;background:#efecff;font-size:.45rem;font-weight:800;content:counter(steps)}.unit-info-grid ul li:before{margin-right:7px;color:#0a9a48;font-weight:800;content:"✓"}.unit-info-grid .is-green{border-color:#d7ebdf;background:#fbfffc}.unit-info-grid .is-green h2{color:#087b3b}.unit-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:1050px){.unit-panel{grid-template-columns:1fr 1.2fr}.unit-other-column{grid-column:1/-1;border-top:1px solid #e1e6ee;border-left:0!important}.unit-other-results{display:grid;grid-template-columns:1fr 1fr;max-height:none}.unit-other-row:nth-last-child(2):nth-child(odd){border-bottom:0}}
@media(max-width:720px){.unit-hero{grid-template-columns:48px 1fr;margin:0;padding:2px 0 10px}.unit-hero-icon{width:46px;height:46px}.unit-hero h1{font-size:1.12rem}.unit-hero>button{grid-column:1/-1;justify-self:end}.unit-panel{grid-template-columns:1fr}.unit-panel>div+div{border-top:1px solid #e1e6ee;border-left:0}.unit-other-column{grid-column:auto}.unit-other-results{grid-template-columns:1fr}.unit-info-grid{grid-template-columns:1fr}.unit-common header{display:block}.unit-common header p{margin-top:3px}}

.unit-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:12px}.unit-primary{min-width:0}.unit-info-grid{display:grid;grid-template-columns:1fr;gap:10px;margin:0;position:sticky;top:76px}.unit-info-grid article{padding:14px}.unit-info-grid h2{font-size:.75rem}.unit-info-grid li{font-size:.62rem;line-height:1.5}.unit-info-grid .unit-trust{display:block;margin-top:11px;padding:8px;border:1px solid #cce8d7;border-radius:6px;color:#07823d;background:#effbf3;text-align:center;font-size:.57rem}.unit-recent{margin-top:10px;padding:12px;border:1px solid #dce3ed;border-radius:9px;background:#fff}.unit-recent>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.unit-recent h2{display:flex;align-items:center;gap:7px;margin:0;color:#172238;font-size:.78rem}.unit-recent h2 span{font-size:1rem;color:#4f2dea}.unit-recent>header button{border:0;color:#665985;background:transparent;font-size:.56rem;cursor:pointer}.unit-recent-list{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:7px;overflow-x:auto}.unit-recent-card{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:8px;min-width:135px;padding:10px;border:1px solid #dde4ed;border-radius:7px;background:#fff;cursor:pointer;text-align:left}.unit-recent-card:hover{border-color:#bdaeff;background:#faf8ff}.unit-recent-card strong{color:#18233a;font-size:.62rem;white-space:nowrap}.unit-recent-card>span{color:#8a94a7}.unit-recent-card small{grid-column:1/-1;color:#5f6d83;font-size:.51rem}.unit-recent-empty{padding:8px;color:#69768b;font-size:.6rem}
@media(max-width:1180px){.unit-page-grid{grid-template-columns:1fr}.unit-info-grid{grid-template-columns:repeat(3,1fr);position:static}.unit-info-grid article{padding:12px}}
@media(max-width:780px){.unit-info-grid{grid-template-columns:1fr}.unit-recent-list{grid-template-columns:repeat(5,145px)}}

/* Unit tools follow the shared page pattern: workspace first, information cards last. */
.unit-page-grid{display:block}.unit-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:static;margin-top:10px}.unit-other-results{max-height:none;overflow:visible}.unit-other-row.is-selected{color:#4b25e8;background:#eeeaff;box-shadow:inset 3px 0 #5a35f0}.unit-show-more{display:none;width:100%;min-height:32px;margin-top:7px;border:1px solid #dbe2ec;border-radius:6px;color:#26344c;background:#fff;font-weight:750;cursor:pointer}.unit-show-more:hover{border-color:#bcaeff;color:#4e2de8}.unit-show-more span{margin-left:5px;color:#5634ef}.unit-recent-body{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:7px}.unit-recent-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;overflow:visible}.unit-recent-card{min-width:0;overflow:hidden;padding:9px 8px}.unit-recent-card strong{overflow:hidden;text-overflow:ellipsis;font-size:.59rem}.unit-recent-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-recent-next{display:grid;width:28px;height:28px;place-items:center;border:1px solid #d9e0eb;border-radius:50%;color:#4630d5;background:#fff;font-size:1rem;cursor:pointer}.unit-recent-next:disabled{color:#a2aabd;cursor:default}.unit-recent-next:not(:disabled):hover{border-color:#bcaeff;background:#f5f2ff}
@media(max-width:980px){.unit-info-grid{grid-template-columns:1fr}.unit-recent-body{overflow:hidden}.unit-recent-list{grid-template-columns:repeat(5,minmax(125px,1fr));overflow:hidden}.unit-recent-card:nth-child(n+4){display:none}}
@media(max-width:600px){.unit-recent-list{grid-template-columns:1fr}.unit-recent-card:nth-child(n+2){display:none}}
