.nn-pilot{font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171717}.nn-pilot *{box-sizing:border-box}.nn-pilot button,.nn-pilot .nn-button{font:inherit;border:1px solid #ddd;background:#fff;border-radius:9px;padding:9px 13px;color:#171717;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px}.nn-pilot button:hover,.nn-pilot .nn-button:hover{border-color:#111}.nn-pilot button:disabled{opacity:.5;cursor:wait}.nn-pilot .primary{background:#111;color:#fff;border-color:#111}.nn-pilot .danger{color:#b41e31}.nn-pilot input:not([type=checkbox]),.nn-pilot textarea,.nn-pilot select{font:inherit;border:1px solid #ccc;border-radius:8px;padding:10px;width:100%;background:#fff;color:#171717}.nn-pilot label{display:grid;gap:5px;margin:12px 0}.nn-pilot .check{display:flex;align-items:flex-start;gap:9px}.nn-pilot .check input{margin-top:5px}.nn-pilot a{color:inherit}.nn-pilot h1{font-size:30px;line-height:1.2}.nn-pilot h2{font-size:21px;line-height:1.3}.nn-pilot h3{font-size:16px}.nn-pilot p{margin:8px 0 16px}.nn-pilot small,.nn-pilot .muted{color:#626262}.nn-pilot [role=status]{margin:12px 0;white-space:pre-line}.nn-pilot .nn-actions{display:flex;gap:8px;flex-wrap:wrap}.nn-pilot .nn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.nn-pilot .nn-card{padding:18px;border:1px solid #dedede;border-radius:12px;background:#fff;min-width:0}.nn-pilot .nn-card p{font-size:14px}.nn-pilot .nn-row{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}.nn-pilot .nn-row>div:first-child{min-width:0;overflow-wrap:anywhere}.nn-pilot progress{width:100%;accent-color:#111}.nn-account{max-width:940px;margin:40px auto;padding:0 20px}.nn-account .nn-login{max-width:420px;margin:45px auto}.nn-pilot-dialog{padding:0;border:1px solid #ddd;border-radius:16px;width:min(900px,calc(100vw - 28px));max-height:90dvh;background:#fff;box-shadow:0 20px 80px #0004;overflow:auto}.nn-pilot-dialog::backdrop{background:#0008}.nn-pilot-dialog>header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#fff;border-bottom:1px solid #ddd;z-index:2}.nn-pilot-dialog>header h2{margin:0}.nn-pilot-dialog>.nn-body{padding:20px}.nn-pilot-dialog video{width:100%;max-height:55vh;border-radius:9px;background:#111}.nn-pilot .nn-help-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.nn-pilot .nn-topics{display:grid;gap:6px;align-content:start}.nn-pilot .nn-topics button{text-align:left;justify-content:flex-start}.nn-pilot .nn-topics button[aria-current=true]{background:#111;color:white}.nn-pilot .nn-steps{padding-left:22px}.nn-pilot .nn-steps li{margin:12px 0}.nn-pilot .nn-badge{font-size:12px;border:1px solid #ccc;border-radius:30px;padding:2px 8px}.nn-pilot-tools{display:flex;gap:5px;align-items:center;margin-left:8px}.nn-pilot-tools button{font:500 13px system-ui;border:1px solid #ffffff55;background:transparent;color:inherit;border-radius:6px;min-width:30px;min-height:28px;cursor:pointer}.nn-pilot .nn-tour-stage{border:1px solid #ddd;border-radius:10px;padding:20px;margin:14px 0}.nn-pilot :focus-visible{outline:3px solid #777;outline-offset:3px}.nn-pilot [hidden]{display:none!important}@media(max-width:640px){.nn-pilot .nn-help-layout{grid-template-columns:1fr}.nn-pilot .nn-topics{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px;overflow:auto}.nn-pilot .nn-row{flex-wrap:wrap}.nn-pilot-tools [data-cloud-label]{display:none}.nn-account{margin-top:20px}.nn-pilot-dialog>.nn-body{padding:14px}}@media print{.nn-pilot-tools,.nn-pilot-dialog{display:none!important}}

.nn-save-notice{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);width:min(680px,calc(100vw - 28px));z-index:10000;padding:14px;background:#fff;border:2px solid #b41e31;border-radius:10px;box-shadow:0 6px 28px #0003;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.nn-save-notice[hidden]{display:none}.nn-save-notice span{flex:1 1 240px}.nn-pilot-tools [data-save-error]{color:#ffb6bc;border-color:currentColor}

.nn-account{background:#fff;border:1px solid #ddd;border-radius:18px;padding:28px;color:#171717}.nn-account h1,.nn-account h2,.nn-account h3,.nn-account label{color:#171717}.nn-account p,.nn-account small{color:#555}.nn-account .nn-login{margin:20px auto}.nn-account .nn-login h1{margin-top:0}.nn-account .primary{background:#8f2032;border-color:#8f2032;color:#fff}@media(max-width:640px){.nn-account{margin:20px 12px;padding:20px 16px}}

.nn-pilot .check input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;accent-color:#8f2032}.nn-pilot .check span{flex:1;min-width:0}

/* The black return bar carries navigation and help; project controls stay by the tool name. */
.hub-returnbar>.nn-return-actions{display:flex;align-items:center;gap:10px;margin-left:auto;color:#eee;font:500 11px/1.2 system-ui,-apple-system,sans-serif;white-space:nowrap}
.hub-returnbar .nn-header-help{display:grid;place-items:center;width:24px;height:24px;min-width:24px;border:1px solid #ffffff77;border-radius:50%;background:transparent;color:#fff;font:700 13px/1 system-ui;cursor:pointer}
.hub-returnbar .nn-header-help:hover,.hub-returnbar .nn-header-help:focus-visible{background:#fff;color:#202020}
.topbar .brand:has(.nn-pilot-tools),.side-brand:has(.nn-pilot-tools){display:flex;align-items:center;gap:8px}
.topbar .brand:has(.nn-pilot-tools){padding-right:6px}
.topbar .brand:has(.nn-pilot-tools) strong{font-size:17px;white-space:nowrap}
.topbar .brand .nn-pilot-tools,.side-brand .nn-pilot-tools{margin-left:auto;flex-shrink:0}
.topbar .brand .nn-pilot-tools [data-cloud-label],.side-brand .nn-pilot-tools [data-cloud-label]{display:none}
.topbar .brand .nn-pilot-tools button,.side-brand .nn-pilot-tools button{border-color:#d7d7d7;background:#fff;color:#252525;padding:3px 7px;font-size:11px;min-height:28px}
@media(max-width:640px){.hub-returnbar>.nn-return-actions{gap:6px;font-size:10px}.hub-returnbar>.nn-return-actions .hub-tool-name{display:block}.topbar .brand:has(.nn-pilot-tools) strong{font-size:14px}.topbar .brand .nn-pilot-tools button,.side-brand .nn-pilot-tools button{min-width:28px;padding:3px 5px}}

.nn-analytics{margin:30px 0;padding:22px;border:1px solid #ddd;border-radius:16px;background:#fafafa}.nn-analytics>.nn-row:first-child{align-items:flex-start}.nn-analytics h2{margin:0 0 4px}.nn-segmented{display:flex;gap:4px;padding:3px;border:1px solid #ddd;border-radius:10px;background:#fff}.nn-segmented button{min-height:34px;padding:5px 9px;border:0}.nn-segmented button[aria-pressed=true]{background:#8f2032;color:#fff}.nn-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.nn-stat-grid article{display:grid;gap:2px;padding:16px;border-radius:12px;background:#fff;border:1px solid #e3e3e3}.nn-stat-grid strong{font-size:28px;line-height:1}.nn-stat-grid span{font-size:13px;color:#666}.nn-chart{display:flex;align-items:end;gap:5px;height:150px;padding:12px 4px 0;border-bottom:1px solid #ccc;overflow:hidden}.nn-chart>div{display:flex;flex:1;min-width:4px;height:100%;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.nn-chart span{width:min(18px,90%);min-height:4px;border-radius:4px 4px 0 0;background:#8f2032}.nn-chart small{font-size:10px;white-space:nowrap}.nn-page-list{margin-bottom:18px}.nn-page-list .nn-row>span{font-size:13px;white-space:nowrap;color:#555}@media(max-width:640px){.nn-analytics{padding:16px}.nn-analytics>.nn-row:first-child{display:block}.nn-segmented{margin-top:12px}.nn-stat-grid{grid-template-columns:1fr}.nn-chart small{display:none}.nn-page-list .nn-row>span{white-space:normal}}
.nn-inbox{margin:28px 0;padding:22px;border:1px solid #444;border-radius:14px;background:#111;color:#f5f5f5;scroll-margin-top:100px}.nn-inbox h2,.nn-inbox h3,.nn-inbox p,.nn-inbox label{color:inherit}.nn-inbox a{color:#fff}.nn-inbox small{color:#bbb}.nn-inbox .nn-actions{flex-wrap:wrap}.nn-notice{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #444;padding:18px 10px;overflow-wrap:anywhere}.nn-notice h3{font-size:1rem;margin:6px 0}.nn-notice.is-unread{border-left:3px solid #8f2032;background:#201216}.nn-inbox [data-unread]{font-size:.8rem;color:#ddd}.nn-inbox textarea{width:100%;margin:10px 0}.nn-message{white-space:pre-wrap}.nn-inbox button{background:#8f2032;color:#fff;border-color:#8f2032}.nn-inbox button:disabled{opacity:.5}.nn-inbox label.check{align-items:flex-start}.nn-inbox button[aria-pressed=true]{outline:2px solid #fff}@media(max-width:640px){.nn-inbox{padding:16px}.nn-notice{display:block}.nn-notice button{margin-top:10px}.nn-inbox>.nn-row{flex-wrap:wrap}}
