.studio-shell{color:#213b39;background:#edf1ee;min-height:100vh;font:15px/1.45 Inter,system-ui,sans-serif}.studio{max-width:2100px;margin:auto}.studio-head,.draft-sheet header,.survey header,.survey footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.studio-head{color:#fff;background:#173d3b;padding:1rem clamp(16px,3vw,50px)}.studio-head>div{align-items:center;gap:1.5rem;display:flex}.studio-head h1{color:#fff;margin:0;font-size:clamp(18px,2.8vw,32px)}.studio-head a{color:#ade1c6;font-weight:750}.studio button,.studio select,.studio input,.studio textarea{font:inherit;color:#1e3c39;background:#fff;border:1px solid #bdccc3;border-radius:7px;max-width:100%;padding:.47rem .72rem}.studio button{cursor:pointer;font-weight:600}.studio button:disabled{opacity:.55}.studio button[aria-pressed=true],.studio .primary{color:#fff;background:#175d50}.studio label{gap:.28rem;margin:.65rem 0;font-size:.88rem;font-weight:600;display:grid}.studio-project{background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 2vw;display:flex}.studio-project .twocol{gap:.7rem;display:flex}.studio-tabs,.studio-buttons{flex-wrap:wrap;gap:.4rem;display:flex}.studio-tabs{background:#dce6df;border-block:1px solid #b8cac0;padding:.65rem 2vw}.draft-work,.site-work,.diary-work{grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(170px,220px);gap:1rem;padding:1rem;display:grid}.studio aside,.draft-sheet,.survey,.diary-work form,.diary-records{background:#fff;border:1px solid #c7d4cb;border-radius:12px;min-width:0;padding:1rem}.studio h2{color:#203f3a;margin:0 0 .8rem;font-size:1.1rem}.studio aside p,.studio aside small{font-size:.88rem}.draft-sheet,.survey{background:#f7f9f6}.draft-sheet header,.survey header,.survey footer{color:#3c5b51;font-size:.85rem}.studio .plan-drawing svg,.survey svg{width:100%;height:clamp(360px,61vh,750px);display:block}.studio .plan-fields{grid-template-columns:1fr;display:grid}.studio .plan-fields input{width:100%}.survey svg{touch-action:manipulation}.survey>p{padding:2rem}.site-work>p{grid-column:1/-1}.diary-work{grid-template-columns:minmax(270px,1fr) minmax(300px,2fr)}.diary-work article{break-inside:avoid;border-top:1px solid #ccdad0;margin-top:1rem;padding-top:1rem}.diary-work article p{white-space:pre-wrap}.diary-work footer{color:#466258;font-size:.85rem}.studio .notice{background:#e7f2eb;padding:1rem;position:sticky;bottom:0}.studio input[type=file]{width:100%;padding:.3rem;font-size:.75rem}@media (max-width:850px){.draft-work,.site-work,.diary-work{grid-template-columns:1fr}.studio-project{gap:0}.studio-head>div{gap:.7rem}.studio .plan-fields{grid-template-columns:1fr 1fr}.studio .plan-drawing svg,.survey svg{height:46vh}.studio-project .twocol{flex-wrap:wrap}.studio-tabs button{flex:1}.studio .plan-actions{flex-wrap:wrap}}@media print{body:has(.diary-work) :is(.studio-head,.studio-project,.studio-tabs,.diary-work form,.diary-work button,.studio-buttons,.studio .notice){display:none!important}.diary-work,.diary-records,.studio-shell{background:#fff;border:none;padding:0;display:block}.diary-records article{break-inside:avoid}}.plan-legend{margin:1.2rem 0}.plan-legend div{align-items:center;gap:.45rem;padding:.2rem 0;display:flex}.plan-legend i{border-radius:2px;flex:none;width:.9rem;height:.9rem}.plan-legend b{margin-left:auto;font-weight:500}.studio .rotation-bar{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.6rem;display:flex}.studio .rotation-bar label{align-items:center;margin:0;display:flex}.studio .rotation-bar input{width:5.5rem}.studio-shell{max-width:none;padding:0}.studio .survey header,.studio .draft-sheet header{height:auto;padding:0;position:static}.studio .site-tools{flex-wrap:wrap;gap:.4rem;display:flex}.studio .site-hint{background:#e4f1ed;margin:.5rem 0;padding:.6rem}.studio .site-status{color:#183f3b;font-weight:600}.studio .site-work svg{touch-action:manipulation}.studio .draft-properties fieldset{border:1px solid #cbd6d0;border-radius:8px;min-width:0;margin:.75rem 0;padding:.65rem}.studio .draft-properties fieldset input,.studio .draft-properties fieldset button{box-sizing:border-box;width:100%}.studio .draft-properties fieldset button+button{margin-top:.35rem}.studio .draft-properties label,.studio .draft-controls label{overflow-wrap:anywhere;min-width:0}.studio .plan-drawing{-webkit-user-select:none;user-select:none}.studio .studio-project .twocol{flex-wrap:wrap;min-width:0}.budget-page{background:#fff;border:1px solid #c9d5ce;border-radius:12px;max-width:1080px;margin:1.5rem auto;padding:clamp(1rem,3vw,2rem)}.budget-page header,.budget-page footer{color:#203f3a;background:#fff;height:auto;padding:0;display:block;position:static}.budget-page footer{border-top:1px solid #c9d5ce;margin-top:1rem;padding-top:1rem}.budget-scroll{margin:1rem 0;overflow:auto}.budget-scroll table{border-collapse:collapse;width:100%;min-width:710px}.budget-scroll td,.budget-scroll th{text-align:left;border-bottom:1px solid #dde4df;padding:.4rem}.budget-scroll input{width:6.3rem}.budget-scroll td:first-child input{width:100%;min-width:14rem}.budget-scroll td:nth-child(2) input{width:3.6rem}.budget-scroll small{color:#50645a;display:block}.budget-upload input{max-width:260px}.budget-page footer input{width:6rem}.studio-invite{background:#e4f0ec;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.7rem clamp(12px,3vw,48px);display:flex}.studio-invite strong{margin-right:auto}.studio-invite button:first-of-type{color:#fff;background:#175a4e}.studio-expanded .canvas-tools{margin:.35rem .8rem}.canvas-focus .studio-project,.canvas-focus .draft-controls,.canvas-focus .draft-properties{display:none}.canvas-focus .draft-work{padding:.45rem;display:block}.canvas-focus .draft-sheet{box-sizing:border-box;width:100%}.canvas-focus .plan-drawing svg{width:100%;height:clamp(260px,100dvh - 235px,1800px);display:block}.canvas-focus .studio-head{padding:.4rem 1rem}.canvas-focus .draft-sheet header{padding:.15rem}
