/* Screen composition and compatibility with existing app markup. Values use v2 tokens. */
.intro{margin:0;max-width:none;color:var(--ink);font-size:16px}.intro h1,.shared-heading h1,.shared-unavailable h1{font-size:56px;line-height:60px;overflow-wrap:anywhere}.intro p{font-size:17px;line-height:28px}
.site-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}.brand-mark .icon{width:27px;height:27px}.header-label{font-size:14px}.sign-out{font-size:16px}
.login{width:min(calc(100% - var(--page-gutter)*2),880px)}.login-content{padding:var(--form-padding)}.login h1{font-size:40px;line-height:44px}.login-intro{font-size:17px;line-height:28px;margin:12px 0}.auth-switch{font-size:14px;line-height:22px;margin-bottom:24px}.auth-switch a,.auth-return a,.demo-fill{min-height:var(--height-control)}
.login-form{gap:8px}.login-form label{font-size:16px;line-height:24px}.login-form label[for="login-password"],.login-form .next-field{margin-top:16px}.login-submit{margin-top:24px;width:100%}.login-form .password-field input{min-height:52px}.login-form .password-field button{margin:0;font-size:14px}.demo-note{padding:16px;margin-top:24px}.login-illustration p{font-size:32px;line-height:36px}
.auth-feedback:not(:empty),#login-feedback:not(:empty),.form-error:not([hidden]),#shared-save-error:not(:empty){padding:16px;border-radius:9px;background:var(--error-bg);color:var(--error);font-size:14px;line-height:22px}.auth-feedback:empty{display:none}
.search-box input{flex:1}.search-clear{background:transparent}.collection-tools{gap:16px}.collection-meta{margin-block:24px 16px}.recipe-list{gap:16px}.recipe-info{justify-items:start}.recipe-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px;line-height:22px;color:var(--secondary)}.recipe-meta>span{display:inline-flex;align-items:center;gap:8px}.recipe-meta .icon{width:17px;height:17px}.recipe-cover:has(img:not([hidden]))>.icon{display:none}.recipe-cover img{display:block}.recipe-tags{margin:0;align-items:center}.recipe-arrow{display:none}
.add-form{gap:24px}.add-form label{gap:8px;font-size:16px;line-height:24px}.add-form label>span{font-size:14px;line-height:22px}.add-form .control,.add-form textarea,.add-form select{font-weight:400}.add-form textarea{min-height:160px}.add-form button{justify-self:start}.add-form .source-options label{display:block}.source-picker legend{margin-bottom:8px}.source-fields,.source-import{gap:12px}.source-fields input[type=file]{padding:8px;font-size:14px}.source-fields input::file-selector-button{min-height:48px}.add-form details{padding:0}.add-form summary{min-height:56px;padding:16px 0}.add-form details .source-fields{gap:24px;padding:8px 0 24px}.field-hint{font-size:14px;line-height:22px}.add-form button:disabled{opacity:1;cursor:default}.source-import .field-hint[data-error=true]{padding:16px;background:var(--error-bg);border-radius:9px;color:var(--error)}
.pdf-retention{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;padding:12px 0;border-block-start:1px solid var(--line);cursor:pointer}
.add-form [hidden]{display:none}
.pdf-retention input{inline-size:20px;block-size:20px;margin:2px 0 0;accent-color:var(--ink)}
.pdf-retention small{display:block;font-size:inherit;line-height:inherit}
#import-candidates{min-width:0;width:100%;text-overflow:ellipsis}
.dialog-bar>span{display:inline-flex;align-items:center;gap:8px}.dialog-actions{gap:12px}.dialog-body h2{font-size:40px;line-height:44px}.dialog-source{margin:12px 0 24px;font-size:14px;line-height:22px}.dialog-tags{margin:0 0 24px}.dialog-body.source-image{display:block}.dialog-body.source-image img{width:100%;max-width:100%;height:auto;transform:none}.edit-form-actions{display:grid;gap:12px}.recipe-print-actions{margin-bottom:24px}
.full-recipe{font-size:17px;line-height:28px;gap:32px;padding-top:32px}.full-recipe h3,.shared-content h2{font-size:26px;line-height:32px;margin-bottom:12px}.full-recipe ul{margin-bottom:32px}.full-recipe ul li{gap:12px;padding:8px 0}.full-recipe ol li{margin-bottom:12px}.recipe-qualification{font-size:14px;line-height:22px;margin:12px 0 32px}.shared-content .full-recipe{gap:48px;padding-top:32px}.shared-view{padding-top:32px}.shared-save{padding:24px}.shared-save h2{font-size:26px;line-height:32px}.shared-save>p{font-size:17px;line-height:28px}.shared-save .shared-demo{font-size:14px;line-height:22px}.shared-save .primary{padding-inline:24px}.shared-heading .print-button{font-size:16px}.shared-meta{font-size:14px;line-height:22px}.shared-open{min-height:56px;font-size:16px;line-height:24px;padding:15px 24px}.shared-source{min-height:48px}.shared-tags{margin-top:16px}
#shared-save-status:not(:empty){padding:16px;border-radius:9px;background:var(--mint);color:var(--success);font-size:14px;line-height:22px}.empty-state .empty-icon{margin-inline:auto}.empty-state .empty-icon .icon{width:32px;height:32px}
@media(max-width:800px){.shared-content .full-recipe{gap:32px}.shared-save{padding:24px}}
@media(max-width:660px){.intro h1,.shared-heading h1,.shared-unavailable h1{font-size:40px;line-height:44px}.login h1,.dialog-body h2{font-size:32px;line-height:36px}.login{width:calc(100% - var(--page-gutter)*2);margin-top:32px}.login-content{padding:24px var(--form-padding)}.intro{padding-block:32px}.collection-tools{gap:16px}.add-button{width:100%;justify-self:stretch}.site-header{gap:8px}.site-footer{font-size:14px}.header-label{font-size:12px}.shared-view{padding-top:32px}.shared-heading{gap:32px;margin-bottom:32px}.shared-save h2{font-size:26px;line-height:32px}.shared-meta{font-size:14px}.dialog-actions{gap:8px}.dialog-bar .edit-button{padding-inline:12px}.edit-form-actions{grid-template-columns:1fr}.add-form button[type=submit],.add-form .actions button,.source-import .secondary{width:100%;justify-self:stretch}.source-options .source{font-size:15px}.full-recipe{grid-template-columns:1fr}.login-kicker{margin-bottom:16px}}
/* Print remains the established A4 recipe, independent of screen typography. */
.auth-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;text-underline-offset:3px}.login h1{overflow-wrap:anywhere}
.auth-feedback[data-success=true]:not(:empty){background:var(--mint);color:var(--success)}
@media print{#print-sheet .full-recipe{font-size:10pt;line-height:1.5;padding:0;gap:24px}#print-sheet .recipe-qualification{font-size:7pt;line-height:1.5;margin:8px 0}#print-sheet .full-recipe ul{margin-bottom:12px}}
.form-error:empty{display:none}.source-options .source>span{font-size:15px;line-height:24px;font-weight:600}.shared-tags>span{font-size:14px;line-height:22px}
#delete-description{overflow-wrap:anywhere}.deletion-actions{display:flex;flex-wrap:wrap;gap:12px}#delete-form>label{line-height:1.6}#delete-form input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}#delete-recipe,#delete-account{color:var(--error)}
#delete-form>label:not(.field){display:grid;grid-template-columns:20px 1fr;gap:12px;align-items:start;font-weight:400}#delete-form input[type=checkbox]{margin:3px 0 0}
.support{margin-block:24px;color:var(--ink);font-size:14px;line-height:22px}.support details{max-width:70ch}.support summary{width:fit-content;min-height:44px;align-content:center;cursor:pointer;font-weight:600}.support p{margin-block:12px}.support a{overflow-wrap:anywhere}.support summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.add-tags{display:grid;gap:8px}.add-tags .field-hint{margin:0}.add-tags .field{margin:0}#tag-suggestions-label{margin-top:8px;font-weight:600}#tag-suggestions{display:flex;flex-wrap:wrap;gap:8px}#tag-suggestions:empty{display:none}.tag-suggestion{min-height:44px;padding:8px 14px;background:var(--lilac);border-color:transparent;overflow-wrap:anywhere;max-width:100%}#tag-feedback:empty{display:none}
@media print{.support{display:none}}
