/* Structural adapters only. Visual components, fonts and tokens: supplied ovmq.css. */
.cf-root{display:flex;flex-direction:column;gap:var(--ov-s5);min-width:0;container:page / inline-size;font-family:var(--ov-font)}
.cf-root [hidden]{display:none!important}.cf-root #cf-content{min-width:0;gap:var(--ov-s5)}
.cf-actions{display:flex;gap:var(--ov-s2);flex-wrap:wrap}.cf-actions>.ov-btn{flex:1;min-width:140px}.cf-wide{width:100%}
.cf-pages{margin:0}.cf-photo{min-width:0}.cf-photo .ov-ptile-more{width:44px;height:44px}
.cf-photo-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--ov-s2)}.cf-photo-actions label{display:flex;align-items:center;gap:var(--ov-s2);min-height:44px}.cf-photo-actions input{width:24px;height:24px}
.cf-selection{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ov-s2)}
.cf-root .cf-draft-card{grid-template-columns:56px minmax(0,1fr) 44px}.cf-root .cf-draft{display:flex;flex-direction:row;align-items:center;gap:var(--ov-s3);border:0;background:none;text-align:left;font:inherit;min-width:0;cursor:pointer;padding:0;min-height:56px}.cf-draft>span:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ov-s1);min-width:0;overflow-wrap:anywhere}.cf-draft small{font-size:var(--ov-fs-xs)}
#cf-drafts{display:grid;gap:var(--ov-s3)}.cf-draft-options{align-self:start;max-width:100%}.cf-draft-options[open]{grid-column:1/-1}.cf-placeholder{display:grid;place-items:center;height:100%}
.cf-root .cf-draft-card>.cf-draft{grid-column:1/3;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:var(--ov-s3);width:100%}
.cf-root .cf-draft-card .ov-capcard-main{width:100%}.cf-draft-badges{gap:var(--ov-s1)}
.cf-draft-options>summary.ov-capcard-more{width:44px;height:44px;min-height:44px;padding:0;justify-content:center}
.cf-draft-options[open]>summary{margin-left:auto}.cf-draft-menu{padding-block:var(--ov-s2)}
.cf-notice-body{display:flex;flex-direction:column;align-items:flex-start;gap:var(--ov-s2);min-width:0}.cf-notice-body p,.cf-connection-state p{margin:0}
.cf-root #cf-account:empty{display:none}.cf-root #cf-account>.ov-stack{gap:var(--ov-s4)}
.cf-root #cf-account .ov-row>.ov-ico:last-child{flex:none;width:20px;height:20px;color:var(--ov-ink-3)}
.cf-root .cf-draft-options>summary .ov-ico{width:20px;height:20px}
.cf-connection-state .ov-badge{align-self:flex-start}
.cf-draft-card>[data-checkpoint-controls],.cf-draft-card>.cf-draft-options[open]{grid-column:1/-1}
.cf-next{width:100%;margin-top:auto}.cf-root .cf-next{position:sticky;inset-inline:auto;max-width:100%;padding-inline:0}.cf-has-next{padding-bottom:var(--ov-s5)}
.cf-item{display:flex;align-items:center;justify-content:space-between;gap:var(--ov-s3);min-width:0}.cf-item>*{min-width:0;overflow-wrap:anywhere}.cf-item-price{display:flex;flex-direction:column;align-items:flex-end;gap:var(--ov-s1);text-align:right}.cf-menu-preview{padding-block:0}.cf-item .ov-price{white-space:normal}
.cf-label{margin-block:var(--ov-s4)}.cf-label>input,.cf-label>select{margin:0}.cf-root dialog{width:calc(100% - 32px);max-width:480px;max-height:85dvh;overflow:auto;padding:var(--ov-s4);border:1px solid var(--ov-line);border-radius:var(--ov-r-lg);background:var(--ov-bg);color:var(--ov-ink);font:inherit}.cf-root dialog::backdrop{background:rgb(0 0 0 / .45)}
.cf-root #cf-undo{align-self:start}.cf-root #cf-more-content{display:flex;flex-direction:column;gap:var(--ov-s2)}
.cf-root :is(#cf-account a,.cf-actions a){min-height:44px;display:inline-flex;align-items:center}.cf-root #cf-contact-panel{display:flex;flex-direction:column;gap:var(--ov-s3)}
@container page (min-width:480px){.cf-root .ov-actions{flex-direction:row}.cf-root .ov-actions>*{flex:1}}

.cf-menu-preview>.cf-item+.cf-item{border-top:1px solid var(--ov-line)}

.cf-draft-options>summary::after{display:none}.cf-item{padding:var(--ov-s3) var(--ov-s4);min-height:52px}.cf-taskbar{width:100%;max-width:var(--ov-maxw);margin-inline:auto;min-height:56px}.cf-taskbar .ov-logo{width:32px;height:32px}

.cf-root :is(h1,h2,h3,h4,p,button,input,select,textarea,summary,label,span,small,strong,a){font-family:var(--ov-font)}

.cf-draft>span:first-child{flex:none}.cf-draft>span:last-child{flex:1}

/* Neutralize native fieldset geometry; visual choices use supplied ov-check/ov-field. */
.cf-currency-pages{border:0;padding:0;margin:0;min-width:0}.cf-task-footer{flex:none}

.cf-taskbar .ov-logo img{display:block;width:100%;height:100%;object-fit:contain}

/* Preserve the normal reference row; allow enlarged text and intrinsic content to flow. */
.cf-root .cf-item{flex-wrap:wrap}.cf-root .cf-item> :first-child{flex:1 1 0;overflow-wrap:anywhere}.cf-root .cf-item>.cf-item-price{flex:0 0 auto;max-width:100%}.cf-root .cf-item .ov-price,.cf-root .cf-item .ov-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}.cf-root .cf-item .ov-badge{min-width:0}
@container page (max-width:18em){.cf-root .cf-item{align-items:flex-start}.cf-root .cf-item> :first-child{flex-basis:100%}.cf-root .cf-item>.cf-item-price{align-items:flex-start;text-align:left}}
.cf-root .ov-group{width:100%}.cf-root .ov-addon{min-height:44px}

/* Status labels remain readable in narrow cards with enlarged text. */
.cf-root .cf-draft .ov-badge{min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
@container page (max-width:14em){.cf-root .cf-draft{flex-wrap:wrap;align-items:flex-start}.cf-root .cf-draft>span:last-child{flex-basis:100%}}
@container page (max-width:20em){.cf-root .cf-draft-card .ov-capcard-name{-webkit-line-clamp:unset;display:block}.cf-root .cf-draft-card .ov-badge{overflow-wrap:anywhere}}
