/* The Operator control workshop: cut enamel, machined rims, stamped lettering. */
body{--op-enamel:radial-gradient(ellipse at 15% 0,#49618b70,transparent 68%),repeating-linear-gradient(115deg,#ffffff06 0 1px,transparent 1px 6px),linear-gradient(135deg,#20334f,#081326 85%);--op-gold:radial-gradient(ellipse at 12% 0,#fff9d5,transparent 65%),repeating-linear-gradient(115deg,#fff5cf20 0 1px,transparent 1px 5px),linear-gradient(120deg,#f0d493,#c79842 70%,#e6c076);--op-rim:inset 0 0 0 3px #061023,inset 0 0 0 4px #c9a76870,inset 0 9px 18px #fff1,0 4px 0 #020713,0 9px 17px #0004}
body #app .notes-workspace button[data-op-control],body #app .decision-workspace button[data-op-control],body #app button[data-op-control],body #panel #panelBody button[data-op-control],body .global button[data-op-control],body .lanes button[data-op-control],body #sectionNav button[data-op-control],body #operatorFooter.app-footer button[data-op-control],body #audioPlayer button[data-op-control],body #panel #panelBody a.account-signin[data-op-control],body #app label[data-op-control],body #panel label[data-op-control]{border:1px solid #c4a46b!important;border-radius:16px 5px 16px 5px!important;background:var(--op-enamel)!important;color:#ffe5ac!important;-webkit-text-fill-color:#ffe5ac!important;box-shadow:var(--op-rim)!important;font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:700!important;text-shadow:0 1.5px 0 #000,-.5px -.5px 0 #030713!important;letter-spacing:.3px!important;position:relative;min-height:48px;cursor:pointer;transition:translate .16s ease,filter .16s ease,box-shadow .16s ease;text-decoration:none!important;isolation:isolate}
body #app .notes-workspace button[data-op-control=gold],body #app .decision-workspace button[data-op-control=gold],body #app button[data-op-control=gold],body #panel #panelBody button[data-op-control=gold],body #panel #panelBody a.account-signin[data-op-control=gold]{background:var(--op-gold)!important;color:#34220c!important;-webkit-text-fill-color:#34220c!important;border-color:#f5d992!important;box-shadow:inset 0 0 0 3px #aa803b77,inset 0 0 0 4px #fff5c9aa,inset 0 2px 0 #fff8df,0 4px 0 #6d4a1c,0 10px 20px #0004!important;text-shadow:0 1px 0 #fff3c2,-.3px -.3px 0 #8b662d!important}
body #app .notes-workspace button[data-op-control=ruby],body #app .decision-workspace button[data-op-control=ruby],body #app button[data-op-control=ruby],body #panel #panelBody button[data-op-control=ruby]{background:radial-gradient(ellipse at top left,#7a444e,transparent 70%),linear-gradient(135deg,#341c2b,#140f1c)!important;border-color:#c6937d!important;color:#ffddbd!important;-webkit-text-fill-color:#ffddbd!important}
body #app button[data-op-mark],body #app .notes-workspace button[data-op-mark],body #app .decision-workspace button[data-op-mark],body #panel #panelBody button[data-op-mark],body #operatorFooter.app-footer button[data-op-mark],body .global button[data-op-mark],body #app label[data-op-mark],body #panel label[data-op-mark]{padding:16px 18px 16px 62px!important;min-height:62px;font-size:22px!important;line-height:1.2!important;white-space:normal;text-align:center;overflow-wrap:anywhere}
body [data-op-mark]:before{content:'';position:absolute;left:15px;top:50%;translate:0 -50%;width:31px;height:31px;border:1px solid #f8dda2;border-radius:50%;background-image:var(--op-glyph),radial-gradient(circle at 30% 15%,#fff1bf,#c39749 72%,#8c612b);background-size:19px 19px,100% 100%;background-position:center;background-repeat:no-repeat;box-shadow:inset 0 0 0 2px #805b2b44,0 2px 0 #030914,0 0 0 3px #d6b36c12;pointer-events:none}
body button[data-op-control]:hover:not(:disabled){filter:brightness(1.12)}body button[data-op-control]:active:not(:disabled){translate:0 3px;filter:brightness(.95)}body button[data-op-control]:focus-visible,body [data-op-control]:focus-within{outline:3px solid #82d3ff!important;outline-offset:4px}
body #app button[data-op-control]:disabled,body #panel button[data-op-control]:disabled{opacity:1!important;filter:saturate(.25)!important;color:#c4cad2!important;-webkit-text-fill-color:#c4cad2!important;border-color:#7b8493!important;cursor:not-allowed;box-shadow:inset 0 0 0 3px #0a1221!important}
body #app .notes-workspace button[data-op-control][aria-current],body #app .decision-workspace button[data-op-control][aria-current],body #panel #panelBody button[data-op-control][aria-pressed=true],body #app button[data-op-control][aria-pressed=true]{border-color:#ffe6a9!important;outline:1px solid #bd9759;outline-offset:3px;background:radial-gradient(ellipse at 50% 0,#9b743c55,transparent 75%),linear-gradient(140deg,#2d405b,#101b30)!important;color:#ffecbf!important;-webkit-text-fill-color:#ffecbf!important}
/* Navigation is a command rail, with medals rather than a wall of gold slabs. */
body #app .notes-workspace .notes-nav,body #app .decision-workspace .decision-nav{display:flex;gap:10px;padding:12px;border:1px solid #b6975c66;border-radius:21px 6px;background:linear-gradient(130deg,#12233c,#071122);box-shadow:inset 0 0 0 4px #020b1933;margin:22px 0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b79554 #0b1629;scroll-snap-type:x proximity}
body #app .notes-workspace .notes-nav>button,body #app .decision-workspace .decision-nav>button{flex:1 0 100px;min-height:90px!important;min-width:0;padding:12px 9px 17px!important;font-size:20px!important;gap:9px!important;scroll-snap-align:start}
body #app .notes-workspace .notes-nav .notes-seal,body #app .decision-workspace .decision-nav-seal{width:35px;height:35px;border-radius:50%;background:var(--op-gold);color:#37260f!important;-webkit-text-fill-color:#37260f!important;border:1px solid #f5d99c;box-shadow:inset 0 0 0 3px #79542655,0 2px #020812}
body #app .notes-workspace .notes-nav .notes-seal svg,body #app .decision-workspace .decision-nav-seal svg{width:21px;height:21px}
/* A working desk: compact banner, bound notebooks, a clearly framed writing surface. */
body #app .notes-workspace .notes-hero{grid-template-columns:minmax(0,1fr) 150px;padding:32px 38px;gap:25px;min-height:0}
body #app .notes-workspace .notes-hero h1{font-size:clamp(39px,4.7vw,61px)!important;margin-bottom:16px}body #app .notes-workspace .notes-hero p{font-size:15px;max-width:440px}body #app .notes-workspace .notes-hero-seal{display:flex;width:140px;max-width:100%;justify-self:center}body #app .notes-workspace .notes-hero-seal svg{width:48px;height:48px;margin-bottom:9px}body #app .notes-workspace .notes-hero-seal span{font-size:8px}
body #app .notes-workspace .notes-sync{border-radius:14px 4px;padding:17px 22px;margin:20px 0;gap:15px;border-left:3px solid #b69a62}body #app .notes-workspace .notes-sync>div{min-width:0}body #app .notes-workspace .notes-sync strong{font-size:25px}body #app .notes-workspace .notes-sync p{font-size:12px}
body #app .notes-workspace .notes-desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:30px;align-items:start}
body #app .notes-workspace .notes-scratch{margin-top:0;position:relative;padding:28px;background:radial-gradient(ellipse at 0 0,#b3934c16,transparent 70%),var(--ns-bg);border:1px solid #b99a5e99;border-radius:24px 6px;box-shadow:inset 8px 0 #070e1c33,inset 10px 0 #b99a5e22,inset 0 0 0 4px var(--ns-soft),0 12px 28px #0002}
body #app .notes-workspace .notes-scratch-heading{display:flex;align-items:center;gap:19px;padding-bottom:23px;border-bottom:1px solid var(--ns-edge);margin-bottom:20px}body #app .notes-workspace .notes-scratch-heading h2{margin:0 0 8px;font-size:36px}body #app .notes-workspace .notes-scratch-heading p{margin:0;font-size:13px}body #app .notes-workspace .notes-scratch-heading .notes-kicker{font-size:8px;letter-spacing:1.7px;margin-bottom:7px}
body #app .notes-workspace .notes-desk-emblem{display:grid;place-items:center;flex:none;width:58px;height:69px;border:1px solid #e4c57d;border-radius:9px 3px 15px 3px;background:var(--op-gold);color:#37240f;box-shadow:inset 0 0 0 4px #9b793144,0 4px #382a13,0 0 0 4px #c2a26215}body #app .notes-workspace .notes-desk-emblem svg{width:32px;height:32px}
body #app .notes-workspace #notesScratch,body #app .notes-workspace #notesBody{border-radius:15px 4px!important;border:1px solid var(--ns-edge)!important;border-left:3px solid #b39356!important;background:radial-gradient(ellipse at top left,#c8a86a08,transparent 70%),var(--ns-field)!important;box-shadow:inset 0 3px 18px #0002,0 1px #fff1!important;padding:22px!important;line-height:1.8!important;font-size:18px!important}
body #app .notes-workspace #notesScratch{min-height:280px}body #app .notes-workspace .notes-writing-surface{position:relative;padding:23px 21px 5px;border:1px solid var(--ns-edge);border-radius:20px 5px;background:var(--ns-soft);margin:25px 0;box-shadow:inset 5px 0 #bb9b5622}body #app .notes-workspace .notes-writing-imprint{display:block;font:800 9px/1.7 Manrope,system-ui;letter-spacing:2px;color:var(--ns-muted);padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--ns-edge)}
body #app .notes-workspace .notes-library-preview>.notes-section-title:first-child{margin-top:0}body #app .notes-workspace .notes-library-preview .notes-grid{grid-template-columns:1fr}body #app .notes-workspace .notes-card{border-radius:20px 5px 20px 5px;border-left:7px solid #9a7b40;padding-left:27px;box-shadow:inset 0 0 0 4px var(--ns-soft),inset 6px 0 #e1c48622,0 5px 0 #050a121a,0 13px 26px #0002}body #app .notes-workspace .notes-card h3{font-size:32px;line-height:1.12;border-bottom:1px solid var(--ns-edge);padding-bottom:17px;margin-bottom:15px}body #app .notes-workspace .notes-card>small{letter-spacing:1px;text-transform:uppercase;font-size:9px}body #app .notes-workspace .notes-card-top{margin-bottom:13px}body #app .notes-workspace .notes-card p{font-size:15px;line-height:1.8;margin-top:0}
/* Action tiles keep their illustration; the gold face is reserved for starting and saving. */
body #app .decision-workspace .decision-entrances>button[data-op-control],body #app .decision-workspace .decision-principles>button[data-op-control]{background:var(--op-enamel)!important;color:#ffe5ad!important;-webkit-text-fill-color:#ffe5ad!important;text-shadow:0 1px #000!important}
body #app .decision-workspace .decision-entry-copy :is(strong,small,span),body #app .decision-workspace .decision-principles>button :is(h3,p,.discipline-number,.discipline-link){color:#ffe5ad!important;-webkit-text-fill-color:#ffe5ad!important;text-shadow:0 1px #000!important}body #app .decision-workspace .decision-entry-copy>span,body #app .decision-workspace .decision-principles>button p{color:#c6d2e2!important;-webkit-text-fill-color:#c6d2e2!important;text-shadow:none!important}
body #app .decision-workspace .decision-principles>button{min-height:270px}body #app .decision-workspace .discipline-art{background:var(--op-gold)!important;color:#38240c!important;-webkit-text-fill-color:#38240c!important}body #app .decision-workspace .discipline-art svg{color:#38240c!important;stroke:#38240c!important}
/* Menus and external destinations also carry the same engraved finish. */
body #panel #panelBody .app-menu-list{display:grid;gap:15px}body #panel #panelBody .app-menu-list>button{margin:0!important;width:100%;text-align:left!important;min-height:74px!important}
body #operatorFooter.app-footer .footer-quick>a,body #operatorFooter.app-footer #exploreConnectPanel .footer-columns a,body #operatorFooter.app-footer #aboutApp{position:relative;background:var(--op-enamel)!important;color:#ffe5ad!important;-webkit-text-fill-color:#ffe5ad!important;border:1px solid #bda168!important;border-radius:17px 5px!important;box-shadow:var(--op-rim)!important;text-shadow:0 1px #000,-.4px -.4px #030713!important;font:700 25px/1.2 'Cormorant Garamond',Georgia,serif!important;min-height:66px;padding:19px 24px!important;text-decoration:none!important}
body #operatorFooter.app-footer #exploreConnectToggle{background:var(--op-enamel)!important;min-height:96px;border:1px solid #c4a46b!important}body #operatorFooter.app-footer #exploreConnectToggle .connect-copy strong{font-size:30px!important;color:#ffe4a6!important;-webkit-text-fill-color:#ffe4a6!important;text-shadow:0 1px #000!important}body #operatorFooter.app-footer #exploreConnectToggle .connect-copy small{color:#c9d4e4!important;-webkit-text-fill-color:#c9d4e4!important}
body #app .notes-workspace :is(input,textarea,select):focus-visible,body #app .decision-workspace :is(input,textarea,select):focus-visible{outline:2px solid #d9b568!important;outline-offset:3px}
@media(min-width:1000px){body #app .notes-workspace .notes-desk>.notes-scratch{position:sticky;top:24px}body #app .notes-workspace .notes-capture>button{min-height:145px;padding:23px!important}body #app .notes-workspace .notes-summary{margin:26px 0}}
@media(max-width:760px){body #app .notes-workspace .notes-desk{grid-template-columns:1fr;gap:12px}body #app .notes-workspace .notes-hero{padding:26px;grid-template-columns:minmax(0,1fr) 100px;gap:17px}body #app .notes-workspace .notes-hero-seal{width:90px;box-shadow:inset 0 0 0 5px #06132a,inset 0 0 0 6px #e8c77588,0 0 0 5px #c6a45b12}body #app .notes-workspace .notes-hero-seal svg{width:35px;height:35px;margin:0}body #app .notes-workspace .notes-hero-seal span{display:none}body #app .notes-workspace .notes-hero h1{font-size:41px!important}body #app .notes-workspace .notes-hero .notes-kicker{font-size:8px;letter-spacing:1.6px}body #app .notes-workspace .notes-hero p{font-size:13px}body #app .notes-workspace .notes-nav>button,body #app .decision-workspace .decision-nav>button{flex:0 0 100px;min-height:88px!important;font-size:19px!important}body #app .notes-workspace .notes-nav,body #app .decision-workspace .decision-nav{margin:20px -4px;padding:10px;gap:10px}body #app .notes-workspace .notes-sync{display:grid;grid-template-columns:1fr}body #app .notes-workspace .notes-sync>button{width:100%}body #app .notes-workspace .notes-scratch{padding:25px 20px}body #app .notes-workspace .notes-writing-surface{padding:19px 12px 2px}body #app .notes-workspace .notes-library-preview .notes-section-title{flex-direction:row;align-items:center;gap:14px}body #app .notes-workspace .notes-library-preview .notes-section-title h2{font-size:30px}body #app .notes-workspace .notes-library-preview .notes-section-title button[data-op-mark]{font-size:19px!important;padding:13px 12px 13px 49px!important;min-height:55px;flex:none}body #app .notes-workspace .notes-library-preview .notes-section-title button:before{left:10px;width:27px;height:27px;background-size:17px 17px,100% 100%}}
@media(max-width:380px){body #app .notes-workspace .notes-hero{grid-template-columns:1fr}body #app .notes-workspace .notes-hero-seal{display:none}body #app .notes-workspace .notes-scratch-heading{gap:13px}body #app .notes-workspace .notes-scratch-heading h2{font-size:31px}body #app .notes-workspace .notes-library-preview .notes-section-title{flex-wrap:wrap}body #app .notes-workspace .notes-writing-imprint{font-size:8px}}
@media(prefers-reduced-motion:reduce){body button[data-op-control]{transition:none!important}body button[data-op-control]:active{translate:none}}

body #panel #panelBody a.account-signin[data-op-control]{display:flex;align-items:center;justify-content:center;min-height:68px;font-size:24px;line-height:1.3;padding:18px 22px 18px 63px!important;text-align:center}
body #operatorFooter.app-footer :is(.footer-quick>a,#aboutApp[data-op-mark],#exploreConnectPanel .footer-columns a)[data-op-mark]{padding:19px 22px 19px 62px!important}
body #audioPlayer button[data-op-control]{min-width:47px;min-height:47px;font-size:20px!important;line-height:1.2;padding:11px 15px!important}
body #app .notes-workspace .notes-tags button[data-op-control]{min-height:36px!important;padding:8px 13px!important;font:700 12px/1.4 Manrope,system-ui!important;border-radius:16px 4px!important;box-shadow:inset 0 0 0 2px #0002,0 2px #02091566!important}
/* Footer wayfinding and mobile labels must read as whole words. */
body #operatorFooter.app-footer .footer-wayfinding{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;margin:0 0 30px;padding:22px 0;border-bottom:1px solid #b89b5d66}
body #operatorFooter.app-footer .footer-wayfinding>span{font:800 10px/1.8 Manrope,system-ui;color:#cdb985;letter-spacing:1.8px}
body #operatorFooter.app-footer .workspace-footer-return{display:none}body[data-lane=workspace] #operatorFooter.app-footer .workspace-footer-return{display:block}
body #operatorFooter.app-footer .footer-quick>*{min-width:0;width:100%;height:auto!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;white-space:normal!important;line-height:1.3!important}
body #operatorFooter.app-footer .footer-brands>:is(.footer-operator,.footer-publisher){cursor:default}
@media(max-width:760px){body #operatorFooter.app-footer .footer-quick{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:17px!important}body #operatorFooter.app-footer .footer-quick>*{grid-column:1!important;min-height:74px!important;font-size:25px!important}body #operatorFooter.app-footer .footer-wayfinding{align-items:stretch;flex-direction:column}body #operatorFooter.app-footer .workspace-footer-return{width:100%}}

/* These four related utilities share one finish across button, label and link elements. */
body #app .decision-workspace .decision-footnote .decision-actions>:is(button,label.file-label,a)[data-op-control]{display:flex!important;align-items:center;justify-content:center;min-height:72px!important;margin:0!important;padding:18px 20px 18px 62px!important;background:var(--op-enamel)!important;color:#ffe5ac!important;-webkit-text-fill-color:#ffe5ac!important;border:1px solid #c4a46b!important;border-radius:16px 5px!important;box-shadow:var(--op-rim)!important;font:700 23px/1.3 'Cormorant Garamond',Georgia,serif!important;text-shadow:0 1.5px #000,-.5px -.5px #030713!important;letter-spacing:.2px!important;overflow-wrap:normal!important;word-break:normal!important;text-align:center;position:relative;isolation:isolate;cursor:pointer;white-space:normal!important}
body #app .decision-workspace .decision-footnote .decision-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body #app .decision-workspace .decision-footnote .file-label input{position:absolute;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0;overflow:hidden;clip-path:inset(50%)}
body[data-lane=decision] #app{padding-bottom:28px!important}body[data-lane=decision] #operatorFooter.app-footer{margin-top:0!important}body #app .decision-workspace #decisionNotice:empty{display:none}
body[data-lane=decision] #panel #panelBody .decision-guide>.eyebrow{display:block;background:none!important;border:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;padding:0 0 14px!important;border-radius:0!important;font:800 10px/1.7 Manrope,system-ui!important;letter-spacing:1.8px;color:var(--muted)!important;-webkit-text-fill-color:var(--muted)!important;text-shadow:none!important}
body[data-lane=decision] #panel .menu-stats strong{font:800 27px/1.2 Manrope,system-ui!important;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1;text-shadow:0 1px #000!important}
@media(max-width:760px){body #app .decision-workspace .decision-footnote .decision-actions{grid-template-columns:minmax(0,1fr)}body #app .decision-workspace .decision-footnote .decision-actions>:is(button,label.file-label,a)[data-op-control]{font-size:23px!important}body[data-lane=decision] #app{padding-bottom:22px!important}}

/* Lane enamel and stronger machined edges, shared by every app entry point. */
body[data-lane=poker]{--op-enamel:radial-gradient(ellipse at 15% 0,#a2464e66,transparent 65%),linear-gradient(135deg,#451727,#140c16 85%)}
body[data-lane=trading]{--op-enamel:radial-gradient(ellipse at 15% 0,#4d9c7766,transparent 65%),linear-gradient(135deg,#164d3d,#071b19 85%)}
body[data-lane=publishing]{--op-enamel:radial-gradient(ellipse at 15% 0,#587bba66,transparent 65%),linear-gradient(135deg,#203e68,#0a1730 85%)}
body[data-lane=workspace]{--op-enamel:radial-gradient(ellipse at 15% 0,#9067bd66,transparent 65%),linear-gradient(135deg,#39264f,#130f26 85%)}
body[data-lane=decision]{--op-enamel:radial-gradient(ellipse at 15% 0,#536d9a66,transparent 65%),linear-gradient(135deg,#253d5b,#0b1526 85%)}
body #app button[data-op-control]:not([data-op-control=gold]):not(:disabled){border-color:#e0be7d!important;box-shadow:inset 0 0 0 3px #090c17,inset 0 0 0 4px #d8b77688,inset 0 10px 20px #ffffff12,0 4px 0 #020610,0 8px 16px #0005!important}
body #app button[data-op-control][aria-current=page]{outline:2px solid #f2d08b;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body button[data-op-control]{transition:none!important}}
