/* Windows controls retain their own material and typography inside Rails' website. */
.nd-desktop{position:relative;isolation:isolate;height:440px;min-width:0;overflow:hidden;background:#14283d;border-radius:6px;color:#f5f5f5;font:400 12px/1.4 'Segoe UI',sans-serif;container-type:inline-size}
.nd-desktop *{box-sizing:border-box}.nd-icon{display:inline-block;flex:none;vertical-align:middle;pointer-events:none}
.nd-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:6px 10px;border:1px solid #555b63;border-radius:4px;background:#30343b;color:#f4f4f5;font:400 12px/1.3 'Segoe UI',sans-serif;cursor:pointer}
.nd-button:hover{background:#41464e}.nd-button:focus-visible{outline:2px solid #93c9f7;outline-offset:2px}.nd-button:disabled{opacity:.42;cursor:default}
.nd-taskbar{position:absolute;inset:auto 0 0;z-index:40;height:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:3px 8px;background:#202832;border-top:1px solid #586273;color:#fff}
.nd-taskbar-apps{display:flex;justify-content:center;gap:3px;margin:auto}.nd-task-button{position:relative;width:36px;height:36px;padding:6px;min-height:0;border-color:transparent;background:transparent;border-radius:4px}
.nd-task-button>.nd-button-label{display:none}.nd-task-button>.nd-icon{width:25px;height:25px}.nd-task-button:hover{background:#3a424d}.nd-task-button[aria-pressed=true]{background:#394554}.nd-running:after{content:'';position:absolute;height:2px;width:5px;bottom:1px;left:50%;transform:translateX(-50%);border-radius:2px;background:#a4abb8}.nd-running[aria-pressed=true]:after{width:14px;background:#80c4f5}
.nd-system-tray{display:flex;gap:5px;align-items:center;padding:7px 3px;background:transparent;border:0;color:#e5e8ec;min-width:0}.nd-system-tray .nd-button-label{display:none}.nd-clock{display:flex;flex-direction:column;text-align:right;font-size:10px;line-height:1.4;white-space:nowrap}
.nd-window{min-width:0;overflow:hidden;border-radius:7px;background:#202020;color:#efefef;box-shadow:0 8px 22px #0005;font:400 12px/1.4 'Segoe UI',sans-serif}
.nd-window-titlebar{display:flex;align-items:center;justify-content:space-between;gap:6px;height:34px;min-height:34px;padding-left:10px;background:#2c2c2c;user-select:none}
.nd-window-caption{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden}.nd-window-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.nd-caption-buttons{display:flex;align-self:stretch;flex:none}.nd-caption-button{display:grid;place-items:center;width:30px;height:34px;min-height:0;padding:0;color:#d9d9d9;border:0;background:transparent;border-radius:0}.nd-caption-button .nd-icon{width:11px;height:11px}.nd-caption-button .nd-button-label{display:none}.nd-caption-button:is(button):last-child:hover{background:#c42b1c}
.nd-app-content{display:flex;flex-direction:column;min-height:0;height:calc(100% - 34px);overflow:hidden}.nd-chrome-label{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;font-size:12px}
.nd-address-row{display:flex;align-items:center;gap:10px;background:#252525;padding:7px 10px;color:#c7c7c7;min-height:36px}.nd-url{display:flex;align-items:center;gap:7px;min-width:0;flex:1;border-radius:15px;background:#383838;padding:5px 9px;color:#ddd}.nd-url span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}
.nd-web-page{flex:1;overflow:hidden;background:#f3f1e9;color:#243628;padding:15px 18px}.nd-web-mast{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #aab7a7;padding-bottom:10px}.nd-web-mast b{font:600 21px Georgia,serif}.nd-web-mast>span{font-size:10px}.nd-web-article{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;margin-top:16px}.nd-web-date{font-size:10px;color:#4f6154}.nd-web-copy h4{font:500 clamp(18px,4.8cqw,29px)/1.1 Georgia,serif;margin:8px 0 9px;letter-spacing:-.025em}.nd-web-copy p{font:400 12px/1.45 Georgia,serif;margin:0;color:#4b5c4e}.nd-web-meta{display:block;margin-top:14px;font-size:10px}.nd-route-map{display:flex;align-items:flex-start}.nd-route-map svg{width:100%;height:auto;max-height:160px}
.nd-explorer-toolbar{display:flex;align-items:center;gap:22px;padding:11px 15px;background:#252525;border-bottom:1px solid #444}.nd-explorer-address{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #404040;color:#dedede;white-space:nowrap;overflow:hidden}.nd-explorer-address span{overflow:hidden;text-overflow:ellipsis;font-size:11px}.nd-explorer-view{display:flex;flex:1;min-height:0}.nd-explorer-nav{display:flex;flex-direction:column;gap:13px;width:110px;flex:none;background:#242424;padding:13px 10px}.nd-explorer-nav .nd-chrome-label{font-size:11px}.nd-explorer-files{padding:7px 9px;min-width:0;flex:1;overflow:hidden}.nd-file-columns{display:flex;justify-content:space-between;padding:3px 2px 8px;color:#b9b9b9;font-size:10px;border-bottom:1px solid #3e3e3e}.nd-file-row{display:flex;align-items:center;gap:8px;padding:9px 3px;white-space:nowrap}.nd-file-name{overflow:hidden;text-overflow:ellipsis;font-size:11px}.nd-file-date{font-size:10px;color:#bdbdbd;margin-left:auto}.nd-explorer-status{padding:4px 12px;background:#252525;border-top:1px solid #333;font-size:10px;color:#bbb}
.nd-notepad-menu{display:flex;gap:20px;padding:7px 13px;background:#303030}.nd-note-text{flex:1;overflow:hidden;padding:14px 17px;margin:0;color:#eee;font:12px/1.6 Consolas,monospace;white-space:pre-wrap}.nd-notepad-status{padding:5px 10px;background:#2c2c2c;white-space:nowrap;overflow:hidden;font-size:10px;color:#bcbcbc}
@container(max-width:380px){.nd-clock{display:none}.nd-taskbar{gap:2px}.nd-taskbar-apps{margin:auto}.nd-web-page{padding:12px}.nd-web-article{gap:10px}.nd-web-mast>span{display:none}.nd-explorer-nav{width:78px;padding:12px 7px}.nd-explorer-nav .nd-chrome-label{font-size:10px;gap:4px}.nd-file-date{display:none}.nd-file-columns>span:last-child{display:none}.nd-caption-button{width:24px}.nd-web-copy h4{font-size:20px}.nd-web-copy p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nd-desktop *{animation:none!important;transition:none!important}}
