/*! 98.css v0.1.21 - https://github.com/jdan/98.css */@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:400;src:url(/assets/ms_sans_serif-C3pax6mQ.woff) format("woff");src:url(/assets/ms_sans_serif-Du8rjN1q.woff2) format("woff2")}@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:700;src:url(/assets/ms_sans_serif_bold-B8yxhAcs.woff) format("woff");src:url(/assets/ms_sans_serif_bold-D5dpRRHG.woff2) format("woff2")}body{color:#222;font-family:Arial;font-size:12px}.title-bar,.window,button,input,label,legend,li[role=tab],option,select,table,textarea,ul.tree-view{-webkit-font-smoothing:none;font-family:"Pixelated MS Sans Serif",Arial;font-size:11px}h1{font-size:5rem}h2{font-size:2.5rem}h3{font-size:2rem}h4{font-size:1.5rem}u{border-bottom:.5px solid #222;text-decoration:none}button,input[type=reset],input[type=submit]{background:silver;border:none;border-radius:0;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;color:transparent;min-height:23px;min-width:75px;padding:0 12px;text-shadow:0 0 #222}button.default,input[type=reset].default,input[type=submit].default{box-shadow:inset -2px -2px #0a0a0a,inset 1px 1px #0a0a0a,inset 2px 2px #fff,inset -3px -3px grey,inset 3px 3px #dfdfdf}.vertical-bar{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;height:20px;width:4px}button:not(:disabled):active,input[type=reset]:not(:disabled):active,input[type=submit]:not(:disabled):active{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey;text-shadow:1px 1px #222}button.default:not(:disabled):active,input[type=reset].default:not(:disabled):active,input[type=submit].default:not(:disabled):active{box-shadow:inset 2px 2px #0a0a0a,inset -1px -1px #0a0a0a,inset -2px -2px #fff,inset 3px 3px grey,inset -3px -3px #dfdfdf}@media (not(hover)){button:not(:disabled):hover,input[type=reset]:not(:disabled):hover,input[type=submit]:not(:disabled):hover{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}}button:focus,input[type=reset]:focus,input[type=submit]:focus{outline:1px dotted #000;outline-offset:-4px}button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0}:disabled,:disabled+label,input[readonly],input[readonly]+label{color:grey}:disabled+label,button:disabled,input[type=reset]:disabled,input[type=submit]:disabled{text-shadow:1px 1px 0 #fff}.window{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;padding:3px}.title-bar{align-items:center;background:linear-gradient(90deg,navy,#1084d0);display:flex;justify-content:space-between;padding:3px 2px 3px 3px}.title-bar.inactive{background:linear-gradient(90deg,grey,#b5b5b5)}.title-bar-text{color:#fff;font-weight:700;letter-spacing:0;margin-right:24px}.title-bar-controls{display:flex}.title-bar-controls button{display:block;min-height:14px;min-width:16px;padding:0}.title-bar-controls button:active{padding:0}.title-bar-controls button:focus{outline:none}.title-bar-controls button[aria-label=Minimize],.title-bar-controls button[aria-label].minimize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");background-position:bottom 3px left 4px;background-repeat:no-repeat}.title-bar-controls button[aria-label=Maximize],.title-bar-controls button[aria-label].maximize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}.title-bar-controls button[aria-label=Maximize]:disabled,.title-bar-controls button[aria-label].maximize:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 1H1v9h9V1zM9 3H2v6h7V3z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='gray'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}.title-bar-controls button[aria-label=Restore],.title-bar-controls button[aria-label].restore{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}.title-bar-controls button[aria-label=Help],.title-bar-controls button[aria-label].help{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/%3E%3C/svg%3E");background-position:top 2px left 5px;background-repeat:no-repeat}.title-bar-controls button[aria-label=Close],.title-bar-controls button[aria-label].close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");background-position:top 3px left 4px;background-repeat:no-repeat;margin-left:2px}.status-bar{gap:1px;display:flex;margin:0 1px}.status-bar-field{box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;flex-grow:1;margin:0;padding:2px 3px}.window-body{margin:8px}fieldset{border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h5v5H0V2h2v1h1V2H0' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h4v4H0V1h1v2h2V1H0'/%3E%3C/svg%3E") 2;margin:0;padding:10px;padding-block-start:8px}legend{background:silver}.field-row{align-items:center;display:flex}[class^=field-row]+[class^=field-row]{margin-top:6px}.field-row>*+*{margin-left:6px}.field-row-stacked{display:flex;flex-direction:column}.field-row-stacked *+*{margin-top:6px}label{align-items:center;display:inline-flex;user-select:none}input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:0;border:none;margin:0;opacity:0;position:fixed}input[type=checkbox]+label,input[type=radio]+label{line-height:13px}input[type=radio]+label{margin-left:18px;position:relative}input[type=radio]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='%23fff'/%3E%3C/svg%3E");content:"";display:inline-block;height:12px;left:-18px;margin-right:6px;position:absolute;top:0;width:12px}input[type=radio]:active+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}input[type=radio]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:4px;left:-14px;position:absolute;top:4px;width:4px}input[type=checkbox]:focus+label,input[type=radio]:focus+label{outline:1px dotted #000}input[type=radio][disabled]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}input[type=radio][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='gray'/%3E%3C/svg%3E")}input[type=checkbox]+label{margin-left:19px;position:relative}input[type=checkbox]+label:before{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;content:"";display:inline-block;height:13px;left:-19px;margin-right:6px;position:absolute;width:13px}input[type=checkbox]:active+label:before{background:silver}input[type=checkbox]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:7px;left:-16px;position:absolute;width:7px}input[type=checkbox][disabled]+label:before{background:silver}input[type=checkbox][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='gray'/%3E%3C/svg%3E")}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select{background-color:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}select,textarea{border:none}textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-radius:0;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}input[type=email],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select{height:21px}input[type=number]{height:22px}input[type=search]::-ms-clear,input[type=search]::-ms-reveal{display:none;height:0;width:0}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url]{line-height:2}input[type=email]:disabled,input[type=email]:read-only,input[type=number]:disabled,input[type=number]:read-only,input[type=password]:disabled,input[type=password]:read-only,input[type=search]:disabled,input[type=search]:read-only,input[type=tel]:disabled,input[type=tel]:read-only,input[type=text]:disabled,input[type=text]:read-only,input[type=url]:disabled,input[type=url]:read-only,textarea:disabled{background-color:silver}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px right 2px;background-repeat:no-repeat;border-radius:0;padding-right:32px;position:relative}input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:none}input[type=range]{-webkit-appearance:none;background:transparent;width:100%}input[type=range]:focus{outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:none;box-shadow:none;height:21px;transform:translateY(-8px);width:11px}input[type=range].has-box-indicator::-webkit-slider-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(-10px)}input[type=range]::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:0;border-radius:0;height:21px;transform:translateY(2px);width:11px}input[type=range].has-box-indicator::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(0)}input[type=range]::-webkit-slider-runnable-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}input[type=range]::-moz-range-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}.is-vertical{display:inline-block;height:150px;transform:translateY(50%);width:4px}.is-vertical>input[type=range]{height:4px;margin:0 16px 0 10px;transform:rotate(270deg) translateX(calc(-50% + 8px));transform-origin:left;width:150px}.is-vertical>input[type=range]::-webkit-slider-runnable-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}.is-vertical>input[type=range]::-moz-range-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}.is-vertical>input[type=range]::-webkit-slider-thumb{transform:translateY(-8px) scaleX(-1)}.is-vertical>input[type=range].has-box-indicator::-webkit-slider-thumb{transform:translateY(-10px) scaleX(-1)}.is-vertical>input[type=range]::-moz-range-thumb{transform:translateY(2px) scaleX(-1)}.is-vertical>input[type=range].has-box-indicator::-moz-range-thumb{transform:translateY(0) scaleX(-1)}select:focus{background-color:navy;color:#fff}select:focus option{background-color:#fff;color:#000}select:active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h16v17H0V0zm1 16h14V1H1v15z' fill='gray'/%3E%3Cpath fill='silver' d='M1 1h14v15H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 7H5v1h1v1h1v1h1v1h1v-1h1V9h1V8h1V7z' fill='%23000'/%3E%3C/svg%3E")}a{color:#00f}a:focus{outline:1px dotted #00f}ul.tree-view{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:6px}ul.tree-view li{list-style-type:none}ul.tree-view a{color:#000;text-decoration:none}ul.tree-view a:focus{background-color:navy;color:#fff}ul.tree-view li,ul.tree-view ul{margin-top:3px}ul.tree-view ul{border-left:1px dotted grey;margin-left:16px;padding-left:16px}ul.tree-view ul>li{position:relative}ul.tree-view ul>li:before{border-bottom:1px dotted grey;content:"";display:block;left:-16px;position:absolute;top:6px;width:12px}ul.tree-view ul>li:last-child:after{background:#fff;bottom:0;content:"";display:block;left:-20px;position:absolute;top:7px;width:8px}ul.tree-view details{margin-top:0}ul.tree-view details[open] summary{margin-bottom:0}ul.tree-view ul details>summary:before{margin-left:-22px;position:relative;z-index:1}ul.tree-view details>summary:before{background-color:#fff;border:1px solid grey;content:"+";display:block;float:left;height:9px;line-height:8px;margin-right:5px;padding-left:1px;text-align:center;width:8px}ul.tree-view details[open]>summary:before{content:"-"}ul.tree-view details>summary::-webkit-details-marker,ul.tree-view details>summary::marker{content:""}pre{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:12px 8px}code,code *{font-family:monospace}summary:focus{outline:1px dotted #000}::-webkit-scrollbar{width:16px}::-webkit-scrollbar:horizontal{height:17px}::-webkit-scrollbar-corner{background:#dfdfdf}::-webkit-scrollbar-track{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='2' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 0H0v1h1v1h1V1H1V0z' fill='silver'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0H1v1H0v1h1V1h1V0z' fill='%23fff'/%3E%3C/svg%3E")}::-webkit-scrollbar-thumb{background-color:#dfdfdf;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf}::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:horizontal:start:decrement,::-webkit-scrollbar-button:vertical:end:increment,::-webkit-scrollbar-button:vertical:start:decrement{display:block}::-webkit-scrollbar-button:vertical:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H7v1H6v1H5v1H4v1h7V9h-1V8H9V7H8V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}::-webkit-scrollbar-button:vertical:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}::-webkit-scrollbar-button:horizontal:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 4H8v1H7v1H6v1H5v1h1v1h1v1h1v1h1V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}::-webkit-scrollbar-button:horizontal:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 4H6v7h1v-1h1V9h1V8h1V7H9V6H8V5H7V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}.window[role=tabpanel]{position:relative;z-index:2}menu[role=tablist]{display:flex;list-style-type:none;margin:0 0 -2px;padding-left:3px;position:relative;text-indent:0}menu[role=tablist]>li{border-top-left-radius:3px;border-top-right-radius:3px;box-shadow:inset -1px 0 #0a0a0a,inset 1px 1px #dfdfdf,inset -2px 0 grey,inset 2px 2px #fff;z-index:1}menu[role=tablist]>li[aria-selected=true]{background-color:silver;margin-left:-3px;margin-top:-2px;padding-bottom:2px;position:relative;z-index:8}menu[role=tablist]>li>a{color:#222;display:block;margin:6px;text-decoration:none}menu[role=tablist]>li[aria-selected=true]>a:focus{outline:none}menu[role=tablist]>li>a:focus{outline:1px dotted #222}menu[role=tablist].multirows>li{flex-grow:1;text-align:center}.sunken-panel{border:2px groove transparent;border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='gray' d='M0 0h4v1H0z'/%3E%3Cpath fill='gray' d='M0 0h1v4H0z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h2v1H1z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h1v2H1z'/%3E%3Cpath fill='%23fff' d='M0 4h5v1H0z'/%3E%3Cpath fill='%23fff' d='M4 0h1v5H4z'/%3E%3Cpath fill='%23dfdfdf' d='M3 1h1v3H3z'/%3E%3Cpath fill='%23dfdfdf' d='M1 3h3v1H1z'/%3E%3C/svg%3E") 2;box-sizing:border-box;overflow:auto}.sunken-panel,table{background-color:#fff}table{border-collapse:collapse;position:relative;text-align:left;white-space:nowrap}table>thead>tr>*{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;font-weight:400;height:17px;padding:0 6px;position:sticky;top:0}table.interactive>tbody>tr{cursor:pointer}table>tbody>tr.highlighted{background-color:navy;color:#fff}table>tbody>tr>*{height:14px;padding:0 6px}.progress-indicator{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;box-shadow:inset -2px -2px #dfdfdf,inset 2px 2px grey;box-sizing:border-box;height:32px;padding:4px;position:relative}.progress-indicator>.progress-indicator-bar{background-color:navy;display:block;height:100%}.progress-indicator.segmented>.progress-indicator-bar{background-color:transparent;background-image:linear-gradient(90deg,navy 16px,transparent 0 2px);background-repeat:repeat;background-size:18px 100%;width:100%}.field-border{background:#fff}.field-border,.field-border-disabled{box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;padding:2px}.field-border-disabled{background:silver}.status-field-border{background:silver;box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;padding:1px}
/*# sourceMappingURL=98.css.map *//* vt323-vietnamese-400-normal */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/vt323-vietnamese-400-normal-D0VnvwZ9.woff2) format('woff2'), url(/assets/vt323-vietnamese-400-normal-D_5Q7Vcv.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* vt323-latin-ext-400-normal */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/vt323-latin-ext-400-normal-iUdYUaX4.woff2) format('woff2'), url(/assets/vt323-latin-ext-400-normal-DqOq58ri.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* vt323-latin-400-normal */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/vt323-latin-400-normal-wDgJuOC9.woff2) format('woff2'), url(/assets/vt323-latin-400-normal-Dqn9ZSPj.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* box-sizing: border-box keeps the rendered height exactly 32px (padding and
     border-top are absorbed into that height, not added on top). This 32px must
     equal TASKBAR_HEIGHT in src/store/useOSStore.ts, which reserves that much
     desktop space when clamping/maximizing windows (.window-layer below also
     ends at bottom: 32px) — otherwise the fixed taskbar covers the bottom of
     clamped/maximized windows. */
  box-sizing: border-box;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Keeps the last window button's bevel off the tray's when the buttons fill the
     row (on phones), the same 4px the buttons keep between themselves. */
  gap: 4px;
  padding: 2px 4px;
  background: var(--surface, #c0c0c0);
  border-top: 2px solid #fff;
  z-index: 10000;
}

/* Groups the Start button with the window buttons so both sit left of the clock, and
   lets the window list (not the Start button) be the one that shrinks. */
.taskbar-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

/* Shrinks, rather than the clock, when the window buttons don't fit: the buttons
   narrow first (as in Win98), and the row scrolls only if even that isn't enough. */
.taskbar-windows {
  display: flex;
  gap: 4px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
}

/* flex: 1 1 0 shares the row equally among however many windows are open (Henry's
   measured ratio), capped so a single window's button doesn't dominate the bar; below
   98.css's 75px button minimum when space runs out, so the title ellipsizes. 98.css
   centres button text; Win98 (and Henry) start the icon and title at the left edge,
   with Win98's tighter 6px side padding instead of 98.css's 12px. */
.taskbar-button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 300px;
  padding: 0 6px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 98.css draws buttons with box-shadow (border: none) and transparent text via
   text-shadow, so a border-style change has no visible effect. Reuse 98.css's own
   `button:not(:disabled):active` pressed look for the focused window's button, and for
   the Start button while its menu is open. */
.taskbar-button.active,
.taskbar-start-button.active {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
  text-shadow: 1px 1px #222;
}

/* Win98's taskbar also dithers the pressed (focused) window button with a fine white
   checkerboard over its silver face — the same 1px 50%-dither recipe as
   .desktop-icon-selection-mask further down (two diagonal gradients offset by 1px),
   just white instead of navy and drawn straight on the background rather than through
   a mask. The Start button's pressed look (above) has no dither, matching Henry's
   reference. */
.taskbar-button.active {
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-size: 2px 2px;
  background-position: 0 0, 1px 1px;
}

/* A window's small icon (src/windows/windowIcons.tsx), before its title. */
.taskbar-button-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
  /* 98.css draws button text with text-shadow; keep it off the icon art. */
  text-shadow: none;
}

