:root{--ink:#233d33;--forest:#244f43;--gold:#c49850;--cream:#faf7ef;--line:#d7e1d9;--muted:#667b6f;--white:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}a{color:#305e50;text-underline-offset:4px}button{cursor:pointer;border:1px solid #bdcfc2;background:#fffefa;color:#2d5143;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:600;line-height:1.35}button:hover{background:#edf2ec;border-color:#8ca898}button:disabled{opacity:.42;cursor:default}.primary{background:var(--forest);border-color:var(--forest);color:white}.primary:hover{background:#173d31;color:white}.site-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 3.5%;border-bottom:1px solid var(--line);background:#fffdf8}.brand{text-decoration:none;letter-spacing:.14em;font-size:13px;font-weight:400}.brand strong{font-weight:750}.brand small{display:block;font-size:8px;letter-spacing:.23em;margin-top:5px}.site-head nav{display:flex;gap:23px;font-size:12px}main{padding:0 3%;max-width:1900px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:27px 0 12px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#86703c;margin:0 0 7px}.intro h1{font:40px/1.15 Georgia,serif;letter-spacing:-.035em;margin:0 0 9px}.intro p:last-child{margin:0;color:var(--muted)}.privacy{font-size:11px;color:#657366;background:#eee9dc;border-left:3px solid #baa26d;border-radius:0 6px 6px 0;padding:10px 14px;margin:15px 0 22px;max-width:1400px}.studio-app{background:white;border:1px solid #cddbd0;border-radius:12px;overflow:hidden;box-shadow:0 8px 35px #244f4309}.project-bar{display:flex;align-items:center;gap:10px;background:#173c32;color:#fff;padding:15px 19px;flex-wrap:wrap}.project-name{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;flex:1;min-width:260px}.project-name input{background:#ffffff0d;color:#fff;border:1px solid #ffffff38;border-radius:6px;padding:9px 11px;max-width:400px;width:100%;font-weight:600;font-size:14px;text-transform:none;letter-spacing:0}.project-bar .primary{background:#dfc18b;color:#253f31;border-color:#dfc18b}.project-bar>span{font-size:10px;color:#dae5dc;max-width:140px}.toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;padding:10px 14px;border-bottom:1px solid var(--line);background:#f7f9f4}.toolset{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.toolset label{font-size:10px;margin:0 7px;display:flex;align-items:center;gap:5px}.toolbar button{font-size:11px;padding:8px 10px}.toolbar button[aria-pressed=true],.tabs button[aria-pressed=true]{background:#dce8dd;color:#244d3a;border-color:#91ac98}.work-grid{display:grid;grid-template-columns:225px minmax(340px,1fr) 280px;min-height:670px}.left-panel,.right-panel{padding:15px 14px;background:#fffefa;max-height:790px;overflow:auto}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line)}.tabs{display:flex;gap:5px;margin-bottom:18px}.tabs button{flex:1;font-size:11px;padding:8px 5px}.panel-help,.small{font-size:11px;color:#637568;line-height:1.7}.panel-help{margin-top:0}.left-panel label,.right-panel form>label,.right-panel .two-col label{display:block;font-size:10px;font-weight:650;margin:12px 0 5px}.left-panel input,.left-panel select,.right-panel input:not([type=checkbox]),.right-panel select,.right-panel textarea{display:block;width:100%;border:1px solid #bccfc0;border-radius:5px;background:#fff;padding:8px 9px;margin:6px 0;font-size:12px;color:#2d4537}.right-panel textarea{resize:vertical}.right-panel h2{font-size:15px;font-family:Georgia,serif;margin:5px 0 12px}.right-panel h3{font-size:12px}.symbol-library{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:16px}.symbol-library button{padding:8px 3px 5px;border-color:#e0e6dc;font-weight:450;font-size:8px;min-height:71px;overflow-wrap:anywhere}.symbol-library button span{display:block;font-size:24px;line-height:1.3;margin-bottom:4px;color:#38624c}.symbol-library button.portrait>span{font-size:18px}.canvas-panel{position:relative;min-width:0;display:flex;flex-direction:column;background:#f6f8f1;overflow:hidden}.canvas-meta{display:flex;justify-content:space-between;gap:8px;padding:10px 15px;background:#f0f4eb;color:#69806e;font-size:10px}.canvas-meta span:last-child{max-width:55%;text-align:right}#stage{width:100%;height:570px;min-height:370px;display:block;flex:1;background-color:#f7f9f2;background-image:radial-gradient(#c4d2c5 .65px,transparent .65px);background-size:18px 18px;touch-action:none;cursor:default;user-select:none}#stage[data-mode=pan]{cursor:grab}#stage[data-mode=connect]{cursor:crosshair}#stage .person{cursor:move}#stage .person:focus{outline:none}#stage .person:focus>g,#stage .edge:focus>g{stroke:#ac7835;stroke-width:3}#stage .edge{cursor:pointer}.canvas-bottom{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #dce6d8;background:#fbfcf7}.zoom-controls{display:flex;gap:5px;align-items:center}.zoom-controls button{font-size:11px;padding:7px 9px}.zoom-controls span{font-size:10px;width:40px;text-align:center}.layout-controls{display:flex;gap:6px;max-width:240px;justify-content:flex-end;flex-wrap:wrap}.layout-controls button{font-size:10px;padding:7px}.layout-controls label{font-size:9px;display:flex;gap:4px;align-items:center}#minimap{width:112px;height:70px;flex-shrink:0;border:1px solid #c3d3c4;border-radius:7px;background:#edf3e9;cursor:crosshair}.workspace-hint{padding:0 12px 9px;margin:0;font-size:9px;color:#7b8b7c}.empty-state{padding:45px 5px;text-align:center}.empty-state>span{display:block;font-size:50px;color:#a9b89e}.empty-state p{font-size:12px;color:#748576}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two-col button{margin-top:10px;padding:8px 5px;font-size:10px}.checks{display:flex;flex-direction:column;gap:9px;margin:15px 0}.checks label,.right-panel form>label.check{display:flex;align-items:flex-start;gap:7px;font-size:11px;font-weight:450;margin:0}.checks input,.check input{margin-top:3px}.indicator-details{border:1px solid #dcd9c7;border-radius:7px;padding:12px;margin:17px 0;background:#faf7ec}.indicator-details summary{font-size:11px;font-weight:650;cursor:pointer}.indicator-details .checks{max-height:245px;overflow:auto}.member-list button,.relationship-list button{display:block;width:100%;text-align:left;margin-bottom:5px;font-size:11px;font-weight:500}.member-list small{display:block;font-size:9px;color:#7b8376}.relationship-list button{border:0;background:#f0f4eb;font-size:10px}#member-form>.primary,#edge-form>.primary,#reflection-form>.primary{width:100%;margin-top:12px}#edge-new,#edge-remove{margin:10px 0 0;width:100%}#edge-remove{color:#963d3c}.studio-status{padding:10px 17px;background:#edf3e8;border-top:1px solid #d1dfcf;font-size:11px;color:#4c654f;min-height:39px}.below-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;margin:30px 0}.legend,.music{border:1px solid #d8dfd1;border-radius:12px;padding:24px;background:#fffdf7}.legend summary{font:21px Georgia,serif;cursor:pointer}.legend>p{font-size:11px;color:#6d7b6b}.legend-item{display:flex;gap:12px;align-items:center;font-size:11px;margin:9px 0}.legend-swatch{width:45px;height:17px;flex-shrink:0}.legend-item code{background:#f1eadb;color:#69522f;font-size:10px;border-radius:4px;padding:3px}.music h2{font:25px Georgia,serif;margin:0 0 10px}.music>p{font-size:12px}.music>a{font-size:11px;display:inline-block;margin:14px 0}.music button{margin-right:7px}#music-player iframe{width:100%;border:0;border-radius:12px;margin-top:15px;height:352px}.guide{margin:45px 0}.guide h2{font:30px Georgia,serif}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.guide-grid h3{font:19px Georgia,serif}.guide-grid p,.guide details{font-size:12px;color:#667564}.guide details{padding:20px;background:#f0eee3;border-radius:10px;margin-top:25px}.guide summary{cursor:pointer;font-weight:650}.guide-grid p{line-height:1.8}dialog{border:1px solid #cfdbc9;border-radius:16px;max-width:670px;width:calc(100% - 36px);padding:32px;color:var(--ink);background:#fffdf7;box-shadow:0 30px 100px #193b3440;max-height:88vh;overflow:auto}dialog::backdrop{background:#193b3490;backdrop-filter:blur(3px)}dialog h2{font:29px Georgia,serif;margin-top:0}dialog p{font-size:12px;line-height:1.8}.dialog-close{position:absolute;right:15px;top:15px;border:0;font-size:22px;background:transparent;padding:1px 7px}.example-choices,.export-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.example-choices button{text-align:left;padding:21px}.example-choices b{display:block;font:17px Georgia,serif;margin-bottom:9px}.example-choices span{font-size:11px;display:block;font-weight:400}.export-buttons button{min-height:56px}.saved-card{border:1px solid var(--line);border-radius:8px;padding:15px;margin:15px 0}.saved-card h3{margin:0 0 8px;font-size:14px}.saved-card p{font-size:10px;margin:0 0 10px}.saved-card button{margin-right:8px}.saved-card .danger{color:#a1463d}#import-project{display:block;margin:10px 0}#saved-dialog>label{display:block;font-size:12px;margin-top:25px}#timeline{font-size:11px;color:#536f5a}#timeline p{border-left:2px solid #b7c9b1;padding:5px 9px;margin:7px 0}footer{background:#183d34;color:#e9ecde;display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:27px 4%;font-size:11px}footer a{color:#e9d3a4}footer strong{font:17px Georgia,serif}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ac7b32;outline-offset:3px}.skip{position:absolute;left:12px;top:-70px;background:#fff;padding:10px;z-index:20}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}#print-area{display:none}.studio-app:fullscreen{background:#fff;overflow:auto}.studio-app:fullscreen .work-grid{min-height:calc(100vh - 150px)}.studio-app:fullscreen #stage{height:calc(100vh - 290px)}
@media(min-width:1600px){.work-grid{grid-template-columns:245px minmax(500px,1fr) 300px}#stage{height:680px}.left-panel,.right-panel{max-height:900px}}@media(max-width:1120px){.work-grid{grid-template-columns:190px minmax(300px,1fr) 250px}.left-panel,.right-panel{padding:12px 10px}.canvas-bottom{flex-wrap:wrap}.layout-controls{max-width:none}.intro h1{font-size:34px}.site-head nav{gap:15px}}@media(max-width:860px){main{padding:0 16px}.work-grid{grid-template-columns:170px minmax(250px,1fr)}.right-panel{grid-column:1/-1;border-top:1px solid var(--line);border-left:0;max-height:none}.right-panel form{max-width:700px}.right-panel .tabs{max-width:400px}.left-panel{max-height:660px}#stage{height:490px}.guide-grid{grid-template-columns:1fr 1fr}.below-grid{grid-template-columns:1fr 1fr}.intro{align-items:flex-start}.project-name{width:100%;flex-basis:100%}.project-bar>span{flex:1;max-width:none}}@media(max-width:600px){.site-head{padding:18px 17px;align-items:flex-start;flex-direction:column;gap:14px}.site-head nav{gap:15px;flex-wrap:wrap;font-size:11px}.intro{flex-direction:column;gap:17px}.intro h1{font-size:33px}.intro>div>p:last-child{font-size:12px}.privacy{font-size:10px}.toolbar{padding:9px;gap:9px}.work-grid{display:flex;flex-direction:column}.left-panel{border-right:0;border-bottom:1px solid var(--line);max-height:260px}.left-panel .panel-help{display:none}.symbol-library{grid-template-columns:repeat(6,1fr);margin-top:10px}.symbol-library button{min-height:60px;font-size:8px}.left-panel label{display:inline-block;width:48%;vertical-align:top;margin:0 0 5px}.left-panel .tabs{max-width:220px;margin-bottom:10px}#stage{height:420px;flex:auto;min-height:420px}.right-panel{border-top:1px solid var(--line);padding:18px;max-height:650px}.below-grid,.guide-grid{grid-template-columns:1fr}.project-bar{padding:13px}.project-bar button{font-size:11px}.canvas-meta{font-size:9px;padding:9px 11px}.canvas-bottom{padding:8px}.layout-controls{justify-content:flex-start}.guide h2{font-size:26px}.guide-grid{gap:10px}.guide-grid h3{margin-bottom:9px}.legend,.music{padding:20px}.example-choices,.export-buttons{grid-template-columns:1fr}.project-name{font-size:9px;min-width:0}.project-name input{max-width:none}.studio-app:fullscreen .work-grid{min-height:0}.studio-app:fullscreen #stage{height:55vh}.studio-app:fullscreen .right-panel{max-height:340px}dialog{padding:27px 23px}dialog h2{font-size:26px}}
@media print{@page{size:landscape;margin:10mm}body>*{display:none!important}body main{display:block!important;padding:0}main>*{display:none!important}#print-area{display:block!important}#print-area svg{width:100%;height:auto;max-height:94vh}dialog{display:none!important}}
.symbol-library button>span:not(:first-child){font-size:8px;line-height:1.35;margin:3px 0 0;overflow-wrap:normal;word-break:normal}.symbol-library button>span:first-child{font-size:24px;line-height:1.3}
