:root{color:#15283b;font-synthesis:none;--navy:#122336;--accent:#006a58;--line:#d7e1ea;--muted:#506579;background:#f3f6fa;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--line);min-height:44px;color:var(--navy);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;padding:.55rem .85rem;font-weight:650;display:inline-flex}button:hover,.button:hover{background:#edf3f9}button:disabled{opacity:.48;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.file:focus-within{outline-offset:2px;outline:3px solid #16a58a}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#005648}.danger{color:#a52a3b;margin-top:.75rem}.top{background:var(--navy);color:#fff}.top-inner{justify-content:space-between;align-items:center;max-width:1250px;margin:auto;padding:.75rem 1.25rem;display:flex}.brand{align-items:center;gap:.45rem;font-weight:750;display:flex}.brand img{width:42px;height:42px}.connection{color:#d9e7ef;align-items:center;gap:.45rem;font-size:.82rem;display:flex}.connection i{background:#62e4c0;border-radius:50%;width:9px;height:9px}.connection i.offline{background:#ffbd74}main{max-width:1250px;margin:auto;padding:1.5rem 1.25rem 2rem}.intro{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.25rem;display:flex}.eyebrow{letter-spacing:.13em;color:var(--accent);font-size:.73rem;font-weight:800}h1{letter-spacing:-.045em;margin:.2rem 0;font-size:clamp(1.9rem,5vw,3rem)}h2{margin:0 0 .65rem;font-size:1.15rem}h3{margin:1.2rem 0 .6rem;font-size:1rem}p{line-height:1.45}.intro p,.section-top p{color:var(--muted);margin:0}.save-indicator{color:var(--accent);text-align:right;font-size:.82rem}.card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;margin-bottom:.85rem;padding:1rem}summary{cursor:pointer;min-height:30px;padding-top:.25rem;font-weight:700}details[open] summary{margin-bottom:.75rem}.hierarchy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.hierarchy-grid>div{align-content:start;gap:.7rem;display:grid}.create{background:#f3f6fa;border-radius:10px;gap:.55rem;padding:.75rem;display:grid}label{gap:.3rem;font-size:.86rem;font-weight:640;display:grid}input:not([type=checkbox]),select,textarea{border:1px solid var(--line);width:100%;min-height:44px;color:var(--navy);background:#fbfdff;border-radius:8px;padding:.55rem .65rem;font-size:1rem}textarea{resize:vertical}.file{text-align:center;font-size:1rem;position:relative}.file input{opacity:0;width:1px;height:1px;min-height:0;padding:0;position:absolute;overflow:hidden}.tabs{gap:.4rem;margin:.9rem 0;display:flex}.tabs button{padding-inline:1.1rem}.tabs button[aria-current]{background:var(--navy);border-color:var(--navy);color:#fff}.workarea{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:.85rem;display:grid}.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem;display:grid}.section-top{justify-content:space-between;align-items:start;gap:.6rem;margin-bottom:.75rem;display:flex}.section-top h2{margin:0}.muted{color:var(--muted);font-size:.9rem}.plan-select{margin-bottom:.65rem}.plan-tools,.actions,.group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.plan-tools{justify-content:space-between;margin-bottom:.6rem}.group button{min-width:44px}.viewport{border:1px solid var(--line);touch-action:none;cursor:grab;background:#e9eff5;border-radius:12px;place-items:center;height:clamp(250px,48vh,540px);display:grid;overflow:hidden}.viewport:active{cursor:grabbing}.viewport.placing{cursor:crosshair;outline:2px solid var(--accent)}.plane{-webkit-user-select:none;user-select:none;width:fit-content;max-width:100%;max-height:100%;position:relative}.plane img{object-fit:contain;max-width:100%;max-height:clamp(250px,48vh,540px);display:block}.pin{color:#fff;background:#a02743;border:2px solid #fff;border-radius:50%;min-width:40px;min-height:40px;padding:0;position:absolute;translate:-50% -50%;box-shadow:0 2px 5px #1e253c50}.pin:hover{background:#88213a}.plan-actions{margin-top:.75rem}.notice,.alert{background:#e0f5ef;border-radius:8px;padding:.65rem .85rem}.alert{background:#fde9ec}.alert button{margin-left:.5rem}.empty{min-height:160px;color:var(--muted);text-align:center;background:#edf3f8;border-radius:10px;place-items:center;padding:1rem;display:grid}.count,.entry-icon,.status{background:#e6eef6;border-radius:999px;flex-shrink:0;place-items:center;padding:.3rem .55rem;font-size:.75rem;display:inline-grid}.entry-row{text-align:left;grid-template-columns:auto minmax(0,1fr) auto;gap:.6rem;width:100%;min-height:62px;margin-bottom:.45rem;display:grid}.entry-row[aria-pressed=true]{background:#e0f5ef;border-color:#4da68e}.entry-row strong,.entry-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.entry-row small{color:var(--muted);font-weight:450}.status-0{color:#804a0b;background:#fff0dc}.status-1{color:#2b4b8b;background:#e4ecff}.status-2{color:#186441;background:#ddf5e9}.photos{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.65rem;margin:.65rem 0;display:grid}.photos img{object-fit:cover;border-radius:8px;width:100%;height:100px}figure{margin:0}.photo-choice{border:1px solid var(--line);cursor:pointer;border-radius:8px;padding:.35rem}.photo-choice span{align-items:center;display:flex}.photo-choice input{width:22px;height:22px;accent-color:var(--accent)}.preview{flex-wrap:wrap;gap:.8rem;margin-top:1rem;display:flex}.paper{aspect-ratio:210/297;border:1px solid var(--line);text-align:center;grid-template-rows:auto minmax(0,1fr);gap:.5rem;width:min(100%,320px);padding:.8rem;display:grid}.paper h4{grid-column:1/-1;margin:0}.paper.layout-2{grid-template-rows:auto repeat(2,minmax(0,1fr))}.paper.layout-4{grid-template-rows:auto repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.paper figure{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.paper img{object-fit:contain;width:100%;height:100%}.paper figcaption{font-size:.8rem}.timeline{padding:0;list-style:none}.timeline li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.timeline time{color:var(--muted);font-size:.8rem}@media (width<=740px){main,.top-inner{padding-inline:.75rem}.intro{flex-direction:column;align-items:start;gap:.4rem}.workarea,.hierarchy-grid{grid-template-columns:minmax(0,1fr)}.plan-actions{z-index:2;padding:.4rem 0 max(.4rem, env(safe-area-inset-bottom));background:#fff;position:sticky;bottom:0}.plan-actions button{flex:auto}}@media (width<=380px){.fields{grid-template-columns:minmax(0,1fr)}}
