:root{--accent:#234e46;--paper:#fffef9;--rule:#c3d8de;--ink:#23342f;--muted:#748079;--border:#e1e5df;--bg:#f4f5f1;--red:#d9a09b;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:2.5rem;letter-spacing:-1.2px;margin-bottom:10px}h2{font-size:1.65rem}p{line-height:1.65}.muted{color:var(--muted);font-size:.9375rem}.eyebrow{font-size:.6875rem;letter-spacing:2px;font-weight:700;display:block;margin-bottom:12px;color:var(--accent)}.button{border:1px solid #dce1d9;border-radius:6px;background:#fff;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:.875rem;font-weight:600;min-height:44px;color:var(--ink)}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button:hover{filter:brightness(.95)}.button.small{padding:8px 12px;min-height:38px}.destructive{background:#a13e35;color:white;border:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;padding:7px;color:var(--muted);border-radius:5px}.text-button{padding:6px 0;display:inline-flex;gap:5px;align-items:center;border:0;background:transparent;color:var(--accent);font-size:.8125rem;font-weight:600}.danger{color:#a0443a}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:1.375rem;letter-spacing:-.4px}.brand-symbol{background:var(--accent);color:#fff;width:34px;height:38px;border-radius:5px;display:grid;place-items:center}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;background:#fcfcf9;border-right:1px solid var(--border);padding:30px 22px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.property-badge{margin:34px 0 32px;display:flex;align-items:center;gap:10px;padding-bottom:24px;border-bottom:1px solid var(--border)}.property-badge strong{font-size:.8125rem;display:block;line-height:1.4;overflow-wrap:anywhere}.property-badge small{font-size:.5625rem;letter-spacing:1.2px;color:var(--muted);display:block;margin-top:5px}.property-monogram{background:#ecede4;min-width:33px;height:36px;display:grid;place-items:center;border-radius:5px;font-family:Georgia,serif}.nav-label{display:block;font-size:.625rem;letter-spacing:1.5px;color:#899089;margin-bottom:13px}nav .nav-label{margin:30px 12px 10px}nav a{display:flex;align-items:center;gap:10px;padding:12px;font-size:.8125rem;margin:4px -2px;border-radius:5px;color:#69746b}nav a.active{background:#e8eee7;color:var(--accent);font-weight:600}nav a:hover{background:#eef1eb}.sidebar-note{margin-top:auto;padding:35px 12px;color:#889087;font-family:Georgia,serif;font-style:italic;font-size:.875rem}.tiny-line{display:block;width:25px;border-top:2px solid #c7d1c2;margin-bottom:15px}.user-block{border-top:1px solid var(--border);padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:4px}.user-link{display:flex;align-items:center;gap:9px;min-width:0}.user-link strong{font-size:.75rem;display:block;overflow-wrap:anywhere}.user-link small{display:block;font-size:.6875rem;color:var(--muted);margin-top:4px}.avatar{width:34px;height:34px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:50%;background:#e6e8dc;color:#56644e;font-family:Georgia,serif}.avatar.mini{width:23px;height:23px;font-size:.6875rem}.workspace{min-width:0;flex:1}.topbar{height:77px;border-bottom:1px solid var(--border);padding:0 40px;display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#687469;background:#f9faf6}.breadcrumb{color:#91988e;margin-left:13px}.today{font-size:.6875rem}.main-content{padding:35px 40px 25px;max-width:1680px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading p{margin-bottom:0}.page-heading .eyebrow{font-size:.625rem;margin-bottom:10px}.logbook-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:27px}.filters{display:grid;gap:9px}.search-field{position:relative;display:flex;align-items:center}.search-field svg{position:absolute;left:12px;width:16px;color:#7c877c}.search-field input{padding-left:36px;font-size:.75rem;height:42px}.filter-row{display:flex;gap:7px}.filter-row label{min-width:0;flex:1}.filter-row select{font-size:.75rem;padding:9px;min-height:38px}.date-filter{display:flex;align-items:center;gap:10px;font-size:.75rem!important;color:var(--muted)}.date-filter input{padding:8px;font-size:.75rem;min-height:36px}.list-heading{display:flex;justify-content:space-between;font-size:.625rem;letter-spacing:1.3px;color:#808b80;margin:23px 0 11px}.page-cards{display:grid;gap:10px}.page-card{display:block;background:#fafbf8;border:1px solid var(--border);border-radius:7px;padding:17px;transition:border-color .15s}.page-card.selected{background:#eaf0e8;border-color:#aabda9;box-shadow:inset 3px 0 var(--accent)}.page-card:hover{border-color:#aabda9}.card-top{display:flex;justify-content:space-between;gap:6px;font-size:.6875rem;color:#7b857b}.page-card h3{font-size:.9375rem;line-height:1.4;font-weight:500;margin:12px 0 10px;overflow-wrap:anywhere}.card-meta{display:flex;align-items:center;gap:7px;font-size:.6875rem;color:#6a7568}.card-bottom{margin-top:15px;padding-top:11px;border-top:1px solid #dde3d8;display:flex;justify-content:space-between;font-size:.625rem;color:#85907e}.notebook-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:37px;margin-bottom:13px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:4px;background:#e6eee3;color:#536c4b;font-size:.625rem;padding:6px 8px;white-space:nowrap}.pill.readonly,.pill.inactive{background:#edece5;color:#77766b}.status-dot{background:currentColor;width:5px;height:5px;border-radius:50%}.toolbar-actions{display:flex;align-items:center;gap:13px}#save-status{font-size:.6875rem;color:var(--muted)}#save-status.failed{color:#a13e35;font-size:.8125rem}.notebook{background:var(--paper);border:1px solid #deded2;box-shadow:0 5px 16px #29392a08,3px 3px 0 -1px #fcfcf5,4px 4px 0 0 #dddfd3;position:relative}.paper-header{padding:29px 32px 0 116px;position:relative}.paper-header:before{content:'';position:absolute;top:0;bottom:0;left:93px;border-left:1px solid var(--red)}.paper-title{display:flex;justify-content:space-between;align-items:start;gap:10px}.paper-title .eyebrow{font-size:.5625rem;letter-spacing:1.7px;color:#92947c;margin-bottom:10px}.paper-title h2{font-size:1.65rem;letter-spacing:-.5px;margin-bottom:24px;overflow-wrap:anywhere}.page-number{font-size:.5625rem;letter-spacing:1.5px;color:#949482;line-height:1.8;text-align:right}.page-number strong{font-size:1.2rem;font-family:Georgia,serif;font-weight:400;letter-spacing:1px}.paper-metadata{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:13px}.paper-metadata span{display:block;font-size:.5rem;letter-spacing:1.3px;color:#8e9282;margin-bottom:8px}.paper-metadata strong{display:block;font-weight:400;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}.paper-subject{padding:18px 0 16px;font-family:Georgia,serif;font-size:1rem;color:#687064;overflow-wrap:anywhere}.line-heading{display:grid;grid-template-columns:94px 1fr;border-bottom:1px solid var(--rule);font-size:.5rem;letter-spacing:1.1px;color:#96998b;min-height:25px}.line-heading span:first-child{border-right:1px solid var(--red);text-align:center}.line-heading span:last-child{padding-left:23px}.notebook-line{display:grid;grid-template-columns:94px minmax(0,1fr);min-height:67px;border-bottom:1px solid var(--rule)}.line-stamp{border-right:1px solid var(--red);padding:12px 6px 7px;text-align:center;color:#88908a;display:flex;flex-direction:column;justify-content:center;gap:3px;font-variant-numeric:tabular-nums}.line-stamp time{font-size:.6875rem;color:#6c7c76}.line-stamp small{font-size:.5rem}.line-stamp .line-editor{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-number{font-size:.5625rem;color:#c0c3b9}.notebook-line textarea{border:0;resize:none;overflow:hidden;border-radius:0;width:100%;min-height:67px;background:transparent;padding:17px 23px 13px;font:1rem/2 Georgia,'Times New Roman',serif;color:#394b43;display:block}.notebook-line textarea:focus{outline:0;background:#c9ddc211;box-shadow:inset 2px 0 #537851}.notebook-line textarea::placeholder{color:#a2a698;font-style:italic}.notebook-line textarea[readonly]{cursor:default}.paper-footer{display:flex;justify-content:space-between;gap:10px;padding:21px 24px;font-size:.5625rem;color:#9b9e8f}.notebook-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0;font-size:.625rem;color:#939b8c}.notebook-bottom .text-button{white-space:nowrap;font-size:.6875rem}.workspace-footer{padding:18px 40px 24px;display:flex;justify-content:space-between;color:#9aA18f;font-size:.5625rem;letter-spacing:.4px}.workspace-footer span:first-child{letter-spacing:1.5px}.empty-notebook{background:var(--paper);border:1px solid var(--border);text-align:center;padding:105px 25px;min-height:530px;box-shadow:3px 3px 0 #e6e7dd}.empty-icon{margin:0 auto 24px;background:#edf1e6;width:56px;height:60px;display:grid;place-items:center;border-radius:7px;color:var(--accent)}.empty-icon svg{width:29px;height:29px}.empty-notebook h2{font-size:2rem}.empty-notebook p{color:var(--muted);font-size:.875rem;margin-bottom:25px}.empty-list{color:var(--muted);font-size:.8125rem;padding:20px 0}.panel{background:#fff;border:1px solid var(--border);border-radius:8px;padding:26px}.narrow{max-width:520px}.stack{display:flex;flex-direction:column;gap:19px}.stack h2{margin-bottom:0}.stack p{margin-bottom:0}label{display:flex;flex-direction:column;gap:9px;font-size:.8125rem;font-weight:500}input,textarea,select{border:1px solid #dce1d7;border-radius:5px;padding:12px;background:#fff;color:var(--ink);width:100%;min-height:43px}input[type=color]{width:65px;height:40px;padding:3px;min-height:40px}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--accent)}label small{font-size:.75rem;color:var(--muted);font-weight:400;line-height:1.5}.checkbox,.color-label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;line-height:1.5}.checkbox{justify-content:flex-start}.checkbox input{flex-shrink:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.paper-swatch{height:110px;background:repeating-linear-gradient(var(--paper) 0px,var(--paper) 31px,var(--rule) 32px);border:1px solid var(--border);font-family:Georgia,serif;padding:31px 25px;color:var(--accent)}.image-preview{width:100%;max-height:180px;object-fit:cover;border-radius:5px}.table-panel{overflow:auto;padding:0}table{width:100%;border-collapse:collapse;text-align:left;font-size:.8125rem}th{font-weight:500;color:var(--muted);background:#fafbf8;font-size:.6875rem;white-space:nowrap}td,th{padding:18px 20px;border-bottom:1px solid var(--border)}td strong{font-weight:500}tr:last-child td{border-bottom:0}.row-actions{display:flex;gap:13px;white-space:nowrap}.notice{padding:14px 17px;border:1px solid #cbdcc3;background:#eef5e9;color:#43683e;border-radius:5px;margin-bottom:20px;font-size:.875rem;line-height:1.5}.notice.error{background:#fff0ed;border-color:#edc3bc;color:#a2463d}dialog{border:1px solid var(--border);border-radius:10px;padding:29px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 24px 80px #0003}dialog::backdrop{background:#15282077;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-heading h2{margin:0}.close-dialog{border:0;background:transparent;font-size:1.5rem;color:var(--muted)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--accent);color:#f7f8ed;padding:45px 55px;display:flex;flex-direction:column;min-height:100vh;background-size:cover;background-position:center}.auth-story .brand-symbol{background:#ffffff18;border:1px solid #ffffff25}.story-copy{margin:auto 0;padding:80px 0}.light{color:#c4d1b8}.story-copy h1{font-size:clamp(3rem,5.6vw,5.5rem);line-height:1.12;letter-spacing:-2px;margin:23px 0}.story-copy p{font-size:1rem;color:#d5dfce;max-width:360px;line-height:1.8}.story-footer{display:flex;justify-content:space-between;gap:18px;font-size:.75rem;color:#d4dfcb}.story-footer span{font-size:.5625rem;letter-spacing:1.5px}.auth-form{background:#fdfdf9;display:flex;align-items:center;justify-content:center;padding:50px 35px}.auth-inner{width:100%;max-width:365px}.small-mark{width:40px;height:44px;background:#eaf0e6;display:grid;place-items:center;border-radius:5px;color:var(--accent);margin-bottom:30px}.auth-inner h2{font-size:2.1rem;letter-spacing:-.7px;margin-bottom:10px}.auth-inner>.muted{margin-bottom:32px}.auth-inner .eyebrow{font-size:.625rem}.auth-inner .button{margin-top:5px;justify-content:space-between;padding:14px 18px}.password-wrap{position:relative}.password-wrap input{padding-right:60px}.show-password{position:absolute;right:12px;top:0;height:100%;background:none;border:0;font-size:.6875rem;color:var(--muted)}.auth-help{font-size:.75rem;text-align:center;color:var(--muted);margin-top:24px}.auth-bottom{border-top:1px solid var(--border);margin-top:40px;padding-top:25px;display:flex;justify-content:space-between;font-size:.5rem;letter-spacing:1px;color:#949b8a}.pagination{display:flex;gap:20px;padding:20px 0;font-size:.8125rem}.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}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:500px;font-size:.75rem}summary{cursor:pointer}
@media(min-width:1550px){.logbook-layout{grid-template-columns:285px minmax(0,1fr);gap:35px}.main-content{padding:45px 55px}.notebook-line{min-height:73px}.notebook-line textarea{min-height:73px}}
@media(max-width:1150px){.sidebar{width:205px;padding:25px 16px}.brand{font-size:1.15rem}.main-content{padding:28px 24px}.topbar{padding:0 24px}.logbook-layout{grid-template-columns:205px minmax(0,1fr);gap:20px}.paper-header{padding-left:98px;padding-right:20px}.paper-header:before{left:77px}.notebook-line,.line-heading{grid-template-columns:78px minmax(0,1fr)}.paper-title h2{font-size:1.35rem}.paper-metadata{gap:8px}.paper-metadata strong{font-size:.6875rem}.notebook-bottom{align-items:start}.notebook-line textarea{padding-left:20px}.today{display:none}.toolbar-actions{gap:8px}#save-status{max-width:180px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:850px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:relative;padding:15px 20px;display:grid;grid-template-columns:1fr auto;gap:15px;border-right:0;border-bottom:1px solid var(--border)}.property-badge,.sidebar>.nav-label,.sidebar-note{display:none}.sidebar nav{grid-column:1/-1;display:flex;overflow:auto;gap:8px;grid-row:2}.sidebar nav a{white-space:nowrap;font-size:.75rem;padding:9px}.sidebar nav .nav-label{display:none}.user-block{border:0;padding:0}.user-link strong{max-width:130px}.topbar{height:48px;padding:0 20px}.main-content{padding:25px 20px}.page-heading h1{font-size:2rem}.logbook-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.paper-header{padding-left:83px}.paper-header:before{left:64px}.notebook-line,.line-heading{grid-template-columns:65px minmax(0,1fr)}.paper-metadata{grid-template-columns:1fr 1fr}.paper-metadata>div:last-child{grid-column:1/-1;padding-top:3px}.line-stamp small{font-size:.5rem}.line-heading{font-size:.45rem}.toolbar-actions #save-status{max-width:130px;font-size:.6rem}.notebook-toolbar{align-items:start}.notebook-bottom>span{line-height:1.6}.auth-story{padding:35px}.story-copy h1{font-size:3.5rem}.story-footer{flex-direction:column}.auth-inner h2{font-size:1.8rem}}
@media(max-width:620px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:unset;padding:25px}.story-copy{padding:35px 0 5px}.story-copy h1{font-size:2.75rem}.story-copy h1 br{display:none}.story-copy p,.story-footer{display:none}.auth-form{padding:35px 25px}.small-mark{display:none}.auth-bottom{font-size:.5rem}.sidebar{padding:14px;gap:10px}.user-link strong{max-width:100px}.sidebar nav{gap:3px}.sidebar nav a{font-size:.6875rem;gap:6px}.sidebar nav svg{width:17px}.sidebar .brand{font-size:1.1rem}.topbar{font-size:.65rem;padding:0 16px}.main-content{padding:24px 14px}.page-heading{gap:14px;align-items:start;flex-direction:column;margin-bottom:21px}.page-heading h1{font-size:2rem}.page-heading .button{align-self:flex-start}.page-heading p{font-size:.8125rem}.logbook-layout{display:flex;flex-direction:column}.page-list{width:100%}.filters{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.date-filter input{min-width:0}.page-cards{display:flex;overflow:auto;padding-bottom:7px;scroll-snap-type:x mandatory}.page-card{min-width:210px;max-width:240px;flex-shrink:0;scroll-snap-align:start;padding:13px}.page-card h3{margin:8px 0;font-size:.8125rem}.card-bottom{margin-top:10px;padding-top:8px}.list-heading{margin-top:15px}.notebook-area{min-width:0}.paper-header{padding-top:24px;padding-left:81px;padding-right:15px}.paper-title h2{font-size:1.4rem;line-height:1.2}.notebook-line textarea{padding:14px 15px;font-size:1rem}.paper-subject{font-size:.9375rem}.paper-footer{font-size:.5rem;padding:17px 12px;flex-wrap:wrap}.notebook-bottom{flex-direction:column;gap:5px}.workspace-footer{padding:18px 15px;font-size:.5rem}.panel{padding:20px}.table-panel{padding:0}.empty-notebook{min-height:350px;padding:65px 20px}.toolbar-actions #save-status{max-width:175px}.pagination:empty{display:none}.settings-grid{gap:15px}}
@media print{body{background:#fff}.sidebar,.topbar,.page-heading,.page-list,.notebook-toolbar,.notebook-bottom,.workspace-footer,.notice,dialog{display:none!important}.workspace,.main-content,.logbook-layout,.notebook-area{display:block;margin:0;padding:0;max-width:none}.notebook{box-shadow:none;border:1px solid #ccc}.notebook-line{break-inside:avoid}.notebook-line textarea{color:#000}.paper-header,.paper-footer{break-inside:avoid}@page{margin:12mm}}
/* Keep controls and timestamps legible at every screen size. */
.eyebrow,.page-heading .eyebrow,.auth-inner .eyebrow,.property-badge small,.nav-label,.property-badge small,.today,.card-top,.card-meta,.card-bottom,.list-heading,.pill,#save-status,.toolbar-actions #save-status,.paper-title .eyebrow,.page-number,.paper-metadata span,.line-heading,.line-stamp small,.line-stamp time,.line-number,.paper-footer,.notebook-bottom,.notebook-bottom .text-button,.workspace-footer,.auth-bottom,.story-footer span,.show-password,.user-link small{font-size:.75rem}
nav a,.sidebar nav a,.user-link strong,.property-badge strong,.topbar,.search-field input,.filter-row select,.date-filter,.date-filter input,.paper-metadata strong,.text-button,.auth-help,label,.row-actions,.card-meta,table{font-size:.875rem}
.line-heading{letter-spacing:.2px}.line-heading span:first-child{font-size:.625rem}.line-stamp small{font-size:.625rem}.line-stamp .line-editor{font-size:.625rem}.paper-metadata span{letter-spacing:.7px}.auth-bottom{letter-spacing:0;font-size:.625rem}.property-badge small{font-size:.625rem}.sidebar .nav-label{font-size:.6875rem}.notebook-bottom{line-height:1.5}.line-number{font-size:.6875rem}.paper-footer{font-size:.6875rem}.card-bottom{font-size:.75rem}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.notebook-toolbar{align-items:center}
@media(max-width:620px){.sidebar nav a{font-size:.8125rem}.user-link strong{font-size:.75rem}.topbar{font-size:.75rem}.toolbar-actions #save-status{max-width:140px;font-size:.75rem}.line-stamp time{font-size:.6875rem}.paper-metadata strong{font-size:.8125rem}.paper-metadata span{font-size:.625rem}.paper-title .eyebrow{font-size:.625rem}.line-heading span:last-child{font-size:.6875rem;letter-spacing:.1px}.auth-bottom{flex-wrap:wrap;gap:8px}.filter-row select{font-size:.8125rem}.workspace-footer{font-size:.625rem}.notebook-bottom .text-button{font-size:.8125rem}}
.sidebar nav{min-height:0;overflow-y:auto;flex-shrink:1}.custom-nav-link span{overflow-wrap:anywhere;min-width:0}.custom-nav-link svg{flex-shrink:0}.link-list{display:grid}.link-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid var(--border)}.link-description{display:grid;gap:7px;min-width:0}.link-description span{font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}.link-description small{font-size:.75rem;color:var(--muted)}.website-actions{display:flex;gap:10px;flex-wrap:wrap}.embedded-website{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.embedded-website iframe{display:block;width:100%;height:calc(100vh - 290px);min-height:520px;border:0}.website-address{overflow-wrap:anywhere}.embed-help{font-size:.8125rem;color:var(--muted);margin:14px 0}.embed-help a{text-decoration:underline;color:var(--accent)}
@media(max-width:850px){.sidebar nav{overflow-x:auto;overflow-y:hidden}.custom-nav-link span{overflow-wrap:normal}.website-heading{flex-wrap:wrap}.embedded-website iframe{height:70vh}}
@media(max-width:620px){.link-item{align-items:flex-start;flex-direction:column;gap:12px}.website-actions .button{font-size:.8125rem}.embedded-website iframe{min-height:450px}}
