.dn-device-settings{width:min(760px,94vw);font-size:13px;background:#eaf0f6}
.dn-device-section{min-width:0;margin:8px 0;border:1px solid #b7cadc;border-radius:9px;background:#edf4fb;overflow:hidden}
.dn-device-section>summary{padding:10px 12px;cursor:pointer;color:#315c84;font-weight:700}
.dn-device-section.connectors{background:#faf0d7;border-color:#d9bd85}
.dn-device-section.connectors>summary{color:#82591f}
.dn-device-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end;gap:8px;padding:0 12px 12px}
.dn-device-fields>p,.dn-device-fields>[data-receivers],.dn-device-fields>[data-token]{grid-column:1/-1;min-width:0}
.dn-device-fields>button{justify-self:start;width:auto!important;padding:5px 9px!important;min-height:29px!important;font-size:12px!important}
.dn-device-fields label{display:grid;gap:4px;min-width:0;font-size:12px}
.dn-device-fields input,.dn-device-fields select,.dn-device-fields textarea{width:100%;min-width:0;min-height:29px!important;padding:6px 8px!important;font-size:12px!important;border:1px solid #bfd0dd;border-radius:7px;background:#f8fbfe}
.dn-device-help{font-size:11px;line-height:1.5;color:#64758a;margin:0}
.dn-device-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:9px 0;border-bottom:1px solid #ccd8e3;min-width:0}
.dn-device-row>span:first-child,.dn-device-row>strong{overflow-wrap:anywhere}
.dn-device-row.own>strong{font-weight:750;color:#224e74}
.dn-device-tabs{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap}
.dn-device-tab{display:inline-block;white-space:nowrap;border:1px solid #b7cddd;border-radius:5px;padding:2px 7px;background:#dce8f2;color:#385e7d;font-size:11px;line-height:1.5}
.dn-device-tab.current{font-weight:750;background:#315f86;border-color:#315f86;color:#fff}
.dn-device-tab[data-kind="pc"]{color:#245c92;background:#deedff;border-color:#92b8df}
.dn-device-tab[data-kind="app"]{color:#25634e;background:#dff3e7;border-color:#8bc5a6}
.dn-device-tab[data-kind="web"]{color:#70469b;background:#eee3fa;border-color:#bea0dc}
.dn-device-tab[data-current="true"]{font-weight:750;box-shadow:inset 0 0 0 1px currentColor}
.dn-current-device{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:3px 6px;min-width:0;max-width:100%;color:#e2e5e7;font-size:12px;font-weight:750;line-height:1.3}
.dn-current-device [data-device-name]{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.dn-current-device .dn-device-tabs{display:inline-flex;margin-left:0;align-items:center;gap:4px}
.dn-current-device[hidden]{display:none!important}
.dn-brand-meta{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;min-width:0;flex:0 1 auto}
.shell>.topbar{align-items:center;flex-wrap:wrap;gap:8px 20px;color:#e2e5e7}
.shell>.topbar>.dn-brand-heading{display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 220px}
.shell>.topbar h1{flex:none;color:#e2e5e7;line-height:1.2;margin:0}
.shell>.topbar .paper-brand-version,.dn-chat-head .paper-brand-version{display:block;font:500 11px/1.3 Arial,sans-serif;letter-spacing:0;color:#d9dde0;white-space:nowrap}
.shell>.topbar .top-actions{flex:0 1 auto;margin-left:auto;min-width:0;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.shell>.topbar .ghost,.shell>.topbar .user-badge,.shell>.topbar .usage{color:#e2e5e7}
.dn-chat-head{background:#1b7050;color:#e2e5e7;min-height:50px;padding:8px;gap:8px}
.dn-chat-heading-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
.dn-chat-head .dn-chat-heading-line>strong{flex:none;color:#e2e5e7}
.dn-chat-head .dn-current-device{font-size:12px}
.dn-chat-head>div{min-width:0}
.dn-chat-head>div>small{color:#d9dde0}
@media(max-width:620px){.shell>.topbar{gap:5px 8px;padding:5px 10px;min-height:44px}.shell>.topbar>.dn-brand-heading{flex:1 1 180px}.shell>.topbar .top-actions{justify-content:flex-end}.shell>.topbar .paper-brand-image{width:30px;height:30px}.shell>.topbar h1{font-size:25px}}
.dn-device-row>button{padding:4px 7px!important;min-height:27px!important;font-size:11px!important;width:auto!important}
.dn-device-name-dialog{max-width:420px;background:#eaf2f8}
.dn-device-name-dialog label{display:grid;gap:6px;margin:12px 0}
.dn-device-name-dialog input,.dn-device-name-dialog select{width:100%;min-width:0}
.dn-device-settings [hidden],.dn-device-name-dialog [hidden]{display:none!important}
body #noteSettingsDialog dialog.dn-device-settings.desktop-settings-embedded[open]{grid-template-columns:1fr;gap:0}
