:root { font: 16px/1.4 W95FA, Arial, sans-serif; color: #111; background: #008080; --gray: #c0c0c0; --navy: #000080; }
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; padding: 26px 20px; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
button, .raised-link {
  cursor: pointer; background: var(--gray); border: 1px solid;
  border-color: #dfdfdf #000 #000 #dfdfdf;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
  padding: 6px 14px; min-height: 32px;
}
button:active:not(:disabled), .raised-link:active { border-color: #000 #fff #fff #000; box-shadow: inset 1px 1px #808080; }
button:disabled { cursor: default; color: #808080; text-shadow: 1px 1px #fff; }
button:disabled .pixel-icon { filter: grayscale(1); opacity: .45; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px dotted #000; outline-offset: 3px; }
button:focus-visible { outline-offset: -5px; }
a { color: #0000c8; }
a:visited { color: #551a8b; }
p { margin: 0 0 14px; }
::selection { color: #fff; background: var(--navy); }
[hidden] { display: none !important; }
.skip { position: absolute; top: -100px; background: #fff; padding: 10px; z-index: 100; }
.skip:focus { top: 0; }
.site { max-width: 1120px; margin: auto; background: #fff; padding: 3px; border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px #808080, 3px 3px #004747; }
.browser-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 8px; background: var(--navy); color: #fff; min-height: 28px; }
.browser-title > span { display: flex; align-items: center; gap: 7px; }
.title-link, .title-link:visited { color: #fff; }
.title-link:focus-visible { outline-color: #fff; }
.addressbar { display: flex; align-items: center; gap: 8px; background: var(--gray); padding: 5px 8px; border-bottom: 1px solid #808080; }
.address-field { flex: 1; background: #fff; border: 1px solid; border-color: #808080 #fff #fff #808080; box-shadow: inset 1px 1px #000; padding: 3px 8px; display: flex; gap: 7px; align-items: center; min-width: 0; }
.address-field a { color: #111; text-decoration: none; }
.raised-link { text-decoration: none; color: #111 !important; display: inline-flex; align-items: center; gap: 7px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 35px; }
.logo { display: block; width: 310px; flex-shrink: 0; }
.logo img { width: 100%; height: auto; display: block; }
.welcome { max-width: 330px; text-align: right; }
.welcome strong { display: block; font-size: 24px; margin-bottom: 8px; }
.welcome p { margin: 4px 0; }
.red { color: #b00000; }
.nav { background: #ffffcc; border-block: 1px solid #808080; padding: 9px 12px; text-align: center; line-height: 1.9; }
.nav a { margin: 0 10px; }
.layout { display: grid; grid-template-columns: 170px minmax(0,1fr); margin-top: 4px; }
.sidebar { background: #efefef; border-right: 1px solid #aaa; padding: 14px 12px; }
.side-title { font-size: 16px; background: var(--navy); color: #fff; margin: 0 0 10px; padding: 4px 6px; }
.sidebar ul { list-style: none; padding: 0 0 0 10px; margin: 0 0 24px; }
.sidebar li { position: relative; padding: 4px 0 4px 12px; border-left: 1px dotted #808080; }
.sidebar li::before { content: ""; position: absolute; width: 8px; border-top: 1px dotted #808080; top: 15px; left: 0; }
.sidebar p { margin: 10px 0; }
.badge { display: block; width: 134px; margin: 13px auto; padding: 6px 3px; font: bold 11px/1.3 "Courier New", monospace; text-align: center; }
.badge strong { display: block; font-size: 17px; }
.badge.black { background: #000; color: #fff; }
.badge.black:focus-visible { outline-color: #fff; }
.badge.yellow { background: #ffff00; }
.side-rule { border: 0; border-top: 1px solid #aaa; margin: 24px 0; }
.dash-stamp, .small-stamp { position: relative; overflow: hidden; background: #fff; width: 106px; height: 88px; margin: 10px auto; }
.dash-stamp img, .small-stamp img { position: absolute; width: 470px; max-width: none; left: -103px; top: -118px; }
.stamp-caption { text-align: center; }
.sidebar-animation { text-align: center; padding: 12px 0; }
.sidebar-animation .classic-animation { display: inline-grid; }
.sidebar-animation p { font-size: 16px; }
.main { min-width: 0; padding: 25px 32px 28px; }
.updated { margin-bottom: 18px; }
.new { background: #ffff00; color: #a40000; font-style: italic; font-weight: bold; padding: 2px 5px; margin-right: 6px; }
h1 { font-size: 40px; font-weight: 400; line-height: 1.1; margin: 0 0 22px; letter-spacing: 0; }
h1 .red { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead { font-size: 19px; line-height: 1.45; margin: 0 0 14px; }
.note { color: #444; }
.intro-end { margin: 22px 0; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 17px; }
.hero-actions .raised-link { font-weight: bold; outline: 1px solid #000; outline-offset: 2px; }
.section-heading { font: bold 18px/1.3 W95FA, Arial, sans-serif; background: #dfdfdf; padding: 7px 10px; margin: 26px 0 14px; border: 1px solid; border-color: #fff #808080 #808080 #fff; }
.section-heading .pixel-icon { margin-right: 6px; }
.inset { border: 1px solid; border-color: #808080 #fff #fff #808080; box-shadow: inset 1px 1px #000; background: #fff; }
.mail-scene { height: 1480px; position: relative; }
.mail-sticky { position: sticky; top: 12px; padding: 1px 0 12px; background: #fff; }
.scroll-hint { color: var(--navy); margin: 8px 0; }
.mailbox { position: relative; overflow: hidden; background: var(--gray); padding: 3px; border: 1px solid; border-color: #fff #000 #000 #fff; box-shadow: inset -1px -1px #808080; }
.mail-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; padding: 3px 5px; color: #fff; background: var(--navy); user-select: none; }
.caption-buttons { display: flex; gap: 2px; }
.caption-buttons button, .dialog-x, .popup-close { display: inline-grid; place-items: center; width: 20px; height: 20px; min-height: 20px; padding: 0; flex: 0 0 auto; }
.caption-buttons button:focus-visible, .popup-close:focus-visible { outline-color: #000; outline-width: 1px; outline-offset: -4px; }
.menu-bar { display: flex; position: relative; z-index: 8; padding: 2px 0; background: var(--gray); }
.menu { position: relative; border: 0; }
.menu summary { list-style: none; text-decoration: none; color: #111; padding: 3px 10px; line-height: 1.4; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--navy); color: #fff; }
.menu > div { position: absolute; left: 0; top: 100%; width: 195px; max-width: calc(100vw - 45px); padding: 3px; background: var(--gray); border: 2px outset #eee; box-shadow: 2px 2px #444; }
.menu button { width: 100%; text-align: left; border: 0; box-shadow: none; padding: 5px 9px; }
.menu button:hover:not(:disabled), .menu button:focus-visible { background: var(--navy); color: #fff; outline-color: #fff; }
.toolbar { display: flex; gap: 3px; padding: 5px; border-top: 1px solid #fff; border-bottom: 1px solid #808080; }
.toolbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 68px; min-height: 61px; border: 1px solid transparent; box-shadow: none; padding: 4px 8px; }
.toolbar button:hover:not(:disabled) { border-color: #fff #808080 #808080 #fff; }
.toolbar button:active:not(:disabled) { border-color: #808080 #fff #fff #808080; }
.toolbar-icon { display: grid; place-items: center; width: 32px; height: 32px; }
.tool-label { font: inherit; color: inherit; }
.mail-body { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 4px; margin-top: 4px; }
.folders { padding: 9px 4px; background: #fff; border: 2px inset #eee; }
.folders > b { display: flex; gap: 5px; align-items: center; font-weight: normal; margin-bottom: 8px; }
.folder { display: flex; gap: 5px; align-items: center; white-space: nowrap; width: 100%; padding: 5px 3px; min-height: 31px; background: transparent; border: 0; box-shadow: none; text-align: left; }
.folder[aria-current=true] { background: var(--navy); color: #fff; }
.folder[aria-current=true]:focus-visible { outline-color: #fff; }
.mail-main { min-width: 0; }
.message-list { height: 149px; overflow: auto; margin-bottom: 4px; scroll-padding-top: 26px; }
.list-head, .mail-row { display: grid; grid-template-columns: 24px 125px minmax(0,1fr); text-align: left; }
.list-head { position: sticky; top: 0; z-index: 1; background: var(--gray); }
.list-head span { border: 1px outset #eee; padding: 3px 5px; }
.mail-row { width: 100%; padding: 0; min-height: 29px; border: 0; box-shadow: none; background: #fff; }
.mail-row > span { display: block; padding: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-row.unread { font-weight: bold; }
.mail-row[aria-pressed=true] { background: var(--gray); }
.message-list:focus-within .mail-row[aria-pressed=true] { background: var(--navy); color: #fff; }
.mail-row:hover:not([aria-pressed=true]) { background: #efefef; }
.mail-row:focus-visible { outline-color: #fff; outline-offset: -3px; outline-width: 1px; }
.email { min-height: 0; }
.headers { background: #eee; padding: 6px 10px; border-bottom: 1px solid #aaa; overflow-wrap: anywhere; }
.headers div { margin: 2px 0; display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 5px; }
.headers b { font-weight: normal; }
.message { height: 228px; padding: 14px; overflow: auto; font: 14px/1.55 Arial, sans-serif; overflow-wrap: anywhere; }
.message ul { padding-left: 22px; }
.message li { margin-bottom: 9px; }
.message p { margin: 0 0 14px; }
.message p:last-child { margin-bottom: 0; }
.message-source { margin-top: 12px !important; }
.message-source button { font: 16px W95FA, Arial, sans-serif; }
.message:focus-visible { outline: 2px dotted var(--navy); outline-offset: -5px; }
.empty { color: #444; padding: 15px; }
.status-bar { display: flex; gap: 3px; margin-top: 4px; }
.status-bar span { flex: 1; border: 1px inset #ddd; padding: 3px 6px; }
.status-bar span:last-child { flex: 0 0 auto; }
.mail-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; padding: 10px 0 2px; position: relative; z-index: 4; }
.mail-actions p { margin: 0; font-size: 16px; max-width: 350px; }
.mail-actions button { font-weight: bold; min-height: 40px; }
.noise-control { margin-top: 8px; }
.scene-note { color: #444; margin: 8px 0 0; }
.outreach-layer { position: absolute; inset: 129px 0 30px; pointer-events: none; z-index: 5; overflow: hidden; }
.slop-window { position: absolute; width: 86%; padding: 3px; border: 1px solid; border-color: #fff #000 #000 #fff; background: var(--gray); box-shadow: 3px 3px #0005; visibility: hidden; opacity: 0; transform: translateY(35px); pointer-events: none; transition: transform .25s steps(6,end), opacity .15s; }
.slop-window.visible { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.slop-window .mail-title button:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; color: #fff; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; min-height: 20px; }
.slop-window .mail-title button:first-child:focus-visible { outline-color: #fff; }
.slop-content { height: 250px; background: #fff; border: 2px inset #eee; padding: 12px; overflow: auto; font: 13px/1.5 Arial, sans-serif; }
.slop-content p { margin: 10px 0; }
.slop-content ul { padding-left: 20px; }
.popup-footer { padding: 4px; text-align: right; }
.popup-footer button { min-height: 27px; padding: 2px 9px; }
.sender-line { padding: 0 0 8px; margin-bottom: 10px; border-bottom: 1px solid #bbb; }
.sender-line s { color: #555; text-decoration-color: #c40000; text-decoration-thickness: 2px; }
.model-name { display: inline-block; color: #b00000; font: bold 18px "Comic Sans MS", cursive; margin-left: 12px; transform: rotate(-4deg); }
.red-pen { color: #b00000; font: bold italic 14px/1.5 "Comic Sans MS", cursive; }
.mail-scene.cleared .slop-window { visibility: hidden; opacity: 0; pointer-events: none; }
.demo-transfer { position: absolute; z-index: 9; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 304px; border: 2px outset #eee; background: var(--gray); box-shadow: 3px 3px #0006; padding: 3px; }
.demo-transfer > p { margin: 0; background: var(--navy); color: #fff; padding: 3px 7px; }
.demo-transfer .classic-animation { margin: 12px auto; }
.demo-transfer > span { display: block; padding: 0 12px 9px; }
.mailbox.maximized { position: fixed; inset: 12px; z-index: 50; margin: 0; overflow: auto; box-shadow: 0 0 0 100vmax #0008; }
.maximized .mail-body { min-height: calc(100dvh - 190px); }
.maximized .message { height: calc(100dvh - 400px); min-height: 200px; }
.mailbox.no-folders .mail-body { grid-template-columns: 1fr; }
.mailbox.no-folders .folders { display: none; }
.mailbox.minimized #client-content { display: none; }
.pixel-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; vertical-align: middle; object-fit: contain; image-rendering: pixelated; }
.pixel-icon.icon-32 { width: 32px; height: 32px; }
.system-glyph { width: 12px; height: 12px; display: inline-block; position: relative; }
.system-maximize { border: 1px solid #000; border-top-width: 3px; height: 11px; }
.system-minimize { border-bottom: 2px solid #000; height: 10px; width: 9px; }
.system-restore::before, .system-restore::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid #000; border-top-width: 2px; background: var(--gray); }
.system-restore::before { right: 0; top: 0; }
.system-restore::after { left: 0; bottom: 0; }
.system-close::before, .system-close::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 2px; background: #000; transform: rotate(45deg); }
.system-close::after { transform: rotate(-45deg); }
.classic-animation { display: grid; place-items: center; width: var(--animation-width); height: var(--animation-height); }
.classic-animation > * { grid-area: 1/1; }
.classic-animation img { image-rendering: pixelated; }
.animation-gif { display: none; }
.animation-still { display: inline-grid; place-items: center; }
[data-motion=on] .animation-gif[src] { display: block; }
[data-motion=on] .animation-gif[src] + .animation-still { display: none; }
[data-motion=off] .slop-window { transition: none; }
.callout { border: 1px solid #b00000; background: #fff8f8; padding: 18px; margin: 25px 0; }
.callout strong { font-size: 28px; font-weight: normal; line-height: 1.1; }
.callout p { margin: 10px 0 0; }
.comparison { border-collapse: collapse; width: 100%; }
.comparison th, .comparison td { border: 1px solid #999; padding: 9px 11px; vertical-align: top; text-align: left; }
.comparison th { background: var(--gray); }
.comparison td:first-child { width: 49%; }
.comparison tr:nth-child(odd) td { background: #f3f3f3; }
.personal-note { display: grid; grid-template-columns: 1fr 108px; gap: 18px; align-items: center; margin: 18px 0; }
.personal-note p { margin: 0; }
details { border-bottom: 1px solid #bbb; }
summary { cursor: pointer; color: #0000c8; text-decoration: underline; padding: 12px 0; }
details p { margin: 0 0 14px; }
.closing { text-align: center; background: #ffffcc; border: 1px solid #aaa; padding: 24px 18px; margin-top: 26px; }
.closing strong { font-size: 26px; }
.closing p { margin: 10px 0; }
.closing .raised-link { margin: 4px 10px 12px; }
.footer { text-align: center; border-top: 1px solid #888; padding: 20px 14px 12px; margin-top: 5px; }
.footer p { margin: 8px 0; }
.footer-links a { margin: 0 10px; }
.footer-brand { font-weight: bold; }
.counter { display: inline-block; background: #000; color: #0f0; font: 14px "Courier New", monospace; letter-spacing: 3px; padding: 2px 5px; border: 2px inset #ddd; }
.footnote { color: #444; }
.motion-control { margin-top: 8px; }
dialog { background: var(--gray); color: #111; border: 2px outset #eee; padding: 3px; width: 480px; max-width: calc(100vw - 24px); font: 16px/1.45 W95FA,Arial,sans-serif; box-shadow: 4px 4px #0006; }
dialog::backdrop { background: #0005; }
dialog form { margin: 0; }
#dialog-body { padding: 18px; max-height: 65vh; overflow: auto; overflow-wrap: anywhere; }
#dialog-body pre { white-space: pre-wrap; background: #fff; border: 2px inset #eee; padding: 10px; font: 13px/1.5 "Courier New",monospace; }
#dialog-body label { display: block; margin: 10px 0; }
#dialog-body input, #dialog-body textarea { width: 100%; border: 1px solid; border-color: #808080 #fff #fff #808080; box-shadow: inset 1px 1px #000; padding: 7px; background: #fff; }
#dialog-body textarea { height: 150px; resize: vertical; }
.dialog-bottom { text-align: right; padding: 0 14px 12px; }
.dialog-bottom button { min-width: 80px; outline: 1px solid #000; outline-offset: 2px; }
.message-list, .message, .slop-content, #dialog-body { overscroll-behavior: contain; scrollbar-color: #c0c0c0 #eee; scrollbar-gutter: stable; }
@media (max-width: 850px) {
  body { padding: 12px; }
  .layout { grid-template-columns: 150px minmax(0,1fr); }
  .sidebar { padding: 12px 7px; }
  .main { padding: 20px; }
  .masthead { padding: 16px 20px; gap: 15px; }
  .logo { width: 260px; }
  .welcome strong { font-size: 22px; }
  h1 { font-size: 32px; }
  .mail-body { grid-template-columns: 1fr; }
  .folders { display: flex; flex-wrap: wrap; gap: 3px; padding: 3px; }
  .folders > b { display: none; }
  .folder { width: auto; }
  .mail-actions { flex-wrap: wrap; }
  .mailbox .outreach-layer { top: 146px; }
}
@media (max-width: 650px) {
  body { padding: 6px; }
  .site { padding: 2px; }
  .browser-title { gap: 7px; padding: 4px 6px; }
  .browser-title > span { gap: 4px; }
  .addressbar { gap: 6px; padding: 5px; }
  .addressbar > span { display: none; }
  .addressbar .raised-link { padding: 5px 8px; }
  .masthead { flex-direction: column; gap: 4px; padding: 10px 12px 18px; }
  .logo { width: 275px; max-width: 100%; }
  .welcome { max-width: none; text-align: center; }
  .welcome strong { font-size: 24px; }
  .nav { padding: 7px 2px; }
  .nav a { margin: 0 5px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main { padding: 22px 12px; }
  .lead { font-size: 18px; }
  h1 { font-size: 32px; }
  .hero-actions { gap: 14px; }
  .mail-scene { height: auto; }
  .mail-sticky { position: relative; top: 0; }
  .scroll-hint { display: none; }
  .mail-title { gap: 3px; }
  .caption-buttons { gap: 2px; }
  .menu summary { padding: 6px 9px; }
  .menu:nth-last-child(-n+2) > div { left: auto; right: 0; }
  .toolbar { gap: 0; padding: 3px 1px; }
  .toolbar button { min-width: 0; flex: 1; padding: 4px 2px; min-height: 62px; }
  .toolbar-icon { width: 32px; }
  .folder { min-height: 35px; padding: 5px; }
  .list-head, .mail-row { grid-template-columns: 22px 88px minmax(0,1fr); }
  .message-list { height: 132px; }
  .mail-row { min-height: 33px; }
  .headers { padding: 6px 8px; }
  .message { height: 245px; padding: 12px; font-size: 15px; }
  .status-bar { flex-wrap: wrap; }
  .status-bar span:last-child { display: none; }
  .slop-window { width: 96%; left: 2% !important; }
  .slop-content { height: 240px; }
  .mailbox .outreach-layer { top: 129px; }
  .mail-actions { gap: 12px; }
  .mail-actions button, .noise-control { width: 100%; min-height: 42px; }
  .demo-transfer { width: 294px; max-width: calc(100% - 8px); }
  .comparison th, .comparison td { padding: 7px; }
  .personal-note { grid-template-columns: 1fr; }
  .small-stamp { display: none; }
  .closing { padding: 20px 12px; }
  .footer-links a { margin: 0 6px; }
  .mailbox.maximized { inset: 4px; }
  .maximized .message { height: calc(100dvh - 490px); min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .animation-gif { display: none !important; }
  .animation-still { display: inline-grid !important; }
}
