
:root{font-family:Arial,Helvetica,sans-serif;color:#21252c;background:#f0f2f6;color-scheme:light;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column;padding:0 40px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #3874dd;outline-offset:4px}[hidden]{display:none!important}main{width:100%;max-width:860px;margin:auto; padding:70px 0 100px}.heading{display:flex;align-items:center;gap:15px;margin-bottom:23px}.logo{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#2377e8;color:white;font-size:38px;font-weight:700;line-height:1;letter-spacing:-2px;padding-bottom:5px}h1{font-size:32px;font-weight:500;letter-spacing:-.8px;line-height:1.2;margin:0}.intro{font-size:16px;line-height:1.6;color:#767d88;margin:0 0 23px}.input-row{display:flex;gap:12px;align-items:stretch}input{flex:1;min-width:0;background:#fff;border:1px solid #d6dbe3;border-radius:14px;font-size:16px;color:#242a32;padding:18px 20px;outline:none;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#a0a6b0}input:focus{border-color:#5692ee;box-shadow:0 0 0 2px #2377e812}#submit{padding:17px 23px;border:0;border-radius:14px;background:#2377e8;color:white;font-size:16px;white-space:nowrap}#submit:hover{background:#1766d3}#submit:disabled{background:#e3e8f0;color:#a2aab7;cursor:default}#message{font-size:14px;line-height:1.6;color:#b64039;margin:0}#message:not(:empty){margin-top:17px}#result:not([hidden]){display:flex;align-items:center;gap:15px;justify-content:space-between;margin-top:23px;background:#fff;padding:17px 20px;border-radius:14px;border:1px solid #d6dbe3}#short{font-size:22px;color:#2377e8;word-break:break-all}#copy{font-size:14px;border:0;background:#edf3fd;color:#2377e8;padding:11px 14px;border-radius:9px;white-space:nowrap}details{margin-top:26px;font-size:13px;color:#8b929d}summary{cursor:pointer;width:fit-content}#history-count{margin-left:5px;color:#a3a9b2}#history-list{margin-top:15px}.history-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #dee3eb;padding:14px 0}.history-row>a{font-size:14px;color:#3478cf;white-space:nowrap}.history-row>span{font-size:12px;color:#9ba1aa;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.history-row button{margin-left:auto;border:0;color:#737e8e;background:transparent;font-size:12px;cursor:pointer}.history-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:17px;font-size:11px}.history-bottom button{border:0;background:transparent;color:#8b929d;font-size:11px}footer{width:100%;padding:25px 0 28px;border-top:1px solid #e0e5ed;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#8b929d;gap:20px}.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:650px){body{padding:0 24px}main{padding:68px 0 80px;margin:0 auto auto}.heading{gap:12px;margin-bottom:21px}h1{font-size:28px;letter-spacing:-.6px}.logo{width:45px;height:45px;font-size:35px;border-radius:14px}.intro{font-size:14px;line-height:1.7;margin-bottom:20px}.intro br{display:none}.input-row{gap:10px}input{font-size:14px;padding:18px 14px}#submit{font-size:14px;padding:16px 17px}footer{font-size:11px;padding:24px 0}#short{font-size:19px}#copy{font-size:12px;padding:10px}.history-row{flex-wrap:wrap;gap:8px}.history-row>span{order:3;flex-basis:100%;font-size:11px}}@media(max-width:410px){h1{font-size:25px}.input-row{flex-wrap:wrap}input{flex-basis:100%}#submit{width:100%}#result:not([hidden]){flex-wrap:wrap}#short{flex-basis:100%}}

/* UKLI dark identity */
:root{background:#141518;color:#eceef2;color-scheme:dark}a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#ff986a}.heading{gap:24px;margin-bottom:28px;align-items:center}.logo{display:block;background:none;width:179px;height:50px;border-radius:0;padding:0;letter-spacing:normal}.logo img{display:block;width:179px;height:50px}.brand-caption{font-size:13px;line-height:1.4;color:#858a95;border-left:1px solid #383a42;padding-left:24px}.intro{color:#9b9faa;font-size:16px;line-height:1.7;margin-bottom:25px}input{background:#1e2025;border-color:#383b44;color:#f2f3f5;box-shadow:none}input::placeholder{color:#777d89}input:focus{border-color:#cf9276;box-shadow:0 0 0 2px #ff986a0d}#submit{background:#ff986a;color:#271b15}#submit:hover{background:#ffad87}#submit:disabled{background:#292b32;color:#686d78}#result:not([hidden]){background:#1c1e23;border-color:#383b44}#short{color:#ffad87}#copy{background:#37302c;color:#ffb18e}#message{color:#f3a49d}details{color:#969aa5}#history-count{color:#737985}.history-row{border-color:#30333b}.history-row>a{color:#ffc1a5}.history-row>span{color:#7f8591}.history-row button,.history-bottom button{color:#a9aebb}.history-bottom{color:#777e8a}footer{border-color:#2c2f36;color:#787f8c}footer a:hover{color:#e3e5eb}@media(max-width:650px){.heading{gap:19px;margin-bottom:27px}.brand-caption{font-size:11px;padding-left:19px}.logo,.logo img{width:150px;height:42px}.intro{font-size:14px;max-width:440px}}@media(max-width:410px){.brand-caption{font-size:10px;padding-left:15px}.heading{gap:15px}.logo,.logo img{width:135px;height:38px}}

#result:not([hidden]){flex-wrap:wrap}.result-actions{display:flex;align-items:center;gap:15px}.stats-link{color:#ffb18e!important;font-size:12px!important;white-space:nowrap;flex:0!important}.stats-link:hover{text-decoration:underline}.report-note{flex-basis:100%;margin:0;color:#8b929e;font-size:11px;line-height:1.6}.analytics-hint{font-size:11px;line-height:1.6;color:#7f8794;margin:12px 0 0}.history-row>a.stats-link{margin-left:0}.history-row>a:first-child{flex-shrink:0}@media(max-width:650px){.history-row>a.stats-link{order:2}.history-row>span{order:3}.analytics-hint{font-size:10px}.result-actions{gap:20px}}

/* Keep links and footer usable on narrow screens. */
.heading>*{min-width:0}.logo{flex-shrink:0}input{font-size:16px}button{min-height:44px}.history-row>a:first-child{white-space:normal;overflow-wrap:anywhere;max-width:100%}.history-row button,.history-bottom button{min-height:44px;padding:10px 8px}.result-actions>a{display:inline-flex;align-items:center;min-height:44px}.history-row .stats-link{display:inline-flex;align-items:center;min-height:44px}.history-bottom{flex-wrap:wrap;gap:12px}footer{flex-wrap:wrap;line-height:1.5}footer a{min-height:44px;display:inline-flex;align-items:center}dialog{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}@media(max-width:650px){input{font-size:16px}.analytics-hint{font-size:12px}footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;font-size:13px}footer span{grid-column:1;grid-row:2}footer a:last-child{grid-column:2;grid-row:2}.brand-caption{font-size:12px}.history-row>a{font-size:14px}.history-row>span{font-size:12px}}
