/* An XP Silver document window around a normal, printable résumé. */
:root { font: 15px/1.55 Tahoma, Verdana, sans-serif; color: #17181c; background: #8f91a7; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.app { min-height: 100vh; border: 3px solid #7b7c96; border-top-width: 1px; background: #8f91a7; }
.titlebar {
  height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 4px 0 7px;
  font: 700 14px 'Trebuchet MS', Tahoma, sans-serif; text-shadow: 1px 1px #fff;
  background: linear-gradient(#c7c8d8 0, #fff 7%, #f2f2f7 13%, #c0c1d2 26%, #b0b1c6 48%, #c6c7d8 70%, #e9e9f1 87%, #73748c 100%);
}
.titlebar span { flex: 1; }
.close {
  position: relative; width: 25px; height: 25px;
  border: 1px solid #fff; border-radius: 4px; box-shadow: 0 0 0 1px #777891;
  background: linear-gradient(145deg, #f3b29c 0, #d9583a 40%, #a52c10 100%);
}
.close::before, .close::after { content: ''; position: absolute; left: 10px; top: 3px; width: 3px; height: 17px; background: #fff; transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }
nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px; background: #e0dfe3; border-bottom: 1px solid #66677e; }
nav a, nav button {
  padding: 5px 12px; border: 1px solid #55567a; border-radius: 3px;
  background: linear-gradient(#fff, #f0f0f6 35%, #c9cadb 85%, #b6b7ca);
  color: #17181c; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer;
}
nav a:hover, nav button:hover { box-shadow: inset 0 0 0 2px #f0b54a; }
:focus-visible { outline: 2px dotted #17181c; outline-offset: 1px; }
.workspace { padding: 24px 16px; }
main { max-width: 800px; margin: 0 auto; padding: 40px 48px; background: #fff; box-shadow: 3px 3px 8px rgb(0 0 0 / .4); }
main a { color: #003cb3; overflow-wrap: anywhere; }
h1 { margin: 0; font: 700 40px/1.1 'Trebuchet MS', Tahoma, sans-serif; }
h2 { margin: 28px 0 10px; padding-bottom: 4px; border-bottom: 2px solid #9293aa; color: #3d3e57; font-size: 17px; }
h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; margin: 16px 0 4px; font-size: 16px; }
h3 span { color: #55566a; font-weight: 400; font-size: 13px; }
p { margin: 8px 0; }
.role { font-size: 19px; }
.details { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 13px; }
dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 12px; margin: 0; }
dt { font-weight: 700; }
dd { margin: 0; }
ul { margin: 0; padding-left: 20px; }

/* Inside the desktop or mobile site, which supplies its own title bar */
.embedded .titlebar, .embedded .back-home { display: none; }
.embedded .app { border: 0; }
.embedded nav { position: sticky; top: 0; z-index: 1; }

@media screen and (hover: none) and (pointer: coarse) {
  .details { align-items: center; row-gap: 0; }
  nav a, nav button, main a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
}

@media screen and (max-width: 600px) {
  .workspace { padding: 8px; }
  main { padding: 22px 16px; }
  dl { display: block; }
  dd { margin-bottom: 8px; }
}
@media print {
  @page { margin: 14mm; }
  :root { background: #fff; font-size: 10pt; line-height: 1.4; }
  .titlebar, nav { display: none; }
  .app { min-height: 0; border: 0; background: #fff; }
  .workspace { padding: 0; }
  main { max-width: none; padding: 0; box-shadow: none; }
  article { break-inside: avoid; }
}
