/* HomePort desktop v0.3 — restrained pewter/graphite OS workspace. */
:root{--hp-workspace:#555b66;--hp-chrome:#c8cad0;--hp-paper:#f1f1f1}
body{background:#3e434c}
.top{background:linear-gradient(#aeb6c0,#717b8a 45%,#475568);border-bottom:2px solid #27364b;padding:9px 17px}
.brand{font-size:22px;text-shadow:1px 1px #1f334b}
.brand-mark{font-size:23px}
.retro-menubar{padding:5px 15px;background:linear-gradient(#f1f2f4,#babfc8);border-bottom:1px solid #737983}
.app-shell{height:calc(100vh - 134px);min-height:490px;overflow:hidden;display:block;background:linear-gradient(145deg,#767b83,#565c65 55%,#414852);border:3px inset #a3abb5;position:relative}
.sidebar{display:none!important}
.content{position:relative;width:min(790px,calc(100% - 185px));height:calc(100% - 34px);margin:16px 24px 0 auto;overflow:auto;padding:0 12px 24px;background:#e8e9eb;border:3px ridge #f2f3f7;box-shadow:5px 7px 0 #1f28335c;max-width:none}
.content-head{position:sticky;top:0;z-index:2;background:linear-gradient(#d9dee6,#b4bdc9);padding:9px 13px;margin:0 -12px 12px;border-bottom:2px groove #7a8391}
.content-head h1{font-size:22px;margin:0}
.content-head .eyebrow{font-size:9px}
.welcome-banner{margin:10px 0 12px;border-radius:0;padding:12px 16px;background:linear-gradient(#2765b0,#17457e);box-shadow:2px 3px 0 #748da5}
.banner-message strong{font-size:22px}.banner-sun{height:52px;flex-basis:52px;font-size:31px}
.retro-launchbar{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:14px}
.retro-launchbar button{font-size:10px;padding:9px 3px;box-shadow:1px 2px #9da9b7}
.retro-launchbar button span{font-size:19px}
.grid.two{gap:10px}
.tile{padding:0 12px 12px;margin-bottom:11px;border:2px groove #a2afc0;box-shadow:1px 2px #c4cad3;background:#f6f7fa}
.retro-card-title{margin:0 -12px 10px;background:linear-gradient(#d2d7df,#aeb9c7);padding:5px 9px}
.big-clock{font-size:29px!important}
.desktop-icon-tray{position:absolute;left:10px;top:14px;bottom:20px;width:112px;display:flex;flex-direction:column;gap:5px;z-index:2;overflow:auto;align-items:center}
.desktop-icon-tray button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:98px;min-height:74px;gap:4px;border:1px solid transparent;background:transparent;color:white;text-shadow:1px 1px #1c2431;box-shadow:none;font-size:11px;font-weight:600;padding:5px 2px}
.desktop-icon-tray button:hover,.desktop-icon-tray button:focus-visible{background:#ffffff23;border:1px dotted #e0e7ef;color:white}
.desktop-icon{width:41px;height:40px;display:grid;place-items:center;font-size:24px;font-weight:bold;color:#eaf4ff;text-shadow:1px 2px #0d356b;background:linear-gradient(#6296c8,#22528f);border:2px outset #abc7e6;box-shadow:2px 2px #232e40}
.retro-desktop{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:200}
.retro-window{width:min(650px,calc(100% - 20px));height:min(530px,calc(100% - 18px));max-height:calc(100% - 10px);min-height:180px;resize:both;border:3px outset #c4cad4;box-shadow:3px 5px #242c38aa;z-index:201}
.retro-window.maximized{left:6px!important;top:6px!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;max-height:none;resize:none}
.retro-window-content{background:#e9ebee}
.retro-titlebar{background:linear-gradient(#527fbb,#244d8f);height:30px;cursor:move}
.retro-window-foot{background:#c2c9d4}
.footer{position:relative;z-index:600;background:linear-gradient(#d9dce0,#abb4be);padding:5px 12px;min-height:32px;color:#293b4b;font-size:10px;gap:12px}
.footer-sound{display:flex;gap:6px;align-items:center;white-space:nowrap}
.footer-sound label{font-size:11px;margin:0;color:#293b4b;cursor:pointer;font-weight:bold}
.footer-sound input{width:15px;height:15px;accent-color:#1f579c}
.window-dock{max-width:55%;flex:1}
.window-dock button{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-channel{min-height:350px}
.chat-room-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}
.chat-room-tabs button{padding:6px 10px;font-size:12px}
.chat-room-tabs button.selected{background:#275b9d;color:white;border-color:#1b4070}
.chat-transcript{height:265px;overflow-y:auto;background:#fff;border:2px inset #aab5c5;padding:10px;font:13px/1.5 Tahoma,Verdana,sans-serif;color:#263a59;overflow-wrap:anywhere}
.chat-line{padding:4px 0;border-bottom:1px dotted #dee2eb}
.chat-line time{color:#7a8798;font-size:10px;margin-right:7px}
.chat-line strong{color:#164f99;margin-right:6px}
.chat-form{margin-top:10px}
.chat-form label{font-size:11px}
.chat-form button{margin:0}
@media(max-width:800px){.content{width:calc(100% - 123px);margin-right:6px}.desktop-icon-tray{width:94px;left:2px}.desktop-icon-tray button{width:85px}.retro-launchbar{grid-template-columns:repeat(3,1fr)}.welcome-banner{padding:10px}.banner-sun{display:none}}
@media(max-width:570px){.desktop-icon-tray{position:relative;top:auto;left:auto;bottom:auto;width:100%;height:73px;flex-direction:row;overflow-x:auto;align-items:center;justify-content:start;padding:3px}.desktop-icon-tray button{min-width:70px;min-height:65px;font-size:10px}.desktop-icon{width:31px;height:29px;font-size:18px}.content{height:calc(100% - 85px);width:calc(100% - 12px);margin:5px auto}.retro-window{left:4px!important;top:4px!important;width:calc(100% - 8px)!important;height:calc(100% - 8px)!important;max-height:none}.retro-window.maximized{height:calc(100% - 8px)!important}.app-shell{height:calc(100vh - 136px)}.retro-launchbar{grid-template-columns:repeat(3,1fr)}}
