:root{--ink:#302435;--dark:#251a2c;--aubergine:#35253c;--muted:#796b77;--paper:#fff8ec;--bg:#f6e9d7;--border:#3d2b3f;--yellow:#fdc858;--purple:#7650ab;--green:#43885a;--blue:#3477b8;--red:#c9584d;--shadow:5px 6px 0 #352537;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:Verdana,Arial,sans-serif;font-size:14px}button{font:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:4px solid #e1a42c;outline-offset:4px}h1,h2,p{margin-top:0}h1,h2{font-family:'Trebuchet MS',Verdana,sans-serif;letter-spacing:-.035em}h2{font-size:24px;margin:0}p{line-height:1.58}
.topbar{background:var(--dark);color:#fff9e8;border-bottom:4px solid #170d19}.topbar-inner{max-width:1250px;min-height:65px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:22px}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:'Courier New',monospace;font-weight:700;letter-spacing:-.025em;font-size:17px}.wordmark-icon{height:35px;width:36px;border:2px solid #d9bfd7;border-radius:8px;display:grid;place-items:center;font-size:22px;color:#e7cce4}.wordmark-divider{color:#ab8eb5;padding:0 8px}.wordmark strong{color:#ffdb83}.status,.ticker,.eyebrow,.stamp,.office-label,.office-caption,.file-number,.fine-print,.mood-badge,.mood-foot span,.live-tag,.tim-note span,footer,.metrics-footnote{font-family:'Courier New',monospace;font-weight:700;letter-spacing:.04em}.status{font-size:11px;color:#e8d9e1;white-space:nowrap}.status-dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#7bd892;box-shadow:0 0 0 3px #7bd89220;margin-right:8px}.ticker{background:#d9b769;color:#30202f;display:flex;justify-content:center;gap:36px;min-height:28px;align-items:center;border-bottom:1px solid #c5a257;font-size:10px;white-space:nowrap;overflow:hidden}.ticker span:first-child{color:#61471c}
.shell{max-width:1250px;margin:0 auto;padding:35px 24px 24px}.page-intro{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:12px;color:#9e592e;letter-spacing:.07em}.eyebrow.small{font-size:11px}.marker{display:inline-block;width:11px;height:11px;background:#e2a04c;transform:rotate(-16deg);margin-right:5px}.page-intro h1{font-size:clamp(44px,5vw,65px);line-height:1.03;margin:9px 0 9px}.page-intro h1 em{font-style:normal;color:#a05258;text-decoration:underline;text-decoration-color:#d9a74f;text-underline-offset:6px;text-decoration-thickness:4px}.title-rock{font-size:.54em;vertical-align:top;display:inline-block;transform:rotate(-13deg)}.page-intro p{max-width:600px;color:#584c59;font-size:15px;margin:0}.page-intro p strong{color:#302033}.stamp{width:148px;height:111px;border:3px solid #a95d5b;outline:2px dashed #a95d5b;outline-offset:4px;transform:rotate(9deg);color:#a65a58;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;text-align:center;flex-shrink:0;border-radius:3px;font-size:11px}.stamp b{font-size:19px;letter-spacing:-.03em}
.dashboard{display:grid;grid-template-columns:minmax(0,1.31fr) minmax(330px,.95fr);gap:18px;align-items:stretch}.office-panel{background:#4a394c;border:4px solid var(--border);box-shadow:var(--shadow);border-radius:15px;position:relative;display:flex;flex-direction:column;min-height:443px;overflow:hidden}.office-label{color:#f5d69d;background:#302232;padding:12px 16px;font-size:11px;display:flex;align-items:center;gap:9px}.office-label .dot{width:7px;height:7px;background:#d86e69;border-radius:50%}.office-sep{opacity:.45}.cam-time{margin-left:auto;color:#e5a6a4}.office-portrait{position:relative;flex:1;min-height:340px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#56445a}.office-portrait img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 47%;filter:saturate(.9) contrast(1.01)}.office-portrait:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(38,24,39,.02),transparent 76%,rgba(34,18,33,.22))}.photo-grain{pointer-events:none;position:absolute;inset:0;opacity:.13;background-image:repeating-linear-gradient(0deg,transparent 0 3px,rgba(0,0,0,.3) 4px 5px)}.office-caption{display:flex;justify-content:space-between;gap:12px;background:#302232;color:#f1ddc5;padding:12px 15px;font-size:10px}.office-caption span:last-child{color:#94d998}.sticky-note{position:absolute;right:18px;top:73px;background:#ffdc71;box-shadow:4px 5px 0 #32253888;border-radius:3px;width:158px;padding:13px 10px 8px;transform:rotate(5deg);font-family:'Trebuchet MS',sans-serif;font-weight:700;line-height:1.25;font-size:13px;color:#4c3634}.sticky-note:before{content:'';position:absolute;width:48px;height:15px;top:-7px;left:48px;background:#f6eab17c;transform:rotate(-4deg)}.sticky-note span{display:block;font-family:'Courier New',monospace;color:#795325;font-size:10px;letter-spacing:.08em;margin-bottom:8px}.sticky-note small{display:block;margin-top:9px;text-align:right;font-weight:400;font-size:12px}
.file-stack{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:18px}.paper{background:var(--paper);border:3px solid var(--border);box-shadow:var(--shadow);border-radius:15px}.employee-file{padding:19px 22px;position:relative}.paper-heading{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:3px solid #d4b3a6}.paper-heading h2{font-size:27px}.folder-icon{display:grid;place-items:center;width:35px;height:34px;border-radius:7px;background:#f1c77e;border:2px solid #573b43;color:#744c35;font-size:23px}.file-number{margin-left:auto;font-size:10px;color:#9a8b87}.file-rows{margin:9px 0 0}.file-rows>div{display:grid;grid-template-columns:39% 61%;gap:10px;border-bottom:1px solid #ead7ca;padding:11px 0;align-items:center}.file-rows dt{font-size:12px;font-weight:700}.file-rows dd{margin:0;font-size:13px;font-weight:700}.file-performance{color:#3a7d4d}.file-performance span{color:#e4a02c}.pill-active{display:inline-block;padding:5px 10px;background:#e1f3da;border:1px solid #88b18b;border-radius:16px;font-family:'Courier New',monospace;color:#356f3b;font-size:11px}.counter{font-size:20px}.secondary-text{font-size:10px;color:#9b8791}.fine-print{color:#aa958f;font-size:9px;padding-top:14px}.mood-card{padding:18px 22px}.mood-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.mood-top h2{font-size:23px}.mood-top h2 span{color:#df655e}.mood-badge{color:#95653b;font-size:12px}.mood-card progress{margin-top:16px;width:100%;height:20px;appearance:none;-webkit-appearance:none;border:2px solid #453048;border-radius:25px;background:#e1d3d9;overflow:hidden}.mood-card progress::-webkit-progress-bar{background:#e1d3d9}.mood-card progress::-webkit-progress-value{background:linear-gradient(90deg,#e7a846,#ffd46d);border-radius:20px}.mood-card progress::-moz-progress-bar{background:#ffd46d}.mood-foot{margin-top:9px;display:flex;justify-content:space-between;align-items:center;gap:5px}.mood-foot strong{font-size:13px}.mood-foot span{font-size:9px;color:#a1888b}
.interact{margin-top:42px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px}.section-heading h2{font-size:30px}.section-heading p{font-size:12px;color:#7b6a73;margin-bottom:3px}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.action-grid form{min-width:0}.action-button{cursor:pointer;text-align:left;position:relative;min-height:118px;width:100%;display:flex;gap:10px;align-items:center;padding:14px 11px;color:#fffefa;border:3px solid var(--border);box-shadow:4px 5px 0 #2e2032;border-radius:14px;transition:transform .12s,box-shadow .12s}.action-button:hover{transform:translateY(-3px);box-shadow:4px 8px 0 #2e2032}.action-button:active{transform:translate(3px,4px);box-shadow:1px 1px 0 #2e2032}.action-button.green{background:#438b5e}.action-button.purple{background:#8051b5}.action-button.coral{background:#d26455}.action-button.blue{background:#3677bc}.action-icon{font-size:32px;filter:drop-shadow(1px 2px 0 #24192766)}.action-button strong{display:block;font-family:'Trebuchet MS',sans-serif;font-size:18px;line-height:1.08}.action-button small{display:block;margin-top:7px;opacity:.86;font-size:10px;line-height:1.25}.action-arrow{position:absolute;top:9px;right:11px;font-size:14px;opacity:.7}
.lower-grid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(300px,.95fr);gap:22px;margin-top:36px;align-items:start;scroll-margin-top:12px}.activity-card{min-width:0;background:#fef8f0;border:3px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.activity-header{padding:22px 23px 17px;border-bottom:2px dashed #d7bdb6;display:flex;justify-content:space-between;align-items:center;gap:12px}.activity-header h2{font-size:29px;margin-top:7px}.live-tag{font-size:10px;color:#497c53;background:#e4f1df;border-radius:20px;padding:9px;white-space:nowrap}.log{list-style:none;margin:0;padding:6px 23px 22px}.log-item{display:grid;grid-template-columns:42px 23px minmax(0,1fr);gap:10px;padding:15px 0;border-bottom:1px solid #eaded6}.log-item:last-child{border:0}.log-item time{font-family:'Courier New',monospace;font-size:11px;font-weight:700;color:#a38b8f;padding-top:3px}.log-symbol{font-size:20px;color:#8d698d;line-height:1}.log-item.success .log-symbol{color:#c88d2b}.log-item.warning .log-symbol{color:#c45f52}.log-item strong{font-size:13px}.log-item p{font-size:12px;color:#776771;margin:4px 0 0}.flash{display:flex;gap:12px;margin:18px 22px 6px;padding:16px;background:#f0e1fa;border:2px solid #845aa0;border-radius:10px;box-shadow:3px 3px 0 #cbb0d7}.flash-icon{font-size:26px;color:#9858b2}.flash strong{font-size:14px}.flash p{font-size:12px;margin:6px 0 0}.flash .promotion-warning{font-weight:800;color:#8c3b67}.side-column{display:grid;gap:22px}.insights{padding:22px}.insights h2{margin:7px 0 16px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metrics>div{padding:13px 12px;border:2px solid #e0c9b5;background:#fffdf9;border-radius:10px}.metrics b{display:block;font-family:'Trebuchet MS',sans-serif;font-size:30px;color:#854d84}.metrics span{font-size:11px;color:#7d6a75}.metrics-footnote{margin:17px 0 0;font-size:10px;color:#917f87;font-weight:400}.extra-card{background:#34233d;border:3px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:23px;color:#fef4e3}.extra-card .eyebrow{color:#e4ba81}.extra-card h2{margin:7px 0 18px}.extra-action{border:1px solid #80688a;background:#513a5a;color:#fffaf2;width:100%;padding:14px 12px;margin-bottom:9px;cursor:pointer;border-radius:8px;display:flex;justify-content:space-between;align-items:center;text-align:left;font-weight:700}.extra-action:hover{background:#6a4a72}.tim-note{background:#f9d675;color:#4b313d;padding:15px 16px;transform:rotate(-1.1deg);margin-top:15px;box-shadow:3px 4px 0 #170f2166}.tim-note span{color:#9c5f3a;font-size:10px}.tim-note p{font-size:13px;font-family:'Trebuchet MS',sans-serif;font-style:italic;margin:7px 0}.tim-note strong{display:block;text-align:right;font-size:12px}footer{margin-top:50px;border-top:2px solid #d3bba9;padding:21px 0;display:flex;align-items:center;flex-wrap:wrap;gap:20px;justify-content:space-between;font-size:10px;color:#927b83}footer strong{color:#5b435d}footer span span{color:#c87075}.reset-button{cursor:pointer;padding:9px 13px;color:#765e69;background:#fff3e2;border:1px solid #bf9c9a;border-radius:5px;font-family:inherit;font-size:10px}.reset-button:hover{background:#f4dcca}
@media(max-width:1020px){.dashboard{grid-template-columns:1fr 1fr}.sticky-note{display:none}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.office-portrait{min-height:340px}.file-rows>div{grid-template-columns:38% 62%}.file-rows dd{font-size:12px}}
@media(max-width:760px){.shell{padding:27px 16px}.dashboard,.lower-grid{grid-template-columns:minmax(0,1fr)}.office-panel{min-height:400px}.office-portrait{min-height:340px}.topbar-inner{padding:12px 16px;min-height:60px}.wordmark{font-size:12px}.wordmark-icon{width:30px;height:30px}.status{display:none}.ticker{gap:25px;justify-content:flex-start;padding-left:14px}.stamp{display:none}.page-intro h1{font-size:47px}.section-heading p{display:none}.file-stack{gap:15px}.employee-file{padding:16px}.mood-card{padding:17px}.lower-grid{gap:16px}.interact{margin-top:32px}}
@media(max-width:470px){.office-panel{min-height:320px}.office-portrait{min-height:265px}.office-label{font-size:9px}.office-caption{font-size:8px}.page-intro h1{font-size:43px}.title-rock{display:none}.action-grid{gap:10px}.action-button{min-height:119px;padding:13px 10px;gap:6px}.action-icon{font-size:22px}.action-button strong{font-size:15px}.action-button small{font-size:9px}.activity-header{padding:17px 14px}.activity-header h2{font-size:24px}.live-tag{font-size:8px;padding:6px}.log{padding:5px 14px 15px}.log-item{grid-template-columns:34px 15px 1fr;gap:8px}.log-item strong{font-size:12px}.log-item p{font-size:11px}.flash{margin:12px 12px 6px;padding:12px}.metrics b{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}


/* November 2026: single-screen Gerald office, full illustration, Ruby-rendered tabs. */
html:has(.gerald-workstation), body.gerald-workstation {height:100%;min-height:0;overflow:hidden;scroll-behavior:auto}
body.gerald-workstation{display:flex;flex-direction:column}
.gerald-workstation .topbar{flex:0 0 auto;border-bottom-width:2px}
.gerald-workstation .topbar-inner{min-height:43px;padding:4px 17px;max-width:none}
.gerald-workstation .wordmark{font-size:13px}
.gerald-workstation .wordmark-icon{height:28px;width:28px;font-size:17px}
.gerald-workstation .ticker{flex:0 0 20px;min-height:20px;font-size:9px;gap:25px}
.gerald-workstation .shell{display:flex;flex:1 1 auto;flex-direction:column;width:100%;max-width:1600px;min-height:0;padding:10px 13px 13px;gap:10px;overflow:hidden}
.gerald-workstation .page-intro{flex:0 0 auto;margin:0;gap:10px}
.gerald-workstation .page-intro h1{font-size:clamp(24px,2.5vw,34px);margin:0 0 3px}
.gerald-workstation .page-intro p{font-size:11px;line-height:1.3;max-width:850px}
.gerald-workstation .page-intro .eyebrow{font-size:9px}
.gerald-workstation .stamp{height:44px;width:90px;font-size:7px;border-width:1px;outline-width:1px;gap:1px;transform:rotate(5deg)}
.gerald-workstation .stamp b{font-size:12px}
.gerald-console{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:12px}
.gerald-console .office-panel{height:100%;min-height:0;min-width:0;box-shadow:3px 4px 0 #352537}
.gerald-console .office-label{flex:0 0 auto;padding:8px 11px;font-size:9px}
.gerald-console .office-caption{flex:0 0 auto;padding:9px 11px;font-size:9px}
.gerald-console .office-portrait{min-height:0;flex:1 1 auto;background:#554358}
.gerald-console .office-portrait img{object-fit:contain;object-position:center center;max-width:100%;max-height:100%}
.gerald-console .sticky-note{top:59px;right:10px;width:122px;padding:10px;font-size:10px}
.gerald-console .sticky-note small{font-size:9px}
.control-deck{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:12px;background:#eadbcf;border:3px solid var(--border);border-radius:15px;box-shadow:3px 4px 0 #352537}
.command-summary{display:flex;gap:12px;justify-content:space-between;align-items:center;flex:0 0 auto}
.command-summary .eyebrow{font-size:9px}
.command-summary h2{font-size:22px;margin:2px 0}
.command-summary p{font-size:11px;font-weight:700;margin:0;color:#76596c}
.command-mood{width:150px;flex:0 0 150px;padding:5px 9px;background:#fff8ec;border:1px solid #cfb6aa;border-radius:8px}
.command-mood>span{display:flex;align-items:center;justify-content:space-between;font:700 10px/1.2 'Courier New',monospace}
.command-mood>span strong{font-size:12px;color:#8051b5}
.command-mood progress{display:block;width:100%;height:10px;margin:3px 0;accent-color:#e9ac46}
.command-mood small{display:block;font:700 9px/1.1 'Courier New',monospace;color:#796b77;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.command-actions{flex:0 0 auto}
.command-actions .section-heading{margin:0 0 6px}
.command-actions .section-heading h2{font-size:17px}
.command-actions .eyebrow{font-size:9px}
.action-hint{font:700 9px/1.2 'Courier New',monospace;color:#9d7f76;white-space:nowrap}
.control-deck .action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.control-deck .action-button{min-height:61px;box-shadow:2px 3px 0 #2e2032;border-width:2px;border-radius:9px;padding:6px 7px;gap:6px}
.control-deck .action-icon{font-size:21px;line-height:1}
.control-deck .action-button strong{font-size:12px;line-height:1.1}
.control-deck .action-button small{font-size:9px;margin-top:3px;line-height:1.15}
.control-deck .action-arrow{top:4px;right:5px;font-size:10px}
.gerald-feedback{flex:0 0 auto;display:flex;align-items:center;gap:7px;min-height:27px;max-height:58px;overflow:hidden;padding:5px 8px;border-radius:8px;font:700 10px/1.25 'Courier New',monospace}
.gerald-feedback.idle{border:1px dashed #ccb9ac;color:#866b77}
.gerald-feedback.idle>span{color:#43885a}
.gerald-feedback.has-result{background:#fff4d8;border:2px solid #c89a53;color:#443047}
.gerald-feedback .flash-icon{font-size:18px}
.gerald-feedback strong{display:block;font-size:11px}
.gerald-feedback p{font:500 10px/1.25 Verdana,sans-serif;margin:2px 0 0}
.gerald-feedback .promotion-warning{font-size:10px;color:#a04263}
.gerald-tabs{display:flex;flex:0 0 auto;gap:4px;border-bottom:2px solid var(--border);padding-top:1px}
.gerald-tabs a{display:flex;align-items:center;justify-content:center;gap:5px;flex:1 1 0;min-width:0;padding:7px 3px 6px;border:1px solid #a8949a;border-bottom:0;border-radius:8px 8px 0 0;background:#ddcbd2;color:#573d57;text-decoration:none;font:700 11px/1.1 'Trebuchet MS',sans-serif;white-space:nowrap}
.gerald-tabs a.active,.gerald-tabs a:hover,.gerald-tabs a:focus-visible{background:var(--paper);border-color:var(--border);color:#302435}
.gerald-tabs .tab-count{padding:1px 5px;background:#f2d99e;border-radius:6px;font-size:9px}
.tab-content{flex:1 1 auto;min-height:0;overflow:hidden;border:2px solid #a68c98;border-radius:9px;background:var(--paper)}
.tab-content .employee-file,.tab-content .insights,.tab-content .activity-card{height:100%;min-height:0;padding:10px 12px;border:0;border-radius:0;box-shadow:none}
.tab-content .paper-heading{padding-bottom:6px;gap:7px;border-bottom-width:1px}
.tab-content .paper-heading h2{font-size:18px}
.tab-content .folder-icon{width:24px;height:23px;font-size:15px}
.tab-content .file-number{font-size:9px}
.tab-content .file-rows{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;margin-top:4px}
.tab-content .file-rows>div{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;padding:5px 0}
.tab-content .file-rows dt{font-size:10px;flex:0 0 auto}
.tab-content .file-rows dd{font-size:10px;text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis}
.tab-content .file-rows .counter{font-size:12px}
.tab-content .pill-active{padding:2px 5px;font-size:9px}
.tab-content .secondary-text{font-size:8px}
.tab-content .fine-print{padding-top:7px;font-size:9px}
.tab-content .insights h2{font-size:18px;margin:3px 0 7px}
.tab-content .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.tab-content .metrics>div{padding:6px;border-width:1px}
.tab-content .metrics b{font-size:20px}
.tab-content .metrics span{display:block;font-size:9px}
.tab-content .metrics-footnote{font-size:9px;margin:6px 0 0}
.tab-content .compact-activity{display:flex;flex-direction:column;padding:0;overflow:hidden}
.tab-content .activity-header{flex:0 0 auto;padding:6px 10px;border-bottom-width:1px}
.tab-content .activity-header h2{font-size:16px;margin:1px 0}
.tab-content .live-tag{font-size:8px;padding:4px}
.tab-content .log{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px 10px 8px;scrollbar-width:thin}
.tab-content .log-item{grid-template-columns:36px 15px minmax(0,1fr);gap:5px;padding:7px 0}
.tab-content .log-item time{font-size:9px}
.tab-content .log-symbol{font-size:14px}
.tab-content .log-item strong{font-size:11px}
.tab-content .log-item p{font-size:10px;line-height:1.3;margin:2px 0 0}
.gerald-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0;border:0;font-size:8px;color:#725d6e}
.gerald-footer form{flex:0 0 auto}
.gerald-footer .reset-button{padding:6px 10px;font-size:9px}
@media(max-width:1100px){.gerald-console{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.gerald-console .sticky-note{display:none}.control-deck{gap:6px;padding:9px}.control-deck .action-button small{display:none}.control-deck .action-button{min-height:52px}.action-hint{display:none}.tab-content .file-rows dt,.tab-content .file-rows dd{font-size:9px}}
@media(max-height:660px) and (min-width:761px){.gerald-workstation .ticker{display:none}.gerald-workstation .shell{gap:6px;padding:7px 11px}.gerald-workstation .page-intro p{display:none}.gerald-workstation .stamp{display:none}.control-deck .action-button{min-height:50px}.gerald-feedback{max-height:45px}.gerald-tabs a{padding-top:5px;padding-bottom:4px}}
@media(max-height:500px) and (min-width:761px){.gerald-workstation .page-intro{display:none}.gerald-workstation .shell{padding:6px}.command-summary h2{font-size:17px}.control-deck .action-button{min-height:41px}.gerald-feedback{min-height:22px;max-height:32px}.tab-content .file-rows>div{padding:2px 0}.tab-content .fine-print{display:none}.gerald-footer{display:none}}
@media(max-width:760px){html:has(.gerald-workstation),body.gerald-workstation{height:auto;min-height:100%;overflow:auto}.gerald-workstation .shell{overflow:visible;padding:13px}.gerald-workstation .page-intro{margin:0}.gerald-console{display:flex;flex-direction:column;min-height:auto}.gerald-console .office-panel{height:320px;flex:0 0 320px}.gerald-console .office-portrait{min-height:0}.control-deck{min-height:530px}.tab-content{flex:1 1 auto;min-height:180px}.control-deck .action-button{min-height:60px}.gerald-workstation .stamp{display:none}}
@media(max-width:470px){.control-deck .action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.command-mood{flex-basis:118px;width:118px}.command-summary h2{font-size:18px}.tab-content .file-rows{grid-template-columns:1fr}.tab-content .metrics{grid-template-columns:repeat(2,1fr)}.gerald-tabs a{font-size:10px}}


/* Original Pet Rock Department restoration: use the actual panoramic office artwork. */
@media (min-width: 761px) {
  .gerald-console{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
  .gerald-console .office-panel{height:auto;max-height:100%;aspect-ratio:1000 / 650;align-self:center}
  .gerald-console .office-portrait{min-height:0}
  .gerald-console .office-portrait img{object-fit:contain;object-position:center}
}
.control-deck .action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.control-deck .action-button{min-height:64px}
.control-deck .action-button strong{font-size:13px}
.gerald-feedback.has-result{background:#f0e0fa;border:2px solid #8051b5;color:#302435;font:700 11px/1.25 'Courier New',monospace}
.gerald-feedback.has-result .flash-icon{color:#8051b5;font:900 19px/1 'Courier New',monospace}
.gerald-feedback.has-result strong{font:700 11px/1.25 'Courier New',monospace}
.gerald-feedback.has-result p{font:700 11px/1.25 'Courier New',monospace}
.gerald-feedback.has-result .promotion-warning{color:#6c3488}
.gerald-tabs a{gap:3px;font-size:10px}
.tab-content .extra-card{height:100%;border:0;box-shadow:none;border-radius:0;padding:10px 12px;overflow:hidden}
.tab-content .extra-card h2{font-size:17px;margin:3px 0 8px}
.tab-content .extra-card .eyebrow{font-size:9px}
.gerald-extra-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gerald-extra-actions .action-button{min-height:55px}
.gerald-extra-actions .action-button small{display:none}
.gerald-extra-actions .action-button strong{font-size:11px}
.tab-content .tim-note{margin:8px 3px 0;padding:8px 10px;transform:rotate(-.4deg)}
.tab-content .tim-note p{font-size:10px;margin:3px 0}
.tab-content .tim-note strong{font-size:9px}
@media (max-height: 660px) and (min-width: 761px) {
  .control-deck .action-button{min-height:50px}
  .gerald-console .office-panel{aspect-ratio:1000 / 620}
}
@media (max-width: 1100px) and (min-width: 761px) {
  .gerald-console{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
}
@media (max-width: 760px) {
  .gerald-console .office-panel{aspect-ratio:1000 / 650;height:auto;min-height:0;flex:0 0 auto}
  .gerald-console .office-portrait{min-height:0}
  .gerald-console .office-portrait img{object-fit:contain}
}

.gerald-feedback .combo-unlocked{display:inline-block;margin-top:4px;padding:3px 6px;border:1px solid #8d579b;border-radius:5px;background:#f3defc;color:#65347a;font:800 9px/1.2 'Courier New',monospace;letter-spacing:.02em}


/* Gerald's actual pet-rock game: mood-responsive face, endings, and replay. */
.gerald-console .gerald-face-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
.gerald-console .office-portrait{isolation:isolate}
.gerald-console .photo-grain{z-index:1}
.gerald-cam-alert{position:absolute;top:9px;left:50%;transform:translateX(-50%);z-index:3;white-space:nowrap;padding:7px 10px;background:#6d2231;color:#fff4cc;border:2px solid #f2bc61;border-radius:8px;box-shadow:3px 3px 0 #251a2c;font:900 11px/1.2 'Courier New',monospace;letter-spacing:.04em}
.gerald-cam-alert.adopted{background:#285b43;color:#f5edc7}
.gerald-goal{font:800 9px/1.3 'Courier New',monospace;color:#694f5b;margin-top:4px}
.command-mood{width:154px;flex-basis:154px}
.command-mood>span{font-size:9px}
.command-mood progress{accent-color:#dfb04d}
.gerald-ending{min-width:0;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:linear-gradient(120deg,#fff2bd,#fcdf9d);border:3px solid #ad7d36;border-radius:12px;padding:12px 15px;box-shadow:3px 4px 0 #734c38;color:#452d32}
.gerald-ending.is-shattered{background:linear-gradient(120deg,#f3c7bf,#e9a69a);border-color:#a54b4d}
.gerald-ending .gerald-end-stamp{display:inline-block;font:800 9px/1.1 'Courier New',monospace;letter-spacing:.08em}
.gerald-ending h2{font-family:'Trebuchet MS',Verdana,sans-serif;font-size:clamp(17px,2vw,23px);line-height:1.1;margin:0}
.gerald-ending p{font-size:11px;line-height:1.35;margin:0;max-width:550px}
.gerald-play-again{margin-top:2px;background:#2e2433;color:#fff7e0;border:2px solid #291b2d;border-radius:7px;padding:7px 10px;cursor:pointer;font:800 11px/1.1 'Trebuchet MS',sans-serif}
.gerald-play-again:hover,.gerald-play-again:focus-visible{background:#694e78}
.gerald-paperwork-closed{font-size:12px;color:#ffdfaf}
.gerald-feedback.has-result .promotion-warning{display:inline-block;margin-left:5px}
@media(max-height:660px) and (min-width:761px){
  .gerald-ending{padding:7px 11px;gap:3px}
  .gerald-ending h2{font-size:17px}
  .gerald-ending p{font-size:10px}
  .gerald-play-again{padding:5px 8px}
  .gerald-goal{font-size:8px}
}
@media(max-width:1100px){
  .gerald-goal{font-size:8px}
  .command-mood{flex-basis:127px;width:127px}
  .gerald-cam-alert{font-size:9px}
}


/* Small no-JS navigation affordance for the embedded Gerald workstation. */
.gerald-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
.gerald-back-link{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:9px 13px;border:1px solid #7e617d;border-radius:8px;color:#ffe9ac;text-decoration:none;font:700 11px/1 'Courier New',monospace;white-space:nowrap}
.gerald-back-link:hover{background:#4b3452;border-color:#d5b2ce}
@media(max-width:650px){.gerald-header-tools{gap:8px}.gerald-header-tools .status{font-size:9px;white-space:normal;text-align:right}.gerald-back-link{font-size:10px;padding:8px;white-space:normal;text-align:center}.topbar-inner{gap:9px}}


/* Gerald's archival manilla file. Confined to this Ruby demo; no DD site restyling. */
body.gerald-workstation{
 --bg:#b69663;--paper:#fff9e9;--ink:#34291e;--border:#5b432c;
 background:
  radial-gradient(ellipse at 50% 35%,#e8d2a0 0%,#b68d58 70%,#755237 100%);
 color:#332818;
}
.gerald-workstation .topbar{background:#3d302b;border-bottom:1px solid #806144}
.gerald-workstation .topbar-inner{min-height:43px}
.gerald-workstation .wordmark{width:42px;height:37px;justify-content:center}
.gerald-workstation .wordmark-rock{display:block;width:35px;height:35px;object-fit:contain;filter:drop-shadow(0 1px 2px #0007)}
.gerald-workstation .ticker{background:#ddc38d;border-bottom:1px solid #b49460;color:#6c4c2b}
.gerald-workstation .ticker span:first-child{color:#6b4326}
.gerald-workstation .gerald-back-link{background:#5a453a;border:1px solid #a4845e;color:#ffe7b9}
.gerald-workstation .gerald-back-link:hover{background:#715341}
.gerald-workstation .shell{
 position:relative;
 isolation:isolate;
 background:
  repeating-linear-gradient(0deg,rgba(113,82,35,.014) 0,rgba(113,82,35,.014) 1px,transparent 1px,transparent 5px),
  linear-gradient(120deg,#dfbe84 0%,#efd4a0 52%,#dfbd80 100%);
 border:2px solid #86623c;
 border-top:7px solid #b08a52;
 border-radius:6px 16px 16px 16px;
 box-shadow:0 3px 0 #89633e,0 11px 0 #c5a16b,0 18px 0 #78532d,0 23px 35px #462e21a1;
 padding:12px 16px 16px;
 gap:12px;
 margin:22px auto 26px;
 width:calc(100% - 42px);
 max-width:1560px;
}
.gerald-workstation .shell::before{
 content:"";position:absolute;z-index:-1;left:24px;top:-26px;width:295px;height:26px;
 background:linear-gradient(145deg,#f0d49f,#dfbd80);
 border:2px solid #86623c;border-bottom:0;border-radius:12px 24px 0 0;
 box-shadow:inset 0 3px 0 #fff2d133;
}
.gerald-workstation .shell::after{
 content:"FILED UNDER: EXCEPTIONALLY QUALIFIED MINERALS";
 position:absolute;right:20px;top:12px;color:#876744;font:700 9px/1.2 'Courier New',monospace;
 letter-spacing:.11em;pointer-events:none;
}
.gerald-workstation .page-intro{
 flex:0 0 auto;display:flex;justify-content:flex-start;align-items:center;gap:18px;min-height:65px;
 margin:0;padding:0 0 10px;border-bottom:1px dashed #ab8957;
}
.gerald-workstation .folder-label{
 display:flex;align-items:center;gap:11px;flex:none;min-width:0;
 background:#f7e6c1;border:1px solid #ad8956;border-left:5px solid #916739;
 border-radius:5px;padding:7px 16px 7px 8px;box-shadow:2px 3px 0 #c5a16d;
}
.gerald-workstation .folder-label-rock{
 display:block;width:47px;height:47px;object-fit:contain;flex:0 0 auto;
 filter:drop-shadow(0 2px 1px #65462b42)
}
.gerald-workstation .folder-label-kicker{
 display:block;font:800 9px/1.3 'Courier New',monospace;color:#89633e;letter-spacing:.07em;
}
.gerald-workstation .folder-label h1{font-size:clamp(24px,2.3vw,34px);margin:2px 0 0;line-height:1.08;color:#352716}
.gerald-workstation .folder-label h1 em{color:#96593d;text-decoration:none}
.gerald-workstation .page-intro .folder-summary{
 margin:0;max-width:500px;color:#715334;line-height:1.45;font-size:11px;
}
.gerald-workstation .page-intro .folder-summary strong{color:#392915}
.gerald-workstation .folder-reference{
 margin-left:auto;align-self:flex-end;white-space:nowrap;font:700 9px/1.2 'Courier New',monospace;
 color:#977245;letter-spacing:.03em;
}
.gerald-workstation .gerald-console{gap:12px}
.gerald-workstation .office-panel{
 border:3px solid #6a4b38;box-shadow:3px 4px 0 #a17e4a;
 background:#4a394c;
}
.gerald-workstation .control-deck{
 background:#f0dfbf;border:3px solid #695039;box-shadow:3px 4px 0 #b08b57;
}
.gerald-workstation .tab-content{background:#fff9ed;border-color:#bca17a}
.gerald-workstation .gerald-tabs a{background:#dcc499;border-color:#a48559;color:#5e432b}
.gerald-workstation .gerald-tabs a.active,.gerald-workstation .gerald-tabs a:hover{background:#fff9ed;color:#352918;border-color:#695039}
.gerald-workstation .tab-content .paper,.gerald-workstation .tab-content .employee-file{background:#fff9ed}
.gerald-workstation .gerald-footer{color:#795c3c}
@media(max-width:1200px){
 .gerald-workstation .folder-reference{display:none}
 .gerald-workstation .shell::after{display:none}
 .gerald-workstation .page-intro .folder-summary{font-size:10px}
}
@media(max-height:660px) and (min-width:761px){
 .gerald-workstation .shell{margin-top:18px;margin-bottom:9px;padding:8px 12px 10px;gap:8px}
 .gerald-workstation .shell::before{top:-21px;height:21px}
 .gerald-workstation .page-intro{min-height:46px;padding-bottom:5px}
 .gerald-workstation .folder-label{padding:3px 12px 3px 6px}
 .gerald-workstation .folder-label-rock{width:34px;height:34px}
 .gerald-workstation .folder-label h1{font-size:24px}
}
@media(max-height:500px) and (min-width:761px){
 .gerald-workstation .page-intro{display:flex}
 .gerald-workstation .folder-label{padding:2px 8px}
 .gerald-workstation .folder-label-rock{width:26px;height:26px}
 .gerald-workstation .folder-label h1{font-size:20px}
 .gerald-workstation .page-intro .folder-summary{display:none}
}
@media(max-width:760px){
 .gerald-workstation .shell{width:calc(100% - 24px);margin:26px auto 18px;padding:12px;overflow:visible}
 .gerald-workstation .shell::before{width:200px;left:13px}
 .gerald-workstation .page-intro{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
 .gerald-workstation .page-intro .folder-summary{max-width:100%;font-size:12px}
 .gerald-workstation .folder-label{max-width:100%}
}


/* Real manilla file profile: visible left tab and aged card stock. */
body.gerald-workstation{
 background:#65503a;
 background-image:radial-gradient(ellipse at 50% 40%,#a88b65,#61472e 93%);
}
.gerald-workstation .ticker{background:#d4b078;color:#553a24}
.gerald-workstation .shell{
 background:
   radial-gradient(ellipse at 85% 16%,rgba(110,66,20,.13),transparent 44%),
   radial-gradient(ellipse at 15% 81%,rgba(98,52,20,.11),transparent 39%),
   repeating-linear-gradient(97deg,rgba(106,62,25,.035) 0px,rgba(106,62,25,.035) 1px,transparent 1px,transparent 8px),
   linear-gradient(110deg,#d9ab69,#ead0a0 30%,#e6c38c 64%,#d1a467 100%);
 border:1px solid #8c6135;
 border-radius:8px 13px 12px 12px;
 box-shadow:0 3px 0 #bb8a50,0 9px 0 #e3bd80,0 15px 0 #795433,0 23px 36px #27190e9c,inset 0 2px 7px #fff1c459;
 margin-top:48px;
 padding:13px 17px 17px;
 overflow:visible;
}
.gerald-workstation .shell::before{
 left:24px;top:-30px;width:315px;height:30px;
 border-radius:15px 20px 0 0;
 background:linear-gradient(130deg,#dfb879,#edcf9a 55%,#deb074);
 border:1px solid #8c6135;border-bottom:0;box-shadow:none;
}
.gerald-workstation .shell::after{
 content:"ARCHIVE COPY / FILE 0001";
 top:9px;right:20px;letter-spacing:.11em;color:#977049;
}
.gerald-workstation .page-intro{
 position:relative;min-height:52px;align-items:center;padding:0 0 10px;
 border-bottom:1px solid #b28753;
}
.gerald-workstation .folder-label{
 position:relative;
 border:1px solid #b98c56;border-left:4px solid #98663b;
 border-radius:4px;
 background:linear-gradient(#f7e8c9,#f0d6a7);
 box-shadow:0 2px 0 #c49d67;
 padding:5px 12px 5px 7px;
}
.gerald-workstation .folder-label-rock{width:40px;height:40px}
.gerald-workstation .folder-label h1{font-size:clamp(22px,2.3vw,32px)}
.gerald-workstation .page-intro .folder-summary{color:#674a2f}
.gerald-workstation .office-panel{border-color:#6d4a2f}
.gerald-workstation .control-deck{background:#f1e2c9;border-color:#735034}
.gerald-workstation .tab-content{background:#fff8e9}
.gerald-workstation .insights{display:flex;flex-direction:column}
.gerald-workstation .gerald-instructions{
 margin-top:auto;
 padding:11px 13px;
 border-top:1px solid #cfb58c;
 border-radius:7px;
 background:linear-gradient(145deg,#faedcf,#f5dfb4);
 color:#58412d;
}
.gerald-workstation .gerald-instructions h3{
 font:bold 13px/1.25 'Trebuchet MS',Verdana,sans-serif;
 margin:0 0 6px;
}
.gerald-workstation .gerald-instructions p{
 font:11px/1.48 Verdana,sans-serif;
 margin:3px 0 6px;
}
@media(max-width:760px){
 .gerald-workstation .shell{margin-top:48px;overflow:visible}
 .gerald-workstation .shell::before{left:13px;width:235px}
 .gerald-workstation .folder-label h1{font-size:23px}
 .gerald-workstation .gerald-instructions{margin-top:16px}
}
@media(max-height:700px) and (min-width:761px){
 .gerald-workstation .shell{margin-top:35px;padding:7px 12px}
 .gerald-workstation .shell::before{top:-25px;height:25px}
 .gerald-workstation .page-intro{min-height:43px;padding-bottom:4px}
 .gerald-workstation .folder-label-rock{width:28px;height:28px}
 .gerald-workstation .folder-label h1{font-size:22px}
 .gerald-workstation .gerald-instructions{padding:6px 9px}
 .gerald-workstation .gerald-instructions p{font-size:9px;line-height:1.25;margin:2px 0 4px}
}
