:root{--green:#204c41;--ink:#23332e;--cream:#f6f2e9;--sage:#dde9e1;--accent:#d87958;--line:#e4e6df}*{box-sizing:border-box}body{margin:0;background:#e6e9e3;color:var(--ink);font:15px Manrope,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d87958;outline-offset:2px}.app{max-width:430px;margin:auto;background:var(--cream);min-height:100dvh;position:relative;padding-bottom:90px;box-shadow:0 0 60px #20352e15}.top{padding:19px 22px 10px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:8px;font-size:26px;font-weight:800;letter-spacing:-1.5px;color:var(--green)}.brand svg{width:37px;height:37px}.demo{font-size:10px;font-weight:700;letter-spacing:.8px;color:#596d62}.content{padding:12px 22px 24px}h1{font-size:31px;line-height:1.12;letter-spacing:-1.2px;margin:12px 0 8px}h2{font-size:19px;letter-spacing:-.4px;margin:23px 0 12px}p{line-height:1.5;margin:6px 0 14px;color:#53645b}.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:800;color:#526b5e}.primary,.secondary{width:100%;border:0;border-radius:16px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;padding:12px 14px}.primary{background:var(--green);color:white}.secondary{background:white;border:1px solid var(--line);color:var(--green)}.ico{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:16px;min-height:50px;padding:0 14px;margin:19px 0 12px;color:#597166}.search input{border:0;outline:none;background:transparent;width:100%;min-width:0;color:var(--ink)}.chips{display:flex;gap:7px;overflow:auto;margin:12px 0;scrollbar-width:none}.chip{white-space:nowrap;border:1px solid var(--line);background:white;min-height:44px;padding:8px 13px;border-radius:30px;font-size:12px;font-weight:700}.chip.active{background:var(--green);color:white;border-color:var(--green)}.hero{background:var(--green);color:white;padding:19px;border-radius:22px;margin-top:18px;position:relative;overflow:hidden}.hero h2{margin:0 0 6px;font-size:21px}.hero p{color:#e0eae4;margin:0 0 15px;font-size:13px}.hero .primary{background:#fff;color:var(--green)}.heading{display:flex;justify-content:space-between;align-items:center}.heading button{border:0;background:none;color:var(--green);font-size:12px;font-weight:700;min-height:44px}.venue{display:flex;align-items:center;gap:13px;padding:10px;background:#fff;border-radius:18px;width:100%;text-align:left;border:1px solid #e8e9e1;margin:8px 0;min-height:95px}.thumb{width:88px;height:76px;border-radius:12px;object-fit:cover;flex-shrink:0}.venue strong{font-size:16px;display:block;margin:4px 0}.meta{font-size:12px;color:#58665d}.status{display:inline-block;font-size:10px;padding:4px 8px;border-radius:20px;font-weight:800;background:var(--sage);color:var(--green)}.status.future{background:#f8e6d9;color:#873f2e}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;align-items:center;padding:8px 4px max(10px,env(safe-area-inset-bottom));z-index:5}.nav button{background:none;border:0;display:grid;justify-items:center;gap:5px;font-size:11px;color:#66776d;min-width:63px;min-height:52px;padding:5px}.nav button.active{color:var(--green);font-weight:800}.nav .add span:first-child{background:var(--green);color:white;border-radius:15px;width:44px;height:40px;display:grid;place-items:center}.back{background:none;border:0;padding:0;min-height:44px;display:flex;align-items:center;gap:5px;font-weight:700;color:var(--green)}.option{display:flex;align-items:center;gap:14px;width:100%;background:#fff;border:1px solid var(--line);border-radius:18px;min-height:77px;text-align:left;padding:13px;margin:10px 0}.option .tile{background:var(--sage);color:var(--green);border-radius:14px;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}.option strong{display:block}.option small{display:block;color:#637168;margin-top:3px}.option>.ico:last-child{margin-left:auto;width:17px}.photo{width:100%;height:145px;border-radius:19px;object-fit:cover;background:#e6e6db}.label{display:block;font-size:12px;font-weight:750;margin:14px 0 6px}.field{width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px;min-height:48px;color:var(--ink)}textarea.field{min-height:76px;resize:vertical}.notice{font-size:12px;background:#ebece4;border-radius:12px;padding:12px;color:#48574e}.actions{display:grid;gap:9px}.note{background:#fff;border-radius:18px;padding:17px;margin:17px 0}.note p{margin:5px 0;color:var(--ink)}.mapbox{position:relative;height:330px;overflow:hidden;border:1px solid #d1d9cb;border-radius:22px;background:#dce4d4}.mapbox>svg{width:100%;height:100%;display:block}.marker{position:absolute;background:var(--green);color:white;border:3px solid white;width:43px;height:43px;border-radius:50% 50% 50% 12%;transform:rotate(-45deg);display:grid;place-items:center;box-shadow:0 4px 8px #0002}.marker .ico{transform:rotate(45deg);width:18px}.marker.future{background:#a9573e}.empty{padding:25px;text-align:center}.footnote{font-size:11px;margin-top:16px;color:#5d6e63}.toast{position:fixed;bottom:83px;left:50%;transform:translateX(-50%);width:min(390px,90%);padding:13px;background:#23332e;color:white;border-radius:12px;z-index:10;font-size:13px}.count{font-size:12px;color:#607268}.hidden{display:none!important}.formfooter{margin-top:17px}.cover{position:relative}.cover .status{position:absolute;bottom:13px;left:13px}.cover .photo{height:185px}.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.file{display:none}@media(min-width:650px){.app{min-height:900px}.nav{position:sticky;bottom:0;left:auto;transform:none;width:100%;margin-top:0}.app{padding-bottom:0}.content{min-height:700px}}
/* Adaptation du prototype au carnet réel. */
.brand{text-decoration:none}.brand img{border-radius:11px}.nav a{display:grid;justify-items:center;gap:4px;min-width:72px;min-height:48px;padding:4px;color:#52675b;font-size:12px;text-decoration:none}.nav a[aria-current]{color:var(--green);font-weight:800}.nav a.add .icon-wrap{background:var(--green);color:white;border-radius:13px;width:42px;height:32px;display:grid;place-items:center}.icon-wrap{display:grid;place-items:center}.primary,.secondary,.venue{text-decoration:none}.hero .primary{margin-top:12px}.hero p{margin:0}.venue{color:inherit}.venue-main{flex:1;min-width:0;overflow-wrap:anywhere}.place-art{width:76px;height:68px;display:grid;place-items:center;border-radius:12px;flex-shrink:0;color:var(--green);background:var(--sage)}.place-art.hotel{background:#e8e4d8}.place-art.bar{background:#f4dfd1;color:#76412d}.place-art svg{width:30px;height:30px}.place-art.cover-art{width:100%;height:124px;margin-bottom:12px}.place-art.cover-art svg{width:44px;height:44px}.note p{white-space:pre-wrap;overflow-wrap:anywhere}.actions{margin-top:16px}.actions .danger{color:#8e3429}.toast{margin:0;color:#fff}.toast:empty{border:0;padding:0;box-shadow:none}.form-error{color:#8e3429;font-weight:700}.form-error:empty{display:none}.chip:focus-visible,a:focus-visible,[tabindex="-1"]:focus-visible{outline:2px solid #9a4f36;outline-offset:3px}.search:focus-within{outline:2px solid #9a4f36;outline-offset:2px}.state{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.state h2{margin:8px 0}.empty{padding:18px;background:#fff;border-radius:16px}.empty p{margin:0 0 12px}.content h1{overflow-wrap:anywhere}.formfooter{display:grid;gap:10px}.nav a span:last-child{line-height:1}.content .chip{flex-shrink:0}.content .two a{text-align:center}.local-note{font-size:12px;color:#52675b}.danger:disabled{opacity:.5}

.hero .hero-manual{color:#fff;font-size:13px;margin-top:3px}
.import-text{min-height:145px!important;margin-bottom:12px}
.import-guide{margin-top:16px;background:#fff;border-radius:16px;border:1px solid var(--line);padding:0 12px 12px}
.import-guide summary{display:flex;align-items:center;min-height:44px;font-weight:750;color:var(--green);cursor:pointer}
.import-guide summary:before{content:'＋';margin-right:8px}.import-guide[open] summary:before{content:'−'}
.import-guide button{margin-top:8px}
.import-duplicate:not(:empty){border-radius:12px;background:#fff0df;padding:10px 12px;margin:12px 0}
.import-duplicate p{margin:0;color:#76412d}.import-duplicate .back{padding:0}

/* Capture rapide et appréciation personnelle. */
.hero-sub{display:block;color:#e0eae4;text-align:center;margin-top:8px;font-size:12px}
.capture-panel{background:white;border:1px solid var(--line);border-radius:20px;padding:15px;margin:14px 0}
.capture-panel h2{margin:0 0 7px}.capture-panel p{margin-bottom:10px}
.capture-panel .import-text{min-height:84px!important;margin:10px 0 7px;background:#fcfbf8}
.capture-actions a,.capture-actions button{text-align:center;min-width:0}
.assistant-panel{background:#edf3ee}.assistant-panel .import-guide{border:0;background:transparent;padding:0;margin-top:5px}
.assistant-panel .import-guide:not([open]){padding-bottom:0}
.assistant-panel .local-note{margin:5px 0 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rating{min-width:0;border:1px solid var(--line);border-radius:16px;background:white;padding:10px 12px 4px;margin:17px 0 10px}
.rating legend{padding:0 4px;font-weight:800;font-size:14px}
.score-current{font-size:12px;margin-left:5px;color:var(--green);font-weight:750}
.rating-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.rating-bar label{position:relative;cursor:pointer;min-width:0;touch-action:manipulation}
.rating-bar input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.rating-bar span{min-height:47px;display:grid;place-items:center;border:1px solid #d5e0d7;border-radius:10px;background:#eef3ed;font-weight:850;color:#204c41}
.rating-bar label:has(~label input:checked) span{background:#dce9df}
.rating-bar input:checked+span{background:var(--green);border-color:var(--green);color:white}
.rating-bar input:focus-visible+span{outline:2px solid #9a4f36;outline-offset:2px}
.rating-hint{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:10px;color:#52675b;white-space:normal}
.clear-score{background:none;border:0;text-decoration:underline;color:var(--green);font-size:11px;min-height:44px;padding:3px}
.score-tag{display:inline-block;margin-left:5px;font-size:11px;font-weight:800;color:#67402d;background:#f8e6d9;border-radius:12px;padding:3px 7px}
.sortline{display:flex;justify-content:flex-end;align-items:center;gap:7px;font-size:12px}.sortline select{width:auto;min-height:44px;padding:6px 9px}
.form-extras{margin-top:16px;border:1px solid var(--line);border-radius:15px;padding:0 12px;background:#fcfbf8}
.form-extras summary{min-height:44px;display:flex;align-items:center;gap:6px;color:var(--green);font-weight:750;cursor:pointer}
.form-extras summary::before{content:'＋'}.form-extras[open] summary::before{content:'−'}
.form-extras summary:focus-visible{outline:2px solid #9a4f36;outline-offset:2px}
