/* Restart Technology support portal. Based on the design preview approved 30 November 2026.
   Spacing on the 4-point grid, in rem. Client colours come from /brand.css. */
:root{--blue:#3498DB;--blue-dark:#176493;--grey:#5B5B5B;--ink:#363636;--bg:#f4f7f9;--line:#dbe4ea;--client:#176493;--client-soft:#e8f4fc;--client-ink:#0f3f5c}
*{box-sizing:border-box}
body{margin:0;display:flex;flex-direction:column;min-height:100vh;background:var(--bg);color:var(--ink);font:1rem/1.5 "Myriad Pro","Segoe UI",system-ui,sans-serif}
h1,h2,h3{font-family:"Hero","Myriad Pro","Segoe UI",system-ui,sans-serif;line-height:1.25;margin:0}
h1{font-size:1.75rem}
p{margin:0}
sup{font-size:.7em;line-height:0}
[hidden]{display:none!important}
.note{background:#fff2d8;color:#784a08;text-align:center;font-size:.875rem;padding:.5rem 1rem}
.wrap{max-width:75rem;margin:0 auto;padding:0 1rem}
.top{background:#fff}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:1rem;padding-bottom:1rem}
.top img{width:15rem;max-width:65%;height:auto;display:block}
.top form{margin:0}
.strip{background:var(--grey);color:#fff;border-top:4px solid var(--blue);padding:.75rem 0;font-weight:600}
button,input,textarea{font:inherit}
button{cursor:pointer;border:0;border-radius:.5rem}
a{color:var(--blue-dark)}
.link{background:none;color:var(--blue-dark);padding:.5rem 0;font-weight:600;white-space:nowrap;text-decoration:none;display:inline-block}
.link:hover{text-decoration:underline}
.btn{background:var(--blue-dark);color:#fff;padding:.75rem 1.5rem;font-weight:700}
.btn:hover{background:#0f4f75}
.card{background:#fff;border:1px solid var(--line);border-radius:1rem}
main.wrap{width:100%;flex:1;padding-top:1.5rem;padding-bottom:3rem}
.narrow{max-width:26rem;margin:2rem auto;padding:2rem}
label{display:block;font-weight:600;margin:1rem 0 .5rem}
input,textarea{width:100%;padding:.75rem;border:1px solid #c9d6e2;border-radius:.5rem;background:#fff;color:var(--ink)}
input:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
textarea{min-height:8rem;resize:vertical}
.stack>*+*{margin-top:1rem}
.actions{margin-top:1rem}
.hint{font-size:.875rem;color:var(--grey);margin-top:.25rem}
.alert{background:#fdecea;color:#8a1c12;border-radius:.5rem;padding:.75rem 1rem;margin-top:1rem}
.codebox{background:#fff2d8;color:#784a08;border-radius:.5rem;padding:.75rem 1rem;margin-top:1rem;font-size:.875rem}
.codebox strong{font-size:1.25rem;letter-spacing:.2em}
.turnstile{margin-top:1rem;min-height:4.5rem}
.hero{position:relative}
.hero img{display:block;width:100%;height:18rem;object-fit:cover;border-radius:1rem}
.hero .plain{height:8rem;border-radius:1rem;background:var(--client)}
.logo{position:absolute;left:1.5rem;bottom:-2rem;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1rem 1.5rem;color:var(--client);font:700 1.25rem/1.25 Georgia,serif;max-width:calc(100% - 3rem)}
.hero .logo img{display:block;width:auto;height:3rem;max-width:12rem;object-fit:contain;border-radius:0}
.hello{padding:3rem 0 1.5rem}
.hello p{color:var(--grey)}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.tile{display:block;text-align:left;padding:1.5rem;border-radius:1rem;background:var(--client);color:#fff;text-decoration:none}
.tile.alt{background:var(--client-soft);color:var(--client-ink)}
.tile:hover{filter:brightness(.95)}
.tile svg,.thumb svg{width:2rem;height:2rem;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.tile strong{display:block;font-size:1.25rem;margin-top:1rem}
h2{font-size:1.25rem;margin:2rem 0 1rem}
.item{display:flex;gap:1rem;width:100%;text-align:left;padding:1rem;margin-bottom:.75rem;color:inherit;border-radius:1rem;text-decoration:none}
a.item:hover{border-color:#b7c8d4}
.thumb{width:3rem;height:3rem;flex:none;border-radius:.5rem;background:var(--bg);display:grid;place-items:center;color:var(--grey)}
.thumb svg{width:1.5rem;height:1.5rem}
.body{flex:1;min-width:0;display:block}
.body>.meta{display:block}
.row{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;align-items:center}
.row b{overflow-wrap:anywhere}
.meta{font-size:.875rem;color:var(--grey)}
.pill{font-size:.875rem;font-weight:600;border-radius:2rem;padding:.25rem .75rem;background:#e8f4fc;color:var(--blue-dark);white-space:nowrap}
.pill.wait{background:#fff2d8;color:#784a08}.pill.done{background:#e6f3e1;color:#2c5c12}.pill.closed{background:#eceff1;color:#4a4a4a}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;margin-top:.75rem}
.steps i{height:.5rem;border-radius:.25rem;background:#e6ecf1}
.steps i.on{background:var(--blue)}.steps.wait i.on{background:#d99a1c}.steps.done i.on{background:#5a9a2c}
.stepnames{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;font-size:.75rem;color:var(--grey);margin-top:.25rem}
.panel{padding:1.5rem;margin-top:1rem}
.panel .row h1{flex:1;min-width:0;overflow-wrap:anywhere}
.thread{margin-top:1.5rem}
.msg{border-radius:1rem;padding:1rem;background:var(--bg);white-space:pre-wrap;overflow-wrap:anywhere}
.msg.restart{background:#e8f4fc}
.msg b{display:block;font-size:.875rem;white-space:normal}
.empty{padding:1.5rem;color:var(--grey)}
.prose h2{margin:2rem 0 .5rem}
.prose p,.prose ul{margin:0 0 1rem}
.prose ul{padding-left:1.5rem}
.prose li+li{margin-top:.5rem}
a[href^="tel:"]{white-space:nowrap}
.due{font-weight:600;color:var(--ink)}
.choices{border:0;padding:0;margin:1rem 0 0}
.choices legend{font-weight:600;padding:0;margin-bottom:.5rem}
.choice{display:flex;gap:.75rem;align-items:flex-start;font-weight:400;margin:0 0 .5rem;padding:.75rem 1rem;border:1px solid #c9d6e2;border-radius:.5rem;cursor:pointer}
.choice input{width:auto;margin:.25rem 0 0;accent-color:var(--blue-dark)}
.choice strong{display:block}
.choice:has(input:checked){border-color:var(--blue-dark);background:#e8f4fc}
.after{margin-top:1.5rem}
.files{list-style:none;margin:.75rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem;white-space:normal}
.files img{display:block;width:6rem;height:6rem;object-fit:cover;border-radius:.5rem;border:1px solid var(--line);background:#fff}
.files .file{display:inline-flex;flex-direction:column;padding:.5rem .75rem;border:1px solid var(--line);border-radius:.5rem;background:#fff;font-weight:600;text-decoration:none;overflow-wrap:anywhere;max-width:16rem}
.files .file small{font-weight:400;color:var(--grey)}
input[type=file]{padding:.5rem}
.reply{margin-top:1.5rem;border-top:1px solid var(--line);padding-top:.5rem}
footer{background:var(--grey);color:#fff;padding:1.5rem 0;font-size:.875rem}
footer .wrap{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
footer a{color:#fff}
@media(max-width:36rem){.tiles{grid-template-columns:1fr}.hero img{height:10rem}.logo{left:1rem;padding:.75rem 1rem}.hero .logo img{height:2rem}.narrow{padding:1.5rem 1rem}h1{font-size:1.5rem}}
