*{box-sizing:border-box}body{margin:0;font-family:Arial,system-ui,sans-serif;font-size:14px;color:var(--ink);background:var(--paper)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:4px}[hidden]{display:none!important}.workspace{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;padding:37px 20px 22px;border-right:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;z-index:5}.brand{display:block;margin:0 14px 48px}.brand img{width:137px;max-height:40px}.compact-brand{display:none}.space-label{font-size:9px;letter-spacing:1.7px;color:var(--muted);padding:0 14px;margin-bottom:17px}.nav-item{border:0;background:none;display:flex;align-items:center;gap:13px;width:100%;padding:12px 14px;text-decoration:none;color:var(--muted);border-radius:3px;text-align:left;margin-bottom:4px;min-height:43px}.nav-item:hover{background:var(--wash);color:var(--ink)}.nav-item.active{background:var(--wash);color:var(--ink)}.nav-item svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.4}.nav-count{margin-left:auto;font-size:11px;color:var(--muted)}.sidebar-bottom{margin-top:auto;padding-top:30px}.theme-icon{font-size:21px;line-height:18px;width:18px}.back-home{display:block;font-size:11px;color:var(--muted);text-decoration:none;padding:20px 14px 0}.main-shell{width:calc(100% - 222px);margin-left:222px;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px}.breadcrumb{color:var(--muted)}.breadcrumb>span:first-child{padding:0 12px;color:var(--line)}.breadcrumb>span:last-child{color:var(--ink)}.storage-badge{font-size:10px;color:var(--muted);white-space:nowrap;display:flex;gap:7px;align-items:center}.storage-badge i{width:5px;height:5px;border-radius:50%;background:currentColor}main{padding:52px 46px 70px;max-width:1330px;margin:auto}.eyebrow{font-size:9px;font-weight:normal;letter-spacing:1.9px;color:var(--muted);text-transform:uppercase;margin:0 0 17px}h1{font-weight:400;font-size:39px;letter-spacing:-1.6px;line-height:1.1;margin:0 0 15px}h2{font-size:20px;letter-spacing:-.5px;font-weight:400;margin:0}p{line-height:1.65}.intro{font-size:13px;color:var(--muted);margin:0;max-width:480px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:32px}.heading-copy{min-width:0}.heading-mark{width:42px;height:42px;margin:1px 2px 0 0}.heading-mark img{width:100%;height:100%}.overview{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin:33px 0 42px}.overview button{border:0;border-right:1px solid var(--line);background:none;text-align:left;padding:22px 19px;color:var(--ink)}.overview button:last-child{border-right:0}.overview button:hover{background:var(--wash)}.overview .stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.overview svg{width:18px;height:18px}.overview strong{font-size:27px;font-weight:400;display:block;margin-top:16px;letter-spacing:-1px}.overview span{font-size:11px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-label h2{font-size:16px}.small-label{font-size:10px;color:var(--muted)}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:0 12px;min-height:41px;flex:1;max-width:440px}.search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}.search input{border:0;background:transparent;color:var(--ink);width:100%;outline:none;padding:11px 0;font-size:12px;min-width:0}.search:focus-within{outline:1px solid var(--ink)}.new-controls{display:flex;margin-left:auto;gap:7px}.new-controls select{max-width:120px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font-size:11px;padding:0 8px}.button{background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:11px 15px;font-size:11px;line-height:1.5;text-decoration:none;display:inline-flex;justify-content:center;gap:7px;align-items:center;white-space:nowrap}.button svg{width:13px;height:13px}.button:hover{opacity:.78}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.button.danger{background:transparent;color:#b3312c;border-color:var(--line)}.items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.item-card{min-width:0;border:1px solid var(--line);padding:21px 21px 15px;display:flex;flex-direction:column;min-height:177px}.item-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.item-type{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);display:flex;gap:7px;align-items:center}.item-type svg{height:13px;width:13px}.item-date{font-size:9px;color:var(--muted)}.item-card h3{font-size:16px;font-weight:400;margin:0 0 9px;letter-spacing:-.3px;overflow-wrap:anywhere}.item-card .preview{font-size:12px;color:var(--muted);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.item-card .meta{font-size:11px;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}.item-actions{display:flex;align-items:center;gap:15px;margin-top:auto;padding-top:11px;border-top:1px solid var(--line)}.text-button{border:0;background:none;color:var(--muted);font-size:10px;padding:4px 0;text-decoration:none}.text-button:hover{color:var(--ink);text-decoration:underline}.item-actions .remove{margin-left:auto}.empty{grid-column:1/-1;padding:50px 25px;border:1px dashed var(--line);text-align:center}.empty svg{width:30px;height:30px;color:var(--muted);margin-bottom:17px}.empty h2{font-size:21px;margin-bottom:10px}.empty p{font-size:12px;color:var(--muted);margin:0 auto 20px;max-width:330px}.local-note{display:flex;gap:9px;font-size:10px;color:var(--muted);margin-top:28px;line-height:1.7}.local-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.demo-banner{padding:11px 46px;border-bottom:1px solid var(--line);background:var(--wash);font-size:10px;display:flex;justify-content:space-between;gap:15px;color:var(--muted)}.demo-banner a{color:var(--ink);text-decoration:none}.error-banner{margin:18px 46px 0;padding:14px;border:1px solid #b3312c;color:#b3312c;font-size:12px;line-height:1.6}.notice{position:fixed;bottom:24px;right:24px;padding:12px 18px;background:var(--ink);color:var(--paper);font-size:12px;max-width:min(400px,90vw);z-index:30;opacity:0;pointer-events:none;transition:opacity .15s}.notice.visible{opacity:1}.settings-stack{max-width:700px}.settings-panel{border:1px solid var(--line);padding:27px;margin-bottom:19px}.settings-panel h2{font-size:18px;margin-bottom:12px}.settings-panel p{font-size:12px;color:var(--muted);margin:0 0 20px}.settings-panel .buttons{display:flex;gap:10px;flex-wrap:wrap}.setting-status{font-size:12px;line-height:1.7;min-height:20px;margin:18px 0 0!important;color:var(--ink)!important}.setting-status.error{color:#b3312c!important}.storage-detail{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:11px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:29px;width:min(560px,calc(100vw - 32px));max-height:90dvh;border-radius:0;box-shadow:0 20px 100px #0002}dialog::backdrop{background:#0005;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.icon-button{border:0;background:none;color:var(--ink);font-size:25px;padding:0 4px;line-height:1}.field{display:block;margin-bottom:18px}.field>span{display:block;font-size:11px;margin-bottom:8px;color:var(--muted)}.field input,.field textarea{width:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:12px;font-size:13px;border-radius:0}.field textarea{resize:vertical;min-height:150px;line-height:1.65}.field input[type=file]{font-size:11px}.field small{font-size:10px;color:var(--muted);display:block;margin-top:7px;line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-error{color:#b3312c;font-size:12px;margin:0}.loading{color:var(--muted);font-size:13px}.file-existing{font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.dark .brand img,.dark .compact-brand img,.dark .heading-mark img{filter:invert(1)}
@media(min-width:1400px){main{padding-top:65px}.items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{width:180px;padding-inline:12px}.brand img{width:125px}.main-shell{margin-left:180px;width:calc(100% - 180px)}main{padding:36px 28px 50px}.topbar{padding-inline:28px}.demo-banner{padding-inline:28px}.overview button{padding:17px 12px}.items{grid-template-columns:1fr}h1{font-size:34px}.error-banner{margin-inline:28px}}
@media(max-width:640px){.sidebar{width:62px;padding:23px 8px 15px;align-items:center}.brand,.space-label,.nav-label,.nav-count,.back-home{display:none}.compact-brand{display:block;margin:0 0 34px}.compact-brand img{width:27px;height:27px}.sidebar nav,.sidebar-bottom{width:100%}.nav-item{padding:12px 14px;justify-content:center;margin-bottom:8px}.nav-item svg{width:18px;height:18px}.sidebar-bottom{padding-top:24px}.main-shell{margin-left:62px;width:calc(100% - 62px)}.topbar{height:62px;padding-inline:22px}.storage-badge{font-size:9px}.breadcrumb{font-size:10px}.breadcrumb>span:first-child{padding-inline:7px}main{padding:31px 22px 45px}h1{font-size:30px;letter-spacing:-1px}.intro{font-size:12px}.heading-mark{width:32px;height:32px}.overview{grid-template-columns:repeat(2,1fr);margin:25px 0 29px}.overview button:nth-child(2){border-right:0}.overview button:nth-child(-n+2){border-bottom:1px solid var(--line)}.overview strong{font-size:24px;margin-top:12px}.overview button{padding:15px}.toolbar{flex-wrap:wrap;gap:10px}.search{max-width:none;flex-basis:100%}.new-controls{margin-left:0;width:100%}.new-controls select{flex:1;max-width:none}.new-controls .button{flex:1}.item-card{padding:18px 17px 13px;min-height:165px}.demo-banner{padding:10px 22px;flex-wrap:wrap;gap:4px;font-size:9px}.error-banner{margin-inline:22px}.settings-panel{padding:20px}.settings-panel .buttons{flex-direction:column;align-items:flex-start}.page-heading{margin-bottom:24px}.local-note{font-size:9px}.setting-status{overflow-wrap:anywhere}}
html.embedded .brand,html.embedded .back-home{display:none}html.embedded .compact-brand{display:block}html.embedded .compact-brand img{width:27px;height:27px}html.embedded .topbar{height:53px}html.embedded main{padding-top:25px}html.embedded .demo-banner a{display:none}html.embedded h1{font-size:29px}html.embedded .overview{margin-top:24px;margin-bottom:26px}html.embedded .heading-mark{display:none}
html.embedded .page-heading .eyebrow{display:none}html.embedded .page-heading{margin-bottom:20px}html.embedded h1{margin-bottom:10px}html.embedded .overview{grid-template-columns:repeat(4,1fr);margin:18px 0 24px}html.embedded .overview button{padding:14px 10px;border-bottom:0;border-right:1px solid var(--line)}html.embedded .overview button:last-child{border-right:0}html.embedded .overview .stat-top{display:none}html.embedded .overview strong{display:inline;font-size:20px;margin:0}html.embedded .overview button>span:last-child{margin-left:7px;font-size:10px}html.embedded .toolbar{flex-wrap:nowrap;gap:9px;margin-bottom:18px}html.embedded .search{flex-basis:auto}html.embedded .new-controls{width:auto;flex-shrink:0}html.embedded .new-controls select{display:none}html.embedded .new-controls .button{flex:none}html.embedded .section-label{margin-bottom:15px}
@media(max-width:400px){html.embedded .overview{grid-template-columns:repeat(2,1fr)}html.embedded .overview button:nth-child(2){border-right:0}html.embedded .overview button:nth-child(-n+2){border-bottom:1px solid var(--line)}html.embedded .breadcrumb{font-size:9px}html.embedded .storage-badge{display:none}}

/* Appearance belongs to the top bar at every width, including the live demo. */
.topbar-actions{display:flex;align-items:center;gap:18px;margin-left:auto;flex-shrink:0}.topbar-actions [data-theme-switch]{width:32px;height:32px}.topbar-actions [data-theme-switch] svg{width:16px;height:16px}
@media(max-width:640px){.topbar-actions{gap:12px}.topbar{gap:10px}.topbar-actions [data-theme-switch]{width:30px;height:30px}}
