/* Vallois-inspired palette: warm cream, earthy brown and botanical green. */
:root{--bg:#f3efe5;--panel:#fbf9f3;--panel2:#eee8d9;--line:#d8cebb;--text:#303229;--muted:#706e60;--faint:#969080;--brown:#674b38;--gold:#385342;--gold2:#674b38;--green:#87947a;--red:#914f40}
body{background:radial-gradient(ellipse at 88% 0%,#e3e8dc 0,transparent 32rem),var(--bg);color:var(--text)}
.topbar{border-color:var(--line)}
.brand{color:#293f32}.brand-mark{border-color:var(--green);color:var(--green);background:var(--panel)}.brand-mark span{color:var(--brown,#674b38)}
.local-pill{color:#293f32;border-color:#bdc8b8;background:#e9eee5}.local-pill span{background:#87947a}
.top-action{background:var(--panel);color:#385342;border-color:#385342}
.eyebrow{color:#674b38}.hero h1{color:#293f32}.hero h1 em{color:#674b38}.hero-sub{color:#706e60}
.button-gold{background:#385342;color:#fbf9f3}.button-quiet{border-color:#b8ad99;color:#49392f}.button-outline{border-color:#385342;color:#385342}
.hero-stamp{border-color:#87947a;background:#edf0e8;color:#385342}.hero-stamp:before,.hero-stamp:after{border-color:#87947a66}.hero-stamp i{color:#674b38}.hero-stamp small{color:#706e60}
.metric-card{background:linear-gradient(145deg,#fbf9f3,#f4f0e6);border-color:#d8cebb;box-shadow:0 5px 18px #473b2810}.metric-card span{color:#706e60}.metric-card strong{color:#385342}.metric-card small{color:#969080}.metric-emphasis{border-color:#b7c4b1;background:linear-gradient(145deg,#edf1e9,#f7f4eb)}
.panel{background:#fbf9f3;border-color:#d8cebb;box-shadow:0 7px 24px #473b2809}.panel-heading h2,.empty-state b{color:#293f32}.panel-intro{color:#706e60}.source-tag,.count-chip,.step-number{color:#674b38;border-color:#d9cbb8;background:#f5f0e6}
.legend-row{color:#706e60}.legend-dot{background:#87947a}.chart-caption{color:#969080}
.recent-card{border-color:#e8e2d7}.recent-top b{color:#49392f}.recent-top time{color:#969080}.recent-card p{color:#706e60}
.empty-state{color:#706e60}.empty-state>span{color:#87947a}.text-button{color:#385342}
.searchbox,.toolbar select,.form-stack select{background:#f5f1e8;border-color:#d8cebb;color:#303229}.searchbox span{color:#385342}.searchbox input{color:#303229}
.perfume-card{background:#f8f5ed;border-color:#ded6c7}.perfume-card:hover{border-color:#87947a;background:#f3f3e9}.perfume-card b{color:#49392f}.perfume-card small{color:#706e60}.status-pill{border-color:#c5d0bf;color:#293f32;background:#edf1e9}.class-pill{color:#969080}
.import-option{background:#f6f2e9;border-color:#ded6c7;color:#303229}.import-option:hover{border-color:#87947a;background:#f0f1e8}.option-icon{color:#385342;border-color:#b5c2af;background:#edf1e9}.import-option b{color:#49392f}.import-option small{color:#706e60}.chevron,.privacy-note span{color:#385342}.privacy-note{color:#706e60}
.footer-note{border-color:#d8cebb;color:#706e60}.footer-note>span{color:#87947a}.footer-note b{color:#293f32}
.modal{background:#fbf9f3;color:#303229;border-color:#c9bea9;box-shadow:0 24px 80px #3e342b33}.modal::backdrop{background:#3d372c66}.modal-head{border-color:#d8cebb}.modal-head h2{color:#293f32}.close-button{background:#f0ece2;color:#674b38;border-color:#d8cebb}.import-tabs{border-color:#d8cebb}.tab{color:#706e60}.tab.active{color:#385342;border-color:#385342}
.dropzone{border-color:#a6b29d;background:#f5f3e9}.dropzone:hover{background:#eef1e7}.drop-icon{color:#385342}.dropzone b{color:#293f32}.dropzone small,.hint{color:#706e60}.field-label,.form-stack label{color:#674b38}
.modal textarea,.form-stack input,.form-stack select{background:#f6f2e9;color:#303229;border-color:#d0c6b5}.modal textarea:focus,.form-stack input:focus{border-color:#385342;box-shadow:0 0 0 3px #3853421a}.modal textarea::placeholder,.form-stack input::placeholder{color:#9b9586}.import-message{color:#293f32}.preview-area{border-color:#d8cebb}.preview-heading{color:#293f32}.preview-heading span{color:#706e60}.preview-row{background:#f6f2e9;border-color:#e0d9cb}.preview-fields input{background:#fbf9f3;color:#303229;border-color:#d7cebf}.preview-fields input:focus{outline-color:#385342;border-color:#385342}.preview-row input[type=checkbox]{accent-color:#385342}.preview-row select{background:#f6f2e9;color:#303229;border-color:#d3c9b8}
.item-notes{color:#674b38;border-color:#87947a}.summary-cell{background:#f4f0e7;border-color:#d8cebb}.summary-cell small{color:#706e60}.summary-cell b{color:#49392f}.delete-button{color:#914f40;border-color:#d4b5a7}
.diary-form label{color:#706e60}.diary-form input,.diary-form textarea,.diary-form select{background:#f6f2e9;color:#303229;border-color:#d8cebb}
.toast{background:#385342;color:#fbf9f3;box-shadow:0 8px 30px #3b322322}
@media(max-width:560px){.bottom-nav{background:#fbf9f3f2;border-color:#d8cebb}.bottom-nav a,.bottom-nav button{color:#706e60}.bottom-nav span{color:#385342}.bottom-nav .active{color:#293f32}.preview-row{background:#f6f2e9}}
.collection-actions{display:flex;align-items:center;gap:9px}.compare-intro{font:13px/1.6 'Playfair Display',serif;color:#674b38;margin:0 0 18px}.compare-selects{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:end;gap:9px}.compare-selects label{display:grid;gap:7px;font:9px 'DM Mono',monospace;letter-spacing:.06em;color:#674b38}.compare-selects select{width:100%;min-width:0;min-height:43px;padding:0 9px;border:1px solid #d0c6b5;border-radius:9px;background:#f6f2e9;color:#303229;font:11px 'DM Sans',sans-serif}.compare-vs{align-self:center;text-align:center;color:#87947a;font:20px 'Playfair Display',serif}.compare-chart-panel{margin-top:15px;padding:16px;background:#f4f0e7;border:1px solid #ded6c7;border-radius:14px}.compare-chart-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;color:#293f32}.compare-chart-title b{font:16px 'Playfair Display',serif;font-weight:500}.compare-chart-title small{font:8px 'DM Mono',monospace;color:#706e60}.compare-chart-panel svg{display:block;width:min(100%,430px);height:auto;margin:0 auto;overflow:visible}.compare-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font:10px 'DM Mono',monospace;color:#49392f}.compare-legend span{display:inline-flex;align-items:center;gap:6px}.compare-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.compare-summary{font-size:11px;line-height:1.6;color:#49392f;background:#edf1e9;border-left:3px solid #87947a;padding:11px 13px;border-radius:0 9px 9px 0}.compare-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.compare-card{min-width:0;background:#fbf9f3;border:1px solid #ded6c7;border-radius:12px;padding:13px}.profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-markers,.profile-classification,.profile-observation{margin-top:16px;padding-top:13px;border-top:1px solid #e4ddcf}.profile-classification p:not(.eyebrow){font:14px/1.55 'Playfair Display',serif;color:#674b38;margin:0}.profile-edit{margin-top:18px;padding-top:16px;border-top:1px solid #d8cebb;display:grid;gap:13px}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-edit .field-label{font:9px 'DM Mono',monospace;color:#674b38}.profile-edit input,.profile-edit textarea,.profile-edit select{width:100%;min-width:0;background:#f6f2e9;color:#303229;border:1px solid #d0c6b5;border-radius:9px;padding:10px;font:11px 'DM Sans',sans-serif}.profile-edit input:focus,.profile-edit textarea:focus,.profile-edit select:focus{outline:1px solid #385342;border-color:#385342}.marker-editor{margin:0;border:1px solid #d8cebb;border-radius:10px;padding:10px 12px}.marker-editor legend{padding:0 4px;color:#674b38;font:9px 'DM Mono',monospace}.marker-checkboxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.marker-switch{display:flex;align-items:center;gap:5px;color:#49392f;font:9px 'DM Sans',sans-serif}.marker-switch input{width:auto;accent-color:#385342}.profile-edit-actions{display:flex;gap:8px}.profile-edit-actions .button{flex:1}
@media(max-width:560px){.profile-facts{grid-template-columns:1fr 1fr}.edit-grid{grid-template-columns:1fr}.marker-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-edit-actions{flex-direction:column}}.compare-card h3{font:17px 'Playfair Display',serif;font-weight:500;color:#293f32;margin:0}.compare-card .compare-brand{font-size:10px;color:#706e60;margin:4px 0 10px}.compare-card .eyebrow{margin-bottom:6px}.compare-tags{display:flex;flex-wrap:wrap;gap:5px;min-height:25px}.compare-tag{font:8px 'DM Mono',monospace;color:#293f32;background:#edf1e9;border:1px solid #c5d0bf;border-radius:99px;padding:5px 7px}.compare-empty{font-size:9px;color:#969080}.compare-notes{margin:12px 0 0;padding-top:10px;border-top:1px solid #e8e2d7;font-size:10px;line-height:1.5;color:#674b38}.compare-notes b{display:block;margin-bottom:3px;color:#49392f;font:8px 'DM Mono',monospace;letter-spacing:.07em;text-transform:uppercase}
@media(max-width:560px){.collection-actions{gap:5px}.collection-actions .count-chip{font-size:8px;padding:6px}.collection-actions .text-button{font-size:8px}.compare-selects{gap:5px}.compare-selects select{font-size:9px;padding:0 5px}.compare-chart-panel{padding:11px}.compare-chart-title{align-items:flex-start;flex-direction:column;gap:3px}.compare-cards{grid-template-columns:1fr}.compare-card{padding:11px}}.collection-groups{display:flex;gap:7px;margin:0 0 12px}.group-chip{border:1px solid #d8cebb;border-radius:99px;background:#f6f2e9;color:#674b38;padding:8px 13px;font:9px 'DM Mono',monospace;cursor:pointer}.group-chip.active{border-color:#87947a;background:#e9eee5;color:#293f32}.group-chip span{margin-left:5px;color:#706e60}.compare-selects{grid-template-columns:repeat(2,minmax(0,1fr))}.rotation-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:14px}.rotation-form label{display:grid;gap:7px;color:#674b38;font:9px 'DM Mono',monospace;letter-spacing:.05em}.rotation-form input,.rotation-form select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #d0c6b5;border-radius:9px;background:#f6f2e9;color:#303229;font:13px 'DM Sans',sans-serif}.rotation-form button{grid-column:1/-1}.rotation-schedule{display:grid;gap:10px;margin-top:12px}.rotation-card{padding:12px 14px;border:1px solid #ded6c7;border-radius:12px;background:#f4f0e7}.rotation-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#293f32}.rotation-card header b{font:15px 'Playfair Display',serif}.rotation-card header time{font:9px 'DM Mono',monospace;color:#706e60}.rotation-card ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.rotation-card li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #e3dccf}.rotation-card li span{display:grid;gap:3px;min-width:0}.rotation-card li b{font:12px 'DM Sans',sans-serif;color:#49392f}.rotation-card li small{font:9px 'DM Sans',sans-serif;color:#706e60}.rotation-mark{flex:0 0 auto;border:1px solid #87947a;border-radius:99px;padding:7px 10px;background:#edf1e9;color:#293f32;font:9px 'DM Mono',monospace;cursor:pointer}.rotation-mark:disabled{opacity:.75;background:#385342;color:#fbf9f3}.fresh-field{margin:14px 0;padding:11px;border:1px solid #d8cebb;border-radius:10px}.fresh-field legend{padding:0 5px;color:#674b38;font:9px 'DM Mono',monospace}.fresh-toggle{display:inline-flex;align-items:center;gap:8px;color:#293f32;font:12px 'DM Sans',sans-serif}.fresh-toggle input{accent-color:#385342;width:17px;height:17px}@media(max-width:560px){.rotation-form{grid-template-columns:1fr}.rotation-form button{grid-column:auto}.collection-groups{margin-bottom:10px}.compare-selects{grid-template-columns:repeat(2,minmax(0,1fr))}}
