/* LINE uses the approved reading paper, illustration and original App icon. */
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif;line-height:1.7;color-scheme:light}
*{box-sizing:border-box}.line-page{margin:0;min-height:100svh;background:radial-gradient(ellipse at 8% 2%,#e4f0de 0,transparent 40%),radial-gradient(ellipse at 95% 30%,#fff0c2 0,transparent 40%),var(--reading-paper,#fbf8ef);color:var(--reading-ink,#4d3529)}
.line-page main{max-width:1060px;margin:auto;padding:24px 30px 44px}.line-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.line-back{min-height:44px;display:inline-flex;align-items:center;font-size:14px}.line-page a{color:var(--reading-green,#486c51)}.line-page .reading-brand{color:var(--reading-ink,#4d3529)}
.line-welcome{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);align-items:center;gap:24px;padding:18px 24px 24px}.line-eyebrow{font-size:12px;letter-spacing:.08em;color:var(--reading-green,#486c51);font-weight:650}.line-welcome h1{font-size:34px;line-height:1.35;margin:6px 0 14px}.line-welcome p{margin:8px 0}.line-welcome-art{width:100%;max-width:280px;height:220px;object-fit:contain;justify-self:center}.line-intro{max-width:470px;font-size:14px;color:var(--reading-muted,#716454)}
.line-steps{display:flex;justify-content:center;gap:32px;list-style:none;padding:0;margin:12px 0 24px;color:var(--reading-green,#486c51);font-size:14px}.line-steps li{display:flex;align-items:center;gap:8px}.line-steps span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e7eedf;font-weight:700;flex:none}
.line-page .notice,.line-status-card,.line-page fieldset,.line-card{background:#fffef9;border:1px solid var(--reading-line,#e6dcc8);border-radius:24px;padding:24px;box-shadow:0 8px 28px #6b4c1709}.line-page .notice{background:#f0f4e8;border-color:#d7e1c9;margin-bottom:18px}.notice strong{font-size:16px}.notice p{font-size:14px;margin:8px 0 0;color:#4d604b}.line-status-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;padding:12px 20px}.line-status-card p{font-size:14px;margin:8px 0}.line-page .line-status-card button{flex:none;margin:0}
.line-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:24px;align-items:start}.line-page fieldset{min-width:0;margin:0;padding-top:12px}.line-page legend{font-size:20px;font-weight:700;padding:0 8px}.line-sidebar{display:grid;gap:24px;padding-top:15px}.line-card h2{font-size:20px;margin:0 0 12px}.line-card p{font-size:14px}.line-card p:last-child{margin-bottom:0}.line-page label{display:block}.line-page button,.line-page input{font:inherit;max-width:100%;touch-action:manipulation}.line-page button{display:block;min-height:48px;padding:11px 16px;margin:14px 0;border-radius:14px;border:1px solid #e5c36c;background:#ffe28b;color:#4d3529;cursor:pointer;font-weight:650}.line-page button.secondary,#line-groups button{background:#fffef9;color:var(--reading-green,#486c51);border:1px solid var(--reading-line,#e6dcc8)}.line-page button:disabled{opacity:.55;cursor:default}.line-page button:hover:enabled{filter:brightness(.98)}
#line-linked{font-size:14px;color:var(--reading-green,#486c51)}#line-current{font-weight:650}#line-album-filter{width:100%;min-height:52px;padding:12px 14px;border:1px solid #ded8cb;border-radius:14px;background:#fff;color:#4d3529;margin:10px 0 12px;font-size:16px}.album-choices{max-height:20rem;overflow:auto;border:1px solid var(--reading-line,#e6dcc8);border-radius:16px;background:#fff}.line-page .album-choice{display:flex;align-items:flex-start;gap:12px;padding:14px;min-height:54px;cursor:pointer;overflow-wrap:anywhere}.album-choice+.album-choice{border-top:1px solid #f0ebdf}.album-choice input,.check input{accent-color:#486c51;flex:none;width:20px;height:20px;margin:4px 0 0}.album-choice input:checked+span{font-weight:700}.album-choices>p{padding:0 14px}#line-selection-count{font-size:13px;color:var(--reading-muted,#716454)}.line-page .check{display:flex;align-items:flex-start;gap:12px;margin:20px 0;font-size:14px}.line-page fieldset:disabled .album-choice{cursor:default}.line-page fieldset>button{width:100%}#line-unlink{margin-top:20px;font-size:14px}
.line-page p,.line-page li,.line-page span{overflow-wrap:anywhere}.line-page ul{padding-left:20px}#line-items{font-size:14px}#line-items small{display:block;color:var(--reading-muted,#716454);margin:4px 0 14px;font-size:12px}.line-footer{border-top:1px solid var(--reading-line,#e6dcc8);margin-top:30px;padding:18px 8px 0;text-align:center;font-size:12px;color:var(--reading-muted,#716454)}.line-footer p{margin:0 0 8px}.line-footer a{display:inline-flex;align-items:center;min-height:44px}.line-page [hidden]{display:none!important}
@media(max-width:760px){.line-page main{padding:18px 18px 30px}.line-header{gap:10px;margin-bottom:10px}.line-back{font-size:13px}.line-welcome{padding:12px 4px 18px;grid-template-columns:minmax(0,1fr) 120px;gap:12px}.line-welcome h1{font-size:27px}.line-welcome-art{height:160px}.line-intro{grid-column:1/-1}.line-layout{grid-template-columns:minmax(0,1fr);gap:22px}.line-sidebar{padding-top:0;gap:22px}.line-page .notice,.line-page fieldset,.line-card{padding:20px;border-radius:22px}.line-page fieldset{padding-top:12px}.line-status-card{display:block;padding:14px 18px}.line-page .line-status-card button{margin-top:12px}.line-steps{gap:16px;font-size:12px}.line-steps li{gap:5px}.line-steps span{width:24px;height:24px}.line-footer{text-align:left}}
@media(max-width:420px){.line-welcome{grid-template-columns:minmax(0,1fr);text-align:center}.line-welcome-art{grid-row:1;height:120px;width:190px}.line-welcome h1{font-size:28px}.line-eyebrow{margin-top:0}.line-intro{margin-left:auto!important;margin-right:auto!important}.line-steps{gap:12px}.line-header .reading-brand{font-size:17px}.line-header .reading-brand small{font-size:10px}}

.line-import-section{margin-top:24px}.line-import-section>h2{margin-top:0}
.line-page #line-items{list-style:none;padding:0;margin:18px 0 0;max-height:44rem;overflow:auto;scrollbar-gutter:stable}
.line-item{border:1px solid #e6dcc8;border-radius:16px;padding:14px;margin:0 0 12px;background:#fffdf7}
.line-item-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px}
.line-item-kind{font-size:12px;font-weight:650;color:#486c51;background:#edf2e6;padding:2px 8px;border-radius:8px}
.line-item time,.line-updated{font-size:12px!important;color:#716454}
.line-item .line-item-status{font-size:14px;font-weight:650;line-height:1.65;margin:0}
.line-item .line-item-detail{font-size:12px;margin:6px 0 0;color:#716454}
.line-item[data-stage="uploaded"]{background:#f0f6e9;border-color:#cbdcbc}.line-item[data-stage="uploaded"] .line-item-status{color:#335738}
.line-item[data-stage="excluded"]{background:#f5f2ec}.line-item[data-stage="excluded"] .line-item-status{color:#635749}
.line-item[data-stage="recognizing"],.line-item[data-stage="uploading"]{border-color:#d6bf79;background:#fffae9}
.line-item[data-stage="blocked"],.line-item[data-stage="unknown"],.line-item[data-stage="failed"]{border-color:#e0cab0}.line-item[data-stage="blocked"] .line-item-status,.line-item[data-stage="unknown"] .line-item-status,.line-item[data-stage="failed"] .line-item-status{color:#795333}
.line-empty{padding:16px 4px;color:#716454}
/* Hank1107: a group binding link shows only the target group and album choice. */
body.line-group-binding .reading-skip,body.line-group-binding .app-subtitle,body.line-group-binding .line-bound-groups,body.line-group-binding .line-recent,body.line-group-binding #line-golden,body.line-group-binding .line-footer p,body.line-group-binding .line-source-settings>summary,body.line-group-binding .line-source-settings>.app-note,body.line-group-binding #line-controls>legend,body.line-group-binding #line-linked,body.line-group-binding #line-current,body.line-group-binding #line-processing-notice,body.line-group-binding #line-direct,body.line-group-binding #line-unlink,body.line-group-binding #line-refresh{display:none!important}
#line-bind-target{display:flex;flex-direction:column;gap:4px;margin:0 0 14px;padding:16px 20px;background:#eef3e8;border-radius:18px;overflow-wrap:anywhere}#line-bind-target[hidden]{display:none}#line-bind-target span{font-size:13px;color:#486c51}#line-bind-target strong{font-size:20px;color:#4d3529}
body.line-group-binding .line-status-card{padding:0 4px!important;background:none!important;border:0!important;box-shadow:none!important;margin:0 0 12px!important}body.line-group-bound .line-source-settings{display:none!important}body.line-group-binding #line-bind-done{display:inline-block;margin-top:12px}#line-bind-done[hidden]{display:none!important}body.line-group-binding .line-source-settings{padding:16px}body.line-group-binding #line-controls{padding:0;border:0;box-shadow:none;background:none}
/* Hank 2026-11-22: create the first album in place when a new account has none. */
.album-choices.line-albums-creating{max-height:none;overflow:visible;border:0;background:transparent}
.line-album-create{display:grid;gap:8px;padding:14px;border:1px dashed #b9c7bd;border-radius:14px;background:#f8fbf8;max-width:100%;box-sizing:border-box}
.line-album-create p{margin:0}
.line-album-create label{font-weight:600}
.line-album-create input{min-height:44px;font-size:16px;box-sizing:border-box;width:100%;max-width:100%}
.line-album-create .line-album-create-submit{min-height:44px;font-size:16px;font-weight:700}
