*{box-sizing:border-box}body{margin:0;background:#f7f3ed;color:#30243e;font:16px system-ui,sans-serif}header{background:#30243e;color:white;padding:18px 5%;display:flex;justify-content:space-between;align-items:center;gap:12px}header a{color:white;text-decoration:none;font-weight:700}nav{display:flex;gap:15px;align-items:center}main{max-width:1200px;margin:auto;padding:24px}section{background:white;border:1px solid #e6ded7;border-radius:18px;padding:24px;max-width:650px}h1{font-size:clamp(26px,4vw,42px)}h2{font-size:22px}label{display:block;margin:12px 0}input{display:block;width:100%;padding:12px;border:1px solid #cfc6d2;border-radius:8px;font:inherit}button,.button{display:inline-block;background:#644b82;color:white;padding:12px 18px;border:0;border-radius:10px;font:inherit;text-decoration:none;cursor:pointer;min-height:44px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.hero{position:relative;overflow:hidden;border-radius:18px;background:#30243e;color:white}.hero img{width:100%;display:block}.hero div{padding:20px}.reference{max-width:180px;width:100%;display:block}.alert,.notice{padding:14px;background:#f9dfd9;border-radius:8px}.notice{background:#e0efdc}footer{text-align:center;padding:20px;color:#746779}hr{border:0;border-top:1px solid #ddd;margin:20px 0}small{color:#765c91}
.workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.workspace aside{background:#30243e;border-radius:18px;padding:20px;align-self:start;display:grid;gap:8px;position:sticky;top:12px}.workspace aside a{color:#fff;text-decoration:none;padding:13px;border-radius:8px}.workspace aside a:hover{background:#644b82}.workspace aside small{color:#d9c6ee}.workspace article{min-width:0}.workspace section{max-width:none;margin-bottom:12px}.task img{width:100%;height:160px;object-fit:contain;background:#faf7f2;border-radius:12px;margin-bottom:12px}.task h2{margin:8px 0}.large-ref{width:100%;height:300px;object-fit:contain;background:#faf7f2}.progress{background:#eee6f5}progress{display:block;width:100%;height:20px;margin-top:12px;accent-color:#644b82}select,textarea{display:block;width:100%;padding:12px;font:inherit;border:1px solid #cfc6d2;border-radius:8px}textarea{min-height:100px}@media(max-width:760px){.workspace{grid-template-columns:1fr;gap:12px}.workspace aside{position:static;display:flex;flex-wrap:wrap;gap:4px}.workspace aside small{width:100%}.workspace aside a{padding:10px}main{padding:14px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}}

.tour{overflow:hidden;border-radius:20px;background:#30243e;color:white}.tourbar,.tourcontrols{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;flex-wrap:wrap}.scene{position:relative;min-height:340px;height:clamp(340px,48vw,560px);overflow:hidden;background:#e8c9a4;touch-action:pan-y}.wall{position:absolute;inset:0 0 23%;background:linear-gradient(110deg,#b38b70,#f8e7ce 30%,#f5d6ae 75%,#b38b70);border:18px solid #91694e;border-bottom:8px solid #79563d}.floor{position:absolute;inset:77% 0 0;background:repeating-linear-gradient(105deg,#b48a62 0 3px,#d5b28a 4px 70px)}.sceneobjects{position:absolute;inset:10% 5% 8%;display:flex;align-items:end;justify-content:space-evenly;gap:12px;animation:arrive .35s ease}.sceneobjects button{background:transparent;color:#30243e;display:flex;flex-direction:column;align-items:center;width:30%;padding:0;min-width:0}.sceneobjects img{width:100%;height:clamp(160px,30vw,350px);object-fit:contain;filter:drop-shadow(4px 8px 5px #513b3744)}.sceneobjects span{background:#fff9ef;border-radius:12px;padding:8px;max-width:100%}#roommap{padding:12px}#roommap button{margin:4px}#detail{max-width:none;margin-top:16px}#canvas{display:block;width:100%;max-width:900px;background:white;border:1px solid #b9a9c4;touch-action:none}#drawing .tourcontrols{justify-content:start}#drawing input{min-width:60px}@keyframes arrive{from{opacity:.3;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.sceneobjects{animation:none}}
.anime-scene{background:#342a39 url('assets/gallery.webp') center/cover no-repeat;aspect-ratio:16/9;height:auto;min-height:300px}.anime-scene .wall,.anime-scene .floor{display:none}.anime-scene .sceneobjects{background:none;align-items:flex-end;padding:12px;gap:12px}.anime-scene .sceneobjects button{background:#30243ee8;color:white;border:1px solid #e8c98b;border-radius:14px;padding:10px;max-width:30%;height:auto}.anime-scene .sceneobjects img{max-height:150px;object-fit:contain}.anime-scene .sceneobjects img[hidden]{display:none}.anime-scene .sceneobjects span{background:transparent;color:white}.anime-scene .sceneobjects button:focus-visible{outline:3px solid gold}
