@font-face{font-family:Inter;src:url('/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--paper:#f5f2e9;--white:#fffcf6;--ink:#1d3144;--muted:#485d6d;--border:#c8cdcb;--blue:#245c82;--accent:#c15a3f}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.53 Inter,system-ui,sans-serif}
h1,h2,p,ol{margin:0}
a{color:var(--blue);text-underline-offset:.18em}
.shell{width:min(1140px,calc(100% - 48px));margin-inline:auto}
.mast,.footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--border);font-size:.85rem;font-weight:660}
.brand{display:flex;align-items:center;gap:.6rem;font-size:1.15rem;font-weight:840;letter-spacing:-.042em;color:var(--ink);text-decoration:none}
.mark{display:grid;place-items:center;width:36px;height:36px;background:var(--blue);color:var(--white);border-radius:6px;font-size:1.26rem}
.hero{padding:clamp(2.3rem,6vw,4.8rem) 0 1.65rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.2rem;align-items:end}
h1{font-size:clamp(2.55rem,7.7vw,5.65rem);line-height:.96;letter-spacing:-.078em;font-weight:840}
h1 em{color:var(--blue);font-style:normal}
.hero p{color:var(--muted);max-width:49ch;margin-top:1rem}
.hero-side{display:grid;justify-items:end;gap:.7rem;font-size:.87rem;font-weight:690}
button,.button{min-height:42px;border-radius:7px;padding:.5rem .75rem;font:inherit;font-weight:720;font-size:.84rem;border:1px solid #7593a4;color:var(--ink);background:#e3eef4;cursor:pointer;text-decoration:none}
button:hover,.button:hover{background:#d2e4ef}
button:disabled{opacity:.52;cursor:default}
.workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:1rem;align-items:start}
.card{min-width:0;background:var(--white);border:1px solid var(--border);border-radius:12px;padding:clamp(1rem,2.8vw,1.65rem)}
h2{font-size:1.25rem;line-height:1.2;letter-spacing:-.032em}
.fields{display:grid;gap:.73rem}
label{display:grid;gap:.22rem;align-content:start;min-width:0;color:#2f4755;font-size:.83rem;font-weight:700}
label small{font-size:.74rem;line-height:1;color:var(--muted);font-weight:540}
input,select,textarea{font:inherit;color:var(--ink);background:#fffdf9;min-height:41px;min-width:0;width:100%;border:1px solid #98aab1;border-radius:7px;padding:.43rem .58rem}
textarea{resize:vertical}
.dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.55rem}
#storage,.timeline-note{color:var(--muted);font-size:.83rem}
.timeline{border-top:4px solid var(--blue)}
.timeline-note{margin-top:.42rem}
#error{color:var(--muted);font-size:.86rem;margin-top:.7rem}
#error:empty,#events:empty{display:none}
#events{list-style:none;padding:0 0 0 .95rem;margin:1.15rem 0;border-left:2px solid #a4bcc8}
#events li{position:relative;padding:0 0 .95rem .26rem;display:grid;gap:.11rem;overflow-wrap:anywhere}
#events li:last-child{padding-bottom:0}
#events li::before{content:'';position:absolute;left:-1.24rem;top:.41rem;width:8px;height:8px;border-radius:50%;background:var(--accent)}
#events time{font-size:.86rem;color:var(--muted);font-variant-numeric:tabular-nums}
#item-note{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:7px;background:#edf0eb;padding:.65rem .72rem;font-size:.87rem}
#actions:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin-top:.9rem;font-size:.85rem}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.footer{margin-top:2.7rem;border:0;border-top:1px solid var(--border)}
.guide{margin:3.3rem auto;max-width:730px}
.guide h1{font-size:clamp(2.25rem,6.2vw,4.6rem);letter-spacing:-.065em}
.guide h2{margin-top:1.55rem}
.guide p,.guide ol{margin:.85rem 0;color:var(--muted)}
.guide li+li{margin-top:.35rem}
.guide .button{display:inline-block;margin-top:.6rem}
@media(max-width:770px){.workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.shell{width:calc(100% - 26px)}.mast,.footer{font-size:.77rem}.hero{grid-template-columns:minmax(0,1fr);gap:.85rem}.hero-side{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.dates{grid-template-columns:minmax(0,1fr)}.guide{margin:2.2rem auto}}
