[data-tools-hub] .rest-intro{max-width:54rem;margin-bottom:1.8rem}.rest-switch{display:flex;max-width:42rem;padding:.35rem;border:1px solid var(--line, #d6d5cf);border-radius:1.15rem;margin-bottom:1.5rem;gap:.3rem}.rest-switch a{flex:1;padding:.85rem .7rem;text-align:center;text-decoration:none;border-radius:.8rem;color:var(--ink,#10243b)}.rest-switch [aria-current=page]{background:#bfd9e7;font-weight:700;color:#17364a}.rest-form{padding:clamp(1.15rem,3vw,2rem);border:1px solid var(--line,#d6d5cf);border-radius:1.5rem;background:var(--card,#fdfbf7)}.rest-main-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,.7fr);gap:1rem}.rest-form label{display:grid;gap:.5rem;color:var(--ink,#10243b);min-width:0;font-size:.95rem}.rest-form input,.rest-form select{width:100%;min-width:0;min-height:3.2rem;background:var(--paper,#fbf9f4);color:var(--ink,#10243b);border:1px solid var(--line,#d6d5cf);border-radius:.7rem;font:inherit;padding:.65rem .8rem}.rest-form :focus-visible,.rest-card :focus-visible,.rest-switch a:focus-visible{outline:3px solid #cf922f;outline-offset:3px}.rest-return{font-size:.9rem;line-height:1.6;color:var(--muted,#637788);margin:.9rem 0 0}.rest-options{margin:1.3rem 0;line-height:1.6}.rest-options>summary,.rest-details>summary{cursor:pointer;text-underline-offset:.22em;padding:.55rem 0;color:var(--muted,#637788)}.rest-options[open]>summary{margin-bottom:.8rem}.rest-timing{border:0;padding:0;margin:1.4rem 0}.rest-timing legend{font-weight:700;padding:0}.rest-timing p{color:var(--muted,#637788);max-width:50rem}.rest-timing-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.rest-submit,.rest-save{border:0;border-radius:.8rem;padding:1rem 1.25rem;min-height:3.4rem;font:inherit;font-weight:650;cursor:pointer;background:#bfd9e7;color:#18394e}.rest-submit{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:1rem}.rest-submit:disabled,.rest-save:disabled{opacity:.55;cursor:wait}.rest-submit:hover,.rest-save:hover{background:#accfdf}.rest-status{min-height:2rem;line-height:1.6;margin:1.25rem 0}.rest-status a{display:inline-block;margin:.35rem 0 0 .5rem}.rest-remove{border:0;padding:0;margin:1.2rem 0}.rest-remove legend{font-weight:650}.rest-remove p{font-size:.95rem;color:var(--muted,#637788)}.rest-remove>div{display:flex;flex-wrap:wrap;gap:.6rem}.rest-remove label{display:flex;align-items:center;gap:.6rem;padding:.65rem .8rem;border:1px solid var(--line,#d6d5cf);border-radius:.65rem}.rest-remove input{width:1.1rem;min-height:1.1rem;accent-color:#4a7b99}.rest-result-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.2rem}.rest-result-tabs button{border:1px solid var(--line,#d6d5cf);border-radius:2rem;padding:.7rem 1rem;background:transparent;color:var(--ink,#10243b);font:inherit;cursor:pointer}.rest-result-tabs [aria-pressed=true]{background:#bfd9e7;color:#18394e;border-color:#bfd9e7}.rest-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:stretch}.rest-card{padding:clamp(1.2rem,2.5vw,2rem);border:1px solid var(--line,#d6d5cf);border-radius:1.5rem;background:var(--card,#fdfbf7);display:flex;flex-direction:column;min-width:0}.rest-card h2{font-family:var(--font-display,"Noto Serif Display",serif);font-weight:500;line-height:1.15;font-size:clamp(1.8rem,3vw,2.6rem);margin:.7rem 0 1.3rem;overflow-wrap:anywhere}.rest-card-top{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.rest-card-top p{margin:0}.rest-state{font-size:.8rem;color:var(--muted,#637788);text-align:right}.rest-timeline{list-style:none;padding:0;margin:0 0 .5rem;counter-reset:rest}.rest-timeline li{position:relative;padding:0 0 1.4rem 3rem;counter-increment:rest}.rest-timeline li:before{content:counter(rest);position:absolute;left:0;top:.1rem;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#bfd9e7;color:#18394e;font-weight:600}.rest-timeline li:not(:last-child):after{content:"";position:absolute;left:1rem;top:2.3rem;bottom:.2rem;border-left:1px dashed #7ba4bb}.rest-timeline li:nth-child(2):before{background:#d49a46;color:#10243b}.rest-step-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#637788);margin:0 0 .35rem}.rest-timeline a,.rest-timeline strong{font-family:var(--font-display,"Noto Serif Display",serif);font-size:1.3rem;font-weight:500;line-height:1.3;color:var(--ink,#10243b);text-decoration:none}.rest-timeline li p:last-child:not(.rest-step-label){color:var(--muted,#637788);font-size:.95rem;line-height:1.5;margin:.35rem 0 0}.rest-impact{border-top:1px solid var(--line,#d6d5cf);margin:0;padding:1rem 0 0 1.15rem;color:var(--muted,#637788);font-size:.92rem;line-height:1.6}.rest-details{font-size:.9rem;line-height:1.6;margin:.75rem 0 1.25rem}.rest-full-plan{padding-left:1.3rem}.rest-facts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.rest-facts dt{color:var(--muted,#637788)}.rest-facts dd{margin:0}.rest-save{width:100%;margin-top:auto}.rest-explain,.rest-published{margin:3.5rem 0}.rest-explain h2,.rest-published h2{font-family:var(--font-display,"Noto Serif Display",serif);font-weight:500;font-size:clamp(1.7rem,3vw,2.3rem)}.rest-explain ol{padding-left:1.4rem;line-height:1.8;max-width:55rem}.rest-published ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.rest-published li{border-bottom:1px solid var(--line,#d6d5cf);padding:.75rem 0;min-width:0;line-height:1.5}.rest-published span{display:block;color:var(--muted,#637788);font-size:.85rem}.rest-bottom-link{margin:2rem 0}
@media(max-width:700px){.rest-main-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rest-main-fields>label:first-child{grid-column:1/-1}.rest-timing-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.rest-results{grid-template-columns:1fr}.rest-card-top{gap:.6rem}.rest-published ul{grid-template-columns:1fr}.rest-options .rest-main-fields{grid-template-columns:1fr}.rest-switch a{font-size:.92rem}.rest-status a{margin-left:0}}
@media(prefers-reduced-motion:reduce){.rest-tool *{scroll-behavior:auto}}
html[data-theme=night] :is(.rest-form,.rest-card){background:rgba(26,37,45,.65)}html[data-theme=night] .rest-form :is(input,select){background:#18252f;color:#eef0ee}html[data-theme=night] :is(.rest-state,.rest-return,.rest-options>summary,.rest-details>summary,.rest-timing p,.rest-timeline li p:last-child,.rest-impact,.rest-facts dt,.rest-published span){color:#a8bac5}
