#notes-view{--n-primary:#0b7ff0;--n-primary-dark:#075faf;--n-title:#0e2166;--n-text:#1f2a44;--n-muted:#667085;--n-border:#dfe6f0;--n-soft:#f8fafc;--n-danger:#c81e1e;--n-success:#087a55;width:calc(100% - clamp(24px,4vw,64px));max-width:1680px;margin:0 auto;padding:4px 0 32px;color:var(--n-text)}
#notes-view,#notes-view *{box-sizing:border-box}#notes-view [hidden],#notes-logout-dialog[hidden]{display:none!important}#notes-view .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#notes-view button,#notes-view input,#notes-view select{font:inherit}#notes-view button{min-height:44px;border-radius:10px;cursor:pointer;transition:.16s ease}#notes-view button:disabled,#notes-view input:disabled,#notes-view select:disabled{cursor:not-allowed;opacity:.55}#notes-view :is(button,input,select):focus-visible{outline:0;box-shadow:0 0 0 3px rgb(11 127 240/.2)}
#notes-view .notes-shell{padding:clamp(16px,2vw,28px);border:1px solid var(--n-border);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgb(25 48 93/.08)}
#notes-view .notes-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;padding:22px 24px;border:1px solid #d4e5f8;border-radius:16px;background:linear-gradient(120deg,#fff,#f8fbff 55%,#eaf4ff)}#notes-view .notes-hero:after{position:absolute;right:-54px;top:-78px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgb(11 127 240/.14),transparent 68%);content:"";pointer-events:none}#notes-view .notes-hero__copy,#notes-view .notes-hero__actions{position:relative;z-index:1}#notes-view .notes-eyebrow{margin:0 0 5px;color:var(--n-primary);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}#notes-view .notes-hero h1{margin:0;color:var(--n-title);font-size:clamp(28px,2.4vw,38px);font-weight:700;line-height:1.12;letter-spacing:-.025em}#notes-view .notes-hero__subtitle{max-width:720px;margin:8px 0 0;color:#475467;line-height:1.5}#notes-view .notes-hero__actions,#notes-view .notes-editor__header-actions,#notes-view .notes-editor__secondary-actions,#notes-view .notes-editor__primary-actions,#notes-view .notes-inline-dialog__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#notes-view .notes-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:1px solid transparent;background:#fff;color:var(--n-title);font-weight:600;line-height:1.2;box-shadow:0 1px 2px rgb(16 36 74/.05)}#notes-view .notes-btn svg,#notes-view .notes-icon-btn svg,#notes-view .notes-tool svg,#notes-view .notes-card__action svg,#notes-view .notes-search__icon svg,#notes-view .notes-tag-filter__summary svg,#notes-view .notes-select-control__chevron svg,#notes-view .notes-filter-chip svg,#notes-view .notes-tag-chip button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#notes-view .notes-btn--primary{border-color:var(--n-primary);background:var(--n-primary);color:#fff;box-shadow:0 6px 15px rgb(11 127 240/.18)}#notes-view .notes-btn--primary:hover:not(:disabled){border-color:#096fd2;background:#096fd2;transform:translateY(-1px)}#notes-view .notes-btn--secondary{border-color:#c9d4e3;background:#fff}#notes-view .notes-btn--secondary:hover:not(:disabled){border-color:#9fb0c8;background:#f7f9fc}#notes-view .notes-btn--danger{border-color:var(--n-danger);background:var(--n-danger);color:#fff}#notes-view .notes-btn--danger-ghost{border-color:#f2b8b8;background:#fff1f1;color:var(--n-danger)}#notes-view .notes-btn--restore{border-color:#a7ddc9;background:#ecfdf3;color:var(--n-success)}#notes-view .notes-btn--icon,#notes-view .notes-icon-btn{width:44px;min-width:44px;padding:0}
#notes-view .notes-workspace{margin-top:14px;padding:14px;border:1px solid var(--n-border);border-radius:16px;background:#fff}#notes-view .notes-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}#notes-view .notes-tabs{display:inline-flex;min-width:0;padding:4px;border:1px solid var(--n-border);border-radius:12px;background:var(--n-soft)}#notes-view .notes-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border:0;background:transparent;color:#475467;font-weight:600;box-shadow:none}#notes-view .notes-tab:hover:not(:disabled){background:#eef3f8;color:var(--n-title)}#notes-view .notes-tab.is-active{background:#fff;color:var(--n-title);box-shadow:0 1px 5px rgb(16 36 74/.1)}#notes-view .notes-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#eaf2ff;color:#095aa9;font-size:12px;font-weight:700}
#notes-view .notes-querybar{position:relative;z-index:5;display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,230px) minmax(160px,210px);gap:10px;margin-top:12px;padding:11px;border:1px solid var(--n-border);border-radius:14px;background:var(--n-soft)}#notes-view .notes-search{position:relative;display:flex;align-items:center;min-width:0}#notes-view .notes-search__icon{position:absolute;left:13px;display:inline-flex;color:#667085;pointer-events:none}#notes-view .notes-search input,#notes-view .notes-field input,#notes-view .notes-field select,#notes-view .notes-tag-filter__summary,#notes-view .notes-tool-select select,#notes-view .notes-color-tool input{width:100%;min-height:44px;border:1px solid #c9d4e3;border-radius:10px;background:#fff;color:var(--n-text)}#notes-view .notes-search input{padding:10px 13px 10px 42px}#notes-view .notes-field{display:grid;gap:6px;color:#475467;font-size:13px;font-weight:600}#notes-view .notes-field input{padding:10px 12px}#notes-view .notes-field--compact>.notes-field__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#notes-view .notes-select-control{position:relative;display:flex;align-items:center;min-width:0}#notes-view .notes-select-control select{height:44px;padding:10px 42px 10px 12px;appearance:none;-webkit-appearance:none;background-image:none;font-size:13px;font-weight:600;line-height:1.2}#notes-view .notes-select-control__chevron{position:absolute;right:12px;display:inline-flex;align-items:center;justify-content:center;color:#475467;pointer-events:none}#notes-view .notes-field--title input{min-height:50px;font-size:20px;font-weight:650;color:var(--n-title)}#notes-view .notes-field small{font-weight:400;color:#667085}#notes-view .notes-field small[data-tone=error],#notes-view .notes-dialog-error{color:var(--n-danger)}#notes-view .notes-field input[aria-invalid=true]{border-color:#e36b6b;background:#fff8f8}
#notes-view .notes-tag-filter{position:relative}#notes-view .notes-tag-filter__summary{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;padding:10px 12px;list-style:none;cursor:pointer;font-size:13px;font-weight:600;line-height:1.2}#notes-view .notes-tag-filter__summary::-webkit-details-marker{display:none}#notes-view .notes-tag-filter__panel{position:absolute;top:calc(100% + 8px);right:0;width:min(320px,80vw);max-height:340px;overflow:auto;padding:10px;border:1px solid #c9d4e3;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgb(19 39 78/.18)}#notes-view .notes-tag-option{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#344054;cursor:pointer}#notes-view .notes-tag-option:hover{background:#f2f7fc}#notes-view .notes-tag-option input{width:17px;height:17px;accent-color:var(--n-primary)}#notes-view .notes-filter-chips,#notes-view .notes-tags-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}#notes-view .notes-filter-chip,#notes-view .notes-tag-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid #c9dcf7;border-radius:999px;background:#f1f7ff;color:#185b9d;font-size:12px;font-weight:600}#notes-view .notes-filter-chip{cursor:pointer}#notes-view .notes-filter-chip svg,#notes-view .notes-tag-chip button svg{width:14px;height:14px}#notes-view .notes-tag-chip button{display:inline-grid;place-items:center;width:22px;min-height:22px;padding:0;border:0;background:transparent;color:inherit}
#notes-view .notes-state{min-height:22px;margin:10px 2px 0;color:#667085;font-size:13px}#notes-view .notes-state[data-tone=error]{color:var(--n-danger)}#notes-view .notes-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px;margin-top:4px}#notes-view .notes-card{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:210px;border:1px solid var(--n-border);border-radius:16px;background:#fff;box-shadow:0 2px 8px rgb(16 36 74/.05);transition:.16s ease}#notes-view .notes-card:hover,#notes-view .notes-card.is-selected{border-color:#9cc6f3;box-shadow:0 10px 28px rgb(25 48 93/.11);transform:translateY(-1px)}#notes-view .notes-card__main{min-width:0;padding:17px;border:0;background:transparent;text-align:left;box-shadow:none}#notes-view .notes-card__title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}#notes-view .notes-card h2{margin:0;color:var(--n-title);font-size:17px;line-height:1.35;overflow-wrap:anywhere}#notes-view .notes-card__preview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;min-height:66px;margin:10px 0;color:#5d6677;font-size:14px;line-height:1.55}#notes-view .notes-card__tags{display:flex;gap:6px;flex-wrap:wrap;min-height:30px}#notes-view .notes-card__meta{display:flex;justify-content:space-between;gap:8px;margin-top:12px;color:#7a8495;font-size:12px}#notes-view .notes-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#fff1f1;color:var(--n-danger);font-size:11px;font-weight:700}#notes-view .notes-card__actions{display:flex;flex-direction:column;gap:7px;padding:12px 10px;border-left:1px solid #edf0f5;background:#fbfcfe;border-radius:0 16px 16px 0}#notes-view .notes-card__action{display:inline-grid;place-items:center;width:38px;min-height:38px;padding:0;border:1px solid #d7dee9;background:#fff;color:#475467}#notes-view .notes-card__action:hover{border-color:#9fb0c8;color:var(--n-title)}#notes-view .notes-card__action--danger{color:var(--n-danger)}#notes-view .notes-card__action--restore{color:var(--n-success)}#notes-view .notes-card--skeleton{display:block;padding:18px;pointer-events:none}#notes-view .notes-card--skeleton span{display:block;height:14px;margin-bottom:13px;border-radius:8px;background:linear-gradient(90deg,#edf1f6 25%,#f8fafc 50%,#edf1f6 75%);background-size:200% 100%;animation:notes-shimmer 1.25s infinite}#notes-view .notes-card--skeleton span:first-child{width:65%;height:20px}#notes-view .notes-card--skeleton span:last-child{width:45%}@keyframes notes-shimmer{to{background-position:-200% 0}}#notes-view .notes-empty-state,#notes-view .notes-error-state{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:52px 22px;border:1px dashed #c9d4e3;border-radius:16px;background:#fbfcfe;text-align:center}#notes-view .notes-empty-state>svg,#notes-view .notes-error-state>svg{width:42px;height:42px;color:#6ca7df}#notes-view .notes-empty-state h2,#notes-view .notes-error-state h2{margin:5px 0 0;color:var(--n-title);font-size:20px}#notes-view .notes-empty-state p,#notes-view .notes-error-state p{max-width:560px;margin:0 0 8px;color:#667085}#notes-view .notes-pagination{display:flex;justify-content:center;margin-top:14px}
body.notes-editor-open{overflow:hidden}#notes-view .notes-editor{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}#notes-view .notes-editor__backdrop{position:absolute;inset:0;background:rgba(15,33,67,.42);backdrop-filter:blur(2px)}#notes-view .notes-editor__panel{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1120px,100%);height:min(820px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);margin:0;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:#fff;box-shadow:0 26px 70px rgba(14,33,102,.28);overflow:hidden}#notes-view .notes-editor__header,#notes-view .notes-editor__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;background:#fff}#notes-view .notes-editor__header{border-bottom:1px solid #e6ebf2}#notes-view .notes-editor__footer{border-top:1px solid #e6ebf2}#notes-view .notes-editor__header h2{margin:0;color:var(--n-title);font-size:22px}#notes-view .notes-save-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#f1f5f9;color:#475467;font-size:12px;font-weight:700}#notes-view .notes-save-status:before{width:8px;height:8px;border-radius:50%;background:#7a8495;content:""}#notes-view .notes-save-status[data-state=saved]{background:#ecfdf3;color:var(--n-success)}#notes-view .notes-save-status[data-state=saved]:before{background:#12a16f}#notes-view .notes-save-status[data-state=dirty],#notes-view .notes-save-status[data-state=saving]{background:#fff7dd;color:#8a5b00}#notes-view .notes-save-status[data-state=error],#notes-view .notes-save-status[data-state=conflict]{background:#fff1f1;color:var(--n-danger)}#notes-view .notes-editor__body{display:flex;flex:1;min-height:0;flex-direction:column;gap:12px;overflow:auto;padding:18px 20px;background:#f8fafc}
#notes-view .notes-toolbar{display:flex;gap:7px;align-items:center;overflow-x:auto;padding:8px;border:1px solid #d9e1ec;border-radius:12px;background:#fff}#notes-view .notes-toolbar__group{display:inline-flex;align-items:center;gap:4px;padding-right:7px;border-right:1px solid #e6ebf2}#notes-view .notes-toolbar__group:last-child{padding-right:0;border-right:0}#notes-view .notes-tool{display:inline-grid;place-items:center;width:38px;min-width:38px;min-height:38px;padding:0;border:1px solid transparent;background:transparent;color:#344054}#notes-view .notes-tool:hover:not(:disabled),#notes-view .notes-tool.is-active{border-color:#c9dcf7;background:#edf6ff;color:#075faf}#notes-view .notes-tool-select{display:inline-flex}#notes-view .notes-tool-select select{min-height:38px;padding:7px 28px 7px 9px;border-radius:8px;font-size:12px}#notes-view .notes-tool-select--font select{width:108px}#notes-view .notes-color-tool{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid transparent;border-radius:8px}#notes-view .notes-color-tool:hover{background:#edf6ff}#notes-view .notes-color-tool input{width:26px;min-height:26px;padding:2px;border:0;background:transparent;cursor:pointer}#notes-view .notes-frame-wrap{position:relative;display:flex;flex:1;min-height:430px;border:1px solid #d9e1ec;border-radius:14px;background:#fff;overflow:hidden}#notes-view .notes-frame-wrap iframe{width:100%;min-height:430px;border:0;background:#fff}#notes-view .notes-readonly-banner{position:absolute;left:14px;right:14px;top:14px;z-index:2;padding:10px 13px;border:1px solid #efd29b;border-radius:10px;background:#fff7dd;color:#7a4d00;font-size:13px;font-weight:600}#notes-view .notes-tags-editor{padding:13px;border:1px solid #d9e1ec;border-radius:12px;background:#fff}#notes-view .notes-tags-editor__heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;color:#344054;font-weight:650}#notes-view .notes-tags-editor__heading small{color:#7a8495;font-weight:400}#notes-view .notes-tags-editor>input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #c9d4e3;border-radius:10px}#notes-view .notes-meta-row{display:flex;justify-content:space-between;gap:10px;color:#667085;font-size:12px}#notes-view .notes-conflict{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #e8a3a3;border-radius:12px;background:#fff4f4;color:#782323}#notes-view .notes-conflict p{margin:4px 0 0}#notes-view .notes-conflict__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffe1e1}#notes-view .notes-conflict__actions{display:flex;gap:8px;flex-wrap:wrap}
#notes-view .notes-inline-dialog{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:20px;background:rgb(10 22 47/.45)}#notes-view .notes-inline-dialog__card{width:min(500px,100%);padding:22px;border:1px solid #d7dee9;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgb(10 22 47/.25)}#notes-view .notes-inline-dialog h3{margin:0;color:var(--n-title)}#notes-view .notes-inline-dialog p{color:#5d6677;line-height:1.5}#notes-view .notes-inline-dialog__actions{justify-content:flex-end;margin-top:16px}#notes-view .notes-dialog-error{min-height:20px;margin:7px 0 0;font-size:13px}
#notes-logout-dialog{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:20px;background:rgb(10 22 47/.55)}#notes-logout-dialog>div,#notes-logout-dialog>section{width:min(520px,100%);padding:24px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgb(10 22 47/.25)}
@media(max-width:900px){#notes-view{width:calc(100% - 24px)}#notes-view .notes-querybar{grid-template-columns:1fr 1fr}#notes-view .notes-search{grid-column:1/-1}#notes-view .notes-conflict{grid-template-columns:auto 1fr}#notes-view .notes-conflict__actions{grid-column:1/-1}}
@media(max-width:640px){#notes-view .notes-editor{padding:0}#notes-view{width:100%;padding:0 0 20px}#notes-view .notes-shell{padding:12px;border-radius:14px}#notes-view .notes-hero{align-items:flex-start;flex-direction:column;padding:18px}#notes-view .notes-hero__actions{width:100%}#notes-view .notes-hero__actions .notes-btn--primary{flex:1}#notes-view .notes-controls{align-items:stretch;flex-direction:column}#notes-view .notes-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}#notes-view .notes-tab{padding:8px 6px;font-size:13px}#notes-view .notes-querybar{grid-template-columns:1fr}#notes-view .notes-search{grid-column:auto}#notes-view .notes-list{grid-template-columns:1fr}#notes-view .notes-card{min-height:195px}#notes-view .notes-editor__panel{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}#notes-view .notes-editor__header,#notes-view .notes-editor__footer{padding:12px}#notes-view .notes-editor__body{padding:12px}#notes-view .notes-editor__header{align-items:flex-start}#notes-view .notes-save-status{max-width:150px}#notes-view .notes-frame-wrap,#notes-view .notes-frame-wrap iframe{min-height:360px}#notes-view .notes-meta-row{flex-direction:column}#notes-view .notes-editor__primary-actions .notes-btn,#notes-view .notes-editor__secondary-actions .notes-btn{flex:1}#notes-view .notes-conflict{grid-template-columns:1fr}#notes-view .notes-conflict__icon{display:none}}
@media(prefers-reduced-motion:reduce){#notes-view *,#notes-view *:before,#notes-view *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
