:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Noto Sans TC,sans-serif;color:#1b312c;background:#f6f8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.layout{max-width:1040px;margin:auto;padding:0 24px}.header{height:84px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e9e5}.brand{display:flex;gap:12px;align-items:center;font-size:23px;font-weight:750;letter-spacing:-.8px}.logo{color:#25826c;font-size:32px}.local{color:#447967;font-size:13px}.hero{padding:72px 0 48px;max-width:730px}.eyebrow{color:#21816b;font-size:12px;font-weight:750;letter-spacing:2px}.hero h1{font-size:clamp(32px,5vw,52px);letter-spacing:-2px;line-height:1.2;margin:18px 0}.hero>p:last-child{color:#61736c;line-height:1.9;max-width:620px}.notice{display:flex;gap:12px;background:#e8f3ee;border:1px solid #c8e5d7;border-radius:14px;padding:18px 20px;margin-bottom:28px;color:#28664f;flex-wrap:wrap}.notice span{font-size:14px}.panel{background:#fff;border:1px solid #e3eae6;border-radius:20px;padding:28px;box-shadow:0 8px 32px #213a3009}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel h2{margin:0;font-size:23px}.panel-heading p{margin:8px 0 0;color:#73827a;font-size:14px}.count{font-size:13px;color:#38765f;background:#eff7f2;padding:8px 12px;border-radius:100px;white-space:nowrap}.add{display:flex;gap:12px;margin:28px 0}.add input{flex:1;min-width:0;padding:15px;border:1px solid #d9e3dd;border-radius:11px;font:inherit}.add button{border:0;border-radius:11px;background:#247c65;color:#fff;font-weight:700;padding:0 23px;cursor:pointer}.add button:disabled{opacity:.5;cursor:not-allowed}.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.person{display:flex;align-items:center;gap:10px;border:1px solid #e6ede8;padding:12px;border-radius:12px;min-width:0}.person>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{height:36px;width:36px;display:grid;place-items:center;background:#e5f1eb;border-radius:50%;color:#28745f;font-weight:700}.delete{background:none;border:0;color:#8b5b5b;cursor:pointer}.empty{text-align:center;padding:58px 12px;color:#84928b}.empty-icon{font-size:48px;color:#87b4a3}.empty h3{color:#3b5349;margin:12px 0 4px}.empty p{font-size:14px}footer{text-align:center;padding:32px;color:#93a49b;font-size:12px}.error{color:#b3261e}.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}@media(max-width:600px){.layout{padding:0 16px}.header{height:70px}.local{font-size:11px}.hero{padding:48px 0 30px}.panel{padding:18px}.add{flex-direction:column}.add button{padding:14px}}.person small{display:block;color:#84928b;font-size:11px;margin-top:3px}.person>span{min-width:0}.enroll{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:28px;padding-top:24px;border-top:1px solid #e6ede8}.enroll label{font-weight:650}.enroll select{padding:11px;border:1px solid #d9e3dd;border-radius:9px;max-width:100%}.enroll input{max-width:100%}.photo-panel{margin-top:24px}.photo-panel input{margin-top:12px;max-width:100%}.muted{color:#73827a;line-height:1.7}.photo-frame{position:relative;display:block;width:100%;margin-top:24px}.photo-frame img{display:block;width:100%;height:auto;border-radius:12px}.face-box{position:absolute;border:2px solid #50e3a4;box-shadow:0 0 0 1px #103b2b66;pointer-events:none}.face-box span{position:absolute;bottom:100%;left:-2px;background:#16644e;color:#fff;font-size:12px;padding:4px 7px;white-space:nowrap;border-radius:5px 5px 0 0}.review-panel{margin-top:24px;padding:20px;background:#f6f9f7;border:1px solid #e0ebe5;border-radius:14px}.review-panel h3{margin:0 0 16px}.review-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e0e9e3}.review-index{min-width:70px;font-weight:650}.review-row select{flex:1;min-width:0;padding:10px;border:1px solid #ccdcd3;border-radius:8px;background:#fff;font:inherit}.review-status{font-size:12px;color:#46735d;min-width:52px;text-align:right}.learn-option{display:flex;align-items:flex-start;gap:9px;margin:20px 0 14px;color:#526d5e;font-size:14px;line-height:1.6}.learn-option input{margin-top:4px}.save-review{background:#247c65;color:#fff;border:0;border-radius:10px;padding:12px 22px;font-weight:700;cursor:pointer}.save-review:disabled{opacity:.45;cursor:not-allowed}.review-message{color:#216d52;font-size:14px}@media(max-width:480px){.review-panel{padding:14px}.review-row{gap:6px}.review-index{min-width:56px;font-size:12px}.review-status{min-width:43px;font-size:11px}}.gallery{margin-top:24px}.gallery-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.gallery-toolbar select,.gallery-detail select{padding:10px;border:1px solid #d9e3dd;border-radius:9px;min-width:150px}.gallery-toolbar button{padding:11px 16px;background:#247c65;border:0;border-radius:10px;color:#fff;font-weight:700;cursor:pointer}.gallery-toolbar button:disabled{opacity:.45;cursor:not-allowed}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.gallery-tile{border:1px solid #e1e9e5;background:#fff;border-radius:12px;overflow:hidden;text-align:left;cursor:pointer;padding:0;min-width:0}.gallery-tile img{width:100%;height:125px;object-fit:cover;display:block}.gallery-tile span{display:block;padding:9px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-detail{margin-top:24px;padding:18px;border:1px solid #dbe9e0;border-radius:12px}.gallery-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.gallery-detail-heading h3{overflow-wrap:anywhere}.gallery-detail-heading button{border:0;background:#edf4ef;border-radius:8px;padding:9px;cursor:pointer}button,input,select{font:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #80bba7;outline-offset:3px}.global-status{padding:14px 18px;background:#edf6f0;border-radius:10px}.global-error{white-space:pre-wrap;overflow-wrap:anywhere}.person-selected{border-color:#247c65;background:#f4faf7}.person-pick{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;background:none;border:0;padding:0;cursor:pointer;color:inherit}.person-pick>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.person-pick .avatar{flex-shrink:0}.reference-panel{margin-top:24px;padding-top:24px;border-top:1px solid #e6ede8}.reference-panel h3{margin:0;font-size:18px}.reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;margin-top:20px}.reference-tile{border:1px solid #dfe9e3;border-radius:12px;overflow:hidden;max-width:200px}.reference-tile>img{width:100%;aspect-ratio:1;object-fit:contain;display:block;background:#eef3ef}.reference-actions{display:flex;justify-content:space-between;gap:8px;padding:10px}.text-button{border:0;background:none;color:#247c65;padding:0;cursor:pointer;font-size:13px}.legacy-reference{min-height:125px;background:#eef3ef;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:14px;gap:8px;color:#496b5b}.legacy-reference small{font-size:11px;color:#73827a}.secondary{background:#edf5f0;color:#24634f;border:1px solid #cfdfd5;border-radius:9px;padding:10px 14px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.5}.file-label{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:14px;font-weight:600;color:#315e4c}.file-label input{min-width:0;max-width:100%;font-size:14px}.file-label input::file-selector-button{background:#247c65;color:#fff;border:0;border-radius:9px;padding:11px 15px;margin-right:10px;font-weight:600;cursor:pointer}.album-import{margin-top:24px}.album-import .muted{font-size:13px}.reference-hint{padding:14px 16px;border-radius:10px;background:#eef6f0;color:#2f6c51;font-size:14px;line-height:1.7}.album-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.gallery-toolbar input{padding:11px 12px;min-width:0;max-width:100%;flex:1;border:1px solid #d9e3dd;border-radius:9px;background:#fff}.gallery-tile small{display:block;padding:0 9px 10px;color:#73827a;font-size:11px}.tile-selected{border:2px solid #247c65;box-shadow:0 0 0 2px #247c6514}.album-face-row{flex-wrap:wrap}.album-face-row .secondary{font-size:12px}.gallery{scroll-margin-top:20px}.gallery-detail .photo-frame{max-width:100%;overflow:hidden}.gallery-detail .photo-frame img{border-radius:8px}.panel-heading{flex-wrap:wrap}.hero{padding-top:50px}.hero h1{font-size:clamp(30px,5vw,46px)}@media(max-width:600px){.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-actions{flex-wrap:wrap;font-size:12px}.gallery-toolbar input{flex-basis:100%}.album-face-row>label{font-size:13px}.album-face-row select{min-width:100px}.album-face-row .secondary{flex-basis:100%}.reference-panel .panel-heading{align-items:flex-start}.reference-tile{max-width:none}.gallery-detail{padding:12px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-tile img{height:140px}}