/* Never shrinks (unlike .taskbar-windows) and never wraps its "Start" label. */
.taskbar-start-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  white-space: nowrap;
}

.taskbar-start-icon {
  display: inline-flex;
  text-shadow: none;
}

/* The A mark: ~24px wide, height left to the SVG's own aspect ratio. */
.taskbar-start-icon img {
  display: block;
  width: 24px;
  height: auto;
}

/* The system tray: Win98's shallow 1px sunken edge (grey top-left, white
   bottom-right, as Henry's tray), not 98.css's deep 2px text-field bevel with its
   black inner line, holding the speaker icon and the clock, sized near Henry's
   measured ~86px by ~24px. Never shrinks: the icon and "12:15 PM" must never wrap or
   get clipped. */
.taskbar-tray {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  min-width: 86px;
  height: 24px;
  padding: 0 6px;
  background: var(--surface, #c0c0c0);
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px grey;
}

/* Decorative Win98 speaker icon (no alt text) in the tray, next to the clock. */
.taskbar-tray-icon {
  flex-shrink: 0;
  image-rendering: pixelated;
}

.taskbar-clock {
  flex-shrink: 0;
  white-space: nowrap;
}

.desktop-icons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* 35px gap + the icon's own height (48px image + 4px inner gap + ~17px label)
     lands the vertical pitch between icons around 104px, matching Henry's reference. */
  gap: 35px;
  padding: 16px;
  /* border-box so the 16px padding stays inside the height instead of pushing the
     column 32px down under the 32px taskbar. */
  box-sizing: border-box;
  height: calc(100% - 32px);
  align-content: flex-start;
}

/* 98.css draws every <button> as a raised push button (box-shadow bevel, min size,
   padding, transparent text via text-shadow). A desktop icon is none of that. */
.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* Scaled up from 72px alongside the 48px icon art, so a two-line label still has
     room to wrap without the column reading as too narrow. */
  width: 96px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  font-size: 12px;
  cursor: pointer;
  /* A touch long-press opens the icon's context menu; keep iOS from also showing its
     link/image callout or starting a text selection on the label. */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Beat 98.css's pressed look, `button:not(:disabled):active` (0,2,1), and its
   touch-screen `@media (not(hover))` sticky-hover copy of it on `:hover`. */
.desktop-icon:not(:disabled):active,
.desktop-icon:not(:disabled):hover {
  box-shadow: none;
  text-shadow: 1px 1px 1px #000;
}

/* Win98 marks selection on the label (navy highlight, dotted border), not with 98.css's
   dotted outline inset across the whole button; a mouse click sets :focus without
   :focus-visible, so it shows only the selection below, not this outline. */
.desktop-icon:focus {
  outline: none;
}

.desktop-icon:focus-visible {
  outline: 1px dotted #fff;
  outline-offset: 2px;
}

/* 48px to match DESKTOP_ICON_SIZE in Desktop.tsx (Henry's reference size). 32px art is
   scaled up to it, so image-rendering: pixelated keeps it crisp; set here (it inherits)
   so the <img> and the selection mask below, which reuses the same art as its mask
   image, both scale nearest-neighbour. Set only on the <img>, the mask would be smoothed,
   blurring the dither's edge and spilling it past the icon. */
