:root{color-scheme:light;--ink:#25352d;--muted:#748078;--green:#294b3a;--green-dark:#193c2c;--line:#e4e8e3;--canvas:#f6f7f4;--soft:#eaf0e8;--red:#ad3f42;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic UI","Meiryo",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.photo-picker:has(+input:focus-visible){outline:3px solid #81a68d;outline-offset:4px}button:active{transform:translateY(1px)}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:256px;flex-shrink:0;padding:37px 24px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-family:Georgia,"Times New Roman",serif;font-weight:600;font-size:23px;white-space:nowrap;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:40px;height:43px;border-radius:12px;background:var(--green);color:white}.brand-mark svg{width:27px;height:27px}.brand small{font:11px "Yu Gothic UI",sans-serif;letter-spacing:1.2px;display:block;color:var(--muted);margin-top:1px}.nav-caption{font-size:10px;color:#8a948d;letter-spacing:2px;margin:58px 14px 16px}.nav-button{border:0;background:transparent;display:flex;align-items:center;gap:12px;min-height:49px;width:100%;padding:11px 14px;border-radius:7px;font-size:14px;text-align:left;margin-bottom:8px}.nav-button svg{width:18px;height:18px}.nav-button.active{background:var(--soft);color:var(--green);font-weight:600}.nav-button:hover{background:#f2f5f0}.nav-count{margin-left:auto;font-size:12px;font-weight:500;border-radius:5px;padding:0 6px;color:#708275}.sidebar-bottom{margin-top:auto;padding-top:64px}.backup-button{padding-left:8px;font-size:13px}.local-note{border-top:1px solid var(--line);padding:22px 6px 16px;display:flex;gap:10px;color:#687a6b}.local-note svg{margin-top:4px;width:17px}.local-note strong{font-weight:500;font-size:12px}.local-note p{font-size:10px;margin:5px 0}.version{color:#98a198;font-size:9px;letter-spacing:1px;padding-left:6px}main{margin-left:256px;width:calc(100% - 256px);max-width:1700px;padding:55px 54px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:40px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:#879284;margin:0 0 10px}h1{font-size:29px;font-weight:600;letter-spacing:1px;margin:0;line-height:1.55}.title-dot{color:#97a88b}.page-description{font-size:13px;color:var(--muted);margin:9px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid transparent;border-radius:7px;padding:10px 21px;font-size:14px;font-weight:500;white-space:nowrap;transition:background .15s}.primary{color:#fff;background:var(--green)}.primary:hover{background:var(--green-dark)}.secondary{border-color:var(--line);background:#fff}.secondary:hover{background:var(--soft)}.button svg{width:18px;height:18px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px}.category-tabs{display:flex;gap:7px;flex-wrap:wrap}.category{border:0;background:transparent;border-radius:6px;min-height:39px;padding:9px 16px;color:#7a837c;font-size:13px;white-space:nowrap}.category:hover{background:#e9eee6}.category.active{background:var(--green);color:#fff}.search-box{display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;width:243px;flex-shrink:0;color:#9ba49b}.search-box svg{width:17px;height:17px}.search-box input{width:100%;border:0;background:transparent;outline:none;font-size:13px;color:var(--ink);min-width:0}.search-box:focus-within{outline:2px solid #81a68d;outline-offset:2px}input::placeholder,textarea::placeholder{color:#a0a69f}.collection-meta{display:flex;align-items:center;justify-content:space-between;margin:20px 0 22px;font-size:12px;color:var(--muted)}.collection-meta p{margin:0}.collection-meta strong{color:var(--ink);font-weight:600;margin-right:4px;font-size:14px}#filter-description{margin-left:12px}.sort-label{display:flex;align-items:center;gap:7px}.sort-label select{border:0;background:transparent;color:#657369;font-size:12px;padding:6px 2px}.item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px}.item-card{position:relative;min-width:0}.card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;border-radius:9px}.card-photo{width:100%;aspect-ratio:4/5;position:relative;overflow:hidden;background:#eeefeb;border:1px solid #e9ece5;border-radius:9px;display:grid;place-items:center;transition:box-shadow .2s}.card-photo img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.card-open:hover .card-photo{box-shadow:0 4px 18px #293b2d14}.no-photo{display:flex;flex-direction:column;align-items:center;gap:9px;color:#a1ad9d;font-size:11px}.no-photo svg{width:43px;height:43px;stroke-width:1}.card-favorite{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #ffffffa8;background:#fffffff2;color:#8b978b;box-shadow:0 2px 8px #20372a06}.card-favorite svg{width:16px;height:16px}.card-favorite[aria-pressed=true]{color:#426a4b}.card-favorite[aria-pressed=true] svg{fill:#426a4b}.card-info{padding:14px 2px 0}.card-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8a958a;letter-spacing:.8px}.card-kicker .tag{letter-spacing:0}.card-info h3{font-weight:500;font-size:14px;line-height:1.5;margin:7px 0 7px;overflow-wrap:anywhere}.card-metadata{font-size:11px;color:#8a9389;display:flex;gap:7px;flex-wrap:wrap}.tag{display:inline-block;border:1px solid #dce4d8;border-radius:4px;padding:2px 7px;font-size:10px;color:#6d8165;font-weight:400}.empty-state{text-align:center;padding:62px 20px 64px;background:#fff;border:1px dashed #dbe3d6;border-radius:12px;min-height:440px}.empty-icon{display:grid;place-items:center;margin:0 auto 24px;border-radius:50%;background:#f1f4ed;width:83px;height:83px;color:#74886a}.empty-icon svg{width:42px;height:42px;stroke-width:1.1}.empty-state h2{font-size:23px;font-weight:500;letter-spacing:1px;margin:10px 0 12px}.empty-state p{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 25px}.empty-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:25px;font-size:10px;color:#a2aaa0;margin-top:38px}.page-footer{display:flex;justify-content:space-between;gap:15px;padding:34px 0 0;color:#98a192;font-size:10px;letter-spacing:.3px}.page-footer span:last-child{display:flex;align-items:center;gap:6px}.page-footer svg{width:13px;height:13px}dialog{border:1px solid var(--line);border-radius:15px;padding:30px;width:min(820px,calc(100% - 36px));max-height:calc(100dvh - 50px);color:var(--ink);background:#fff;box-shadow:0 20px 100px #162a2430}dialog::backdrop{background:#162a2466;backdrop-filter:blur(4px)}.dialog-heading,.detail-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.dialog-heading h2,dialog h2{font-size:22px;margin:0;font-weight:600}.dialog-heading .eyebrow{margin-bottom:5px}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#f3f5f0;color:#70816d;flex-shrink:0}.editor-layout{display:grid;grid-template-columns:250px 1fr;gap:30px}.photo-picker{position:relative;display:grid;place-items:center;aspect-ratio:4/5;width:100%;border:1px dashed #bdc9b7;border-radius:8px;background:#f4f6f0;cursor:pointer;overflow:hidden}.photo-picker img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}#photo-placeholder{display:flex;align-items:center;flex-direction:column;gap:10px;color:#89997e;font-size:11px}#photo-placeholder svg{width:35px;height:35px;margin-bottom:3px}#photo-placeholder strong{font-size:14px;font-weight:500}.photo-change{position:absolute;bottom:12px;background:#fffffff0;padding:6px 15px;border-radius:5px;font-size:12px}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.field-help{font-size:11px;color:#8b9587;font-weight:400;line-height:1.8;margin-top:9px}.fields{display:flex;flex-direction:column;gap:15px}.fields>label,.field-row>label{display:block;font-size:13px;font-weight:500}.fields input:not([type=checkbox]),.fields select,.fields textarea{display:block;width:100%;background:#fff;border:1px solid #dde4d8;border-radius:6px;min-height:42px;padding:9px 11px;margin-top:5px;color:var(--ink);font-size:14px}.fields textarea{resize:vertical;min-height:80px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.required{font-size:9px;letter-spacing:0;color:#899b7f;margin-left:4px}.fields fieldset{padding:0;border:0;margin:0}.fields legend{font-size:13px;font-weight:500;margin-bottom:8px}.fields legend .field-help{margin-left:8px}.season-choices{display:flex;gap:9px}.season-choices label{flex:1;cursor:pointer;position:relative}.season-choices input{position:absolute;opacity:0}.season-choices span{display:block;text-align:center;padding:7px;border:1px solid #dde4d8;border-radius:6px;font-size:13px}.season-choices input:checked+span{background:var(--soft);border-color:#6f8b68;color:var(--green)}.season-choices input:focus-visible+span{outline:3px solid #81a68d;outline-offset:3px}.fields .checkbox-label{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}.checkbox-label input{accent-color:var(--green);width:16px;height:16px}.checkbox-label svg{width:16px;height:16px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.text-button{background:transparent;border:0;padding:5px 0;color:#788f6b;font-size:12px;text-decoration:underline;text-underline-offset:4px}.danger{color:var(--red);margin-right:auto}.notice{font-size:13px;border-radius:6px;padding:12px 15px;line-height:1.7}.error{background:#fbefeb;color:#a64c3f}.detail-top .eyebrow{margin:0}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px}.detail-photo{aspect-ratio:4/5;background:#f3f5ee;border-radius:8px;overflow:hidden;display:grid;place-items:center}.detail-photo img{width:100%;height:100%;object-fit:contain}.detail-content{min-width:0}.detail-id{font-size:12px;color:var(--muted);margin-bottom:7px;overflow-wrap:anywhere}.detail-content h2{margin-bottom:12px;overflow-wrap:anywhere}.detail-content .tag{font-size:12px}.detail-content dl{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 20px;padding:14px 0;font-size:13px}.detail-content dl div{display:flex;gap:24px;padding:6px 0}.detail-content dt{width:40px;flex-shrink:0;color:var(--muted)}.detail-content dd{margin:0;overflow-wrap:anywhere}.detail-content h3{font-size:12px;color:var(--muted);font-weight:400;margin-bottom:8px}.memo{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px;line-height:1.9}.detail-content .button{font-size:12px}#detail-favorite[aria-pressed=true]{background:var(--soft)}#detail-favorite[aria-pressed=true] svg{fill:var(--green);color:var(--green)}.small-dialog{max-width:520px}.backup-intro,.backup-section p,#confirm-message{font-size:13px;color:var(--muted);line-height:1.8}.backup-section{border-top:1px solid var(--line);padding:15px 0 8px;margin-top:18px}.backup-section h3{font-size:14px;font-weight:600}.backup-section .button{font-size:13px}.storage-help{font-size:11px;color:#85917d;line-height:1.9;margin-top:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:10;border-radius:8px;box-shadow:0 8px 40px #162a2426;background:#294b3a;color:#fff;max-width:calc(100vw - 28px);padding:13px 23px;font-size:13px;pointer-events:none}
@media(min-width:1650px){.item-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1250px){.sidebar{width:225px;padding:32px 18px 24px}main{margin-left:225px;width:calc(100% - 225px);padding:40px 32px 24px}.brand{font-size:21px}.brand-mark{width:35px;height:40px}.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar{flex-wrap:wrap}.search-box{width:100%;max-width:320px}.page-heading{margin-bottom:30px}h1{font-size:26px}}@media(max-width:900px){.sidebar{width:198px;padding:27px 13px 20px}.brand{font-size:19px;gap:8px}.brand small{font-size:9px}.brand-mark{width:33px;height:38px}.nav-button{padding:10px;font-size:12px;gap:8px}main{margin-left:198px;width:calc(100% - 198px);padding:35px 25px 24px}.page-heading{align-items:flex-start}h1{font-size:23px}.eyebrow{font-size:9px}.page-heading .button{font-size:12px;padding:9px 13px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.local-note p{font-size:9px}.toolbar{gap:14px}.category{padding:8px 12px}.page-footer{flex-direction:column;gap:8px}}@media(max-width:640px){.app-shell{display:block}.sidebar{position:static;width:100%;border-right:0;border-bottom:1px solid var(--line);padding:20px 20px 0;display:grid;grid-template-columns:1fr auto;gap:19px 12px}.brand{font-size:23px;gap:10px}.brand small{font-size:10px}.brand-mark{width:36px;height:40px}.nav-caption,.local-note,.version{display:none}.sidebar nav{display:flex;gap:8px;grid-column:1/-1;grid-row:2}.nav-button{margin:0;min-height:43px;font-size:13px;padding:9px 13px}.sidebar nav .nav-button{width:auto;min-width:140px;border-radius:7px 7px 0 0}.nav-count{margin-left:5px}.sidebar-bottom{padding:0;margin:0;grid-column:2;grid-row:1;align-self:center}.backup-button{padding:10px;min-width:42px;justify-content:center}.backup-button>span{display:none}.backup-button svg{width:21px;height:21px}main{margin:0;width:100%;padding:28px 20px 22px}.page-heading{gap:10px;align-items:center;margin-bottom:28px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:21px;letter-spacing:0}.page-description{font-size:11px}.page-heading .button{font-size:12px;min-height:42px;padding:9px 12px;gap:5px}.page-heading .button svg{width:16px}.category-tabs{width:100%;gap:3px;justify-content:space-between}.category{font-size:12px;padding:8px 10px;min-height:39px}.search-box{width:100%;max-width:none;min-height:43px}.search-box input{font-size:16px}.toolbar{padding-bottom:18px;gap:17px}.collection-meta{margin:16px 0 20px}.item-grid{gap:25px 14px}.card-photo{border-radius:7px}.card-favorite{top:9px;right:9px;width:32px;height:32px}.card-info{padding-top:11px}.card-kicker{font-size:9px;gap:4px;letter-spacing:.3px}.card-kicker .tag{font-size:9px;padding:1px 5px}.card-info h3{font-size:13px}.card-metadata{font-size:10px}.empty-state{padding:43px 15px;min-height:420px}.empty-state h2{font-size:19px}.empty-state p{font-size:12px}.empty-categories{gap:19px;font-size:10px}.page-footer{font-size:9px;padding-top:28px}.editor-layout,.detail-layout{grid-template-columns:1fr;gap:24px}dialog{padding:23px 20px;border-radius:12px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.photo-column{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.photo-picker{width:145px;aspect-ratio:4/4.5}.photo-column .field-help{flex:1;min-width:120px;font-size:10px}.photo-column .text-button{width:100%;text-align:left}.fields input:not([type=checkbox]),.fields select,.fields textarea{font-size:16px}.fields>label,.field-row>label,.fields legend{font-size:13px}.fields{gap:18px}.detail-photo{max-height:350px;aspect-ratio:1;width:100%}.detail-content h2{font-size:23px}.dialog-actions{padding-top:19px;margin-top:23px}.dialog-actions .button{flex:1}#detail-dialog .dialog-actions .button{flex:0}.small-dialog .dialog-actions .button{flex:1}.storage-help{font-size:12px}#toast{bottom:18px;width:max-content;max-width:calc(100vw - 30px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:360px){main{padding-left:14px;padding-right:14px}h1{font-size:18px}.category{padding:8px}.sidebar nav .nav-button{min-width:125px}.page-heading .button{font-size:11px;padding:8px}.empty-state h2{font-size:17px}}
:root{--muted:#657269}.brand small{font-size:12px}.nav-caption{font-size:12px}.backup-button{font-size:14px}.local-note strong{font-size:14px}.local-note p{font-size:12px}.version{font-size:10px}.eyebrow{font-size:12px}.page-description{font-size:14px}.category{font-size:14px}.search-box input{font-size:14px}.collection-meta,.sort-label select{font-size:12px}.card-kicker,.card-metadata,.tag{font-size:12px}.card-info h3{font-size:16px}.empty-state p{font-size:14px}.empty-categories{font-size:12px}.page-footer{font-size:12px}.field-help,.photo-change,.text-button,.fields .checkbox-label,.storage-help{font-size:12px}.fields>label,.field-row>label,.fields legend,.season-choices span,.detail-content dl,.memo,.backup-intro,.backup-section p,#confirm-message{font-size:14px}.required{font-size:11px}.detail-content h3{font-size:14px}.detail-content .button{font-size:14px}.backup-section .button{font-size:14px}#photo-placeholder{font-size:12px}
@media(max-width:640px){.brand small{font-size:11px}.page-heading .eyebrow{font-size:10px}.page-description{font-size:12px}.category{font-size:13px;padding:8px}.search-box input{font-size:16px}.card-kicker,.card-kicker .tag,.card-metadata{font-size:12px}.card-kicker{flex-wrap:wrap}.card-info h3{font-size:14px}.empty-state p{font-size:14px}.page-footer{font-size:11px}.photo-column .field-help{font-size:12px}.fields>label,.field-row>label,.fields legend{font-size:14px}}
.button.destructive{background:var(--red);color:#fff}.button.destructive:hover{background:#8f3034}.button.destructive:focus-visible{outline-color:#d78b8e}.button.destructive:disabled{opacity:.55}
#confirm-dialog.confirm-caution #confirm-message{padding:12px 15px;border:1px solid #dcae9b;border-radius:6px;background:#fff8f3;color:#825640}
.filter-title{margin:0 0 9px;color:var(--green);font-size:13px;font-weight:600}.card-info h3{margin:0 0 6px}.card-metadata{margin-top:6px}

.backup-destination-line{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:13px!important}.backup-destination-line strong{color:var(--ink);font-weight:600;overflow-wrap:anywhere}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.backup-actions .button{flex:1 1 190px}.backup-section>.storage-help{margin:10px 0 0}
