:root{--paper:#f7f6f2;--ink:#20212b;--muted:#71717d;--line:#dedddf;--sage:#e7ecdf;--lavender:#e5dffa;--accent:#da4b36;--white:#fffefa;--coral:#f26449;--lilac:#c3b4ee}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:3px solid var(--coral);outline-offset:4px}svg{display:block}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{line-height:1.3;letter-spacing:-.045em}h2{font-size:40px;font-weight:720;margin:18px 0}h3{font-weight:650}.wrap{max-width:1360px;margin:auto;padding-inline:48px}.eyebrow{display:flex;align-items:center;gap:10px;font:600 10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.25px;color:#6e6d7b}.tiny-dot,.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--coral);flex-shrink:0}.muted{color:var(--muted);font-size:12px}.skip-link{position:fixed;left:16px;top:-70px;z-index:40;background:var(--ink);color:white;padding:12px 20px;border-radius:8px}.skip-link:focus{top:16px}.brand{display:flex;align-items:center;gap:8px;font-size:23px;letter-spacing:-1.2px;font-weight:780;white-space:nowrap}.brand svg{width:35px;height:30px;color:#dcd2f3}.brand-dot{font:10px ui-monospace,monospace;margin-top:-12px;color:var(--accent)}.header{max-width:1600px;margin:auto;min-height:88px;padding:20px 32px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #2424300c}.header>.brand{margin-right:auto}.product-nav,.nav-tools,.nav-text-links{display:flex;align-items:center}.product-nav{gap:16px}.nav-tools{gap:3px}.nav-tool{position:relative;display:grid;place-items:center;width:33px;height:38px;padding:0;border:0;background:none;border-radius:9px}.tool-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--tile);color:#51505d;flex-shrink:0}.tool-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav-tool .tool-icon{width:30px;height:30px;border-radius:8px;transition:transform .18s,background .18s;background:transparent;color:#666572}.nav-tool .tool-icon svg{width:19px;height:19px}.nav-tool:hover .tool-icon,.nav-tool:focus-visible .tool-icon{transform:translateY(-2px);background:#fbe1d7;color:#ac3a26}.nav-tooltip{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:6px 11px;border:1px solid var(--line);border-radius:7px;background:var(--white);box-shadow:0 6px 20px #20212b15;font-size:11px;opacity:0;visibility:hidden;pointer-events:none;z-index:15}.nav-tool:hover .nav-tooltip,.nav-tool:focus-visible .nav-tooltip{opacity:1;visibility:visible}.nav-text-links{gap:19px;border-left:1px solid var(--line);padding-left:18px;white-space:nowrap}.nav-text-links a,.nav-text-links button{font-size:12px;border:0;background:none;padding:0}.nav-text-links a:hover,.nav-text-links button:hover{color:var(--accent)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:14px 22px;border:1px solid transparent;border-radius:8px;line-height:1.5;font-size:13px;font-weight:650;transition:background .18s,box-shadow .18s,transform .18s;white-space:nowrap}.btn.dark{background:var(--ink);color:#fff}.btn.dark:hover{background:#3a3a4c;transform:translateY(-1px);box-shadow:0 5px 15px #20212b18}.btn.outline{border-color:#cccbd2;background:transparent}.btn.outline:hover{background:#eeedf3}.btn.small{font-size:12px;padding:10px 16px}.text-link{display:inline-flex;align-items:center;gap:18px;padding:0 0 3px;border:0;border-bottom:1px solid currentColor;background:none;font-size:12px;color:#575564}.account-controls{display:flex;gap:9px;align-items:center;white-space:nowrap}.account-controls button{padding:7px 8px;border:0;border-radius:6px;background:none;color:#656371;font-size:11px}.account-controls button:hover{background:#e9e6ed}.account-name{font-size:11px;max-width:78px;overflow:hidden;text-overflow:ellipsis}
.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:44px;padding-top:96px;padding-bottom:96px;min-height:690px}.hero h1{font-size:clamp(37px,3.9vw,58px);font-weight:760;line-height:1.28;letter-spacing:-.065em;margin:28px 0 24px;word-break:keep-all}.hero h1>span{color:var(--accent)}.hero-copy>p{font-size:14px;line-height:1.9;color:var(--muted);margin:12px 0}.hero-copy>p.hero-lead{font-size:16px;color:var(--ink);letter-spacing:-.4px;margin-bottom:13px}.hero-lead strong{font-weight:700}.beta-chip{background:#fbe0d7;color:#b33d27;border:1px solid #f2ccbe;padding:4px 7px;border-radius:4px;font-size:8px;letter-spacing:.8px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.hero-actions .btn{background:var(--coral);color:#241c1b}.hero-actions .btn:hover{background:#ec785e}.hero-foot{display:flex;gap:8px;align-items:center;font-size:10px;color:#6d6b78;margin-top:17px}.hero-foot .status-dot{background:#6d8671}.hero-signature{display:flex;align-items:center;gap:13px;margin-top:45px}.hero-signature svg{width:33px;height:33px;color:#bdacdf}.hero-signature span{font:12px/1.4 Georgia,serif;color:#7d758b}.hero-signature em{color:#373040}.story-demo{position:relative;padding-top:20px;isolation:isolate}.story-demo:before{content:'';position:absolute;inset:-35px -20px 30px -25px;z-index:-1;background:radial-gradient(ellipse at 70% 35%,#e7ddfb 0,#ede5f5 30%,transparent 68%);border-radius:50%}.demo-float{position:absolute;right:26px;top:-1px;z-index:2;display:flex;align-items:center;gap:8px;border:1px solid #e5dbce;background:#fff9e9;padding:9px 14px;border-radius:6px;font-size:10px;transform:rotate(3deg);box-shadow:0 5px 10px #362b2420}.idea-preview{position:relative;border:1px solid #d3cedb;border-radius:14px;background:var(--white);box-shadow:0 25px 55px -22px #3e305b35;transform:rotate(-1deg);overflow:hidden}.preview-top,.preview-bottom{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;font:9px/1.5 ui-monospace,monospace;color:#787484;gap:12px}.preview-top{background:#292734;color:#bcb9cb;border-bottom:1px solid #292734}.preview-top>span:first-child{color:#eeeaf8;display:flex;align-items:center;gap:8px}.preview-top i{width:7px;height:7px;border-radius:50%;background:#f08269}.preview-type{margin-left:auto;font-size:8px;letter-spacing:1px}.preview-canvas{height:355px;position:relative;background-color:#f8f6fc;background-image:radial-gradient(#bdb5cf .7px,transparent .7px);background-size:18px 18px}.canvas-caption{position:absolute;left:23px;top:18px;font:italic 13px Georgia,serif;color:#9485a5}.preview-lines{position:absolute;width:100%;height:100%;inset:0;fill:none;stroke:#a69ab6;stroke-width:1.6;transition:opacity .35s}.idea-node{position:absolute;text-align:center;border:1px solid #d2c8e5;border-radius:9px;background:#eee7fa;min-width:110px;padding:14px 10px;font-size:12px;line-height:1.55;box-shadow:0 5px 12px #33224408;transition:transform .45s,opacity .3s}.idea-node>span{display:block;font:7px/1.5 ui-monospace,monospace;letter-spacing:.8px;color:#847393;margin-bottom:6px}.idea-center{top:38%;left:50%;transform:translateX(-50%);background:#f26b50;border-color:#ce5035;min-width:154px;font-weight:700;font-size:17px;color:#2e1918;z-index:1;padding:15px 14px}.idea-center small{display:block;font:7px/1.5 ui-monospace,monospace;letter-spacing:1px;margin-bottom:6px;color:#632a23}.idea-center>span{font:10px/1.6 inherit;letter-spacing:0;color:#6e3028;margin:6px 0 0;font-size:9px}.idea-one{top:16%;left:4%;transform:rotate(-5deg)}.idea-two{top:14%;right:4%;transform:rotate(4deg);background:#f9e5b5;border-color:#dfcb98}.idea-two>span{color:#8a7339}.idea-three{bottom:12%;left:3%;transform:rotate(-3deg);background:#dce6f6;border-color:#b9cbe5}.idea-three>span{color:#647c9a}.idea-four{bottom:11%;right:3%;transform:rotate(5deg);background:#e4ebd7;border-color:#c1cfab}.idea-four>span{color:#73825d}.preview-cloud{position:absolute;width:65px;height:52px;left:43%;bottom:7px;color:#e5ddf5;transform:rotate(-7deg)}.preview-bottom{border-top:1px solid #e4dfea;font:10px/1.6 inherit;color:#797182;background:#fffefa;min-height:55px;font-size:10px}.demo-label{font-size:8px;border:1px solid #dcd7e4;border-radius:3px;padding:1px 5px;white-space:nowrap;color:#817987}.demo-cursor{position:absolute;left:61%;top:64%;color:#343040;font-size:24px;z-index:2;line-height:1}.demo-cursor span{display:inline-block;background:#343040;color:#fff;font-size:8px;padding:6px 8px;border-radius:4px;transform:translateY(9px)}.demo-brief{position:absolute;inset:40px 42px 40px;z-index:3;padding:29px 30px;background:#fffdf7;border:1px solid #d7cda9;border-radius:4px;box-shadow:8px 8px 0 #e6dacf;transform:translateY(8px) rotate(2deg);opacity:0;visibility:hidden;transition:opacity .3s,transform .35s;pointer-events:none}.demo-brief>span{font:8px ui-monospace,monospace;letter-spacing:1px;color:#987a53}.demo-brief strong{display:block;font-size:26px;line-height:1.4;letter-spacing:-1px;margin:22px 0 14px}.demo-brief p{font-size:12px;line-height:1.8;color:#8b7b69}.demo-brief small{font-size:9px;color:#9c8c77;border-top:1px solid #e8dfce;display:block;padding-top:13px}.story-demo[data-stage="1"] .preview-lines{opacity:0}.story-demo[data-stage="1"] .idea-one{transform:translate(12px,12px) rotate(-12deg)}.story-demo[data-stage="1"] .idea-two{transform:translate(-5px,15px) rotate(10deg)}.story-demo[data-stage="1"] .idea-three{transform:translate(8px,-4px) rotate(5deg)}.story-demo[data-stage="1"] .idea-four{transform:translate(-10px,-6px) rotate(-9deg)}.story-demo[data-stage="1"] .demo-cursor{opacity:0}.story-demo[data-stage="3"] .demo-brief{opacity:1;visibility:visible;transform:translateY(0) rotate(2deg)}.story-demo[data-stage="3"] .idea-node,.story-demo[data-stage="3"] .preview-lines,.story-demo[data-stage="3"] .demo-cursor{opacity:.15}.story-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding-top:24px}.story-controls>span{font-size:11px;color:#b5acbd}.story-controls button{background:none;border:1px solid transparent;padding:7px 10px;border-radius:6px;font-size:11px;color:#817588}.story-controls button>span{font:9px ui-monospace,monospace;margin-right:5px;color:#a69aac}.story-controls button[aria-pressed="true"]{background:#fff;border-color:#ddd5e8;color:#3b2d48;box-shadow:0 3px 7px #36254b08}.story-controls button[aria-pressed="true"]>span{color:var(--accent)}
.production-path{display:flex;gap:42px;align-items:center;padding-top:33px;padding-bottom:34px;border-block:1px solid #d8d5d8;background:#eeece8}.path-intro{flex:0 0 190px}.path-intro>.eyebrow{font-size:7px;letter-spacing:.8px;color:#817a84}.path-intro h2{font-size:22px;letter-spacing:-1px;margin:12px 0 0}.production-stages{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:28px;list-style:none;padding:0;margin:0;flex:1}.production-stages li{min-width:0;position:relative;padding:8px 0}.production-stages li:not(:last-child):after{content:'→';position:absolute;right:-21px;top:40%;font-size:16px;color:#b9b3bb}.stage-number{font:8px ui-monospace,monospace;letter-spacing:.6px;color:#8c858c}.production-stages strong{display:block;font-size:15px;letter-spacing:-.5px;font-weight:600;margin-top:8px;color:#6e6873}.production-stages p{font-size:10px;color:#8a838b;margin:7px 0 0}.production-stages .current{border-left:2px solid var(--coral);padding-left:16px}.current .stage-number{color:#bd4d37}.production-stages .current strong{font-size:25px;color:var(--ink);letter-spacing:-1px}.current strong>span{color:var(--accent);font-size:22px;margin-left:10px}.production-stages .current p{color:#5f5667}
.section{padding-top:104px;padding-bottom:104px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:43px}.section-heading h2{margin-bottom:0;word-break:keep-all}.section-heading p{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:3px;max-width:420px}.story-rows{border-top:1px solid var(--ink)}.story-rows article{display:grid;grid-template-columns:40px 1.1fr 1fr 80px;gap:24px;align-items:center;padding:28px 0;border-bottom:1px solid var(--line)}.row-number{font:11px ui-monospace,monospace;color:#b1a7b1}.row-question>span{font-size:11px;color:#a09aa4}.row-question h3{font-size:20px;letter-spacing:-.7px;margin:8px 0}.story-rows p{font-size:12px;line-height:1.9;color:var(--muted)}.row-symbol{font-size:52px;display:grid;place-items:center}.seed{color:var(--coral)}.connect{font-size:33px;white-space:nowrap;letter-spacing:-4px;color:#9b83ca}.frame{width:60px;height:60px;justify-self:end;border:1px solid #b8b0c4;border-radius:50%;font-size:31px;color:#7c6f91}
.toolkit-section{background:#272532;color:#f4f0f8;padding-block:90px}.toolkit-section .eyebrow{color:#bcaad8}.toolkit-section .section-heading p{color:#b8b1c4}.mindmap-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:center;border-block:1px solid #ffffff24;padding:44px 0 48px}.available-tag{display:flex;align-items:center;gap:7px;color:#d7c8e8;font-size:10px}.available-tag>span{width:6px;height:6px;border-radius:50%;background:#dbb690}.feature-intro h3{font-size:50px;letter-spacing:-2px;margin:19px 0 18px;font-weight:650}.feature-intro h3>span{display:block;font-size:17px;letter-spacing:-.4px;margin-top:12px;color:#d5cbe0;font-weight:400}.feature-intro p{font-size:12px;line-height:1.95;color:#b8afc5}.feature-intro .btn{margin-top:20px;background:#f28066;color:#291d21}.feature-intro .btn:hover{background:#fa987f}.feature-details>div{padding:19px 0 19px 53px;position:relative;border-bottom:1px solid #ffffff13}.feature-details>div:last-child{border-bottom:0}.feature-mark{position:absolute;left:0;top:20px;color:#c3a9e1;font-size:25px}.feature-details strong{font-size:14px;font-weight:550}.feature-details p{font-size:11px;margin:8px 0 0;color:#a79db6}.toolkit-subhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:43px;margin-bottom:5px}.toolkit-subhead h3{font-size:14px;font-weight:500;letter-spacing:-.3px}.toolkit-subhead>span{font-size:10px;color:#a89ab7}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 25px}.tool-card{display:grid;grid-template-columns:36px minmax(0,1fr) 14px;align-items:start;gap:12px;position:relative;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;padding:25px 0;transition:background .18s}.tool-card:hover{background:#29223508}.tool-card .tool-icon{width:34px;height:34px;border-radius:8px}.tool-card .tool-icon svg{width:20px;height:20px}.tool-card h3{font-size:14px;letter-spacing:-.3px;margin:0 0 6px}.tool-card p{font-size:10px;color:var(--muted);margin:0;line-height:1.7}.tool-card .arrow{color:#a69aac;font-size:12px}.tool-state{display:inline-block;margin-top:8px;font-size:9px;color:#928698}.toolkit-section .tool-card{border-color:#ffffff17;color:#f0eaf5}.toolkit-section .tool-card:hover{background:#ffffff06}.toolkit-section .tool-card p{color:#a89eb5}.toolkit-section .tool-card .tool-icon{background:#40394f;color:#c6b0e0}.toolkit-section .tool-card:nth-child(3n) .tool-icon{background:#453734;color:#e4b29a}.toolkit-section .tool-card:nth-child(3n+2) .tool-icon{background:#333e46;color:#b3c7da}.tool-caption{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9b90aa;margin-top:27px}
.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.price-card{border:1px solid var(--line);border-radius:12px;padding:27px 23px;display:flex;flex-direction:column;background:#fffefa}.price-card.featured{background:#e7dff2;border-color:#c6b5db}.plan-tag{font-size:9px;color:#867991;letter-spacing:.3px}.price-card h3{font-size:21px;font-weight:600;margin:22px 0 20px;letter-spacing:-.7px}.price{font-size:40px;font-weight:650;letter-spacing:-1.8px}.price>span{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#928699;margin-top:2px}.price-card>p{font-size:11px;line-height:1.8;color:#7b7183;min-height:38px;margin-top:18px}.price-card ul{list-style:none;font-size:11px;line-height:2.4;padding:0;margin:10px 0 26px;color:#685d74}.price-card li:before{content:'·';margin-right:8px}.price-card .btn{font-size:11px;padding:11px 8px;margin-top:auto}.demo-banner{font-size:11px;line-height:1.8;color:#8a7f8f;text-align:center;margin:24px 0 0}.closing{display:flex;align-items:center;gap:38px;padding-block:54px 90px;position:relative;isolation:isolate;overflow:hidden}.closing-art{position:relative;flex:0 0 150px;width:150px;height:150px;display:grid;place-items:center;border:1px solid #e4d5e9;border-radius:50%;background:#ece3f3}.closing-art>svg{width:105px;height:85px;color:#d0bce9;transform:rotate(-8deg)}.closing-art>span{position:absolute;right:8px;top:10px;font-size:37px;color:var(--coral)}.closing h2{font-size:36px;margin:17px 0;letter-spacing:-1.3px}.about-copy{font-size:12px;color:#85748b;line-height:1.9;margin:0}.closing .btn{margin-top:23px}.closing-word{margin-left:auto;font-size:125px;letter-spacing:-8px;line-height:.87;color:#e7e0e6;font-weight:780;user-select:none;z-index:-1}.site-footer{display:flex;align-items:center;gap:26px;border-top:1px solid var(--line);padding-block:28px;color:#8c818e;font-size:10px}.site-footer .brand{font-size:21px;color:var(--ink)}.site-footer>span:nth-child(2){font:italic 12px Georgia,serif}.site-footer>span:nth-child(3){margin-left:auto}.site-footer nav{display:flex;gap:14px}
.sidebar{position:fixed;inset:0 auto 0 0;width:218px;padding:29px 20px 22px;background:#292634;color:#ddd4e8;border-right:1px solid #292634;display:flex;flex-direction:column;overflow:auto}.sidebar .brand{font-size:22px;margin-bottom:38px;color:#f5effb}.sidebar-label{font:9px ui-monospace,monospace;letter-spacing:1.5px;color:#9b8eaf;margin:12px 13px}.sidebar button{display:flex;align-items:center;gap:12px;background:none;color:#c3b6d2;border:0;border-radius:7px;width:100%;padding:11px 13px;font-size:12px;text-align:left}.sidebar button:hover,.sidebar button.active{background:#494056;color:#fff}.sidebar button.active{box-shadow:inset 3px 0 var(--coral)}.side-map{margin-top:4px}.sidebar .tool-icon{width:20px;height:20px;background:none;border-radius:0;color:inherit}.sidebar .tool-icon svg{width:18px;height:18px}.side-tool-menu{margin-top:25px;border-top:1px solid #ffffff17;padding-top:14px}.side-tool-menu>summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none;padding:10px 13px;font-size:11px;color:#a294b5}.side-tool-menu>summary::-webkit-details-marker{display:none}.side-tool-menu[open]>summary>span{transform:rotate(45deg)}.sidebar-bottom{margin-top:auto;padding:50px 13px 0;color:#b9a7c9}.sidebar-bottom svg{width:65px;height:52px;color:#d1bde6;margin-bottom:15px}.sidebar-bottom p{font-size:12px;line-height:1.8}.sidebar-bottom>span{font:8px ui-monospace,monospace;letter-spacing:.7px;color:#89799b}.sidebar-bottom>a{display:block;font-size:11px;margin-top:23px}.dash-main{margin-left:218px}.dash-header{min-height:76px;border-bottom:1px solid var(--line);padding:18px 44px;display:flex;align-items:center;gap:22px;font-size:12px;background:#fffefa}.local-pill{margin-left:auto;font-size:10px;color:#667969;display:flex;align-items:center;gap:7px}.dash-content{max-width:1240px;margin:auto;padding:36px 44px 70px}.dash-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:38px;padding:28px 32px;border:1px solid #e4d7e8;border-radius:13px;background:linear-gradient(110deg,#f0e8ef,#ece5f7 70%,#eddfef);position:relative;overflow:hidden}.dash-welcome h1{font-size:33px;font-weight:700;margin:17px 0 13px;word-break:keep-all;letter-spacing:-1.3px}.dash-welcome h1 span{color:#80639b}.dash-welcome p{font-size:12px;color:#8d799b;margin:0}.dash-welcome .eyebrow{font-size:8px;color:#9d82aa}.dash-welcome>svg{width:105px;height:90px;color:#cebae4;margin-right:24px;transform:rotate(8deg);filter:drop-shadow(8px 9px 0 #b7a2d02b)}.dash-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.dash-section-head h2{font-size:16px;font-weight:650;margin:0;letter-spacing:-.5px}.dash-section-head h2>span{font-size:10px;background:#e9e3ef;border-radius:5px;padding:3px 6px;margin-left:8px;color:#8c739e}.project-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-card{position:relative;border:1px solid var(--line);border-radius:11px;padding:15px;background:#fffefa;text-align:left;min-width:0;transition:border .18s,box-shadow .18s,transform .18s}.project-card:hover{border-color:#bda6cf;transform:translateY(-2px);box-shadow:0 6px 14px #4a305b0a}.project-card.selected{border-color:#b28fce;box-shadow:inset 0 0 0 1px #b28fce}.project-art{height:66px;border-radius:6px;background:#eee6f5;display:flex;align-items:center;justify-content:center;position:relative;gap:8px;overflow:hidden}.project-art>span{font-size:37px;color:#ae91c8;z-index:1}.project-art>i{height:14px;width:28px;background:#fffafc;border:1px solid #d0bddf;border-radius:4px;transform:rotate(-10deg)}.project-art>i:nth-child(3){transform:translateY(-12px) rotate(10deg)}.project-art>i:nth-child(4){transform:translateY(6px) rotate(4deg)}.project-card:nth-child(3n+2) .project-art{background:#f3e2d8}.project-card:nth-child(3n+2) .project-art>span{color:#d39c7e}.project-card:nth-child(3n) .project-art{background:#e1e9e4}.project-card:nth-child(3n) .project-art>span{color:#93b5a2}.project-card.selected:after{content:'✓';position:absolute;top:22px;right:22px;font-size:10px;background:#665079;color:#fff;width:18px;height:18px;border-radius:50%;text-align:center}.project-card h3{font-size:14px;margin:17px 0 7px;line-height:1.7;overflow-wrap:anywhere}.project-card p{font-size:11px;color:#938399;margin:0 0 13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:32px}.project-card small{font-size:10px;color:#8c7b94}.project-resume-hint{display:block;margin-top:10px;font-size:9px;color:#a08aa9}.project-card:hover .project-resume-hint{color:#8c5384}.empty-project{grid-column:1/-1;padding:42px;border:1px dashed #cfc0da;border-radius:12px;background:#f0ebf4;text-align:center;color:#8c7899;font-size:13px}.workspace-launch{margin:28px 0 26px;border:1px solid #ebcec2;background:#f6e6de;border-radius:11px;display:flex;align-items:center;gap:20px;padding:25px}.launch-icon{font-size:32px;color:#d38c71}.workspace-launch h2{font-size:18px;margin:8px 0 6px;overflow-wrap:anywhere}.workspace-launch .eyebrow{font-size:8px;color:#b2826f}.workspace-launch p{font-size:11px;margin:0;color:#a27c70}.workspace-launch>.btn{margin-left:auto;flex-shrink:0}.workspace-tools,.workspace-info,.storage-panel{border-bottom:1px solid var(--line)}.workspace-tools>summary,.workspace-info>summary,.storage-panel>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;cursor:pointer;font-size:13px}.workspace-tools summary::-webkit-details-marker,.workspace-info summary::-webkit-details-marker,.storage-panel summary::-webkit-details-marker{display:none}.workspace-tools summary small{font-size:10px;color:#a18ca7;margin-left:12px}.workspace-tools[open]>summary>span:last-child,.workspace-info[open]>summary>span,.storage-panel[open]>summary>span:last-child{transform:rotate(45deg)}.workspace-tools .tools-grid{padding-bottom:20px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}.workspace-tools .tool-card{padding-block:20px}.workspace-info>summary{font-size:11px;color:#92809c}.dashboard-notice{font-size:12px;color:#8b7796;line-height:1.9;margin:0 0 20px}.storage-panel>summary{font-size:12px;color:#826e8e}.storage-content{padding:0 0 24px}.storage-content strong{font-size:13px;font-weight:500}.storage-content p{max-width:740px;font-size:12px;color:#94809e;line-height:1.9;margin:8px 0 18px}.storage-actions{display:flex;flex-wrap:wrap;gap:8px}#storage-status{display:block;margin-top:12px;font-size:11px;color:#8e658e}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-head .eyebrow{font-size:9px}dialog{background:var(--white);border:1px solid #ddd3e5;border-radius:14px;color:var(--ink);padding:32px;width:490px;max-width:calc(100vw - 32px);max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #241b3a30}dialog::backdrop{background:#251f3e55;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin:22px 0}dialog p{font-size:12px;color:#897393;line-height:1.9}.icon-button{border:0;background:none;font-size:25px;line-height:1;padding:8px}.form-error{color:#b74146}label{display:block;font-size:12px;margin:18px 0 7px}input,textarea,select{width:100%;padding:12px;border:1px solid #d8cddd;border-radius:7px;background:#fffefa;color:var(--ink);font-size:14px}textarea{resize:vertical;line-height:1.8}#project-form>.btn{width:100%;margin-top:24px}.editor-dialog{width:760px}.editor-tip{padding:14px;background:#f0eaf5;border-radius:8px;font-size:12px;color:#8e729d;margin-top:20px;white-space:pre-line}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.editor-footer>span{font-size:11px;color:#91739f}.editor-disclaimer{font-size:11px!important;margin-bottom:0}#drawing-canvas{display:block;width:100%;height:240px;background:white;border:1px solid #d9cde1;touch-action:none;border-radius:8px}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.canvas-toolbar label{margin:0;display:flex;gap:10px;align-items:center}input[type=color]{width:35px;height:30px;padding:2px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--ink);color:#fff;font-size:12px;border-radius:8px;z-index:50;max-width:90vw;width:max-content}.auth-dialog{position:relative;width:470px;text-align:center;padding:42px 32px 26px;background:radial-gradient(ellipse at 50% 0,#f0e4f8,transparent 55%),var(--white)}.auth-close{position:absolute;right:12px;top:12px}.auth-mascot{width:90px;height:72px;margin:0 auto 22px;color:#d5bfea}.auth-dialog .eyebrow{justify-content:center;font-size:8px;color:#ab7e9c}.auth-dialog h2{font-size:25px;font-weight:650;line-height:1.5;margin:20px 0 13px}.auth-dialog>p{font-size:13px}.google-login-button{display:flex;justify-content:center;min-height:44px;max-width:100%;margin:25px auto 10px}.auth-dialog .auth-message{font-size:11px;min-height:20px;margin:10px 0;color:#8e769c}.auth-message.is-error{color:#b2544a!important}.auth-divider{border-top:1px solid var(--line);position:relative;margin:26px 0 20px}.auth-divider span{position:relative;top:-14px;background:var(--white);padding:0 12px;font-size:10px;color:#a28bae}.auth-dialog #auth-guest{width:100%;font-size:12px}.auth-dialog .auth-note{font-size:10px;line-height:1.9;color:#9b859e;margin-top:20px}.auth-dialog #auth-refresh{font-size:11px;margin:auto}
@media(min-width:1500px){.hero{padding-block:110px}.hero h1{font-size:60px}}
@media(max-width:1170px){.header{flex-wrap:wrap;row-gap:12px;min-height:0}.product-nav{order:3;width:100%;justify-content:center;padding-top:9px;border-top:1px solid #e5e0e8}.header>.open-dashboard{margin-left:auto}.hero{padding-block:67px 75px;gap:30px}.hero h1{font-size:41px}.hero-actions{gap:17px}.hero-actions .btn{padding-inline:17px}.hero-actions .text-link{font-size:11px}.hero-copy>p{font-size:12px}.hero-copy>p.hero-lead{font-size:14px}.idea-node{min-width:100px}.idea-center{min-width:144px}.production-path{gap:25px}.path-intro{flex-basis:160px}.production-stages{gap:24px}.production-stages strong{font-size:13px}.price-card{padding:24px 18px}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.dash-content{padding:30px}.project-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-launch{flex-wrap:wrap}.workspace-launch>.btn{font-size:12px}.workspace-tools .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.wrap{padding-inline:30px}.hero{grid-template-columns:1fr;max-width:760px;gap:45px;padding-top:55px}.hero h1{font-size:48px}.hero-copy{text-align:center}.hero-copy>.eyebrow,.hero-foot,.hero-actions{justify-content:center}.hero-copy>p{font-size:14px}.hero-copy>p.hero-lead{font-size:16px}.hero-signature{display:none}.story-demo{width:100%;max-width:540px;margin:auto}.preview-canvas{height:370px}.idea-node{min-width:115px}.idea-center{min-width:155px}.production-path{display:block}.path-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.path-intro h2{font-size:20px;margin:0}.path-intro h2 br{display:none}.production-stages strong{font-size:14px}.section-heading h2{font-size:32px}.story-rows article{grid-template-columns:25px 1fr 1fr;gap:20px}.row-symbol{display:none}.row-question h3{font-size:18px}.story-rows p{font-size:11px}.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mindmap-feature{gap:40px}.feature-intro h3{font-size:42px}.closing{gap:25px}.closing h2{font-size:30px}.closing-art{flex-basis:120px;height:120px}.closing-word{display:none}.site-footer{flex-wrap:wrap;gap:18px}.sidebar{width:190px;padding-inline:14px}.dash-main{margin-left:190px}.dash-header{padding-inline:26px}.dash-welcome{padding:25px}.dash-welcome h1{font-size:27px}.dash-welcome>svg{width:75px;height:65px;margin:0}.workspace-launch>.btn{margin-left:0}.workspace-launch>div:nth-child(2){flex:1}.workspace-launch .btn{width:100%}}
@media(max-width:700px){h2{font-size:29px}.wrap{padding-inline:23px}.header{padding:17px 20px 13px;gap:10px}.brand{font-size:21px}.brand svg{width:30px;height:26px}.header>.open-dashboard{font-size:10px;padding:9px 10px;gap:8px}.header>.account-controls{margin-left:auto}.account-name{max-width:62px}.account-controls{gap:3px}.account-controls button{font-size:10px;padding:5px}.product-nav{flex-direction:column;gap:10px;padding-top:10px}.nav-tools{gap:0;width:100%;justify-content:space-between}.nav-tool{width:31px;height:31px}.nav-tool .tool-icon{width:29px;height:29px;border-radius:7px}.nav-tooltip{font-size:10px}.nav-tool:first-child .nav-tooltip{left:0;transform:none}.nav-tool:nth-last-child(-n+2) .nav-tooltip{left:auto;right:0;transform:none}.nav-text-links{border-left:0;padding:0;gap:33px}.nav-text-links a,.nav-text-links button{font-size:10px}.hero{padding-top:42px;padding-bottom:45px;gap:38px;min-height:0}.hero-copy>.eyebrow{font-size:7px;letter-spacing:.8px;gap:7px}.beta-chip{font-size:7px;padding:3px 5px}.hero h1{font-size:clamp(29px,7.6vw,44px);letter-spacing:-.065em;margin:23px 0 20px}.hero-copy>p{font-size:11px}.hero-copy>p.hero-lead{font-size:12px}.hero-actions{gap:17px;margin-top:23px}.hero-actions .btn{font-size:11px;padding:12px 15px;gap:12px}.hero-actions .text-link{font-size:10px;gap:8px}.hero-foot{font-size:8px;margin-top:15px}.story-demo:before{inset:0 0 35px}.demo-float{font-size:8px;padding:7px 10px;right:15px;top:2px}.preview-canvas{height:300px}.preview-top,.preview-bottom{font-size:8px;padding:13px 14px;gap:8px}.preview-type{font-size:7px}.canvas-caption{font-size:11px;left:17px;top:17px}.idea-node{min-width:85px;font-size:11px;padding:11px 7px;border-radius:7px}.idea-node>span{font-size:6px;margin-bottom:4px}.idea-center{min-width:120px;font-size:15px;padding:12px 9px}.idea-center>span{font-size:7px}.idea-one{left:3%;top:18%}.idea-two{right:3%;top:15%}.idea-three{left:3%;bottom:12%}.idea-four{right:3%;bottom:10%}.preview-cloud{width:50px;height:40px;left:43%;bottom:7px}.demo-cursor{font-size:20px;top:65%}.demo-cursor span{font-size:7px;padding:4px 6px}.preview-bottom{min-height:51px;line-height:1.8}.story-controls{gap:6px;padding-top:18px}.story-controls button{padding:7px;font-size:10px}.story-controls button>span{font-size:8px}.story-controls>span{font-size:9px}.demo-brief{inset:30px 25px 30px;padding:22px}.demo-brief strong{font-size:24px;margin:18px 0 10px}.demo-brief p{font-size:10px}.demo-brief small{font-size:8px}.production-path{padding-block:25px}.path-intro{margin-bottom:20px;align-items:end}.path-intro>.eyebrow{font-size:6px;letter-spacing:.6px;max-width:130px}.path-intro h2{font-size:16px;letter-spacing:-.7px}.production-stages{grid-template-columns:1fr 1fr;gap:20px 24px}.production-stages li{padding:2px 0 2px 12px;border-left:1px solid #cfc6d3}.production-stages li:not(:last-child):after{display:none}.production-stages .current{padding-left:12px}.stage-number{font-size:7px}.production-stages strong{font-size:13px;margin-top:6px}.production-stages .current strong{font-size:21px}.production-stages p{font-size:9px;margin-top:4px}.section{padding-block:60px}.section-heading{display:block;margin-bottom:29px}.section-heading p{font-size:11px;margin-top:20px}.section-heading h2{font-size:29px}.section-heading .eyebrow{font-size:8px}.story-rows article{grid-template-columns:25px 1fr;gap:4px 13px;padding:24px 0}.row-number{align-self:start;margin-top:4px;font-size:10px}.row-question>span{font-size:10px}.row-question h3{font-size:18px;margin:7px 0}.story-rows p{grid-column:2;font-size:11px;margin:4px 0}.toolkit-section{padding-block:57px}.toolkit-section h2{font-size:28px}.mindmap-feature{grid-template-columns:1fr;gap:18px;padding:30px 0}.available-tag{font-size:9px}.feature-intro h3{font-size:42px;margin:16px 0}.feature-intro h3>span{font-size:15px}.feature-intro p{font-size:11px}.feature-intro .btn{font-size:12px;margin-top:14px}.feature-details>div{padding:17px 0 17px 44px}.feature-details strong{font-size:13px}.feature-details p{font-size:10px}.feature-mark{font-size:23px;top:16px}.toolkit-subhead{align-items:start;flex-direction:column;gap:4px;margin-top:30px;margin-bottom:10px}.toolkit-subhead h3{margin:0;font-size:13px}.toolkit-subhead>span{font-size:9px}.tools-grid{gap:0 16px}.tool-card{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:21px 0}.tool-card .tool-icon{width:28px;height:28px;border-radius:6px}.tool-card .tool-icon svg{width:17px;height:17px}.tool-card h3{font-size:12px;line-height:1.5;letter-spacing:-.3px}.tool-card p{font-size:9px}.tool-card .arrow{display:none}.tool-state{font-size:8px}.tool-caption{flex-direction:column;gap:6px;font-size:9px;margin-top:23px}.price-card{padding:21px 16px;border-radius:10px}.price-card h3{font-size:18px}.price{font-size:32px}.price-card ul{font-size:10px;line-height:2.2}.price-card .btn{font-size:10px;white-space:normal;gap:6px}.price-card>p{font-size:10px}.demo-banner{font-size:10px;text-align:left}.closing{padding-block:0 60px;flex-wrap:wrap;gap:23px}.closing-art{flex:0 0 74px;height:74px;width:74px}.closing-art>svg{width:57px;height:47px}.closing-art>span{font-size:23px;right:0;top:-8px}.closing>div:nth-child(2){flex:1;min-width:220px}.closing .eyebrow{font-size:6px;letter-spacing:.5px}.closing h2{font-size:25px;margin:15px 0}.about-copy{font-size:10px}.closing .btn{font-size:11px;margin-top:20px}.site-footer{gap:16px;font-size:9px;padding-block:24px}.site-footer>span:nth-child(2){display:none}.site-footer>span:nth-child(3){margin-left:auto}.site-footer nav{margin-left:0;width:100%;font-size:10px}.sidebar{position:relative;width:100%;padding:16px 20px;border:0;display:flex;flex-direction:row;align-items:center;gap:14px;overflow:visible}.sidebar .brand{margin:0;font-size:20px}.sidebar-label,.sidebar-bottom,.sidebar .side-home,.sidebar .side-map{display:none}.side-tool-menu{margin:0 0 0 auto;padding:0;border:0}.side-tool-menu>summary{font-size:11px;padding:6px;gap:18px}.side-tool-menu>nav{position:absolute;top:65px;right:12px;background:#31293c;border:1px solid #4e3c5f;border-radius:12px;padding:10px;width:210px;z-index:6;box-shadow:0 10px 30px #30233b20}.side-tool-menu button{padding:9px 12px}.dash-main{margin-left:0}.dash-header{padding:14px 20px;min-height:62px;font-size:11px;gap:10px}.local-pill{font-size:9px}.dash-header .account-controls{margin-left:0}.dash-content{padding:24px 20px 50px}.dash-welcome{margin-bottom:27px;gap:10px;padding:24px 21px}.dash-welcome h1{font-size:25px;line-height:1.4;margin-top:13px}.dash-welcome .eyebrow{font-size:6px;letter-spacing:.7px}.dash-welcome p{font-size:10px;max-width:190px}.dash-welcome>svg{width:57px;height:48px}.dash-section-head h2{font-size:15px}.dash-section-head .btn{font-size:10px;padding:9px 11px}.project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-card{padding:11px}.project-card h3{font-size:12px;margin-top:14px}.project-card p{font-size:10px;margin-bottom:12px}.project-card small{font-size:8px}.project-card.selected:after{top:15px;right:15px}.project-art{height:53px;gap:4px}.project-art>span{font-size:30px}.project-art>i{height:12px;width:19px}.project-art>i:last-child{display:none}.project-resume-hint{font-size:8px}.workspace-launch{padding:21px 20px;gap:15px;margin-top:22px}.workspace-launch h2{font-size:16px}.workspace-launch>.btn{margin-left:0;width:100%;font-size:12px}.workspace-launch>div:nth-child(2){flex:1}.workspace-tools>summary{font-size:12px}.workspace-tools summary small{display:block;margin-left:0;margin-top:2px}.workspace-tools .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.workspace-tools .tool-card{padding-block:18px}.storage-actions .btn{font-size:10px;padding:10px 12px}.storage-content p{font-size:11px}.workspace-info>summary{font-size:10px}.dashboard-notice{font-size:11px}.auth-dialog{padding:35px 23px 20px}.auth-dialog h2{font-size:23px}.auth-dialog .auth-note{font-size:9px}dialog{padding:24px}.dialog-head .eyebrow{letter-spacing:1px;font-size:8px}.editor-footer{align-items:stretch;flex-direction:column;gap:12px}}
@media(max-width:360px){.header>.account-controls{width:100%;justify-content:flex-end}.pricing-grid{grid-template-columns:1fr}.project-list{grid-template-columns:1fr}.hero-actions{gap:12px}.hero-actions .btn{padding-inline:10px}.idea-node{min-width:76px}.idea-center{min-width:106px}.story-controls{gap:2px}.story-controls button{padding-inline:5px}.closing-art{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
summary:focus-visible{outline:3px solid var(--coral);outline-offset:4px}

/* Pre-Mind studio: original light chrome, familiar desktop controls. */
body.mindmap-active{overflow:hidden}
.mindmap-dialog{--mm-ink:#34303e;--mm-line:#ddd5e4;--mm-chrome:#f9f6fb;--mm-accent:#956eaa;position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:var(--mm-chrome);color:var(--mm-ink);box-shadow:none;overflow:hidden;font-family:Inter,system-ui,'Malgun Gothic',sans-serif}
.mindmap-dialog[open]{display:flex;flex-direction:column}.mindmap-dialog::backdrop{background:#f7f5f8;backdrop-filter:none}
.mindmap-dialog button,.mindmap-dialog summary{font-family:inherit}.mindmap-dialog button:disabled{opacity:.35;cursor:default}.mindmap-dialog button:focus-visible,.mindmap-dialog summary:focus-visible{outline:2px solid #b67eaa;outline-offset:2px}
.mm-header{height:44px;min-height:44px;display:flex;align-items:center;gap:20px;padding:0 18px;background:#292634;border-bottom:1px solid var(--mm-line);z-index:10}
.mm-brand{display:flex;align-items:center;gap:9px;border:0;background:transparent;font-size:12px;font-weight:650;color:#eee4f5;white-space:nowrap;padding:0}

.mm-menubar{display:flex;align-self:stretch;align-items:center;gap:1px}
.mm-app-menu{position:relative}.mm-app-menu summary{list-style:none;cursor:pointer;font-size:12px;padding:7px 10px;border-radius:5px;white-space:nowrap}.mm-app-menu summary::-webkit-details-marker{display:none}.mm-app-menu[open]>summary,.mm-app-menu summary:hover{background:#51435f}
.mm-menu-content{position:absolute;top:calc(100% + 5px);left:0;width:260px;padding:6px;background:#fff;border:1px solid #dfd3e8;border-radius:8px;box-shadow:0 10px 35px #35234424;z-index:20}
.mm-menu-content button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;background:transparent;border:0;border-radius:4px;padding:10px 12px;font-size:12px;color:var(--mm-ink)}.mm-menu-content button:hover:not(:disabled){background:#f1e9f8}.mm-menu-content kbd{font:10px system-ui;color:#9b87a7;white-space:nowrap}.mm-menu-content hr{border:0;border-top:1px solid #ece4f0;margin:4px 7px}
.mm-help-menu .mm-menu-content{width:350px;padding:20px}.mm-menu-content strong{font-size:13px}.mm-menu-content p{font-size:11px;line-height:1.8;color:#8f789b}.mm-menu-content dl{display:grid;grid-template-columns:1fr 1.5fr;gap:12px 10px;font-size:11px;line-height:1.6}.mm-menu-content dt{color:#8e749f}.mm-menu-content dd{margin:0}
.mindmap-dialog .mm-autosave{margin-left:auto;font-size:10px;white-space:nowrap;color:#6c826d;max-width:240px;overflow:hidden;text-overflow:ellipsis}.mm-autosave[data-state="pending"],.mm-autosave[data-state="saving"]{color:#9a7a37}.mm-autosave[data-state="error"]{color:#a44c4c}
.mm-save-button{border:1px solid #ad8bb9;background:#f6ecfa;color:#775386;border-radius:5px;padding:6px 12px;font-size:11px;white-space:nowrap;margin-left:auto}.mm-autosave:not([hidden])+.mm-save-button{margin-left:0}
.mm-document-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:43px;height:43px;padding:0 21px;border-bottom:1px solid var(--mm-line);background:#eee8f3}
.mm-document-name{display:flex;align-items:center;gap:12px;min-width:0}.mm-document-name svg{width:18px;height:18px;fill:none;stroke:#9b7aaf;stroke-width:1.5}.mm-document-name h2{font-size:12px;font-weight:650;letter-spacing:0;margin:0;white-space:nowrap}.mm-divider{color:#ccb8d8}
.mindmap-dialog #mm-project{width:auto;min-width:0;max-width:360px;padding:4px 22px 4px 0;border:0;border-radius:0;background:transparent;font-size:12px;color:#866d96;margin:0}.mm-document-hint{font-size:10px;color:#a38dae;white-space:nowrap}
.mm-options{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 18px;border-bottom:1px solid var(--mm-line);background:#fffdfa;z-index:3}
.mm-history-tools{display:flex;gap:2px}.mm-control{border:0;background:transparent;color:#8e749d;border-radius:5px;min-width:30px;min-height:30px;padding:4px 7px;display:inline-grid;place-items:center;font-size:15px}
.mm-control:hover:not(:disabled){background:#f0e7f5}.mm-tool-divider{height:18px;width:1px;background:#dfd3e6;flex-shrink:0}.mm-option-label{font-size:10px;color:#9c87a9;white-space:nowrap}
.mm-colors{display:flex;align-items:center;gap:8px;flex-shrink:0}.mm-swatch{position:relative;border:0;background:var(--swatch);width:20px;height:20px;flex:0 0 20px;padding:0;border-radius:50%;display:grid;place-items:center;transition:transform .12s}
.mm-swatch span{opacity:0;font-size:11px;color:#fff;font-weight:700}.mm-swatch[aria-pressed="true"] span{opacity:1}.mm-swatch[aria-pressed="true"]{outline:1px solid var(--swatch);outline-offset:3px}.mm-swatch:hover:not(:disabled){transform:scale(1.14)}.mm-swatch:disabled{opacity:.3}
#mm-selection-name{font-size:11px;color:#9e88ab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px;margin-left:8px}
.mm-panel-toggles{margin-left:auto;display:flex;gap:6px}.mm-panel-toggles button{border:0;border-radius:5px;padding:6px 11px;background:transparent;color:#947d9f;font-size:11px}.mm-panel-toggles button[aria-expanded="true"],.mm-panel-toggles button:hover{background:#e9ddf1;color:#79568f}
.mm-body{display:flex;flex:1;min-height:0;position:relative;overflow:hidden}.mm-toolrail{width:54px;flex:0 0 54px;display:flex;align-items:center;flex-direction:column;gap:7px;padding:12px 7px;background:#f9f6fb;border-right:1px solid var(--mm-line);z-index:2}
.mm-rail-button{border:1px solid transparent;background:transparent;display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:7px;color:#957aa6;font-size:18px}
.mm-rail-button:hover{background:#eee4f5}.mm-rail-button[aria-pressed="true"]{background:#e9d9f4;border-color:#ccb0dd;color:#7b4f96}
.mm-rail-button svg,.mm-zoom svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mm-rail-divider{height:1px;min-height:1px;width:22px;background:#e5d9eb;margin:5px 0}.mm-rail-spacer{flex:1}
.mm-board-panel{position:relative;display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}
.mm-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#f7f5f8;position:relative;scroll-behavior:auto;touch-action:none;scrollbar-width:thin;scrollbar-color:#cfc1d9 #f6f1f9}.mm-viewport:focus-visible{outline:2px solid #c4a6d6;outline-offset:-2px}
#mm-size{width:6000px;height:4000px;position:relative}#mm-world{position:absolute;inset:0 auto auto 0;width:6000px;height:4000px;transform-origin:0 0;background-color:#f7f5f8;background-image:radial-gradient(#d5cbdc .8px,transparent .8px);background-size:24px 24px}
.mm-no-grid #mm-world{background-image:none}#mm-lines{position:absolute;inset:0;width:6000px;height:4000px;overflow:visible;pointer-events:none}#mm-lines path{fill:none;stroke:#b2a0c0;stroke-width:2.2}
.mm-node{position:absolute;width:180px;height:80px;display:flex;align-items:center;justify-content:center;padding:12px 16px;border:1px solid var(--node-stroke);border-radius:12px;background:var(--node-fill);box-shadow:0 3px 8px #3d2a4d0c;color:#373041;text-align:center;touch-action:none;user-select:none;cursor:grab;line-height:1.55}
.mm-node.selected{outline:2px solid #b4779c;outline-offset:3px}.mm-node.connection-source{outline:2px dashed #c183ab;outline-offset:5px}
.mm-node-text{font-size:16px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;white-space:pre-wrap;pointer-events:none}.mm-node-note-dot{position:absolute;bottom:8px;right:10px;width:5px;height:5px;border-radius:50%;background:#9c74af;pointer-events:none}
.mm-hand-active .mm-viewport,.mm-hand-active .mm-node{cursor:grab}.mm-panning .mm-viewport,.mm-panning .mm-node,.mm-dragging .mm-node{cursor:grabbing}.mm-connecting .mm-node{cursor:crosshair}
.mm-canvas-hint{position:absolute;bottom:22px;left:25px;pointer-events:none;font-size:10px;color:#a08daa;background:#f7f5f8c9;padding:5px;border-radius:4px}
.mm-zoom{position:absolute;bottom:18px;right:20px;display:flex;align-items:center;gap:4px;padding:4px;background:#fffdfa;border:1px solid #e0d4e8;border-radius:8px;box-shadow:0 3px 12px #3522460a}
#mm-scale{width:46px;border:0;background:none;font:11px system-ui;color:#8b6e9b;padding:6px 0}.mm-zoom .mm-tool-divider{margin:0 3px}
.mm-inspector{width:276px;flex:0 0 276px;padding:20px;background:#fcf9fe;border-left:1px solid var(--mm-line);overflow:auto;z-index:4}.mm-inspector[hidden]{display:none}
.mm-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.mm-panel-head h3{margin:0;font:600 12px system-ui;color:#80648e}
.mm-inspector fieldset{border:0;padding:0;margin:0;min-width:0}.mm-inspector label{font-size:10px;color:#9b85a8;margin:15px 0 8px;display:block}.mm-inspector textarea,.mm-inspector select{font:12px/1.7 system-ui,sans-serif;border:1px solid #dfd0e9;border-radius:6px;background:#fff;padding:10px;color:#5b4668;width:100%}.mm-inspector textarea{resize:vertical}.mm-inspector #mm-notes{min-height:280px}
#mm-empty{font-size:12px;color:#a58ab4;line-height:1.8}.mm-node-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.mm-node-actions button{padding:9px 6px;border:1px solid #e1d2e9;background:#f6eefb;border-radius:5px;color:#91729f;font-size:10px}.mm-node-actions button:hover{background:#eee1f7}.mm-node-actions .mm-danger{color:#a47c72;background:#fcf8f4}
.mm-connections{margin-top:25px;padding-top:3px;border-top:1px solid #e6d9ee}.mm-text-button{border:0;background:none;color:#a187b1;font-size:10px;margin-top:12px;padding:0}.mm-local-note{font-size:10px!important;line-height:1.9!important;color:#a28cad!important;margin-top:18px}
.mm-footer{height:28px;min-height:28px;max-width:none;margin:0;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--mm-line);background:#f9f6fb;color:#a48caf;font-size:10px}.mm-footer>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mm-footer #mm-count{white-space:nowrap;font:10px system-ui}.mm-footer>span:last-child{display:none}
.mm-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mm-discard{position:absolute;inset:0;z-index:30;background:#29203460;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px}.mm-discard-card{width:420px;max-width:100%;padding:28px;border:1px solid #dfcde9;border-radius:10px;background:#fffbff;box-shadow:0 20px 70px #3b264a25}.mm-discard-card h3{font-size:20px;margin:15px 0}.mm-discard-card p{font-size:12px}.mm-discard-card>div:last-child{display:flex;gap:12px;margin-top:25px}.mm-discard-card .eyebrow{font-size:8px}
@media(max-width:1000px){.mm-header{gap:12px;padding:0 12px}.mm-brand>span:last-child{display:none}.mm-document-hint,#mm-selection-name{display:none}.mm-inspector{width:250px;flex-basis:250px}.mm-canvas-hint{display:none}.mm-options{gap:10px;padding:0 12px}.mm-help-menu .mm-menu-content{left:auto;right:0}}
@media(max-width:700px){.mm-header{min-height:48px;height:48px;gap:7px;padding:0 8px}.mm-brand{display:none}.mm-app-menu summary{padding:8px;font-size:11px}.mm-autosave{display:none}.mm-save-button{font-size:10px;padding:5px 8px;max-width:105px;overflow:hidden;text-overflow:ellipsis}.mm-document-bar{padding:0 12px;min-height:39px;height:39px}.mm-document-name{gap:7px}.mindmap-dialog #mm-project{font-size:11px;max-width:230px}.mm-options{min-height:48px;gap:8px;overflow-x:auto}.mm-option-label,.mm-history-tools,.mm-options>.mm-tool-divider{display:none}.mm-colors{gap:8px}.mm-swatch{width:19px;height:19px;flex-basis:19px}.mm-panel-toggles{flex-shrink:0;margin-left:auto;gap:1px}.mm-panel-toggles button{padding:6px 7px}.mm-toolrail{width:44px;flex-basis:44px;padding:10px 4px}.mm-rail-button{width:34px;height:34px;flex-basis:34px}.mm-inspector{position:absolute;right:0;top:0;bottom:0;width:260px;max-width:calc(100% - 54px);box-shadow:-10px 0 30px #3e28500f;padding:16px}.mm-zoom{bottom:12px;right:12px}.mm-footer{padding:0 10px;font-size:9px}.mm-footer #mm-count{font-size:9px}.mm-menu-content{width:245px}.mm-app-menu:nth-child(n+3) .mm-menu-content{left:auto;right:-70px}.mm-help-menu .mm-menu-content{width:min(320px,90vw);right:-85px!important}}
@media(prefers-reduced-motion:reduce){.mm-swatch{transition:none}}
@media(max-width:700px){.mindmap-dialog .mm-app-menu .mm-menu-content{position:fixed;top:52px;left:8px!important;right:auto!important;width:min(340px,calc(100vw - 16px));max-height:calc(100dvh - 80px);overflow:auto}}

.mm-header>.mm-menubar{color:#ded1e9}.mm-header .mm-autosave{color:#cfbdd8}.mm-header .mm-autosave[data-state="saving"],.mm-header .mm-autosave[data-state="pending"]{color:#f5c98b}.mm-header .mm-autosave[data-state="error"]{color:#ffb3ae}.mm-save-button{border-color:#6f587d;background:#493754;color:#eee1f4}.mm-header .mm-app-menu>summary:hover,.mm-header .mm-app-menu[open]>summary{background:#51415f}.mm-menu-content{color:#34303e}.mm-node{box-shadow:0 4px 13px #3c28540b}.mm-node.selected{outline-color:#b073a1}.mm-menu-content [data-command] kbd{font-size:9px}.mm-menu-content .paid-export kbd{color:#a7643e;background:#fff0df;padding:2px 5px;border-radius:3px}.export-policy-dialog{width:440px}.export-policy-dialog .plan-kicker{color:#ad7047;font-size:10px}.export-policy-dialog .btn{width:100%;margin-top:14px}.export-policy-dialog p{color:#796486}.export-policy-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.export-policy-list>div{border:1px solid #e5d7e9;border-radius:8px;padding:14px;font-size:11px}.export-policy-list strong{display:block;margin-bottom:6px}.export-policy-list span{color:#937f9c;font-size:10px}.mm-export-busy{cursor:progress}

/* Account billing */
.account-plan{border:1px solid var(--line,#e4e2dd);background:#f4efff;color:#584783;border-radius:20px;padding:7px 11px;font-size:11px;white-space:nowrap;cursor:pointer}.billing-dialog{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #ddd8e7;border-radius:22px;padding:32px;color:#24202c;overflow:auto;background:#fff}.billing-dialog::backdrop{background:#19132280;backdrop-filter:blur(6px)}.billing-dialog h2{font-size:27px;line-height:1.35;margin:24px 0 18px;letter-spacing:-.04em}.billing-dialog p{font-size:14px;line-height:1.8;word-break:keep-all}.billing-price{font-size:48px;font-weight:750;letter-spacing:-.05em}.billing-price span{font-size:14px;font-weight:500;letter-spacing:0;color:#7d7584}.billing-features{display:flex;gap:8px;margin:20px 0}.billing-features span{padding:7px 15px;background:#eee7fa;color:#614e82;border-radius:30px;font-size:12px;font-weight:700}.billing-state{padding:16px;background:#f6f5f8;border-radius:12px;min-height:30px}.billing-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.billing-dialog .billing-terms,.billing-dialog .pptx-note{font-size:12px;color:#7d7584}.billing-dialog a{color:inherit}.billing-primary:disabled{opacity:.55;cursor:wait}@media(max-width:600px){.billing-dialog{padding:24px}.account-plan{padding:6px 8px;font-size:10px}.header .account-name{display:none}}
.billing-dialog h2{word-break:keep-all;text-wrap:balance}@media(max-width:600px){.billing-dialog h2{font-size:24px}}

/* Upcoming products stay visible without promising usable editors or sales. */
.nav-tool.is-planned .tool-icon{opacity:.55}.nav-tool.is-planned:hover .tool-icon,.nav-tool.is-planned:focus-visible .tool-icon{opacity:1}#side-tools button small{margin-left:auto;font-size:10px;white-space:nowrap;color:var(--muted)}.price-card.coming-soon{background:#f4f3ee}.coming-soon .plan-tag{background:#e7e6df;color:#5c6058}#plan-dialog .plan-detail{padding:18px;border-radius:12px;background:#f4f3ee;font-size:14px;line-height:1.8}

/* Flexible navigation accommodates all tools and either interface language. */
@media(max-width:1400px){.header{flex-wrap:wrap;row-gap:12px;min-height:0}.product-nav{order:3;width:100%;justify-content:center;padding-top:9px;border-top:1px solid #e5e0e8}.header>.open-dashboard{margin-left:auto}}
.dash-header{flex-wrap:wrap}.dash-header>.account-controls{margin-left:auto}
@media(max-width:700px){.header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px}.header>.brand{grid-row:1;grid-column:1;font-size:19px}.header>.language-picker{grid-row:1;grid-column:2}.header>.open-dashboard{grid-row:1;grid-column:3}.header>.account-controls{grid-row:2;grid-column:1/-1;justify-content:flex-end}.header>.product-nav{grid-row:3;grid-column:1/-1}.header .language-code{display:none}.dash-header{gap:8px 12px}.dash-header>.account-controls{justify-content:flex-end}.mm-header{gap:4px}.mm-menubar{gap:0}.mm-app-menu summary{padding:8px 6px;font-size:10px}.mm-save-button{max-width:80px;font-size:9px;padding:5px}.mm-header>.language-picker{margin-left:0}}
@media(max-width:380px){.nav-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.nav-tool{justify-self:center}.header>.brand{font-size:18px}.header>.open-dashboard{padding:8px;font-size:9px}}

.mm-header>.language-picker{color:#f4eafa}
html:lang(hi) h1,html:lang(hi) h2,html:lang(hi) h3{letter-spacing:normal;line-height:1.5}
@media(max-width:380px){.mm-header{height:auto;min-height:48px;flex-wrap:wrap;padding-block:5px;row-gap:4px}.mm-menubar{order:2;width:100%;height:32px;justify-content:space-between}.mm-header .mm-save-button{margin-left:auto}.mm-app-menu summary{padding:6px}.mindmap-dialog .mm-app-menu .mm-menu-content{top:85px}.hero{overflow:clip}}

/* Keep language selection immediately after sign-out in the account controls. */
@media(max-width:700px){.header{grid-template-columns:minmax(0,1fr) auto}.header>.open-dashboard{grid-column:2}.header>.account-controls{width:auto;max-width:100%}.header .account-controls>.language-picker{margin-left:4px}.header .account-controls .language-options button{font-size:13px;padding:10px 12px}}

/* One header row; compact screens reveal the full navigation on demand. */
.header{position:relative;display:flex;flex-wrap:nowrap;gap:12px;min-height:72px;padding:16px 24px}.header>.brand{margin-right:8px;flex-shrink:0;font-size:21px}.header .brand svg{width:30px;height:26px}.header>.product-nav{order:0;flex:1;min-width:0;width:auto;justify-content:center;flex-direction:row;gap:12px;padding:0;border:0}.header .nav-tools{display:flex;gap:0;width:auto}.header .nav-tool{width:28px;height:36px;flex-shrink:0}.header .nav-text-links{gap:12px;padding-left:12px}.header .nav-text-links a,.header .nav-text-links button{font-size:11px}.header>.open-dashboard{margin:0;flex-shrink:0;gap:10px;padding:9px 12px}.header>.account-controls{width:auto;max-width:none;margin:0;gap:5px;flex-shrink:0;justify-content:flex-end}.header .account-name{max-width:64px}.header .language-picker{margin-left:4px}.header-menu-toggle{display:none;flex-shrink:0;width:36px;height:36px;padding:8px;border:1px solid var(--line);border-radius:9px;background:transparent;align-items:center;justify-content:center}.header .language-code{display:inline}
@media(max-width:1350px){.header>.open-dashboard .workspace-label{display:none}.header>.open-dashboard{width:36px;height:36px;padding:0}.header .account-name{display:none}.header>.brand{font-size:20px}}
@media(max-width:1120px){.header{gap:10px;padding:14px 20px}.header>.brand{margin-right:auto}.header-menu-toggle{display:flex}.header>.product-nav{display:none;position:absolute;top:calc(100% - 4px);left:16px;right:16px;width:auto;max-height:calc(100dvh - 100px);overflow-y:auto;flex:none;flex-direction:column;align-items:stretch;gap:16px;padding:18px;background:#fffefa;border:1px solid #ded8d1;border-radius:14px;box-shadow:0 18px 45px #2926341c;z-index:45}.header.menu-open>.product-nav{display:flex}.header .nav-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%}.header .nav-tool{display:flex;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:48px;padding:7px;border-radius:8px;text-align:left}.header .nav-tooltip{position:static;transform:none!important;opacity:1;visibility:visible;white-space:normal;padding:0;border:0;box-shadow:none;background:none;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.header .nav-tool:hover{background:#f5eee7}.header .nav-text-links{justify-content:flex-start;flex-wrap:wrap;gap:16px 24px;padding:14px 7px 0;border:0;border-top:1px solid var(--line)}.header .nav-text-links a,.header .nav-text-links button{font-size:12px}}
@media(max-width:600px){.header{gap:7px;min-height:64px;padding:12px}.header>.brand{font-size:18px;margin-right:auto;gap:5px}.header .brand svg{width:26px;height:24px}.header .brand-dot{display:none}.header .account-plan,.header .account-name,.header .language-code{display:none}.header>.account-controls{gap:3px}.header .account-controls button{font-size:10px;padding:5px 3px}.header .language-picker summary{padding:7px}.header .account-controls>.language-picker{margin-left:2px}.header .nav-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.header>.product-nav{left:10px;right:10px;padding:12px}.header .nav-tool .tool-icon{width:26px;height:26px}.header .nav-tooltip{font-size:10px}}
@media(max-width:380px){.header>.brand{font-size:0;gap:0;margin-right:auto}.header .brand svg{width:29px;height:27px}.header{gap:8px}.header-menu-toggle,.header>.open-dashboard{width:34px;height:34px}.header .account-controls button{font-size:10px}}

/* Workspace remains a readable text action at every screen size. */
.header>.open-dashboard .workspace-label{display:inline}.header>.open-dashboard{width:auto;min-width:0;height:36px;padding:8px 10px;gap:6px;font-size:11px}
@media(max-width:600px){.header>.brand{font-size:0;gap:0}.header .brand svg{width:29px;height:27px}.header>.open-dashboard{height:34px;padding:7px;font-size:10px;gap:5px}}
@media(max-width:380px){.header{padding-inline:8px;gap:4px}.header-menu-toggle{width:30px;height:32px;padding:6px}.header .account-controls button{font-size:9px;padding-inline:2px}.header .language-picker summary{padding:6px}}

/* Both navigation actions retain visible labels in the compact header. */
.header-menu-toggle{width:auto;gap:6px;padding:8px 10px;font-size:11px;white-space:nowrap}.header-menu-toggle>svg{flex-shrink:0}.account-action-icon{display:none}
@media(max-width:600px){.header{gap:5px;padding-inline:10px}.header-menu-toggle{padding:7px 6px;gap:4px;font-size:10px}.header-menu-toggle>svg{width:15px;height:15px}}
@media(max-width:380px){.header{gap:4px;padding-inline:8px}.header-menu-toggle{width:auto;height:34px;padding:6px;gap:4px}.header .account-login,.header .account-logout{width:28px;height:32px;padding:5px}.header .account-login>span,.header .account-logout>span{display:none}.header .account-action-icon{display:block}.header>.open-dashboard{padding-inline:6px;gap:4px}}

/* Cloud mascot: keep the fluffy pixel silhouette readable. */
.preview-cloud{width:82px;height:62px;left:calc(50% - 41px);bottom:3px;transform:rotate(-4deg)}.auth-mascot{width:112px;height:84px}.closing-art>svg{width:118px;height:89px;transform:rotate(-4deg)}
@media(max-width:700px){.preview-cloud{width:64px;height:48px;left:calc(50% - 32px);bottom:3px}.closing-art>svg{width:64px;height:48px}}

/* Shape control remains beside node colors, including narrow toolbars. */
.mm-node{border:0;background:transparent;box-shadow:none;border-radius:0;isolation:isolate;outline:none!important}.mm-node-surface{position:absolute;inset:0;width:180px;height:80px;z-index:-1;pointer-events:none;overflow:visible;fill:var(--node-fill);stroke:var(--node-stroke);stroke-width:1.5;filter:drop-shadow(0 3px 4px #3c28540b)}.mm-node.selected .mm-node-surface,.mm-node:focus-visible .mm-node-surface{stroke:#b073a1;stroke-width:3}.mm-node.connection-source .mm-node-surface{stroke-dasharray:5 3;stroke-width:3}.mm-node[data-shape="diamond"]{padding:12px 48px}.mm-node[data-shape="ellipse"],.mm-node[data-shape="pill"]{padding:12px 28px}.mm-node[data-shape="hexagon"]{padding:12px 26px}.mm-node[data-shape="diamond"] .mm-node-note-dot,.mm-node[data-shape="ellipse"] .mm-node-note-dot{right:85px;bottom:8px}


.mm-shape-control{display:flex;align-items:center;gap:5px;flex-shrink:0;margin-left:12px;white-space:nowrap}.mm-shape-control>span{font-size:11px;color:#947d9f;margin-right:3px;flex:none}.mm-shape-button{display:grid;place-items:center;width:32px;height:29px;padding:3px;border:1px solid transparent;border-radius:6px;background:transparent;color:#9c85aa;flex:none;transition:background .12s,border-color .12s}.mm-shape-button svg{width:25px;height:17px;fill:none;stroke:currentColor;stroke-width:6;overflow:visible;pointer-events:none}.mm-shape-button:hover:not(:disabled){background:#eee4f5;color:#79568f}.mm-shape-button[aria-pressed="true"]{background:#e9ddf1;border-color:#b99acb;color:#79518e}.mm-shape-button:focus-visible{outline:2px solid #b073a1;outline-offset:2px}.mm-shape-button:disabled{opacity:.3}

/* Node dimensions and typography are graph data, shared with export. */
.mm-options{overflow-x:auto;flex-shrink:0}.mm-text-controls{display:flex;align-items:center;gap:5px;flex:none;margin-left:10px}.mm-text-controls label{display:flex;align-items:center;gap:4px;white-space:nowrap;margin:0;font-size:11px;color:#947d9f}.mm-text-controls input[type=color]{width:26px;height:26px;padding:2px;border:1px solid #d9cbe3;border-radius:5px;background:#fffdfa}.mm-text-controls input[type=number]{width:47px;height:28px;padding:3px;border:1px solid #d9cbe3;border-radius:5px;font-size:11px}.mm-text-controls button{width:28px;height:28px;background:transparent;border:1px solid transparent;border-radius:5px;color:#79518e}.mm-text-controls button[aria-pressed=true]{background:#e9ddf1;border-color:#b99acb}.mm-text-controls :disabled{opacity:.3}
.mm-node-surface{width:100%;height:100%}.mm-node-text{color:var(--text-color,#373041);font-size:var(--font-size,16px);font-weight:var(--font-weight,400);text-decoration:var(--text-decoration,none);-webkit-line-clamp:unset;max-height:100%}.mm-node.editing .mm-node-text{visibility:hidden}
.mm-resize-handle{display:none;position:absolute;width:11px;height:11px;background:#fff;border:1.5px solid #a778bb;border-radius:2px;z-index:3;touch-action:none}.mm-node.selected .mm-resize-handle{display:block}.mm-resize-nw{left:-5px;top:-5px;cursor:nwse-resize}.mm-resize-ne{right:-5px;top:-5px;cursor:nesw-resize}.mm-resize-sw{left:-5px;bottom:-5px;cursor:nesw-resize}.mm-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize}
.mm-node.selected{z-index:5}

.mm-text-controls select{font:inherit;font-size:11px;max-width:150px;height:28px;padding:3px 5px;border:1px solid #d9cbe3;border-radius:5px;background:#fffdfa;color:#695075}.mm-selection-box{position:absolute;border:1.5px solid #9b6cb5;background:#bda0d82b;pointer-events:none;z-index:10}.mm-node.selected .mm-resize-handle{display:none}.mm-node.selected.is-primary .mm-resize-handle{display:block}.mm-text-controls button[aria-pressed=mixed]{background:linear-gradient(135deg,#e9ddf1 50%,transparent 50%);border-color:#cbb9d4}

.mm-brand-mascot{display:block;width:32px;height:26px;flex:0 0 32px;overflow:visible}

.project-context-menu{position:fixed;z-index:80;min-width:155px;padding:6px;border:1px solid #ddd0e7;border-radius:10px;background:#fffdfa;box-shadow:0 10px 32px #34214226}.project-context-menu button{display:block;width:100%;padding:10px 13px;text-align:left;border:0;border-radius:6px;background:transparent;font-size:13px;color:#56415f}.project-context-menu button:hover,.project-context-menu button:focus{background:#f0e6f6;outline:none}.project-context-menu .project-menu-delete{color:#ba4b60}.project-context-menu .project-menu-delete:hover,.project-context-menu .project-menu-delete:focus{background:#fbe9ed}.project-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#project-delete-confirm{background:#b84c62}#project-delete-dialog{width:min(440px,calc(100vw - 32px))}#project-delete-message{overflow-wrap:anywhere}

.project-name-inline{display:block;width:100%;min-width:0;margin:16px 0 6px;padding:8px 10px;border:2px solid var(--coral,#df806d);border-radius:8px;background:var(--paper,#fff);color:inherit;font:inherit;font-weight:650;outline-offset:3px}.project-name-hint{display:block;font-size:11px;line-height:1.5;color:#696661;margin-bottom:8px}

.site-update-notice{position:fixed;right:20px;top:64px;z-index:200;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 40px);padding:14px 18px;border:1px solid #d8bddb;border-radius:12px;background:#fffaf5;color:#48324f;box-shadow:0 8px 32px #34214226;font-size:13px;line-height:1.6}.site-update-notice span{max-width:370px}.site-update-notice button{flex:none;border:0;border-radius:8px;background:#715182;color:white;padding:9px 13px;font-weight:650}.site-update-notice button:disabled{cursor:wait;opacity:.65}@media(max-width:600px){.site-update-notice{top:104px;left:12px;right:12px;max-width:none;padding:12px;gap:10px;flex-wrap:wrap}.site-update-notice span{flex:1 1 180px}}

.site-update-notice .update-later{background:transparent;color:#715182;border:1px solid #d8bddb}.site-update-notice .update-later:hover:not(:disabled){background:#f1e9f5}

.site-update-notice{flex-wrap:wrap;width:max-content;max-width:min(680px,calc(100vw - 40px))}.site-update-notice .update-notes-toggle,.site-update-notice .update-notes-close{background:transparent;color:#715182;border:1px solid #d8bddb}.site-update-notice .update-notes-toggle:hover:not(:disabled),.site-update-notice .update-notes-close:hover:not(:disabled){background:#f1e9f5}.update-details{flex:1 0 100%;width:0;min-width:100%;border-top:1px solid #e3d4e7;padding-top:12px}.update-details-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.site-update-notice .update-details h2{font-size:18px;margin:0;letter-spacing:-.03em}.site-update-notice .update-details h3{font-size:14px;margin:16px 0 4px}.update-details-content{max-height:min(50dvh,380px);overflow-y:auto;overscroll-behavior:contain;padding-right:8px;overflow-wrap:anywhere}.update-details-content ul{margin:8px 0;padding-left:20px}.update-details-content li+li{margin-top:6px}.update-release-date{font-size:11px;color:#88758f;margin:0}.update-details-header button{padding:5px 10px}@media(max-width:600px){.site-update-notice{width:auto;max-width:none}.update-details-content{max-height:40dvh}.site-update-notice button{padding:8px 10px}}

.site-footer nav button{border:0;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer}.site-footer nav button:hover{text-decoration:underline}.release-history-dialog{width:min(680px,calc(100vw - 32px));padding:26px;color:#48324f;background:#fffaf5;border:1px solid #d8bddb;border-radius:16px}.release-history-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.release-history-head h2{font-size:24px;margin:0}.release-history-head button{border:1px solid #d8bddb;border-radius:8px;padding:7px 12px;background:transparent;color:#715182}.release-history-dialog .update-details-content{max-height:min(65dvh,580px)}.release-history-dialog h3{font-size:16px;margin:22px 0 5px}.release-history-status{color:#88758f;font-size:13px}.release-history-dialog::backdrop{background:#241b304d}@media(max-width:600px){.release-history-dialog{padding:20px}.release-history-head h2{font-size:21px}}

/* Separate text navigation from the larger tool shortcuts on the home header. */
@media(min-width:1121px){.header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;column-gap:22px;row-gap:14px;padding-top:16px;padding-bottom:16px}.header>.brand{grid-row:1;grid-column:1;margin-right:0}.header>.product-nav{display:contents}.header .nav-text-links{grid-row:1;grid-column:2;justify-self:end;justify-content:flex-end;border:0;padding:0;gap:22px;margin-left:auto}.header>.open-dashboard{grid-row:1;grid-column:3}.header>.account-controls{grid-row:1;grid-column:4}.header .nav-tools{grid-row:2;grid-column:1 / -1;display:flex;justify-content:center;gap:12px;border-top:1px solid var(--line);padding-top:14px}.header .nav-tool{width:56px;height:56px;border-radius:14px}.header .nav-tool .tool-icon{width:52px;height:52px;border-radius:13px;background:var(--tile);color:#575162}.header .nav-tool .tool-icon svg{width:29px;height:29px;stroke-width:1.6}.header .nav-tool.is-planned .tool-icon{opacity:.65}.header .nav-tool:hover .tool-icon,.header .nav-tool:focus-visible .tool-icon{opacity:1;background:#fbe1d7;color:#ac3a26;transform:translateY(-3px)}.header .nav-tool[data-tool="mind-map"] .tool-icon{box-shadow:inset 0 0 0 1px #a5b68d;background:#e8ebdb;color:#4d6242}}
@media(max-width:1120px){.header .nav-tool .tool-icon{width:42px;height:42px;border-radius:11px;background:var(--tile)}.header .nav-tool .tool-icon svg{width:26px;height:26px}.header .nav-text-links{justify-content:flex-end}}
.mm-help-menu .mm-release-history{margin-bottom:14px;padding:10px 12px;border:1px solid #d8bddb;border-radius:8px;background:#f5edf8;color:#715182;font-weight:650}.mm-help-menu .mm-release-history:hover{background:#eadcf0}

/* Tool names are permanent captions, rather than hover tooltips. */
.header .nav-tool{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;height:auto;min-height:120px;padding:6px 4px;text-align:center;min-width:0}.header .nav-tool-caption{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;color:#575162;pointer-events:none}.header .nav-tool-name{display:flex;align-items:center;justify-content:center;min-height:29px;font-size:11px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;max-width:100%}.header .nav-tool-state{display:inline-block;padding:1px 7px;border:1px solid #ded8d1;border-radius:99px;background:#f1eeea;color:#77716c;font-size:9px;font-weight:500;line-height:1.5;white-space:nowrap}.header .nav-tool:hover .nav-tool-name,.header .nav-tool:focus-visible .nav-tool-name{color:#ac3a26}@media(min-width:1121px){.header .nav-tools{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;width:100%;max-width:1320px;justify-self:center}.header .nav-tool{width:100%;border-radius:14px}.header .nav-tool-name{max-width:115px}}@media(max-width:1120px){.header .nav-tools{gap:8px}.header .nav-tool{padding:10px 6px;min-height:118px;gap:7px}.header .nav-tool .tool-icon{width:44px;height:44px}.header .nav-tool-caption{gap:4px}}

/* Keep tool shortcuts reachable while browsing the home page. */
.header{position:sticky;top:0;z-index:50;width:100%;background:#f7f6f2f5;backdrop-filter:blur(14px);box-shadow:0 3px 14px #2926340a}html{scroll-padding-top:calc(var(--home-header-height,220px) + 16px)}.header .nav-tool.is-available{background:#fff0e8;border:1px solid #e8aa92;box-shadow:0 4px 14px #a84d2f16}.header .nav-tool.is-available .tool-icon{background:#ef7f64;color:#fff;box-shadow:0 3px 8px #b15c4133}.header .nav-tool.is-available .nav-tool-name{color:#9e3924;font-weight:750}.header .nav-tool.is-available .nav-tool-state.is-ready{background:#a83e29;border-color:#a83e29;color:#fff;font-weight:650}.header .nav-tool.is-available:hover,.header .nav-tool.is-available:focus-visible{background:#ffe8dc;border-color:#d9714e}.header .nav-tool.is-available:hover .tool-icon,.header .nav-tool.is-available:focus-visible .tool-icon{background:#dc654b;color:#fff}body:has(#landing:not([hidden]))>.site-update-notice{top:calc(var(--home-header-height,220px) + 12px)}

/* Preserve captions and status badges while reducing the sticky header footprint. */
.header{transition:padding .18s ease,row-gap .18s ease}.header .nav-tools{transition:padding .18s ease,gap .18s ease}.header .nav-tool{transition:min-height .18s ease,padding .18s ease,gap .18s ease,background .15s ease}.header .nav-tool .tool-icon{transition:width .18s ease,height .18s ease,transform .18s ease,background .15s ease}.header .nav-tool .tool-icon svg{transition:width .18s ease,height .18s ease}@media(min-width:1121px){.header.is-compact{padding-top:6px;padding-bottom:6px;row-gap:4px}.header.is-compact .nav-tools{padding-top:4px}.header.is-compact .nav-tool{min-height:80px;padding-top:2px;padding-bottom:2px;gap:4px}.header.is-compact .nav-tool .tool-icon{width:28px;height:28px;border-radius:8px}.header.is-compact .nav-tool .tool-icon svg{width:20px;height:20px}.header.is-compact .nav-tool-caption{gap:1px}}@media(max-width:1120px){.header.is-compact{padding-top:5px;padding-bottom:5px}.header.is-compact .nav-tool{min-height:94px;padding-top:5px;padding-bottom:5px;gap:4px}.header.is-compact .nav-tool .tool-icon{width:30px;height:30px}.header.is-compact .nav-tool .tool-icon svg{width:20px;height:20px}}@media(prefers-reduced-motion:reduce){.header,.header .nav-tools,.header .nav-tool,.header .nav-tool .tool-icon,.header .nav-tool .tool-icon svg{transition:none}}
@media(max-width:1120px){.header.is-compact{min-height:60px}}@media(max-width:600px){.header.is-compact{min-height:52px}}

.back-to-top{position:fixed;right:24px;bottom:24px;z-index:45;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:11px 16px;border:1px solid #dca18e;border-radius:99px;background:#fff8f1;color:#9e3924;font-size:12px;font-weight:650;line-height:1.5;box-shadow:0 5px 20px #49312520;cursor:pointer}.back-to-top:hover{background:#ffe8dc;border-color:#cb7e64}.back-to-top:focus-visible{outline:3px solid #d77154;outline-offset:4px}@media(max-width:600px){.back-to-top{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));padding:10px 14px}}

html.returning-to-top,html.returning-to-top body{overflow-anchor:none}

/* Fade without leaving an invisible focus or pointer target. */
.back-to-top{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}.back-to-top:disabled{opacity:0;cursor:default}@media(max-width:600px){.back-to-top{right:max(12px,env(safe-area-inset-right));bottom:calc(var(--back-to-top-offset,14px) + env(safe-area-inset-bottom));min-height:44px;max-width:100px;padding:10px 12px;gap:5px}.back-to-top svg{width:16px;height:16px}}@media(prefers-reduced-motion:reduce){.back-to-top{transition:none;transform:none}}


.project-resume-label{display:inline-block;margin-left:6px;font-size:10px;font-weight:500;color:#8c658f;white-space:nowrap}@media(max-width:700px){.project-resume-label{font-size:9px;margin-left:4px}}

/* Mind Map identity: low-saturation pastel coral with a warm near-white canvas. */
.mindmap-dialog{--mm-ink:#493c37;--mm-line:#e8d6ce;--mm-chrome:#fff8f4;--mm-accent:#ae6955;--mm-muted:#806a61;--mm-soft:#f8e5dc;--mm-board:#fffaf7;--mm-selected:#b77762}
.mindmap-dialog::backdrop{background:var(--mm-board)}
.mindmap-dialog button:focus-visible,.mindmap-dialog summary:focus-visible{outline-color:var(--mm-selected)}
.mindmap-dialog .mm-header{background:#f1d3c6;color:#4e382f;border-bottom-color:#dfbdae}
.mindmap-dialog .mm-brand,.mindmap-dialog .mm-header>.mm-menubar,.mindmap-dialog .mm-header>.language-picker{color:#4e382f}
.mindmap-dialog .mm-header .mm-app-menu>summary:hover,.mindmap-dialog .mm-header .mm-app-menu[open]>summary{background:#e9c4b3}
.mindmap-dialog .mm-save-button{background:#eac0af;border-color:#ca9782;color:#4d342a}
.mindmap-dialog .mm-save-button:hover:not(:disabled){background:#e2b09b}
.mindmap-dialog .mm-header .mm-autosave{color:#526853}.mindmap-dialog .mm-header .mm-autosave[data-state=saving],.mindmap-dialog .mm-header .mm-autosave[data-state=pending]{color:#81602e}.mindmap-dialog .mm-header .mm-autosave[data-state=error]{color:#963f35}
.mindmap-dialog .mm-menu-content{background:#fffcfa;border-color:var(--mm-line);color:var(--mm-ink);box-shadow:0 10px 32px #6747351a}
.mindmap-dialog .mm-menu-content button:hover:not(:disabled){background:var(--mm-soft)}
.mindmap-dialog .mm-menu-content kbd,.mindmap-dialog .mm-menu-content p,.mindmap-dialog .mm-menu-content dt{color:var(--mm-muted)}
.mindmap-dialog .mm-menu-content hr,.mindmap-dialog .mm-connections{border-color:var(--mm-line)}
.mindmap-dialog .mm-document-bar{background:#fae9e1}.mindmap-dialog .mm-document-name svg{stroke:var(--mm-accent)}.mindmap-dialog .mm-divider{color:#cda697}
.mindmap-dialog #mm-project,.mindmap-dialog .mm-document-hint,.mindmap-dialog #mm-selection-name{color:var(--mm-muted)}
.mindmap-dialog .mm-options{background:#fff9f5}
.mindmap-dialog .mm-control,.mindmap-dialog .mm-option-label,.mindmap-dialog .mm-panel-toggles button,.mindmap-dialog .mm-shape-control>span,.mindmap-dialog .mm-shape-button,.mindmap-dialog .mm-text-controls label,.mindmap-dialog .mm-text-controls button{color:var(--mm-muted)}
.mindmap-dialog .mm-control:hover:not(:disabled),.mindmap-dialog .mm-panel-toggles button:hover,.mindmap-dialog .mm-shape-button:hover:not(:disabled){background:var(--mm-soft);color:#81503f}
.mindmap-dialog .mm-panel-toggles button[aria-expanded=true],.mindmap-dialog .mm-shape-button[aria-pressed=true],.mindmap-dialog .mm-text-controls button[aria-pressed=true]{background:#f2d4c6;border-color:#c99985;color:#754632}
.mindmap-dialog .mm-text-controls button[aria-pressed=mixed]{background:linear-gradient(135deg,#f2d4c6 50%,transparent 50%);border-color:#c99985}
.mindmap-dialog .mm-tool-divider,.mindmap-dialog .mm-rail-divider{background:var(--mm-line)}
.mindmap-dialog .mm-text-controls select,.mindmap-dialog .mm-text-controls input{border-color:#dfc4b7;background:#fffcfa;color:var(--mm-ink)}
.mindmap-dialog .mm-toolrail{background:#fff4ed}.mindmap-dialog .mm-rail-button{color:#9a705e}.mindmap-dialog .mm-rail-button:hover{background:var(--mm-soft)}.mindmap-dialog .mm-rail-button[aria-pressed=true]{background:#f2d4c6;border-color:#d6a48e;color:#85503c}
.mindmap-dialog .mm-viewport{background:var(--mm-board);scrollbar-color:#d9bfb2 #fff8f3}.mindmap-dialog .mm-viewport:focus-visible{outline-color:#c99580}
.mindmap-dialog #mm-world{background-color:var(--mm-board);background-image:radial-gradient(#e2d6cf .8px,transparent .8px)}.mindmap-dialog.mm-no-grid #mm-world{background-image:none}
.mindmap-dialog #mm-lines path{stroke:#aa8d80}
.mindmap-dialog .mm-node-surface{filter:drop-shadow(0 3px 4px #7b50330b)}.mindmap-dialog .mm-node.selected .mm-node-surface,.mindmap-dialog .mm-node:focus-visible .mm-node-surface{stroke:var(--mm-selected)}
.mindmap-dialog .mm-node-note-dot{background:#b77e68}.mindmap-dialog .mm-resize-handle{border-color:var(--mm-selected);background:#fffcfa}
.mindmap-dialog .mm-selection-box{border-color:var(--mm-selected);background:#dcae962b}
.mindmap-dialog .mm-canvas-hint{background:#fffaf7dd;color:var(--mm-muted)}.mindmap-dialog .mm-zoom{background:#fffcfa;border-color:var(--mm-line);box-shadow:0 3px 12px #6747350a}.mindmap-dialog #mm-scale{color:var(--mm-muted)}
.mindmap-dialog .mm-inspector{background:#fff7f1}.mindmap-dialog .mm-panel-head h3,.mindmap-dialog .mm-inspector label,.mindmap-dialog #mm-empty,.mindmap-dialog .mm-text-button{color:var(--mm-muted)}
.mindmap-dialog .mm-inspector textarea,.mindmap-dialog .mm-inspector select{background:#fffdfb;border-color:#dfc7bc;color:var(--mm-ink)}
.mindmap-dialog .mm-node-actions button{background:#fae8de;border-color:#e0c7b9;color:#805a48}.mindmap-dialog .mm-node-actions button:hover{background:#f3d9ca}.mindmap-dialog .mm-node-actions .mm-danger{color:#9c4c3e}
.mindmap-dialog .mm-local-note{color:var(--mm-muted)!important}.mindmap-dialog .mm-footer{background:#fff4ed;color:var(--mm-muted)}
.mindmap-dialog .mm-discard{background:#44302755}.mindmap-dialog .mm-discard-card{background:#fffbf8;border-color:#e0c6b9;box-shadow:0 20px 70px #67473525}.mindmap-dialog .mm-discard-card p{color:var(--mm-muted)}
.mindmap-dialog .mm-help-menu .mm-release-history{background:#fae7dc;border-color:#dfc4b5;color:#8a5641}.mindmap-dialog .mm-help-menu .mm-release-history:hover{background:#f2d6c5}
.header .nav-tool[data-tool="mind-map"] .tool-icon,.header .nav-tool.is-available[data-tool="mind-map"] .tool-icon{background:#efc2b1;color:#87503d;box-shadow:inset 0 0 0 1px #d9a48d}
.header .nav-tool.is-available[data-tool="mind-map"]{background:#fff3ec;border-color:#d9ac98}.header .nav-tool.is-available[data-tool="mind-map"] .nav-tool-name{color:#8a513c}.header .nav-tool.is-available[data-tool="mind-map"] .nav-tool-state.is-ready{background:#a8654e;border-color:#a8654e}

/* Export formats fly out beside File and expand inline on touch layouts. */
.mm-export-menu{position:relative}
.mindmap-dialog .mm-export-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 12px;font-size:12px;border-radius:4px;color:var(--mm-ink)}
.mindmap-dialog .mm-export-menu>summary:hover,.mindmap-dialog .mm-export-menu[open]>summary{background:var(--mm-soft)}
.mm-export-options{position:absolute;left:calc(100% - 2px);top:-6px;width:232px;padding:6px;background:#fffcfa;border:1px solid var(--mm-line);border-radius:8px;box-shadow:0 10px 32px #6747351a;z-index:21}
.mm-export-menu:not([open])>.mm-export-options{display:none}
@media(max-width:700px){.mm-export-options{position:static;width:100%;margin:4px 0;box-shadow:none;background:var(--mm-chrome)}.mm-export-menu[open]>summary>span:last-child{transform:rotate(90deg)}}

/* Independent pastel fill and vivid border picker. */
.mm-color-toggle{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap;border:1px solid var(--mm-line);border-radius:6px;background:#fffcfa;padding:6px 9px;color:var(--mm-ink);font-size:11px}
.mm-color-toggle[aria-expanded="true"]{background:var(--mm-soft)}
.mm-color-preview{width:20px;height:16px;border:2px solid var(--preview-stroke,#e65c35);background:var(--preview-fill,#f5d6ca);border-radius:5px}
.mm-color-panel{position:absolute;top:132px;left:95px;width:320px;max-width:calc(100% - 16px);padding:16px;border:1px solid var(--mm-line);border-radius:12px;background:#fffcfa;box-shadow:0 12px 40px #67473526;z-index:60}
.mm-color-panel[hidden]{display:none}.mm-color-panel-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:16px}.mm-color-row>span{display:block;font-size:11px;color:var(--mm-muted);margin-bottom:10px}.mm-color-row+.mm-color-row{margin-top:18px}.mm-color-panel .mm-colors{display:flex;gap:8px;flex-wrap:wrap}.mm-color-panel .mm-swatch{width:24px;height:24px;flex-basis:24px}.mm-color-panel .mm-border-swatch{background:#fffcfa;border:3px solid var(--swatch);color:var(--swatch)}.mm-color-panel .mm-swatch:not(.mm-border-swatch){color:#493c37}
.mindmap-dialog .mm-node .mm-node-surface{stroke:var(--node-stroke);stroke-width:2}.mindmap-dialog .mm-node.selected .mm-node-surface,.mindmap-dialog .mm-node:focus-visible .mm-node-surface{stroke:var(--node-stroke);stroke-width:3;filter:drop-shadow(0 0 3px #ae695533)}
@media(max-width:700px){.mm-color-panel{left:8px;top:132px}.mm-color-toggle{font-size:10px}}@media(max-width:380px){.mm-color-panel{top:165px}}

/* A dedicated, bundled typeface for node labels. */
.mindmap-dialog .mm-node{font-family:Pretendard,"Noto Sans KR",system-ui,sans-serif;font-kerning:normal;letter-spacing:-.015em}.mindmap-dialog .mm-node-text{font-family:inherit;line-height:1.55}
/* Pre-Storytelling: an airy lavender writing studio. */
#story-studio{--st-ink:#302444;--st-muted:#82768e;--st-purple:#7045c5;--st-line:#e8e0f0;background:#f7f4fb;color:var(--st-ink);min-height:100vh;font-family:Arial,'Noto Sans KR',sans-serif;font-size:14px;line-height:1.6}#story-studio[hidden]{display:none}#story-studio *{box-sizing:border-box}#story-studio button,#story-studio input,#story-studio textarea{font:inherit}#story-studio button{cursor:pointer}#story-studio button:disabled{cursor:wait;opacity:.55}#story-studio button:focus-visible,#story-studio a:focus-visible{outline:3px solid #bba0f0;outline-offset:4px}#story-studio textarea:focus,#story-studio input:focus{outline:2px solid #bba0f0;outline-offset:2px}#story-studio a{text-decoration:none;color:inherit}#story-studio fieldset{padding:0;border:0;min-width:0;margin:0}#story-studio button{border:0}.st-header{height:80px;background:#fffdfd;border-bottom:1px solid var(--st-line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.st-brand{display:flex;align-items:center;gap:12px;font-size:17px;white-space:nowrap}.st-brand strong{font-size:16px;letter-spacing:-.5px}.st-mark{font-size:34px;color:#8461a6}.st-slash{color:#c4b9cd;margin:0 6px}.st-beta{font-size:9px;letter-spacing:1.6px;padding:2px 7px;background:#f1e9fd;border-radius:5px;color:#755299}.st-head-right{display:flex;align-items:center;gap:26px;font-size:11px;color:var(--st-muted)}.st-home{padding:9px 13px;border:1px solid var(--st-line);border-radius:8px;color:var(--st-ink)!important;font-size:12px}.st-layout{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:calc(100vh - 80px)}.st-sidebar{background:#fdfbff;border-right:1px solid var(--st-line);padding:30px 19px 22px;display:flex;flex-direction:column;min-height:calc(100vh - 80px)}.st-sidebar-label{font-size:9px;letter-spacing:1.7px;color:#9a8ba6;padding:0 10px}.st-new{background:#eee6fa;color:#7244b1;border:1px solid #e1d3f3!important;border-radius:10px;padding:12px;margin:16px 0 28px;font-weight:600!important;text-align:left}.st-recent{display:flex;justify-content:space-between;letter-spacing:.6px}.st-story-list{margin-top:12px;max-height:300px;overflow:auto}.st-story-link{display:flex;width:100%;gap:10px;background:transparent;padding:12px 10px;color:#776786;text-align:left;border-radius:9px;margin-bottom:5px}.st-story-link.active{background:#eee6f8;color:#674294}.st-story-link>span:first-child{font-size:19px}.st-story-link b{font-weight:500;font-size:12px;display:block;max-width:140px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.st-story-link small{font-size:10px;color:#9b8ba8;display:block}.st-side-empty{color:#aa9cb4;font-size:11px;line-height:1.9;padding:0 10px}.st-side-note{padding:40px 12px 32px;margin-top:auto;color:#a796b7}.st-side-note>span{font-size:36px;color:#a78abe}.st-side-note p{font-size:16px;line-height:1.9;letter-spacing:-.5px}.st-side-note b{font-weight:500;color:#7a5a92}.st-side-note small{font-size:8px;letter-spacing:1.5px}.st-storage-note{border-top:1px solid var(--st-line);padding-top:18px;font-size:9px;color:#9f91aa;line-height:1.9}.st-main{min-width:0}.st-choose{max-width:1150px;margin:auto;padding:66px 64px 32px}.st-overline{font-size:10px;font-weight:500;letter-spacing:2px;color:#9072af;display:flex;align-items:center;gap:8px}.st-overline>span:not(.st-dot){width:5px;height:5px;background:#a179ce;border-radius:50%}.st-choose h1{font-size:clamp(32px,3.4vw,51px);font-weight:500;line-height:1.32;letter-spacing:-2.5px;margin:19px 0 19px}.st-choose h1 em{font-style:normal;color:#9873c4}.st-intro{color:#92849e;font-size:13px;line-height:1.95;margin-bottom:32px}.st-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.st-format{background:#fffdff;border:1px solid #e5dcef!important;text-align:left;padding:24px 23px 20px;border-radius:15px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s,box-shadow .2s;color:var(--st-ink)}.st-format:hover{transform:translateY(-4px);border-color:#b499d3!important;box-shadow:0 12px 24px #6f468810}.st-format-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.st-format-top small{font-size:8px;letter-spacing:1.4px;color:#b6a6c5}.st-format-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eee4fb;color:#8961b6;font-size:26px}.st-format:nth-child(2) .st-format-icon{background:#e6ddf6;color:#6c489f}.st-format:nth-child(3) .st-format-icon{background:#f5e7ee;color:#b583a1}.st-format:nth-child(4) .st-format-icon{background:#e5e5fa;color:#8284bd}.st-format:nth-child(5) .st-format-icon{background:#e9dffb;color:#946bd0}.st-format:nth-child(6) .st-format-icon{background:#eee8e3;color:#a5948a}.st-format-title{font-size:19px;letter-spacing:-.8px;font-weight:600;display:flex;justify-content:space-between}.st-format-title>span{color:#b4a1c6;font-size:18px;font-weight:400}.st-format-desc{font-size:11px;color:#95869f;margin:7px 0 16px;line-height:1.5}.st-format-tag{font-size:9px;background:#f7f3fb;padding:4px 8px;border-radius:4px;color:#9a85ac;width:max-content;max-width:100%}.st-get-started{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--st-line);padding:23px 0;margin-top:27px;font-size:11px;color:#9d8ca8}.st-get-started button{background:none;color:#7e53b2;font-size:11px!important}.st-get-started button span{padding-left:10px}.st-journey{display:flex;justify-content:center;align-items:center;gap:16px;padding:22px 0 0;font-size:9px;color:#b3a0c6}.st-journey b{font-weight:400;color:#9c88af;margin-left:6px}.st-journey i{font-style:normal;color:#d7cbe1}.st-project-head{padding:30px 34px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.st-project-title{font-size:27px!important;font-weight:500!important;letter-spacing:-1px;border:0;background:transparent;margin-top:8px;width:100%;max-width:500px;padding:0;color:#38264b}.st-project-head>div{min-width:0}.st-export{border:1px solid #decfed!important;background:#fffafd;border-radius:9px;padding:11px 16px;white-space:nowrap;color:#775196;font-size:11px!important}.st-tabs{display:flex;align-items:center;gap:25px;padding:0 34px;border-bottom:1px solid var(--st-line)}.st-tabs button{padding:12px 0 16px;background:none;color:#a798b2;font-size:12px!important;border-bottom:2px solid transparent!important;white-space:nowrap}.st-tabs button small{font-size:9px;margin-right:8px}.st-tabs button.active{border-bottom-color:#8351bf!important;color:#7953a6;font-weight:600}.st-stage-note{margin-left:auto;font-size:10px;color:#ab9bb7}.st-workspace{display:grid;grid-template-columns:minmax(280px,31%) minmax(0,1fr);min-height:calc(100vh - 243px)}.st-chat{background:#fffdfd;border-right:1px solid var(--st-line);display:flex;flex-direction:column;min-width:0;height:calc(100vh - 243px);min-height:640px;position:sticky;top:0}.st-chat-head{display:flex;align-items:center;gap:11px;padding:21px 22px;border-bottom:1px solid var(--st-line)}.st-ai-icon{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;background:#efe5fd;color:#9770cb;border-radius:10px;font-size:25px}.st-chat-head b{display:block;font-size:12px;font-weight:600}.st-chat-head small{display:block;font-size:9px;color:#a190ae}.st-online{margin-left:auto;background:#c2b0d2;width:6px;height:6px;border-radius:50%}.st-online.ready{background:#85b6a6}.st-mode-note{font-size:10px;line-height:1.8;background:#f8f3fd;color:#9a7db4;padding:11px 18px;border-bottom:1px solid #ede3f6}.st-messages{padding:20px 20px 4px;flex:1;min-height:160px;overflow:auto}.st-welcome{padding:12px 0 24px;color:#8d769f}.st-welcome>span{font-size:28px;color:#ab8dcc}.st-welcome h3{font-size:15px;margin:10px 0 8px;color:#685079;font-weight:500}.st-welcome p{font-size:11px;line-height:1.9;margin:0}.st-message{padding:14px 15px;background:#f7f2fc;border-radius:13px 13px 13px 2px;margin-bottom:15px;overflow-wrap:anywhere}.st-message.user{background:#eee6f6;border-radius:13px 13px 2px 13px;margin-left:10px}.st-message small{font-size:9px;color:#a28bb7}.st-message p{font-size:12px;line-height:1.85;color:#756083;white-space:pre-wrap;margin:6px 0 0}.st-composer{margin:15px 16px 0;border:1px solid #dbc9ed;border-radius:12px;background:#fefbff;box-shadow:0 4px 20px #6e328209}.st-composer textarea{width:100%;min-height:105px;max-height:250px;resize:vertical;border:0;background:transparent;padding:15px!important;font-size:11px!important;line-height:1.8;color:#614878;box-shadow:none}.st-composer textarea::placeholder{color:#b6a3c4}.st-composer>div{display:flex;align-items:center;justify-content:space-between;padding:0 10px 10px;gap:8px}.st-composer>div span{font-size:8px;color:#baa8c7}.st-composer button{border-radius:7px;background:#7950b0;color:#fff;padding:9px 12px;font-size:10px!important}.st-chat-foot{font-size:8px;color:#b3a2be;text-align:center;padding:0 12px;margin:10px 0 18px}.st-canvas{padding:29px 28px 40px;min-width:0}.st-canvas-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.st-canvas-title .st-overline{font-size:8px;letter-spacing:1.8px}.st-canvas-title h2{font-size:23px;font-weight:500;letter-spacing:-1px;margin:8px 0}.st-count{font-size:9px;color:#a38ab6;border:1px solid #e5d9ef;background:#faf7fd;padding:5px 9px;border-radius:20px;white-space:nowrap}.st-canvas-desc{font-size:10px;line-height:1.85;color:#a28daf;margin:0 0 24px}.st-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.st-board-column{padding:15px 14px 12px;border:1px solid #e3d9ed;background:#f1eaf8;border-radius:13px}.st-group-1{background:#f3eef9}.st-group-2{background:#f4eafa}.st-group-3{background:#eee7f6}.st-column-title{display:flex;gap:9px;align-items:center;margin-bottom:14px}.st-group-symbol{width:29px;height:29px;background:#e4d8f1;border-radius:8px;display:grid;place-items:center;color:#916db1;font-size:18px}.st-column-title h3{font-size:12px;margin:0;font-weight:600;color:#72518d}.st-column-title h3 small{font-size:9px;margin-left:6px;color:#a48bb5;font-weight:400}.st-number{margin-left:auto;color:#ae96bf;font-size:10px}.st-element{background:#fffdfd;border:1px solid #e8dff0;border-radius:9px;margin-bottom:9px;padding:10px 12px 8px;box-shadow:0 2px 4px #57387003}.st-card-top{display:flex;align-items:center;justify-content:space-between}.st-source{font-size:8px;border-radius:3px;background:#f3edf9;color:#a38bb7;padding:2px 5px}.st-source.suggestion{background:#f6eafa;color:#aa6ebd}.st-card-top button{padding:0 0 0 8px;font-size:15px!important;line-height:1;background:none;color:#c8b6d4}.st-element textarea{width:100%;border:0;resize:vertical;background:none;color:#7b658b;font-size:11px!important;line-height:1.9;min-height:90px;margin:8px 0 0;padding:0;box-shadow:none}.st-add-card{width:100%;padding:7px;background:none;color:#ae95c0;font-size:10px!important;text-align:left}.st-empty-card{border:1px dashed #d9c9e7;border-radius:9px;min-height:135px;display:grid;place-content:center;text-align:center;color:#b59cc7}.st-empty-card>span{font-size:24px}.st-empty-card p{font-size:10px;line-height:1.8;margin:6px}.st-question-panel{display:flex;align-items:flex-start;gap:13px;background:#fdfaff;border:1px solid #e2d4ee;border-radius:12px;padding:19px;margin-top:20px}.st-question-panel>div{flex:1;min-width:0}.st-question-panel small{font-size:8px;color:#ad92c3;letter-spacing:1.3px}.st-question-panel h3{font-size:12px;font-weight:500;color:#86629f;margin:3px 0 13px}.st-question{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;color:#a18ab0;background:none;font-size:10px!important;padding:6px 0;gap:8px}.st-question span{color:#b69ac9}.st-next{display:flex;justify-content:space-between;align-items:center;width:100%;background:#7951b2;color:#fff;padding:16px 20px;border-radius:11px;margin-top:23px;font-size:12px!important;box-shadow:0 5px 14px #69399915}.st-structure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.st-structure-card{position:relative;border:1px solid #e3d6ee!important;background:#fffdfd;border-radius:12px;padding:18px;text-align:left;color:#7e5d96}.st-structure-card.selected{border-color:#9d77c5!important;background:#f6edff;box-shadow:0 0 0 1px #9d77c5}.st-structure-card>small{font-size:7px;letter-spacing:1.3px;color:#a58cb7}.st-structure-card h3{font-size:15px;margin:4px 0;font-weight:500;color:#70508b}.st-structure-card p{font-size:9px;line-height:1.8;color:#a18bb0;margin:0 0 12px}.st-recommend{font-size:8px;background:#f2e9fa;padding:4px 7px;border-radius:4px;color:#a082b8}.st-structure-graphic{height:53px;display:flex;align-items:center;gap:6px;color:#ae88d1}.st-structure-graphic>span{font-size:60px;line-height:1}.st-structure-graphic i{display:block;width:19px;height:var(--h);border:1px solid #b89bd2;border-radius:5px;background:#eee2f9}.st-selected-check{position:absolute;right:14px;top:12px;font-weight:400}.st-beat-header{display:flex;justify-content:space-between;align-items:center;margin:28px 0 15px}.st-beat-header h3{font-size:15px;font-weight:500;color:#76558f}.st-beat-header>span{font-size:8px;color:#b49ac6;letter-spacing:1.3px}.st-beat{display:flex;gap:15px;margin-bottom:12px}.st-beat>span{background:#e9ddf4;color:#a081b8;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;font-size:10px;flex-shrink:0;margin-top:5px}.st-beat label{flex:1;color:#8b6ba3;font-size:11px}.st-beat textarea{display:block;border:1px solid #e5d8ef;width:100%;border-radius:8px;background:#fefbff;margin-top:6px;font-size:11px!important;padding:12px;color:#7f6393;min-height:80px;resize:vertical}.st-beat textarea::placeholder{color:#bca7ca}.st-draft-paper{background:#fffefd;border:1px solid #e6dcef;border-radius:5px;padding:35px 32px;box-shadow:0 5px 25px #75519208}.st-draft-paper>small{font-size:7px;letter-spacing:1.5px;color:#b39bc4}.st-draft-paper>h2{font-size:26px;font-weight:500;color:#67497d;margin:20px 0 7px}.st-paper-meta{font-size:10px;color:#b5a1c3}.st-logline-label{display:block;font-size:11px;color:#9373a9;margin:25px 0}.st-logline-label textarea{width:100%;display:block;min-height:100px;border:1px solid #eadff1;background:#fcf9ff;border-radius:6px;padding:12px;color:#816493;font-size:12px!important;line-height:1.9;margin-top:9px}.st-draft-paper h4{font-size:12px;color:#89629e;margin:25px 0 10px;border-bottom:1px solid #efe7f4;padding-bottom:9px}.st-draft-paper h4 span{font-size:10px;color:#b4a0c2;margin-left:5px;font-weight:400}.st-draft-paper h5{font-size:11px;color:#9571ae;margin:16px 0 5px}.st-draft-paper section p{font-size:11px;color:#917e9d;line-height:2;white-space:pre-wrap}.st-draft-paper .st-unfilled{color:#c3b2ce;font-style:italic}.st-error{padding:12px 22px;background:#fff1ef;color:#a35a68;font-size:12px;display:flex;justify-content:space-between;gap:10px}.st-error button{background:none;color:inherit}.st-thinking{font-size:12px;color:#9272ab}.st-dot{color:#cbbbd8}.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}
@media(min-width:1700px){.st-canvas{padding:35px 45px}.st-element textarea{min-height:78px}.st-board-grid{gap:20px}.st-choose{padding-top:75px}}
@media(max-width:1200px){.st-layout{grid-template-columns:190px minmax(0,1fr)}.st-header{padding:0 23px}.st-choose{padding:46px 35px}.st-format{padding:20px 17px}.st-workspace{grid-template-columns:280px minmax(0,1fr)}.st-canvas{padding:24px 18px}.st-board-grid{gap:10px}.st-board-column{padding:12px 10px}.st-canvas-title h2{font-size:20px}.st-stage-note{display:none}.st-side-note{padding-left:5px}.st-story-link b{max-width:110px}.st-column-title{gap:6px}.st-column-title h3 small{display:block;margin-left:0}.st-structure-card{padding:13px}}
@media(max-width:960px){.st-layout{grid-template-columns:1fr}.st-sidebar{min-height:auto;border-right:0;border-bottom:1px solid var(--st-line);padding:12px 22px;display:flex;flex-direction:row;align-items:center;gap:14px}.st-sidebar-label,.st-side-note,.st-storage-note,.st-side-empty{display:none}.st-new{margin:0;white-space:nowrap;font-size:11px!important;padding:9px 13px}.st-story-list{display:flex;gap:5px;overflow:auto;margin:0;max-height:70px}.st-story-link{margin:0;width:auto;min-width:130px;padding:6px 10px}.st-story-link>span:first-child{display:none}.st-project-head{padding:23px 26px}.st-tabs{padding:0 26px}.st-chat{height:calc(100vh - 280px)}.st-choose{max-width:900px}.st-head-right>span{display:none}.st-workspace{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:700px){.st-header{height:65px;padding:0 16px}.st-brand{font-size:13px;gap:7px}.st-brand strong{font-size:12px}.st-mark{font-size:25px}.st-slash{margin:0 1px}.st-beta{font-size:7px;padding:2px 4px}.st-home{font-size:9px;padding:6px}.st-layout{min-height:calc(100vh - 65px)}.st-choose{padding:35px 22px 28px}.st-choose h1{font-size:37px;letter-spacing:-1.8px}.st-overline{font-size:8px;letter-spacing:1.5px}.st-intro{font-size:12px}.st-format-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.st-format{padding:16px 13px}.st-format-title{font-size:17px}.st-format-top{margin-bottom:18px}.st-format-top small{font-size:6px;letter-spacing:.5px}.st-format-icon{width:34px;height:34px;font-size:23px}.st-format-desc{font-size:10px;min-height:32px}.st-format-tag{font-size:8px}.st-get-started{align-items:flex-start;flex-direction:column;gap:9px}.st-get-started button{padding:0}.st-journey{gap:7px;flex-wrap:wrap;font-size:8px;padding-top:3px}.st-journey b{margin-left:3px}.st-project-title{font-size:23px!important;max-width:230px}.st-project-head{padding:20px}.st-export{font-size:10px!important;padding:8px 10px}.st-tabs{gap:22px;padding:0 20px}.st-tabs button{font-size:11px!important}.st-tabs button small{margin-right:5px}.st-workspace{display:flex;flex-direction:column}.st-chat{height:auto;min-height:0;position:static;border-right:0;border-bottom:1px solid var(--st-line)}.st-chat-head{padding:14px 20px}.st-messages{max-height:290px;min-height:0;padding:15px 20px}.st-welcome{padding:0 0 10px}.st-welcome>span{display:none}.st-welcome h3{font-size:13px;margin:0 0 6px}.st-welcome p{font-size:10px}.st-mode-note{padding:10px 20px}.st-composer{margin:8px 20px 0}.st-composer textarea{min-height:75px}.st-chat-foot{margin-bottom:12px}.st-canvas{padding:25px 20px}.st-canvas-title h2{font-size:23px}.st-board-grid{gap:12px}.st-column-title h3 small{display:inline;margin-left:5px}.st-element{padding:9px}.st-element textarea{min-height:145px;font-size:11px!important}.st-draft-paper{padding:25px 22px}.st-error{font-size:11px}.st-sidebar{padding:10px 16px}.st-structure-grid{gap:11px}.st-structure-card{padding:17px}.st-structure-card p{min-height:34px}}
@media(prefers-reduced-motion:reduce){.st-format{transition:none}.st-format:hover{transform:none}}
#story-studio .st-credit-button{background:#eee5fa;color:#8159ad;border:1px solid #decced;padding:8px 12px;border-radius:8px;font-size:10px}#story-studio .st-memo-button{background:transparent;color:#a38ab5;padding:7px;font-size:9px!important}#story-studio .st-ai-generate{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 17px;border:1px solid #cfb5e8;background:#eee2fb;color:#7d51a1;border-radius:9px;margin-top:20px;font-size:11px}#story-studio .st-ai-generate>span{font-size:9px}#story-studio .st-undo{float:right;font-size:9px;background:transparent;color:#a18ab3;padding:4px}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.credit-topup-note{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e3d7ee;border-radius:12px;padding:22px;margin-top:20px;color:#8b739c;background:#f8f3fe}.credit-topup-note p{font-size:12px;margin:4px 0}.credit-topup-note button{white-space:nowrap}.pricing-policy{font-size:11px!important;line-height:1.9;color:#97859f}.download-preview-note{font-size:12px;color:#a093a8;margin-top:22px}@media(max-width:750px){.pricing-grid{grid-template-columns:1fr}.credit-topup-note{align-items:flex-start;flex-direction:column}#story-studio .st-head-right{gap:7px}.st-credit-button{padding:6px!important;font-size:8px!important}.st-brand .st-beta{display:none}}
@media(min-width:701px){#story-studio.st-editor-mode{height:100vh;overflow:hidden}#story-studio.st-editor-mode .st-layout{height:calc(100vh - 80px);min-height:0}#story-studio.st-editor-mode .st-main{overflow:hidden}#story-studio.st-editor-mode .st-workspace{height:calc(100vh - 243px);min-height:0}#story-studio.st-editor-mode .st-chat{height:100%;min-height:0;position:static}#story-studio.st-editor-mode .st-canvas{height:100%;overflow-y:auto}#story-studio.st-editor-mode .st-sidebar{min-height:0}#story-studio.st-editor-mode .st-side-note{padding-top:25px;padding-bottom:20px}#story-studio.st-editor-mode .st-error{position:fixed;left:226px;right:0;top:80px;z-index:20;box-shadow:0 3px 12px #65447715}#story-studio.st-editor-mode .st-welcome{padding-top:0;padding-bottom:12px}#story-studio.st-editor-mode .st-composer textarea{min-height:80px}}@media(min-width:701px) and (max-width:960px){#story-studio.st-editor-mode .st-layout{height:calc(100vh - 80px);display:block}#story-studio.st-editor-mode .st-workspace{height:calc(100vh - 310px)}#story-studio.st-editor-mode .st-error{left:0;top:80px}}@media(min-width:961px) and (max-width:1200px){#story-studio.st-editor-mode .st-error{left:190px}}#story-studio .st-format-desc,#story-studio .st-canvas-desc{color:#86728f}#story-studio .st-element textarea{color:#6e577e}#story-studio .st-chat-foot{color:#93809e}

/* Quiet writing entry and collapsible story rail. */
#story-studio .st-brand{gap:10px;min-width:0}#story-studio .st-parent-brand{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none}#story-studio .st-brand-home{padding:4px 0;background:none;font-weight:650;color:#68418b;white-space:nowrap}#story-studio .st-layout{grid-template-columns:200px minmax(0,1fr)}#story-studio .st-sidebar{padding:18px 16px;position:relative;display:block}#story-studio .st-sidebar-content{display:flex;flex-direction:column;height:calc(100% - 35px)}#story-studio .st-sidebar-content[hidden]{display:none}#story-studio .st-sidebar-toggle{display:block;margin:0 0 12px auto;width:30px;height:30px;border:1px solid #e4d9ee;background:#fffafd;border-radius:8px;color:#8760aa;font-size:24px;line-height:1}#story-studio .st-sidebar-label{font-size:8px}#story-studio .st-rail-new{display:none}#story-studio.st-sidebar-collapsed .st-layout{grid-template-columns:58px minmax(0,1fr)}#story-studio.st-sidebar-collapsed .st-sidebar{padding:18px 12px}#story-studio.st-sidebar-collapsed .st-sidebar-toggle{margin:0 0 12px;width:32px}#story-studio.st-sidebar-collapsed .st-rail-new{display:block;width:32px;height:32px;background:#ede4f7;color:#7c51a2;border-radius:8px;font-size:21px}#story-studio .st-format-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#story-studio .st-choose{max-width:1040px;padding-top:64px}#story-studio .st-side-note{margin-top:auto}#story-studio .st-blank{min-height:calc(100dvh - 80px);display:grid;place-items:center;padding:48px 30px 110px;background:#fffdff}#story-studio .st-blank-content{width:min(100%,680px);text-align:center}#story-studio .st-blank-mark{font-size:43px;line-height:1;color:#b292d3}#story-studio .st-blank h1{font-size:28px;font-weight:500;letter-spacing:-1.3px;color:#584268;margin:18px 0 31px}#story-studio .st-blank .st-composer{margin:0;border-radius:22px;background:#fff;box-shadow:0 8px 40px #71408c08;border-color:#e6d9ef;text-align:left}#story-studio .st-blank .st-composer textarea{font-size:14px!important;min-height:145px;padding:23px 24px!important;max-height:45vh}#story-studio .st-blank .st-composer>div{padding:0 15px 14px 24px}#story-studio .st-composer-actions{display:flex;gap:8px;align-items:center}#story-studio .st-blank .st-writing-type{font-size:11px;color:#9d83b3}#story-studio .st-blank .st-composer button[type=submit]{border-radius:11px;padding:11px 15px;font-size:11px!important}#story-studio .st-blank-note{font-size:10px;color:#a38eaf;margin-top:18px}#story-studio .st-timeline-panel{background:#faf6fe;border:1px solid #dfd0ec;border-radius:15px;padding:20px;margin-bottom:20px}#story-studio .st-timeline-panel h2{font-size:25px;color:#674185}#story-studio .st-timeline-panel h2 small{font-size:12px;font-weight:400;color:#9b7db0;margin-left:8px}#story-studio .st-timeline-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;clear:both}#story-studio .st-timeline-grid h3{font-size:12px;font-weight:600;margin:0 0 16px;color:#72518d}#story-studio .st-timeline-grid h3 small{font-size:9px;color:#a48bb5;font-weight:400;margin-left:6px}#story-studio .st-timeline{list-style:none;margin:0;padding:0}#story-studio .st-timeline li{position:relative;padding-left:32px;padding-bottom:6px}#story-studio .st-timeline li:not(:last-child):before{content:'';position:absolute;left:10px;top:24px;bottom:-4px;border-left:1px solid #cdb7e0}#story-studio .st-timeline-number{position:absolute;left:0;top:10px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e9dbf5;color:#8661a3;font-size:9px}#story-studio .st-card-actions{display:flex;gap:5px}#story-studio .st-card-actions button{font-size:13px!important;padding:0 3px;color:#967ba9}#story-studio .st-card-actions button:disabled{opacity:.25}#story-studio .st-timeline-empty{color:#ad97bb;font-size:11px;line-height:1.8;padding:15px 0}#story-studio .st-timeline .st-element textarea,#story-studio .st-conflict-track textarea{min-height:76px}#story-studio.st-editor-mode .st-error{left:200px}#story-studio.st-editor-mode.st-sidebar-collapsed .st-error{left:58px}
@media(min-width:701px) and (max-width:960px){#story-studio.st-editor-mode .st-layout{display:grid}#story-studio.st-editor-mode .st-workspace{height:calc(100vh - 243px)}#story-studio .st-sidebar-label,#story-studio .st-storage-note{display:block}#story-studio .st-story-list{display:block;max-height:none;overflow:auto}#story-studio .st-story-link{width:100%;margin-bottom:6px}#story-studio .st-workspace{grid-template-columns:260px minmax(0,1fr)}#story-studio .st-timeline-grid{grid-template-columns:1fr}}
@media(max-width:700px){#story-studio .st-header{padding:0 12px}#story-studio .st-parent-brand span:last-child,#story-studio .st-brand .st-slash,#story-studio .st-home{display:none}#story-studio .st-brand-home{font-size:12px}#story-studio .st-layout{grid-template-columns:160px minmax(0,1fr)}#story-studio .st-sidebar{padding:15px 10px;border-right:1px solid var(--st-line);border-bottom:0}#story-studio .st-sidebar-label,#story-studio .st-storage-note{display:block}#story-studio .st-story-list{display:block;max-height:none;overflow:auto}#story-studio .st-story-link{width:100%;min-width:0;margin-bottom:7px}#story-studio .st-story-link b{max-width:110px}#story-studio .st-new{font-size:10px!important;padding:8px}#story-studio .st-choose{padding:35px 18px}#story-studio .st-choose h1{font-size:29px}#story-studio .st-format-grid{grid-template-columns:1fr}#story-studio .st-format{min-height:0;padding:18px}#story-studio .st-format-top{margin-bottom:15px}#story-studio .st-format-desc{min-height:0}#story-studio .st-blank{min-height:calc(100dvh - 65px);padding:30px 17px 80px}#story-studio .st-blank h1{font-size:23px;line-height:1.6;word-break:keep-all}#story-studio .st-blank .st-composer textarea{padding:18px!important;font-size:13px!important}#story-studio .st-blank .st-composer>div{padding:0 10px 12px;flex-wrap:wrap;justify-content:flex-end}#story-studio .st-blank .st-writing-type{margin-right:auto}#story-studio .st-composer-actions{flex-wrap:wrap;justify-content:flex-end}#story-studio .st-project-head{padding:20px 14px;flex-wrap:wrap}#story-studio .st-project-title{max-width:100%}#story-studio .st-tabs{overflow-x:auto;padding:0 14px;gap:18px}#story-studio .st-canvas{padding:22px 14px}#story-studio .st-timeline-panel{padding:15px}#story-studio .st-timeline-grid,#story-studio .st-board-grid{grid-template-columns:1fr}#story-studio .st-timeline-grid{gap:20px}#story-studio .st-timeline-panel h2 small{display:block;margin:4px 0}#story-studio .st-blank-note{line-height:1.7}#story-studio .st-sidebar-content{min-height:calc(100dvh - 130px)}}

/* Story list actions: pointer, keyboard and touch. */
#story-studio .st-story-row{position:relative;display:flex;align-items:center;min-width:0;border-radius:9px;margin-bottom:6px}#story-studio .st-story-row:has(.active){background:#eee5f7}#story-studio .st-story-row .st-story-link{flex:1;min-width:0;margin:0;padding-right:30px}#story-studio .st-story-row .st-story-link b{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}#story-studio .st-story-options{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:32px;border-radius:7px;background:transparent;color:#8c6fa3;font-size:20px;opacity:.6}#story-studio .st-story-row:hover .st-story-options,#story-studio .st-story-options:focus-visible{opacity:1;background:#dfcfee}#story-studio .st-context-menu{position:fixed;z-index:1500;width:214px;padding:7px;background:#fffcff;border:1px solid #e7dbf0;border-radius:13px;box-shadow:0 12px 40px #4c29682b;animation:st-menu-in .12s ease-out}#story-studio .st-context-menu button{width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;text-align:left;border-radius:8px;background:transparent;color:#634879;font-size:13px}#story-studio .st-context-menu button:hover,#story-studio .st-context-menu button:focus-visible{background:#f0e7fa;outline:2px solid transparent}#story-studio .st-context-menu .st-menu-delete{color:#b74b6a}#story-studio .st-menu-divider{height:1px;background:#eee5f3;margin:5px 7px}#story-studio .st-story-modal{position:fixed;inset:0;z-index:1600;background:#2e163f55;backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}#story-studio .st-story-dialog{width:min(420px,100%);border:1px solid #eadcf4;border-radius:20px;background:#fffcff;padding:29px;box-shadow:0 20px 80px #33184833}#story-studio .st-story-dialog h2{font-size:22px;font-weight:500;color:#54336d;margin:12px 0 23px}#story-studio .st-story-dialog label{display:block;font-size:12px;color:#9278a4;margin-bottom:8px}#story-studio .st-story-dialog input{width:100%;border:1px solid #d6c3e6;background:#fff;border-radius:9px;padding:13px;color:#53396a;font:inherit}#story-studio .st-story-dialog input:focus{outline:2px solid #a37bc8;outline-offset:2px}#story-studio .st-story-dialog p{font-size:13px;color:#8b759b;line-height:1.9;overflow-wrap:anywhere}#story-studio .st-story-dialog p b{color:#614275}#story-studio .st-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}#story-studio .st-dialog-actions button{padding:11px 20px;border-radius:9px;background:#f0e8f6;color:#816195;font-size:13px}#story-studio .st-dialog-actions button[type=submit]{background:#8760ad;color:white}#story-studio .st-dialog-actions button.st-confirm-delete{background:#b64f70}@keyframes st-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1200px){#story-studio .st-story-row .st-story-link b{max-width:85px}}@media(max-width:700px){#story-studio .st-story-row .st-story-link b{max-width:75px}#story-studio .st-story-options{opacity:1}}

#story-studio .st-trash-link{display:flex;align-items:center;gap:8px;width:100%;margin-top:18px;padding:11px 13px;background:transparent;border:1px solid #e5d8ee;border-radius:9px;color:#8d719e;font-size:12px}#story-studio .st-trash-link span{margin-left:auto;background:#ebe0f3;border-radius:5px;padding:2px 6px}#story-studio .st-trash-link:hover,#story-studio .st-trash-link[aria-pressed=true]{background:#eee4f7;color:#70508b}#story-studio .st-trash-view{max-width:900px;margin:0 auto;padding:65px 45px}#story-studio .st-trash-view h1{font-size:34px;font-weight:500;color:#63467d;margin:16px 0}#story-studio .st-trash-view>p{color:#9a84a8;font-size:13px;line-height:1.9}#story-studio .st-trash-items{margin:32px 0}.st-trash-item{display:flex;align-items:center;gap:16px;padding:20px;background:#fffcff;border:1px solid #e7dbf1;border-radius:12px;margin-bottom:10px}.st-trash-item>span{font-size:22px;color:#baa0d1}.st-trash-item>div{flex:1;min-width:0}.st-trash-item h2{font-size:15px;font-weight:500;color:#73548b;margin:0 0 7px;overflow-wrap:anywhere}.st-trash-item small{font-size:11px;color:#a38daf}#story-studio .st-trash-item button{background:#eee3f8;color:#825da0;border-radius:8px;padding:10px 14px;white-space:nowrap;font-size:12px}.st-trash-empty{text-align:center;padding:60px 15px;background:#faf6fe;border:1px dashed #dfcfed;border-radius:15px;color:#a38aae}.st-trash-empty>span{font-size:35px}.st-trash-empty h2{font-size:18px;font-weight:500}.st-trash-empty p{font-size:12px}#story-studio .st-trash-view .st-trash-note{font-size:11px;color:#b09abd}#story-studio .st-trash-back{background:transparent;color:#9371ad;padding:15px 0;font-size:12px}@media(max-width:700px){#story-studio .st-trash-view{padding:35px 16px}#story-studio .st-trash-view h1{font-size:28px}.st-trash-item{padding:14px;gap:9px;flex-wrap:wrap}.st-trash-item>span{display:none}#story-studio .st-trash-link{padding:10px 8px}}

/* Readable card hierarchy and horizontal event sequence. */
#story-studio .st-timeline-grid{display:block}#story-studio .st-event-track{min-width:0}#story-studio .st-event-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}#story-studio .st-event-heading h3{margin:0}#story-studio .st-event-heading>div{display:flex;gap:5px}#story-studio .st-event-heading button{width:30px;height:28px;border-radius:7px;background:#eadef4;color:#8460a0;font-size:15px}#story-studio .st-timeline{display:flex;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 0 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#cbb4df #f0e7f7}#story-studio .st-timeline li{flex:0 0 256px;min-width:0;padding:38px 0 0;scroll-snap-align:start}#story-studio .st-timeline li:not(:last-child):before{left:22px;right:-18px;top:15px;bottom:auto;border-left:0;border-top:1px solid #cdb7e0}#story-studio .st-timeline-number{top:4px;left:0}#story-studio .st-timeline .st-element{margin:0;height:calc(100% - 2px);padding:13px}#story-studio .st-timeline .st-element textarea{min-height:108px;font-size:13px!important;line-height:1.85}#story-studio .st-conflict-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px;border-top:1px solid #e7daf0;padding-top:20px}#story-studio .st-conflict-track h3,#story-studio .st-conflict-track>.st-add-card,#story-studio .st-conflict-track>.st-timeline-empty{grid-column:1/-1}#story-studio .st-conflict-track h3{margin-bottom:2px}#story-studio .st-conflict-track .st-element{margin:0}#story-studio .st-character-name,#story-studio .st-scene-place{display:block;width:100%;min-width:0;border:0;border-bottom:1px solid transparent;background:transparent;padding:4px 0;color:#5d397b;font-size:22px!important;font-weight:600;letter-spacing:-.6px;line-height:1.5}#story-studio .st-character-name::placeholder,#story-studio .st-scene-place::placeholder{color:#b39ac6;font-weight:400}#story-studio .st-character-name:hover,#story-studio .st-scene-place:hover{border-bottom-color:#e2d4ed}#story-studio .st-element .st-card-description{font-size:13px!important;line-height:1.9;color:#8b779a;padding:8px 0 2px;min-height:84px}#story-studio .st-scene-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin:3px 0 5px}#story-studio .st-scene-place{flex:1 1 100%;font-size:20px!important}#story-studio .st-scene-dash{color:#b59bc9;font-size:18px}#story-studio .st-scene-heading select{font:inherit;font-size:17px;color:#8961a6;background:transparent;border:0;max-width:100%;padding:2px 0;cursor:pointer}#story-studio .st-story-dialog select{font:inherit;margin-top:12px;padding:9px;background:#f4edf9;color:#79518f;border:1px solid #d9c8e8;border-radius:8px}@media(min-width:1450px){#story-studio .st-scene-place{flex-basis:120px}}@media(max-width:700px){#story-studio .st-timeline li{flex-basis:230px}#story-studio .st-conflict-track{grid-template-columns:1fr}#story-studio .st-event-heading{align-items:flex-start}#story-studio .st-event-heading h3 small{display:block;margin-left:0;margin-top:4px}#story-studio .st-character-name{font-size:21px!important}}
#story-studio .st-scene-heading .st-scene-place{flex:1 1 120px;width:120px}#story-studio .st-scene-heading select{width:auto!important;flex:0 0 auto}#story-studio .st-scene-dash{flex:0 0 auto}

/* Category identity: quiet surfaces, vivid anchors, readable ink. */
#story-studio{color:#343043;background:#f7f7fb}
#story-studio .st-canvas{background:#f8f9fc}
#story-studio .st-project-title{color:#292136}
#story-studio .st-canvas-desc,#story-studio .st-stage-note,#story-studio .st-chat-foot,#story-studio .st-format-desc{color:#645c70}
#story-studio .st-overline{color:#736184}
#story-studio .st-tabs button{color:#696273}
#story-studio .st-tabs button.active{color:#6334ad;border-bottom-color:#7946c2}
#story-studio .st-timeline-panel{background:#f4f0fc;border-color:#dcd1ef;box-shadow:0 3px 14px #3b225605}
#story-studio .st-timeline-panel h2{color:#4d2683;font-weight:650}
#story-studio .st-timeline-panel h2 small,#story-studio .st-timeline-grid h3 small{color:#70617f}
#story-studio .st-timeline-grid h3{color:#4f386c;font-size:13px}
#story-studio .st-count{background:#e7dcf7;color:#5b3689;border-radius:7px;padding:6px 9px}
#story-studio .st-element{background:#fff;border-color:#e3ddea;box-shadow:0 2px 6px #30203e04}
#story-studio .st-element textarea,#story-studio .st-element .st-card-description{color:#423d4d;font-size:14px!important;line-height:1.85}
#story-studio .st-card-events{border-top:3px solid #9568d6}
#story-studio .st-timeline-number{background:#7547b1;color:#fff;font-weight:650;width:25px;height:25px;font-size:10px}
#story-studio .st-timeline li:not(:last-child):before{top:16px;border-color:#c7b4e3}
#story-studio .st-timeline .st-element{padding:13px 15px}
#story-studio .st-card-top{gap:8px;align-items:center}
#story-studio .st-card-top .st-card-actions{margin-left:auto}
#story-studio .st-source{color:#685b79;background:#f1edf6}
#story-studio .st-source.ai,#story-studio .st-source.suggestion{color:#64409a;background:#eae0f8}
#story-studio .st-card-actions button{color:#756682;min-width:23px;min-height:25px;border-radius:5px}
#story-studio .st-card-actions button:hover{background:#efe9f7;color:#4d267f}
#story-studio .st-card-actions button:disabled{opacity:.3}
#story-studio .st-add-card{color:#70518d;border-color:#d3c5e1;font-size:12px}
#story-studio .st-conflict-track{border-top-color:#e2cdda}
#story-studio .st-conflict-track h3{color:#9a4254}
#story-studio .st-card-conflicts{background:#fff8f8;border-color:#edd5da;border-left:3px solid #d98192}
#story-studio .st-conflict-track .st-add-card{color:#9a4254;border-color:#e6c7cf}
#story-studio .st-board-column{padding:18px;border-radius:15px}
#story-studio .st-group-0{background:#edf7f7;border:1px solid #cce5e3}
#story-studio .st-group-1{background:#fff5ec;border:1px solid #efddcb}
#story-studio .st-column-title{margin-bottom:18px}
#story-studio .st-column-title h3{font-size:18px;font-weight:650}
#story-studio .st-column-title h3 small{font-size:11px;color:inherit;opacity:.8}
#story-studio .st-group-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-size:21px;background:#d7eeeb}
#story-studio .st-group-0 .st-column-title h3,#story-studio .st-group-0 .st-number,#story-studio .st-scene-place{color:#1c625f}
#story-studio .st-group-1 .st-column-title h3,#story-studio .st-group-1 .st-number,#story-studio .st-character-name{color:#8b4c27}
#story-studio .st-group-1 .st-group-symbol{background:#f9e4d0}
#story-studio .st-card-scenes{border-color:#cce3e0;border-left:3px solid #55a49b}
#story-studio .st-card-characters{border-color:#eed9c5;border-left:3px solid #d9a16f}
#story-studio .st-scene-heading select{color:#347e77;font-size:16px}
#story-studio .st-group-0 .st-add-card{border-color:#bddbd5;color:#276d65}
#story-studio .st-group-1 .st-add-card{border-color:#e6c9af;color:#90572f}
#story-studio .st-question-panel{background:#fff;border-color:#e0d9ec}
#story-studio .st-question-panel h3{color:#463058}
#story-studio .st-question{color:#675373}
#story-studio .st-draft-paper{color:#423d4d}
#story-studio .st-draft-paper p{color:#423d4d;white-space:pre-line}
#story-studio .st-draft-scenes h4{color:#216c64}
#story-studio .st-draft-characters h4{color:#965d34}
#story-studio .st-draft-events h4{color:#6d3caa}
#story-studio .st-draft-conflicts h4{color:#a7495d}
#story-studio .st-draft-event-number{display:inline-block;margin-right:8px;color:#7547b1;font-variant-numeric:tabular-nums}
#story-studio .st-reorder-help{font-size:11px;line-height:1.7;color:#746183;margin:0 0 14px}
#story-studio .st-drag-handle{display:flex;align-items:center;gap:3px;padding:2px 5px;background:#efe7f8;color:#684592;border-radius:5px;font-size:10px;cursor:grab;touch-action:none;user-select:none;white-space:nowrap}
#story-studio .st-drag-handle>span{font-size:19px;line-height:1.1}
#story-studio .st-drag-handle:hover{background:#e3d3f5;color:#4b2381}
#story-studio .st-timeline{position:relative}
#story-studio .st-timeline.st-dragging{scroll-snap-type:none;user-select:none;cursor:grabbing}
#story-studio .st-drag-source .st-element{opacity:.5;border:2px dashed #8455c1}
#story-studio .st-dragging .st-drag-handle{cursor:grabbing}
#story-studio .st-drop-marker{position:absolute;top:34px;bottom:12px;width:4px;transform:translateX(-50%);border-radius:4px;background:#713ac4;box-shadow:0 0 0 4px #713ac417;pointer-events:none;z-index:3}
#story-studio .st-drop-marker[hidden]{display:none}
#story-studio .st-drag-handle:focus-visible,#story-studio .st-card-actions button:focus-visible{outline:2px solid #7547b1;outline-offset:3px}
@media(max-width:700px){#story-studio .st-board-column{padding:14px}#story-studio .st-reorder-help{font-size:10px}#story-studio .st-timeline li{flex-basis:250px}}

/* Small card controls and persistent order recovery. */
#story-studio .st-board-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:0;z-index:12;background:#f8f9fcf5;backdrop-filter:blur(8px);padding:8px 0 12px;margin-bottom:8px;border-bottom:1px solid #e5dfed}
#story-studio .st-board-save{color:#736380;font-size:11px;line-height:1.5}
#story-studio .st-board-tools button{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px;padding:8px 12px;border:1px solid #d7c7e8;border-radius:8px;background:#fff;color:#67438e}
#story-studio .st-board-tools button small{font-size:10px;color:#82728e}
#story-studio .st-board-tools button:disabled{opacity:.45;cursor:default}
#story-studio .st-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;min-height:26px}
#story-studio .st-drag-handle{margin-left:auto;display:grid;place-items:center;width:26px;height:26px;padding:0;background:transparent;color:#927da6;border-radius:6px;font-size:18px}
#story-studio .st-drag-handle>span{font-size:18px;line-height:1}
#story-studio .st-drag-handle:hover{background:#eee7f7;color:#65418c}
#story-studio .st-group-0 .st-drag-handle{color:#4a8e86}
#story-studio .st-group-1 .st-drag-handle{color:#ae805b}
#story-studio .st-drag-source.st-element{opacity:.45;outline:2px dashed #8455c1;outline-offset:2px}
#story-studio .st-sort-marker{position:fixed;z-index:1200;border-radius:3px;background:#713ac4;box-shadow:0 0 0 3px #713ac418;pointer-events:none}
#story-studio .st-sort-marker[hidden]{display:none}
#story-studio [data-sort-group].st-dragging{user-select:none;cursor:grabbing}
#story-studio .st-scene-slug{margin:7px 0 3px}
#story-studio .st-scene-setting{width:auto;max-width:100%;font:inherit;line-height:1.5;font-size:11px;font-weight:600;border:1px solid #cce2dd;border-radius:6px;padding:4px 6px;background:#eaf5f2;color:#37766d;cursor:pointer}
#story-studio .st-color-picker{position:relative}
#story-studio .st-color-picker summary{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;cursor:pointer;list-style:none}
#story-studio .st-color-picker summary::-webkit-details-marker{display:none}
#story-studio .st-color-picker summary:hover{background:#efe9f5}
#story-studio .st-color-dot{width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 2px white,0 0 0 3px #cabed6}
#story-studio .st-color-options{position:absolute;bottom:32px;left:0;display:grid;grid-template-columns:repeat(3,28px);gap:8px;padding:10px;background:#fff;border:1px solid #e0d8e9;border-radius:11px;box-shadow:0 8px 24px #3f2a5920;z-index:8}
#story-studio .st-color-choice{width:28px;height:28px;border-radius:50%;font-size:15px;color:#fff;border:2px solid transparent}
#story-studio .st-color-choice[aria-pressed=true]{outline:2px solid #735187;outline-offset:2px}
#story-studio .st-swatch-lavender{background:#9568d6}#story-studio .st-swatch-blue{background:#5a90cf}#story-studio .st-swatch-mint{background:#458c7b}#story-studio .st-swatch-amber{background:#b77e32}#story-studio .st-swatch-rose{background:#c1667f}#story-studio .st-swatch-slate{background:#768292}
#story-studio .st-event-color-lavender{background:#fff;border-top-color:#9568d6}
#story-studio .st-event-color-blue{background:#f0f6ff;border-color:#cadcf2;border-top-color:#5a90cf}
#story-studio .st-event-color-mint{background:#eef8f4;border-color:#c7e0d6;border-top-color:#458c7b}
#story-studio .st-event-color-amber{background:#fff7e9;border-color:#eddbb8;border-top-color:#b77e32}
#story-studio .st-event-color-rose{background:#fff0f4;border-color:#ebccd5;border-top-color:#c1667f}
#story-studio .st-event-color-slate{background:#f1f4f7;border-color:#d3dbe3;border-top-color:#768292}
#story-studio .st-color-picker summary:focus-visible,#story-studio .st-color-choice:focus-visible,#story-studio .st-scene-setting:focus-visible{outline:2px solid #7547b1;outline-offset:3px}
@media(max-width:700px){#story-studio .st-board-tools button small{display:none}#story-studio .st-board-save{font-size:10px}#story-studio .st-board-tools button{font-size:11px;padding:7px 9px}}

/* Scene connections and guided structure editing. */
#story-studio .st-board-tools{position:static;top:auto;backdrop-filter:none;background:transparent}
#story-studio .st-scene-links{border-top:1px solid #dbece7;margin-top:12px;padding-top:12px;font-size:12px;color:#425d58}
#story-studio .st-scene-links small{display:block;font-size:10px;color:#4d7e74;margin-bottom:7px;font-weight:600}
#story-studio .st-linked-people>div{display:flex;gap:5px;flex-wrap:wrap}
#story-studio .st-person-chip{display:inline-block;border:1px solid #ead6c3;background:#fff4e9;color:#895a35;padding:4px 8px;border-radius:20px;font-size:11px;overflow-wrap:anywhere}
#story-studio .st-linked-events{margin-top:12px}
#story-studio .st-linked-events p{display:flex;gap:8px;background:#f4f0fa;border-radius:7px;padding:8px;margin:5px 0;line-height:1.65;color:#58486b;font-size:12px}
#story-studio .st-linked-events b{color:#845cb2;flex-shrink:0}
#story-studio .st-link-empty{font-size:11px;color:#7f8e89}
#story-studio .st-link-edit{font-size:11px;background:#e8f3ef;color:#327367;padding:7px 10px;border-radius:7px;margin-top:12px}
#story-studio .st-link-dialog{width:min(600px,100%);max-height:85dvh;overflow:auto}
#story-studio .st-link-dialog fieldset{border:1px solid #e4dcea;border-radius:10px;padding:13px;margin:14px 0}
#story-studio .st-link-dialog legend{font-size:13px;color:#614c74;padding:0 5px}
#story-studio .st-link-option{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#463b50;line-height:1.7;padding:9px;border-radius:7px;margin:0}
#story-studio .st-link-option:has(:checked){background:#f0e9f8}
#story-studio .st-link-option input{width:16px;height:16px;margin:4px 0 0;flex-shrink:0;accent-color:#8057af}
#story-studio .st-draft-scene-links{font-size:12px;line-height:1.8;color:#49635c;white-space:normal;border-left:3px solid #7cae9e;padding:10px 14px;background:#f1f8f5;margin:-4px 0 18px}
#story-studio .st-structure-family{margin:26px 0}
#story-studio .st-structure-family>h3{font-size:17px;color:#493858;margin-bottom:13px}
#story-studio .st-structure-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px}
#story-studio .st-structure-option{min-width:0;border:1px solid #e1d7ec;border-radius:13px;background:#fff;overflow:hidden}
#story-studio .st-structure-option .st-structure-card{width:100%;min-height:180px;border:0;border-radius:0;text-align:left;padding:20px;background:#fff}
#story-studio .st-structure-option .st-structure-card.selected{background:#efe6fa;box-shadow:inset 0 0 0 2px #a282c8}
#story-studio .st-structure-card h3{font-size:17px;line-height:1.5;color:#4e326a}
#story-studio .st-structure-card p{font-size:12px;line-height:1.8;color:#73667e}
#story-studio .st-structure-help{border-top:1px solid #eee7f5;padding:12px 17px;font-size:12px;color:#665771;line-height:1.8}
#story-studio .st-structure-help summary{cursor:pointer;color:#79559a;font-size:11px}
#story-studio .st-structure-help ol{padding-left:20px}
#story-studio .st-structure-help li{margin-bottom:9px}
#story-studio .st-structure-help li span{display:block;font-size:11px;color:#82738e}
#story-studio .st-structure-help a{color:#75549a;text-decoration:underline}
#story-studio .st-rewrite-toolbar{padding:16px;border:1px solid #dacee9;border-radius:12px;background:#f7f2fc;margin-bottom:18px}
#story-studio .st-rewrite-toolbar p{font-size:12px;line-height:1.8;color:#74617f;margin:0 0 12px}
#story-studio .st-rewrite-toolbar button{background:#8053ac;color:white;border-radius:8px;padding:11px 14px;font-size:12px}
#story-studio .st-rewrite-toolbar button small{margin-left:9px;opacity:.8;font-size:10px}
#story-studio .st-rewrite-toolbar>small{display:block;margin-top:10px;font-size:11px;color:#8a7796}
#story-studio .st-rewrite-toolbar button:disabled,#story-studio .st-ai-generate:disabled{opacity:.5;cursor:default}
#story-studio .st-rewrite-toolbar .st-restore-beats{background:transparent;color:#8053ac;margin-left:8px}
#story-studio .st-rewrite-preview{border:1px solid #c9b1df;border-radius:12px;background:#fff;padding:18px;margin:20px 0}
#story-studio .st-rewrite-preview h3{color:#644183;font-size:18px}
#story-studio .st-rewrite-preview h4{font-size:13px;color:#665074;margin-top:20px}
#story-studio .st-rewrite-preview p{font-size:13px;color:#4d4157;line-height:1.8;white-space:pre-line}
#story-studio .st-rewrite-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#story-studio .st-rewrite-pair>div{padding:12px;background:#f7f6f9;border-radius:8px}
#story-studio .st-rewrite-pair>div+div{background:#f0e9f8}
#story-studio .st-rewrite-pair small{font-size:10px;color:#81658e}
#story-studio .st-rewrite-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
#story-studio .st-rewrite-actions button{background:#e9dff3;color:#6e428b;padding:10px 14px;border-radius:8px;font-size:12px}
@media(max-width:700px){#story-studio .st-structure-grid,#story-studio .st-rewrite-pair{grid-template-columns:1fr}#story-studio .st-link-dialog{padding:20px}}

/* Searchable narrative atlas, separate from the working draft. */
.st-library{background:#faf8ff;border:1px solid #e4dbf2;border-radius:20px;padding:20px;margin:24px 0 12px}.st-library-search{display:flex;align-items:center;gap:12px;background:white;border:1px solid #cfc2e4;border-radius:12px;padding:10px 16px;color:#6d4395;font-size:24px}.st-library-search input{font:inherit;font-size:14px;border:0;background:transparent;width:100%;min-width:0;outline:none;color:#302343}.st-library-search:focus-within{box-shadow:0 0 0 3px #e8ddf6}.st-library-filters{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.st-library-filters button{border:1px solid #dfd6e9;border-radius:20px;background:white;color:#665674;font-size:12px;padding:8px 12px;cursor:pointer}.st-library-filters button[aria-pressed=true]{background:#643795;color:white;border-color:#643795}.st-library-count{font-size:12px;color:#786b86;margin:8px 0 12px}.st-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:440px;overflow:auto;overscroll-behavior:contain;padding:3px 8px 6px 3px;scrollbar-color:#b9a3d4 #f1ebf8;scrollbar-width:thin}.st-library-item{min-width:0;background:#fff;border:1px solid #e3dcea;border-radius:13px;overflow:hidden}.st-library-item .st-structure-card{height:auto;min-height:195px;width:100%;border-radius:0;border:0;text-align:left;padding:18px;display:block}.st-library-item .st-structure-card.selected{background:#ede3fa;box-shadow:inset 3px 0 #7847ae}.st-library-item h3{font-size:16px;line-height:1.5;margin:6px 0}.st-library-item .st-structure-card p{font-size:12px;line-height:1.65}.st-library-en{display:block;font-size:10px;color:#88729e;overflow-wrap:anywhere}.st-library-item .st-structure-help{font-size:12px;padding:10px 16px;border-top:1px solid #eee7f5}.st-library-note{font-size:12px;line-height:1.8;color:#7a6e86;margin-bottom:26px}.st-selected-structure{padding:22px;background:#f5effb;border-left:4px solid #8250b2;border-radius:4px 16px 16px 4px;scroll-margin-top:80px}.st-selected-structure>small{color:#8757ad;font-size:11px;font-weight:700}.st-selected-structure h3{font-size:20px;margin:6px 0 10px}.st-selected-structure p{font-size:13px;line-height:1.8}.st-library-empty{grid-column:1/-1;color:#786a86;padding:25px}.st-rewrite-whole{align-items:start}.st-rewrite-whole>div{padding:22px!important;border-radius:14px}.st-rewrite-whole>div:first-child{background:#f6f5f8!important;border:1px solid #e5e1e9}.st-rewrite-whole>div:last-child{background:#f0e9fa!important;border:1px solid #d9c8ed}.st-rewrite-whole p{white-space:pre-wrap;font-size:14px!important;line-height:1.95!important}.st-rewrite-whole h4{font-size:13px;color:#71449b;margin:18px 0 5px}.st-rewrite-whole small{display:block;font-weight:700;margin-bottom:12px}.st-rewrite-preview{scroll-margin-top:75px}.st-rewrite-footnote{font-size:12px!important;color:#776a84}.st-rewrite-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.st-rewrite-actions button{min-height:42px}.st-library button:focus-visible{outline:3px solid #9b7ac2;outline-offset:2px}@media(max-width:650px){.st-library{padding:13px}.st-library-grid{grid-template-columns:1fr;max-height:380px}.st-library-filters{gap:6px}.st-library-filters button{font-size:11px;padding:7px 10px}.st-rewrite-whole{grid-template-columns:1fr!important}.st-rewrite-actions{flex-wrap:wrap}.st-selected-structure h3{font-size:18px}}

/* Start with three recommendations; expand the atlas and editor only when needed. */
#story-studio .st-recommend-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}#story-studio .st-recommend-head h2{font-size:23px;letter-spacing:-.6px;margin:7px 0}#story-studio .st-recommend-note{font-size:12px;color:#81718c;margin:0 0 18px;line-height:1.7}#story-studio .st-compare-trigger{background:#71439d;color:white;border-radius:10px;padding:10px 13px;font-size:12px;white-space:nowrap}#story-studio .st-top-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}#story-studio .st-top-pick{min-width:0;border:1px solid #e2d9eb;border-radius:14px;padding:16px;background:#fff;display:flex;flex-direction:column}#story-studio .st-first-pick{border-color:#bda3d4;background:#f4edfc}#story-studio .st-top-pick>small{font-size:10px;color:#8e6aa8;font-weight:700}#story-studio .st-top-pick h3{font-size:15px;color:#493257;margin:8px 0}#story-studio .st-top-pick p{font-size:12px;line-height:1.75;color:#70627a;margin:0 0 12px}#story-studio .st-top-pick button{margin-top:auto;text-align:left;font-size:11px;padding:6px 0;color:#79509b;background:transparent}#story-studio .st-top-pick button[aria-pressed=true]{font-weight:700;color:#5d2f87}
#story-studio .st-atlas-disclosure,#story-studio .st-editor-disclosure{border:1px solid #e5ddeb;border-radius:12px;background:white;margin:12px 0;overflow:clip}#story-studio .st-atlas-disclosure>summary,#story-studio .st-editor-disclosure>summary{cursor:pointer;padding:15px 18px;font-size:13px;color:#513d61}#story-studio .st-atlas-disclosure>summary small,#story-studio .st-editor-disclosure>summary small{margin-left:12px;color:#998aa3;font-size:10px}#story-studio .st-editor-disclosure[open]{padding:0 18px 18px}#story-studio .st-editor-disclosure[open]>summary{margin:0 -18px 10px;border-bottom:1px solid #eee8f3}#story-studio .st-selected-structure{padding:10px 14px;background:#faf7fd;border-left-width:2px;border-radius:8px;margin-bottom:12px}#story-studio .st-selected-structure>h3,#story-studio .st-selected-structure>small{display:none}#story-studio .st-selected-structure>p{margin:0;font-size:12px}#story-studio .st-selected-structure .st-structure-help{font-size:11px}#story-studio .st-beat-header{margin:16px 0 10px}#story-studio .st-beat-header h3{font-size:15px}#story-studio .st-beat{padding:12px 0}#story-studio .st-beat textarea{min-height:72px;font-size:12px!important;line-height:1.7}#story-studio .st-rewrite-toolbar{padding:12px;margin-bottom:12px}#story-studio .st-rewrite-toolbar p{font-size:11px;margin-bottom:8px}
#story-studio .st-library{border:0;border-radius:0;margin:0;padding:0 16px 16px;background:#fff}#story-studio .st-library-controls{display:flex;align-items:center;gap:8px}#story-studio .st-library-search{height:36px!important;min-height:0;padding:0 10px!important;gap:7px;font-size:17px;border-radius:8px;flex:1;max-width:360px;box-sizing:border-box}#story-studio .st-library-search input{font-size:12px!important;font-weight:400!important;line-height:20px!important;height:30px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;letter-spacing:0!important}#story-studio [data-library-select]{height:36px;max-width:180px;min-width:0;padding:0 8px;font-size:11px;color:#6e5b7d;border:1px solid #ded3e8;border-radius:8px;background:white}#story-studio .st-library-pagebar{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8f7f9a;margin:10px 0}#story-studio .st-library-pagebar button{background:#f6f0fa;border-radius:6px;padding:5px 10px;font-size:12px;color:#765190;margin-left:5px}#story-studio .st-library-pagebar button:disabled{opacity:.35}#story-studio .st-library-grid{max-height:none!important;overflow:visible!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0}#story-studio .st-library-item .st-structure-card{min-height:95px;height:auto;padding:11px!important}#story-studio .st-library-item .st-structure-card h3{font-size:13px!important;line-height:1.5;margin:5px 0}#story-studio .st-library-item .st-structure-card small{font-size:8px}#story-studio .st-library-item .st-structure-card p{font-size:10px!important;line-height:1.6!important;min-height:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#story-studio .st-library-item .st-structure-help{font-size:10px;padding:6px 10px}
#story-studio .st-structure-comparison{padding:18px;border:1px solid #dccde9;background:#fff;border-radius:16px;margin:14px 0;scroll-margin-top:20px}#story-studio .st-structure-comparison>header{display:flex;justify-content:space-between;align-items:center}#story-studio .st-structure-comparison>header small{font-size:10px;color:#927aa4}#story-studio .st-structure-comparison h3{font-size:18px;color:#4c345e;margin:5px 0 10px}#story-studio .st-structure-comparison>header button{font-size:22px;color:#a38aae;padding:4px 9px;background:transparent}#story-studio .st-compare-source{margin:0 0 14px;font-size:11px;color:#8f7c9e}#story-studio .st-compare-source summary{cursor:pointer}#story-studio .st-compare-source p{font-size:12px;line-height:1.9;background:#faf8fc;padding:14px;border-radius:10px}#story-studio .st-compare-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}#story-studio .st-compare-column{min-width:0;border:1px solid #e1d6ef;background:#faf7ff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}#story-studio .st-compare-harmon{background:#f7f9ff;border-color:#dce3f2}#story-studio .st-compare-johakyu{background:#f3faf7;border-color:#d7e9df}#story-studio .st-compare-column-head{padding:14px 14px 10px;border-bottom:1px solid #e8e0ef}#story-studio .st-compare-column h4{font-size:15px;color:#583c72;margin:0 0 4px}#story-studio .st-compare-harmon h4{color:#436085}#story-studio .st-compare-johakyu h4{color:#3b7160}#story-studio .st-compare-column small{font-size:10px;color:#93839e}#story-studio .st-compare-column ol{margin:0;padding:14px;list-style:none;flex:1}#story-studio .st-compare-column li+li{margin-top:12px}#story-studio .st-compare-column li b{font-size:10px;color:#837090}#story-studio .st-compare-column li p{font-size:12px;color:#4f455a;line-height:1.8;margin:4px 0 0;white-space:pre-wrap}#story-studio .st-compare-column>button{margin:0 12px 12px;background:#fff;border:1px solid #d9cce6;border-radius:7px;padding:8px;font-size:11px;color:#765493}#story-studio .st-structure-comparison>footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px;font-size:10px;color:#9a8ba4}#story-studio .st-structure-comparison>footer button{padding:5px 0;color:#795594;background:transparent;font-size:11px}#story-studio .st-rewrite-actions button:last-child{background:#75469e;color:white}
@media(max-width:1000px){#story-studio .st-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-top-pick{padding:12px}#story-studio .st-top-three{gap:8px}}@media(max-width:650px){#story-studio .st-recommend-head{align-items:flex-start;flex-direction:column}#story-studio .st-recommend-head h2{font-size:21px}#story-studio .st-top-three,#story-studio .st-compare-columns{grid-template-columns:1fr}#story-studio .st-top-pick p{margin-bottom:6px}#story-studio .st-library-controls{align-items:stretch;flex-direction:column}#story-studio .st-library-search{max-width:none;width:100%}#story-studio [data-library-select]{max-width:none}#story-studio .st-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-atlas-disclosure>summary small,#story-studio .st-editor-disclosure>summary small{display:none}#story-studio .st-structure-comparison{padding:12px}#story-studio .st-structure-comparison>footer{align-items:flex-start;flex-direction:column}}

/* Quiet structure chooser: library first, current structure second, optional guidance last. */
#story-studio .st-atlas-disclosure,#story-studio .st-editor-disclosure,#story-studio .st-recommend-disclosure{margin:0 0 10px;border:1px solid #e6e0ec;border-radius:10px;background:#fff;box-shadow:none;overflow:clip}#story-studio .st-atlas-disclosure>summary,#story-studio .st-editor-disclosure>summary,#story-studio .st-recommend-disclosure>summary{padding:17px 18px;cursor:pointer;font-size:14px;font-weight:500;color:#4f405d;line-height:1.5}#story-studio .st-atlas-disclosure>summary small,#story-studio .st-editor-disclosure>summary small,#story-studio .st-recommend-disclosure>summary small{margin-left:12px;font-size:10px;color:#a295ab;font-weight:400}#story-studio .st-editor-disclosure{border-color:#d8c7e7}#story-studio .st-editor-disclosure>summary{background:#faf7fd}#story-studio .st-editor-disclosure>summary small{color:#8e6ba8}#story-studio .st-recommend-disclosure>summary{font-size:12px;color:#87778f}#story-studio .st-recommend-content{padding:0 18px 16px}#story-studio .st-simple-note{font-size:11px;color:#9b8da5;line-height:1.7;margin:0 0 8px}#story-studio .st-simple-recommend{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #f0ebf4}#story-studio .st-simple-recommend h3{font-size:13px;font-weight:600;color:#594466;margin:0 0 5px}#story-studio .st-simple-recommend p{font-size:11px;color:#8b7b95;line-height:1.7;margin:0;max-width:620px}#story-studio .st-simple-recommend button{flex-shrink:0;border:1px solid #e5dced;border-radius:7px;background:white;padding:6px 11px;font-size:11px;color:#9175a5}#story-studio .st-simple-recommend button[aria-pressed=true]{background:#f2eaf9;border-color:#dac8ea;color:#70428f}#story-studio .st-simple-compare{font-size:11px;color:#795092;background:transparent;padding:14px 0 0}#story-studio .st-library-item .st-structure-card{min-height:78px;padding:10px!important}#story-studio .st-library-item .st-structure-card h3{font-size:12px!important}#story-studio .st-library-item .st-structure-card p{-webkit-line-clamp:1}#story-studio .st-library-item{border-radius:8px}#story-studio .st-library-item .st-structure-help{padding:5px 10px}#story-studio .st-library-pagebar{margin:8px 0}#story-studio .st-library-controls{padding-top:2px}@media(max-width:650px){#story-studio .st-atlas-disclosure>summary,#story-studio .st-editor-disclosure>summary,#story-studio .st-recommend-disclosure>summary{padding:15px;font-size:13px}#story-studio .st-recommend-disclosure>summary small{display:none}#story-studio .st-simple-recommend{gap:10px}#story-studio .st-recommend-content{padding:0 14px 14px}}

/* Four movements stay visible; one focused editor opens from each small card. */
#story-studio .st-four-hint{font-size:11px;color:#a08eaa;margin:4px 0 12px}#story-studio .st-four-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#story-studio .st-four-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;min-height:170px;border:1px solid #e2d7ec;border-radius:11px;background:#fdfbff;padding:14px;cursor:pointer;color:#5c4270;transition:border-color .15s,background .15s}#story-studio .st-four-card:hover{border-color:#b89bce;background:#f6f0fc}#story-studio .st-four-card:focus-visible{outline:2px solid #9e75bc;outline-offset:3px}#story-studio .st-four-card-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}#story-studio .st-four-card-heading b{font-size:23px;font-weight:500;line-height:1.2;color:#70488e}#story-studio .st-four-card-heading small{font-size:10px;color:#9a83ab}#story-studio .st-four-card-text{font-size:12px;line-height:1.8;color:#776484;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}#story-studio .st-four-card .st-empty-beat{color:#b2a2be}#story-studio .st-four-card-foot{display:flex;justify-content:space-between;margin-top:auto;padding-top:16px;color:#a78ab9;font-size:10px}#story-studio .st-four-card-2{background:#f7f0fc;border-color:#d5bee5}#story-studio .st-four-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:14px 0 4px}#story-studio .st-four-actions button{font-size:11px;color:#8d6ba3;padding:6px 0;background:transparent}#story-studio .st-four-actions button:disabled{opacity:.45;cursor:default}#story-studio .st-four-actions .st-four-draft{margin-left:auto;color:#6e428c}#story-studio .st-four-help{font-size:10px;color:#a08baa;margin-top:8px}#story-studio .st-four-help summary{cursor:pointer}#story-studio .st-four-help p,#story-studio .st-four-help li{font-size:11px;line-height:1.9;color:#8a7697}#story-studio .st-four-help ol{padding-left:18px}#story-studio .st-beat-dialog{width:min(560px,100%);max-height:calc(100dvh - 60px);overflow:auto}#story-studio .st-beat-dialog h2{margin:0 0 6px}#story-studio .st-beat-dialog>p{margin:0 0 20px;font-size:12px}#story-studio .st-beat-dialog textarea{display:block;width:100%;min-height:190px;max-height:45dvh;resize:vertical;border:1px solid #d9c9e5;border-radius:10px;padding:14px;background:white;color:#5b436d;font:inherit;font-size:14px;line-height:1.9;box-sizing:border-box}#story-studio .st-beat-dialog textarea:focus{outline:2px solid #aa86c6;outline-offset:2px}#story-studio .st-beat-dialog-meta{display:flex;gap:12px;justify-content:space-between;margin-top:8px;font-size:10px;color:#a793b4}#story-studio .st-beat-dialog-meta [role=alert]{color:#ae597b}#story-studio .st-beat-dialog .st-dialog-actions{margin-top:18px}@media(max-width:650px){#story-studio .st-four-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#story-studio .st-four-card{min-height:154px;padding:12px}#story-studio .st-four-card-text{font-size:11px;-webkit-line-clamp:3}#story-studio .st-beat-dialog{padding:22px}}

/* Shared stage cards, with clear section-level color cues. */
#story-studio .st-compact-beats-johakyu{grid-template-columns:repeat(3,minmax(0,1fr))}#story-studio .st-compact-beats-harmon{grid-template-columns:repeat(4,minmax(0,1fr))}#story-studio .st-compact-beats-harmon .st-four-card{min-height:154px}#story-studio .st-compact-beats-harmon .st-four-card-heading{align-items:center;min-height:30px;gap:9px}#story-studio .st-compact-beats-harmon .st-four-card-heading b{font-size:18px;color:#ab91bf;font-variant-numeric:tabular-nums}#story-studio .st-compact-beats-harmon .st-four-card-heading small{font-size:12px;font-weight:500;line-height:1.5;color:#795890}#story-studio .st-compact-beats-harmon .st-four-card-text{-webkit-line-clamp:3}#story-studio .st-compact-beats-harmon .st-four-card-2,#story-studio .st-compact-beats-johakyu .st-four-card-2{background:#fdfbff;border-color:#e2d7ec}
#story-studio .st-atlas-disclosure{border-color:#cfdfef;border-left:3px solid #8baed3;background:#f8fbff}#story-studio .st-atlas-disclosure>summary{background:#edf4fc;color:#436887}#story-studio .st-atlas-disclosure>summary small{color:#8ca3b8}#story-studio .st-atlas-disclosure .st-library{background:#f8fbff}#story-studio .st-editor-disclosure{border-color:#ddcaec;border-left:3px solid #b48ad1;background:#fefcff}#story-studio .st-editor-disclosure>summary{background:#f2eafa;color:#74508e}#story-studio .st-editor-disclosure>summary small{color:#a086b4}#story-studio .st-recommend-disclosure{border-color:#cbe5da;border-left:3px solid #87bca6;background:#f7fcf9}#story-studio .st-recommend-disclosure>summary{background:#ebf6ef;color:#497b65}#story-studio .st-recommend-disclosure>summary small{color:#8da99a}#story-studio .st-recommend-content{background:#f7fcf9}#story-studio .st-atlas-disclosure>summary::marker{color:#779ec5}#story-studio .st-editor-disclosure>summary::marker{color:#a17ac0}#story-studio .st-recommend-disclosure>summary::marker{color:#78aa92}
@media(max-width:650px){#story-studio .st-compact-beats-harmon{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-compact-beats-johakyu{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#story-studio .st-compact-beats-johakyu .st-four-card{padding:10px;min-height:150px}#story-studio .st-compact-beats-johakyu .st-four-card-heading{flex-direction:column;gap:5px}#story-studio .st-compact-beats-johakyu .st-four-card-text{-webkit-line-clamp:3;font-size:10px}}

/* Every narrative framework shares the same compact, editable stage cards. */
#story-studio .st-all-beats .st-four-card{min-height:154px}
#story-studio .st-all-beats:not(.st-compact-beats-four):not(.st-compact-beats-johakyu) .st-four-card-heading{align-items:center;min-height:30px;gap:9px}
#story-studio .st-all-beats:not(.st-compact-beats-four):not(.st-compact-beats-johakyu) .st-four-card-heading b{font-size:18px;color:#9674af;font-variant-numeric:tabular-nums}
#story-studio .st-all-beats:not(.st-compact-beats-four):not(.st-compact-beats-johakyu) .st-four-card-heading small{font-size:12px;font-weight:500;line-height:1.5;color:#795890}
#story-studio .st-all-beats:not(.st-compact-beats-four) .st-four-card-2{background:#fdfbff;border-color:#e2d7ec}
#story-studio .st-beat-count-1{grid-template-columns:1fr}#story-studio .st-beat-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-beat-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
#story-studio .st-switch-dialog{width:min(1020px,100%);max-height:calc(100dvh - 70px);padding:24px;overflow:auto;box-sizing:border-box}
#story-studio .st-switch-dialog h2{font-size:23px;margin:7px 0 10px;color:#56356e}#story-studio .st-switch-dialog header>p,#story-studio .st-switch-note{font-size:12px;line-height:1.8;color:#897694}
#story-studio .st-switch-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin:16px 0}
#story-studio .st-switch-columns>section{min-width:0;border:1px solid #e2dce9;border-radius:12px;background:#f8f7fa;padding:18px}#story-studio .st-switch-columns>section+section{background:#f6effd;border-color:#d9c3ea}
#story-studio .st-switch-columns h3{font-size:14px;margin:0 0 18px;color:#6e4b87}#story-studio .st-switch-columns h4{font-size:12px;color:#86639e;margin:18px 0 5px}#story-studio .st-switch-columns p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#514559;margin:5px 0}#story-studio .st-switch-columns small{display:block;font-size:11px;line-height:1.7;color:#a08aac;margin-top:8px}
#story-studio .st-switch-warning{font-size:12px;color:#926735;background:#fff6e9;padding:12px;border-radius:8px}#story-studio [data-switch-error]{font-size:12px;color:#b24b64}#story-studio .st-switch-dialog footer{margin-top:18px}#story-studio [data-switch-apply]:disabled{opacity:.4}
@media(max-width:650px){#story-studio .st-switch-dialog{padding:18px;max-height:calc(100dvh - 40px)}#story-studio .st-switch-columns{grid-template-columns:1fr}#story-studio .st-switch-dialog h2{font-size:19px}#story-studio .st-all-beats.st-beat-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
#story-studio .st-switch-dialog [data-switch-cancel]{background:#f0eaf5;color:#705581}#story-studio .st-switch-dialog [data-switch-apply]{background:#78509c;color:#fff}#story-studio .st-switch-dialog button:focus-visible{outline:2px solid #9b70bc;outline-offset:3px}

/* One search focus ring, plus local editable review and saved drafts. */
#story-studio .st-library-search input:focus,#story-studio .st-library-search input:focus-visible{outline:none!important;outline-offset:0!important;box-shadow:none!important;border:0!important}
#story-studio .st-library-search{transition:border-color .15s,box-shadow .15s}#story-studio .st-library-search:focus-within{border-color:#9a79b8;box-shadow:0 0 0 2px #e9dff3}
#story-studio .st-library-item .st-open-saved{display:block;width:100%;text-align:left;padding:7px 10px;font-size:10px;background:#eff7f2;color:#47785c;border-top:1px solid #ddece2}
#story-studio .st-library-item h3>span{font-size:12px;margin-right:3px}
#story-studio .st-switch-columns textarea{display:block;width:100%;min-height:115px;resize:vertical;padding:12px;border:1px solid #d6c2e7;border-radius:9px;background:#fff;color:#514559;font:inherit;font-size:13px;line-height:1.85;box-sizing:border-box}
#story-studio .st-switch-columns textarea:focus{outline:2px solid #b295c7;outline-offset:2px}
#story-studio .st-switch-columns article>label{margin:18px 0 7px;font-size:12px;font-weight:600;color:#805b9a}
#story-studio .st-switch-edit-meta{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;margin-top:7px}
#story-studio .st-switch-edit-meta small{margin:0}#story-studio .st-switch-edit-meta>span{font-size:10px;white-space:nowrap;color:#a08aac}
#story-studio .st-switch-dialog .st-preview-edit-hint{font-size:11px;color:#9273a6;margin-top:-10px}
#story-studio .st-switch-dialog footer{flex-wrap:wrap}#story-studio .st-switch-dialog .st-switch-open-saved{margin-right:auto;background:#eaf4ee;color:#47785c}
@media(max-width:650px){#story-studio .st-switch-dialog .st-switch-open-saved{width:100%;margin:0}#story-studio .st-switch-edit-meta{flex-wrap:wrap}}

/* Ink, electric violet, and warm citrus distinguish hierarchy from content. */
#story-studio{--st-ink:#251d35;--st-muted:#716779;--st-purple:#7035ed;--st-line:#e2dce9;background:#f4f3f7;color:var(--st-ink)}
#story-studio .st-canvas{background:#f4f3f7}#story-studio .st-project-head{background:#f4f3f7}#story-studio .st-project-title{color:#291a40}
#story-studio .st-tabs{background:#f4f3f7;border-color:#dcd5e6}#story-studio .st-tabs button.active{color:#6225d1;border-bottom-color:#7035ed}#story-studio .st-tabs button.active small{background:#7035ed;color:#fff}
#story-studio .st-saved-structures{margin:0 0 20px;border-radius:16px;padding:20px;background:#2b1b40;color:#fff;border:1px solid #39244e}
#story-studio .st-saved-structures>header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:16px}#story-studio .st-saved-eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#d6fd70}#story-studio .st-saved-structures h2{font-size:18px;font-weight:600;margin:4px 0 0;letter-spacing:-.4px;color:#fff}#story-studio .st-saved-structures h2>span{font-size:11px;color:#d6fd70;margin-left:7px}#story-studio .st-saved-structures header p{margin:0;font-size:11px;color:#c4b5d4;line-height:1.7}
#story-studio .st-saved-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#story-studio .st-saved-card{display:flex;flex-direction:column;gap:7px;min-width:0;text-align:left;border:1px solid #574266;border-radius:11px;padding:12px;background:#3a284e;color:#fff;transition:background .15s,border-color .15s,transform .15s}#story-studio .st-saved-card:hover{background:#493060;border-color:#b692fa;transform:translateY(-2px)}#story-studio .st-saved-card[aria-current=true]{background:#7538eb;border-color:#a77bf5}
#story-studio .st-saved-card-top,#story-studio .st-saved-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}#story-studio .st-saved-card-top>span{font-size:15px}#story-studio .st-saved-card small{font-size:9px;color:#d0c1df}#story-studio .st-saved-card[aria-current=true] small{color:#f0e7ff}#story-studio .st-saved-card strong{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}#story-studio .st-saved-excerpt{font-size:10px;line-height:1.65;color:#d0c1df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#story-studio .st-saved-card[aria-current=true] .st-saved-excerpt{color:#f0e7ff}#story-studio .st-saved-card-bottom{margin-top:auto}#story-studio .st-saved-card-bottom>span{font-size:15px;color:#dcff8a}#story-studio .st-saved-empty{font-size:12px;color:#cec0da;margin:4px 0;padding:13px;border:1px dashed #6c557e;border-radius:9px}
#story-studio .st-atlas-disclosure,#story-studio .st-editor-disclosure,#story-studio .st-recommend-disclosure{border:1px solid #d9d3e2;border-radius:12px;background:#fff;box-shadow:0 2px 5px #24113405}
#story-studio .st-atlas-disclosure>summary{background:#26344a;color:#fff}#story-studio .st-atlas-disclosure>summary small{color:#c2cfdf}#story-studio .st-atlas-disclosure>summary::marker{color:#9db8ff}#story-studio .st-atlas-disclosure .st-library{background:#fff;padding-top:14px}
#story-studio .st-editor-disclosure{border-color:#c9b3e9}#story-studio .st-editor-disclosure>summary{background:#7035cf;color:#fff}#story-studio .st-editor-disclosure>summary small{color:#e9dafa}#story-studio .st-editor-disclosure>summary::marker{color:#e6d6ff}
#story-studio .st-recommend-disclosure>summary{background:#0d625f;color:#fff}#story-studio .st-recommend-disclosure>summary small{color:#c2e8df}#story-studio .st-recommend-disclosure>summary::marker{color:#aff0db}#story-studio .st-recommend-content{background:#fff;padding-top:14px}
#story-studio .st-four-hint{color:#786786}#story-studio .st-all-beats .st-four-card{background:#fff;border:1px solid #ded5e8;box-shadow:0 3px 9px #321d4c06}#story-studio .st-all-beats .st-four-card:hover{border-color:#9b67e3;background:#faf7ff}#story-studio .st-all-beats .st-four-card-text{color:#584961}#story-studio .st-all-beats .st-empty-beat{color:#93839e}#story-studio .st-all-beats .st-four-card-foot{color:#7a5b94}
#story-studio .st-all-beats .st-four-card-heading b{color:#7134c1}#story-studio .st-all-beats:not(.st-compact-beats-four):not(.st-compact-beats-johakyu) .st-four-card-heading b{color:#8855b8}#story-studio .st-all-beats .st-four-card-heading small{color:#6e517e}
#story-studio .st-compact-beats-four .st-four-card-2{background:#fffbf2;border-color:#e9c98d}#story-studio .st-compact-beats-four .st-four-card-2 .st-four-card-heading b{color:#a56514}
#story-studio .st-four-actions .st-four-rewrite{background:#7035cf;color:#fff;border-radius:7px;padding:8px 12px}#story-studio .st-four-actions .st-four-draft{color:#582499;font-weight:600}#story-studio .st-four-help{color:#705a80}
#story-studio .st-library-item .st-structure-card.selected{background:#f3eafa;box-shadow:inset 3px 0 #7b35da}#story-studio .st-library-item .st-structure-card h3{color:#312440}#story-studio .st-library-item .st-structure-card p{color:#716378}
#story-studio .st-switch-dialog [data-switch-apply],#story-studio .st-beat-dialog button[type=submit]{background:#7035cf;color:#fff}#story-studio .st-switch-columns>section+section{border-top:3px solid #7035cf;background:#faf7ff}#story-studio .st-switch-dialog h2{color:#352044}
#story-studio .st-timeline-panel{border-color:#b9a0d6}#story-studio .st-timeline-panel .st-canvas-title h2{color:#55228e}#story-studio .st-group-0 .st-column-title{border-bottom:2px solid #16897e}#story-studio .st-group-0 .st-column-title h3{color:#08665e}#story-studio .st-group-1 .st-column-title{border-bottom:2px solid #df8754}#story-studio .st-group-1 .st-column-title h3{color:#9f4a22}
@media(max-width:900px){#story-studio .st-saved-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){#story-studio .st-saved-structures{padding:15px}#story-studio .st-saved-structures>header{align-items:flex-start;flex-direction:column;gap:6px}#story-studio .st-saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-saved-structures h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){#story-studio .st-saved-card{transition:none;transform:none}}
#story-studio .st-structure-hub{background:#fff;border:1px solid #d8cce5;border-radius:16px;overflow:clip;margin:0 0 16px;box-shadow:0 5px 20px #2b174508}
#story-studio .st-hub-feature{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:linear-gradient(110deg,#2c1b40,#4e2475);padding:20px 22px;color:#fff}
#story-studio .st-hub-feature-text{min-width:0}#story-studio .st-hub-feature-text>small{font-size:9px;letter-spacing:1.8px;color:#d9fb8a;font-weight:600}#story-studio .st-hub-feature h2{font-size:22px;letter-spacing:-.5px;line-height:1.5;margin:6px 0;color:#fff}#story-studio .st-hub-feature p{font-size:12px;color:#e1d5eb;margin:6px 0 9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:800px}#story-studio .st-hub-feature-text>span{font-size:10px;color:#c1afd2}
#story-studio .st-draft-menu{background:transparent;color:#846996;border-radius:7px;min-width:30px;min-height:30px;font-size:20px;flex-shrink:0}#story-studio .st-hub-feature>.st-draft-menu{color:#f6eeff;background:#ffffff16}#story-studio .st-draft-menu:hover{background:#a982d32a}
#story-studio .st-hub-shelf{padding:14px 18px 16px}#story-studio .st-hub-shelf-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}#story-studio .st-hub-shelf-title b{font-size:11px;font-weight:500;color:#6b547d}#story-studio .st-hub-shelf-title b span{color:#9c79b6;margin-left:3px}#story-studio .st-hub-shelf-title>small{font-size:9px;color:#93839f}
#story-studio .st-hub-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#story-studio .st-hub-mini{display:flex;align-items:center;border:1px solid #e4dceb;background:#faf8fc;border-radius:8px;padding:5px 5px 5px 9px;min-width:0}#story-studio .st-hub-mini:hover{border-color:#b78bd8;background:#f4eefd}#story-studio .st-hub-mini>button:first-child{display:flex;align-items:center;gap:7px;flex:1;min-width:0;padding:5px 0;background:transparent;text-align:left;color:#564064}#story-studio .st-hub-mini strong{font-size:11px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}#story-studio .st-hub-mini small{font-size:9px;color:#937da3;white-space:nowrap}#story-studio .st-hub-mini .st-draft-menu{font-size:18px;min-width:25px}
#story-studio .st-hub-empty{font-size:11px;color:#9a87a5;margin:0}
#story-studio .st-structure-hub .st-atlas-disclosure{border:0;border-radius:0;box-shadow:none;margin:0;border-top:1px solid #e8e1ef}#story-studio .st-structure-hub .st-atlas-disclosure>summary{background:#f4f1f8;color:#694483;font-size:12px;padding:13px 18px}#story-studio .st-structure-hub .st-atlas-disclosure>summary small{color:#927d9f}#story-studio .st-structure-hub .st-atlas-disclosure>summary::marker{color:#9764b8}
#story-studio .st-structure-recovery{padding:10px 18px;background:#fff7e9;border-top:1px solid #f0dec2;font-size:11px;color:#855a27;display:flex;gap:10px;align-items:center;flex-wrap:wrap}#story-studio .st-structure-recovery>span{flex:1}#story-studio .st-structure-recovery button{background:#fff;border:1px solid #e6cea7;border-radius:6px;padding:5px 9px;color:#825623;font-size:11px}#story-studio .st-structure-recovery details{width:100%;font-size:10px}#story-studio .st-structure-recovery summary{cursor:pointer}#story-studio .st-structure-recovery details>div{display:flex;justify-content:space-between;align-items:center;padding-top:8px;gap:8px}
@media(max-width:650px){#story-studio .st-hub-feature{padding:17px}#story-studio .st-hub-feature h2{font-size:18px}#story-studio .st-hub-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#story-studio .st-hub-shelf{padding:12px}#story-studio .st-hub-shelf-title>small{display:none}#story-studio .st-hub-mini small{display:none}#story-studio .st-hub-feature p{max-width:240px}}

#story-studio .st-context-menu.st-draft-context-menu{display:block}

/* Two progressive disclosures keep the catalogue out of the writing canvas. */
#story-studio .st-hub-feature-text h2{font-size:11px;letter-spacing:.2px;font-weight:500;color:#d6c2e8;margin:0 0 8px}#story-studio .st-current-structure{display:block;font-size:23px;line-height:1.4;letter-spacing:-.5px;font-weight:600;color:#fff}
#story-studio .st-hub-options>summary{cursor:pointer;padding:12px 18px;background:#f8f5fc;color:#674082;font-size:12px;border-top:1px solid #e7deee}#story-studio .st-hub-options>summary small{font-size:10px;color:#92809e;margin-left:12px}#story-studio .st-hub-options>summary::marker{color:#8b57b4}#story-studio .st-hub-suggestion{background:#fff;border-style:dashed}#story-studio .st-hub-suggestion small{color:#8957b2}
#story-studio .st-flow-graph{margin:8px 0 15px;padding:14px 16px 9px;border:1px solid #e8def0;border-radius:11px;background:linear-gradient(180deg,#fcfaff,#fff)}#story-studio .st-flow-graph figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px}#story-studio .st-flow-graph figcaption b{font-size:12px;font-weight:600;color:#65407d}#story-studio .st-flow-graph figcaption>span{font-size:10px;color:#9783a5}#story-studio .st-flow-plot{position:relative;height:150px;margin:10px 0 0}#story-studio .st-flow-plot svg{display:block;width:100%;height:100%;overflow:visible}#story-studio .st-flow-grid{stroke:#ebe3f2;stroke-dasharray:4 5;stroke-width:1;fill:none}#story-studio .st-flow-area{fill:#7e3edc0c}#story-studio .st-flow-line{fill:none;stroke:#8749d5;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
#story-studio .st-flow-point{position:absolute;transform:translate(-50%,-50%);border-radius:50%;width:28px;height:28px;padding:0;background:#fff;border:2px solid #8749d5;color:#6b35a9;box-shadow:0 2px 6px #66328b15;font-size:11px;line-height:24px;font-weight:600;display:grid;place-items:center}#story-studio .st-flow-point:hover{background:#7835cb;color:#fff;border-color:#7835cb}#story-studio .st-flow-point:focus-visible{outline:3px solid #c3a3e8;outline-offset:3px}#story-studio .st-flow-direction{position:absolute;bottom:0;right:5%;font-size:9px;color:#a08bad}#story-studio .st-flow-graph>p{font-size:10px;color:#97849f;margin:7px 0 0;line-height:1.6}
@media(max-width:650px){#story-studio .st-current-structure{font-size:20px}#story-studio .st-flow-graph{padding:12px 8px 9px}#story-studio .st-flow-point{width:21px;height:21px;font-size:9px;line-height:17px}#story-studio .st-flow-graph figcaption>span{font-size:8px}#story-studio .st-flow-graph>p{font-size:9px}#story-studio .st-hub-options>summary small{font-size:9px;margin-left:8px}}
#story-studio .st-flow-point{touch-action:none;cursor:ns-resize;user-select:none}#story-studio .st-flow-point.is-dragging{background:#7035cf;color:#fff;border-color:#7035cf;box-shadow:0 0 0 7px #8749d51c}#story-studio .st-flow-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:9px}#story-studio .st-flow-tools>span{font-size:10px;color:#8e769f}#story-studio .st-flow-tools>div{display:flex;gap:7px}#story-studio .st-flow-tools button{font-size:10px;padding:6px 9px;background:#f2ebf9;border:1px solid #e3d4ee;border-radius:6px;color:#704888}#story-studio .st-flow-tools button:disabled{opacity:.4;cursor:default}#story-studio .st-flow-tools kbd{font-size:9px;font-family:inherit;color:#967ca7;margin-left:4px}
#story-studio.st-original-mode .st-chat{display:none}#story-studio.st-original-mode .st-workspace{display:block}#story-studio.st-original-mode .st-canvas{width:100%;max-width:1100px;margin:0 auto}#story-studio .st-original-story{max-width:850px;margin:0 auto}#story-studio .st-original-story header>span{font-size:10px;letter-spacing:1.5px;color:#a17bb8}#story-studio .st-original-story h2{font-size:28px;font-weight:500;color:#412751;margin:8px 0 10px}#story-studio .st-original-story header>p{font-size:13px;color:#8c7898;margin:0 0 24px}#story-studio .st-original-story article{border:1px solid #e1d7e9;border-radius:14px;padding:26px;background:#fff;box-shadow:0 3px 12px #2d164807}#story-studio .st-original-story article>small{font-size:10px;color:#9b7eac}#story-studio .st-original-story article>p{font-size:15px;line-height:2.05;color:#54425f;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0 0}#story-studio .st-original-story details{margin-top:16px;color:#896d9b;font-size:12px}#story-studio .st-original-story details>summary{cursor:pointer;margin-bottom:12px}#story-studio .st-original-story details article+article{margin-top:12px}
@media(max-width:650px){#story-studio .st-tabs{gap:0;padding-left:12px;padding-right:12px}#story-studio .st-tabs button{padding-left:7px;padding-right:7px;font-size:11px;gap:3px}#story-studio .st-tabs button small{font-size:8px}#story-studio .st-original-story article{padding:19px}#story-studio .st-original-story article>p{font-size:14px}#story-studio .st-flow-tools kbd{display:none}}

/* Linked story beats and transparent AI costs */
#story-studio .st-flow-point.is-selected-step{background:#6b2cc9;color:white;border-color:#5521a6;box-shadow:0 0 0 5px #a775ec30}
#story-studio .st-four-card.is-selected-step{border:2px solid #783ed0;background:#f8f3ff;box-shadow:0 4px 18px #6539a21c}
#story-studio .st-flow-point:hover,#story-studio .st-flow-point:focus-visible{z-index:8}
#story-studio .st-flow-tooltip{display:none;position:absolute;bottom:calc(100% + 11px);left:50%;transform:translateX(-50%);width:230px;max-width:60vw;text-align:left;padding:12px 14px;border-radius:10px;background:#292037;color:#fff;box-shadow:0 8px 24px #281c3c30;pointer-events:none;font-weight:400;line-height:1.7;font-size:11px;white-space:normal}
#story-studio .st-flow-tooltip.is-first{left:-10px;transform:none}#story-studio .st-flow-tooltip.is-last{left:auto;right:-10px;transform:none}
#story-studio .st-flow-tooltip b{display:block;color:#d7bcff;font-size:11px;margin-bottom:5px}#story-studio .st-flow-tooltip>span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
#story-studio .st-flow-point:hover .st-flow-tooltip,#story-studio .st-flow-point:focus-visible .st-flow-tooltip{display:block}#story-studio .st-flow-point.is-dragging .st-flow-tooltip{display:none}
#story-studio [data-selected-step]{color:#7135ba;font-weight:600;margin-left:12px}#story-studio .st-edit-step-badge{color:#753dc1;font-size:11px}
#story-studio .st-original-story article>label{display:block;font-size:12px;font-weight:600;color:#78658e;margin-bottom:12px}
#story-studio #st-original-input{width:100%;min-height:260px;resize:vertical;border:1px solid #ded5e8;border-radius:12px;padding:17px;background:#fff;color:#352b42;font:inherit;font-size:14px;line-height:2;box-sizing:border-box}#story-studio #st-original-input:focus{outline:2px solid #b494e8;outline-offset:2px}
#story-studio [data-original-state]{display:block;margin-top:9px;color:#8a7898;font-size:11px}
#story-studio .st-original-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px}#story-studio .st-original-actions>button:first-child{border:0;background:transparent;font-size:12px;color:#897693}#story-studio .st-original-actions .st-next{margin:0}
#story-studio .st-original-note,#story-studio .st-ai-cost-note{font-size:11px;line-height:1.7;color:#887794;margin:12px 0}
#story-studio .st-credit-strip{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid #ede7f3;padding:0 0 12px;margin-bottom:20px;font-size:11px;color:#72528f}#story-studio .st-credit-strip>span{font-weight:600}#story-studio .st-credit-strip small{font-size:10px;color:#91809c}#story-studio .st-credit-strip small span{margin-left:12px;color:#a090aa}
#story-studio .st-refresh-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 20px}#story-studio .st-refresh-control button{padding:10px 14px;border:1px solid #d7c4ed;border-radius:9px;color:#6b35a1;background:#f5effc;font-size:12px;font-weight:600}#story-studio .st-refresh-control button:disabled{opacity:.5}#story-studio .st-refresh-control small{font-size:10px;color:#9986a5}#story-studio .st-board-stale{background:#fff6e5;border-radius:8px;padding:10px 13px;color:#956025;font-size:12px}
@media(max-width:650px){#story-studio .st-original-actions{flex-wrap:wrap}#story-studio .st-credit-strip{gap:6px}#story-studio .st-flow-tooltip{width:180px}#story-studio .st-original-actions .st-next{font-size:12px}}

#story-studio .st-flow-tooltip.is-below{top:calc(100% + 11px);bottom:auto}
#story-studio .st-breadcrumbs{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;color:#96849f;margin-bottom:13px}#story-studio .st-breadcrumbs a,#story-studio .st-breadcrumbs button{font:inherit;color:#73578d;text-decoration:none;padding:0;background:none;border:0}#story-studio .st-breadcrumbs a:hover,#story-studio .st-breadcrumbs button:hover{color:#732cce;text-decoration:underline}#story-studio .st-breadcrumbs [aria-current]{font-weight:600;color:#463054}#story-studio .st-blank>.st-breadcrumbs{position:absolute;top:24px;left:30px}#story-studio .st-blank{position:relative}
#story-studio .st-initial-original{font-size:11px;color:#887494;margin:16px 0}#story-studio .st-initial-original p{white-space:pre-wrap;line-height:1.9;padding:16px;background:#f8f5fc;border-radius:9px}
#story-studio .st-board-review>header{background:linear-gradient(125deg,#292039,#4f2779);color:white;padding:24px;border-radius:14px;margin-bottom:18px}#story-studio .st-board-review h2{font-size:23px;letter-spacing:-.6px;margin:10px 0}#story-studio .st-board-review header p{font-size:12px;line-height:1.8;color:#ddcdeb}#story-studio .st-board-review header .st-overline{color:#c7a6ea;font-size:10px}
#story-studio .st-review-stats{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;margin-top:15px}#story-studio .st-review-stats>*{padding:6px 9px;background:#ffffff15;border-radius:6px}#story-studio .st-review-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:14px}#story-studio .st-review-toolbar button{font-size:11px;border:1px solid #ded1ed;background:white;border-radius:7px;padding:7px 12px;color:#77528d}#story-studio .st-review-toolbar>span{margin-left:auto;color:#7842b2;font-size:12px;font-weight:600}
#story-studio .st-review-group{border:1px solid #e3d9ed;border-radius:12px;background:#fff;margin-bottom:14px;overflow:hidden}#story-studio .st-review-group>summary{padding:13px 16px;background:#f4effb;color:#61447b;font-size:13px;cursor:pointer}#story-studio .st-review-group summary small{font-size:10px;margin-left:8px;color:#9782a5}
#story-studio .st-review-row{padding:14px 16px;border-top:1px solid #eee8f4}#story-studio .st-review-row.is-checked{background:#faf6ff;box-shadow:inset 3px 0 #8e4bd7}#story-studio .st-review-row>label{display:flex;align-items:center;gap:8px;font-size:11px;cursor:pointer;margin-bottom:12px}#story-studio .st-review-row input{accent-color:#7b37c9;width:16px;height:16px}#story-studio .st-review-row label small{margin-left:auto;color:#a07639;font-size:10px}#story-studio .st-review-row label b{font-size:10px;border-radius:5px;padding:3px 6px}#story-studio .st-change-update{background:#eee3ff;color:#7641b8}#story-studio .st-change-add{background:#dcf5ee;color:#237c64}#story-studio .st-change-remove{background:#ffe8e8;color:#b05a5a}
#story-studio .st-review-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}#story-studio .st-review-columns section{padding:13px;border:1px solid #eee8f4;border-radius:8px;background:#fff}#story-studio .st-review-columns small{display:block;font-size:10px;color:#9a879f;margin-bottom:7px}#story-studio .st-review-columns p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#483751}#story-studio .st-review-columns mark{background:#e9dcff;color:#633397;border-radius:2px}#story-studio .st-review-columns section:first-child mark{background:#ffebeb;color:#9e5a5a}#story-studio .st-diff-empty{color:#b5a5bc;font-size:11px}
#story-studio .st-board-review>footer{position:static;padding:16px;background:#f4effb;border-radius:10px}#story-studio .st-board-review footer p,#story-studio .st-review-empty{font-size:11px;line-height:1.8;color:#8a7498}#story-studio .st-board-review footer>div{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}#story-studio .st-board-review footer button{padding:10px 14px;border:1px solid #d9c8ec;background:#fff;color:#76518d;border-radius:8px;font-size:12px}#story-studio .st-board-review footer [data-review-act=apply]{background:#7939c7;border-color:#7939c7;color:#fff}#story-studio .st-board-review button:disabled{opacity:.45;cursor:default}
@media(max-width:650px){#story-studio .st-board-review>header{padding:17px}#story-studio .st-board-review h2{font-size:18px}#story-studio .st-review-row{padding:12px 9px}#story-studio .st-review-columns{gap:7px}#story-studio .st-review-columns section{padding:9px}#story-studio .st-review-columns p{font-size:11px}#story-studio .st-review-row label small{display:none}}
#story-studio .st-review-view{display:inline-flex;gap:4px;padding:4px;background:#eee7f6;border-radius:10px;margin:0 0 15px}#story-studio .st-review-view button{border:0;border-radius:7px;background:transparent;color:#8c749e;padding:9px 13px;font-size:12px}#story-studio .st-review-view button[aria-pressed=true]{background:#fff;color:#7031b5;box-shadow:0 2px 7px #44216415;font-weight:600}
#story-studio .st-review-input-label{display:block;font-size:10px;color:#8758ac;margin-bottom:7px}#story-studio .st-review-columns textarea{width:100%;box-sizing:border-box;border:1px solid #dcc8ee;background:#fdfaff;border-radius:7px;resize:vertical;font-family:inherit;font-size:12px;line-height:1.9;color:#493354;padding:10px;min-height:95px}#story-studio .st-review-columns textarea:focus{outline:2px solid #b18ad9;outline-offset:1px}#story-studio .st-review-edit-meta{display:flex;justify-content:space-between;gap:8px;margin:6px 0 10px;font-size:9px;color:#a28daf}#story-studio .st-review-edit-meta small{font-size:9px;margin:0}#story-studio .st-review-columns .st-review-diff{font-size:11px;padding-top:8px;border-top:1px dashed #eadff2;color:#947d9f}#story-studio .st-change-keep{background:#edeaf0;color:#8e8398}#story-studio .st-hub-mini{grid-template-columns:1fr}#story-studio .st-hub-mini>button:first-child{padding-right:14px;width:100%}
@media(max-width:650px){#story-studio .st-review-view{display:flex}#story-studio .st-review-view button{flex:1;padding:9px 7px;font-size:11px}#story-studio .st-review-columns textarea{font-size:12px;padding:8px}.st-review-edit-meta{flex-wrap:wrap}}
/* The board keeps its original layout; reviews open explicitly. */
.st-review-return{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:9px 14px;border:1px solid #d6c5ff;border-radius:10px;background:#f7f3ff;color:#6029bc;font:600 13px inherit;cursor:pointer}.st-board-review header .st-review-return{display:flex;background:#fff}.account-access{border:1px solid #d7d1e1;background:white;color:#554768;padding:7px 10px;border-radius:9px;font-size:11px;white-space:nowrap;cursor:pointer}.account-access.is-operator{background:#5920ad;color:#fff;border-color:#5920ad}.access-dialog{width:min(680px,calc(100vw - 32px));max-height:86dvh;border:1px solid #e3dcee;border-radius:22px;padding:28px;color:#281d38;box-shadow:0 24px 90px #24103940}.access-dialog::backdrop{background:#20122c70}.access-dialog header{display:flex;align-items:center;justify-content:space-between}.access-dialog h2{font-size:25px;margin:16px 0}.access-dialog h3{font-size:17px}.access-dialog p,.access-dialog small{font-size:13px;line-height:1.7}.access-note{background:#f3f0f8;padding:14px;border-radius:12px}.access-note b{display:block;color:#6123b2}.access-owner{color:#6123b2;font-weight:700}.access-dialog form{display:grid;gap:9px}.access-dialog label{font-size:13px;font-weight:650}.access-dialog input,.access-dialog select,.access-dialog textarea{width:100%;padding:11px 12px;border:1px solid #d5cbe2;border-radius:9px;background:white;color:#241a30;font:inherit;box-sizing:border-box;min-width:0}.access-dialog input:focus,.access-dialog textarea:focus,.access-dialog select:focus{outline:2px solid #955aef;outline-offset:2px}.access-dialog button:not(.icon-button){padding:9px 13px;border:1px solid #d8cce8;border-radius:9px;background:#fff;color:#54229c;cursor:pointer;font-weight:600}.access-dialog button:disabled{opacity:.45;cursor:default}.access-dialog button.access-primary{background:#6124ba;color:#fff;border-color:#6124ba;margin-top:5px}.access-inline{display:flex;gap:8px}.access-inline input{flex:1}.access-admin{border-top:1px solid #e5deed;margin-top:24px;padding-top:8px}.access-issued{display:grid;gap:10px;margin:18px 0;padding:16px;border:1px solid #b89be3;border-radius:12px;background:#f7f2ff}.access-issued textarea{font-family:monospace;word-break:break-all;font-size:13px}.access-key-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #ece7f2}.access-key-row div{display:grid;gap:5px;min-width:0}.access-key-row strong{font-size:13px;overflow-wrap:anywhere}.access-key-row span,.access-key-row small{font-size:12px;color:#6b5f7c}.access-key-row button{flex-shrink:0}.access-pages{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:12px}[data-access-message]{color:#6026ad;min-height:24px}@media(max-width:600px){.access-dialog{padding:18px}.account-access{font-size:10px;padding:6px}}
.st-cancel-original{white-space:nowrap!important;flex-shrink:0;min-width:90px}.st-original-actions{flex-wrap:wrap}.st-head-right{margin-left:auto;gap:12px!important}.pm-avatar{display:inline-grid;place-items:center;width:38px;height:38px;min-width:38px;padding:0!important;border:1px solid #c9b5ef!important;border-radius:50%!important;overflow:hidden;background:#efe7ff!important;color:#6e35bd!important;cursor:pointer}.pm-avatar img{width:100%;height:100%;object-fit:cover}.pm-avatar svg{width:23px;height:23px}.pm-settings{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:88vh;overflow:auto;padding:26px;border:1px solid #e0d8ee;border-radius:22px;background:#fff;color:#282131;box-shadow:0 20px 90px #140a3840}.pm-settings::backdrop{background:#1d103c70;backdrop-filter:blur(4px)}.pm-settings header,.pm-settings footer,.pm-settings-profile{display:flex;align-items:center;justify-content:space-between;gap:16px}.pm-settings h2{font-size:20px}.pm-settings-profile{justify-content:flex-start;margin:18px 0 25px}.pm-settings-profile div{display:grid;gap:5px}.pm-settings form{display:grid;gap:12px}.pm-settings input,.pm-settings select{box-sizing:border-box;width:100%;padding:11px;border:1px solid #cfc3df;border-radius:9px;background:transparent;color:inherit;font:inherit}.pm-settings button{border:1px solid #d7c9ed;border-radius:9px;padding:9px 12px;background:#f8f4ff;color:#6935b0;cursor:pointer}.pm-settings label{font-size:13px;font-weight:600}.pm-settings small{font-size:12px;line-height:1.6;color:#82738f}.pm-settings footer button:last-child{background:#6d32bd;color:#fff}.pm-settings [role=status]{font-size:12px}
html[data-theme=dark]{background:#14111c;color:#eee8fa}html[data-theme=dark] body,html[data-theme=dark] #story-studio{background:#14111c;color:#eee8fa}html[data-theme=dark] :is(.st-header,.st-sidebar,.st-main,.st-canvas,.st-workspace,.st-project-head,.st-tabs,.st-original-story,.st-timeline-panel,.st-board-column,.st-editor-disclosure,.st-recommendations,.st-structure-hub,.st-atlas,.st-hub-options,.st-board-review,.st-story-dialog,.st-draft,.pm-settings,.access-dialog,.billing-dialog,.header,.dash-header,.workspace){background:#1d1829!important;color:#eee8fa!important;border-color:#3b2f50!important}html[data-theme=dark] :is(.st-card,.st-event-card,.st-element-card,.st-beat-card,.st-library-card,.st-flow-chart,.st-conflict-track,.st-review-columns section,.access-note,.access-issued,.st-structure-option){background:#261f34!important;color:#eee8fa!important;border-color:#4d3c64!important}html[data-theme=dark] :is(input,textarea,select){background:#211b2c!important;color:#f1eafc!important;border-color:#544169!important}html[data-theme=dark] :is(.st-main,.st-sidebar,.pm-settings,.access-dialog) :is(h1,h2,h3,h4,strong,label,summary){color:#eee7fb!important}html[data-theme=dark] :is(.st-main,.pm-settings,.access-dialog) :is(small,p){color:#bfb2d1}html[data-theme=dark] :is(.st-main,.st-header,.pm-settings) button:not(.pm-avatar){color:#d4b4ff;border-color:#59416f}html[data-theme=dark] .st-hub-feature{background:#5b21a5!important;color:#fff!important}html[data-theme=dark] .st-cards textarea{background:transparent!important}html[data-theme=dark] .st-original-story textarea{background:#171320!important}html[data-theme=dark] .st-review-columns mark{background:#59326f;color:#fff}
.access-downloads{display:grid;gap:10px;margin:14px 0}.access-dialog .access-downloads button{background:#672bc0;color:#fff;padding:13px}.access-install-help{font-size:12px;margin:12px 0 24px}.access-install-help summary{cursor:pointer;color:#7547b5}
html[data-theme=dark] #story-studio{--st-ink:#f0e9fa;--st-muted:#bdafcd;--st-purple:#ba91ff;--st-line:#483759}html[data-theme=dark] #story-studio :is(.st-element,.st-four-card,.st-library-card,.st-original-story article,.st-hub-saved-card,.st-structure-card,.st-recommend-card,.st-flow-panel){background:#292132!important;color:#f1eafa!important;border-color:#584269!important}html[data-theme=dark] #story-studio .st-element textarea{background:transparent!important;color:#f3edfc!important}html[data-theme=dark] #story-studio .st-event-color-blue{background:#1c2b3d!important;border-top-color:#6ba9e2!important}html[data-theme=dark] #story-studio .st-event-color-rose{background:#392338!important;border-top-color:#d48caa!important}html[data-theme=dark] #story-studio .st-card-scenes{background:#192f32!important;border-top-color:#58c1b9!important}html[data-theme=dark] #story-studio .st-card-characters{background:#35291f!important;border-top-color:#e5a875!important}html[data-theme=dark] #story-studio :is(.st-tabs button,.st-breadcrumbs,.st-canvas-desc,.st-reorder-help,.st-overline,.st-four-card-text,.st-four-card-heading small,.st-column-title small,.st-side-empty,.st-storage-note){color:#bcb0ce!important}html[data-theme=dark] #story-studio .st-tabs button.active{color:#d9bdff!important;border-bottom-color:#b17cf4!important}html[data-theme=dark] #story-studio .st-brand-home{color:#cb9cff!important}html[data-theme=dark] #story-studio :is(.st-count,.st-source,.st-credit-button,.st-event-heading button,.st-add-card,.st-four-edit){background:#3b2d4d!important;color:#e3cffb!important}html[data-theme=dark] #story-studio .st-timeline::-webkit-scrollbar-track{background:#2c233a}html[data-theme=dark] #story-studio .st-timeline::-webkit-scrollbar-thumb{background:#70578f}html[data-theme=dark] #story-studio :is(.st-tabs,.st-project-head){background:#1d1829!important}html[data-theme=dark] #story-studio .st-title-input{background:transparent!important}html[data-theme=dark] #story-studio .st-four-card.selected{outline:2px solid #c18ef9}
html[data-theme=dark] #story-studio .st-element.st-event-color-blue{background:#1c2b3d!important;border-top-color:#6ba9e2!important}html[data-theme=dark] #story-studio .st-element.st-event-color-rose{background:#392338!important;border-top-color:#d48caa!important}html[data-theme=dark] #story-studio .st-element.st-card-scenes{background:#192f32!important;border-top-color:#58c1b9!important}html[data-theme=dark] #story-studio .st-element.st-card-characters{background:#35291f!important;border-top-color:#e5a875!important}html[data-theme=dark] #story-studio .st-timeline{scrollbar-color:#70578f #2c233a!important}
/* Compact account menu and device conflict comparison */
.pm-profile-menu{position:fixed;z-index:10020;width:200px;padding:7px;border:1px solid #ddd8e7;border-radius:16px;background:#fff;color:#251d37;box-shadow:0 16px 50px #20103426}.pm-profile-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.pm-profile-menu button:hover,.pm-profile-menu button:focus-visible{background:#f0ebff;outline:none}.pm-profile-menu svg{width:19px;height:19px;flex:none}.pm-settings>label{display:block;margin:18px 0 8px}.pm-settings>select{width:100%;padding:12px;border:1px solid #ded7eb;border-radius:10px;background:transparent;color:inherit}.pm-sync-settings{border-top:1px solid #e7e0ef;margin-top:24px;padding-top:16px}.pm-sync-settings h3{font-size:15px}.pm-sync-settings p{font-size:13px;line-height:1.7;color:#70687b}.pm-sync-settings button{margin:4px 6px 0 0}.pm-sync-conflict{position:fixed;bottom:24px;right:24px;z-index:9000;background:#6e38da;color:white;border:1px solid #ae8bf0;border-radius:30px;padding:13px 19px;box-shadow:0 8px 30px #3e20642b;cursor:pointer}.pm-sync-dialog{width:min(1060px,94vw);max-height:88vh;border:1px solid #ded7ea;border-radius:24px;background:#faf9fc;color:#241c34;padding:26px}.pm-sync-dialog::backdrop{background:#160d345f;backdrop-filter:blur(5px)}.pm-sync-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.pm-sync-dialog header small{color:#7b4ace}.pm-sync-dialog h2{font-size:23px;margin:8px 0}.pm-sync-dialog header button{border:0;background:transparent;color:inherit;font-size:26px;cursor:pointer}.pm-sync-dialog>p{font-size:14px;color:#766b84}.pm-sync-dialog article{border-top:1px solid #ded7ea;padding:10px 0 20px}.pm-sync-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pm-sync-columns section{min-width:0;padding:18px;border-radius:16px;background:white;border:1px solid #e4deee}.pm-sync-columns section:last-child{border-color:#b8a1e5;background:#f7f3ff}.pm-sync-columns h4{margin:0 0 8px}.pm-sync-columns small{font-size:12px;color:#80718f}.pm-sync-columns pre{font-family:inherit;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}.pm-sync-columns details{font-size:12px}.pm-sync-dialog footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.pm-sync-dialog footer button,.pm-sync-settings button{border:1px solid #d6c9ec;border-radius:10px;padding:10px 14px;background:white;color:#6537a9;cursor:pointer}.pm-sync-dialog footer button:last-child{background:#6e38da;color:white;border-color:#6e38da}[data-theme=dark] .pm-profile-menu,[data-theme=dark] .pm-sync-dialog{background:#211b2d;color:#f1ebfb;border-color:#4c3c63}[data-theme=dark] .pm-profile-menu button:hover,[data-theme=dark] .pm-profile-menu button:focus-visible{background:#392853}[data-theme=dark] .pm-sync-columns section{background:#282032;border-color:#4c3c63}[data-theme=dark] .pm-sync-columns section:last-child{background:#302144;border-color:#735497}[data-theme=dark] .pm-sync-dialog p,[data-theme=dark] .pm-sync-settings p{color:#bdb0ce}@media(max-width:680px){.pm-sync-columns{grid-template-columns:1fr}.pm-sync-dialog{padding:18px}.pm-sync-conflict{bottom:15px;right:15px}}

.pm-sync-columns pre.pm-sync-original{max-height:160px;min-height:75px;margin:16px 0}.pm-sync-columns details{padding:10px 0;border-top:1px solid #a78dc52b}.pm-sync-diff{font-size:12px;color:#8d69c8;margin:-2px 0 16px}.pm-sync-dialog article h3{font-size:16px}.pm-sync-dialog footer{position:sticky;bottom:0;padding:12px 0;background:inherit}.pm-sync-columns summary{cursor:pointer}
.st-menubar{display:flex;align-items:center;gap:3px;padding:7px 28px;border-bottom:1px solid #e8e1ef;background:#fff;position:relative;z-index:35}.st-app-menu{position:relative}.st-app-menu>summary{list-style:none;padding:8px 13px;border-radius:8px;cursor:pointer;font-size:13px;color:#554562}.st-app-menu>summary::-webkit-details-marker,.st-export-submenu>summary::-webkit-details-marker{display:none}.st-app-menu[open]>summary,.st-app-menu>summary:hover{background:#f0eafa;color:#6831b7}.st-menu-items{position:absolute;top:40px;left:0;min-width:220px;padding:7px;border:1px solid #ded3ed;border-radius:13px;background:#fff;box-shadow:0 15px 40px #33204424}.st-menu-items button,.st-export-submenu>summary{display:flex;justify-content:space-between;width:100%;border:0;background:transparent;padding:11px 12px;text-align:left;font:inherit;font-size:13px;color:#4d3c60;cursor:pointer;border-radius:7px}.st-menu-items button:hover,.st-export-submenu>summary:hover{background:#f3edfb}.st-menu-items button:disabled{opacity:.35;cursor:default}.st-export-submenu>div{padding-left:10px;border-left:2px solid #b99ce2;margin:3px 9px}.st-menu-download{margin-left:auto;border:0;border-radius:8px;padding:9px 15px;background:#7038d1;color:#fff;font:inherit;font-size:13px;cursor:pointer}.st-menu-download:disabled{opacity:.35}.st-title-edit{display:flex;align-items:flex-end;gap:10px}.st-title-edit .st-project-title{min-width:0;width:min(600px,65vw)}.st-title-edit>button{flex:none;width:30px;height:30px;margin-bottom:5px;border:0;border-radius:8px;background:#eee7f7;color:#78519c;cursor:pointer}.st-title-edit svg{width:18px;height:18px}.st-editor-mode .st-workspace{display:block!important}.st-editor-mode .st-canvas{width:100%;min-width:0}.st-partner-launcher{position:fixed;right:25px;bottom:22px;z-index:90;display:flex;flex-direction:column;align-items:center;border:0;background:transparent;cursor:pointer;color:#69479b;font-size:11px;font-weight:700;filter:drop-shadow(0 5px 8px #3d225b24)}.st-partner-launcher svg{width:76px;height:57px}.st-partner-launcher:hover svg{transform:translateY(-3px)}.st-partner-panel{position:fixed;right:30px;bottom:110px;width:min(380px,calc(100vw - 36px));height:min(580px,calc(100dvh - 160px));z-index:89;border:1px solid #d7c7ee;border-radius:22px;background:#fff;box-shadow:0 18px 80px #26123830;overflow:hidden}.st-partner-panel[hidden]{display:none!important}.st-editor-mode .st-partner-panel .st-chat{display:flex!important;position:static;width:100%;height:100%;max-height:none;border:0;border-radius:0;overflow:hidden}.st-partner-panel .st-messages{flex:1;min-height:0;overflow:auto}.st-partner-panel .st-composer{flex:none}.st-partner-panel .st-chat-head{padding:16px}.st-partner-close{margin-left:auto;border:0;background:none;color:inherit;font-size:24px;cursor:pointer}.st-partner-panel textarea{max-height:140px}.st-partner-panel .st-chat-foot{font-size:10px}.st-main{padding-bottom:110px}.st-blank .st-project-head{width:100%}.st-blank .st-project-title{font-size:25px}[data-theme=dark] .st-menubar,[data-theme=dark] .st-menu-items,[data-theme=dark] .st-partner-panel{background:#211a2e;border-color:#49375f}[data-theme=dark] .st-app-menu>summary,[data-theme=dark] .st-menu-items button,[data-theme=dark] .st-export-submenu>summary{color:#e4d7f4}[data-theme=dark] .st-app-menu[open]>summary,[data-theme=dark] .st-menu-items button:hover{background:#3a2753}[data-theme=dark] .st-partner-launcher{color:#d1b9f1}@media(max-width:640px){.st-menubar{padding:5px 9px;gap:0}.st-app-menu>summary{padding:8px 9px}.st-menu-download{padding:9px;font-size:12px}.st-partner-panel{right:18px}.st-title-edit .st-project-title{width:64vw}}

.pm-update-available{position:fixed;left:24px;bottom:22px;z-index:100;background:#6e38cf;color:white;border:0;border-radius:24px;padding:12px 18px;box-shadow:0 8px 24px #33204428;cursor:pointer}

[data-theme=dark] .st-partner-panel .st-chat,[data-theme=dark] .st-partner-panel .st-chat-head,[data-theme=dark] .st-partner-panel .st-composer,[data-theme=dark] .st-partner-panel .st-chat-foot{background:#241c31;color:#e8def4}[data-theme=dark] .st-partner-panel .st-message,[data-theme=dark] .st-partner-panel .st-mode-note{background:#322443;color:#d2c1e5}[data-theme=dark] .st-partner-panel .st-welcome h3,[data-theme=dark] .st-partner-panel .st-welcome p,[data-theme=dark] .st-partner-panel .st-message p,[data-theme=dark] .st-partner-panel .st-chat-head b{color:#e7daf5}[data-theme=dark] .st-partner-panel .st-message small,[data-theme=dark] .st-partner-panel .st-chat-head small{color:#bda4d6}[data-theme=dark] .st-title-edit>button{background:#3a2852;color:#d7baff}

/* The title measures its current text, keeping the pencil beside it. */
#story-studio .st-project-head>div{min-width:0;max-width:100%}#story-studio .st-title-edit{gap:6px;max-width:100%}#story-studio .st-title-size{display:inline-grid;min-width:25px;max-width:calc(100% - 36px)}#story-studio .st-title-size>*{grid-area:1/1;font:500 28px/1.4 Outfit,"Noto Sans KR",sans-serif!important;letter-spacing:-.8px;padding:0 2px;box-sizing:border-box}#story-studio .st-title-measure{visibility:hidden;white-space:pre;pointer-events:none}#story-studio .st-title-size .st-project-title{width:100%;max-width:100%;min-width:0;margin:0;border:0}#story-studio .st-title-edit>button{margin-bottom:3px}.st-board-pending{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff;border:1px solid #ccb6eb;border-radius:12px;padding:18px;margin-bottom:18px}.st-board-pending strong{font-size:14px;color:#553082}.st-board-pending p{font-size:12px;line-height:1.7;margin:5px 0 0;color:#78638c}.st-board-pending button{background:#7038d1;color:#fff;border-radius:8px;padding:11px 14px;white-space:nowrap;font-size:12px!important}[data-theme=dark] .st-board-pending{background:#211a2e}[data-theme=dark] .st-board-pending strong{color:#e2d2f4}[data-theme=dark] .st-board-pending p{color:#c6b1dc}@media(max-width:700px){#story-studio .st-title-size>*{font-size:23px!important}.st-board-pending{align-items:flex-start;flex-direction:column}.st-board-pending button{white-space:normal}}

/* Compact chrome leaves more room for the story workspace. */
#story-studio .st-header{height:54px;padding:0 22px;gap:12px}
#story-studio .st-menubar{min-height:40px;padding:3px 20px;box-sizing:border-box}
#story-studio .st-app-menu>summary{padding:6px 11px;font-size:12px}
#story-studio .st-menu-download{padding:7px 13px;font-size:12px}
#story-studio .st-layout{grid-template-columns:164px minmax(0,1fr);min-height:calc(100dvh - 94px)}
#story-studio.st-editor-mode .st-layout{height:calc(100dvh - 94px);min-height:0}
#story-studio .st-sidebar{padding:12px 10px}
#story-studio .st-sidebar-content{min-height:0}
#story-studio .st-new{padding:10px 12px;margin-top:10px}
#story-studio .st-story-link{padding:11px 9px}
#story-studio .st-story-link b{max-width:105px}
#story-studio .st-project-head{padding:13px 24px 8px;gap:8px}
#story-studio .st-breadcrumbs{font-size:11px;gap:8px;margin-bottom:5px}
#story-studio .st-title-size>*{font-size:25px!important;line-height:1.35!important}
#story-studio .st-tabs{padding:0 24px;gap:23px;min-height:37px}
#story-studio .st-tabs button{padding:8px 0 9px;font-size:11px!important}
#story-studio .st-canvas{padding:20px 24px 45px}
#story-studio .st-main{padding-bottom:0;min-width:0}
#story-studio .st-original-story{max-width:1120px;width:100%}
#story-studio .st-original-story h2{font-size:23px;margin:4px 0 6px}
#story-studio .st-original-story header>p{font-size:12px;margin-bottom:16px}
#story-studio .st-original-story article{padding:18px}
#story-studio.st-sidebar-collapsed .st-layout{grid-template-columns:46px minmax(0,1fr)}
#story-studio.st-sidebar-collapsed .st-sidebar{padding:12px 5px}
@media(max-width:700px){#story-studio .st-header{padding:0 12px}#story-studio .st-menubar{padding:3px 8px}#story-studio .st-app-menu>summary{padding:6px 8px}#story-studio .st-layout{grid-template-columns:140px minmax(0,1fr)}#story-studio .st-project-head{padding:12px 14px 7px}#story-studio .st-tabs{gap:15px;padding:0 14px}#story-studio .st-stage-note{display:none}#story-studio .st-canvas{padding:16px 14px 40px}#story-studio .st-title-size>*{font-size:22px!important}#story-studio .st-original-story article{padding:13px}}

#story-studio .st-title-size{display:inline-block;position:relative}#story-studio .st-title-measure{position:absolute;width:max-content}#story-studio .st-title-size .st-project-title{max-width:100%}
#story-studio .st-story-list{overflow-x:hidden;flex:1;min-height:70px}#story-studio .st-story-row .st-story-link{overflow:hidden;gap:7px}#story-studio .st-story-link>span:last-child{min-width:0;overflow:hidden}#story-studio .st-story-row .st-story-link b{max-width:100%}#story-studio .st-story-link small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#story-studio.st-editor-mode .st-main{display:flex;flex-direction:column;height:100%}#story-studio.st-editor-mode .st-workspace{flex:1;min-height:0;height:auto}#story-studio.st-editor-mode .st-project-head,#story-studio.st-editor-mode .st-tabs{flex-shrink:0}

/* Shared brand, clearer stage navigation and a compact circular partner. */
#story-studio .st-parent-brand{gap:7px;font-family:inherit!important;font-size:22px!important;font-weight:780;letter-spacing:-1.1px;color:#30223e}
#story-studio .st-parent-brand strong{font:inherit!important;font-weight:780!important}
#story-studio .st-parent-brand>svg{width:36px;height:29px;flex:none}
#story-studio .st-tabs{min-height:46px;gap:26px}
#story-studio .st-tabs button{font-size:14px!important;font-weight:600;padding:12px 0 13px}
#story-studio .st-tabs button small{font-size:11px;margin-right:7px}
#story-studio .st-partner-launcher{width:58px;height:58px;right:22px;bottom:20px;display:grid;place-items:center;border-radius:50%;background:#7038c7;border:2px solid #ede1ff;box-shadow:0 6px 20px #542b8840;filter:none;padding:4px}
#story-studio .st-partner-launcher svg{width:45px;height:36px;filter:drop-shadow(0 2px 2px #30154b30)}
#story-studio .st-partner-launcher:hover{background:#5926a7;transform:translateY(-2px)}
#story-studio .st-partner-launcher:focus-visible{outline:3px solid #b795f0;outline-offset:3px}
#story-studio .st-partner-panel{bottom:90px}
html[data-theme=dark] #story-studio .st-parent-brand{color:#f0e8fb}
@media(max-width:700px){#story-studio .st-parent-brand{font-size:19px!important}#story-studio .st-parent-brand>svg{width:30px;height:25px}#story-studio .st-tabs{gap:18px}#story-studio .st-tabs button{font-size:13px!important}#story-studio .st-tabs button small{font-size:10px}#story-studio .st-stage-note{display:none}}

/* Quiet reading view and a lighter sidebar. */
#story-studio .st-sidebar-toggle{margin:0 auto 12px 0;align-self:flex-start}
#story-studio.st-sidebar-collapsed .st-sidebar-toggle{margin-left:0;margin-right:auto}
#story-studio .st-side-note,#story-studio.st-editor-mode .st-side-note{padding:14px 7px 12px}
#story-studio .st-side-note>span{font-size:25px}
#story-studio .st-side-note p{font-size:13px;line-height:1.8;margin:10px 0;letter-spacing:-.3px}
#story-studio .st-side-note small{font-size:7px;letter-spacing:1px}
#story-studio .st-trash-link{margin-top:0;margin-bottom:12px;flex-shrink:0}
#story-studio .st-partner-launcher{background:#e9e1f2;border-color:#d7c8e6;box-shadow:0 4px 14px #63517822}
#story-studio .st-partner-launcher:hover{background:#ded0ee}
html[data-theme=dark] #story-studio .st-partner-launcher{background:#51445f;border-color:#82718f;box-shadow:0 4px 14px #100a1b26}
html[data-theme=dark] #story-studio .st-partner-launcher:hover{background:#625270}
#story-studio .st-draft-guide{font-size:12px;line-height:1.7;color:#817587;margin:0 0 20px;padding-left:10px;border-left:2px solid #d9cde5}
#story-studio .st-draft-guide b{font-weight:500;color:#766180}
#story-studio .st-draft-guide small{display:block;font-size:11px;color:#95889e}
#story-studio .st-draft-paper section p{font-size:14px;line-height:1.95;color:#65556e}
html[data-theme=dark] #story-studio .st-draft-paper{background:#241d31;border-color:#514060}
html[data-theme=dark] #story-studio .st-draft-paper section p{color:#d3c5df}
html[data-theme=dark] #story-studio .st-draft-guide{color:#b6a8c2;border-color:#5c4a6c}
html[data-theme=dark] #story-studio .st-draft-guide b{color:#cbb7db}
html[data-theme=dark] #story-studio .st-draft-guide small{color:#a595b3}

/* Scene-authored script, shared read-only documents. */
.st-scene-script-editor{margin-top:16px;border-top:1px solid #cce3dc;padding-top:12px}
.st-scene-script-editor summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#356c60;font-size:12px;font-weight:600;padding:4px 0}
.st-scene-script-editor summary small{font-size:10px;font-weight:400;color:#7b8d87}
.st-scene-script-editor label{display:block;font-size:11px;color:#677a73;margin:12px 0 6px}
.st-scene-script-editor textarea{width:100%;min-height:150px;resize:vertical;box-sizing:border-box;border:1px solid #c9dfd6;border-radius:10px;background:#fff;padding:12px;font-family:inherit;font-size:13px;line-height:1.85;color:#263d36}
.st-scene-script-editor textarea:focus{outline:2px solid #80b6a3;outline-offset:2px}
.st-scene-script-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#72857d;margin-top:8px}
.st-scene-script-meta button{border:0;background:transparent;color:#4a6a60;font-size:11px;cursor:pointer;padding:5px;white-space:nowrap}
.st-character-icon{font-size:15px;vertical-align:middle;margin-right:5px}
.st-draft-entry,.st-draft-beat{border-radius:8px;scroll-margin-top:20px}
.st-draft-entry p{white-space:pre-wrap}
.st-output-changed{animation:st-output-feedback 6s ease-out both}
@keyframes st-output-feedback{0%,30%{background:#eee3ff;box-shadow:inset 3px 0 #a17ad8}100%{background:transparent;box-shadow:inset 3px 0 transparent}}
.st-output-notice{font-size:11px;color:#8567a2;margin:-4px 0 12px;animation:st-notice-fade 6s ease-out forwards}
@keyframes st-notice-fade{0%,55%{opacity:1}100%{opacity:0}}
.st-screenplay-paper .st-screenplay-scene{padding:24px 6px;margin-top:22px;border-top:1px solid #e9e2ee}
.st-screenplay-scene h3{font-size:15px;font-weight:700;line-height:1.7;color:#4f3f62}
.st-screenplay-number{color:#9678ad;font-size:12px;margin-right:8px}
.st-screenplay-paper .st-screenplay-cast{font-size:12px;color:#7c6e87;margin:10px 0 22px}
.st-screenplay-body,.st-screenplay-action{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2.05;color:#3d3546}
.st-screenplay-paper .st-screenplay-empty{font-size:11px;color:#978ba2;margin-top:18px}
[data-theme="dark"] .st-scene-script-editor textarea{background:#262d32;color:#e0e8e4;border-color:#506b60}
[data-theme="dark"] .st-scene-script-editor summary,[data-theme="dark"] .st-scene-script-meta button{color:#b1d4c7}
[data-theme="dark"] .st-screenplay-scene h3,[data-theme="dark"] .st-screenplay-body,[data-theme="dark"] .st-screenplay-action{color:#e7dff1}
[data-theme="dark"] .st-output-changed{animation-name:st-output-feedback-dark}
@keyframes st-output-feedback-dark{0%,30%{background:#473154;box-shadow:inset 3px 0 #ba8eec}100%{background:transparent;box-shadow:inset 3px 0 transparent}}
@media(prefers-reduced-motion:reduce){.st-output-changed,.st-output-notice{animation-timing-function:steps(1,end)}}

.st-output-changed.st-output-pending{animation-play-state:paused}

/* Screenplay typography and direct Scene navigation. */
.st-film-scene-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;padding-bottom:10px;border-bottom:1px solid #ece6f0}
.st-film-scene-head .st-screenplay-number{font-size:12px;margin:0}
.st-film-setting{font-size:15px;color:#80718e;font-weight:500}
.st-screenplay-paper .st-film-scene-head h3{font-size:23px;line-height:1.5;font-weight:700;margin:0;letter-spacing:-.6px;color:#392b49;overflow-wrap:anywhere}
.st-film-scene-head time{font-size:12px;color:#94869e;white-space:nowrap}
.st-film-edit{margin-left:auto;font-size:10px;color:#a090ad;white-space:nowrap}
.st-screenplay-paper .st-screenplay-scene{cursor:pointer;border-radius:12px;padding:22px 18px;transition:box-shadow .15s}
.st-screenplay-scene:hover{box-shadow:0 0 0 1px #d9c9e8}
.st-screenplay-scene:focus-visible{outline:2px solid #9871c6;outline-offset:3px}
.st-screenplay-paper .st-screenplay-body{white-space:normal}
.st-screenplay-paper .st-film-action{white-space:pre-wrap;margin:20px 0;font-size:14px;line-height:1.95;color:#716779}
.st-film-dialogue{width:58%;max-width:500px;margin:28px auto;text-align:left}
.st-screenplay-paper .st-film-dialogue h4{border:0;margin:0 0 8px;padding:0;text-align:center;font-size:15px;font-weight:700;color:#40324d}
.st-screenplay-paper .st-film-speech{font-size:14px;line-height:1.9;white-space:pre-wrap;margin:0;color:#332c3c}
.st-screenplay-paper .st-film-parenthetical{font-size:12px;line-height:1.7;white-space:pre-wrap;color:#918396;margin:4px 12% 8px;font-style:italic}
.st-script-format-help{font-size:10px!important;line-height:1.7!important;color:#7b8d85!important;margin:7px 0!important}
.st-scene-jump-target{animation:st-scene-jump 3s ease-out}
@keyframes st-scene-jump{0%,40%{box-shadow:0 0 0 3px #98c6b5}100%{box-shadow:0 0 0 0 transparent}}
html[data-theme=dark] #story-studio .st-film-scene-head h3,html[data-theme=dark] #story-studio .st-film-dialogue h4{color:#eadff5}
html[data-theme=dark] #story-studio .st-film-scene-head{border-color:#53465d}
html[data-theme=dark] #story-studio .st-film-setting{color:#c0aecb}
html[data-theme=dark] #story-studio .st-screenplay-paper .st-film-action{color:#b9abc6}
html[data-theme=dark] #story-studio .st-screenplay-paper .st-film-speech{color:#e6dcef}
html[data-theme=dark] #story-studio .st-screenplay-paper .st-film-parenthetical{color:#a995b8}
@media(max-width:640px){.st-film-dialogue{width:82%}.st-screenplay-paper .st-film-scene-head h3{font-size:20px}.st-film-edit{width:100%;margin:0;text-align:right}.st-screenplay-paper .st-screenplay-scene{padding:18px 8px}}
@media(prefers-reduced-motion:reduce){.st-scene-jump-target{animation:none;outline:2px solid #98c6b5}}

/* Distinguish the two generated, read-only views from editing steps. */
#story-studio .st-tabs button.st-readonly-tab{background:#eee6f8;color:#673990;border-radius:9px;padding:9px 13px;margin:5px 0;font-weight:650;gap:6px}
#story-studio .st-tabs button.st-readonly-tab.active{background:#6634a0;color:#fff;border-bottom-color:transparent;box-shadow:0 3px 10px #5937831a}
#story-studio .st-tabs button.st-readonly-tab.active small{color:#e8d9fa}
.st-tab-lock{width:12px;height:12px;flex-shrink:0;margin-left:3px;vertical-align:-1px}
.st-film-dot{color:#9b8aa6;font-size:15px}
html[data-theme=dark] #story-studio .st-tabs button.st-readonly-tab{background:#40304f;color:#d7bdec}
html[data-theme=dark] #story-studio .st-tabs button.st-readonly-tab.active{background:#8051b1;color:#fff}

#story-studio .st-tabs button.st-readonly-tab{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}

/* Pre-Drawing: a quiet sketch desk with a clear image companion. */
#drawing-studio{min-height:100dvh;background:#f7f8f5;color:#28382f}#drawing-studio button,#drawing-studio input,#drawing-studio select,#drawing-studio textarea{font-family:Pretendard,system-ui,sans-serif}#drawing-studio button{border:1px solid #dce4dc;background:#fff;border-radius:7px;padding:7px 11px;font-size:12px}#drawing-studio button:hover:not(:disabled){background:#eaf2e9}#drawing-studio button:disabled{opacity:.45;cursor:default}.draw-header{height:66px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #dde5dd;padding:0 30px;background:#fff}.draw-brand{display:flex;align-items:center;gap:7px;font-weight:600}.draw-header-divider{height:20px;width:1px;background:#dce4dc}.draw-header h1{font-size:16px;margin:0;letter-spacing:-.02em}.draw-version{font:9px ui-monospace,monospace;color:#7c8c80;letter-spacing:.1em}.draw-account{margin-left:auto;display:flex;gap:15px;align-items:center;font-size:11px}.draw-back{font-size:12px}.draw-main{max-width:1440px;margin:auto;padding:30px 36px 20px}.draw-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px;gap:16px}.draw-intro p{font:9px ui-monospace,monospace;letter-spacing:.16em;color:#6b8977;margin:0 0 8px}.draw-intro h2{font-size:28px;font-weight:650;letter-spacing:-.04em;margin:0 0 6px}.draw-intro span{font-size:12px;color:#7c8a7f}#draw-save-status{font-size:10px;white-space:nowrap}.draw-workbench{display:grid;grid-template-columns:1fr 1fr;gap:22px}.draw-pane{background:#fff;border:1px solid #dde6dd;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 8px 24px #20382c04}.draw-pane-title{height:49px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid #e5ebe5;font-size:12px;font-weight:600}.draw-pane-title b{font:10px ui-monospace,monospace;color:#8cab92;margin-right:10px}.draw-pane-title button{padding:4px 8px!important;font-size:10px!important}.draw-pane-title>span:last-child{font-size:10px;color:#869389}.draw-toolbar{display:flex;align-items:center;gap:5px;padding:10px 12px 5px;overflow:auto}.draw-toolbar button{padding:5px 8px!important;font-size:11px!important;white-space:nowrap}.draw-toolbar button[aria-pressed="true"]{background:#dcebdc!important;border-color:#aac9ad!important}.draw-toolbar>span{width:1px;height:18px;background:#e4e9e3;flex-shrink:0;margin:0 4px}.draw-toolbar label{display:flex;gap:6px;align-items:center;margin-left:auto;font-size:10px;white-space:nowrap}.draw-toolbar input{width:65px;accent-color:#648c6e}.draw-colors{display:flex;gap:9px;align-items:center;padding:8px 17px 13px}.draw-colors button{width:19px;height:19px;border-radius:50%!important;background:var(--draw-swatch)!important;padding:0!important;border:0!important;flex-shrink:0}.draw-colors button[aria-pressed="true"]{outline:1px solid var(--draw-swatch);outline-offset:3px}.draw-custom-color{width:23px;height:23px;border:1px solid #dee7dd;border-radius:50%;position:relative;display:grid;place-items:center;color:#7d8c7f;cursor:pointer}.draw-custom-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.draw-board{position:relative;margin:0 12px;border:1px solid #e4e9e3;background:#fff}.draw-board canvas{display:block;width:100%;aspect-ratio:1;touch-action:none;cursor:crosshair;outline-offset:-3px}.draw-board canvas.eraser{cursor:cell}#draw-canvas-hint{position:absolute;left:0;right:0;top:43%;text-align:center;pointer-events:none;color:#b0bab1;line-height:1.8;font-size:14px}.draw-pane-foot{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:7px 15px;gap:10px;font-size:10px;color:#879589}.draw-pane-foot button{font-size:10px!important;padding:4px 8px!important}.draw-result-stage{position:relative;display:grid;place-items:center;flex:1;min-height:0;background:radial-gradient(ellipse at 50% 40%,#f5faf3,#eef3ed)}.draw-output{display:flex;flex-direction:column}.draw-result-stage>img{width:100%;max-height:100%;object-fit:contain;aspect-ratio:1}.draw-result-stage>div{text-align:center;padding:20px}#draw-result-empty>span{display:block;font-size:55px;font-weight:300;color:#aac3a5;margin-bottom:18px}#draw-result-empty h3{font-size:17px;font-weight:500;color:#627a66}#draw-result-empty p{font-size:11px;color:#8ba08c;line-height:1.9}#draw-progress{position:absolute;inset:0;background:#f4f8f2c9;backdrop-filter:blur(5px);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}#draw-progress i{height:30px;width:30px;border:2px solid #cee0ca;border-top-color:#668e65;border-radius:50%;animation:draw-spin 1s linear infinite}#draw-progress strong{font-size:14px;font-weight:500}#draw-progress span,#draw-progress small{font-size:11px;color:#728b73}.draw-direction{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr) 220px 220px;gap:24px;background:#fff;border:1px solid #dde6dd;border-radius:12px;padding:22px}.draw-prompt label,.draw-settings label{display:block;font-size:11px;color:#647968;margin-bottom:7px}.draw-prompt textarea{width:100%;border:1px solid #dfe6dd;border-radius:8px;padding:12px;font-size:13px;background:#fbfcfa;resize:vertical;line-height:1.7;min-height:80px}.draw-settings{display:flex;flex-direction:column;gap:10px}.draw-settings select{display:block;width:100%;margin-top:6px;border:1px solid #dfe6dd;border-radius:7px;background:#fbfcfa;font-size:12px;padding:7px}.draw-settings input{display:block;width:100%;accent-color:#648c6e}.draw-settings output{float:right}.draw-generation{display:flex;flex-direction:column;gap:10px}#drawing-studio #draw-generate{background:#315d40;color:#fff;border-color:#315d40;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;font-size:13px}#draw-generate span{font-size:10px;color:#c8dcc9}.draw-auto{font-size:11px;display:flex;align-items:center;gap:7px}.draw-auto input{accent-color:#315d40}.draw-generation small{font-size:9px;color:#8a978d;line-height:1.7}.draw-statusbar{display:flex;justify-content:space-between;gap:24px;margin-top:14px;font-size:10px;color:#849488;line-height:1.8}.draw-statusbar>span:first-child{color:#57745d}@keyframes draw-spin{to{transform:rotate(360deg)}}
@media(max-width:950px){.draw-direction{grid-template-columns:1fr 180px}.draw-generation{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.draw-generation small{grid-column:2}.draw-version{display:none}.draw-toolbar{flex-wrap:wrap}.draw-toolbar label{margin:3px 0}.draw-main{padding:24px 20px}.draw-statusbar{flex-direction:column;gap:3px}}
@media(max-width:650px){.draw-header{padding:0 14px;gap:12px;height:58px}.draw-brand span,.draw-header-divider{display:none}.draw-header h1{font-size:14px}.draw-account{gap:9px}#draw-credits{font-size:9px}.draw-main{padding:24px 12px}.draw-intro{align-items:flex-start;flex-direction:column;gap:8px}.draw-intro h2{font-size:23px}.draw-intro p{font-size:8px}.draw-workbench{grid-template-columns:1fr;gap:16px}.draw-result-stage{min-height:300px;aspect-ratio:1}.draw-direction{grid-template-columns:1fr;gap:16px;padding:17px}.draw-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.draw-generation{display:flex;gap:10px}.draw-toolbar label{margin-left:auto}.draw-colors{gap:11px}.draw-statusbar{font-size:9px}}

@media(min-width:651px){.draw-board{width:min(calc(100% - 24px),max(260px,calc(100dvh - 400px)));margin-inline:auto}.draw-toolbar{padding-block:8px 4px}.draw-colors{padding-block:7px 10px}.draw-result-stage>img{position:absolute;inset:0;height:100%;width:100%;aspect-ratio:auto}.draw-output .draw-pane-foot{margin-top:auto}}

@media(max-width:650px){.draw-header h1{white-space:nowrap;flex-shrink:0}.draw-header #draw-credits{display:none}.draw-header .draw-account{white-space:nowrap}.draw-header button{font-size:10px!important;padding:6px 8px!important}.draw-back{white-space:nowrap}}

/* Mind Map only: a quiet single-row navigation. */
.mindmap-pricing{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}.header>.product-nav{display:flex;flex:1;justify-content:flex-end;min-width:0}.header .nav-text-links{display:flex;flex-wrap:nowrap}.header .account-controls{flex-shrink:0}@media(max-width:600px){.mindmap-pricing{grid-template-columns:1fr}.header .nav-text-links{gap:10px}.header .nav-text-links>[data-open-access],.header .nav-text-links>[data-open-release-notes]{display:none}.header .brand{font-size:18px}.header{gap:10px;padding-inline:14px}.header .product-nav{overflow:visible}.header .nav-text-links a{font-size:12px}}
.header>.product-nav{position:static;inset:auto;transform:none;width:auto;max-width:none;padding:0;background:none;border:0;box-shadow:none;opacity:1;visibility:visible;pointer-events:auto;grid-area:auto}.header .nav-text-links{padding:0;border:0}.header>.account-controls{grid-area:auto;margin-left:0}@media(max-width:600px){.header{min-height:64px}.header>.product-nav{position:static;inset:auto;transform:none;width:auto;padding:0;box-shadow:none}.header .nav-text-links{margin:0;padding:0}}

.learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.learning-grid article{padding:30px;border:1px solid #ddd5cd;border-radius:18px;background:#fffdf9}.learning-grid article>span{font-size:12px;color:#805b4b;letter-spacing:.12em}.learning-grid h3{font-size:24px;margin:18px 0}.learning-grid p,.public-guest-note{line-height:1.8;color:#625b58}.learning-grid a{color:#a33f2c;text-underline-offset:4px}.public-guest-note{font-size:14px;margin-top:25px}@media(max-width:600px){.learning-grid{grid-template-columns:1fr}.header .nav-text-links>a[href="#pricing"],.header .nav-text-links>a[href="/about.html"]{display:none}.header .nav-text-links{gap:12px}}

.desktop-download-card{display:flex;align-items:center;justify-content:space-between;gap:32px;border:1px solid #ded5cc;background:#fffdf9;border-radius:20px;padding:32px}.desktop-download-card h3{font-size:24px}.desktop-download-card p{line-height:1.8}.desktop-price{font-size:32px;font-weight:700}.desktop-price span{font-size:14px;font-weight:400}.download-caution{font-size:12px;line-height:1.7;color:#665d58;margin-top:15px}.download-caution strong{font-weight:600}.access-note{line-height:1.7}@media(max-width:600px){.desktop-download-card{display:block;padding:24px}.header .nav-text-links>a[href="/guide.html"],.header .nav-text-links>a[href="/examples.html"]{display:none}.header .nav-text-links>[data-open-access]{display:inline-flex!important;font-size:12px}}[data-desktop="true"] .account-logout{display:none!important}

.mindmap-pricing{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.pro-download-dialog{width:min(390px,calc(100vw - 32px));padding:28px}.pro-download-dialog h2{font-size:32px;margin:12px 0}.pro-download-price{font-size:36px;font-weight:700;margin:0}.pro-download-price span{font-size:13px;font-weight:400}.pro-platform{color:#665d58;margin:8px 0 24px}.pro-download-dialog [data-pro-primary]{width:100%;justify-content:center}.pro-download-dialog [data-pro-retry]{margin:12px 0 0}.pro-download-dialog [data-access-message]{font-size:13px;line-height:1.6}.pro-download-dialog .download-caution{margin:20px 0 0;line-height:1.7}.pro-download-dialog header{display:flex;align-items:center;justify-content:space-between}.download-section h2{font-size:clamp(25px,4vw,38px);line-height:1.3}.download-caution a{color:inherit}@media(max-width:760px){.mindmap-pricing{grid-template-columns:1fr}}