.desktop-icon-image {
  position: relative;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

/* Navy 50% checkerboard dither, masked to exactly the icon's own opaque pixels (its own
   image, reused as a mask). 98.css has no such component; this is our own overlay. The
   dither tile itself (background-size below) stays a fine 2px checkerboard regardless of
   icon size; only the mask area should grow with the icon, so that's set inline by
   DesktopIcon's `iconSize` prop (mask-size), not hardcoded here. */
.desktop-icon-selection-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, #000080 25%, transparent 25%, transparent 75%, #000080 75%),
    linear-gradient(45deg, #000080 25%, transparent 25%, transparent 75%, #000080 75%);
  background-size: 2px 2px;
  background-position: 0 0, 1px 1px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Border reserved at all times (transparent when unselected) so nothing shifts between
   the three label states: unselected, last-selected-only (dotted border) and selected
   (navy fill, dotted border). */
.desktop-icon-label {
  padding: 1px 2px;
  border: 1px dotted transparent;
}

.desktop-icon[data-last-selected='true'] .desktop-icon-label {
  border-color: #fff;
}

.desktop-icon[data-selected='true'] .desktop-icon-label {
  background: #000080;
  color: #fff;
  border-color: #fff;
  text-shadow: none;
}

.context-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
}

.context-menu {
  position: fixed;
  z-index: 10002;
  /* border-box makes 160px the menu's full rendered width (98.css gives .window
     3px padding). It must equal MENU_WIDTH in src/desktop/ContextMenu.tsx, which
     clamps the menu inside the viewport using that width. */
  box-sizing: border-box;
  width: 160px;
}

/* 98.css's 8px .window-body margin suits window content; a menu hugs its items
   (the .window's own 3px padding is left as the menu's inner edge). */
.context-menu .window-body {
  margin: 0;
}

.context-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Menu items, not push buttons: drop 98.css's bevel, minimum size and
   transparent-text rendering. */
.context-menu-list button {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 2px 16px;
  box-shadow: none;
  text-align: left;
  color: #000;
  text-shadow: none;
}

/* Highlighted item. The :not(:disabled) selectors (0,3,1) outrank 98.css's
   pressed/sticky-hover `button:not(:disabled):active|:hover` (0,2,1); :focus also
   replaces 98.css's `button:focus` dotted outline. */
.context-menu-list button:not(:disabled):hover,
.context-menu-list button:not(:disabled):active,
.context-menu-list button:focus {
  background: navy;
  color: #fff;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}

/* The taskbar's Start menu (src/desktop/StartMenu.tsx). Anchored directly above the
   Start button; z-index matches .context-menu-backdrop so it sits above windows and the
   taskbar, but stays below the BSOD/screensaver (20000). Sized to Henry's measured
   ~256×250: min-height (not height) so the menu only grows past 250px if its content
   ever needs to, and the banner (below) still spans exactly whatever height that is. */
.start-menu {
  position: fixed;
  left: 4px;
  bottom: 32px;
  z-index: 10001;
  box-sizing: border-box;
  width: 256px;
  min-height: 250px;
  display: flex;
  padding: 0;
}

/* Win98's side banner: near-black navy at the top fading to Win98 blue at the bottom,
   the real banner's gradient. flex-shrink: 0 plus the row's default stretch (there is no
   align-items override on .start-menu) makes it span the menu's full height, whatever
   that is. Its own column flex anchors the text at the bottom edge, as Win98's
   "Windows98" and Henry's banner are, instead of centring it. */
.start-menu-banner {
  flex-shrink: 0;
  width: 38px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 6px;
  background: linear-gradient(180deg, #000018 0%, #0a0a6e 45%, #1084d0 100%);
}

/* vertical-rl lays the line out top-to-bottom, "Portfolio" (start) above "OS" (end);
   rotating it 180deg turns that into bottom-to-top, "Portfolio" then "OS", with the
   letters' tops facing left — Win98's own "Windows" + "98" pairing. Being vertical, the
   text box is as tall as the text and one line wide, so the banner's flex column can
   place it (no absolute positioning or translate needed). */
.start-menu-banner-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-size: 26px;
  line-height: 1;
}

.start-menu-banner-text-primary {
  font-weight: bold;
  color: #fff;
}

/* Echoes Win98's thinner, greyer "98" that follows the bold "Windows". */
.start-menu-banner-text-secondary {
  font-weight: 400;
  color: #b7c6ec;
}

/* The banner (which spans the menu's full height) is almost always taller than the item
   list needs, so the list sits at the bottom (next to the taskbar), as in Win98, with
   empty space above it instead of below. */
.start-menu-body {
  flex: 1;
  min-width: 0;
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.start-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.start-menu-separator {
  border: none;
  border-top: 1px solid grey;
  border-bottom: 1px solid #fff;
  margin: 2px 0;
}

/* A menu item, not a push button: drop 98.css's bevel, minimum size and
   transparent-text rendering (as .context-menu-list does). 32px icon + 4px top/bottom
   padding makes every item ~40px tall. */
.start-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 4px 8px;
  box-shadow: none;
  text-align: left;
  color: #000;
  text-shadow: none;
}

.start-menu-item-icon {
  flex-shrink: 0;
  image-rendering: pixelated;
}

/* The mnemonic underline (98.css's global `u`) follows the item's own text color. */
.start-menu-item u {
  border-bottom-color: currentColor;
}

/* The highlight is :focus only, never :hover: StartMenu.tsx moves focus to whichever
   item the pointer moves over, so hover and keyboard focus are one highlight and two
   rows are never navy at once. It focuses an item on open only when the menu was opened
   via keyboard, so a mouse-opened menu shows none of this until the pointer moves over
   an item. */
.start-menu-item:not(:disabled):focus {
  background: navy;
  color: #fff;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}

/* A press with no hover or focus (an iOS touch press, or a Safari/Firefox macOS
   press-drag-off, where buttons don't take focus) is still :active, and a touch screen's
   sticky :hover gets 98.css's `@media (not(hover))` copy of that pressed look. These
   (0,3,0) outrank 98.css's `button:not(:disabled):active`/`:hover` (0,2,1) so the item
   doesn't take a push button's inset bevel and doubled text, and they don't add the
   navy highlight either. */
.start-menu-item:not(:disabled):active,
.start-menu-item:not(:disabled):hover {
  box-shadow: none;
  text-shadow: none;
}

html, body, #root {
  height: 100%;
  margin: 0;
}

.os-root {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.desktop {
  position: absolute;
  inset: 0;
  background: #008080;
}

/* The layer WindowManager renders windows into; it is each window's `bounds="parent"`
   and the area a maximized window fills. It ends 32px above the bottom so windows
   never go under the taskbar: 32px must equal TASKBAR_HEIGHT in
   src/store/useOSStore.ts (and .taskbar's height above). */
.window-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 32px;
  /* The layer sits above the desktop; its empty area must let clicks, taps and the
     background double-click through to the icons and desktop underneath. */
  pointer-events: none;
}

.window-layer > * {
  pointer-events: auto;
}

/* A window's small icon (src/windows/windowIcons.tsx), Win98 style: at the left of the
   title bar, then the title. */
.title-bar-icon {
  display: flex;
  flex-shrink: 0;
  margin-right: 3px;
  /* 16px tall in a row sized by 98.css's 14px title-bar buttons: it overhangs the
     bar's 3px padding rather than making the title bar taller. */
  margin-block: -1px;
}

/* 98.css spaces the title bar's items apart (justify-content: space-between), which
   would float the title to the middle between the icon and the controls. */
.title-bar-icon + .title-bar-text {
  flex: 1;
}

/* On touch screens 98.css's 16x14px title-bar buttons are too small to hit reliably
   (spec §10). Enlarge them, keeping 98.css's icons centered in the bigger button. (data-pointer:
   src/embed/inputFlag.ts; the :root[…] prefix outranks 98.css's per-icon background-position, as order did.) */
:root[data-pointer='coarse'] .title-bar-controls button[aria-label] {
  min-width: 24px;
  min-height: 22px;
  background-position: center;
}

/* The minimize bar sits low in the button, as in 98.css. */
:root[data-pointer='coarse'] .title-bar-controls button[aria-label='Minimize'] {
  background-position: bottom 5px center;
}

/* Internet Explorer on a phone (WindowFrame phoneChrome; spec 2026-10-18 §5): a thumb-sized title bar over the full
   screen, with no Maximize. Same idiom as the coarse-pointer rules above, and after them, so it wins their tie on
   specificity. The 22px controls sit centered in the 26px bar. */
.window.is-phone > .title-bar {
  height: 26px;
  box-sizing: border-box;
}

.window.is-phone > .title-bar .title-bar-text {
  font-size: 13px;
  font-weight: bold;
  /* One line in the fixed 26px bar: a long title is cut short with an ellipsis, not wrapped over the page below.
     min-width: 0 lets the flex: 1 title shrink below its text. */
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window.is-phone .title-bar-controls button[aria-label] {
  min-width: 30px;
  min-height: 22px;
  background-position: center;
}

.window.is-phone .title-bar-controls button[aria-label='Minimize'] {
  background-position: bottom 5px center;
}

/* Framed by the portfolio, the OS waits here, black like the boot screen it
   precedes, until the host says `boot` (src/embed/hostBridge.ts). */
.host-hold {
  position: absolute;
  inset: 0;
  background: #000;
}

/* Full-screen DOS boot text. It is a <button> (click/tap skips), so 98.css's button
   and pre styles are neutralized below: the raised bevel/text-shadow on the button,
   its vertically-centered content, and the white sunken field 98.css draws for <pre>. */
.boot-sequence {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 24px;
  /* A column flex container top-aligns the text (a plain button centers its content
     vertically) and still lets the <pre> span the width so long lines wrap. */
  display: flex;
  flex-direction: column;
  box-shadow: none;
  text-shadow: none;
}

/* Outranks 98.css's pressed-state `button:not(:disabled):active` (0,2,1). */
.boot-sequence:not(:disabled):active {
  box-shadow: none;
  text-shadow: none;
}

/* VT323 (bundled via @fontsource/vt323, see src/main.tsx) with a monospace fallback.
   pre-wrap already rules out horizontal scroll; the size is chosen so the longest
   line ("It is now safe to turn off your computer.", 41 chars) stays on one line.
   VT323 glyphs are 0.4em wide, so that line is at most 41 * 0.4 * 5.2vw = 85.3vw,
   which fits the 100vw - 48px text column (24px padding each side) at any viewport
   >= ~344px wide (19.5px at 375px). The 18px floor keeps phone text bigger than the
   old 16px; the size reaches the full 24px at ~460px. Under the host's zoom the vw is divided by
   --ui-scale (src/embed/uiScale.ts), so it stays a share of the OS's own width. */
.boot-sequence pre {
  font-family: 'VT323', monospace;
  font-size: clamp(18px, calc(5.2vw / var(--ui-scale, 1)), 24px);
  white-space: pre-wrap;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* The emulator's iframe always fills the whole window body. The loading text and
   the error dialog are overlaid on it (centered), never laid out beside it, so they
   never shrink the area js-dos sizes its canvas to. */
.doom-window {
  position: relative;
  height: 100%;
  background: #000;
}

/* The iframe js-dos runs in (its own document, so js-dos's global CSS never reaches
   the desktop). display: block drops the baseline gap under an inline iframe, which
   would otherwise make the window body scroll. */
.doom-container {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* An iframe swallows the pointer, so a window drag or resize stalls once the cursor
   crosses the Doom frame, and a release over it is lost (the window then keeps
   following the pointer). WindowManager sets data-interacting on the layer while any
   window is dragged or resized. re-resizable's own full-screen overlay does not help:
   it is position: fixed inside the window, whose react-draggable transform makes the
   window its containing block, so it only covers the window being resized. */
.window-layer[data-interacting] iframe {
  pointer-events: none;
}

.doom-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The overlay itself never blocks input to js-dos underneath; only the dialog takes it. */
  pointer-events: none;
}

.doom-status {
  margin: 0;
  color: #fff;
  font-family: 'Courier New', monospace;
}

/* A one-time reminder that movement is WASD, not vanilla DOOM's arrow keys (see the
   README's "Doom bundle" section) — it fades out on its own instead of asking to be
   dismissed, and never blocks input to js-dos underneath. */
.doom-controls-hint {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  max-width: min(90%, 360px);
  margin: 0;
  padding: 4px 10px;
  background: rgb(0 0 0 / 65%);
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  text-align: center;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.doom-controls-hint[data-hidden] {
  opacity: 0;
}

/* border-box keeps 98.css's `.window { padding: 3px }` inside this width, which
   shrinks to fit narrow (touch) windows. */
.doom-error {
  box-sizing: border-box;
  width: min(300px, calc(100% - 16px));
  pointer-events: auto;
}

/* Win98 message boxes center their buttons. */
.doom-error-actions {
  display: flex;
  justify-content: center;
}

/* The scroll layer is positioned with top/transform, not padding-top: 100% (a % of
   the container's WIDTH, not height) or translateY(-200%) (which overshoots): both
   would leave a long blank stretch each loop. This ties the animation to the
   window's actual height: it starts just below the bottom edge and ends exactly when
   the last line clears the top. */
.credits-window {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.credits-scroll {
  position: absolute;
  left: 0;
  right: 0;
  animation: credits-roll 12s linear infinite;
  text-align: center;
}

@keyframes credits-roll {
  from {
    top: 100%;
    transform: translateY(0);
  }
  to {
    top: 0;
    transform: translateY(-100%);
  }
}

.readme-window {
  height: 100%;
}

/* display: block drops the baseline gap under an inline-block textarea, which would
   otherwise make the window body scroll. */
.readme-window textarea {
  display: block;
  width: 100%;
  height: 100%;
  resize: none;
  border: none;
  font-family: 'Courier New', monospace;
  padding: 8px;
}

.bsod {
  position: fixed;
  inset: 0;
  z-index: 20000;
  /* Keeps the text off the screen edges on phones. */
  box-sizing: border-box;
  padding: 16px;
  background: #0000aa;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsod pre {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  max-width: 640px;
  white-space: pre-wrap;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* Same z-index as .bsod: App renders the screensaver first, so the BSOD stays on top. */
.screensaver {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #000;
  overflow: hidden;
}

/* The A mark as a CSS mask (Screensaver.tsx sets its colour and, unless reduced-motion,
   its position). 160px on desktop; min() scales it down on small viewports so it never
   exceeds ~40% of the viewport width. aspect-ratio keeps it at the mark's own 700:414.341
   proportions instead of the old placeholder's square. */
.screensaver-sprite {
  position: absolute;
  top: 0;
  left: 0;
  width: min(160px, calc(40vw / var(--ui-scale, 1)));
  aspect-ratio: 700 / 414.341;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  will-change: transform;
}

/* prefers-reduced-motion: Screensaver.tsx doesn't animate the mark; it sits centered. */
.screensaver-sprite-static {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Konami-code confetti burst. Above windows, the taskbar (10000) and context menus
   (10002); below the screensaver/BSOD (20000), though the keys of the code dismiss
   both before it can appear. Decorative only: the pointer passes straight through. */
.konami-confetti {
  position: fixed;
  inset: 0;
  z-index: 15000;
  overflow: hidden;
  pointer-events: none;
}

/* Starts just above the top edge. Each piece's duration and delay are inline styles
   (src/easter-eggs/Confetti.tsx), sized to end before App unmounts the burst; `both`
   keeps a piece hidden above the edge until its delay ends and faded out once it lands. */
.konami-confetti-piece {
  position: absolute;
  top: -16px;
  width: 8px;
  height: 14px;
  border-radius: 1px;
  animation-name: confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: both;
}

@keyframes confetti-fall {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--confetti-drift), calc(90vh / var(--ui-scale, 1))) rotate(var(--confetti-spin));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .konami-confetti {
    display: none;
  }
}
/* The "It Works on My Machine" site inside the Internet Explorer window.
   98.css styles plain button, table, h1–h4 and pre everywhere (button text is drawn as
   `color: transparent; text-shadow: 0 0 #222`). Every rule here that sits on one of those
   elements resets what 98.css set. Layout follows the IE window's width (container `ie`),
   not the viewport's: ≥ 900px as designed, 600–899px (the 640 default) narrower, < 600px
   with the left frame behind a Contents button. */

.ie-window {
  --ie-navy: #003366;
  --ie-orange: #ff6600;
  --ie-title: #ff9933;
  --ie-frame-bg: #e6e6e6;
  --ie-link: #0000ee;
  --ie-visited: #551a8b;
  --ie-serif: 'Times New Roman', Times, serif;
  --ie-sans: Verdana, Geneva, sans-serif;
  --ie-display: Georgia, 'Times New Roman', serif;
  container: ie / inline-size;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* The window can hold focus (tabIndex -1) so Alt+arrows stay heard on a page without frames
   (the error page) or after a click on the toolbar's background. It is not a keyboard stop, so
   it draws no ring. The frames do the same for their own text (Frameset). */
.ie-window:focus {
  outline: none;
}

.ie-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ie-sunk {
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a;
}

/* ---- Frameset: banner, left frame, main frame ---- */

.ie-frameset {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: 'banner banner' 'left main';
  gap: 5px;
  padding-top: 2px;
}

.ie-banner {
  grid-area: banner;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 6px 22px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--ie-navy);
}

.ie-banner-title {
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  container: ie-title / inline-size;
}

/* Sized from the title's own width (the room left beside the side block) so the whole
   sentence fits on one line: ~22em long, 30px at most. */
.ie-banner-line {
  display: block;
  font: italic bold clamp(13px, calc(100cqi / 25.5), 30px) / 1.15 var(--ie-display);
  letter-spacing: 1px;
  color: var(--ie-title);
  text-shadow: 1px 1px 0 #ffd9b3, 2px 2px 0 #993d00, 3px 3px 0 #662900, 4px 4px 6px #000;
  text-wrap: balance;
}

.ie-wink {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.1em;
  filter: drop-shadow(1px 1px 0 #ffd9b3) drop-shadow(2px 2px 0 #662900);
}

.ie-banner-sub {
  display: block;
  margin-top: 2px;
  font: bold 9px var(--ie-sans);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #99bbdd;
}

.ie-banner-side {
  flex: none;
  font: 9px/1.6 var(--ie-sans);
  text-align: right;
  color: #99bbdd;
}

.ie-left-frame {
  grid-area: left;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--ie-frame-bg);
}

/* The frame scrolls instead: when its items outgrow it, none shrinks to fit. A bevelled button
   would, down to its own min-height, and its label would spill out over the next item. */
.ie-left-frame > * {
  flex-shrink: 0;
}

.ie-main-frame {
  grid-area: main;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  /* Always keep the scrollbar's room, so a hover pop-up that makes the page scroll never reflows it. */
  scrollbar-gutter: stable;
  background: #fff;
}

/* A click on a frame's text focuses the frame (tabIndex -1), so the keyboard scrolls it. Neither
   is a keyboard stop, so neither draws a ring. */
.ie-left-frame:focus,
.ie-main-frame:focus {
  outline: none;
}

.ie-frameset > .ie-contents-toggle {
  display: none;
  grid-area: toggle;
}

@container ie (max-width: 899px) {
  .ie-frameset {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .ie-left-frame {
    padding: 10px 8px;
  }
}

@container ie (max-width: 599px) {
  .ie-frameset {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: 'banner' 'toggle' 'main';
  }

  .ie-banner {
    padding: 6px 10px;
  }

  .ie-banner-side {
    display: none;
  }

  .ie-banner-sub {
    letter-spacing: 2px;
  }

  .ie-frameset > .ie-contents-toggle {
    display: flex;
  }

  /* The left frame opens over the main frame. */
  .ie-left-frame {
    display: none;
    grid-area: main;
    position: relative;
    z-index: 1;
  }

  .ie-left-frame[data-open] {
    display: flex;
  }
}

.ie-navhd {
  margin-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid #999;
  font: bold 9px var(--ie-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ie-navy);
}

/* ---- Bevelled buttons (links and buttons alike) ---- */

.ie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 26px;
  padding: 4px 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: bold 10px var(--ie-sans);
  letter-spacing: 1px;
  text-decoration: none;
  text-shadow: none;
  color: var(--ie-navy);
  background: linear-gradient(#fff, #d4d4d4 55%, #bdbdbd);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555, inset -2px -2px #999, 1px 1px 0 #000;
}

.ie-btn:hover {
  color: var(--ie-orange);
}

.ie-btn:not(:disabled):active {
  text-shadow: none;
  box-shadow: inset 1px 1px #555, inset -1px -1px #fff, 1px 1px 0 #000;
}

.ie-btn:disabled {
  cursor: default;
  color: #999;
  text-shadow: 1px 1px #fff;
}

.ie-btn[aria-pressed='true'],
.ie-btn[aria-current='page'],
.ie-btn.is-on {
  color: #fff;
  background: linear-gradient(#ffb366, #ff6600 60%, #cc5200);
  box-shadow: inset 1px 1px #803300, inset -1px -1px #ffcc99, 1px 1px 0 #000;
  text-shadow: 1px 1px 0 #803300;
}

.ie-btn-small {
  min-height: 22px;
  padding: 0 9px;
}

.ie-btn-wide {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

/* Less padding and spacing, so a label just past the 150px left frame's room (the Work page's Travel to 2026 ↗) holds one
   line. It still wraps rather than spill if a wider font turns up. */
.ie-btn-snug {
  padding-inline: 6px;
  letter-spacing: 0.5px;
}

.ie-badge {
  padding: 6px 10px;
  font: bold 9px var(--ie-sans);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 1px 1px 0 #000;
}

.ie-badge-case {
  background: linear-gradient(#ffb366, #ff6600 60%, #cc5200);
}

.ie-badge-paper {
  background: linear-gradient(#66a3e0, #0066cc 60%, #004c99);
}

/* The story's own blue (the approved mock's), a slate one beside the paper's bright azure and the case study's orange. */
.ie-badge-project {
  background: linear-gradient(#3a7bd5, #1d4f9a);
}

/* ---- Pictures ---- */

.ie-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
  object-fit: cover;
  border: 2px solid var(--ie-link);
  background: #fff;
}

.ie-thumb-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--ie-tint, #336699);
}

.ie-thumb-placeholder::before {
  content: '';
  position: absolute;
  left: 12%;
  top: 14%;
  width: 58%;
  height: 58%;
  background: #fff;
  box-shadow: inset 0 7px 0 #000080, 2px 2px 0 rgb(0 0 0 / 50%);
}

/* ---- Contribution squares ---- */

.ie-contrib-small {
  --cell: 7px;
  --gap: 2px;
}

.ie-contrib-large {
  --cell: 9px;
  --gap: 2px;
}

@container ie (max-width: 899px) {
  .ie-contrib-small {
    --cell: 6px;
  }
}

.ie-contrib-frame {
  display: flex;
  gap: 4px;
}

.ie-contrib {
  display: flex;
  gap: var(--gap);
}

.ie-contrib-large .ie-contrib {
  padding: 2px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}

.ie-contrib-week {
  display: grid;
  grid-template-rows: repeat(7, var(--cell));
  gap: var(--gap);
}

.ie-contrib-cell {
  width: var(--cell);
  height: var(--cell);
  box-shadow: inset 1px 1px rgb(255 255 255 / 55%), inset -1px -1px rgb(0 0 0 / 28%);
}

.ie-contrib-cell.is-empty {
  box-shadow: none;
}

.ie-contrib-days {
  display: grid;
  grid-template-rows: 16px repeat(7, var(--cell));
  row-gap: var(--gap);
  font: 8px / var(--cell) var(--ie-sans);
  color: #666;
}

.ie-contrib-months {
  position: relative;
  height: 14px;
  font: 8px var(--ie-sans);
  color: #666;
}

.ie-contrib-months span {
  position: absolute;
  top: 0;
  left: calc(2px + var(--week) * (var(--cell) + var(--gap)));
}

/* ---- Page text ---- */

.ie-page {
  padding: 14px 20px 22px;
  font: 15px/1.45 var(--ie-serif);
  color: #000;
}

.ie-page h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: var(--ie-navy);
}

/* The works page's section headings (Papers, Activity); write-ups set their own. */
.ie-page h2 {
  margin: 18px 0 6px;
  font-size: 22px;
  color: var(--ie-navy);
}

.ie-page table {
  white-space: normal;
}

.ie-page a:not(.ie-btn) {
  color: var(--ie-link);
}

/* Visited text links in IE's purple. Links drawn as cards, tabs or buttons keep their own colours:
   :where() adds nothing to the specificity, so this outranks only the plain link colour above
   (and the selected Details row's white still wins), and :hover, next, still turns links orange. */
.ie-page a:not(.ie-btn):not(:where(.ie-card, .ie-mini, .ie-prevnext a)):visited {
  color: var(--ie-visited);
}

.ie-page a:not(.ie-btn):hover {
  color: var(--ie-orange);
}

/* Under The Works heading, with the hint line close beneath it as in the mock. Case-study and
   paper pages set their own margins (.ie-article .ie-rule). */
.ie-rule {
  width: 40%;
  height: 3px;
  margin: 6px 0 4px;
  border: 0;
  background: var(--ie-navy);
}

.ie-groove {
  margin: 18px 0;
  border: 0;
  border-top: 2px groove #d4d4d4;
}

.ie-footer {
  font: 9px/1.6 var(--ie-sans);
  color: #666;
}

/* ---- "The page cannot be displayed" ---- */

.ie-error-page {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 22px;
  background: #fff;
  font: 12px/1.5 var(--ie-sans);
  color: #000;
}

.ie-error-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ie-error-page h1 {
  margin: 0;
  font: bold 18px var(--ie-sans);
}

.ie-error-address {
  overflow-wrap: anywhere;
}

/* ---- Works page: left frame ---- */

.ie-portrait {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: 2px outset #d4d4d4;
  background: #fff;
  font: 10px/1.5 var(--ie-sans);
}

/* The frame's full width, in portrait.jpg's own 4:5, so the whole crop shows: 134px wide at
   900px and up, ~106px at the 640 default (the frame's scrollbar takes some). */
.ie-portrait-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  box-sizing: border-box;
  object-fit: cover;
  border: 2px solid var(--ie-link);
  background: repeating-linear-gradient(0deg, #336699 0 2px, #2a5580 2px 4px);
  font: bold 22px var(--ie-display);
  color: #cce0ff;
}

.ie-portrait-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ie-portrait-text b {
  color: var(--ie-navy);
}

.ie-portrait-text a {
  color: var(--ie-link);
  overflow-wrap: anywhere;
}

/* The left frame opens over the main frame at its full width: the photo goes beside the text at
   about the size it has at the 640 default, rather than filling the frame. */
@container ie (max-width: 599px) {
  .ie-portrait {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .ie-portrait-photo {
    flex: none;
    width: 100px;
  }
}

.ie-shelves {
  padding: 3px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a;
}

.ie-shelf {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 22px;
  padding: 0 4px;
  border: 0;
  background: none;
  box-shadow: none;
  font: 11px Tahoma, sans-serif;
  text-align: left;
  text-shadow: none;
  color: #000;
}

.ie-shelf.is-indented {
  padding-left: 18px;
}

.ie-shelf[aria-pressed='true'] {
  background: #000080;
  color: #fff;
}

.ie-shelf[aria-pressed='true']:focus {
  outline-color: #fff;
}

.ie-shelf:not(:disabled):active {
  box-shadow: none;
  text-shadow: none;
}

.ie-shelf-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ie-shelf-count {
  opacity: 0.75;
}

.ie-gh {
  display: block;
  padding: 2px;
  color: #000;
  text-decoration: none;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff;
}

.ie-gh-title {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 16px;
  margin: 1px;
  padding: 0 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #000080, #1084d0);
  font: bold 10px Tahoma, sans-serif;
  color: #fff;
}

.ie-gh-body {
  margin: 2px 1px 1px;
  padding: 5px 4px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}

.ie-gh-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
  margin-top: 5px;
  font: 9px var(--ie-sans);
  color: #555;
}

.ie-gh-foot > span {
  white-space: nowrap;
}

.ie-gh-more {
  color: var(--ie-link);
  text-decoration: underline;
}

.ie-gh:hover .ie-gh-more {
  color: var(--ie-orange);
}

/* ---- Works page: heading, thumbnails, Quick View, view switch, pager ---- */

.ie-works-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ie-works-shelf {
  font-size: 18px;
  font-weight: normal;
  font-style: italic;
  color: #555;
}

.ie-hint {
  margin: 0 0 10px;
  font: 10px var(--ie-sans);
  color: #555;
}

.ie-thumbs-wrap {
  position: relative;
}

.ie-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@container ie (max-width: 899px) {
  .ie-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container ie (max-width: 599px) {
  .ie-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container ie (max-width: 359px) {
  .ie-thumbs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* a.ie-card (not .ie-card) so it outranks `.ie-page a:not(.ie-btn)`'s link colour. */
.ie-page a.ie-card {
  display: block;
  padding: 5px;
  border: 1px solid #c0c0c0;
  background: #fff;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080, 1px 1px 0 #000;
  color: #000;
  text-decoration: none;
}

.ie-page a.ie-card:hover,
.ie-page a.ie-card:focus-visible {
  outline: 2px dotted var(--ie-orange);
  outline-offset: 1px;
  color: #000;
}

.ie-card-shot {
  position: relative;
  display: block;
}

.ie-card-title {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: bold 14px var(--ie-serif);
  color: var(--ie-link);
}

.ie-card-meta {
  display: block;
  font: 9px var(--ie-sans);
  color: #555;
}

/* A card's corner flags sit on its cover: Case study at the right, Draft at the left. Only
   direct children of the cover get the corner, so the banner's own badge (.ie-badge.ie-badge-case)
   stays in the banner, and a Draft flag in the Details and Papers tables stays inline. */
.ie-card-shot > .ie-badge-case,
.ie-card-shot > .ie-badge-draft {
  position: absolute;
  top: 4px;
  right: 4px;
}

.ie-card-shot > .ie-badge-draft {
  right: auto;
  left: 4px;
}

/* The flags' look, wherever a flag is: on a card, or beside a title in a table. */
.ie-card-shot > .ie-badge-case,
.ie-badge-draft {
  padding: 1px 4px;
  font: bold 8px var(--ie-sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--ie-orange);
  box-shadow: 1px 1px 0 #000;
}

.ie-badge-draft {
  background: #808080;
}

.ie-quick {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: 300px;
  padding: 3px;
  pointer-events: none;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff,
    4px 4px 0 rgb(0 0 0 / 35%);
}

.ie-mini-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 18px;
  padding: 0 2px 0 4px;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, #000080, #1084d0);
  font: bold 11px Tahoma, sans-serif;
  color: #fff;
}

/* A long title ends in "…" rather than being cut mid-glyph or squeezing the Close button. */
.ie-mini-titlebar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ie-quick-body {
  margin-top: 3px;
  padding: 8px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}

.ie-quick-cta {
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid #c0c0c0;
  font: bold 9px var(--ie-sans);
  text-transform: uppercase;
  color: #cc5200;
}

/* The aside stays in small letters, as in the mock; only the action above it is in capitals. */
.ie-quick-extra {
  font-weight: normal;
  text-transform: none;
  color: #555;
}

/* Hover previews are for a mouse; on touch a tap opens the work. (data-hover: src/embed/inputFlag.ts) */
:root[data-hover='none'] .ie-quick {
  display: none;
}

@container ie (max-width: 599px) {
  .ie-quick {
    display: none;
  }
}

/* Thumbnails' cards leave no 300px beside them below 900; the card's own thumbnail is the preview there. */
@container ie (max-width: 899px) {
  .ie-thumbs-wrap .ie-quick {
    display: none;
  }
}

.ie-preview-title {
  margin-top: 8px;
  font: bold 19px var(--ie-serif);
  color: var(--ie-navy);
}

.ie-preview-meta {
  font: 10px var(--ie-sans);
  color: #555;
}

.ie-case-tag {
  color: #cc5200;
}

.ie-draft-tag {
  color: #808080;
}

.ie-preview-blurb {
  margin: 5px 0 0;
  font: 14px/1.4 var(--ie-serif);
}

.ie-preview-stack {
  margin-top: 5px;
  font: 9px/1.5 var(--ie-sans);
  color: #555;
}

.ie-viewswitch {
  display: flex;
  align-items: center;
  gap: 3px;
  font: 11px Tahoma, sans-serif;
}

.ie-viewswitch-label {
  margin-right: 4px;
  color: #333;
}

/* In the narrowest windows the two buttons alone just fit; the label (aria-hidden, the group is
   named "View") would push Details past the frame's edge. */
@container ie (max-width: 359px) {
  .ie-viewswitch-label {
    display: none;
  }
}

.ie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 24px;
  padding: 0 9px;
  font: 11px Tahoma, sans-serif;
  text-shadow: none;
  color: #000;
}

.ie-toggle:not(:disabled):active {
  text-shadow: none;
}

.ie-toggle[aria-pressed='true'] {
  background: repeating-conic-gradient(#fff 0 25%, #dfdfdf 0 50%) 0 0 / 2px 2px;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
}

.ie-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font: 10px var(--ie-sans);
  color: #555;
}

.ie-pager-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

/* ---- Works page: Details view ---- */

.ie-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  align-items: start;
  gap: 14px;
}

.ie-details-list {
  padding: 2px;
  background: #fff;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a;
}

.ie-table {
  width: 100%;
  border-collapse: collapse;
  white-space: normal;
  font: 11px var(--ie-sans);
}

/* 98.css makes every thead cell sticky (position: sticky; top: 0) and 17px tall; the header scrolls with the list. */
.ie-table th {
  position: static;
  height: auto;
  padding: 3px 6px;
  text-align: left;
  font-weight: bold;
  background: #c0c0c0;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
}

.ie-table td {
  padding: 5px 6px;
}

/* The name is the row's link, in bold as in the mock. */
.ie-details-list td a {
  font-weight: bold;
}

.ie-details tbody tr:nth-child(even) {
  background: #f3f6fa;
}

.ie-details tbody tr.is-selected {
  background: var(--ie-navy);
  color: #fff;
}

.ie-page .ie-details tbody tr.is-selected a {
  color: #fff;
}

.ie-kind-icons {
  width: 34px;
  white-space: nowrap;
}

.ie-kind-icons svg {
  vertical-align: middle;
}

.ie-table .ie-badge-draft {
  position: static;
  margin-left: 6px;
}

.ie-preview {
  border: 2px outset #d4d4d4;
  background: var(--ie-frame-bg);
  font-family: var(--ie-sans);
}

.ie-preview-head {
  padding: 4px 6px;
  background: var(--ie-navy);
  font: bold 9px var(--ie-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.ie-preview-body {
  padding: 8px;
}

.ie-preview-actions {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.ie-preview-actions > :first-child {
  flex: 1;
}

/* 600–899: the panel stays on the right, narrower, with its buttons stacked; the list drops its
   Type column (the panel shows the type). Below 600 the list has the room to itself. */
@container ie (max-width: 899px) {
  .ie-details {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 10px;
  }

  .ie-preview-actions {
    flex-direction: column;
  }

  .ie-preview-actions > :first-child {
    flex: none;
  }

  /* "Read the case study ▸" on one line in the 160px column. */
  .ie-preview-actions .ie-btn {
    padding-inline: 6px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .ie-table .ie-col-type {
    display: none;
  }
}

@container ie (max-width: 599px) {
  .ie-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .ie-preview {
    display: none;
  }
}

/* ---- Works page: papers and activity ---- */

.ie-papers {
  /* Separate borders, so every cell keeps its own bevel. Collapsed, each cell's white bottom/right
     edge won over its neighbour's grey top/left one, and the lines between cells vanished. */
  border-collapse: separate;
  border-spacing: 0;
  border: 2px outset #d4d4d4;
  background: var(--ie-frame-bg);
}

.ie-papers th {
  font: bold 9px var(--ie-sans);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ie-papers td {
  vertical-align: top;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  background: #fff;
  font: 14px/1.35 var(--ie-serif);
}

.ie-authors {
  font-size: 13px;
}

.ie-getit {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.ie-page a.ie-mini {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  font: bold 9px var(--ie-sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ie-navy);
  background: linear-gradient(#fff, #d4d4d4);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #666;
}

.ie-activity-lead {
  margin: 0 0 8px;
  font-size: 14px;
}

.ie-activity-box {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 2px outset #d4d4d4;
  background: var(--ie-frame-bg);
  font-family: var(--ie-sans);
}

.ie-activity-scroll {
  overflow-x: auto;
}

.ie-activity-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 9px;
  color: #666;
}

.ie-legend {
  --cell: 9px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ---- Works page: the hint line ----
   WorksPage renders both wordings; each band of window width says only what is true. The hover
   wording needs a pointer that hovers and a window wide enough to show the preview (Thumbnails:
   the Quick View, ≥ 900px; Details: the side panel, ≥ 600px). */

.ie-hint-hover {
  display: none;
}

/* With hover (data-hover: src/embed/inputFlag.ts). */
@container ie (min-width: 900px) {
  :root[data-hover='hover'] .ie-hint.is-thumbnails .ie-hint-hover {
    display: inline;
  }

  :root[data-hover='hover'] .ie-hint.is-thumbnails .ie-hint-plain {
    display: none;
  }
}

@container ie (min-width: 600px) {
  :root[data-hover='hover'] .ie-hint.is-details .ie-hint-hover {
    display: inline;
  }

  :root[data-hover='hover'] .ie-hint.is-details .ie-hint-plain {
    display: none;
  }
}

/* ---- Write-ups (case studies and papers) ---- */

/* ## headings are numbered from the article (case-study and paper pages reset ie-section);
   the paper page's Abstract and Cite this headings join the count via .ie-numbered. */
.ie-writeup {
  counter-reset: ie-figure;
}

.ie-writeup p {
  margin: 0 0 12px;
}

.ie-writeup h2,
.ie-article h2.ie-numbered {
  position: relative;
  margin: 18px 0 6px;
  padding-left: 28px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ie-navy);
}

/* The number hangs in the heading's left padding, beside its first line, so a heading with
   <em>, <code> or a link in it still wraps as one line of text. */
.ie-writeup h2::before,
.ie-article h2.ie-numbered::before {
  counter-increment: ie-section;
  content: counter(ie-section);
  position: absolute;
  /* Centred on the first line: (19px × 1.45 − 20px) / 2. */
  top: calc((19px * 1.45 - 20px) / 2);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--ie-navy);
  box-shadow: inset 1px 1px #6699cc, inset -1px -1px #001a33;
  font: 10px var(--ie-sans);
  color: #fff;
}

.ie-writeup h3 {
  margin: 16px 0 4px;
  font-size: 15px;
  font-weight: bold;
  color: var(--ie-navy);
}

.ie-writeup h4 {
  margin: 12px 0 4px;
  font-size: 13px;
  font-weight: bold;
}

.ie-plate {
  max-width: 100%;
  box-sizing: border-box;
  padding: 2px;
  border: 2px solid var(--ie-link);
  background: #fff;
}

.ie-figure {
  margin: 0 0 14px;
}

.ie-figure figcaption,
.ie-commits figcaption {
  margin-top: 4px;
  font: 9px var(--ie-sans);
  color: #555;
}

.ie-figure figcaption::before {
  counter-increment: ie-figure;
  content: 'Fig. ' counter(ie-figure) ' — ';
}

/* The Work data's blocks (aayushjamuar.com's /work/data/ — the Work spec §7.1's Portfolio-OS column). */
.ie-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@container ie (max-width: 599px) {
  .ie-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ie-pair-caption,
.ie-nda {
  margin: -8px 0 14px;
  font: 9px var(--ie-sans);
  color: #555;
}

.ie-nda {
  font-style: italic;
}

.ie-chapter-line {
  font-style: italic;
}

.ie-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

@container ie (max-width: 599px) {
  .ie-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ie-numbers div {
  padding: 6px 8px;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}

.ie-numbers dt {
  font: bold 18px var(--ie-serif);
  color: var(--ie-navy);
}

.ie-numbers dd {
  margin: 2px 0 0;
  font: 9px var(--ie-sans);
  color: #222;
}

/* A row of phone shots and recordings. */
.ie-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin: 0 0 14px;
}

@container ie (max-width: 599px) {
  .ie-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ie-phones .ie-figure {
  margin: 0;
}

.ie-phones .ie-video {
  width: 100%;
}

/* A picture with notes: numbered marks at their points, the notes listed under it. */
.ie-notes-pic {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.ie-notes-pic .ie-plate {
  display: block;
}

.ie-notes-mark {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  background: var(--ie-navy);
  box-shadow: inset 1px 1px #6699cc, inset -1px -1px #001a33, 0 0 0 1px #fff;
  font: 9px var(--ie-sans);
  color: #fff;
}

.ie-notes-list {
  margin: 6px 0 0;
  padding-left: 22px;
  font: 11px var(--ie-sans);
}

/* An interactive item: a sunken frame at the item's height; the item faded in once it is ready, the frame plain until then,
   and the still only when the item cannot be shown (data-still — the site's 2026-10-19 fix: a cover-cropped still never
   matches the item, so showing it first read as a glitch). Under 560 px of the figure's
   own width the frame takes the block's narrow height when it has one — the point at which an item changes layout (the
   site's plan 2026-10-19-rapydshare-live-diagram Task 3). */
.ie-item {
  container-type: inline-size;
}

.ie-item-frame {
  position: relative;
  overflow: hidden;
  height: var(--ie-item-h);
  background: #fff;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
}

@container (max-width: 559.98px) {
  .ie-item-frame {
    height: var(--ie-item-hn, var(--ie-item-h));
  }
}

.ie-item-still,
.ie-item-live {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
}

.ie-item-still {
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.ie-item-frame:not([data-still]) .ie-item-still {
  opacity: 0;
}

.ie-item-live {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ie-item-frame[data-live] .ie-item-live {
  visibility: visible;
  opacity: 1;
}

.ie-item-frame[data-live] .ie-item-still {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .ie-item-still,
  .ie-item-live {
    transition: none;
  }
}

/* A slot the Work studio left empty: dashed, named — only ever seen under dev (a production build refuses it). */
.ie-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  margin: 0 0 14px;
  padding: 8px;
  border: 2px dashed #808080;
  font: 10px var(--ie-sans);
  color: #555;
  text-align: center;
}

.ie-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

@container ie (max-width: 599px) {
  .ie-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ie-gallery-item {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
}

.ie-gallery-item:not(:disabled):active {
  box-shadow: none;
}

.ie-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  object-fit: cover;
  padding: 2px;
  border: 2px solid var(--ie-link);
  background: #fff;
}

/* The enlarged picture is in the page, on its own row below the pictures, so it pushes what
   follows down instead of covering it (nothing focusable ever sits under it). */
.ie-lightbox {
  grid-column: 1 / -1;
  padding: 3px;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff,
    4px 4px 0 rgb(0 0 0 / 35%);
}

.ie-lightbox img {
  display: block;
  width: 100%;
  max-height: min(calc(70vh / var(--ui-scale, 1)), 480px);
  margin-top: 3px;
  object-fit: contain;
  background: #000;
}

.ie-mini-close {
  flex: none;
  min-width: 0;
  min-height: 0;
  width: 16px;
  height: 14px;
  padding: 0;
  font: bold 11px/1 Tahoma, sans-serif;
  text-shadow: none;
  color: #000;
}

.ie-mini-close:not(:disabled):active {
  text-shadow: none;
}

.ie-video {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--ie-link);
  background: #000;
}

.ie-callout {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 2px outset #d4d4d4;
  background: var(--ie-frame-bg);
  font: 14px/1.45 var(--ie-serif);
}

.ie-callout > :last-child {
  margin-bottom: 0;
}

/* Two classes, so it outranks .ie-writeup p (and, coming later, .ie-callout > :last-child). */
.ie-callout > .ie-callout-title {
  margin: 0 0 4px;
  font: bold 10px var(--ie-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ie-navy);
}

.ie-commits {
  margin: 0 0 14px;
}

.ie-commits-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 4px;
  overflow-x: auto;
}

.ie-commits-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font: 8px var(--ie-sans);
  color: #555;
}

.ie-commits-bar {
  width: 28px;
  background: #0066cc;
  box-shadow: inset 1px 1px rgb(255 255 255 / 60%), inset -1px -1px rgb(0 0 0 / 35%), 1px 1px 0 #000;
}

.ie-commits-bar[data-zero] {
  background: #bbb;
  box-shadow: none;
}

/* ---- Case-study and paper pages ---- */

.ie-article {
  max-width: 660px;
  counter-reset: ie-section;
}

/* Below 900px the facts box sits full width between the title and the write-up, so the write-up
   keeps a readable column and a narrow window opens on the title, not the picture. From 900px it
   floats beside the write-up, Wikipedia-style. It comes after the title in the page, so the title
   spans the article either way. */
.ie-facts {
  width: 100%;
  margin: 0 0 12px;
  border: 2px outset #d4d4d4;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--ie-frame-bg);
  font: 10px/1.4 var(--ie-sans);
  white-space: normal;
}

.ie-facts caption {
  padding: 4px;
  background: var(--ie-navy);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.ie-facts th,
.ie-facts td {
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
}

.ie-facts td {
  background: #fff;
  overflow-wrap: anywhere;
}

.ie-facts .ie-facts-shot {
  padding: 4px;
}

/* The cover at most as wide as in the floated box, centred in the full-width one. */
.ie-facts-shot .ie-thumb {
  max-width: 220px;
  margin: 0 auto;
}

.ie-facts-note {
  margin-top: 4px;
  font-size: 9px;
  text-align: center;
  color: #555;
}

@container ie (min-width: 900px) {
  /* Positioned so the write-up's positioned ## headings, whose boxes run under the float,
     don't paint over its links. */
  .ie-facts {
    position: relative;
    z-index: 1;
    float: right;
    width: 220px;
    margin: 0 0 10px 14px;
  }
}

.ie-breadcrumb {
  font: 10px var(--ie-sans);
  color: #666;
}

.ie-article h1 {
  margin-top: 6px;
}

.ie-subtitle {
  margin: 0;
  font-style: italic;
  color: #333;
}

.ie-article .ie-rule {
  width: 50%;
  margin: 8px 0 12px;
}

.ie-loading {
  font: 11px var(--ie-sans);
  color: #555;
}

.ie-contents {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ie-num {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--ie-navy);
  box-shadow: inset 1px 1px #6699cc, inset -1px -1px #001a33;
  font-size: 9px;
  letter-spacing: 0;
  color: #fff;
}

.ie-more {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  background: #fff;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080, 1px 1px 0 #000;
  font: 10px/1.3 var(--ie-sans);
  color: #000;
  text-decoration: none;
}

.ie-more:hover {
  color: var(--ie-orange);
}

.ie-more .ie-thumb {
  flex: none;
  width: 40px;
  border-width: 1px;
}

.ie-more-meta {
  display: block;
  color: #555;
}

/* The arrows on "◄ The works" / "◄ All papers", orange as in the mocks. */
.ie-nav-arrow {
  color: var(--ie-orange);
  font-weight: bold;
}

/* A Callout beside the floated facts box narrows to fit, instead of running its border and
   background under it. */
.ie-callout {
  display: flow-root;
}

/* ---- Paper page ---- */

.ie-paper-authors {
  margin: 6px 0 0;
}

/* flow-root: a box that narrows beside the floated "The paper" facts box, rather than running its
   border and background under it. */
.ie-abstract {
  display: flow-root;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #cccc99;
  background: #ffffcc;
}

.ie-abstract p {
  margin: 0;
}

/* A long code line scrolls inside its block instead of running under the facts box. */
.ie-writeup pre {
  overflow-x: auto;
}

.ie-thumb.ie-first-page {
  width: 120px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border: 1px solid #808080;
  box-shadow: 3px 3px 0 #999;
}

.ie-cite {
  display: flow-root;
  padding: 8px;
  border: 2px outset #d4d4d4;
  background: var(--ie-frame-bg);
  font-family: var(--ie-sans);
}

.ie-cite-formats,
.ie-cite-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ie-cite-text {
  margin: 6px 0;
  font: 12px/1.5 'Courier New', Courier, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ie-cite-actions [role='status'] {
  font-size: 9px;
  color: #555;
}

/* ---- The window: toolbar, address bar, viewport, status bar ---- */

.ie-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2px;
  padding: 3px 4px;
  border-bottom: 1px solid #fff;
  box-shadow: inset 0 -1px #808080;
}

.ie-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 46px;
  min-height: 0;
  padding: 2px 6px;
  border: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  text-shadow: none;
  color: #000;
}

.ie-tool:not(:disabled):hover {
  box-shadow: inset -1px -1px #808080, inset 1px 1px #fff;
}

.ie-tool:not(:disabled):active {
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
  text-shadow: none;
}

.ie-tool:disabled {
  color: #808080;
  text-shadow: 1px 1px #fff;
}

.ie-tool:not(:disabled) .ie-arrow {
  color: #008000;
}

.ie-tool:disabled svg {
  opacity: 0.5;
  filter: grayscale(1);
}

/* Narrow windows keep the icons and drop the words (still read out by screen readers). */
@container ie (max-width: 599px) {
  .ie-tool {
    min-width: 0;
    padding: 2px 4px;
    font-size: 0;
  }

  .ie-tool svg {
    width: 18px;
    height: 18px;
  }
}

.ie-addressbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px;
}

.ie-address-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  background: #fff;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
}

.ie-address-field input[type='text'] {
  flex: 1;
  min-width: 0;
  height: 20px;
  padding: 0;
  box-shadow: none;
}

.ie-go {
  min-width: 0;
  padding: 0 10px;
}

.ie-viewport {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ie-statusbar {
  display: flex;
  gap: 2px;
}

.ie-status-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Static on purpose: nothing in the site animates. */
.ie-status-progress {
  flex: none;
  width: 80px;
}

.ie-status-progress span {
  display: block;
  width: 60%;
  height: 10px;
  margin-top: 1px;
  background: repeating-linear-gradient(90deg, #000080 0 8px, transparent 8px 10px);
}

.ie-status-zone {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 120px;
}

@container ie (max-width: 599px) {
  .ie-status-zone {
    display: none;
  }
}
/* Internet Explorer on a phone (spec 2026-10-18 §5): no Navigation toolbar, address bar or status bar, and each page
   a PhoneFrame — one 46px "Page" bar over a scrolling main frame. Loaded after ie.css, which defines the tokens
   (--ie-navy, --ie-sans …) and the 98 bevel looks used here; every rule is scoped under .ie-window.is-phone so the
   desktop layout is untouched. Static on purpose, like the rest of the site. Sizes are the OS's own px, on a
   480-wide screen: a thumb needs 42 × 36 for Back. */

/* The window fills the window body (WindowFrame's flex: 1 box), and the viewport is all that is left in it. */
.ie-window.is-phone {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.ie-window.is-phone .ie-viewport {
  min-width: 0;
}

.ie-window.is-phone .ie-phone {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ie-window.is-phone .ie-phone-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 6px;
  box-sizing: border-box;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
}

/* The bar's buttons: the .ie-btn look, thumb-sized. 98.css's button resets (colour, text-shadow, min-width) are
   overridden as .ie-btn does. The arrow is green while Back works, as the toolbar's is. */
.ie-window.is-phone .ie-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: bold 15px var(--ie-sans);
  text-decoration: none;
  text-shadow: none;
  color: var(--ie-navy);
  background: linear-gradient(#fff, #d4d4d4 55%, #bdbdbd);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555, inset -2px -2px #999, 1px 1px 0 #000;
}

.ie-window.is-phone .ie-phone-btn:not(:disabled):active {
  text-shadow: none;
  box-shadow: inset 1px 1px #555, inset -1px -1px #fff, 1px 1px 0 #000;
}

.ie-window.is-phone .ie-phone-btn:disabled {
  cursor: default;
  color: #999;
  text-shadow: 1px 1px #fff;
}

.ie-window.is-phone .ie-phone-btn:not(:disabled) .ie-arrow {
  color: #008000;
}

.ie-window.is-phone .ie-phone-btn:disabled .ie-arrow {
  opacity: 0.5;
  filter: grayscale(1);
}

/* A toggle that is on (the Work page's current view) sits sunken in flat grey, as the approved mock draws it; its
   icon keeps its own colours. */
.ie-window.is-phone .ie-phone-btn[aria-pressed='true'] {
  background: #dcdcdc;
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
}

/* The Work page's two view buttons (PhoneViewSwitch) at the bar's right end: 46 × 36, icon only, side by side. */
.ie-window.is-phone .ie-phone-views {
  flex: none;
  display: flex;
  margin-left: auto;
}

.ie-window.is-phone .ie-phone-views .ie-phone-btn {
  min-width: 46px;
  padding: 0;
}

.ie-window.is-phone .ie-phone-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  background: #fff;
}

/* A tap on the page's text focuses the frame (tabIndex -1), so the keyboard scrolls it. It is no Tab stop. */
.ie-window.is-phone .ie-phone-main:focus {
  outline: none;
}

/* ---- The 98 drop-down (Picker): a sunken field with a bevelled arrow box; open, a list of thumb-sized rows ---- */

/* About 214px wide in the bar, shrinking before it pushes the bar's other buttons off it. */
.ie-window.is-phone .ie-picker {
  flex: 0 1 214px;
  min-width: 0;
}

/* 98.css's button resets (colour, text-shadow, min-width, its own hover and press looks) are overridden here and on the
   rows, as .ie-phone-btn does; this rule outranks its :hover and :active, so the field never changes look. */
.ie-window.is-phone .ie-picker-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  padding: 0 0 0 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: 15px Tahoma, Verdana, sans-serif;
  text-align: left;
  text-shadow: none;
  color: #000;
  background: #fff;
  box-shadow: inset -1px -1px #fff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
}

/* While there is nothing to choose (the works still loading): 98's greyed, embossed text, as .ie-phone-btn:disabled. */
.ie-window.is-phone .ie-picker-button:disabled {
  cursor: default;
  color: #999;
  text-shadow: 1px 1px #fff;
}

.ie-window.is-phone .ie-picker-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The arrow box is an .ie-btn (its gradient and raised bevel); this sizes it to sit inside the field's 2px border,
   with room for .ie-btn's 1px hard shadow, and keeps it black, not .ie-btn's navy turning orange under a stuck hover. */
.ie-window.is-phone .ie-picker-arrow {
  flex: none;
  width: 28px;
  height: 28px;
  min-height: 0;
  margin: 0 3px 0 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0;
  color: #000;
}

/* Pressed while the list is open, and while the field is held down: .ie-btn's press look. */
.ie-window.is-phone .ie-picker-button[aria-expanded='true'] .ie-picker-arrow,
.ie-window.is-phone .ie-picker-button:active .ie-picker-arrow {
  box-shadow: inset 1px 1px #555, inset -1px -1px #fff, 1px 1px 0 #000;
}

.ie-window.is-phone .ie-picker-button:disabled .ie-picker-arrow {
  color: #999;
}

/* The list hangs under the page bar, left-aligned with its field (it has no positioned parent of its own, so the left
   edge stays where it would have been in the bar), and is as tall as the frame allows: a percentage of .ie-phone, the
   positioned ancestor, never of the viewport. Longer than that, it scrolls inside itself. */
.ie-window.is-phone .ie-picker-list {
  position: absolute;
  top: 46px;
  z-index: 5;
  width: 262px;
  max-width: calc(100% - 12px);
  max-height: calc(100% - 46px);
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 2px 2px 0 rgb(0 0 0 / 35%);
}

.ie-window.is-phone .ie-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font: 15px Tahoma, Verdana, sans-serif;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  color: #000;
  background: #fff;
  box-shadow: none;
}

.ie-window.is-phone .ie-picker-row:not([aria-checked='true']):active {
  background: #c0c0c0;
}

.ie-window.is-phone .ie-picker-row[aria-checked='true'] {
  color: #fff;
  background: #000080;
}

/* 98.css's dotted focus ring is black: invisible on the navy row that opening focuses. */
.ie-window.is-phone .ie-picker-row[aria-checked='true']:focus {
  outline-color: #fff;
}

.ie-window.is-phone .ie-picker-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* In a row the count is pushed right by the row; in the field it follows the label (buttonText may carry one). */
.ie-window.is-phone .ie-picker-count {
  flex: none;
  font-size: 13px;
  color: #666;
}

.ie-window.is-phone .ie-picker-text .ie-picker-count {
  margin-left: 4px;
}

.ie-window.is-phone .ie-picker-row[aria-checked='true'] .ie-picker-count {
  color: #ccd;
}

.ie-window.is-phone .ie-picker-divider {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #c0c0c0;
}

/* ---- One at a time (OneAtATime): a big cover between two tall sides, the name and Open under it (spec §6.2) ---- */

/* Fills the main frame: exactly its height (not a min-height, which the cover's own 176px would hold open), so the
   cover gives way to a frame shorter than the page; one too short for even the caption and dots scrolls. The browser
   keeps the vertical scroll (touch-action: pan-y); a sideways move is the swipe (useSwipe). No text selection, so a
   mouse drag swipes instead of selecting the name. */
.ie-window.is-phone .ie-one {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

/* The sides are .ie-btn (its gradient and raised bevel), 44px wide and as tall as the page. Navy at every state, as
   .ie-btn's hover turns the text orange and a tap leaves it stuck; grey when there is no project to step to. */
.ie-window.is-phone .ie-one-side {
  flex: none;
  width: 44px;
  min-height: 0;
  padding: 0;
  font: bold 30px/1 var(--ie-sans);
  letter-spacing: 0;
  color: var(--ie-navy);
}

.ie-window.is-phone .ie-one-side:disabled {
  color: #999;
}

.ie-window.is-phone .ie-one-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 8px 0;
  box-sizing: border-box;
}

/* The cover is as large as fits, but no larger than 176px (spec §6.2): it takes the height the column has left under
   the top margin and above the name, Open and dots, so the whole view fits the frame whatever the fonts (about 370 ×
   174 at 480 × 369), and a taller frame leaves the rest below it rather than stretching the cover into a tall, narrow
   box that crops its picture. It gives way first (min-height: 0). Its picture is laid over it, so the picture adds no
   height of its own, and fills it in the site's 2px blue frame (.ie-thumb), the picture or the drawn placeholder alike. */
.ie-window.is-phone .ie-one-cover {
  display: flex;
  flex: 0 1 176px;
  min-height: 0;
}

.ie-window.is-phone .ie-one-cover .ie-card-shot {
  flex: 1;
  min-width: 0;
}

.ie-window.is-phone .ie-one-cover .ie-thumb {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}

/* A Draft flag is 8px on a desktop card; on a phone it needs to be read. */
.ie-window.is-phone .ie-one .ie-badge-draft {
  padding: 2px 6px;
  font-size: 11px;
}

/* The name and its type · year at the left, Open at the right. The name is one line, cut short with an ellipsis: it
   gives way before Open, which never moves. An empty meta line keeps its height, so Open does not jump between
   projects. */
.ie-window.is-phone .ie-one-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.ie-window.is-phone .ie-one-title {
  flex: 1;
  min-width: 0;
}

.ie-window.is-phone .ie-one-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: bold 22px/1.2 var(--ie-display);
  color: var(--ie-navy);
}

.ie-window.is-phone .ie-one-meta {
  min-height: 17px;
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 14px/17px var(--ie-sans);
  color: #555;
}

/* Open is .ie-btn.is-on: the site's orange button, 38px tall. */
.ie-window.is-phone .ie-one-open {
  flex: none;
  height: 38px;
  padding: 0 16px;
  font: bold 15px var(--ie-sans);
  letter-spacing: 0;
  white-space: nowrap;
}

.ie-window.is-phone .ie-one-where {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 7px;
  font: 12px var(--ie-sans);
  color: #555;
}

.ie-window.is-phone .ie-one-dots {
  display: flex;
  gap: 6px;
}

.ie-window.is-phone .ie-one-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0c0c0;
}

.ie-window.is-phone .ie-one-dots i.is-on {
  background: var(--ie-navy);
}

/* ---- The list (PhoneList): one tall white row per project, a rule under each (spec §6.3) ---- */

.ie-window.is-phone .ie-plist {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 76px with the rule under it: the cover (100 × 62) at the left, the name and type · year, and a chevron. The row is a
   link, but the page's link colours are not wanted: a.ie-plist-row outranks the plain link colour, and the visited
   and hovered ones (ie.css, which outrank this rule) cannot reach the name, meta and chevron, which set their own. */
.ie-window.is-phone a.ie-plist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 76px;
  padding: 0 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--ie-navy);
  background: #fff;
}

.ie-window.is-phone a.ie-plist-row:active {
  background: #eee;
}

.ie-window.is-phone .ie-plist-row .ie-thumb {
  flex: none;
  width: 100px;
  height: 62px;
  aspect-ratio: auto;
}

/* The name gives way (an ellipsis) before the chevron does; an empty meta line keeps its height, so the name does not
   move between rows. */
.ie-window.is-phone .ie-plist-text {
  flex: 1;
  min-width: 0;
}

.ie-window.is-phone .ie-plist-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: bold 19px/1.2 var(--ie-display);
  color: var(--ie-navy);
}

.ie-window.is-phone .ie-plist-meta {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 14px/17px var(--ie-sans);
  color: #555;
}

.ie-window.is-phone .ie-plist-chevron {
  flex: none;
  font: bold 26px/1 Tahoma, Verdana, sans-serif;
  color: var(--ie-navy);
}

/* ---- The Work page's words when there is nothing to show (PhoneWorksPage): loading, not loaded, empty ---- */

.ie-window.is-phone .ie-phone-note {
  margin: 0;
  padding: 24px 16px;
  font: 17px/1.4 var(--ie-serif);
  color: #333;
}

.ie-window.is-phone .ie-phone-note p {
  margin: 0 0 14px;
}

/* ---- The case study (PhoneCaseStudy): one column with 14px side margins, then Previous / Next (spec §7) ---- */

/* The badge at the bar's right end, in the approved mock's 13px bold (today's 9px spaced capitals are unreadable on a
   phone); its orange gradient is .ie-badge-case's own. */
.ie-window.is-phone .ie-phone-bar .ie-badge {
  flex: none;
  margin-left: auto;
  padding: 6px 9px;
  font: bold 13px var(--ie-sans);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* A Contents row's number badge, 22px (the mock's), beside its section; the current row is navy, so its badge turns
   white on navy. */
.ie-window.is-phone .ie-picker-row .ie-num {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
  font: bold 12px var(--ie-sans);
}

.ie-window.is-phone .ie-picker-row[aria-checked='true'] .ie-num {
  color: #000080;
  background: #fff;
  box-shadow: none;
}

/* ---- The story page and the case study on a phone (spec 2026-10-19 §13): ie-workpage.css's look at the phone's sizes. The
   column is the window (ie.css's .ie-article is a 660px one with 20px sides); the ways on and the end boxes are full-width
   blocks; the facts are rows. A narrow window's layouts of the blocks (a strip and phones two to a row, a pair and a picture
   with notes stacked, the numbers two by two) are ie-workpage.css's container queries, which a phone is always inside. ---- */

.ie-window.is-phone .ie-workpage {
  max-width: none;
  padding: 10px 12px 14px;
  font-size: 13px;
}

.ie-window.is-phone .ie-workpage h1 {
  font-size: 24px;
}

.ie-window.is-phone .ie-workpage .ie-pcase-cover + h1 {
  margin-top: 10px;
}

/* The still comes first, so the kicker needs room above it. */
.ie-window.is-phone .ie-workpage .ie-kicker {
  margin-top: 14px;
}

/* The still's room while the file loads (PhoneStory): the desktop poster's 16 / 10 across the column, with the still's own
   margins and mat (a 1px hairline and 2px of padding round the content box, as the picture's own border box has), so the page
   under it is already where the still leaves it. Empty: nothing comes before the picture does. */
.ie-window.is-phone .ie-workpage .ie-still-room {
  box-sizing: content-box;
  aspect-ratio: 16 / 10;
  margin: 6px 0 14px;
  padding: 2px;
  border: 1px solid transparent;
}

/* The ways on, one under the other, each the column's width: 14px, 8px of padding. The case study's Visit ↗ (the orange primary
   in the row of tags) and the making-of band's way on take the same size. Each stays thumb-sized, as tall as before the look —
   38, as the phone spec's Open and Visit ↗ (spec 2026-10-18 §7.2) — where the mockup's are slimmer; the making-of's 44. */
.ie-window.is-phone .ie-workpage .ie-pstory-ways {
  display: block;
  margin: 0 0 8px;
}

.ie-window.is-phone .ie-workpage .ie-pstory-ways .ie-btn,
.ie-window.is-phone .ie-workpage .ie-pcase-visit,
.ie-window.is-phone .ie-workpage .ie-making .ie-btn {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px;
  font-size: 14px;
}

.ie-window.is-phone .ie-workpage .ie-making .ie-btn {
  min-height: 44px;
}

.ie-window.is-phone .ie-workpage .ie-pstory-ways .ie-btn {
  margin-bottom: 6px;
}

/* A case study's type and year as small chips; Visit ↗ is on the next line, the row's width. */
.ie-window.is-phone .ie-workpage .ie-pcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
}

.ie-window.is-phone .ie-workpage .ie-pcase-tag {
  padding: 2px 6px;
  border: 1px dashed var(--wp-line);
  font: 11px var(--ie-sans);
  color: var(--wp-ink);
}

.ie-window.is-phone .ie-workpage .ie-pcase-visit {
  flex: 1 1 100%;
  width: auto;
}

/* The facts as rows: the label's column 80px and bold, a dotted rule over each row. */
.ie-window.is-phone .ie-workpage .ie-pcase-facts {
  margin: 4px 0 0;
}

.ie-window.is-phone .ie-workpage .ie-pcase-facts > div {
  display: flex;
  padding: 6px 0;
  border-top: 1px dotted #ccd;
  font: 12px/1.4 var(--ie-sans);
}

.ie-window.is-phone .ie-workpage .ie-pcase-facts dt {
  flex: none;
  width: 80px;
  font-weight: bold;
  color: var(--wp-ink);
}

.ie-window.is-phone .ie-workpage .ie-pcase-facts dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.ie-window.is-phone .ie-workpage .ie-pcase-facts dd a + a {
  margin-left: 14px;
}

/* At a glance: one row each, the picture 96 wide at the left, the step over its line beside it, the two together centred on
   the picture. A row's NDA label sits under its picture, so the picture's cell may be taller than the words beside it. */
.ie-window.is-phone .ie-workpage .ie-glance ol {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.ie-window.is-phone .ie-workpage .ie-glance li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  padding: 4px 0;
}

.ie-window.is-phone .ie-workpage .ie-glance-shot {
  grid-row: 1 / span 2;
  align-self: start;
}

.ie-window.is-phone .ie-workpage .ie-glance .ie-plate,
.ie-window.is-phone .ie-workpage .ie-glance .ie-slot {
  width: 96px;
}

.ie-window.is-phone .ie-workpage .ie-glance .ie-nda {
  font-size: 10px;
  line-height: 1.25;
}

.ie-window.is-phone .ie-workpage .ie-glance li > b {
  align-self: end;
  margin: 0;
}

.ie-window.is-phone .ie-workpage .ie-glance li > span {
  align-self: start;
}

/* The making-of band: stacked — the cover across, then the words, the title and the way on. */
.ie-window.is-phone .ie-workpage .ie-making {
  grid-template-columns: minmax(0, 1fr);
}

.ie-window.is-phone .ie-workpage .ie-making-text {
  align-items: stretch;
  gap: 6px;
}

/* The end: Previous and Next side by side, 64 tall, each the word over the work's name, in a 1px navy box; Back to the works
   under them, the full width and 44 tall, as the phone spec has it (spec 2026-10-18 §5 item 7, §7.2). They are .ie-btn (the
   white button with its outline, ie-workpage.css) and stay navy at every state, grey when there is no project to step to. */
.ie-window.is-phone .ie-workpage .ie-pcase-end {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
}

.ie-window.is-phone .ie-workpage .ie-pcase-box {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: 64px;
  padding: 6px;
  text-align: left;
  white-space: normal;
}

.ie-window.is-phone .ie-workpage .ie-pcase-box-label {
  font: 10px var(--ie-sans);
  color: var(--wp-soft);
}

/* The name gives way with an ellipsis, so a long one never pushes the box wider than its half. */
.ie-window.is-phone .ie-workpage .ie-pcase-box-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: bold 12px var(--wp-display);
  color: var(--wp-ink);
}

.ie-window.is-phone .ie-workpage .ie-pcase-box:disabled .ie-pcase-box-label,
.ie-window.is-phone .ie-workpage .ie-pcase-box:disabled .ie-pcase-box-name {
  color: #999;
}

.ie-window.is-phone .ie-workpage .ie-pcase-all,
.ie-window.is-phone .ie-workpage .ie-pcase-all:hover {
  grid-column: 1 / -1;
  min-height: 44px;
  padding: 8px;
  font-size: 12px;
  color: var(--wp-ink);
}

/* Under a mouse the look turns an .ie-btn's outline and words orange (ie-workpage.css, :root[data-hover='hover'] …
   .ie-btn:hover: six classes, attributes and pseudo-classes, in the file imported after this one, so the plain :hover above
   loses to it). These, seven, keep the end navy, and a box with nowhere to go grey, as Chromium hovers a disabled button too. */
.ie-window.is-phone .ie-workpage .ie-pcase-end .ie-btn:not(:disabled):hover {
  border-color: var(--wp-ink);
  color: var(--wp-ink);
}

.ie-window.is-phone .ie-workpage .ie-pcase-end .ie-btn:disabled:hover {
  border-color: var(--wp-line);
  color: #999;
}

/* ---- A picture full-screen (PictureViewer): over the whole page, bar and all, on black (spec §7.2) ---- */

/* Above the picker's list (z-index 5), which is positioned in the same .ie-phone. */
.ie-window.is-phone .ie-viewer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* The 98 title strip, the picture's name at the left (cut short with an ellipsis) and Close at the right: 40 tall around a
   44 × 36 button. */
.ie-window.is-phone .ie-viewer-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  padding: 0 2px 0 10px;
  box-sizing: border-box;
  background: linear-gradient(90deg, #000080, #1084d0);
  font: bold 13px Tahoma, sans-serif;
  color: #fff;
}

.ie-window.is-phone .ie-viewer-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 98.css's button (bevel, grey) at a thumb's size; its min-width and text-shadow are reset as .ie-mini-close does. */
.ie-window.is-phone .ie-viewer-close {
  flex: none;
  width: 44px;
  height: 36px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  font: bold 24px/1 Tahoma, sans-serif;
  text-shadow: none;
  color: #000;
}

.ie-window.is-phone .ie-viewer-close:not(:disabled):active {
  text-shadow: none;
}

/* The picture whole, as large as the space under the strip allows, never cropped or stretched. */
.ie-window.is-phone .ie-viewer-picture {
  flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  background: #000;
}

/* A Gallery's enlarged picture keeps its in-page window, but its strip and Close are as thumb-sized as the viewer's. */
.ie-window.is-phone .ie-lightbox .ie-mini-titlebar {
  height: 40px;
  padding: 0 2px 0 10px;
  font-size: 13px;
}

.ie-window.is-phone .ie-lightbox .ie-mini-close {
  width: 44px;
  height: 36px;
  font-size: 24px;
}
/* The look of a project's story page and its case study — the PC's, and the shared base of the phone's (spec 2026-10-19
   §13): retro but simple, from the approved mockups. Every rule is under .ie-workpage, the class the four articles carry
   (StoryPage, PhoneStory, CaseStudyPage, PhoneCaseStudy), so the papers (.ie-article too), the Work page and the frames
   around the page keep their Win98 look. The phone's sizes are the end of ie-phone.css (.ie-window.is-phone .ie-workpage).

   Every selector starts .ie-page.ie-workpage (the four articles are .ie-page too), one class more than ie.css's rules for
   the same things (.ie-page's padding, .ie-article h1, .ie-btn.is-on, .ie-page a:not(.ie-btn)), so this file's look wins by
   specificity, not by being imported last (main.tsx). The phone's rules, three classes in (.ie-window.is-phone
   .ie-workpage), still outrank these, all but the mouse's hover (:root[data-hover='hover'], two more), which a phone rule
   that must stay put under a mouse outweighs with more of its own (the end's buttons). ie.css keeps the plain base of the
   blocks that a paper's write-up draws too (.ie-plate, .ie-figure, .ie-gallery, .ie-video, .ie-facts); this file restyles
   them here. */

.ie-page.ie-workpage {
  --wp-ink: #335577;
  --wp-soft: #557799;
  --wp-line: #99aabb;
  --wp-orange: #ff6600;
  --wp-display: 'Trebuchet MS', sans-serif;
  padding: 14px 20px 18px;
  font: 12px/1.7 var(--ie-sans);
  color: #333;
}

/* ---- The head: breadcrumb, kicker, title, line, facts, ways on ---- */

.ie-page.ie-workpage .ie-breadcrumb {
  font: 10px var(--ie-sans);
  color: var(--wp-soft);
}

.ie-page.ie-workpage .ie-kicker {
  margin: 8px 0 0;
  font: 10px var(--ie-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wp-soft);
}

.ie-page.ie-workpage h1 {
  margin: 2px 0 4px;
  font: bold 26px/1.15 var(--wp-display);
  color: var(--wp-ink);
}

/* A case study's lead: italic. A story's line (the work's blurb) is plain and a size up. */
.ie-page.ie-workpage .ie-subtitle {
  margin: 0 0 8px;
  font: italic 14px/1.5 var(--wp-display);
  color: #555;
}

.ie-page.ie-workpage.ie-story .ie-subtitle,
.ie-page.ie-workpage.ie-pstory .ie-subtitle {
  font: 15px/1.45 var(--wp-display);
}

/* The facts on one line, the labels bold; a narrow page wraps them. */
.ie-page.ie-workpage .ie-story-facts {
  margin: 0 0 10px;
  font: 11px/1.5 var(--ie-sans);
}

.ie-page.ie-workpage .ie-story-facts b {
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-story-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

/* A way on: the first is the orange primary (.is-on), the other the white one with a navy outline. .ie-btn's bevel, gradient
   and orange hover are set aside; the hover is the mouse's (data-hover), so a tap never leaves it stuck. */
.ie-page.ie-workpage .ie-btn {
  min-height: 0;
  padding: 4px 12px;
  border: 1px solid var(--wp-ink);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  font: bold 12px var(--wp-display);
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-btn.is-on {
  border-color: #cc5200;
  background: var(--wp-orange);
  color: #fff;
}

.ie-page.ie-workpage .ie-btn:hover,
.ie-page.ie-workpage .ie-btn:not(:disabled):active {
  box-shadow: none;
  text-shadow: none;
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-btn.is-on:hover,
.ie-page.ie-workpage .ie-btn.is-on:not(:disabled):active {
  color: #fff;
}

.ie-page.ie-workpage .ie-btn:disabled {
  border-color: var(--wp-line);
  color: #999;
}

:root[data-hover='hover'] .ie-page.ie-workpage .ie-btn:hover {
  border-color: var(--wp-orange);
  color: var(--wp-orange);
}

:root[data-hover='hover'] .ie-page.ie-workpage .ie-btn.is-on:hover {
  border-color: #cc5200;
  background: #e65c00;
  color: #fff;
}

/* ---- Pictures: the mat — a navy hairline and 2px of white round every picture, the phone outline of the still aside ---- */

.ie-page.ie-workpage .ie-plate,
.ie-page.ie-workpage .ie-thumb,
.ie-page.ie-workpage .ie-video,
.ie-page.ie-workpage .ie-gallery-item img {
  box-sizing: border-box;
  padding: 2px;
  border: 1px solid var(--wp-ink);
  background: #fff;
}

/* A cover that is only drawn (the work has none yet): the tint inside the mat, not under it. */
.ie-page.ie-workpage .ie-thumb-placeholder {
  background: linear-gradient(var(--ie-tint, #336699), var(--ie-tint, #336699)) content-box, #fff;
}

/* The still: the desktop poster across the page, the phone's in its outline in front of it at the bottom right. */
.ie-page.ie-workpage .ie-still {
  position: relative;
  margin: 6px 0 14px;
}

/* The phone hangs 10px below the desktop poster, so the figure leaves room for it. */
.ie-page.ie-workpage .ie-still.has-phone {
  margin-bottom: 22px;
}

.ie-page.ie-workpage .ie-still .ie-plate {
  display: block;
  width: 100%;
  height: auto;
}

/* A missing desktop poster or photo keeps the poster's shape, so the phone's outline (20% wide, 9 / 19) always fits inside it. */
.ie-page.ie-workpage .ie-still .ie-slot {
  min-height: 0;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
  margin: 0;
}

.ie-page.ie-workpage .ie-still-phone {
  position: absolute;
  right: 4%;
  bottom: -10px;
  width: 20%;
}

.ie-page.ie-workpage .ie-still .ie-still-phone .ie-plate {
  padding: 0;
  border: 3px solid #222;
  border-radius: 8px;
  background: #222;
}

.ie-page.ie-workpage .ie-still .ie-still-phone .ie-slot {
  min-height: 0;
  aspect-ratio: 9 / 19;
  box-sizing: border-box;
  padding: 2px;
  overflow: hidden;
  border: 3px dashed #808080;
  border-radius: 8px;
  background: #fff;
  font-size: 8px;
  overflow-wrap: anywhere;
}

/* An app's phone alone: centred, in flow, at a phone's width rather than the page's. */
.ie-page.ie-workpage .ie-still.is-app .ie-still-phone {
  position: static;
  width: 60%;
  max-width: 240px;
  margin: 0 auto;
}

/* ---- At a glance: its title over a dashed tray of three ---- */

/* 98.css draws the fieldset as a grooved box; here it is only the group that names its legend. min-width: 0 because a
   fieldset otherwise never shrinks below its content. */
.ie-page.ie-workpage .ie-glance {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  border-image: none;
}

.ie-page.ie-workpage .ie-glance legend {
  margin: 0 0 6px;
  padding: 0;
  background: none;
  font: bold 14px var(--wp-display);
  color: var(--wp-ink);
}

/* The dashed tray: the tray of pictures, At a glance and the making-of band share it. */
.ie-page.ie-workpage .ie-tray,
.ie-page.ie-workpage .ie-glance ol,
.ie-page.ie-workpage .ie-making {
  border: 1px dashed var(--wp-line);
  padding: 8px;
}

.ie-page.ie-workpage .ie-glance ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  list-style: none;
}

/* In a narrow window, one to a row — each picture over its step and line — as a pair of pictures stacks (.ie-pair). */
@container ie (max-width: 599px) {
  .ie-page.ie-workpage .ie-glance ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ie-page.ie-workpage .ie-glance li {
  min-width: 0;
}

.ie-page.ie-workpage .ie-glance .ie-plate {
  display: block;
  width: 100%;
  height: auto;
}

.ie-page.ie-workpage .ie-glance .ie-slot {
  min-height: 0;
  aspect-ratio: 16 / 10;
  box-sizing: border-box;
  margin: 0;
  padding: 4px;
}

.ie-page.ie-workpage .ie-glance .ie-nda {
  margin: 3px 0 0;
}

.ie-page.ie-workpage .ie-glance li > b {
  display: block;
  margin-top: 4px;
  font: bold 13px/1.3 var(--wp-display);
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-glance li > span {
  display: block;
  font: 11px/1.5 var(--ie-sans);
}

/* ---- The write-up: the words, the headings, the trays ---- */

.ie-page.ie-workpage .ie-writeup > p {
  margin: 0 0 8px;
}

.ie-page.ie-workpage .ie-writeup > p.ie-chapter-line {
  font: italic 13px/1.5 var(--wp-display);
  color: #555;
}

/* The number hangs in the heading's left padding, beside its first line, as ie.css's does — orange, and as wide as its figure. */
.ie-page.ie-workpage .ie-writeup h2 {
  margin: 22px 0 6px;
  padding-left: 32px;
  font: bold 18px/1.3 var(--wp-display);
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-writeup h2::before {
  top: calc((18px * 1.3 - 16px) / 2);
  width: auto;
  height: auto;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--wp-orange);
  box-shadow: none;
  font: bold 12px/14px var(--wp-display);
}

/* Pictures that follow each other sit in one tray; each block is a box of its own in it, so the gap parts one block from
   the next and never a picture from its label. A grid is a block formatting context, so beside a floated facts box the tray
   narrows to fit instead of running under it. */
.ie-page.ie-workpage .ie-tray {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 8px 0 4px;
}

.ie-page.ie-workpage .ie-tray-block {
  min-width: 0;
}

/* A picture keeps its own shape — no crop — and the tiles of a row align at their tops. */
.ie-page.ie-workpage .ie-tray .ie-plate,
.ie-page.ie-workpage .ie-tray .ie-video {
  display: block;
  width: 100%;
  height: auto;
}

.ie-page.ie-workpage .ie-tray .ie-figure {
  margin: 0;
}

.ie-page.ie-workpage .ie-figure figcaption,
.ie-page.ie-workpage .ie-tray .ie-pair-caption,
.ie-page.ie-workpage .ie-tray .ie-gallery-caption {
  margin: 3px 0 0;
  font: 11px/1.4 var(--wp-display);
  color: var(--wp-soft);
}

.ie-page.ie-workpage .ie-nda {
  font: italic 11px/1.4 var(--wp-display);
  color: var(--wp-soft);
}

.ie-page.ie-workpage .ie-tray .ie-nda {
  margin: 4px 0 0;
}

.ie-page.ie-workpage .ie-tray .ie-slot {
  margin: 0;
}

/* image, loop, video, item: the tray's width (above). A pair: two equal columns, its caption under both. */
.ie-page.ie-workpage .ie-pair {
  gap: 10px;
}

/* A picture with notes: the picture 58% of the width, its notes beside it, the caption under the notes. The second row
   takes what the picture is taller by, so the caption stays under the list. */
.ie-page.ie-workpage .ie-tray .ie-notes {
  display: grid;
  grid-template-columns: 58% minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  align-items: start;
}

.ie-page.ie-workpage .ie-tray .ie-notes-pic {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
}

.ie-page.ie-workpage .ie-tray .ie-notes-list {
  grid-column: 2;
  grid-row: 1;
}

.ie-page.ie-workpage .ie-tray .ie-notes figcaption {
  grid-column: 2;
  grid-row: 2;
}

.ie-page.ie-workpage .ie-notes-list {
  margin: 0;
  padding-left: 18px;
  font: 11px/1.6 var(--ie-sans);
  color: var(--wp-ink);
}

/* The marks: flat, the notes' numbers on the picture. */
.ie-page.ie-workpage .ie-notes-mark {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px solid #fff;
  background: var(--ie-navy);
  box-shadow: none;
  font: 9px/12px var(--ie-sans);
}

/* A strip: one column to each picture, four to a row at most (Blocks sets --cols); its captions under the tiles. */
.ie-page.ie-workpage .ie-tray .ie-gallery {
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  margin: 0;
}

.ie-page.ie-workpage .ie-gallery-cell {
  min-width: 0;
}

.ie-page.ie-workpage .ie-gallery-item {
  display: block;
  width: 100%;
}

.ie-page.ie-workpage .ie-gallery-item img {
  aspect-ratio: auto;
  height: auto;
  object-fit: fill;
}

/* A row of phones: one column to each, four at most — each a quarter of the tray, so a lone phone is not blown up. */
.ie-page.ie-workpage .ie-tray .ie-phones {
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  width: calc(var(--cols, 4) * 25%);
  max-width: 100%;
  gap: 10px;
  margin: 0;
}

/* An interactive item keeps its frame and its height; the mat is its hairline, and its white the frame's 2px inset. */
.ie-page.ie-workpage .ie-item-frame {
  box-sizing: border-box;
  border: 1px solid var(--wp-ink);
  box-shadow: none;
}

/* Two to a row, a strip and phones, in a narrow window and on a phone; a pair and a picture with notes stack. */
@container ie (max-width: 599px) {
  .ie-page.ie-workpage .ie-tray .ie-gallery {
    grid-template-columns: repeat(var(--cols-narrow, 2), minmax(0, 1fr));
  }

  .ie-page.ie-workpage .ie-tray .ie-phones {
    grid-template-columns: repeat(var(--cols-narrow, 2), minmax(0, 1fr));
    width: calc(var(--cols-narrow, 2) * 50%);
  }

  .ie-page.ie-workpage .ie-tray .ie-notes {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .ie-page.ie-workpage .ie-tray .ie-notes-pic,
  .ie-page.ie-workpage .ie-tray .ie-notes-list,
  .ie-page.ie-workpage .ie-tray .ie-notes figcaption {
    grid-column: 1;
    grid-row: auto;
  }

  .ie-page.ie-workpage .ie-tray .ie-notes-list {
    margin-top: 6px;
  }
}

/* ---- The numbers: one dashed row of up to four cells (Blocks sets --cols), two by two in a narrow window ---- */

.ie-page.ie-workpage .ie-numbers {
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 0;
  margin: 8px 0;
  border: 1px dashed var(--wp-line);
}

.ie-page.ie-workpage .ie-numbers div {
  padding: 6px 8px;
  background: none;
  box-shadow: none;
  border-right: 1px dashed var(--wp-line);
}

.ie-page.ie-workpage .ie-numbers div:last-child,
.ie-page.ie-workpage .ie-numbers div:nth-child(4n) {
  border-right: 0;
}

.ie-page.ie-workpage .ie-numbers div:nth-child(n + 5) {
  border-top: 1px dashed var(--wp-line);
}

.ie-page.ie-workpage .ie-numbers dt {
  font: bold 24px/1.1 var(--wp-display);
  color: var(--wp-orange);
}

.ie-page.ie-workpage .ie-numbers dd {
  margin: 0;
  font: 10px/1.4 var(--ie-sans);
  color: var(--wp-ink);
}

@container ie (max-width: 599px) {
  .ie-page.ie-workpage .ie-numbers {
    grid-template-columns: repeat(var(--cols-narrow, 2), minmax(0, 1fr));
  }

  .ie-page.ie-workpage .ie-numbers div:last-child,
  .ie-page.ie-workpage .ie-numbers div:nth-child(2n) {
    border-right: 0;
  }

  .ie-page.ie-workpage .ie-numbers div:nth-child(n + 3) {
    border-top: 1px dashed var(--wp-line);
  }
}

/* ---- The making-of band: the case study's cover, "the making of", its title and the way on ---- */

.ie-page.ie-workpage .ie-making {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 22px 0 0;
}

.ie-page.ie-workpage .ie-making-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.ie-page.ie-workpage .ie-making-kicker {
  font: italic 12px var(--wp-display);
  letter-spacing: 0;
  text-transform: none;
  color: var(--wp-soft);
}

.ie-page.ie-workpage .ie-making-title {
  font: bold 16px/1.2 var(--wp-display);
  color: var(--wp-ink);
  overflow-wrap: anywhere;
}

/* ---- The case study's facts box: a navy title bar over a dashed box, floated right from 900px ---- */

/* The table keeps its caption (the bar), which sits over the box's border, so the box has no top line of its own. */
.ie-page.ie-workpage .ie-facts {
  border: 1px dashed var(--wp-line);
  border-top: 0;
  padding: 6px;
  background: #fff;
  font: 11px/1.45 var(--ie-sans);
}

.ie-page.ie-workpage .ie-facts caption {
  padding: 2px 6px;
  background: var(--wp-ink);
  font: bold 12px var(--wp-display);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  color: #fff;
}

.ie-page.ie-workpage .ie-facts th,
.ie-page.ie-workpage .ie-facts td {
  padding: 2px 0;
  border: 0;
  border-top: 1px dotted #ccd;
  background: none;
  font: 11px/1.45 var(--ie-sans);
}

.ie-page.ie-workpage .ie-facts th {
  width: 64px;
  font-weight: bold;
  color: var(--wp-ink);
}

.ie-page.ie-workpage .ie-facts .ie-facts-shot {
  padding: 0 0 6px;
  border-top: 0;
}

@container ie (min-width: 900px) {
  .ie-page.ie-workpage .ie-facts {
    width: 210px;
    margin: 2px 0 10px 16px;
  }
}

/* ---- The foot: Previous / Next, the footer ---- */

.ie-page.ie-workpage .ie-prevnext {
  clear: both;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 8px;
  border-top: 1px dashed var(--wp-line);
  font: bold 12px var(--wp-display);
}

.ie-page.ie-workpage .ie-prevnext a {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font: bold 12px var(--wp-display);
  color: var(--wp-ink);
  text-decoration: none;
}

/* Turns orange under the pointer as every text link in a page does (ie.css .ie-page a:not(.ie-btn):hover), which the navy
   above, a class more specific, would otherwise outrank. */
.ie-page.ie-workpage .ie-prevnext a:hover {
  color: var(--ie-orange);
}

.ie-page.ie-workpage .ie-prevnext .is-next {
  margin-left: auto;
  text-align: right;
}

.ie-page.ie-workpage .ie-nav-arrow {
  color: inherit;
}

.ie-page.ie-workpage .ie-prevnext-label {
  display: block;
  font: 10px var(--ie-sans);
  color: var(--wp-soft);
}

/* The line over the footer is the page's own; the footer is small and grey. */
.ie-page.ie-workpage .ie-groove {
  display: none;
}

.ie-page.ie-workpage .ie-footer {
  margin-top: 10px;
  font: 10px var(--ie-sans);
  color: #888;
}
