/* v245: One measured mobile control system. Presentation only; no record changes. */
body{--op-action-size:22px;--op-action-height:88px;--op-action-art:52px}
/* Crisp engraved type: one edge, not stacked/glowing copies of the letters. */
body #app :is(button,label)[data-op-control],body #panel #panelBody :is(button,a)[data-op-control],body #operatorFooter.app-footer :is(button,a)[data-op-control]{font-family:Georgia,'Times New Roman',serif!important;font-weight:700!important;font-size:var(--op-action-size)!important;line-height:1.22!important;letter-spacing:0!important;text-shadow:0 1px 0 #020713!important;-webkit-text-stroke:0!important;filter:none;}
body #app :is(button,label)[data-op-control=gold]{text-shadow:0 1px 0 #fff2ca!important;}
body #app :is(button,label)[data-op-mark],body #app :is(.publishing-desk,.decision-workspace,.notes-workspace) :is(button,label)[data-op-mark],body #panel #panelBody :is(button,a)[data-op-mark],body #operatorFooter.app-footer :is(button,a)[data-op-mark],body #app .decision-workspace .decision-footnote .decision-actions>[data-op-control]{display:grid!important;grid-template-columns:var(--op-action-art) minmax(0,1fr)!important;align-items:center!important;justify-content:stretch!important;gap:12px!important;min-height:var(--op-action-height)!important;padding:14px 18px!important;text-align:left!important;overflow-wrap:normal!important;word-break:normal!important;width:100%;}
body .op-command-art,body #app :is(.publishing-desk,.decision-workspace,.notes-workspace) .op-command-art,body #app .publishing-desk .pp-entry-grid button .op-command-art{position:static!important;transform:none!important;translate:none!important;width:var(--op-action-art)!important;height:48px!important;max-width:100%!important;object-fit:contain!important;}
body .op-command-label{min-width:0;overflow-wrap:normal!important;word-break:normal;text-wrap:pretty;font:inherit!important;}
/* Peer CTA rows have equal tracks and matching artwork, labels, and arrow slots. */
body #app .decision-workspace .decision-hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:14px!important;}
body #app .decision-workspace .decision-hero-actions>button{display:grid!important;grid-template-columns:52px minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important;min-height:100px!important;height:100%!important;width:100%!important;padding:16px!important;font:700 22px/1.22 Georgia,serif!important;text-align:left!important;}
body #app .decision-workspace .decision-hero-actions>button>.decision-relief-icon{width:52px!important;height:48px!important;}
body #app .decision-workspace .decision-hero-actions>button>span:last-child{font:400 25px/1 Georgia,serif!important;}
body #app .decision-workspace .decision-entrances>button{min-height:126px!important;font-size:22px!important;grid-template-columns:52px minmax(0,1fr) 18px!important;padding:18px!important;gap:12px!important;}
body #app .decision-workspace .decision-entrances strong{font:700 24px/1.22 Georgia,serif!important;letter-spacing:0!important;text-shadow:0 1px #020713!important;}
/* Every section remains visible. No horizontal rails or clipped next-tab hints. */
body #app .decision-workspace .decision-nav,body #app .notes-workspace .notes-nav,body #app .op-poker-nav,body #app .ot-tabs,body #app .publishing-desk .pp-workspaces{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;overflow:visible!important;scroll-snap-type:none!important;gap:12px!important;margin-inline:0!important;padding:12px!important;}
body #app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button,body #app .op-poker .op-poker-nav button[data-op-control],body #app .publishing-desk .pp-workspaces button[data-op-control]{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:none!important;width:100%!important;min-width:0!important;min-height:100px!important;height:100%!important;padding:12px 8px!important;font:700 18px/1.2 Georgia,serif!important;text-align:center!important;white-space:normal!important;scroll-snap-align:none!important;}
body #app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button:last-child{grid-column:auto!important;}
body #app :is(.decision-nav-seal,.notes-nav .notes-seal){width:52px!important;height:42px!important;}
body #app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces) .op-command-art{width:52px!important;height:42px!important;}
/* Utility header never receives large action-card art or loses its visible label. */
body header.global{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;padding:22px 24px!important;gap:20px!important;min-height:0!important;}
body .global .brand{min-width:0!important;max-width:360px!important;}
body .global .header-lockup{width:100%!important;max-width:300px!important;height:auto!important;}
body .global .global-actions{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:10px!important;}
body .global .global-actions button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:88px!important;min-height:46px!important;height:auto!important;padding:10px 12px!important;font:700 15px/1.2 Georgia,serif!important;}
body .global .global-actions button>span{display:inline!important;}
body .global .global-actions .op-command-art{display:none!important;}
body .global .prototype{display:none!important;}
/* Brand rendering is contained, never stretched. Text is available if an image fails. */
body .lanes .lane .nav-brand-art{transform:none!important;filter:none!important;}
body #app .decision-brandline.decision-book-brand>img{filter:none!important;max-width:390px!important;}
body #lanes.lanes .op-brand-failed .nav-lane-lockup,body #lanes.lanes .op-brand-failed .lane-label{display:none!important;}
body #lanes.lanes .op-brand-fallback{font:700 17px/1.15 Georgia,serif!important;color:#ffe5ac!important;text-shadow:0 1px #000;}
/* Footer peers use the same text treatment, including external links and directory. */
body #operatorFooter.app-footer .footer-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:14px!important;}
body #operatorFooter.app-footer .footer-quick>*{min-height:88px!important;height:100%!important;font:700 22px/1.22 Georgia,serif!important;padding:14px 18px!important;text-align:left!important;}
body #operatorFooter .footer-amazon-copy{font:inherit!important;}
body #operatorFooter .footer-amazon-arrow{font-variant-emoji:text;}
body #operatorFooter :is(.operator-tool-directory-link,a[href="/operator-tools"],a[href="operator-tools"]){display:flex!important;align-items:center;justify-content:center;min-height:64px!important;margin-top:18px!important;padding:14px 20px!important;border:1px solid #d6b674!important;border-radius:16px 5px!important;background:var(--op-enamel)!important;color:#ffe5ac!important;font:700 22px/1.22 Georgia,serif!important;text-decoration:none!important;box-shadow:var(--op-rim)!important;}
@media(max-width:760px){
 body #app .decision-workspace .decision-hero-actions{grid-template-columns:minmax(0,1fr)!important;}
 body #app .decision-workspace .decision-nav,body #app .notes-workspace .notes-nav,body #app .op-poker-nav,body #app .ot-tabs,body #app .publishing-desk .pp-workspaces{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 body header.global{grid-template-columns:minmax(0,1fr)!important;padding:20px 18px!important;gap:14px!important;}
 body .global .brand{max-width:280px!important;justify-self:center;}
 body .global .global-actions{justify-content:center!important;flex-wrap:nowrap!important;width:100%;}
 body .global .global-actions button{flex:1!important;max-width:180px!important;}
 body #operatorFooter.app-footer .footer-quick{grid-template-columns:1fr!important;}
}
@media(max-width:380px){body{--op-action-size:20px;--op-action-art:44px;}body #app .decision-workspace .decision-hero-actions>button{font-size:20px!important;grid-template-columns:44px minmax(0,1fr) 16px!important;}body #lanes.lanes .op-brand-fallback{font-size:14px!important;}}
body .global .global-actions button#moreButton,body .global .global-actions button#settingsButton,body .global .global-actions button#voiceLaunch{font:700 15px/1.2 Georgia,serif!important;min-height:46px!important;padding:10px 8px!important;white-space:normal!important;}
body #panel #panelBody a[href="operator-tools"]{display:flex!important;align-items:center;justify-content:center;min-height:72px!important;width:100%!important;padding:16px 20px!important;border:1px solid #d6b674!important;border-radius:16px 5px!important;background:var(--op-enamel)!important;color:#ffe5ac!important;-webkit-text-fill-color:#ffe5ac!important;font:700 22px/1.22 Georgia,serif!important;text-decoration:none!important;box-shadow:var(--op-rim)!important;}
body #app :is(.decision-hero-actions,.decision-entrances) [aria-hidden=true]{font-variant-emoji:text;}
/* Highest-specificity header rules counter older lane-theme overrides. */
body[data-lane] header.global .global-actions :is(button#moreButton,button#settingsButton,button#voiceLaunch){font:700 15px/1.2 Georgia,serif!important;min-height:46px!important;height:auto!important;padding:10px 8px!important;text-shadow:0 1px #000!important;}
body #app .decision-workspace .decision-nav,body #app .notes-workspace .notes-nav,body #app .op-poker-nav,body #app .ot-tabs,body #app .publishing-desk .pp-workspaces{grid-auto-rows:1fr!important;}
/* Two generous lane columns keep original wordmarks legible on narrow phones. */
@media(max-width:480px){body #lanes.lanes{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body #lanes.lanes .lane{min-height:76px!important;}body #lanes.lanes .nav-lane-lockup{padding:0!important;}body #lanes.lanes .nav-lane-lockup>img.nav-brand-art{max-height:58px!important;}}
/* Keep cover typography out of the page backdrop; the branded hero remains intact. */
body[data-lane=publishing][data-theme=dark]::before{background:radial-gradient(ellipse at 75% 25%,#1354d05c,transparent 60%),radial-gradient(ellipse at 15% 75%,#c9962826,transparent 55%),#04091a!important;}
@media(max-width:760px){body #app .ot-actions,body #app .pp-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:1fr;gap:12px!important;}body #app .ot-actions>*,body #app .pp-actions>*{width:100%!important;min-width:0!important;}}
@media(max-width:480px){body #lanes.lanes{position:relative!important;top:auto!important;}}
body[data-lane] #operatorFooter.app-footer .footer-quick :is(a,button#aboutApp){font:700 22px/1.22 Georgia,serif!important;letter-spacing:0!important;text-shadow:0 1px #000!important;}
body[data-lane] #operatorFooter.app-footer #exploreConnectToggle{display:grid!important;grid-template-columns:44px minmax(0,1fr) 18px!important;gap:12px!important;padding:16px!important;}
body[data-lane] #operatorFooter.app-footer #exploreConnectToggle .connect-compass{width:44px!important;height:44px!important;}
body[data-lane] #operatorFooter.app-footer #exploreConnectToggle .connect-copy strong{font:700 22px/1.22 Georgia,serif!important;letter-spacing:0!important;overflow-wrap:normal!important;}
body #operatorFooter #connectActionLabel{display:none!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick>:is(a,button#aboutApp){padding:14px!important;grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick .op-command-label{width:100%!important;text-align:left!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick>a:has(.footer-amazon-copy){grid-template-columns:44px minmax(0,1fr) 16px!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick>:is(a,button#aboutApp):has(.footer-amazon-copy){grid-template-columns:44px minmax(0,1fr) 16px!important;}
body #panel #panelBody .app-menu-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:1fr!important;gap:12px!important;}
body #panel #panelBody :is(button,a)[data-op-control]{min-height:104px!important;font-size:var(--op-action-size)!important;}
body #panel #panelBody a[href="operator-tools"]{min-height:104px!important;font-size:var(--op-action-size)!important;}
body[data-lane] header.global .global-actions{align-items:stretch!important;}
body[data-lane] header.global .global-actions :is(button#moreButton,button#settingsButton,button#voiceLaunch){align-self:stretch!important;}
/* v247 residual iPhone review: inset whole logo and preserve clear button text. */
body #lanes.lanes .lane[data-lane=decision] .nav-lane-lockup{padding:4px!important;}
body #app .decision-workspace .decision-footnote .decision-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:1fr!important;gap:14px!important;}
body[data-lane] #app .decision-workspace .decision-footnote .decision-actions>:is(button,label.file-label,a)[data-op-control]{padding:16px!important;grid-template-columns:44px minmax(0,1fr)!important;gap:14px!important;min-height:104px!important;height:100%!important;font:700 20px/1.25 Georgia,serif!important;text-align:left!important;}
body #app .decision-workspace .decision-footnote .decision-actions .op-command-label{text-align:left!important;font:inherit!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick .footer-amazon-arrow{font:400 22px/1 Georgia,serif!important;width:20px!important;justify-self:center!important;text-align:center!important;}
body[data-lane] #operatorFooter.app-footer .footer-quick>:is(a,button#aboutApp):has(.footer-amazon-copy){grid-template-columns:44px minmax(0,1fr) 24px!important;padding-inline:18px!important;}
/* v253: readable multi-step journeys, not compressed horizontal rails. */
body #app .decision-workspace .decision-cycle{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important;scroll-snap-type:none!important;}
body #app .decision-workspace .decision-cycle>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;min-height:88px!important;height:100%!important;padding:14px 8px!important;font:700 20px/1.25 Georgia,serif!important;white-space:normal!important;overflow-wrap:anywhere!important;gap:10px!important;text-align:center!important;}
body #app .decision-workspace .decision-cycle>button>span{font:700 13px/1.2 Manrope,Arial,sans-serif!important;}
@media(max-width:760px){body #app .decision-workspace .decision-cycle{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body #app .decision-workspace .decision-cycle>button:last-child{grid-column:1/-1;}body #app .op-learning-route,body #app .operator-company-views,body #app .operator-research-path{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}body #app .op-learning-route>span,body #app .operator-research-path>li{min-width:0;white-space:normal;overflow-wrap:anywhere;}}
/* Avoid a fixed-width account CTA pushing the connected journal off tablet screens. */
body #app .decision-workspace .decision-sync-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);}
body #app .decision-workspace .decision-sync-bar>*,body #app .decision-workspace .decision-sync-bar button{min-width:0;max-width:100%;}
@media(max-width:600px){body #app .decision-workspace .decision-sync-bar{grid-template-columns:minmax(0,1fr);}}
/* v263: all Poker action groups share a label-friendly responsive grid. */
body #app .op-poker .op-lab-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))!important;grid-auto-rows:1fr;gap:12px!important;align-items:stretch!important;}
body #app .op-poker .op-lab-actions>:is(button,label.op-file)[data-op-control],body #app .op-poker .op-review-card>button[data-op-control]{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;min-width:0!important;max-width:100%!important;width:100%!important;height:100%!important;min-height:88px!important;padding:14px 16px!important;font:700 20px/1.25 Georgia,serif!important;white-space:normal!important;text-align:left!important;}
body #app .op-poker .op-lab-actions .op-command-art,body #app .op-poker .op-review-card>button .op-command-art{width:44px!important;height:44px!important;}
/* Replay transport peers keep their labels inside the same measured controls. */
body #app .ot-workspace .ot-replay-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
body #app .ot-workspace .ot-replay-controls>strong{grid-column:1/-1;grid-row:1;min-width:0;}
body #app .ot-workspace .ot-replay-controls>button[data-op-control]{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:104px!important;padding:12px 8px!important;font:700 18px/1.25 Georgia,serif!important;text-align:center!important;white-space:normal!important;}
body #app .ot-workspace .ot-replay-controls .op-command-art{width:44px!important;height:44px!important;}
body #app .ot-workspace .ot-replay-controls .op-command-label{max-width:100%;overflow-wrap:anywhere!important;}
@media(max-width:760px){body #app .ot-workspace .ot-replay-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
body #app .op-poker .op-lab-actions>:is(button,label.op-file){margin:0!important;}
body #app .op-poker .op-review-card>button[data-op-control]{height:auto!important;min-height:88px!important;}

/* v266: approved website scale, shared by role rather than individual button.
   Keep lane enamel, original artwork and semantic gold/ruby finishes intact. */
body{--op-action-size:19px;--op-action-height:76px;--op-action-art:44px;--op-action-gap:12px;--op-action-pad:14px;--op-nav-art:32px;--op-nav-size:17px;}
body #app#app :is(button,label)[data-op-mark],body #panel#panel #panelBody :is(button,label,a)[data-op-mark],body #operatorFooter#operatorFooter :is(button,a)[data-op-mark]{display:grid!important;grid-template-columns:var(--op-action-art) minmax(0,1fr)!important;gap:var(--op-action-gap)!important;align-items:center!important;min-width:0!important;max-width:100%!important;width:100%;min-height:var(--op-action-height)!important;height:auto!important;padding:var(--op-action-pad)!important;font:700 var(--op-action-size)/1.3 Georgia,serif!important;letter-spacing:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;}
body #app#app [data-op-mark]>.op-command-art,body #panel#panel #panelBody [data-op-mark]>.op-command-art,body #operatorFooter#operatorFooter [data-op-mark]>.op-command-art{position:static!important;width:var(--op-action-art)!important;height:44px!important;max-width:100%!important;object-fit:contain!important;margin:0!important;}
body #app#app [data-op-mark]>.op-command-label,body #panel#panel #panelBody [data-op-mark]>.op-command-label,body #operatorFooter#operatorFooter [data-op-mark]>.op-command-label{min-width:0!important;max-width:100%!important;font:inherit!important;line-height:inherit!important;text-align:inherit!important;white-space:normal!important;overflow-wrap:anywhere!important;}
body #app#app [data-op-layout=stack],body #panel#panel #panelBody [data-op-layout=stack],body #operatorFooter#operatorFooter [data-op-layout=stack]{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important;}
/* Equal peer tracks grow when text needs room. No horizontal sliders. */
body #app#app :is(.decision-actions,.decision-record-actions,.decision-step-nav,.op-lab-actions,.ot-actions,.pp-actions,.notes-actions,.notes-export-actions,.yah-personal-study .row),body #panel#panel :is(.recovery-actions,.note-actions,.comparison-step),body #panel#panel .yc .row:has(>button[data-op-mark]),body #panel#panel #panelBody .row:is(:has(>[data-share-public-passage]),:has(>#toggleHighlight),:has(>button[data-theme])){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))!important;grid-auto-rows:1fr;gap:12px!important;align-items:stretch!important;min-width:0!important;}
body #app#app :is(.decision-actions,.decision-record-actions,.decision-step-nav,.op-lab-actions,.ot-actions,.pp-actions,.notes-actions,.notes-export-actions,.yah-personal-study .row)>:is(button,label),body #panel#panel :is(.recovery-actions,.note-actions,.comparison-step)>:is(button,label),body #panel#panel .yc .row:has(>button[data-op-mark])>:is(button,label),body #panel#panel #panelBody .row:is(:has(>[data-share-public-passage]),:has(>#toggleHighlight),:has(>button[data-theme]))>:is(button,label){grid-column:auto!important;min-width:0!important;width:100%!important;max-width:100%!important;height:100%!important;margin:0!important;}
/* Native file picker stays native and keyboard accessible; only its chrome is hidden. */
body :is(#app,#panel) label[data-op-control]>input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
/* Navigation is a smaller, label-led role, not another oversized action card. */
body #app#app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button[data-op-control]{display:grid!important;grid-template-columns:var(--op-nav-art) minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;justify-items:stretch!important;gap:10px!important;min-width:0!important;width:100%!important;height:100%!important;min-height:76px!important;padding:12px!important;font:700 var(--op-nav-size)/1.3 Georgia,serif!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
body #app#app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button :is(.op-command-art,.notes-seal,.decision-nav-seal){width:var(--op-nav-art)!important;height:32px!important;max-width:100%!important;margin:0!important;object-fit:contain!important;}
body #app#app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button .op-command-label{font:inherit!important;text-align:left!important;overflow-wrap:anywhere!important;}
/* Keep custom hero compositions but use the same action scale. */
body #app#app .decision-hero-actions>button{grid-template-columns:44px minmax(0,1fr) 18px!important;gap:12px!important;min-height:76px!important;padding:14px!important;font:700 19px/1.3 Georgia,serif!important;}
body #app#app .decision-hero-actions>button>.decision-relief-icon{width:44px!important;height:44px!important;}
body #app#app .notes-scratch-modes{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))!important;grid-auto-rows:1fr;gap:12px!important;}
body #app#app .notes-scratch-modes>button[data-op-control]{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;min-height:76px!important;height:100%!important;padding:14px!important;font:700 19px/1.3 Georgia,serif!important;text-align:left!important;}
body #app#app .notes-scratch-modes .notes-custom-relief{width:44px!important;height:44px!important;}
body #app#app .notes-capture>button{min-height:88px!important;grid-template-columns:44px minmax(0,1fr) 18px!important;gap:12px!important;padding:14px!important;}
body #app#app .notes-capture-art{width:44px!important;height:44px!important;}
body #app#app .notes-capture strong{font:700 22px/1.25 Georgia,serif!important;}
body #app#app .pp-entry-grid button[data-op-mark]{min-height:76px!important;}
/* Form grids may shrink; content wraps instead of pushing a dialog sideways. */
body #panel#panel :is(.yc,.yc-form,.yc-form label,.yc .row,.operator-recovery){min-width:0;max-width:100%;}
body #panel#panel .yc-form{grid-template-columns:minmax(0,1fr);}
body #panel#panel .yc :is(input,textarea,select){min-width:0;max-width:100%;}
/* Utility text is legible without promoting compact controls into large cards. */
body #app#app :is(.ot-editing-banner,.ot-recovery,.ot-tool-quick-actions) button[data-op-control]{font:700 17px/1.3 Georgia,serif!important;min-height:48px!important;}
@media(max-width:380px){body{--op-action-size:18px;--op-nav-size:17px;}body #app#app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button[data-op-control]{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important;}body #app#app :is(.decision-nav,.notes-nav,.op-poker-nav,.ot-tabs,.pp-workspaces)>button .op-command-label{text-align:center!important;}}
/* Recovery scope names are form labels, not tiny metadata. */
body #panel#panel .operator-recovery .recovery-lanes label{font:600 16px/1.4 Manrope,Arial,sans-serif!important;min-height:44px;min-width:0;overflow-wrap:anywhere;}

/* v267: compact calendar and dismiss controls retain their real content/labels. */
body #app#app button[data-op-compact=icon]{display:grid!important;place-items:center!important;grid-template-columns:minmax(0,1fr)!important;min-width:48px!important;width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;gap:0!important;font:700 24px/1 Georgia,serif!important;text-align:center!important;flex:0 0 48px!important;}
body #app#app button[data-op-compact]::before{content:none!important;display:none!important;}
body #app#app .ot-calendar-controls{grid-template-columns:48px minmax(0,1fr) 48px!important;gap:10px!important;}
body #app#app .ot-calendar-controls>div,body #app#app .ot-calendar-controls input{min-width:0!important;width:100%!important;max-width:100%!important;}
body #app#app button[data-op-compact=calendar-day]{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:84px!important;height:auto!important;padding:8px 2px!important;gap:5px!important;text-align:center!important;overflow-wrap:anywhere!important;white-space:normal!important;}
body #app#app button[data-op-compact=calendar-day]>:is(b,small,span){min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important;}
@media(max-width:380px){body #app#app .ot-calendar-controls>div{grid-column:1/-1;grid-row:1;}body #app#app .ot-calendar-controls>[data-ot-month-shift]{grid-row:2;}body #app#app .ot-calendar-controls>[data-ot-month-shift="1"]{grid-column:3;}}
/* Study entry fields share the custom form treatment without altering reading text. */
body #app#app .yah-personal-study select,body #panel#panel #verseLabels,body #panel#panel #publicPassageLink{display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;padding:10px 12px!important;border:1px solid var(--gold,#d9b776)!important;border-radius:10px 4px;background:var(--card,#131e30)!important;color:var(--text,#edf0f5)!important;font:500 16px/1.4 Manrope,Arial,sans-serif!important;}
body #app#app .yah-personal-study select:focus-visible,body #panel#panel #verseLabels:focus-visible,body #panel#panel #publicPassageLink:focus-visible{outline:2px solid #82d3ff;outline-offset:3px;}

/* Narrow result calendars become dated cards: full money values are never squeezed or omitted. */
body #app#app .ot-calendar-full-date{display:none;}
@media(max-width:600px){
 body #app#app .ot-month-grid{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px;}
 body #app#app .ot-month-grid>.ot-weekday,body #app#app .ot-month-grid>span[aria-hidden=true],body #app#app [data-op-compact=calendar-day]>b{display:none;}
 body #app#app button[data-op-compact=calendar-day]{min-height:100px!important;padding:12px!important;gap:6px!important;}
 body #app#app button[data-op-compact=calendar-day]>span{font-size:16px!important;line-height:1.4!important;}
 body #app#app button[data-op-compact=calendar-day]>small{font-size:14px!important;line-height:1.4!important;}
 body #app#app button[data-op-compact=calendar-day]>.ot-calendar-full-date{display:block;font-weight:700;}
}

/* v268: verse Compare/Copy/Share/Highlight/Bookmark peers use the shared adaptive action role above. */

/* v269: reader-required guidance is body text, not decorative microtype.
   Keep charts, card ranks, seals, kickers and attribution labels unchanged. */
body #app#app :is(.study-help,.reflection-hint),
body #panel#panel #panelBody .reflection-hint,
body #app#app :is(.decision-option-help,.decision-comparison-heading p),
body #app#app .notes-workspace :is(.notes-sync p,.notes-fine,.notes-storage-details>p,#noteSaveStatus),
body #panel#panel #panelBody #notesExportStatus,
body #app#app .op-poker .op-fine{font-size:16px!important;line-height:1.65!important;letter-spacing:normal!important;min-width:0;max-width:100%;overflow-wrap:anywhere;}

/* v270: comparison Previous/Next peers use the same adaptive action group; no hidden horizontal navigation. */
body #panel#panel .comparison-step>span:empty{display:none;}

/* Reader, screen-map and site previews need usable mobile width, not nested card gutters. */
@media(max-width:600px){
 body #app .publishing-desk:has(.pp-app-plan,.pp-site-frame){padding-left:6px;padding-right:6px}
 body #app .publishing-desk .pp-card:has(.pp-app-plan,.pp-site-frame){padding-left:6px;padding-right:6px}
 body #app .publishing-desk .pp-app-plan{padding-left:6px;padding-right:6px;min-width:0}
 body #app .publishing-desk :is(.pp-app-review,.pp-app-plan) iframe{max-width:100%;min-width:0}
}

/* Resource destinations are visible text, not a horizontal scrolling requirement. */
body #app .publishing-desk .pp-app-review .pp-chapter p{overflow-wrap:anywhere}

/* v275: mobile Publishing workspace peers reserve their full label width.
   Keep the established icon and type sizes; do not split ordinary words beside art. */
@media(max-width:600px){
 body #app#app .publishing-desk .pp-workspaces>button[data-op-control]{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important;}
 body #app#app .publishing-desk .pp-workspaces>button .op-command-label{text-align:center!important;}
}
/* Appearance is a three-part choice: artwork, readable label, selection marker. */
body #panel#panel #panelBody button[data-theme]{grid-template-columns:44px minmax(0,1fr) 1em!important;grid-template-rows:auto!important;}
body #panel#panel #panelBody button[data-theme]::after{grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:center!important;}
/* Pale reading-settings surfaces need crisp field labels, not a dark emboss. */
body:is([data-theme=light],[data-theme=sepia]) #panel #panelBody>label:not([data-op-control]){text-shadow:none;}
/* Exact generated filenames stay visible without widening the export review. */
body #app .publishing-desk :is(.pp-release-pending>h4,.pp-board-review>h4,.pp-delivery-list>[data-delivery-id]>label,.pp-delivery-manual>p){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
/* Today milestones keep their full artwork and labels inside the available card width. */
body #app .progress-section .milestone-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;max-width:100%;}
body #app .progress-section .milestone{min-width:0;max-width:100%;}
body #app .progress-section .milestone :is(strong,small,.milestone-state){max-width:100%;overflow-wrap:anywhere;}
body #app .progress-section .milestone-seal{max-width:100%;}
@media(max-width:850px){
 body #app .progress-section .milestone-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(170px,calc(50% - 7px))),1fr));}
}
/* The existing YAH seal and wordmark use the same available face as peer lockups. */
body #lanes.lanes button.lane[data-lane="yah"]{display:grid!important;grid-template-columns:minmax(0,30fr) minmax(0,70fr)!important;align-items:center!important;gap:4px!important;}
body #lanes.lanes button.lane[data-lane="yah"] .nav-lane-seal{width:100%;height:44px;min-width:0;max-width:48px;justify-self:center;filter:none;}
body #lanes.lanes button.lane[data-lane="yah"] .lane-label{width:100%;min-width:0;}
body #lanes.lanes button.lane[data-lane="yah"] .nav-yah-wordmark{width:100%;max-width:100%;height:auto;max-height:44px;object-fit:contain;}
/* Author byline gains weight and breadth without enlarging the logo or header. */
body .global .header-brand-copy>small{width:100%;max-width:300px;box-sizing:border-box;font:700 18px/1 Georgia,'Times New Roman',serif!important;letter-spacing:1.1px!important;padding:6.4px 0;text-shadow:0 1px 1px #0008;}
@media(max-width:520px){body .global .header-brand-copy>small{padding:4.2px 0;}}
@media(max-width:380px){body .global .header-brand-copy>small{font-size:16px!important;padding:5.2px 0;letter-spacing:1px!important;}}

/* v296: guided exercise prose needs a continuous reading surface over cinematic art.
   Use existing appearance tokens; keep the artwork, source text and actions intact. */
body[data-lane=yah] #app .study-body{
 box-sizing:border-box;min-width:0;max-width:740px;
 padding:clamp(16px,3vw,28px);
 background:linear-gradient(135deg,var(--card2),var(--card));
 color:var(--text);border:1px solid var(--line);border-radius:16px;
 box-shadow:0 12px 32px #0002,inset 0 1px #ffffff12;
}
body[data-lane=yah] #app .study-body>p:not(.eyebrow){
 color:var(--text);font-size:16px;line-height:1.8;text-shadow:none;
}
body[data-lane=yah] #app .study-body .citation{
 background:var(--card);border-left-color:var(--gold);border-radius:0 10px 10px 0;
}
body[data-lane=yah] #app .study-body .citation p{color:var(--text);font-size:16px;line-height:1.8;text-shadow:none;}
body[data-lane=yah] #app .study-body .badge{color:var(--text);}

/* v299: Saved header keeps its raised text panels and export action apart. */
body[data-lane=yah] #app .pagehead:has(>#exportButton){
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:24px;align-items:center;
}
body[data-lane=yah] #app .pagehead:has(>#exportButton)>div{min-width:0;}
body[data-lane=yah] #app .pagehead>#exportButton{
 width:100%;max-width:100%;min-width:0;justify-self:stretch;
}
@media(max-width:760px){
 body[data-lane=yah] #app .pagehead:has(>#exportButton){grid-template-columns:minmax(0,1fr);gap:24px;}
}

/* v304: Publishing workspace names retain whole words beside their artwork. */
body #app#app .publishing-desk .pp-workspaces{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;}
body #app#app .publishing-desk .pp-workspaces>button[data-op-control],
body #app#app .publishing-desk .pp-workspaces>button .op-command-label{overflow-wrap:normal!important;word-break:normal!important;}
