.otto-page,.otto-workspace{min-width:0}.otto-page h2,.otto-workspace h2{font-size:1.25rem;font-weight:750;margin:0 0 .4rem}.otto-page h3,.otto-workspace h3{font-size:1.05rem;font-weight:700}.otto-intro p{max-width:85ch}.otto-section{margin:12px 0;padding:16px}.otto-section>summary{cursor:pointer;font-size:1.1rem;font-weight:700}.otto-section>summary+*{margin-top:16px}.otto-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px;margin:16px 0}.otto-field,.otto-fields>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:600}.otto-field input[type=checkbox]{align-self:flex-start;width:22px;height:22px}.otto-field small{font-size:.85rem;font-weight:400;opacity:.85;line-height:1.4}.otto-field input,.otto-field select{width:100%;box-sizing:border-box;min-width:0}.otto-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.otto-toolbar>div:first-child{flex:1}.otto-workspace{padding:20px;margin:0 0 16px;border:1px solid var(--line,#70916b)}.otto-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.otto-summary>div{padding:12px;border:1px solid var(--line,#70916b);border-radius:10px;display:flex;align-items:center;gap:10px}.otto-summary strong{font-size:1.8rem}.otto-summary span{font-size:.9rem}.otto-list{max-height:440px;overflow:auto;overscroll-behavior:contain}.otto-proposal{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line,#70916b)}.otto-proposal>div{min-width:0}.otto-proposal span,.otto-proposal strong{display:block;overflow-wrap:anywhere}.otto-proposal label{font-size:.85rem;min-width:140px}.otto-proposal select{max-width:100%}.otto-table-wrap{overflow:auto;max-height:440px}.otto-table-wrap table{width:100%;border-collapse:collapse}.otto-table-wrap th,.otto-table-wrap td{text-align:left;padding:8px}.otto-history{display:block;margin:8px 0}.otto-progress{padding:20px;margin:14px 0;background:color-mix(in srgb,var(--accent,#799a56),transparent 88%);border-radius:12px}.otto-error{padding:14px;border-left:4px solid #c76843}.otto-plan-button{white-space:normal}.otto-reset{margin-top:8px}.otto-workspace .otto-section{padding:12px 0}.otto-copy,.otto-page select{max-width:100%}
@media(max-width:700px){.otto-workspace{padding:12px}.otto-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.otto-summary>div{padding:8px;gap:7px}.otto-summary strong{font-size:1.4rem}.otto-proposal{align-items:flex-start;flex-direction:column;gap:8px}.otto-proposal>label{display:flex;align-items:center;gap:8px}.otto-section{padding:12px}.otto-toolbar .btn{flex-grow:1}.otto-fields{gap:14px}}
@media(max-width:700px){.otto-workspace>header.otto-toolbar>div:first-child{flex:1 0 100%;width:100%;min-width:0}}

.otto-quality{border:1px solid var(--line,#70916b);border-radius:12px;padding:14px;margin:16px 0}.otto-quality h3{margin:0}.otto-total-score{font-size:1.7rem;font-weight:750}.otto-quality ul{padding-left:1.3em}.otto-person-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:5px}.otto-person-link{font:inherit;font-weight:700;text-align:left;white-space:normal;overflow-wrap:anywhere}.otto-score{font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0}.otto-assessment{max-width:680px;max-height:90dvh;overflow:auto}.otto-score-checks>div{border-bottom:1px solid var(--line,#70916b);padding:10px 0}.otto-score-checks p{margin:5px 0}.otto-assessment .sheet-body{overflow-wrap:anywhere}.otto-assessment details{margin:15px 0}.otto-assessment .sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.otto-assessment h3{margin:0;min-width:0}.otto-assessment [data-close]{flex-shrink:0}@media(max-width:700px){.otto-total-score{font-size:1.5rem}.otto-quality{padding:10px}.otto-assessment{width:calc(100vw - 24px)}}
@media(max-width:700px){.otto-quality .otto-toolbar>div:first-child{flex:1 0 100%;min-width:0}.otto-quality .otto-total-score{white-space:nowrap}}
.otto-review{padding:18px;border:1px solid var(--line);border-radius:12px;margin-top:20px;background:color-mix(in srgb,var(--accent,#799a56),transparent 94%)}.otto-eyebrow{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px}.otto-review h3{font-size:1.25rem;margin:0}.otto-review-state{padding:8px 12px;border:1px solid var(--line);border-radius:18px;font-weight:700;white-space:nowrap}.otto-review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.otto-review-metrics>div{display:flex;flex-direction:column;gap:4px;min-width:0}.otto-review-metrics strong{font-size:1.4rem}.otto-review-metrics span{font-size:.9rem}.otto-live-state{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:.9rem;padding-top:10px;border-top:1px solid var(--line)}.otto-live-state>span{flex:1;min-width:180px}.otto-review-group{border:1px solid var(--line);border-radius:10px;margin:10px 0;padding:12px}.otto-review-group>summary{cursor:pointer;font-weight:700}.otto-review-group>summary strong{float:right;margin-left:10px}.otto-review-items{max-height:520px;overflow:auto;overscroll-behavior:contain}.otto-review-item{border-bottom:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.otto-review-item:last-child{border:0}.otto-review-item p{margin:8px 0;line-height:1.5}.otto-review-item-actions,.otto-trials{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.otto-ack{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.9rem}.otto-ack input{width:20px;height:20px;flex-shrink:0}.otto-certainty{font-size:.8rem;opacity:.8}.otto-comparison{padding:12px 0}.otto-assignment-filter{display:flex;align-items:center;gap:10px;margin:10px 0}.otto-assignment-filter input{min-width:0;max-width:100%}.otto-proposal[hidden]{display:none}.otto-review-groups h3{margin-bottom:8px}
@media(max-width:700px){.otto-review{padding:12px}.otto-review>.otto-toolbar>div:first-child{flex:1 0 100%;min-width:0}.otto-review-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.otto-review-metrics>div{flex-direction:row;align-items:center;gap:7px}.otto-review-metrics strong{font-size:1.15rem;white-space:nowrap}.otto-review-metrics span{font-size:.8rem}.otto-review-group{padding:10px}.otto-review-item-actions{align-items:flex-start}.otto-trials .btn{width:100%}.otto-assignment-filter{flex-wrap:wrap}.otto-review-items{max-height:65dvh}}
.otto-review-limits{margin:10px 0;font-size:.9rem}.otto-review-limits>summary{cursor:pointer;font-weight:600}@media(max-width:700px){.otto-review-metrics>div:nth-child(-n+2){grid-column:1/-1}.otto-review-metrics>div:nth-child(-n+2)>strong{min-width:100px}.otto-review-metrics{gap:9px}.otto-review-metrics span{overflow-wrap:anywhere}}
.otto-simple{padding:18px 0 6px;max-width:800px}.otto-simple h3{font-size:1.4rem;margin:0 0 14px}.otto-simple>p{margin:10px 0;line-height:1.55}.otto-simple-note{margin:18px 0}.otto-simple-actions{margin:14px 0}.otto-simple-actions .btn{font-weight:700}.otto-more,.otto-setup{padding:12px 0;border-top:1px solid var(--line);margin-top:12px}.otto-more>summary,.otto-setup>summary{cursor:pointer;font-weight:600;font-size:.95rem}.otto-setup>div{margin-top:12px}.otto-note-dialog{max-width:640px;max-height:88dvh;overflow:auto}.otto-note-dialog .sheet-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.otto-note-dialog .sheet-head h3{margin:0}.otto-note-dialog blockquote{margin:12px 0 22px;padding:12px 16px;border-left:3px solid var(--accent,#dbb144);background:color-mix(in srgb,var(--accent,#dbb144),transparent 94%);white-space:pre-wrap;overflow-wrap:anywhere}.otto-note-dialog details{margin:14px 0}.otto-note-dialog .sheet-body{overflow-wrap:anywhere}.otto-note-dialog button{white-space:normal}#ottoReadNotes[hidden],#ottoApply[hidden]{display:none}@media(max-width:700px){.otto-simple h3{font-size:1.2rem}.otto-simple{padding-top:16px}.otto-note-dialog{width:calc(100vw - 24px)}.otto-note-dialog .sheet-head>div{min-width:0}.otto-note-dialog .sheet-head>[data-close]{flex-shrink:0}.otto-note-dialog .otto-toolbar .btn{width:100%}}

/* OTTO 1.6.5: one compact overview and an actual draft editor. */
.otto-workspace>header{justify-content:space-between;margin:0 0 10px}.otto-workspace>header h2{margin:0}.otto-overview{padding:0 0 6px}.otto-overview h3{font-size:1.2rem;margin:18px 0 8px}.otto-overview p{margin:6px 0}.otto-overview #ottoFeedback:empty{display:none}.otto-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.otto-metrics>div,.otto-metric-score{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;min-width:0}.otto-metrics strong{font-size:1.3rem;font-weight:750;white-space:nowrap}.otto-metrics span{font-size:.86rem}.otto-metric-score{border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}.otto-more,.otto-setup{border-top:1px solid var(--line);margin:12px 0 0;padding:12px 0 0}.otto-more>summary,.otto-setup>summary{font-size:.94rem;cursor:pointer;font-weight:650}.otto-workspace #ottoInspect{max-height:480px;overflow:auto;padding-right:4px}.otto-crew-row,.otto-change,.otto-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.otto-crew-row>div,.otto-change>div,.otto-candidate>div{min-width:0}.otto-crew-row small,.otto-change small,.otto-candidate small,.otto-resolver-shift small{display:block;line-height:1.5}.otto-change-tag{font-size:.85rem;min-width:75px}.otto-crew-row .btn,.otto-candidate .btn{flex-shrink:0}.otto-resolver{width:min(860px,calc(100vw - 24px));max-width:860px;max-height:92dvh;display:flex;flex-direction:column;padding:0;overflow:hidden}.otto-resolver>.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.otto-resolver h3{margin:0;font-size:1.2rem}.otto-resolver h4{margin:8px 0 12px;font-size:1.12rem}.otto-resolver>.sheet-body{padding:16px 20px;overflow:auto;min-height:0;overscroll-behavior:contain}.otto-resolver .otto-step{font-size:.84rem;opacity:.8;margin:0 0 8px}.otto-resolver .otto-reason{margin:12px 0}.otto-resolver .otto-reason li{margin:8px 0;line-height:1.5}.otto-resolver-shift{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.otto-resolver-shift strong{font-weight:700}.otto-resolver-shift select{max-width:100%}.otto-resolver .otto-toolbar{margin:10px 0}.otto-resolver blockquote{margin:12px 0;padding:12px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent),transparent 94%);white-space:pre-wrap;overflow-wrap:anywhere}.otto-note-shifts{max-height:220px;overflow:auto;font-size:.9rem}.otto-fact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:color-mix(in srgb,#d19744,transparent 88%);border-radius:8px;padding:10px}.otto-fact span{font-size:.9rem}.otto-field-help{font-size:.85rem;font-weight:400;margin:5px 0}.otto-field-help summary{cursor:pointer}.otto-field-help p{line-height:1.5}.otto-resolver .btn[hidden]{display:none}.otto-workspace [aria-pressed=true]{border-color:var(--accent)}
@media(max-width:700px){.otto-metrics{gap:7px}.otto-metrics strong{font-size:1.1rem}.otto-metrics span{font-size:.77rem}.otto-metrics>div,.otto-metric-score{align-content:start;align-items:start;flex-direction:column;gap:3px}.otto-resolver>.sheet-head,.otto-resolver>.sheet-body{padding:12px}.otto-candidate{flex-wrap:wrap}.otto-resolver .otto-toolbar .btn{flex-basis:auto;width:auto}.otto-crew-row .btn{max-width:125px;white-space:normal}.otto-crew-row .name-link{overflow-wrap:anywhere}.otto-more .otto-toolbar{gap:6px}.otto-more .otto-toolbar .btn{font-size:.83rem;padding:7px 9px}.otto-resolver [data-close]{flex-shrink:0}.otto-workspace>header.otto-toolbar>h2{flex:1}.otto-overview h3{font-size:1.1rem}}
.otto-workspace>header.otto-toolbar .btn{flex:0 0 auto}.otto-workspace>header h2{white-space:nowrap;font-size:1.12rem}.otto-workspace>.otto-setup{padding-top:8px;margin-top:8px}.otto-workspace .otto-more>summary,.otto-workspace>.otto-setup>summary{padding-top:8px;padding-bottom:8px;min-height:0}.otto-resolver-shift .otto-toolbar{margin:8px 0 0}.otto-resolver-shift>.otto-toolbar .btn{font-weight:650}

.otto-gap-card{padding:.65rem 0;border-bottom:1px solid var(--line)}.otto-gap-card p{margin:0 0 .4rem}.otto-gap-reason{margin:.6rem 0}.otto-gap-reason p{margin:.25rem 0 .65rem;overflow-wrap:anywhere}.otto-comparison>div{display:grid;grid-template-columns:minmax(0,1fr) 4.5rem 4.5rem;gap:.4rem;padding:.45rem 0;border-bottom:1px solid var(--line)}.otto-comparison>div>:not(:first-child){text-align:right}.otto-progress small{display:block;margin-bottom:.6rem}

.offline-readiness{display:block;max-width:100%;margin:.4rem 0 .65rem;padding:.35rem .65rem;border:1px solid var(--line,#777);border-radius:8px;background:var(--bg2,#fff);color:var(--text,#222);font:inherit;font-size:.8rem;line-height:1.35;text-align:left;cursor:pointer;overflow-wrap:anywhere}.offline-readiness[hidden]{display:none}.offline-readiness[data-status="error"]{border-color:#b78132}

@media(max-width:700px){.otto-more>.otto-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.otto-more>.otto-toolbar .btn{width:100%;min-width:0;white-space:normal;line-height:1.25}.otto-more>.otto-toolbar .btn:last-child{grid-column:1/-1}}
