[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{padding:10px 16px;border:1px solid #cbbda9;border-radius:5px;background:#fffdf8;color:#4b3430;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:#751c29;color:white;border-color:#751c29}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #af873e;outline-offset:3px}.login-shell{max-width:620px;margin:45px auto;padding:0 24px;text-align:center}.login-logo{width:135px;height:135px;object-fit:contain;mix-blend-mode:multiply}.login-shell h1{font-size:44px}.login-shell .primary{margin:14px 0}.muted,small{color:#74685d;font-size:13px}.account{display:flex;gap:15px;align-items:center;font-size:12px}.studio-main{padding:40px 0}.studio-title{display:flex;justify-content:space-between;align-items:center;gap:30px}.studio-title h1{font-size:43px}.studio-title>p{color:#74685d;font-size:14px}.environment{display:flex;flex-wrap:wrap;gap:20px;padding:14px 18px;background:#efe9dd;border-radius:6px;font-size:13px;margin:10px 0 26px}.environment span{color:#74685d}.studio-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:28px}.panel,.workspace{border:1px solid #ded4c4;border-radius:9px;background:#fffdf8;padding:22px}.panel{margin-bottom:22px}.panel h2,.workspace h2{font-size:25px;margin-bottom:16px}.panel p{font-size:13px}label{display:block;font-size:13px;margin:14px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:9px 10px;border:1px solid #cbbda9;background:white;border-radius:4px;color:#342d2b;margin-top:6px}input[type=file]{font-size:12px}.panel .primary{width:100%;margin-top:15px}textarea{min-height:140px;resize:vertical;line-height:1.8}.empty{padding:25px 8px}.empty ol{line-height:2.1}.source-item{display:block;width:100%;text-align:left;margin-bottom:9px;overflow-wrap:anywhere}.source-item small{display:block}.source-item[aria-pressed=true]{border-color:#751c29;background:#f7eae9}.draft-header{display:flex;justify-content:space-between;align-items:start;gap:15px}.draft-header a{font-size:12px}.steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}.steps li{font-size:12px;padding:6px 9px;background:#eee8dc;border-radius:4px}.steps li.current{background:#751c29;color:white}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.notice{padding:14px;background:#fff0d1;border-left:3px solid #aa8027;margin:16px 0;font-size:13px}.notice ul{padding-left:20px}.paragraph{white-space:pre-wrap;overflow-wrap:anywhere;padding:7px 0;border-bottom:1px solid #eee6da}.paragraph small{display:block}details{margin:20px 0}summary{cursor:pointer;font-weight:600}.passage{padding:17px 0;border-bottom:1px solid #ded4c4}.passage-head{display:flex;align-items:center;gap:14px;justify-content:space-between}.passage-head label{margin:0}.passage-head input[type=number]{width:85px}.check{display:flex;gap:10px;align-items:center}.check input{width:18px;height:18px;flex-shrink:0}.review-heading{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:15px}.review-heading h3{margin:0}#status{margin:14px 0;font-size:14px;overflow-wrap:anywhere}.package-card{padding:18px;background:#e8f0e6;margin-top:20px;border-radius:6px}.package-card a{display:block;margin:10px 0}.error{color:#a12424}
@media(max-width:900px){.studio-grid{grid-template-columns:1fr}.studio-title{display:block}.account{flex-wrap:wrap;justify-content:flex-end}.draft-header{flex-wrap:wrap}.studio-title h1{font-size:36px}.workspace{padding:18px}.review-heading{flex-wrap:wrap}}@media(max-width:450px){.masthead{gap:15px;flex-wrap:wrap}.login-shell h1{font-size:34px}.account{justify-content:flex-start}.passage-head{flex-wrap:wrap}}

.workflow-steps{display:flex;gap:20px;list-style:none;padding:0;overflow-x:auto}.workflow-steps li{flex:1;min-width:110px;position:relative}.workflow-steps li+li::before{content:'→';position:absolute;left:-18px;top:20px;color:#9b793b}.workflow-steps button{width:100%;height:100%;text-align:left;padding:12px 10px}.workflow-steps strong,.workflow-steps small{display:block}.workflow-steps button[aria-pressed=true]{border:2px solid #751c29;background:#f4e7dc}.step-detail{padding:18px;background:#f5f0e7;border-radius:8px;margin:18px 0;overflow-wrap:anywhere}.step-detail h3{margin:0}.step-detail p{font-size:14px}#capability{margin:14px 0}

.review-toolbar{padding:12px 16px;background:#f5f0e7;border-radius:6px}.review-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.review-passages{max-height:65vh;overflow-y:auto;padding:0 12px;border:1px solid #ded4c4;border-radius:6px;overscroll-behavior:contain}

#source-intake{margin:0}#source-intake>summary{font-size:20px}#mapping-result{overflow-wrap:anywhere}

.timing-rows{max-height:60vh;overflow:auto}.timing-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px;border-bottom:1px solid #ded4c4}.timing-row strong{flex-basis:100%}.timing-row label{width:130px;margin:4px}.timing-active{background:#ffe7a6;outline:2px solid #aa8027}.step-detail audio{max-width:100%}

.batch-counts{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.batch-counts span{padding:8px;background:#e9e2d5;border-radius:5px}.batch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;max-height:45vh;overflow:auto}.batch-card{padding:12px;border:1px solid #ded4c4;border-radius:5px}.batch-card p{margin:8px 0}

.guided-review:empty{display:none}.guided-review{margin:1rem 0;padding:1.25rem;border:1px solid #d9cbb8;border-radius:12px;background:#fffdf8}.guided-review audio{display:block;width:100%;max-width:540px;margin:1rem 0}.guided-review button{margin:.3rem}.guided-words{font-size:1.6rem;line-height:2;overflow-wrap:anywhere}.guided-words mark{background:#fff0bc;border-bottom:2px solid #926710;border-radius:3px}.guided-words .timing-active{background:#77172c;color:white}

.feature-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1rem}.feature-cards .step-detail{margin:0}.feature-cards a{display:block;margin-top:1rem}#advanced-workflow{margin-top:1.5rem}

.feature-cards>button{grid-column:1/-1;justify-self:start;align-self:start}.feature-cards h4{margin-top:0}
