/* Kapila Gardens planner. Colours and fonts come from /tokens.css through /styles.css. */
.planner [hidden]{display:none!important}
.planner{padding:8px 16px 56px}
.planner h1{font-size:30px;text-align:center;margin:8px 0 24px}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px 16px;margin-bottom:16px}
.step h2{font-size:22px;margin-bottom:16px}
.step h2 span{display:inline-block;width:32px;height:32px;line-height:32px;border-radius:50%;background:var(--accent);color:#fff;font-family:var(--body);font-size:16px;text-align:center;margin-right:8px}
.row{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.planner label{font-weight:600;font-size:16px}
.planner input[type=date],.planner input[type=text],.planner input[type=email],.planner input[type=tel],.planner select{font:inherit;padding:8px 16px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;min-height:48px}
.planner input[type=range]{width:100%;accent-color:var(--accent)}
.note{color:var(--muted);font-size:16px;margin-top:8px}
.furniture{border:0;padding:0;margin:16px 0 0}
.furniture legend{font-weight:600;margin-bottom:6px}
.furniture label{display:block;padding:6px 0;cursor:pointer}
.furniture .note{margin-top:4px}
.pricebox{margin-top:16px}
.pricebox .big{font-family:var(--display);font-weight:600;font-size:44px;line-height:1}
.tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.tool{font:inherit;font-size:16px;font-weight:600;padding:8px 16px;min-height:48px;border-radius:var(--radius);border:1px solid var(--border);background:#fff;color:var(--text);cursor:pointer}
.tool:hover{border-color:var(--accent)}
.tool.on,.tool.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.tool.warn{color:#a3312d}
.mapwrap{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:#22301f}
#yard{display:block;width:100%;height:auto;touch-action:none;user-select:none;-webkit-user-select:none}
#yard .zlabel{font-family:var(--body);font-weight:600;font-size:15px;fill:#fff;paint-order:stroke;stroke:rgba(0,0,0,.6);stroke-width:3px;pointer-events:none}
#yard .chair{fill:#fff;stroke:#333;stroke-width:.6}
#yard .table{fill:#fff;stroke:#333;stroke-width:1}
#yard .arch{fill:#8a5a2b;stroke:#fff;stroke-width:1.5}
#yard .hit{fill:transparent;cursor:grab}
#yard .item.sel .hit{stroke:#f2c94c;stroke-width:2.5;stroke-dasharray:5 4}
#msg{background:#fff8e1;border:1px solid #f0c36d;border-radius:var(--radius);padding:8px 16px;margin:0 0 16px;font-size:16px}
.counts{list-style:none;padding:0;margin:16px 0 0;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:16px}
.fields{display:grid;gap:16px}
.fields label{display:grid;gap:8px}
#saveMsg{margin-top:16px;font-weight:600}
@media (min-width:720px){
  .planner h1{font-size:44px}
  .step{padding:32px}
  .fields{grid-template-columns:1fr 1fr}
}
.banner{background:#eef5ee;border:1px solid var(--accent);border-radius:var(--radius);padding:16px;margin:0 0 16px;font-weight:600}
.datenote{margin-top:16px;font-weight:600;min-height:1.6em}
.datenote[data-level="1"]{color:#8a6d00}
.datenote[data-level="2"]{color:#b35a00}
.datenote[data-level="3"]{color:#a3312d}
#saveMsg a{word-break:break-all}
/* the view from the ground (/plan/ground.js, 2026-11-11) */
.groundbox{margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--border)}
.groundbox h3{font-size:20px;margin:0 0 4px}
.groundbox .tool{margin-top:8px}
#ground{position:relative;margin-top:8px;height:62vh;min-height:320px;max-height:620px;border-radius:var(--radius);overflow:hidden;background:#22301f}
#ground canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
#ground canvas:active{cursor:grabbing}
.arbox{margin-top:8px}
.arlink{display:inline-block;margin-top:8px}
.arlink img{display:block;width:320px;max-width:100%;height:auto}
.spots{display:flex;gap:8px;margin-top:8px}
.spots .spotbtn{flex:1;display:flex;flex-direction:column;align-items:center;line-height:1.2;padding:10px 6px}
.spots .spotbtn small{font-size:13px;font-weight:400;opacity:.8}
.spots .spotbtn[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
/* step 4, your colors (2026-11-20): one row per thing, each with its own color */
#yard .deco{pointer-events:none;stroke:rgba(0,0,0,.45);stroke-width:.5}
.drow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 0;border-top:1px solid var(--border)}
.drow:first-child{border-top:0;padding-top:0}
.drow .dlabel{font-weight:600;flex:1 1 150px;min-width:0}
.drow label.dtoggle{display:flex;align-items:center;gap:8px;font-weight:400;min-height:48px;cursor:pointer}
.drow label.dtoggle input{width:22px;height:22px;accent-color:var(--accent)}
.drow select{max-width:100%}
.chip{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:16px;min-height:48px;padding:6px 12px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text);cursor:pointer}
.chip i{display:block;width:28px;height:28px;border-radius:50%;border:1px solid rgba(0,0,0,.35)}
.chip[aria-expanded="true"]{border-color:var(--accent)}
.palette{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.palette button.sw{width:44px;height:44px;border-radius:50%;border:1px solid rgba(0,0,0,.35);padding:0;cursor:pointer}
.palette button.sw[aria-pressed="true"]{outline:3px solid var(--accent);outline-offset:2px}
.palette label.own{display:flex;align-items:center;gap:8px;font-weight:400;min-height:48px}
.palette input[type=color]{width:48px;height:44px;padding:0;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
/* 2026-11-20: four place buttons (the gazebo was added 2026-11-19) ran 30 px past a 375 px phone; they wrap two by two */
@media (max-width:600px){.spots.places{flex-wrap:wrap}.spots.places .spotbtn{flex:1 1 calc(50% - 4px);min-width:0}}
