/* Workspace: neutral canvas, editorial type, compact working surfaces. */
:root{font-family:Inter,"Segoe UI","Yu Gothic UI",Meiryo,sans-serif;font-size:14px;line-height:1.65;color:#26272c;background:#f6f6f8;--ink:#24252b;--muted:#626976;--line:#e7e8ed;--accent:#5559ce;--green:var(--accent)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;cursor:pointer;border:1px solid #dddfe6;border-radius:4px;background:#fff;color:#424650;padding:8px 16px;font-size:14px;font-weight:500;line-height:1.5;transition:background .15s,border-color .15s}button:hover,.button:hover{background:#f5f5f8;border-color:#b9bbc7}button:disabled{opacity:.45;cursor:not-allowed}.primary{color:#fff;background:var(--ink);border-color:var(--ink);box-shadow:0 2px 3px #16192312}.primary:hover{background:#3b3c46;color:#fff;border-color:#3b3c46}:focus-visible{outline:3px solid #9296ef;outline-offset:3px}.icon{height:18px;width:18px;flex-shrink:0}
aside{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);padding:32px 16px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;padding:0 12px;margin-bottom:40px}.brand>span:last-child{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1;font-weight:700;letter-spacing:-1.4px}.brand-period{color:#777bdf}.brand small{display:block;font-family:"Segoe UI",sans-serif;font-size:12px;letter-spacing:2px;font-weight:600;color:#59616e;margin-top:8px}.brand-mark{width:29px;height:29px;position:relative;background:#272831;border-radius:8px;flex-shrink:0}.brand-mark:before,.brand-mark:after{content:"";position:absolute;width:7px;height:16px;top:7px;border:1.5px solid #fff;border-radius:4px;transform:skewY(-22deg)}.brand-mark:before{left:6px}.brand-mark:after{right:6px;height:12px;top:9px;background:#272831}.workspace-label{font-size:12px;font-weight:600;letter-spacing:1.5px;color:#59616e;margin:0 12px 8px}.workspace-switch{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:8px;margin:0 4px 24px;font-size:12px;font-weight:600}.workspace-avatar,.user-avatar{width:27px;height:27px;display:grid;place-items:center;background:#eeeefa;border:1px solid #e0e0f2;border-radius:4px;color:#5d5b9b;font-size:12px;font-weight:600;flex-shrink:0}.switch-arrow{margin-left:auto;color:#8d8f99;font-size:16px}.nav-section{font-size:12px;color:#626976;margin:20px 12px 8px;letter-spacing:.4px}.nav-section:first-child{margin-top:0}nav{display:flex;flex-direction:column;gap:4px}nav a{display:flex;align-items:center;gap:12px;padding:8px 12px;color:#717580;border-radius:4px;font-size:12px;min-height:40px}nav a:hover{background:#f8f8fb;color:#363843}nav a.active{background:#ededf7;color:#464588;font-weight:600}nav a.active .icon{color:#6261b0}.nav-new{margin-left:auto;font-size:12px;padding:0 4px;border:1px solid #e1e2e9;border-radius:4px;color:#9395a0}.aside-note{margin-top:auto;border-top:1px solid var(--line);padding:16px 12px 0;font-size:12px;color:#59616e}.aside-note small{display:block;font-size:12px;margin-top:8px;margin-left:16px;color:#59616e}.status-dot{display:inline-block;background:#6a9383;width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:4px}
.shell{margin-left:240px;min-height:100vh;display:flex;flex-direction:column}header{height:72px;flex-shrink:0;background:#ffffffbc;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.header-path{display:flex;align-items:center;gap:16px;font-size:12px;color:#59616e}.header-path>span:first-child{color:#c5c7d0}#page-context{color:#555a66}.header-right{display:flex;gap:20px;align-items:center}.user-avatar{height:29px;width:29px;border-radius:50%;background:#e9e8e4;color:#686859;border-color:#e4e2da}.badge{font-size:12px;color:#59616e;display:flex;align-items:center;gap:4px}.badge .status-dot{background:#9295a3}main{width:100%;max-width:1540px;padding:36px 40px 20px;margin:0 auto;flex:1}.page-footer{padding:16px 40px 24px;color:#626976;letter-spacing:1.4px;font-size:12px;display:flex;justify-content:space-between}.page-footer span{letter-spacing:0;font-size:12px}.eyebrow{display:block;font-size:12px;font-weight:600;letter-spacing:1.65px;color:#626976;margin-bottom:8px}h1{font-size:28px;line-height:1.5;letter-spacing:-1px;font-weight:650;margin:0 0 8px}h2{font-size:16px;font-weight:600;line-height:1.6;margin:0 0 12px;letter-spacing:-.3px}h3{font-size:14px;line-height:1.6;font-weight:600;margin:0 0 4px}p{margin:8px 0 16px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.heading p{color:#626976;font-size:12px;max-width:720px;margin:0;line-height:1.9}.heading>.primary{flex-shrink:0;margin-top:16px}.muted,small{color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:24px}.grid .card{margin:0}.card p{font-size:12px;color:var(--muted)}.card a:not(.button):not(.step){color:#5c5b9f;font-size:12px}.number{font-size:40px;font-weight:500;font-variant-numeric:tabular-nums;color:#30313a;letter-spacing:-1.7px;margin:20px 0 16px}.number small{font-size:12px;letter-spacing:0}.pill{display:inline-flex;padding:4px 8px;border:1px solid #e6e4ec;border-radius:4px;background:#f6f5fa;color:#626976;font-size:12px}.banner{padding:16px 16px;font-size:12px;background:#eeeff4;border:1px solid #e2e4ec;color:#626976;border-radius:4px;margin:24px 0}.row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:20px 0}.row:first-child{border-top:0;padding-top:0}.row p{font-size:12px;margin:4px 0}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.steps{display:grid;gap:0;margin-top:16px}.step{display:flex;align-items:center;gap:16px;padding:16px 4px;border-top:1px solid var(--line)}.step b{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e0e1ea;border-radius:50%;color:#7d8097;background:#f7f7fa;flex-shrink:0;font-size:12px;font-weight:500}.step small{display:block;font-size:12px;margin-top:4px}.tabs{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:20px 0;border-bottom:1px solid var(--line)}.tabs a{color:#979ba7;border-bottom:2px solid transparent;padding:8px 0;font-size:12px;margin-bottom:-1px}.tabs a.selected{color:#41424e;border-bottom-color:#585b79;font-weight:600}
.flow-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);margin-bottom:24px}.flow-toolbar .tabs{border:0;margin:0}.collection-count{color:#9b9fa9;font-size:12px;white-space:nowrap}.flow-panel{background:#fff;border:1px solid #e0e2e9;border-radius:8px;overflow:hidden;box-shadow:0 3px 5px #282b4003}.flow-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 24px}.flow-title{display:flex;align-items:center;gap:12px;min-width:0}.flow-symbol{width:39px;height:43px;border-radius:8px;background:#f0f0f8;color:#7775a6;display:grid;place-items:center;flex-shrink:0}.flow-symbol .icon{width:21px;height:21px}.flow-title h2{font-size:14px;margin:0 0 4px}.flow-title p{margin:0;font-size:12px;color:#999da9}.flow-title p span{margin:0 8px}.preview-button{font-size:12px;min-height:33px;white-space:nowrap;background:#fafafd;border-color:#e3e3ef;color:#68688c}.preview-button>span{font-size:14px}.flow-columns{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1.06fr) 151px;padding:8px 24px 8px 28px;background:#fafafb;border-top:1px solid #eff0f3;border-bottom:1px solid #e9eaf0;gap:24px;font-size:12px;letter-spacing:.4px;color:#9498a4}.flow-columns span:last-child{text-align:right;padding-right:12px}.video-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,1.06fr) 151px;align-items:center;gap:24px;min-height:123px;padding:20px 24px 20px 28px;border-bottom:1px solid #eeeff3}.video-row:hover{background:#fdfdfe}.video-info{display:flex;align-items:center;gap:16px;min-width:0}.page-index{font-family:"Segoe UI",sans-serif;font-size:12px;color:#b2b5c0;font-variant-numeric:tabular-nums;min-width:13px}.video-thumb{width:94px;height:65px;position:relative;display:grid;place-items:center;flex-shrink:0;overflow:hidden;background:#e8e7f1;border-radius:4px;color:#85829b}.video-thumb:before{content:"";position:absolute;width:66px;height:66px;border:1px solid #ffffff90;border-radius:50%;left:-20px;top:17px}.video-thumb:after{content:"";position:absolute;width:90px;height:90px;border:1px solid #ffffff75;left:44px;top:-50px;transform:rotate(32deg);border-radius:4px}.tone-1{background:#e5ebea;color:#79968b}.tone-2{background:#eee9e3;color:#a49079}.tone-3{background:#e7eaf2;color:#8691ad}.thumb-play{height:25px;width:25px;border-radius:50%;border:1px solid #ffffffb0;display:grid;place-items:center;background:#ffffff3d;color:inherit;font-size:14px;padding-left:4px;z-index:1}.thumb-duration{position:absolute;bottom:5px;right:5px;border-radius:4px;background:#ffffffa6;padding:0 4px;color:#59616e;font-size:12px;z-index:1;line-height:1.6}.video-name{min-width:0}.video-kind{font-size:12px;letter-spacing:1.1px;color:#9c9eac;line-height:1.5;margin-bottom:4px;display:flex;align-items:center;gap:4px}.start-dot{width:4px;height:4px;background:#8983b0;border-radius:50%}.video-name h3{font-size:12px;margin-bottom:4px;color:#3a3c46}.video-detail{font-size:12px;color:#a1a5b1}.branch-list{display:flex;flex-direction:column;gap:8px;min-width:0}.branch-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.6}.branch-item>span:first-child{color:#7c818e;min-width:0;overflow-wrap:anywhere}.branch-target{font-size:12px;background:#f5f5f9;border:1px solid #eaeaf0;color:#8b8da0;border-radius:4px;padding:4px 8px;white-space:nowrap}.branch-target>span{margin-right:4px;color:#9d9aad}.video-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.video-actions button{font-size:12px;padding:8px 8px;min-height:29px;border-color:#e7e8ef;border-radius:4px}.text-link{font-size:12px;color:#9b9ead;padding:0 4px}.text-link:hover{color:#565294}.text-link>span{margin-left:8px}.add-page{display:flex;align-items:center;gap:16px;background:#fcfcfd;padding:16px 24px}.add-page button{font-size:12px;min-height:33px;border-style:dashed;border-color:#d5d7e2;color:#59616e;background:transparent}.add-page>span{font-size:12px;color:#626976}.workflow-note{display:flex;align-items:flex-start;gap:12px;margin:24px 4px}.note-symbol{display:grid;place-items:center;border:1px solid #c2c4d2;border-radius:50%;width:15px;height:15px;font-family:Georgia,serif;font-size:12px;color:#9b9cb3;flex-shrink:0;margin-top:4px}.workflow-note p{font-size:12px;color:#9b9eaa;margin:0;line-height:1.8}.workflow-note strong{font-weight:500;color:#59616e;margin-right:4px}
label{display:grid;gap:8px;font-size:12px;margin:0 0 16px;color:#676b79}input,select,textarea{width:100%;background:#fff;border:1px solid #dadde7;border-radius:4px;padding:8px;color:#363944;font-size:12px}textarea{min-height:90px;resize:vertical}dialog{width:min(670px,92vw);max-height:90vh;border:1px solid #e3e4ec;border-radius:12px;padding:28px;color:#343641;box-shadow:0 20px 90px #161b3430}dialog::backdrop{background:#20243945;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-heading h2{margin:0;font-size:16px}.dialog-heading button{border:0;font-size:24px;padding:0 8px;color:#9a9ca6}footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.error{color:#ab4149;font-size:12px}#toast{position:fixed;bottom:25px;right:25px;border:1px solid #454755;border-radius:8px;background:#2b2d37;color:#fff;padding:12px 20px;display:none;max-width:85vw;z-index:5;font-size:12px;box-shadow:0 6px 30px #15192d22}.stack{display:grid;gap:16px}.empty{padding:24px;color:var(--muted)}.wide{width:100%}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}code{overflow-wrap:anywhere}table{width:100%;border-collapse:collapse;font-size:12px}td,th{text-align:left;border-bottom:1px solid var(--line);padding:12px 8px}th{color:var(--muted);font-weight:500}.activity{font-size:12px}.activity time{font-size:12px;color:var(--muted);display:block;margin-top:4px}
.video-shell{background:#282a36;border:1px solid #353746;border-radius:8px;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:#d1d2df;text-align:center;overflow:hidden;margin-bottom:20px}.video-shell video{width:100%;height:100%;background:#111}.video-shell .placeholder{padding:20px;font-size:12px;line-height:2}.video-shell .placeholder small{color:#8f92a6;font-size:12px}.choices{display:grid;gap:8px;margin-top:20px}.choices button{text-align:left;justify-content:flex-start;padding:16px 20px;font-weight:500}.choices button:hover{border-color:#aaa9ca;background:#f6f5fa}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;align-items:end}.choice-row label{margin:0}.preview-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px}
@media(min-width:1700px){main{padding-top:44px}.heading{margin-bottom:32px}.video-row{min-height:135px}}
@media(max-width:1250px){aside{width:216px;padding-left:12px;padding-right:12px}.shell{margin-left:216px}main{padding:28px 24px 20px}header{padding:0 24px}.page-footer{padding-left:24px;padding-right:24px}.flow-columns,.video-row{grid-template-columns:minmax(210px,1fr) minmax(215px,1fr) 120px;gap:16px;padding-left:20px;padding-right:20px}.video-info{gap:8px}.video-thumb{width:74px;height:56px}.branch-item{flex-wrap:wrap;gap:4px}.branch-target{font-size:12px}.flow-title h2{font-size:12px}}
@media(max-width:1050px){aside{width:196px}.shell{margin-left:196px}.workspace-switch{font-size:12px}nav a{font-size:12px;gap:8px;padding-left:8px}.brand{padding-left:8px}.brand>span:last-child{font-size:28px}.brand small{font-size:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-columns{display:none}.video-row{grid-template-columns:minmax(220px,1fr) 130px;gap:16px;padding:20px 24px}.branch-list{grid-column:1;grid-row:auto}.video-info{grid-column:1}.video-actions{grid-column:2;grid-row:span 2;align-self:center}.branch-item{justify-content:flex-start;gap:8px}.flow-summary{padding:20px;align-items:flex-start;flex-direction:column;gap:16px}.preview-layout{grid-template-columns:1fr}.heading p{max-width:450px}.heading{align-items:flex-start}.heading>.primary{margin-top:16px}.add-page>span{display:none}}
@media(max-width:700px){aside{position:static;width:100%;height:auto;padding:16px 16px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 16px;padding:0}.brand>span:last-child{font-size:24px}.brand small{display:none}.brand-mark{width:25px;height:25px}.brand-mark:before{top:5px;left:4px}.brand-mark:after{top:7px;right:4px}.workspace-label,.workspace-switch,.aside-note{display:none}nav{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:8px}nav .nav-section{display:none}nav a{white-space:nowrap;font-size:12px;padding:8px 8px;min-height:33px}nav a .icon{width:15px;height:15px}nav a .nav-new{display:none}.shell{margin:0}header{height:56px;padding:0 20px}.header-path{font-size:12px;gap:8px}.header-right{gap:12px}.user-avatar{height:24px;width:24px;font-size:12px}.badge{font-size:12px}main{padding:24px 16px 16px}.eyebrow{font-size:12px}h1{font-size:24px}.heading{flex-direction:column;gap:16px;margin-bottom:20px}.heading p{font-size:12px}.heading>.primary{margin:0;font-size:12px}.grid,.grid.two{grid-template-columns:1fr}.card{padding:20px}.row{align-items:flex-start;flex-direction:column}.tabs{gap:16px}.flow-toolbar{gap:8px;margin-bottom:16px}.flow-toolbar .tabs{max-width:80%}.flow-toolbar .tabs a{font-size:12px}.collection-count{font-size:12px}.flow-summary{padding:20px 16px}.flow-symbol{height:36px;width:34px}.flow-title{gap:8px}.flow-title h2{font-size:12px}.flow-title p{font-size:12px}.preview-button{align-self:stretch;justify-content:center}.video-row{display:grid;grid-template-columns:minmax(0,1fr);padding:20px 16px;gap:12px}.video-info{gap:12px;grid-column:auto}.video-thumb{width:81px;height:56px}.page-index{font-size:12px}.video-name h3{font-size:12px}.video-kind{font-size:12px}.branch-list{grid-column:auto;padding-left:28px;gap:8px}.branch-item{justify-content:space-between;font-size:12px}.branch-target{font-size:12px;max-width:54%;white-space:normal}.video-actions{flex-direction:row;justify-content:space-between;grid-column:auto;grid-row:auto;padding-left:28px;border-top:1px dashed #eeeef4;padding-top:12px}.video-actions button{font-size:12px}.add-page{padding:16px 16px}.add-page button{width:100%}.workflow-note{margin-top:16px}.workflow-note p{font-size:12px}.page-footer{padding:16px 20px;font-size:12px;letter-spacing:.8px}.page-footer span{display:none}.choice-row{grid-template-columns:1fr}.actions{gap:8px}.preview-layout{gap:0}}
/* Working text stays readable; small type is reserved for decorative metadata. */
nav a{font-size:12px}.nav-section{font-size:12px;color:#59616e}.workspace-switch{font-size:12px}.header-path{font-size:12px}.heading p{font-size:12px;color:#59616e}.card p{font-size:12px}.flow-title h2{font-size:16px}.flow-title p{font-size:12px;color:#59616e}.flow-columns{font-size:12px;color:#59616e}.video-name h3{font-size:14px}.video-detail{font-size:12px;color:#59616e}.video-kind{font-size:12px;color:#59616e}.branch-item{font-size:12px}.branch-item>span:first-child{color:#626a7a}.branch-target{font-size:12px;color:#59616e}.video-actions button{font-size:12px}.text-link{font-size:12px;color:#59616e}.page-index{font-size:12px;color:#59616e}.preview-button{font-size:12px}.add-page button{font-size:12px}.add-page>span{font-size:12px;color:#59616e}.workflow-note p{font-size:12px;color:#59616e}.collection-count{font-size:12px;color:#787f8e}.tabs a{font-size:12px}.flow-toolbar .tabs a{font-size:12px}
@media(min-width:1051px){.video-row{min-height:133px}}
@media(max-width:1250px) and (min-width:1051px){.flow-columns,.video-row{grid-template-columns:minmax(230px,1fr) minmax(190px,1fr) 140px;gap:16px}.branch-target{font-size:12px}.branch-item{font-size:12px}}
@media(max-width:700px){nav a{font-size:12px}.header-path{font-size:12px}.heading p{font-size:12px}.flow-title h2{font-size:14px}.flow-title p{font-size:12px}.flow-toolbar .tabs a{font-size:12px}.video-name h3{font-size:14px}.video-detail{font-size:12px}.branch-item{font-size:12px}.branch-target{font-size:12px}.video-actions button{font-size:12px}.text-link{font-size:12px}.workflow-note p{font-size:12px}.video-row{padding-top:24px;padding-bottom:24px}.video-info{gap:12px}}

/* Shared control and text rhythm, checked at desktop and 320px. */
:root{--muted:#626976}button,.button{font-size:14px;min-height:44px;gap:8px;border-radius:4px}input,select,textarea{font-size:14px;min-height:44px;padding:12px;border-radius:4px}.card{border-radius:8px}.nav-section,.eyebrow,.page-footer{letter-spacing:normal}.heading p,.card p,.card a:not(.button):not(.step){font-size:14px;line-height:1.75}.page-footer,.page-footer span,.pill,.eyebrow{font-size:12px}.pill{padding:4px 8px}h1,h2,h3{font-weight:600}:focus-visible{outline:3px solid #4455b9;outline-offset:4px}@media(max-width:720px){.heading p,.heading>.primary{font-size:14px}.page-footer{font-size:12px}}
