:root{color-scheme:light;--linen:#f6f2eb;--paper:#fffcf7;--ink:#3f3933;--muted:#71685e;--clay:#975d49;--line:#e2d8cb}
*{box-sizing:border-box}
body{margin:0;background:var(--linen);color:var(--ink);font:16px/1.5 'Segoe UI',sans-serif}
header{max-width:1180px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink);font-weight:650;font-size:19px}
.mark{color:var(--clay);font-size:34px}
.demo{font-size:10px;letter-spacing:1px;background:#e9dfd2;padding:3px 7px;border-radius:5px}
.private{font-size:13px;color:var(--muted)}
main{max-width:1100px;margin:auto;padding:48px 40px 20px}
.intro{display:flex;align-items:center;justify-content:space-between;gap:24px}
.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--clay);margin:0 0 12px}
h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.15}
h1{font-size:44px;letter-spacing:-1px;margin:0 0 15px}
h2{font-size:29px;margin:0}
p{color:var(--muted)}
button{font:600 14px 'Segoe UI',sans-serif;border:1px solid transparent;border-radius:8px;background:var(--clay);color:white;padding:13px 22px;cursor:pointer}
button:hover{filter:brightness(.94)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #94704a;outline-offset:3px}
.notice{margin:23px 0 28px;padding:12px 16px;background:#eee9df;border-radius:8px;color:#675d51;font-size:13px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.stats>div{padding:22px 25px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:13px;color:var(--muted)}
.stats span{display:block;font:36px Georgia,serif;color:var(--ink);margin-bottom:7px}
.list-head{display:flex;justify-content:space-between;align-items:center;margin:38px 0 20px}
.list-head .eyebrow{margin-bottom:6px}
.filter{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}
select,input,textarea{font:inherit;color:var(--ink);background:var(--paper);border:1px solid #cbbfb0;border-radius:7px;padding:11px;width:100%}
.filter select{width:170px;font-size:13px}
.items{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.item{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:23px;min-width:0}
.item-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.category{color:var(--muted);font-size:11px;letter-spacing:1px;text-transform:uppercase}
.badge{padding:5px 9px;border-radius:20px;font-size:12px;background:#e9ede2;color:#4d6046;white-space:nowrap}
.badge.soon{background:#f0e2cc;color:#775821}
.badge.overdue{background:#eedbd4;color:#884d3c}
.item h3{font-size:19px;font-weight:600;margin:17px 0 5px;overflow-wrap:anywhere}
.item p{font-size:13px;margin:0}
.item .notes{padding-top:14px;margin-top:14px;border-top:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}
.status{font-size:13px}
.form-heading{margin-top:26px}
.form-card{max-width:740px;margin-top:24px;padding:30px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.form-card label{display:block;font-size:14px;font-weight:600;margin-bottom:22px}
.form-card input,.form-card select,.form-card textarea{display:block;margin-top:8px;font-weight:400}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.optional{font-weight:400;color:var(--muted)}
textarea{resize:vertical}
.form-hint{font-size:13px}
.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}
.secondary{background:transparent;border-color:#cbbfb0;color:var(--ink)}
.text-button{padding:0;background:none;color:var(--clay)}
footer{margin-top:48px;padding-top:22px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:14px}
[hidden]{display:none!important}

.help-link,.help-nav a{color:var(--clay);font-size:13px;text-underline-offset:4px}
.privacy-note{background:#f1e3d8;border-left:3px solid var(--clay);border-radius:5px;padding:14px 16px;font-size:13px;line-height:1.65;color:#654b3c}
.help-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:28px 0}
.help-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:28px;margin:20px 0;scroll-margin-top:20px}
.help-card h2{font-size:27px;margin-bottom:20px}
.steps{padding-left:24px;margin:0}
.steps li{padding-left:7px;margin:0 0 16px;line-height:1.7;color:var(--muted)}
.steps strong,.field-guide dt{color:var(--ink)}
.field-guide dt{font-weight:600;margin-top:20px}
.field-guide dd{margin:7px 0 20px;color:var(--muted);line-height:1.7}
.contact-address{font-size:20px;color:var(--clay);overflow-wrap:anywhere}

.reminder-field{border:1px solid var(--line);border-radius:8px;padding:16px;margin:0 0 22px;min-width:0}
.reminder-field legend{font-size:14px;font-weight:600;padding:0 6px}
.reminder-field .form-hint{margin:0 0 12px}
.reminder-options{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.form-card .reminder-options label{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:400;cursor:pointer}
.form-card .reminder-options input{width:18px;height:18px;margin:0;accent-color:var(--clay)}
.reminder-options label:has(input:checked){background:#f1e3d8;border-color:var(--clay)}
.item .reminder-summary{margin-top:13px;font-size:12px;color:var(--clay)}

.field-hint{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:7px}
.item-actions{display:flex;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}
.item-actions button{padding:8px 16px;font-size:13px}
.delete-button{background:transparent;color:#884d3c;border-color:#d8b7aa}
@media(prefers-reduced-motion:reduce){.help-panel[open]{animation:none}}

/* Soft Geometry: warm surfaces, bold type, precise accents. No external assets. */
:root{--linen:#f5f1ea;--paper:#fffdf9;--ink:#272723;--muted:#706d65;--clay:#94533e;--line:#e7dfd4;--shadow:0 7px 25px #55432c0a,0 1px 3px #55432c05}
body{font-family:'Segoe UI',Arial,sans-serif;background:radial-gradient(ellipse at 90% 0,#fffdf7 0,transparent 55%),var(--linen);color:var(--ink)}
button{transition:background .15s,box-shadow .15s,transform .15s}
button:hover{filter:none;box-shadow:0 4px 12px #55432c15}
button:active{transform:translateY(1px)}
.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fcfaf6;border-right:1px solid var(--line);padding:42px 24px 22px;display:flex;flex-direction:column;z-index:2;box-shadow:5px 0 24px #55432c03}
.sidebar .brand{font-size:23px;letter-spacing:-1px;font-weight:800;line-height:1.2;display:block}
.sidebar .demo{display:table;margin-top:12px;color:var(--clay);background:#efdfd5;font-size:10px;letter-spacing:1.5px;padding:4px 8px}
.sidebar-caption{font-size:9px;letter-spacing:1.2px;margin:24px 0 32px;color:var(--muted)}
.main-nav{display:grid;gap:9px}
.nav-button{display:flex;align-items:center;gap:13px;background:none;border:1px solid transparent;color:var(--muted);padding:13px 14px;width:100%;text-align:left;font-weight:500;border-radius:9px}
.nav-button svg{width:21px;height:21px;flex:none}
.nav-button:hover{background:#f2ede5;box-shadow:none}
.nav-button[aria-current=page]{background:#ede7de;border-color:#e7dfd4;color:var(--ink);box-shadow:inset 3px 0 #ad7056}
.sidebar-bottom{margin-top:auto;padding-top:25px}
.sidebar-bottom>p{border-top:1px solid var(--line);padding-top:21px;margin:18px 12px 0;font-size:11px;line-height:1.9;color:var(--clay)}
.sidebar-bottom>p span{color:var(--muted)}
main{margin:0 0 0 240px;max-width:1450px;padding:50px clamp(26px,4vw,65px) 26px}
.intro{position:relative;min-height:220px;gap:20px;align-items:center}
.hero-copy{z-index:1}
.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700}
.intro h1{font-family:'Arial Black','Segoe UI',sans-serif;font-weight:900;font-size:clamp(46px,5.4vw,80px);line-height:.99;letter-spacing:-4px;margin:20px 0}
.headline-dot{color:#b7785c}
.intro p:not(.eyebrow){font-size:17px;letter-spacing:-.3px;margin-bottom:0}
.hero-art{width:190px;height:190px;position:relative;flex:none;margin-right:12px}
.art-circle{position:absolute;width:133px;height:133px;background:linear-gradient(135deg,#e8d6c7,#d9bba6);border-radius:50%;left:30px;top:27px;box-shadow:inset -8px -8px 22px #b88c6e0a}
.art-corner{position:absolute;left:0;top:6px;width:39px;height:39px;border-top:5px solid #b87b60;border-left:5px solid #b87b60}
.art-line{position:absolute;right:8px;bottom:9px;height:1px;width:55px;background:#b87b60}
.notice{font-size:12px;background:none;border-left:2px solid #cfb49e;border-radius:0;margin:25px 0 29px;padding:5px 12px;color:var(--muted)}
.overview-row{display:flex;gap:22px;align-items:center}
.stats{flex:1;gap:16px}
.stats>.stat-card{padding:23px 20px;display:flex;align-items:center;gap:15px;position:relative;border-radius:12px;box-shadow:var(--shadow);font-size:12px}
.stats .stat-total{border-color:#d7b5a0;box-shadow:-6px 7px 0 #b78063,0 9px 22px #55432c0a}
.stats span{font-family:'Segoe UI',sans-serif;font-size:36px;font-weight:750;line-height:1;margin:0 0 7px}
.stat-card i{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;font-style:normal;font-size:27px;background:#ece4d7;color:#605643}
.stat-card:first-child i{background:#eeddd2;color:#83583f}
.stat-card:last-child i{background:#f0ded7;color:#9a513e;font-size:23px}
.stat-card svg{width:23px;height:23px}
.overview-row>button{background:#a3674b;border-radius:9px;min-height:55px;min-width:146px;box-shadow:0 7px 15px #a3674b15}
.list-head{margin-top:38px;scroll-margin-top:25px}
.list-head h2{font-family:'Segoe UI',sans-serif;font-size:23px;font-weight:700;letter-spacing:-.6px}
.list-head .eyebrow{font-size:9px}
.filter{font-size:11px}
.filter select{background:#fcfaf6;border-color:var(--line);border-radius:8px}
.items{gap:20px}
.item{border-radius:13px;padding:24px;box-shadow:var(--shadow);position:relative;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.item:hover{box-shadow:0 10px 28px #55432c12;transform:translateY(-2px)}
.category{font-size:10px;font-weight:600;letter-spacing:1.2px;display:flex;gap:8px;align-items:center}
.category:before{content:'';width:8px;height:8px;border-radius:2px;background:#aab6a1;display:block;transform:rotate(-10deg)}
.category-subscriptions .category:before{background:#b3a4bd}
.category-documents .category:before{background:#9eb8c4}
.category-warranties .category:before{background:#c69f83}
.badge{font-size:11px;font-weight:600;padding:6px 10px;background:#e3e9dc}
.badge.soon{background:#f5e2bc;color:#795621}
.badge.overdue{background:#f1dcd5;color:#913e2c}
.item h3{font-size:19px;font-weight:700;letter-spacing:-.4px;margin-top:24px}
.item p{font-size:12px}
.item .reminder-summary{color:#514439;font-size:11px;margin-top:16px}
.item .notes{font-size:12px;color:#514b42;border-top:0;padding:0;margin-top:10px}
.item-actions{justify-content:flex-end;margin-top:auto;padding-top:16px;border-top:0;gap:4px}
.item-actions button{border:0;background:none;font-weight:500;color:#655d52;padding:7px 10px;font-size:12px}
.item-actions button+button{border-left:1px solid var(--line);border-radius:0;color:#94533e}
.status{font-size:12px;min-height:18px}
.status:empty{display:none}
footer{font-size:10px;margin-top:32px;padding-top:20px;gap:15px}
.form-heading h1{font-family:'Arial Black','Segoe UI',sans-serif;font-size:46px;letter-spacing:-2px;font-weight:900}
.form-heading p:not(.eyebrow){font-size:15px}
.form-card{max-width:840px;box-shadow:var(--shadow);border-radius:16px;padding:32px;border-top:3px solid #bf8a6d}
.form-card label{font-size:13px}
.form-card input,.form-card select,.form-card textarea{background:#fcfaf6;border-color:#dcd2c4;border-radius:8px;padding:12px;font-size:14px}
.form-card input:focus,.form-card textarea:focus{background:white}
.reminder-field{background:#f9f5ef;border-color:var(--line);padding:20px}
.form-card .reminder-options label{background:var(--paper);font-size:12px}
.form-card .reminder-options label:has(input:checked){background:#eddbce;border-color:#ae795d;color:#633e2b}
.form-hint,.field-hint{font-size:12px}
.privacy-note{background:#f4e9de;border:1px solid #e6d2c0;border-left:3px solid #b78363;font-size:12px}
.help-nav a:hover{color:#65351f}

@media(min-width:1700px){main{margin-left:calc(240px + (100vw - 1700px)/2)}}

@media(max-width:1150px){.sidebar{width:210px;padding-left:18px;padding-right:18px}.sidebar .brand{font-size:21px}main{margin-left:210px;padding:35px 28px 24px}.hero-art{width:130px;height:150px;margin-right:0}.art-circle{width:100px;height:100px;left:20px}.intro h1{font-size:60px;letter-spacing:-3px}.overview-row{flex-wrap:wrap;gap:22px}.stats{flex-basis:100%}.overview-row>button{margin-left:auto}.item{padding:20px}.item-top{align-items:flex-start}.badge{font-size:10px}.category{font-size:9px}}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.item:hover{transform:none}}

body:not(:has(.sidebar)) main{margin-left:auto;margin-right:auto;max-width:1000px}

/* Full-page information views share the app shell. */
.info-page{max-width:940px;padding-top:16px}
.info-page>h1{font-family:'Arial Black','Segoe UI',sans-serif;font-size:clamp(34px,4vw,56px);font-weight:900;letter-spacing:-2px;line-height:1.08;margin:18px 0 22px}
.info-page>p:not(.eyebrow){font-size:16px}
.info-page .help-nav{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:15px 28px}
.info-page .help-card{box-shadow:var(--shadow);padding:30px}
.info-page .help-card h2{font-family:'Segoe UI',sans-serif;font-size:23px;letter-spacing:-.5px;font-weight:700}
.info-page .help-card p,.info-page .help-card li,.info-page .help-card dd{font-size:14px;line-height:1.8}
.info-page .help-card .contact-address{font-size:21px}
.about-story{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:40px;margin:35px 0}
.about-story p{font-size:20px;line-height:1.85;color:#514c43;margin:0;max-width:750px;letter-spacing:-.3px}
.story-accent{display:block;width:44px;height:5px;background:#b78063;margin-bottom:25px}
.intro h1{font-size:clamp(40px,4.6vw,69px);letter-spacing:-3.6px}
.hero-art{width:145px}
.art-circle{width:110px;height:110px;left:20px}
.sidebar-bottom .nav-button+.nav-button{margin-top:5px}
.sidebar-bottom>p{margin-top:16px}
.sidebar .nav-button{min-height:44px}

@media(max-width:1150px){.intro h1{font-size:clamp(40px,4.9vw,60px);letter-spacing:-2.6px}.hero-art{width:95px;height:135px}.art-circle{width:75px;height:75px;top:35px;left:15px}.art-corner{width:25px;height:25px;border-width:4px}.info-page .help-card{padding:25px}}

/* A quiet bookmark motif, loosely framed rather than boxed in. */
.hero-art{width:145px;height:155px;margin-left:10px;margin-right:0}
.hero-art .art-circle{width:110px;height:110px;left:17px;top:23px;background:linear-gradient(140deg,#c49a7e,#a67556);box-shadow:inset 1px 1px 2px #fff5e640,0 6px 12px #68482b18}
.bookmark-motif{width:100%;height:100%;overflow:visible}
.bookmark-shadow{filter:drop-shadow(2px 3px 2px #50301950)}
.hero-art .art-corner{left:0;top:9px;width:38px;height:34px;border-top:2px solid #a87859;border-left:2px solid #a87859}
.hero-art .art-line{display:block;right:0;bottom:7px;width:43px;height:1px;background:#a87859}

@media(max-width:1150px){.hero-art{width:110px;height:125px}.hero-art .art-circle{width:80px;height:80px;left:14px;top:23px}.hero-art .art-corner{width:27px;height:25px;top:10px}.hero-art .art-line{width:32px;bottom:7px}}



/* Shared card readability and action targets. */
.item p,.item .reminder-summary,.item .notes{font-size:14px;line-height:1.65}
.item .reminder-summary{color:#514439}.item .notes{color:#514b42}
.item-actions{gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:18px;padding-top:12px}
.item-actions button{min-height:48px;min-width:72px;font-size:14px;padding:10px 16px;border-radius:8px}
.item-actions button+button{border-left:0;border-radius:8px}
.list-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px}
.list-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.list-heading-row #add{min-height:48px;flex:none;background:#94533e;box-shadow:0 5px 12px #94533e14}
.filter{align-self:center}
/* Item lifecycle: archived records retain details, without active countdowns. */
.renew-button{background:#f0e2d6;color:#69442e;border:1px solid #d6b79f}.item-actions .renew-button{color:#69442e;background:#f0e2d6;border:1px solid #d6b79f}.archived-badge{background:#e9e3da;color:#5a5146}.archive-reason{margin-top:12px!important;font-weight:600;color:#514439}.empty-state{grid-column:1/-1;background:var(--paper);border:1px dashed #cfbca7;border-radius:12px;padding:25px;color:#625548;line-height:1.7}.archive-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100% - 48px);padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 20px 65px #3f393333;overflow:auto}.archive-dialog::backdrop{background:#302b2559}.archive-dialog h2{font-family:'Segoe UI',sans-serif;font-weight:700;font-size:25px;letter-spacing:-.5px}.archive-item-name{font-weight:650;font-size:18px;color:var(--ink);overflow-wrap:anywhere}.archive-dialog label{display:block;margin:22px 0 8px;font-size:15px;font-weight:600}.archive-dialog p{font-size:15px;line-height:1.65}.archive-dialog select{font-size:16px;min-height:48px}.archive-dialog button{min-height:48px;font-size:15px}.archive-dialog .eyebrow{font-size:11px}.info-page>.items{margin-top:28px}body:has(.archive-dialog[open]){overflow:hidden}
.remove-choices{display:grid;gap:12px;margin:22px 0}.remove-choices button{display:block;width:100%;min-height:76px;text-align:left;padding:14px 16px;border-radius:10px;font-size:15px;line-height:1.5;white-space:normal}.remove-choices strong,.remove-choices span{display:block}.remove-choices span{font-size:14px;font-weight:400;margin-top:4px}.archive-choice{background:#94533e;color:#fffdf9;border:1px solid #94533e}.delete-choice{background:#fffaf6;color:#87442f;border:1px solid #d9b8a5}.archive-confirm{min-height:48px;width:100%;margin-top:16px}.archive-dialog .form-actions{margin-top:18px}.archive-dialog .form-actions button{width:100%}
/* Selects share the same quiet surface and chevron across the demo. */
.filter select,.form-card select,.archive-dialog select{appearance:none;-webkit-appearance:none;background-color:#fcfaf6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23835d45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;border:1px solid #d8ccbd;border-radius:8px;padding-right:38px;box-shadow:0 1px 2px #55432c04;cursor:pointer}.filter select:hover,.form-card select:hover,.archive-dialog select:hover{border-color:#bda48c}.filter select:focus-visible,.form-card select:focus-visible,.archive-dialog select:focus-visible{outline:2px solid #ad795b;outline-offset:3px}.filter select{min-height:48px;font-size:14px;padding-top:10px;padding-bottom:10px}
@media(forced-colors:active){.filter select,.form-card select,.archive-dialog select{appearance:auto;background-image:none}}
/* Summary tiles are real buttons, with persistent selection and keyboard focus. */
.stats>.stat-card{color:var(--muted);background:var(--paper);border:1px solid var(--line);font-family:'Segoe UI',sans-serif;font-weight:400;text-align:left;min-height:100px;cursor:pointer}.stats>.stat-card:hover{background:#faf2e8;border-color:#bc967a;transform:translateY(-1px)}.stats>.stat-card[aria-pressed=true]{background:#f5e8dc;border-color:#a57150;box-shadow:inset 0 3px #a57150,0 5px 16px #55432c09}.stats>.stat-card:focus-visible{outline:3px solid #94533e;outline-offset:4px}.stats .stat-body{display:block;font:inherit;color:inherit;margin:0}.stats .stat-label{display:block;font:inherit;line-height:1.4;color:inherit;margin:0}.filter-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 18px}.filter-feedback p{margin:0;font-size:13px;line-height:1.5;color:#625548}.filter-feedback button{flex:none;min-height:48px;padding:10px 14px;font-size:14px}.list-heading-row h2{line-height:1.3}.list-heading-row>div{min-width:0}
@media(prefers-reduced-motion:reduce){.stats>.stat-card:hover{transform:none}}
.category-trials .category:before{background:#bd9155}
/* Dates use explicit parts, without format punctuation or automatic focus jumps. */
.date-fields{border:0;padding:0;margin:0 0 22px;min-width:0}.date-fields legend{padding:0;margin:0 0 8px;font-size:13px;font-weight:600}.date-parts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.75fr) minmax(0,1fr);gap:10px}.form-card .date-parts label{font-size:12px;color:#625548;margin:0;min-width:0}.form-card .date-parts input,.form-card .date-parts select{width:100%;min-width:0;margin-top:6px;padding-left:10px;padding-right:10px}.form-card .date-parts select{padding-right:28px;background-position:right 7px center}.date-fields .field-hint{margin:8px 0 0}.date-error{font-size:14px;color:#893c2c;line-height:1.5;margin:8px 0 0}
