:root{color:#25231f;font-synthesis:none;text-rendering:optimizelegibility;background:#f7f5f0;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{background:#fbfaf7;border-bottom:1px solid #dedbd3;justify-content:space-between;align-items:center;height:64px;padding:0 5vw;display:flex}.hidden-file-input{display:none}.wordmark{color:#25231f;background:0 0;border:0;padding:0;font-size:1.15rem;font-weight:700}.save-state{color:#777269;font-size:.85rem}.page-content{width:min(1180px,90vw);margin:0 auto;padding:64px 0}.page-heading,.editor-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:38px;display:flex}.eyebrow{color:#8b6d4e;text-transform:uppercase;letter-spacing:.12em;margin:0 0 8px;font-size:.72rem;font-weight:700}h1,h2{letter-spacing:-.03em;margin:0;font-weight:650}h1{font-size:clamp(2.3rem,5vw,4.2rem)}h2{font-size:1.35rem}input,textarea{color:#25231f;background:#fffefa;border:1px solid #d7d2c9;border-radius:5px;width:100%;padding:10px 12px}textarea{resize:vertical;min-height:88px;line-height:1.5}input:focus,textarea:focus{outline-offset:1px;outline:2px solid #c18a51}.new-project-form{gap:8px;width:100%;max-width:430px;display:flex}.primary-button,.add-section{color:#fff;white-space:nowrap;background:#25231f;border:0;border-radius:5px;padding:11px 16px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.project-card,.empty-card{text-align:left;background:#fffefa;border:1px solid #dedbd3;border-radius:8px;min-height:180px;padding:22px;transition:transform .15s,box-shadow .15s;position:relative}.project-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #302b2212}.project-card h2{margin:30px 0 42px}.timing-row,.timing-block{color:#777269;gap:16px;font-size:.85rem;display:flex}.card-delete{color:#9b9185;background:0 0;border:0;font-size:1.35rem;position:absolute;top:10px;right:12px}.empty-card{color:#a79582;border-style:dashed;place-items:center;font-size:2.5rem;display:grid}.back-button{color:#776852;background:0 0;border:0;align-self:start;padding:0}.project-fields{flex:1;max-width:680px}.project-title{background:0 0;border:0;padding:0 0 8px;font-size:2.2rem;font-weight:650}.project-fields label,.estimate-label{color:#777269;font-size:.8rem;display:block}.project-fields label input{width:100px;margin:0 4px;padding:6px 8px}.timing-block{flex-direction:column;align-items:end}.section-card{background:#eeebe4;border:1px solid #dcd6cd;border-radius:8px;margin-bottom:24px;padding:18px}.section-heading,.subsection-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title{background:0 0;border-color:#0000;max-width:600px;font-size:1.35rem;font-weight:650}.controls{flex-wrap:wrap;justify-content:end;gap:5px;display:flex}.controls button{color:#514a41;background:#fffefa;border:1px solid #cec7bc;border-radius:4px;padding:5px 8px}.controls button:disabled{opacity:.35;cursor:default}.controls .danger-button,.danger-button{color:#986050}.editor-page{position:relative}.script-tree{z-index:4;background:#fbfaf7;border-right:1px solid #dedbd3;width:230px;padding:28px 14px;position:fixed;top:64px;bottom:0;overflow-y:auto}.tree-heading{color:#777269;letter-spacing:.1em;text-transform:uppercase;justify-content:space-between;margin-bottom:14px;font-size:.75rem;font-weight:700;display:flex}.tree-row{border-radius:4px;align-items:center;min-height:32px;display:flex}.tree-row.active{background:#eee3d5}.tree-row.drag-source{opacity:.42;outline:1px dashed #c18a51}.subsection-row{padding-left:18px}.drag-handle{color:#9b9185;cursor:grab;-webkit-user-select:none;user-select:none;padding:4px}.tree-label{text-overflow:ellipsis;white-space:nowrap;color:#514a41;text-align:left;background:0 0;border:0;width:100%;min-width:0;padding:6px 4px;overflow:hidden}.tree-section-drop{min-height:12px;padding:4px 0}.tree-insertion-marker{background:#c17835;border-radius:3px;height:3px;margin:2px 0;box-shadow:0 0 0 1px #fff,0 0 0 2px #c17835}.subsection-insertion-marker{margin-left:18px}.tree-section-drop.is-drop-target{min-height:18px}.editor-page>.editor-heading,.editor-page>.export-actions,.editor-page>.section-card,.editor-page>.add-section{margin-left:255px}.export-actions{justify-content:flex-end;gap:8px;margin-top:-20px;margin-bottom:18px;display:flex}.export-actions button,.sidebar-toggle{color:#514a41;background:#fffefa;border:1px solid #cec7bc;border-radius:4px;padding:7px 10px}.sidebar-toggle,.sidebar-close{display:none}.subsections{gap:14px;margin:15px 0;display:grid}.subsection-card{background:#fffefa;border:1px solid #dedbd3;border-radius:6px;padding:16px}.subsection-heading input{background:0 0;border-color:#0000;max-width:560px;font-weight:600}.notes-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}label{color:#777269;font-size:.78rem;display:block}label textarea{margin-top:5px;display:block}.script-label{margin-top:14px}.script-input{min-height:210px;font-size:1rem}.timing-controls{flex-wrap:wrap;align-items:end;gap:20px;margin-top:12px;display:flex}.estimate-label{margin-top:0}.estimate-label input{width:100px;margin-left:6px}.stopwatch{color:#777269;align-items:center;gap:8px;font-size:.78rem;display:flex}.stopwatch-display{color:#514a41;font-variant-numeric:tabular-nums;font-size:.95rem}.stopwatch-controls{flex-wrap:wrap;gap:5px;display:flex}.stopwatch-controls button{color:#514a41;background:#fffefa;border:1px solid #cec7bc;border-radius:4px;padding:4px 7px}.add-button{color:#8b6d4e;background:0 0;border:0;padding:8px 0;font-weight:650}.add-section{margin:30px auto 0;display:block}.error-message{color:#9b4d3d}@media (width<=900px){.script-tree{transition:transform .15s;transform:translate(-100%);box-shadow:8px 0 20px #302b2212}.script-tree.is-open{transform:translate(0)}.sidebar-toggle{margin-bottom:16px;display:block}.sidebar-close{color:#777269;background:0 0;border:0;font-size:1.2rem;display:block}.editor-page>.editor-heading,.editor-page>.export-actions,.editor-page>.section-card,.editor-page>.add-section{margin-left:0}}@media (width<=700px){.page-content{padding:36px 0}.page-heading,.editor-heading{display:block}.new-project-form{margin-top:20px}.timing-block{align-items:start;margin-top:18px}.section-heading,.subsection-heading{flex-direction:column;align-items:start}.controls{justify-content:start}.notes-grid{grid-template-columns:1fr}}.dialog-backdrop{background:#00000073;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.conflict-dialog{background:#fff;border-radius:.5rem;max-width:32rem;padding:2rem;box-shadow:0 1rem 3rem #00000040}.dialog-actions{justify-content:flex-end;gap:.75rem;margin-top:1.5rem;display:flex}
